From 7d6163af4cf7e6e20dbb80b9739cdc7713f10680 Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Tue, 12 Nov 2024 03:05:42 +0000 Subject: [PATCH 1/8] Update Generator Version 3.0.0-beta.20241111.1 --- eng/Packages.Data.props | 2 +- eng/emitter-package-lock.json | 16 ++++++++-------- eng/emitter-package.json | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index 8e58c2815ed44..f5f9e1ad1ee92 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -237,7 +237,7 @@ All should have PrivateAssets="All" set so they don't become package dependencies --> - + diff --git a/eng/emitter-package-lock.json b/eng/emitter-package-lock.json index decce678dd932..e38c900cbdf19 100644 --- a/eng/emitter-package-lock.json +++ b/eng/emitter-package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@azure-tools/typespec-csharp": "0.2.0-beta.20241110.1" + "@azure-tools/typespec-csharp": "0.2.0-beta.20241111.1" }, "devDependencies": { "@azure-tools/typespec-autorest": "0.47.0", @@ -22,9 +22,9 @@ } }, "node_modules/@autorest/csharp": { - "version": "3.0.0-beta.20241110.1", - "resolved": "https://registry.npmjs.org/@autorest/csharp/-/csharp-3.0.0-beta.20241110.1.tgz", - "integrity": "sha512-Jduoom/BW7f/GjGkycwcaTht9h6s7aw2qoYlqzAMDE6FecI2WdeDfF66/ohVdeDxlviItBm8DHVhKeKDFQWOpw==" + "version": "3.0.0-beta.20241111.1", + "resolved": "https://registry.npmjs.org/@autorest/csharp/-/csharp-3.0.0-beta.20241111.1.tgz", + "integrity": "sha512-aWQeVGTt0lVQrq4xUjaimha/4qftTblQGYzkn34f4SMy8JDqJveJHZJMAWqdCbnjYgANnRbpqPVKN2DNOxPQXw==" }, "node_modules/@azure-tools/typespec-autorest": { "version": "0.47.0", @@ -117,11 +117,11 @@ } }, "node_modules/@azure-tools/typespec-csharp": { - "version": "0.2.0-beta.20241110.1", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-csharp/-/typespec-csharp-0.2.0-beta.20241110.1.tgz", - "integrity": "sha512-fAzMyJiQn/ZJwTl4A55DtYtOCU5K3NZQj3YmNMMZ5fPPO8fxUSgbZ3gqZpf2i3R8MIHbCpekhyrcogixItpj+Q==", + "version": "0.2.0-beta.20241111.1", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-csharp/-/typespec-csharp-0.2.0-beta.20241111.1.tgz", + "integrity": "sha512-ZcqbK8I23POVGyNdjqPZc8EgG8Fbslb8Iu6eeMKBO2kfUM4Q6ue9apFyyvPQ2PzZTNiGA2Z2WkIDXE4d9/YuEg==", "dependencies": { - "@autorest/csharp": "3.0.0-beta.20241110.1", + "@autorest/csharp": "3.0.0-beta.20241111.1", "@typespec/http-client-csharp": "0.1.9-alpha.20241107.4", "json-serialize-refs": "0.1.0-0" }, diff --git a/eng/emitter-package.json b/eng/emitter-package.json index c4a16c2ac0207..03c77dae43efb 100644 --- a/eng/emitter-package.json +++ b/eng/emitter-package.json @@ -1,7 +1,7 @@ { "main": "dist/src/index.js", "dependencies": { - "@azure-tools/typespec-csharp": "0.2.0-beta.20241110.1" + "@azure-tools/typespec-csharp": "0.2.0-beta.20241111.1" }, "devDependencies": { "@azure-tools/typespec-autorest": "0.47.0", From f634dc8d0c4a1b8ee6eaa1a7b314a28d977cf03a Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Tue, 12 Nov 2024 03:37:51 +0000 Subject: [PATCH 2/8] Update SDK codes he_ma_3 --- .../Samples/Sample_DeidServiceCollection.cs | 30 ++-- .../Samples/Sample_DeidServiceResource.cs | 32 ++-- ...rvicesPrivateEndpointConnectionResource.cs | 18 +-- ...ateEndpointConnectionResourceCollection.cs | 30 ++-- ...bridContainerServiceAgentPoolCollection.cs | 30 ++-- ...HybridContainerServiceAgentPoolResource.cs | 18 +-- ...ontainerServiceVirtualNetworkCollection.cs | 30 ++-- ...dContainerServiceVirtualNetworkResource.cs | 25 ++-- ...ple_HybridContainerServiceVmSkuResource.cs | 18 +-- .../Sample_HybridIdentityMetadataResource.cs | 18 +-- ...Sample_KubernetesVersionProfileResource.cs | 18 +-- .../Sample_ProvisionedClusterResource.cs | 28 ++-- ...rovisionedClusterUpgradeProfileResource.cs | 6 +- ...e_HybridComputeExtensionValueCollection.cs | 25 ++-- ...ple_HybridComputeExtensionValueResource.cs | 6 +- .../Sample_HybridComputeLicenseCollection.cs | 30 ++-- ...ple_HybridComputeLicenseProfileResource.cs | 23 ++- .../Sample_HybridComputeLicenseResource.cs | 30 ++-- .../Sample_HybridComputeMachineCollection.cs | 47 +++--- ...HybridComputeMachineExtensionCollection.cs | 30 ++-- ...e_HybridComputeMachineExtensionResource.cs | 18 +-- .../Sample_HybridComputeMachineResource.cs | 57 +++---- ...putePrivateEndpointConnectionCollection.cs | 30 ++-- ...omputePrivateEndpointConnectionResource.cs | 18 +-- ...Sample_HybridComputePrivateLinkResource.cs | 6 +- ...ridComputePrivateLinkResourceCollection.cs | 25 ++-- ...HybridComputePrivateLinkScopeCollection.cs | 35 ++--- ...e_HybridComputePrivateLinkScopeResource.cs | 30 ++-- ...ecurityPerimeterConfigurationCollection.cs | 25 ++-- ...kSecurityPerimeterConfigurationResource.cs | 11 +- .../Samples/Sample_EndpointResource.cs | 28 ++-- .../Sample_EndpointResourceCollection.cs | 52 +++---- .../Sample_ConnectedClusterCollection.cs | 35 ++--- .../Sample_ConnectedClusterResource.cs | 45 +++--- .../Sample_ArtifactManifestCollection.cs | 30 ++-- .../Sample_ArtifactManifestResource.cs | 28 ++-- .../Samples/Sample_ArtifactStoreCollection.cs | 30 ++-- .../Samples/Sample_ArtifactStoreResource.cs | 37 ++--- .../Samples/Sample_ComponentCollection.cs | 25 ++-- .../Samples/Sample_ComponentResource.cs | 6 +- ...mple_ConfigurationGroupSchemaCollection.cs | 30 ++-- ...Sample_ConfigurationGroupSchemaResource.cs | 23 ++- ...ample_ConfigurationGroupValueCollection.cs | 40 +++-- .../Sample_ConfigurationGroupValueResource.cs | 25 ++-- .../Sample_NetworkFunctionCollection.cs | 84 +++++------ ...etworkFunctionDefinitionGroupCollection.cs | 30 ++-- ..._NetworkFunctionDefinitionGroupResource.cs | 18 +-- ...workFunctionDefinitionVersionCollection.cs | 74 ++++------ ...etworkFunctionDefinitionVersionResource.cs | 47 +++--- .../Samples/Sample_NetworkFunctionResource.cs | 56 +++---- ...ple_NetworkServiceDesignGroupCollection.cs | 30 ++-- ...ample_NetworkServiceDesignGroupResource.cs | 18 +-- ...e_NetworkServiceDesignVersionCollection.cs | 30 ++-- ...ple_NetworkServiceDesignVersionResource.cs | 23 ++- .../Samples/Sample_PublisherCollection.cs | 30 ++-- .../Samples/Sample_PublisherResource.cs | 25 ++-- .../Samples/Sample_SiteCollection.cs | 30 ++-- .../Sample_SiteNetworkServiceCollection.cs | 35 ++--- .../Sample_SiteNetworkServiceResource.cs | 25 ++-- .../Generated/Samples/Sample_SiteResource.cs | 25 ++-- ...ample_InformaticaOrganizationCollection.cs | 45 +++--- .../Sample_InformaticaOrganizationResource.cs | 55 +++---- ..._InformaticaServerlessRuntimeCollection.cs | 45 +++--- ...le_InformaticaServerlessRuntimeResource.cs | 50 +++---- ...ample_FirmwareAnalysisSummaryCollection.cs | 49 +++--- .../Sample_FirmwareAnalysisSummaryResource.cs | 11 +- ...ple_FirmwareAnalysisWorkspaceCollection.cs | 59 ++++---- ...ample_FirmwareAnalysisWorkspaceResource.cs | 59 ++++---- .../Samples/Sample_IotFirmwareCollection.cs | 59 ++++---- .../Samples/Sample_IotFirmwareResource.cs | 139 ++++++++---------- .../Samples/Sample_IotCentralAppCollection.cs | 30 ++-- .../Samples/Sample_IotCentralAppResource.cs | 44 +++--- ...tralPrivateEndpointConnectionCollection.cs | 30 ++-- ...entralPrivateEndpointConnectionResource.cs | 18 +-- .../Sample_IotCentralPrivateLinkResource.cs | 6 +- ...IotCentralPrivateLinkResourceCollection.cs | 25 ++-- ...ple_EventHubConsumerGroupInfoCollection.cs | 30 ++-- ...ample_EventHubConsumerGroupInfoResource.cs | 18 +-- ..._IotHubCertificateDescriptionCollection.cs | 30 ++-- ...le_IotHubCertificateDescriptionResource.cs | 28 ++-- .../Sample_IotHubDescriptionCollection.cs | 35 ++--- .../Sample_IotHubDescriptionResource.cs | 105 ++++++------- ...tHubPrivateEndpointConnectionCollection.cs | 30 ++-- ...IotHubPrivateEndpointConnectionResource.cs | 16 +- ...ivateEndpointGroupInformationCollection.cs | 25 ++-- ...PrivateEndpointGroupInformationResource.cs | 6 +- .../Sample_SubscriptionResourceExtensions.cs | 8 +- .../Sample_DeletedKeyVaultCollection.cs | 18 +-- .../Samples/Sample_DeletedKeyVaultResource.cs | 13 +- .../Sample_DeletedManagedHsmCollection.cs | 18 +-- .../Sample_DeletedManagedHsmResource.cs | 13 +- .../Samples/Sample_KeyVaultCollection.cs | 35 ++--- ...aultPrivateEndpointConnectionCollection.cs | 30 ++-- ...yVaultPrivateEndpointConnectionResource.cs | 16 +- .../Samples/Sample_KeyVaultResource.cs | 42 +++--- .../Sample_KeyVaultSecretCollection.cs | 30 ++-- .../Samples/Sample_KeyVaultSecretResource.cs | 11 +- .../Samples/Sample_ManagedHsmCollection.cs | 30 ++-- ...dHsmPrivateEndpointConnectionCollection.cs | 30 ++-- ...gedHsmPrivateEndpointConnectionResource.cs | 16 +- .../Samples/Sample_ManagedHsmResource.cs | 44 +++--- .../Sample_SubscriptionResourceExtensions.cs | 15 +- ...le_KubernetesClusterExtensionCollection.cs | 52 +++---- ...mple_KubernetesClusterExtensionResource.cs | 23 ++- ...e_KubernetesFluxConfigurationCollection.cs | 35 ++--- ...ple_KubernetesFluxConfigurationResource.cs | 18 +-- ...tesSourceControlConfigurationCollection.cs | 30 ++-- ...netesSourceControlConfigurationResource.cs | 18 +-- ...AttachedDatabaseConfigurationCollection.cs | 30 ++-- ...toAttachedDatabaseConfigurationResource.cs | 18 +-- .../Samples/Sample_KustoClusterCollection.cs | 30 ++-- ...stoClusterPrincipalAssignmentCollection.cs | 30 ++-- ...KustoClusterPrincipalAssignmentResource.cs | 18 +-- .../Samples/Sample_KustoClusterResource.cs | 137 ++++++++--------- .../Sample_KustoDataConnectionCollection.cs | 74 ++++------ .../Sample_KustoDataConnectionResource.cs | 38 ++--- .../Samples/Sample_KustoDatabaseCollection.cs | 52 +++---- ...toDatabasePrincipalAssignmentCollection.cs | 30 ++-- ...ustoDatabasePrincipalAssignmentResource.cs | 18 +-- .../Samples/Sample_KustoDatabaseResource.cs | 74 ++++------ ...e_KustoManagedPrivateEndpointCollection.cs | 30 ++-- ...ple_KustoManagedPrivateEndpointResource.cs | 18 +-- ...ustoPrivateEndpointConnectionCollection.cs | 30 ++-- ..._KustoPrivateEndpointConnectionResource.cs | 18 +-- .../Sample_KustoPrivateLinkResource.cs | 6 +- ...mple_KustoPrivateLinkResourceCollection.cs | 25 ++-- .../Samples/Sample_KustoScriptCollection.cs | 30 ++-- .../Samples/Sample_KustoScriptResource.cs | 18 +-- .../Sample_SandboxCustomImageCollection.cs | 30 ++-- .../Sample_SandboxCustomImageResource.cs | 18 +-- .../Sample_SubscriptionResourceExtensions.cs | 8 +- .../Generated/Samples/Sample_LabCollection.cs | 30 ++-- .../Samples/Sample_LabPlanCollection.cs | 30 ++-- .../Samples/Sample_LabPlanResource.cs | 32 ++-- .../Generated/Samples/Sample_LabResource.cs | 39 +++-- .../Sample_LabServicesScheduleCollection.cs | 30 ++-- .../Sample_LabServicesScheduleResource.cs | 18 +-- .../Samples/Sample_LabUserCollection.cs | 30 ++-- .../Samples/Sample_LabUserResource.cs | 25 ++-- .../Sample_LabVirtualMachineCollection.cs | 25 ++-- ...Sample_LabVirtualMachineImageCollection.cs | 30 ++-- .../Sample_LabVirtualMachineImageResource.cs | 11 +- .../Sample_LabVirtualMachineResource.cs | 41 +++--- .../Sample_SubscriptionResourceExtensions.cs | 15 +- .../Sample_LoadTestingQuotaCollection.cs | 25 ++-- .../Sample_LoadTestingQuotaResource.cs | 11 +- .../Samples/Sample_LoadTestingResource.cs | 32 ++-- .../Sample_LoadTestingResourceCollection.cs | 30 ++-- ...e_IntegrationAccountAgreementCollection.cs | 30 ++-- ...ple_IntegrationAccountAgreementResource.cs | 23 ++- ...tionAccountAssemblyDefinitionCollection.cs | 30 ++-- ...rationAccountAssemblyDefinitionResource.cs | 23 ++- ...tionAccountBatchConfigurationCollection.cs | 30 ++-- ...rationAccountBatchConfigurationResource.cs | 18 +-- ...IntegrationAccountCertificateCollection.cs | 30 ++-- ...e_IntegrationAccountCertificateResource.cs | 18 +-- .../Sample_IntegrationAccountCollection.cs | 30 ++-- .../Sample_IntegrationAccountMapCollection.cs | 35 ++--- .../Sample_IntegrationAccountMapResource.cs | 28 ++-- ...ple_IntegrationAccountPartnerCollection.cs | 30 ++-- ...ample_IntegrationAccountPartnerResource.cs | 23 ++- .../Sample_IntegrationAccountResource.cs | 49 +++--- ...mple_IntegrationAccountSchemaCollection.cs | 30 ++-- ...Sample_IntegrationAccountSchemaResource.cs | 23 ++- ...ple_IntegrationAccountSessionCollection.cs | 30 ++-- ...ample_IntegrationAccountSessionResource.cs | 18 +-- ...IntegrationServiceEnvironmentCollection.cs | 30 ++-- ...nServiceEnvironmentManagedApiCollection.cs | 30 ++-- ...ionServiceEnvironmentManagedApiResource.cs | 25 ++-- ...e_IntegrationServiceEnvironmentResource.cs | 44 +++--- .../Samples/Sample_LogicWorkflowCollection.cs | 30 ++-- .../Samples/Sample_LogicWorkflowResource.cs | 82 +++++------ ...Sample_LogicWorkflowRunActionCollection.cs | 25 ++-- ...icWorkflowRunActionRepetitionCollection.cs | 25 ++-- ...ctionRepetitionRequestHistoryCollection.cs | 25 ++-- ...nActionRepetitionRequestHistoryResource.cs | 6 +- ...ogicWorkflowRunActionRepetitionResource.cs | 13 +- ...rkflowRunActionRequestHistoryCollection.cs | 25 ++-- ...WorkflowRunActionRequestHistoryResource.cs | 6 +- .../Sample_LogicWorkflowRunActionResource.cs | 13 +- ...kflowRunActionScopeRepetitionCollection.cs | 25 ++-- ...orkflowRunActionScopeRepetitionResource.cs | 6 +- .../Sample_LogicWorkflowRunCollection.cs | 25 ++-- ...ple_LogicWorkflowRunOperationCollection.cs | 18 +-- ...ample_LogicWorkflowRunOperationResource.cs | 6 +- .../Sample_LogicWorkflowRunResource.cs | 13 +- .../Sample_LogicWorkflowTriggerCollection.cs | 25 ++-- ...e_LogicWorkflowTriggerHistoryCollection.cs | 25 ++-- ...ple_LogicWorkflowTriggerHistoryResource.cs | 13 +- .../Sample_LogicWorkflowTriggerResource.cs | 37 ++--- .../Sample_LogicWorkflowVersionCollection.cs | 25 ++-- .../Sample_LogicWorkflowVersionResource.cs | 11 +- ...ple_OperationalizationClusterCollection.cs | 30 ++-- ...ample_OperationalizationClusterResource.cs | 40 +++-- .../Sample_TenantResourceExtensions.cs | 8 +- ...ninRegistryComponentContainerCollection.cs | 30 ++-- ...arninRegistryComponentContainerResource.cs | 18 +-- ...arninRegistryComponentVersionCollection.cs | 30 ++-- ...LearninRegistryComponentVersionResource.cs | 18 +-- ...achineLearningBatchDeploymentCollection.cs | 30 ++-- ..._MachineLearningBatchDeploymentResource.cs | 18 +-- ..._MachineLearningBatchEndpointCollection.cs | 30 ++-- ...le_MachineLearningBatchEndpointResource.cs | 23 ++- ..._MachineLearningCodeContainerCollection.cs | 30 ++-- ...le_MachineLearningCodeContainerResource.cs | 18 +-- ...le_MachineLearningCodeVersionCollection.cs | 30 ++-- ...mple_MachineLearningCodeVersionResource.cs | 30 ++-- ...ineLearningComponentContainerCollection.cs | 30 ++-- ...chineLearningComponentContainerResource.cs | 18 +-- ...chineLearningComponentVersionCollection.cs | 30 ++-- ...MachineLearningComponentVersionResource.cs | 25 ++-- ...Sample_MachineLearningComputeCollection.cs | 121 +++++++-------- .../Sample_MachineLearningComputeResource.cs | 66 ++++----- ..._MachineLearningDataContainerCollection.cs | 30 ++-- ...le_MachineLearningDataContainerResource.cs | 18 +-- ...le_MachineLearningDataVersionCollection.cs | 30 ++-- ...mple_MachineLearningDataVersionResource.cs | 25 ++-- ...mple_MachineLearningDatastoreCollection.cs | 38 ++--- ...Sample_MachineLearningDatastoreResource.cs | 38 ++--- ...eLearningEnvironmentContainerCollection.cs | 30 ++-- ...ineLearningEnvironmentContainerResource.cs | 18 +-- ...ineLearningEnvironmentVersionCollection.cs | 30 ++-- ...chineLearningEnvironmentVersionResource.cs | 25 ++-- ...Sample_MachineLearningFeatureCollection.cs | 25 ++-- .../Sample_MachineLearningFeatureResource.cs | 6 +- ...neLearningFeatureSetContainerCollection.cs | 30 ++-- ...hineLearningFeatureSetContainerResource.cs | 18 +-- ...hineLearningFeatureSetVersionCollection.cs | 30 ++-- ...achineLearningFeatureSetVersionResource.cs | 23 ++- ...ngFeatureStoreEntityContainerCollection.cs | 30 ++-- ...ningFeatureStoreEntityContainerResource.cs | 18 +-- ...ningFeaturestoreEntityVersionCollection.cs | 30 ++-- ...arningFeaturestoreEntityVersionResource.cs | 18 +-- .../Sample_MachineLearningJobCollection.cs | 117 ++++++--------- .../Sample_MachineLearningJobResource.cs | 55 +++---- ...arningMarketplaceSubscriptionCollection.cs | 30 ++-- ...LearningMarketplaceSubscriptionResource.cs | 18 +-- ...MachineLearningModelContainerCollection.cs | 30 ++-- ...e_MachineLearningModelContainerResource.cs | 18 +-- ...e_MachineLearningModelVersionCollection.cs | 30 ++-- ...ple_MachineLearningModelVersionResource.cs | 25 ++-- ...chineLearningOnlineDeploymentCollection.cs | 52 +++---- ...MachineLearningOnlineDeploymentResource.cs | 47 +++--- ...MachineLearningOnlineEndpointCollection.cs | 30 ++-- ...e_MachineLearningOnlineEndpointResource.cs | 35 ++--- ...hineLearningOutboundRuleBasicCollection.cs | 30 ++-- ...achineLearningOutboundRuleBasicResource.cs | 18 +-- ...ningPrivateEndpointConnectionCollection.cs | 30 ++-- ...arningPrivateEndpointConnectionResource.cs | 18 +-- ...LearningRegistryCodeContainerCollection.cs | 30 ++-- ...neLearningRegistryCodeContainerResource.cs | 18 +-- ...neLearningRegistryCodeVersionCollection.cs | 30 ++-- ...hineLearningRegistryCodeVersionResource.cs | 23 ++- ...ample_MachineLearningRegistryCollection.cs | 59 ++++---- ...LearningRegistryDataContainerCollection.cs | 30 ++-- ...neLearningRegistryDataContainerResource.cs | 18 +-- ...neLearningRegistryDataVersionCollection.cs | 30 ++-- ...hineLearningRegistryDataVersionResource.cs | 23 ++- ...gRegistryEnvironmentContainerCollection.cs | 30 ++-- ...ingRegistryEnvironmentContainerResource.cs | 18 +-- ...ingRegistryEnvironmentVersionCollection.cs | 30 ++-- ...rningRegistryEnvironmentVersionResource.cs | 18 +-- ...earningRegistryModelContainerCollection.cs | 30 ++-- ...eLearningRegistryModelContainerResource.cs | 18 +-- ...eLearningRegistryModelVersionCollection.cs | 30 ++-- ...ineLearningRegistryModelVersionResource.cs | 23 ++- .../Sample_MachineLearningRegistryResource.cs | 45 +++--- ...ample_MachineLearningScheduleCollection.cs | 30 ++-- .../Sample_MachineLearningScheduleResource.cs | 18 +-- ...ineLearningServerlessEndpointCollection.cs | 30 ++-- ...chineLearningServerlessEndpointResource.cs | 28 ++-- ...mple_MachineLearningWorkspaceCollection.cs | 30 ++-- ...neLearningWorkspaceConnectionCollection.cs | 30 ++-- ...hineLearningWorkspaceConnectionResource.cs | 23 ++- ...Sample_MachineLearningWorkspaceResource.cs | 88 +++++------ .../Sample_SubscriptionResourceExtensions.cs | 29 ++-- ...Sample_MaintenanceApplyUpdateCollection.cs | 28 ++-- .../Sample_MaintenanceApplyUpdateResource.cs | 38 ++--- ...mple_MaintenanceConfigurationCollection.cs | 64 ++++---- ...Sample_MaintenanceConfigurationResource.cs | 35 ++--- ...aintenancePublicConfigurationCollection.cs | 25 ++-- ..._MaintenancePublicConfigurationResource.cs | 6 +- .../Sample_ResourceGroupResourceExtensions.cs | 91 +++++------- .../Sample_SubscriptionResourceExtensions.cs | 28 ++-- .../Sample_ManagedNetworkCollection.cs | 30 ++-- .../Sample_ManagedNetworkGroupCollection.cs | 30 ++-- .../Sample_ManagedNetworkGroupResource.cs | 18 +-- ...e_ManagedNetworkPeeringPolicyCollection.cs | 30 ++-- ...ple_ManagedNetworkPeeringPolicyResource.cs | 18 +-- .../Samples/Sample_ManagedNetworkResource.cs | 25 ++-- .../Sample_ScopeAssignmentCollection.cs | 30 ++-- .../Samples/Sample_ScopeAssignmentResource.cs | 18 +-- .../Samples/Sample_NetworkDeviceCollection.cs | 30 ++-- ...Sample_NetworkDeviceInterfaceCollection.cs | 30 ++-- .../Sample_NetworkDeviceInterfaceResource.cs | 23 ++- .../Samples/Sample_NetworkDeviceResource.cs | 45 +++--- .../Sample_NetworkDeviceSkuCollection.cs | 25 ++-- .../Sample_NetworkDeviceSkuResource.cs | 6 +- ...etworkFabricAccessControlListCollection.cs | 30 ++-- ..._NetworkFabricAccessControlListResource.cs | 40 +++-- .../Samples/Sample_NetworkFabricCollection.cs | 30 ++-- ...ample_NetworkFabricControllerCollection.cs | 30 ++-- .../Sample_NetworkFabricControllerResource.cs | 25 ++-- ..._NetworkFabricExternalNetworkCollection.cs | 30 ++-- ...le_NetworkFabricExternalNetworkResource.cs | 28 ++-- ...mple_NetworkFabricIPCommunityCollection.cs | 30 ++-- ...Sample_NetworkFabricIPCommunityResource.cs | 25 ++-- ...workFabricIPExtendedCommunityCollection.cs | 30 ++-- ...etworkFabricIPExtendedCommunityResource.cs | 25 ++-- .../Sample_NetworkFabricIPPrefixCollection.cs | 30 ++-- .../Sample_NetworkFabricIPPrefixResource.cs | 25 ++-- ..._NetworkFabricInternalNetworkCollection.cs | 30 ++-- ...le_NetworkFabricInternalNetworkResource.cs | 33 ++--- ..._NetworkFabricInternetGatewayCollection.cs | 25 ++-- ...le_NetworkFabricInternetGatewayResource.cs | 18 +-- ...workFabricInternetGatewayRuleCollection.cs | 30 ++-- ...etworkFabricInternetGatewayRuleResource.cs | 25 ++-- ...etworkFabricL2IsolationDomainCollection.cs | 30 ++-- ..._NetworkFabricL2IsolationDomainResource.cs | 40 +++-- ...etworkFabricL3IsolationDomainCollection.cs | 30 ++-- ..._NetworkFabricL3IsolationDomainResource.cs | 40 +++-- ...le_NetworkFabricNeighborGroupCollection.cs | 30 ++-- ...mple_NetworkFabricNeighborGroupResource.cs | 25 ++-- .../Samples/Sample_NetworkFabricResource.cs | 70 ++++----- ...mple_NetworkFabricRoutePolicyCollection.cs | 30 ++-- ...Sample_NetworkFabricRoutePolicyResource.cs | 40 +++-- .../Sample_NetworkFabricSkuCollection.cs | 25 ++-- .../Sample_NetworkFabricSkuResource.cs | 6 +- .../Sample_NetworkPacketBrokerCollection.cs | 30 ++-- .../Sample_NetworkPacketBrokerResource.cs | 25 ++-- .../Samples/Sample_NetworkRackCollection.cs | 30 ++-- .../Samples/Sample_NetworkRackResource.cs | 25 ++-- .../Samples/Sample_NetworkTapCollection.cs | 30 ++-- .../Samples/Sample_NetworkTapResource.cs | 35 ++--- .../Sample_NetworkTapRuleCollection.cs | 30 ++-- .../Samples/Sample_NetworkTapRuleResource.cs | 40 +++-- ..._NetworkToNetworkInterconnectCollection.cs | 30 ++-- ...le_NetworkToNetworkInterconnectResource.cs | 28 ++-- ...e_FederatedIdentityCredentialCollection.cs | 30 ++-- ...ple_FederatedIdentityCredentialResource.cs | 18 +-- .../Sample_SystemAssignedIdentityResource.cs | 6 +- .../Sample_UserAssignedIdentityCollection.cs | 30 ++-- .../Sample_UserAssignedIdentityResource.cs | 25 ++-- ...rvicesMarketplaceRegistrationCollection.cs | 25 ++-- ...ServicesMarketplaceRegistrationResource.cs | 6 +- ...ervicesRegistrationAssignmentCollection.cs | 44 +++--- ...dServicesRegistrationAssignmentResource.cs | 18 +-- ...e_ManagedServicesRegistrationCollection.cs | 44 +++--- ...ple_ManagedServicesRegistrationResource.cs | 18 +-- .../Sample_PartnerResponseCollection.cs | 23 ++- .../Samples/Sample_PartnerResponseResource.cs | 18 +-- .../Sample_TenantResourceExtensions.cs | 8 +- .../Samples/Sample_MapsAccountCollection.cs | 40 +++-- .../Samples/Sample_MapsAccountResource.cs | 55 +++---- .../Samples/Sample_MapsCreatorCollection.cs | 30 ++-- .../Samples/Sample_MapsCreatorResource.cs | 18 +-- ...rketplaceAdminApprovalRequestCollection.cs | 30 ++-- ...MarketplaceAdminApprovalRequestResource.cs | 11 +- ...le_MarketplaceApprovalRequestCollection.cs | 30 ++-- ...mple_MarketplaceApprovalRequestResource.cs | 23 ++- .../Samples/Sample_PrivateStoreCollection.cs | 32 ++-- ...le_PrivateStoreCollectionInfoCollection.cs | 30 ++-- ...mple_PrivateStoreCollectionInfoResource.cs | 61 ++++---- .../Sample_PrivateStoreOfferCollection.cs | 30 ++-- .../Sample_PrivateStoreOfferResource.cs | 30 ++-- .../Samples/Sample_PrivateStoreResource.cs | 100 ++++++------- 366 files changed, 4752 insertions(+), 6230 deletions(-) diff --git a/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/samples/Generated/Samples/Sample_DeidServiceCollection.cs b/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/samples/Generated/Samples/Sample_DeidServiceCollection.cs index 3167cdcc43f17..54cce2c1dba2c 100644 --- a/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/samples/Generated/Samples/Sample_DeidServiceCollection.cs +++ b/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/samples/Generated/Samples/Sample_DeidServiceCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.HealthDataAIServices.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HealthDataAIServices.Samples { public partial class Sample_DeidServiceCollection { - // DeidServices_Get - generated by [MaximumSet] rule. [stable] - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DeidServicesGetGeneratedByMaximumSetRuleStable() { // Generated from example definition: 2024-09-20/DeidServices_Get_MaximumSet_Gen.json @@ -51,9 +51,8 @@ public async Task Get_DeidServicesGetGeneratedByMaximumSetRuleStable() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeidServices_Get - generated by [MaximumSet] rule. [stable] - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DeidServicesGetGeneratedByMaximumSetRuleStable() { // Generated from example definition: 2024-09-20/DeidServices_Get_MaximumSet_Gen.json @@ -81,9 +80,8 @@ public async Task Exists_DeidServicesGetGeneratedByMaximumSetRuleStable() Console.WriteLine($"Succeeded: {result}"); } - // DeidServices_Get - generated by [MaximumSet] rule. [stable] - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DeidServicesGetGeneratedByMaximumSetRuleStable() { // Generated from example definition: 2024-09-20/DeidServices_Get_MaximumSet_Gen.json @@ -111,7 +109,7 @@ public async Task GetIfExists_DeidServicesGetGeneratedByMaximumSetRuleStable() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_DeidServicesGetGeneratedByMaximumSetRuleStable() } } - // DeidServices_ListByResourceGroup - generated by [MaximumSet] rule. [stable] - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DeidServicesListByResourceGroupGeneratedByMaximumSetRuleStable() { // Generated from example definition: 2024-09-20/DeidServices_ListByResourceGroup_MaximumSet_Gen.json @@ -156,12 +153,11 @@ public async Task GetAll_DeidServicesListByResourceGroupGeneratedByMaximumSetRul Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DeidServices_Create - generated by [MaximumSet] rule. [stable] - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DeidServicesCreateGeneratedByMaximumSetRuleStable() { // Generated from example definition: 2024-09-20/DeidServices_Create_MaximumSet_Gen.json diff --git a/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/samples/Generated/Samples/Sample_DeidServiceResource.cs b/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/samples/Generated/Samples/Sample_DeidServiceResource.cs index 4f6dfa745efd2..94115d9e78443 100644 --- a/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/samples/Generated/Samples/Sample_DeidServiceResource.cs +++ b/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/samples/Generated/Samples/Sample_DeidServiceResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.HealthDataAIServices.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HealthDataAIServices.Samples { public partial class Sample_DeidServiceResource { - // DeidServices_Get - generated by [MaximumSet] rule. [stable] - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DeidServicesGetGeneratedByMaximumSetRuleStable() { // Generated from example definition: 2024-09-20/DeidServices_Get_MaximumSet_Gen.json @@ -48,9 +48,8 @@ public async Task Get_DeidServicesGetGeneratedByMaximumSetRuleStable() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeidServices_ListBySubscription - generated by [MaximumSet] rule. [stable] - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeidServices_DeidServicesListBySubscriptionGeneratedByMaximumSetRuleStable() { // Generated from example definition: 2024-09-20/DeidServices_ListBySubscription_MaximumSet_Gen.json @@ -77,12 +76,11 @@ public async Task GetDeidServices_DeidServicesListBySubscriptionGeneratedByMaxim Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DeidServices_Update - generated by [MaximumSet] rule. [stable] - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DeidServicesUpdateGeneratedByMaximumSetRuleStable() { // Generated from example definition: 2024-09-20/DeidServices_Update_MaximumSet_Gen.json @@ -120,9 +118,8 @@ public async Task Update_DeidServicesUpdateGeneratedByMaximumSetRuleStable() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeidServices_Delete - generated by [MaximumSet] rule. [stable] - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeidServicesDeleteGeneratedByMaximumSetRuleStable() { // Generated from example definition: 2024-09-20/DeidServices_Delete_MaximumSet_Gen.json @@ -144,12 +141,11 @@ public async Task Delete_DeidServicesDeleteGeneratedByMaximumSetRuleStable() // invoke the operation await deidService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateLinks_ListByDeidService - generated by [MaximumSet] rule. [stable] - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinks_PrivateLinksListByDeidServiceGeneratedByMaximumSetRuleStable() { // Generated from example definition: 2024-09-20/PrivateLinks_ListByDeidService_MaximumSet_Gen.json @@ -174,7 +170,7 @@ public async Task GetPrivateLinks_PrivateLinksListByDeidServiceGeneratedByMaximu Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/samples/Generated/Samples/Sample_HealthDataAIServicesPrivateEndpointConnectionResource.cs b/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/samples/Generated/Samples/Sample_HealthDataAIServicesPrivateEndpointConnectionResource.cs index e0ea5a7c350af..7225742aeed69 100644 --- a/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/samples/Generated/Samples/Sample_HealthDataAIServicesPrivateEndpointConnectionResource.cs +++ b/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/samples/Generated/Samples/Sample_HealthDataAIServicesPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HealthDataAIServices.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HealthDataAIServices.Samples { public partial class Sample_HealthDataAIServicesPrivateEndpointConnectionResource { - // PrivateEndpointConnections_Get - generated by [MaximumSet] rule. [stable] - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGetGeneratedByMaximumSetRuleStable() { // Generated from example definition: 2024-09-20/PrivateEndpointConnections_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_PrivateEndpointConnectionsGetGeneratedByMaximumSetRuleStab Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Create - generated by [MaximumSet] rule. [stable] - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateEndpointConnectionsCreateGeneratedByMaximumSetRuleStable() { // Generated from example definition: 2024-09-20/PrivateEndpointConnections_Create_MaximumSet_Gen.json @@ -89,9 +88,8 @@ public async Task Update_PrivateEndpointConnectionsCreateGeneratedByMaximumSetRu Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Delete - generated by [MaximumSet] rule. [stable] - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateEndpointConnectionsDeleteGeneratedByMaximumSetRuleStable() { // Generated from example definition: 2024-09-20/PrivateEndpointConnections_Delete_MaximumSet_Gen.json @@ -114,7 +112,7 @@ public async Task Delete_PrivateEndpointConnectionsDeleteGeneratedByMaximumSetRu // invoke the operation await healthDataAIServicesPrivateEndpointConnectionResource.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/samples/Generated/Samples/Sample_HealthDataAIServicesPrivateEndpointConnectionResourceCollection.cs b/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/samples/Generated/Samples/Sample_HealthDataAIServicesPrivateEndpointConnectionResourceCollection.cs index 0f56c6881653a..ae72e8cfe08df 100644 --- a/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/samples/Generated/Samples/Sample_HealthDataAIServicesPrivateEndpointConnectionResourceCollection.cs +++ b/sdk/healthdataaiservices/Azure.ResourceManager.HealthDataAIServices/samples/Generated/Samples/Sample_HealthDataAIServicesPrivateEndpointConnectionResourceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HealthDataAIServices.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HealthDataAIServices.Samples { public partial class Sample_HealthDataAIServicesPrivateEndpointConnectionResourceCollection { - // PrivateEndpointConnections_Get - generated by [MaximumSet] rule. [stable] - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGetGeneratedByMaximumSetRuleStable() { // Generated from example definition: 2024-09-20/PrivateEndpointConnections_Get_MaximumSet_Gen.json @@ -50,9 +50,8 @@ public async Task Get_PrivateEndpointConnectionsGetGeneratedByMaximumSetRuleStab Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Get - generated by [MaximumSet] rule. [stable] - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateEndpointConnectionsGetGeneratedByMaximumSetRuleStable() { // Generated from example definition: 2024-09-20/PrivateEndpointConnections_Get_MaximumSet_Gen.json @@ -81,9 +80,8 @@ public async Task Exists_PrivateEndpointConnectionsGetGeneratedByMaximumSetRuleS Console.WriteLine($"Succeeded: {result}"); } - // PrivateEndpointConnections_Get - generated by [MaximumSet] rule. [stable] - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateEndpointConnectionsGetGeneratedByMaximumSetRuleStable() { // Generated from example definition: 2024-09-20/PrivateEndpointConnections_Get_MaximumSet_Gen.json @@ -112,7 +110,7 @@ public async Task GetIfExists_PrivateEndpointConnectionsGetGeneratedByMaximumSet if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_PrivateEndpointConnectionsGetGeneratedByMaximumSet } } - // PrivateEndpointConnections_Create - generated by [MaximumSet] rule. [stable] - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateEndpointConnectionsCreateGeneratedByMaximumSetRuleStable() { // Generated from example definition: 2024-09-20/PrivateEndpointConnections_Create_MaximumSet_Gen.json @@ -169,9 +166,8 @@ public async Task CreateOrUpdate_PrivateEndpointConnectionsCreateGeneratedByMaxi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_ListByDeidService - generated by [MaximumSet] rule. [stable] - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndpointConnectionsListByDeidServiceGeneratedByMaximumSetRuleStable() { // Generated from example definition: 2024-09-20/PrivateEndpointConnections_ListByDeidService_MaximumSet_Gen.json @@ -203,7 +199,7 @@ public async Task GetAll_PrivateEndpointConnectionsListByDeidServiceGeneratedByM Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_HybridContainerServiceAgentPoolCollection.cs b/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_HybridContainerServiceAgentPoolCollection.cs index e3e7ea7a2fa06..3146b74fa0bb6 100644 --- a/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_HybridContainerServiceAgentPoolCollection.cs +++ b/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_HybridContainerServiceAgentPoolCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HybridContainerService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridContainerService.Samples { public partial class Sample_HybridContainerServiceAgentPoolCollection { - // GetAgentPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAgentPool() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/GetAgentPool.json @@ -48,9 +48,8 @@ public async Task Get_GetAgentPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetAgentPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAgentPool() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/GetAgentPool.json @@ -77,9 +76,8 @@ public async Task Exists_GetAgentPool() Console.WriteLine($"Succeeded: {result}"); } - // GetAgentPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAgentPool() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/GetAgentPool.json @@ -106,7 +104,7 @@ public async Task GetIfExists_GetAgentPool() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -118,9 +116,8 @@ public async Task GetIfExists_GetAgentPool() } } - // PutAgentPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutAgentPool() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/PutAgentPool.json @@ -167,9 +164,8 @@ public async Task CreateOrUpdate_PutAgentPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ListAgentPoolByProvisionedClusterInstance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAgentPoolByProvisionedClusterInstance() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/ListAgentPoolByProvisionedClusterInstance.json @@ -199,7 +195,7 @@ public async Task GetAll_ListAgentPoolByProvisionedClusterInstance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_HybridContainerServiceAgentPoolResource.cs b/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_HybridContainerServiceAgentPoolResource.cs index 8242c5d0ad472..39235f7a2746d 100644 --- a/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_HybridContainerServiceAgentPoolResource.cs +++ b/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_HybridContainerServiceAgentPoolResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HybridContainerService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridContainerService.Samples { public partial class Sample_HybridContainerServiceAgentPoolResource { - // GetAgentPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAgentPool() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/GetAgentPool.json @@ -45,9 +45,8 @@ public async Task Get_GetAgentPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PutAgentPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PutAgentPool() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/PutAgentPool.json @@ -91,9 +90,8 @@ public async Task Update_PutAgentPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteAgentPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAgentPool() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/DeleteAgentPool.json @@ -114,7 +112,7 @@ public async Task Delete_DeleteAgentPool() // invoke the operation await hybridContainerServiceAgentPool.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_HybridContainerServiceVirtualNetworkCollection.cs b/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_HybridContainerServiceVirtualNetworkCollection.cs index 847df67f4c11b..8d3f0d4946e44 100644 --- a/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_HybridContainerServiceVirtualNetworkCollection.cs +++ b/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_HybridContainerServiceVirtualNetworkCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HybridContainerService.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HybridContainerService.Samples { public partial class Sample_HybridContainerServiceVirtualNetworkCollection { - // GetVirtualNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetwork() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/GetVirtualNetwork.json @@ -50,9 +50,8 @@ public async Task Get_GetVirtualNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetVirtualNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVirtualNetwork() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/GetVirtualNetwork.json @@ -80,9 +79,8 @@ public async Task Exists_GetVirtualNetwork() Console.WriteLine($"Succeeded: {result}"); } - // GetVirtualNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVirtualNetwork() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/GetVirtualNetwork.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetVirtualNetwork() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetVirtualNetwork() } } - // PutVirtualNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutVirtualNetwork() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/PutVirtualNetwork.json @@ -197,9 +194,8 @@ public async Task CreateOrUpdate_PutVirtualNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ListVirtualNetworkByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListVirtualNetworkByResourceGroup() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/ListVirtualNetworkByResourceGroup.json @@ -230,7 +226,7 @@ public async Task GetAll_ListVirtualNetworkByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_HybridContainerServiceVirtualNetworkResource.cs b/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_HybridContainerServiceVirtualNetworkResource.cs index 39b7d8208ee7c..4c8db37c6e544 100644 --- a/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_HybridContainerServiceVirtualNetworkResource.cs +++ b/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_HybridContainerServiceVirtualNetworkResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HybridContainerService.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HybridContainerService.Samples { public partial class Sample_HybridContainerServiceVirtualNetworkResource { - // GetVirtualNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetwork() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/GetVirtualNetwork.json @@ -47,9 +47,8 @@ public async Task Get_GetVirtualNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteVirtualNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteVirtualNetwork() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/DeleteVirtualNetwork.json @@ -71,12 +70,11 @@ public async Task Delete_DeleteVirtualNetwork() // invoke the operation await hybridContainerServiceVirtualNetwork.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // UpdateVirtualNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateVirtualNetwork() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/UpdateVirtualNetwork.json @@ -113,9 +111,8 @@ public async Task Update_UpdateVirtualNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ListVirtualNetworkBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetHybridContainerServiceVirtualNetworks_ListVirtualNetworkBySubscription() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/ListVirtualNetworkBySubscription.json @@ -142,7 +139,7 @@ public async Task GetHybridContainerServiceVirtualNetworks_ListVirtualNetworkByS Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_HybridContainerServiceVmSkuResource.cs b/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_HybridContainerServiceVmSkuResource.cs index baec3f08861a9..e4f2fb6ad26ae 100644 --- a/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_HybridContainerServiceVmSkuResource.cs +++ b/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_HybridContainerServiceVmSkuResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HybridContainerService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridContainerService.Samples { public partial class Sample_HybridContainerServiceVmSkuResource { - // GetVMSkus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVMSkus() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/GetVmSkus.json @@ -44,9 +44,8 @@ public async Task Get_GetVMSkus() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PutVMSkus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutVMSkus() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/PutVmSkus.json @@ -82,9 +81,8 @@ public async Task CreateOrUpdate_PutVMSkus() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteVMSkus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteVMSkus() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/DeleteVmSkus.json @@ -104,7 +102,7 @@ public async Task Delete_DeleteVMSkus() // invoke the operation await hybridContainerServiceVmSku.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_HybridIdentityMetadataResource.cs b/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_HybridIdentityMetadataResource.cs index c9cec63c2e41d..6aee2bd0fe5cc 100644 --- a/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_HybridIdentityMetadataResource.cs +++ b/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_HybridIdentityMetadataResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.HybridContainerService.Samples { public partial class Sample_HybridIdentityMetadataResource { - // CreateHybridIdentityMetadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateHybridIdentityMetadata() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/CreateHybridIdentityMetadata.json @@ -49,9 +49,8 @@ public async Task CreateOrUpdate_CreateHybridIdentityMetadata() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetHybridIdentityMetadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetHybridIdentityMetadata() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/GetHybridIdentityMetadata.json @@ -78,9 +77,8 @@ public async Task Get_GetHybridIdentityMetadata() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteHybridIdentityMetadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteHybridIdentityMetadata() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/DeleteHybridIdentityMetadata.json @@ -100,7 +98,7 @@ public async Task Delete_DeleteHybridIdentityMetadata() // invoke the operation await hybridIdentityMetadata.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_KubernetesVersionProfileResource.cs b/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_KubernetesVersionProfileResource.cs index 63f31b3be32ac..03626079bcfce 100644 --- a/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_KubernetesVersionProfileResource.cs +++ b/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_KubernetesVersionProfileResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HybridContainerService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridContainerService.Samples { public partial class Sample_KubernetesVersionProfileResource { - // GetKubernetesVersions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetKubernetesVersions() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/GetKubernetesVersions.json @@ -44,9 +44,8 @@ public async Task Get_GetKubernetesVersions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PutKubernetesVersions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutKubernetesVersions() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/PutKubernetesVersions.json @@ -82,9 +81,8 @@ public async Task CreateOrUpdate_PutKubernetesVersions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteKubernetesVersions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteKubernetesVersions() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/DeleteKubernetesVersions.json @@ -104,7 +102,7 @@ public async Task Delete_DeleteKubernetesVersions() // invoke the operation await kubernetesVersionProfile.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_ProvisionedClusterResource.cs b/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_ProvisionedClusterResource.cs index 545a6b2172fef..df9afad671d12 100644 --- a/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_ProvisionedClusterResource.cs +++ b/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_ProvisionedClusterResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HybridContainerService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridContainerService.Samples { public partial class Sample_ProvisionedClusterResource { - // GetProvisionedClusterInstance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetProvisionedClusterInstance() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/GetProvisionedClusterInstance.json @@ -44,9 +44,8 @@ public async Task Get_GetProvisionedClusterInstance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PutProvisionedClusterInstance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutProvisionedClusterInstance() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/PutProvisionedClusterInstance.json @@ -128,9 +127,8 @@ public async Task CreateOrUpdate_PutProvisionedClusterInstance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteProvisionedClusterInstance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteProvisionedClusterInstance() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/DeleteProvisionedClusterInstance.json @@ -150,12 +148,11 @@ public async Task Delete_DeleteProvisionedClusterInstance() // invoke the operation await provisionedCluster.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListClusterUserCredentials - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUserKubeconfig_ListClusterUserCredentials() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/ProvisionedClusterInstanceListUserKubeconfig.json @@ -179,9 +176,8 @@ public async Task GetUserKubeconfig_ListClusterUserCredentials() Console.WriteLine($"Succeeded: {result}"); } - // ListClusterAdminCredentials - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAdminKubeconfig_ListClusterAdminCredentials() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/ProvisionedClusterInstanceListAdminKubeconfig.json diff --git a/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_ProvisionedClusterUpgradeProfileResource.cs b/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_ProvisionedClusterUpgradeProfileResource.cs index d2ac073e9a5f2..dfae53c43eef2 100644 --- a/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_ProvisionedClusterUpgradeProfileResource.cs +++ b/sdk/hybridaks/Azure.ResourceManager.HybridContainerService/samples/Generated/Samples/Sample_ProvisionedClusterUpgradeProfileResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.HybridContainerService.Samples { public partial class Sample_ProvisionedClusterUpgradeProfileResource { - // GetUpgradeProfileForProvisionedClusterInstance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetUpgradeProfileForProvisionedClusterInstance() { // Generated from example definition: specification/hybridaks/resource-manager/Microsoft.HybridContainerService/stable/2024-01-01/examples/ProvisionedClusterInstanceGetUpgradeProfile.json diff --git a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeExtensionValueCollection.cs b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeExtensionValueCollection.cs index f8e957faa2516..83063125c2c54 100644 --- a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeExtensionValueCollection.cs +++ b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeExtensionValueCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HybridCompute.Samples { public partial class Sample_HybridComputeExtensionValueCollection { - // GET an extensions metadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GETAnExtensionsMetadata() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/extension/ExtensionMetadata_Get.json @@ -51,9 +51,8 @@ public async Task Get_GETAnExtensionsMetadata() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GET an extensions metadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GETAnExtensionsMetadata() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/extension/ExtensionMetadata_Get.json @@ -83,9 +82,8 @@ public async Task Exists_GETAnExtensionsMetadata() Console.WriteLine($"Succeeded: {result}"); } - // GET an extensions metadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GETAnExtensionsMetadata() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/extension/ExtensionMetadata_Get.json @@ -115,7 +113,7 @@ public async Task GetIfExists_GETAnExtensionsMetadata() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_GETAnExtensionsMetadata() } } - // GET a list of extensions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GETAListOfExtensions() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/extension/ExtensionMetadata_List.json @@ -162,7 +159,7 @@ public async Task GetAll_GETAListOfExtensions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeExtensionValueResource.cs b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeExtensionValueResource.cs index 4445bb7ae091c..666ac239ca206 100644 --- a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeExtensionValueResource.cs +++ b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeExtensionValueResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.HybridCompute.Samples { public partial class Sample_HybridComputeExtensionValueResource { - // GET an extensions metadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GETAnExtensionsMetadata() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/extension/ExtensionMetadata_Get.json diff --git a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeLicenseCollection.cs b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeLicenseCollection.cs index 8df0bc2e04007..63e67f066686d 100644 --- a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeLicenseCollection.cs +++ b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeLicenseCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HybridCompute.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HybridCompute.Samples { public partial class Sample_HybridComputeLicenseCollection { - // Create or Update a License - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateALicense() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/license/License_CreateOrUpdate.json @@ -63,9 +63,8 @@ public async Task CreateOrUpdate_CreateOrUpdateALicense() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get License - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetLicense() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/license/License_Get.json @@ -97,9 +96,8 @@ public async Task Get_GetLicense() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get License - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetLicense() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/license/License_Get.json @@ -127,9 +125,8 @@ public async Task Exists_GetLicense() Console.WriteLine($"Succeeded: {result}"); } - // Get License - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetLicense() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/license/License_Get.json @@ -157,7 +154,7 @@ public async Task GetIfExists_GetLicense() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_GetLicense() } } - // GET all Machine Extensions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GETAllMachineExtensions() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/license/License_ListByResourceGroup.json @@ -202,7 +198,7 @@ public async Task GetAll_GETAllMachineExtensions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeLicenseProfileResource.cs b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeLicenseProfileResource.cs index 56b22593ec0c9..0d60c067813a5 100644 --- a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeLicenseProfileResource.cs +++ b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeLicenseProfileResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HybridCompute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridCompute.Samples { public partial class Sample_HybridComputeLicenseProfileResource { - // Create or Update a License Profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateALicenseProfile() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/licenseProfile/LicenseProfile_CreateOrUpdate.json @@ -62,9 +62,8 @@ public async Task CreateOrUpdate_CreateOrUpdateALicenseProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a License Profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateALicenseProfile() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/licenseProfile/LicenseProfile_Update.json @@ -109,9 +108,8 @@ public async Task Update_UpdateALicenseProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get License Profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetLicenseProfile() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/licenseProfile/LicenseProfile_Get.json @@ -140,9 +138,8 @@ public async Task Get_GetLicenseProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a License Profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteALicenseProfile() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/licenseProfile/LicenseProfile_Delete.json @@ -164,7 +161,7 @@ public async Task Delete_DeleteALicenseProfile() // invoke the operation await hybridComputeLicenseProfile.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeLicenseResource.cs b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeLicenseResource.cs index bf021ab01bbb8..f2861fed5a55b 100644 --- a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeLicenseResource.cs +++ b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeLicenseResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HybridCompute.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HybridCompute.Samples { public partial class Sample_HybridComputeLicenseResource { - // Validate a License - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateLicenseLicense_ValidateALicense() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/license/License_ValidateLicense.json @@ -58,9 +58,8 @@ public async Task ValidateLicenseLicense_ValidateALicense() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update a License - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateALicense() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/license/License_CreateOrUpdate.json @@ -102,9 +101,8 @@ public async Task Update_CreateOrUpdateALicense() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get License - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetLicense() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/license/License_Get.json @@ -133,9 +131,8 @@ public async Task Get_GetLicense() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a License - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteALicense() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/license/License_Delete.json @@ -157,12 +154,11 @@ public async Task Delete_DeleteALicense() // invoke the operation await hybridComputeLicense.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Licenses by Subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetHybridComputeLicenses_ListLicensesBySubscription() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/license/License_ListBySubscription.json @@ -189,7 +185,7 @@ public async Task GetHybridComputeLicenses_ListLicensesBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeMachineCollection.cs b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeMachineCollection.cs index eafa57729bbce..2ba34b8fdf0d4 100644 --- a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeMachineCollection.cs +++ b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeMachineCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.HybridCompute.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HybridCompute.Samples { public partial class Sample_HybridComputeMachineCollection { - // Create or Update a Machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAMachine() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/machine/Machines_CreateOrUpdate.json @@ -68,9 +68,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMachine() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/machine/Machines_Get.json @@ -102,9 +101,8 @@ public async Task Get_GetMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetMachine() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/machine/Machines_Get.json @@ -132,9 +130,8 @@ public async Task Exists_GetMachine() Console.WriteLine($"Succeeded: {result}"); } - // Get Machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetMachine() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/machine/Machines_Get.json @@ -162,7 +159,7 @@ public async Task GetIfExists_GetMachine() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -174,9 +171,8 @@ public async Task GetIfExists_GetMachine() } } - // Get Machine with License Profile Instance View - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMachineWithLicenseProfileInstanceView() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/machine/Machines_Get_LicenseProfileInstanceView.json @@ -209,9 +205,8 @@ public async Task Get_GetMachineWithLicenseProfileInstanceView() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Machine with License Profile Instance View - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetMachineWithLicenseProfileInstanceView() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/machine/Machines_Get_LicenseProfileInstanceView.json @@ -240,9 +235,8 @@ public async Task Exists_GetMachineWithLicenseProfileInstanceView() Console.WriteLine($"Succeeded: {result}"); } - // Get Machine with License Profile Instance View - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetMachineWithLicenseProfileInstanceView() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/machine/Machines_Get_LicenseProfileInstanceView.json @@ -271,7 +265,7 @@ public async Task GetIfExists_GetMachineWithLicenseProfileInstanceView() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -283,9 +277,8 @@ public async Task GetIfExists_GetMachineWithLicenseProfileInstanceView() } } - // List Machines by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListMachinesByResourceGroup() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/machine/Machines_ListByResourceGroup.json @@ -316,7 +309,7 @@ public async Task GetAll_ListMachinesByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeMachineExtensionCollection.cs b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeMachineExtensionCollection.cs index 41edd2d612b8d..b4478e6640f0b 100644 --- a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeMachineExtensionCollection.cs +++ b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeMachineExtensionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HybridCompute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridCompute.Samples { public partial class Sample_HybridComputeMachineExtensionCollection { - // Create or Update a Machine Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAMachineExtension() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/extension/Extension_CreateOrUpdate.json @@ -64,9 +64,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAMachineExtension() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GET Machine Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GETMachineExtension() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/extension/Extension_Get.json @@ -99,9 +98,8 @@ public async Task Get_GETMachineExtension() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GET Machine Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GETMachineExtension() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/extension/Extension_Get.json @@ -130,9 +128,8 @@ public async Task Exists_GETMachineExtension() Console.WriteLine($"Succeeded: {result}"); } - // GET Machine Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GETMachineExtension() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/extension/Extension_Get.json @@ -161,7 +158,7 @@ public async Task GetIfExists_GETMachineExtension() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -173,9 +170,8 @@ public async Task GetIfExists_GETMachineExtension() } } - // GET all Machine Extensions - List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GETAllMachineExtensionsList() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/extension/Extension_List.json @@ -207,7 +203,7 @@ public async Task GetAll_GETAllMachineExtensionsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeMachineExtensionResource.cs b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeMachineExtensionResource.cs index aa32f1802e019..09be1291b895c 100644 --- a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeMachineExtensionResource.cs +++ b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeMachineExtensionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HybridCompute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridCompute.Samples { public partial class Sample_HybridComputeMachineExtensionResource { - // Create or Update a Machine Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAMachineExtension() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/extension/Extension_Update.json @@ -59,9 +59,8 @@ public async Task Update_CreateOrUpdateAMachineExtension() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a Machine Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAMachineExtension() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/extension/Extension_Delete.json @@ -84,12 +83,11 @@ public async Task Delete_DeleteAMachineExtension() // invoke the operation await hybridComputeMachineExtension.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GET Machine Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GETMachineExtension() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/extension/Extension_Get.json diff --git a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeMachineResource.cs b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeMachineResource.cs index 0bd98f2599e06..a62767696c2b7 100644 --- a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeMachineResource.cs +++ b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputeMachineResource.cs @@ -13,14 +13,14 @@ using Azure.ResourceManager.HybridCompute.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HybridCompute.Samples { public partial class Sample_HybridComputeMachineResource { - // Update a Machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAMachine() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/machine/Machines_Update.json @@ -70,9 +70,8 @@ public async Task Update_UpdateAMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a Machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAMachine() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/machine/Machines_Delete.json @@ -94,12 +93,11 @@ public async Task Delete_DeleteAMachine() // invoke the operation await hybridComputeMachine.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMachine() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/machine/Machines_Get.json @@ -128,9 +126,8 @@ public async Task Get_GetMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Machine with License Profile Instance View - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMachineWithLicenseProfileInstanceView() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/machine/Machines_Get_LicenseProfileInstanceView.json @@ -160,9 +157,8 @@ public async Task Get_GetMachineWithLicenseProfileInstanceView() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Assess patch state of a machine. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AssessPatches_AssessPatchStateOfAMachine() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/machine/Machine_AssessPatches.json @@ -188,9 +184,8 @@ public async Task AssessPatches_AssessPatchStateOfAMachine() Console.WriteLine($"Succeeded: {result}"); } - // Install patch state of a machine. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task InstallPatches_InstallPatchStateOfAMachine() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/machine/Machine_InstallPatches.json @@ -227,9 +222,8 @@ public async Task InstallPatches_InstallPatchStateOfAMachine() Console.WriteLine($"Succeeded: {result}"); } - // List Machines by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetHybridComputeMachines_ListMachinesByResourceGroup() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/machine/Machines_ListBySubscription.json @@ -256,12 +250,11 @@ public async Task GetHybridComputeMachines_ListMachinesByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Upgrade Machine Extensions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpgradeExtensions_UpgradeMachineExtensions() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/extension/Extensions_Upgrade.json @@ -297,12 +290,11 @@ public async Task UpgradeExtensions_UpgradeMachineExtensions() }; await hybridComputeMachine.UpgradeExtensionsAsync(WaitUntil.Completed, extensionUpgradeParameters); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GET Network Profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkProfile_GETNetworkProfile() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/NetworkProfile_Get.json @@ -327,9 +319,8 @@ public async Task GetNetworkProfile_GETNetworkProfile() Console.WriteLine($"Succeeded: {result}"); } - // PrivateLinkScopeGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetValidationDetailsForMachinePrivateLinkScope_PrivateLinkScopeGet() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/privateLinkScope/PrivateLinkScopes_GetValidationForMachine.json diff --git a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputePrivateEndpointConnectionCollection.cs b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputePrivateEndpointConnectionCollection.cs index 9503861fcaa0d..dd379998acda1 100644 --- a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputePrivateEndpointConnectionCollection.cs +++ b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputePrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HybridCompute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridCompute.Samples { public partial class Sample_HybridComputePrivateEndpointConnectionCollection { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/privateEndpoint/PrivateEndpointConnection_Get.json @@ -50,9 +50,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/privateEndpoint/PrivateEndpointConnection_Get.json @@ -81,9 +80,8 @@ public async Task Exists_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/privateEndpoint/PrivateEndpointConnection_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() } } - // Approve or reject a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/privateEndpoint/PrivateEndpointConnection_Update.json @@ -167,9 +164,8 @@ public async Task CreateOrUpdate_ApproveOrRejectAPrivateEndpointConnectionWithAG Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets list of private endpoint connections on a private link scope. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsListOfPrivateEndpointConnectionsOnAPrivateLinkScope() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/privateEndpoint/PrivateEndpointConnection_List.json @@ -201,7 +197,7 @@ public async Task GetAll_GetsListOfPrivateEndpointConnectionsOnAPrivateLinkScope Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputePrivateEndpointConnectionResource.cs b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputePrivateEndpointConnectionResource.cs index d5388a49cc8ee..b9eb7cae2dee1 100644 --- a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputePrivateEndpointConnectionResource.cs +++ b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputePrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HybridCompute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridCompute.Samples { public partial class Sample_HybridComputePrivateEndpointConnectionResource { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/privateEndpoint/PrivateEndpointConnection_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Approve or reject a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/privateEndpoint/PrivateEndpointConnection_Update.json @@ -87,9 +86,8 @@ public async Task Update_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/privateEndpoint/PrivateEndpointConnection_Delete.json @@ -112,7 +110,7 @@ public async Task Delete_DeletesAPrivateEndpointConnectionWithAGivenName() // invoke the operation await hybridComputePrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputePrivateLinkResource.cs b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputePrivateLinkResource.cs index a2b061a354a85..2f0aca4ff3eff 100644 --- a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputePrivateLinkResource.cs +++ b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputePrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.HybridCompute.Samples { public partial class Sample_HybridComputePrivateLinkResource { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json diff --git a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputePrivateLinkResourceCollection.cs b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputePrivateLinkResourceCollection.cs index 42eafc732d2fe..0ef6c703d9d06 100644 --- a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputePrivateLinkResourceCollection.cs +++ b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputePrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.HybridCompute.Samples { public partial class Sample_HybridComputePrivateLinkResourceCollection { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsPrivateEndpointConnection() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_ListGet.json @@ -48,12 +48,11 @@ public async Task GetAll_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json @@ -117,9 +115,8 @@ public async Task Exists_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/privateLinkScope/PrivateLinkScopePrivateLinkResource_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputePrivateLinkScopeCollection.cs b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputePrivateLinkScopeCollection.cs index a38b565cb12e7..c20204602f209 100644 --- a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputePrivateLinkScopeCollection.cs +++ b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputePrivateLinkScopeCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HybridCompute.Samples { public partial class Sample_HybridComputePrivateLinkScopeCollection { - // PrivateLinkScopeListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateLinkScopeListByResourceGroup() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/privateLinkScope/PrivateLinkScopes_ListByResourceGroup.json @@ -48,12 +48,11 @@ public async Task GetAll_PrivateLinkScopeListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateLinkScopeGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkScopeGet() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/privateLinkScope/PrivateLinkScopes_Get.json @@ -85,9 +84,8 @@ public async Task Get_PrivateLinkScopeGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateLinkScopeGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateLinkScopeGet() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/privateLinkScope/PrivateLinkScopes_Get.json @@ -115,9 +113,8 @@ public async Task Exists_PrivateLinkScopeGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateLinkScopeGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateLinkScopeGet() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/privateLinkScope/PrivateLinkScopes_Get.json @@ -145,7 +142,7 @@ public async Task GetIfExists_PrivateLinkScopeGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -157,9 +154,8 @@ public async Task GetIfExists_PrivateLinkScopeGet() } } - // PrivateLinkScopeCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateLinkScopeCreate() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/privateLinkScope/PrivateLinkScopes_Create.json @@ -193,9 +189,8 @@ public async Task CreateOrUpdate_PrivateLinkScopeCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateLinkScopeUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateLinkScopeUpdate() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/privateLinkScope/PrivateLinkScopes_Update.json diff --git a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputePrivateLinkScopeResource.cs b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputePrivateLinkScopeResource.cs index 9158ce350ab0d..2ff92af0646a1 100644 --- a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputePrivateLinkScopeResource.cs +++ b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_HybridComputePrivateLinkScopeResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HybridCompute.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HybridCompute.Samples { public partial class Sample_HybridComputePrivateLinkScopeResource { - // PrivateLinkScopesList.json - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetHybridComputePrivateLinkScopes_PrivateLinkScopesListJson() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/privateLinkScope/PrivateLinkScopes_List.json @@ -45,12 +45,11 @@ public async Task GetHybridComputePrivateLinkScopes_PrivateLinkScopesListJson() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateLinkScopesDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateLinkScopesDelete() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/privateLinkScope/PrivateLinkScopes_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_PrivateLinkScopesDelete() // invoke the operation await hybridComputePrivateLinkScope.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateLinkScopeGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkScopeGet() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/privateLinkScope/PrivateLinkScopes_Get.json @@ -106,9 +104,8 @@ public async Task Get_PrivateLinkScopeGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateLinkScopeUpdateTagsOnly - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateLinkScopeUpdateTagsOnly() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/privateLinkScope/PrivateLinkScopes_UpdateTagsOnly.json @@ -145,9 +142,8 @@ public async Task Update_PrivateLinkScopeUpdateTagsOnly() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateLinkScopeGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetValidationDetailsPrivateLinkScope_PrivateLinkScopeGet() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/privateLinkScope/PrivateLinkScopes_GetValidation.json diff --git a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationCollection.cs b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationCollection.cs index e98a938117872..b9fe91b62b223 100644 --- a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationCollection.cs +++ b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.HybridCompute.Samples { public partial class Sample_NetworkSecurityPerimeterConfigurationCollection { - // Gets the network security perimeter configuration of the private link scope. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheNetworkSecurityPerimeterConfigurationOfThePrivateLinkScope() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json @@ -49,9 +49,8 @@ public async Task Get_GetsTheNetworkSecurityPerimeterConfigurationOfThePrivateLi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the network security perimeter configuration of the private link scope. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheNetworkSecurityPerimeterConfigurationOfThePrivateLinkScope() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetsTheNetworkSecurityPerimeterConfigurationOfThePrivat Console.WriteLine($"Succeeded: {result}"); } - // Gets the network security perimeter configuration of the private link scope. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheNetworkSecurityPerimeterConfigurationOfThePrivateLinkScope() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetsTheNetworkSecurityPerimeterConfigurationOfTheP if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetsTheNetworkSecurityPerimeterConfigurationOfTheP } } - // Gets the list of network security perimeter configurations of the private link scope. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfNetworkSecurityPerimeterConfigurationsOfThePrivateLinkScope() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationList.json @@ -157,7 +154,7 @@ public async Task GetAll_GetsTheListOfNetworkSecurityPerimeterConfigurationsOfTh Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationResource.cs b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationResource.cs index 64e73817261ea..65cf5d12f3101 100644 --- a/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationResource.cs +++ b/sdk/hybridcompute/Azure.ResourceManager.HybridCompute/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HybridCompute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridCompute.Samples { public partial class Sample_NetworkSecurityPerimeterConfigurationResource { - // Gets the network security perimeter configuration of the private link scope. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheNetworkSecurityPerimeterConfigurationOfThePrivateLinkScope() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationGet.json @@ -47,9 +47,8 @@ public async Task Get_GetsTheNetworkSecurityPerimeterConfigurationOfThePrivateLi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Reconciles the network security perimeter configuration of the private link scope. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ReconcileForPrivateLinkScope_ReconcilesTheNetworkSecurityPerimeterConfigurationOfThePrivateLinkScope() { // Generated from example definition: specification/hybridcompute/resource-manager/Microsoft.HybridCompute/stable/2024-07-10/examples/networkSecurityPerimeterConfiguration/NetworkSecurityPerimeterConfigurationReconcile.json diff --git a/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/samples/Generated/Samples/Sample_EndpointResource.cs b/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/samples/Generated/Samples/Sample_EndpointResource.cs index 1f8ccf5fb5b20..6df343018fb32 100644 --- a/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/samples/Generated/Samples/Sample_EndpointResource.cs +++ b/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/samples/Generated/Samples/Sample_EndpointResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HybridConnectivity.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridConnectivity.Samples { public partial class Sample_EndpointResource { - // HybridConnectivityEndpointsGetCustom - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_HybridConnectivityEndpointsGetCustom() { // Generated from example definition: specification/hybridconnectivity/resource-manager/Microsoft.HybridConnectivity/preview/2021-10-06-preview/examples/EndpointsGetCustom.json @@ -45,9 +45,8 @@ public async Task Get_HybridConnectivityEndpointsGetCustom() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HybridConnectivityEndpointsGetDefault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_HybridConnectivityEndpointsGetDefault() { // Generated from example definition: specification/hybridconnectivity/resource-manager/Microsoft.HybridConnectivity/preview/2021-10-06-preview/examples/EndpointsGetDefault.json @@ -75,9 +74,8 @@ public async Task Get_HybridConnectivityEndpointsGetDefault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HybridConnectivityEndpointsPatchDefault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_HybridConnectivityEndpointsPatchDefault() { // Generated from example definition: specification/hybridconnectivity/resource-manager/Microsoft.HybridConnectivity/preview/2021-10-06-preview/examples/EndpointsPatchDefault.json @@ -109,9 +107,8 @@ public async Task Update_HybridConnectivityEndpointsPatchDefault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HybridConnectivityEndpointsDeleteDefault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_HybridConnectivityEndpointsDeleteDefault() { // Generated from example definition: specification/hybridconnectivity/resource-manager/Microsoft.HybridConnectivity/preview/2021-10-06-preview/examples/EndpointsDeleteDefault.json @@ -132,12 +129,11 @@ public async Task Delete_HybridConnectivityEndpointsDeleteDefault() // invoke the operation await endpointResource.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // HybridConnectivityEndpointsPostListCredentials - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCredentials_HybridConnectivityEndpointsPostListCredentials() { // Generated from example definition: specification/hybridconnectivity/resource-manager/Microsoft.HybridConnectivity/preview/2021-10-06-preview/examples/EndpointsPostListCredentials.json diff --git a/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/samples/Generated/Samples/Sample_EndpointResourceCollection.cs b/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/samples/Generated/Samples/Sample_EndpointResourceCollection.cs index 1a6b3f7802775..9b5aa2a78d0b2 100644 --- a/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/samples/Generated/Samples/Sample_EndpointResourceCollection.cs +++ b/sdk/hybridconnectivity/Azure.ResourceManager.HybridConnectivity/samples/Generated/Samples/Sample_EndpointResourceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HybridConnectivity.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridConnectivity.Samples { public partial class Sample_EndpointResourceCollection { - // HybridConnectivityEndpointsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_HybridConnectivityEndpointsGet() { // Generated from example definition: specification/hybridconnectivity/resource-manager/Microsoft.HybridConnectivity/preview/2021-10-06-preview/examples/EndpointsList.json @@ -46,12 +46,11 @@ public async Task GetAll_HybridConnectivityEndpointsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // HybridConnectivityEndpointsGetCustom - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_HybridConnectivityEndpointsGetCustom() { // Generated from example definition: specification/hybridconnectivity/resource-manager/Microsoft.HybridConnectivity/preview/2021-10-06-preview/examples/EndpointsGetCustom.json @@ -81,9 +80,8 @@ public async Task Get_HybridConnectivityEndpointsGetCustom() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HybridConnectivityEndpointsGetCustom - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_HybridConnectivityEndpointsGetCustom() { // Generated from example definition: specification/hybridconnectivity/resource-manager/Microsoft.HybridConnectivity/preview/2021-10-06-preview/examples/EndpointsGetCustom.json @@ -109,9 +107,8 @@ public async Task Exists_HybridConnectivityEndpointsGetCustom() Console.WriteLine($"Succeeded: {result}"); } - // HybridConnectivityEndpointsGetCustom - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_HybridConnectivityEndpointsGetCustom() { // Generated from example definition: specification/hybridconnectivity/resource-manager/Microsoft.HybridConnectivity/preview/2021-10-06-preview/examples/EndpointsGetCustom.json @@ -137,7 +134,7 @@ public async Task GetIfExists_HybridConnectivityEndpointsGetCustom() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -149,9 +146,8 @@ public async Task GetIfExists_HybridConnectivityEndpointsGetCustom() } } - // HybridConnectivityEndpointsGetDefault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_HybridConnectivityEndpointsGetDefault() { // Generated from example definition: specification/hybridconnectivity/resource-manager/Microsoft.HybridConnectivity/preview/2021-10-06-preview/examples/EndpointsGetDefault.json @@ -181,9 +177,8 @@ public async Task Get_HybridConnectivityEndpointsGetDefault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HybridConnectivityEndpointsGetDefault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_HybridConnectivityEndpointsGetDefault() { // Generated from example definition: specification/hybridconnectivity/resource-manager/Microsoft.HybridConnectivity/preview/2021-10-06-preview/examples/EndpointsGetDefault.json @@ -209,9 +204,8 @@ public async Task Exists_HybridConnectivityEndpointsGetDefault() Console.WriteLine($"Succeeded: {result}"); } - // HybridConnectivityEndpointsGetDefault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_HybridConnectivityEndpointsGetDefault() { // Generated from example definition: specification/hybridconnectivity/resource-manager/Microsoft.HybridConnectivity/preview/2021-10-06-preview/examples/EndpointsGetDefault.json @@ -237,7 +231,7 @@ public async Task GetIfExists_HybridConnectivityEndpointsGetDefault() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -249,9 +243,8 @@ public async Task GetIfExists_HybridConnectivityEndpointsGetDefault() } } - // HybridConnectivityEndpointsPutCustom - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_HybridConnectivityEndpointsPutCustom() { // Generated from example definition: specification/hybridconnectivity/resource-manager/Microsoft.HybridConnectivity/preview/2021-10-06-preview/examples/EndpointsPutCustom.json @@ -287,9 +280,8 @@ public async Task CreateOrUpdate_HybridConnectivityEndpointsPutCustom() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HybridConnectivityEndpointsPutDefault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_HybridConnectivityEndpointsPutDefault() { // Generated from example definition: specification/hybridconnectivity/resource-manager/Microsoft.HybridConnectivity/preview/2021-10-06-preview/examples/EndpointsPutDefault.json diff --git a/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/samples/Generated/Samples/Sample_ConnectedClusterCollection.cs b/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/samples/Generated/Samples/Sample_ConnectedClusterCollection.cs index 5f243aaa6c54e..34623a11628fb 100644 --- a/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/samples/Generated/Samples/Sample_ConnectedClusterCollection.cs +++ b/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/samples/Generated/Samples/Sample_ConnectedClusterCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Kubernetes.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Kubernetes.Samples { public partial class Sample_ConnectedClusterCollection { - // CreateClusterExample - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateClusterExample() { // Generated from example definition: specification/hybridkubernetes/resource-manager/Microsoft.Kubernetes/preview/2022-05-01-preview/examples/CreateClusterExample.json @@ -58,9 +58,8 @@ public async Task CreateOrUpdate_CreateClusterExample() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateClusterPrivateLinkExample - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateClusterPrivateLinkExample() { // Generated from example definition: specification/hybridkubernetes/resource-manager/Microsoft.Kubernetes/preview/2022-05-01-preview/examples/CreateClusterPrivateLinkExample.json @@ -101,9 +100,8 @@ public async Task CreateOrUpdate_CreateClusterPrivateLinkExample() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetClusterExample - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetClusterExample() { // Generated from example definition: specification/hybridkubernetes/resource-manager/Microsoft.Kubernetes/preview/2022-05-01-preview/examples/GetClusterExample.json @@ -135,9 +133,8 @@ public async Task Get_GetClusterExample() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetClusterExample - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetClusterExample() { // Generated from example definition: specification/hybridkubernetes/resource-manager/Microsoft.Kubernetes/preview/2022-05-01-preview/examples/GetClusterExample.json @@ -165,9 +162,8 @@ public async Task Exists_GetClusterExample() Console.WriteLine($"Succeeded: {result}"); } - // GetClusterExample - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetClusterExample() { // Generated from example definition: specification/hybridkubernetes/resource-manager/Microsoft.Kubernetes/preview/2022-05-01-preview/examples/GetClusterExample.json @@ -195,7 +191,7 @@ public async Task GetIfExists_GetClusterExample() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -207,9 +203,8 @@ public async Task GetIfExists_GetClusterExample() } } - // GetClustersExample - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetClustersExample() { // Generated from example definition: specification/hybridkubernetes/resource-manager/Microsoft.Kubernetes/preview/2022-05-01-preview/examples/GetClustersByResourceGroupExample.json @@ -240,7 +235,7 @@ public async Task GetAll_GetClustersExample() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/samples/Generated/Samples/Sample_ConnectedClusterResource.cs b/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/samples/Generated/Samples/Sample_ConnectedClusterResource.cs index 803f4f25cf4a9..1d7104f3ea9b0 100644 --- a/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/samples/Generated/Samples/Sample_ConnectedClusterResource.cs +++ b/sdk/hybridkubernetes/Azure.ResourceManager.Kubernetes/samples/Generated/Samples/Sample_ConnectedClusterResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Kubernetes.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Kubernetes.Samples { public partial class Sample_ConnectedClusterResource { - // UpdateClusterExample - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateClusterExample() { // Generated from example definition: specification/hybridkubernetes/resource-manager/Microsoft.Kubernetes/preview/2022-05-01-preview/examples/UpdateClusterExample.json @@ -55,9 +55,8 @@ public async Task Update_UpdateClusterExample() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetClusterExample - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetClusterExample() { // Generated from example definition: specification/hybridkubernetes/resource-manager/Microsoft.Kubernetes/preview/2022-05-01-preview/examples/GetClusterExample.json @@ -86,9 +85,8 @@ public async Task Get_GetClusterExample() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteClusterExample - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteClusterExample() { // Generated from example definition: specification/hybridkubernetes/resource-manager/Microsoft.Kubernetes/preview/2022-05-01-preview/examples/DeleteClusterExample.json @@ -110,12 +108,11 @@ public async Task Delete_DeleteClusterExample() // invoke the operation await connectedCluster.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListClusterUserCredentialCSPExample - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetClusterUserCredential_ListClusterUserCredentialCSPExample() { // Generated from example definition: specification/hybridkubernetes/resource-manager/Microsoft.Kubernetes/preview/2022-05-01-preview/examples/ConnectedClustersListClusterCredentialResultHPAAD.json @@ -141,9 +138,8 @@ public async Task GetClusterUserCredential_ListClusterUserCredentialCSPExample() Console.WriteLine($"Succeeded: {result}"); } - // ListClusterUserCredentialExample - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetClusterUserCredential_ListClusterUserCredentialExample() { // Generated from example definition: specification/hybridkubernetes/resource-manager/Microsoft.Kubernetes/preview/2022-05-01-preview/examples/ConnectedClustersListClusterCredentialResultCSPAAD.json @@ -169,9 +165,8 @@ public async Task GetClusterUserCredential_ListClusterUserCredentialExample() Console.WriteLine($"Succeeded: {result}"); } - // ListClusterUserCredentialNonAadCSPExample - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetClusterUserCredential_ListClusterUserCredentialNonAadCSPExample() { // Generated from example definition: specification/hybridkubernetes/resource-manager/Microsoft.Kubernetes/preview/2022-05-01-preview/examples/ConnectedClustersListClusterCredentialResultHPToken.json @@ -197,9 +192,8 @@ public async Task GetClusterUserCredential_ListClusterUserCredentialNonAadCSPExa Console.WriteLine($"Succeeded: {result}"); } - // ListClusterUserCredentialNonAadExample - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetClusterUserCredential_ListClusterUserCredentialNonAadExample() { // Generated from example definition: specification/hybridkubernetes/resource-manager/Microsoft.Kubernetes/preview/2022-05-01-preview/examples/ConnectedClustersListClusterCredentialResultCSPToken.json @@ -225,9 +219,8 @@ public async Task GetClusterUserCredential_ListClusterUserCredentialNonAadExampl Console.WriteLine($"Succeeded: {result}"); } - // GetClustersExample - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConnectedClusters_GetClustersExample() { // Generated from example definition: specification/hybridkubernetes/resource-manager/Microsoft.Kubernetes/preview/2022-05-01-preview/examples/GetClustersBySubscriptionExample.json @@ -254,7 +247,7 @@ public async Task GetConnectedClusters_GetClustersExample() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ArtifactManifestCollection.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ArtifactManifestCollection.cs index b350f3d896577..9010dc2d053ee 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ArtifactManifestCollection.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ArtifactManifestCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HybridNetwork.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_ArtifactManifestCollection { - // Get artifact manifest list resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetArtifactManifestListResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ArtifactManifestListByArtifactStore.json @@ -50,12 +50,11 @@ public async Task GetAll_GetArtifactManifestListResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create or update the artifact manifest resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateTheArtifactManifestResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ArtifactManifestCreate.json @@ -110,9 +109,8 @@ public async Task CreateOrUpdate_CreateOrUpdateTheArtifactManifestResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a artifact manifest resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAArtifactManifestResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ArtifactManifestGet.json @@ -146,9 +144,8 @@ public async Task Get_GetAArtifactManifestResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a artifact manifest resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAArtifactManifestResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ArtifactManifestGet.json @@ -178,9 +175,8 @@ public async Task Exists_GetAArtifactManifestResource() Console.WriteLine($"Succeeded: {result}"); } - // Get a artifact manifest resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAArtifactManifestResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ArtifactManifestGet.json @@ -210,7 +206,7 @@ public async Task GetIfExists_GetAArtifactManifestResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ArtifactManifestResource.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ArtifactManifestResource.cs index 758e74c3123c7..f61eec4cec4ee 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ArtifactManifestResource.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ArtifactManifestResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HybridNetwork.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_ArtifactManifestResource { - // Delete a artifact manifest resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAArtifactManifestResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ArtifactManifestDelete.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteAArtifactManifestResource() // invoke the operation await artifactManifest.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a artifact manifest resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAArtifactManifestResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ArtifactManifestGet.json @@ -77,9 +76,8 @@ public async Task Get_GetAArtifactManifestResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a artifact manifest resource tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAArtifactManifestResourceTags() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ArtifactManifestUpdateTags.json @@ -118,9 +116,8 @@ public async Task Update_UpdateAArtifactManifestResourceTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List a credential for artifact manifest - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCredential_ListACredentialForArtifactManifest() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ArtifactManifestListCredential.json @@ -147,9 +144,8 @@ public async Task GetCredential_ListACredentialForArtifactManifest() Console.WriteLine($"Succeeded: {result}"); } - // Update artifact manifest state - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateState_UpdateArtifactManifestState() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ArtifactManifestUpdateState.json diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ArtifactStoreCollection.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ArtifactStoreCollection.cs index 8c4177261679a..59ceed6a5e9f6 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ArtifactStoreCollection.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ArtifactStoreCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HybridNetwork.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_ArtifactStoreCollection { - // Get application groups under a publisher resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetApplicationGroupsUnderAPublisherResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ArtifactStoresListByPublisherName.json @@ -49,12 +49,11 @@ public async Task GetAll_GetApplicationGroupsUnderAPublisherResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create or update an artifact store of publisher resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnArtifactStoreOfPublisherResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ArtifactStoreCreate.json @@ -101,9 +100,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAnArtifactStoreOfPublisherResourc Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a artifact store resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAArtifactStoreResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ArtifactStoreGet.json @@ -136,9 +134,8 @@ public async Task Get_GetAArtifactStoreResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a artifact store resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAArtifactStoreResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ArtifactStoreGet.json @@ -167,9 +164,8 @@ public async Task Exists_GetAArtifactStoreResource() Console.WriteLine($"Succeeded: {result}"); } - // Get a artifact store resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAArtifactStoreResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ArtifactStoreGet.json @@ -198,7 +194,7 @@ public async Task GetIfExists_GetAArtifactStoreResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ArtifactStoreResource.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ArtifactStoreResource.cs index 3d1030be23e3d..be7849d215d19 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ArtifactStoreResource.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ArtifactStoreResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HybridNetwork.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_ArtifactStoreResource { - // Delete a artifact store of publisher resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAArtifactStoreOfPublisherResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ArtifactStoreDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteAArtifactStoreOfPublisherResource() // invoke the operation await artifactStore.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a artifact store resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAArtifactStoreResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ArtifactStoreGet.json @@ -75,9 +74,8 @@ public async Task Get_GetAArtifactStoreResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update artifact store resource tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateArtifactStoreResourceTags() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ArtifactStoreUpdateTags.json @@ -115,9 +113,8 @@ public async Task Update_UpdateArtifactStoreResourceTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List artifacts under an artifact store - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetProxyArtifacts_ListArtifactsUnderAnArtifactStore() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/PureProxyArtifact/ArtifactList.json @@ -143,12 +140,11 @@ public async Task GetProxyArtifacts_ListArtifactsUnderAnArtifactStore() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an artifact overview - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetProxyArtifacts_GetAnArtifactOverview() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/PureProxyArtifact/ArtifactGet.json @@ -175,12 +171,11 @@ public async Task GetProxyArtifacts_GetAnArtifactOverview() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update an artifact state - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateStateProxyArtifact_UpdateAnArtifactState() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/PureProxyArtifact/ArtifactChangeState.json diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ComponentCollection.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ComponentCollection.cs index 085310c56d971..0dd4179eb96c8 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ComponentCollection.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ComponentCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_ComponentCollection { - // Get component resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetComponentResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ComponentGet.json @@ -49,9 +49,8 @@ public async Task Get_GetComponentResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get component resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetComponentResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ComponentGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetComponentResource() Console.WriteLine($"Succeeded: {result}"); } - // Get component resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetComponentResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ComponentGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetComponentResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetComponentResource() } } - // List components in network function - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListComponentsInNetworkFunction() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ComponentListByNetworkFunction.json @@ -157,7 +154,7 @@ public async Task GetAll_ListComponentsInNetworkFunction() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ComponentResource.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ComponentResource.cs index c73bac16b3207..36a1cbb400d78 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ComponentResource.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ComponentResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_ComponentResource { - // Get component resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetComponentResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ComponentGet.json diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ConfigurationGroupSchemaCollection.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ConfigurationGroupSchemaCollection.cs index 659c658998461..f45d136c02f3c 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ConfigurationGroupSchemaCollection.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ConfigurationGroupSchemaCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HybridNetwork.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_ConfigurationGroupSchemaCollection { - // Get networkFunctionDefinition groups under publisher resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetNetworkFunctionDefinitionGroupsUnderPublisherResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ConfigurationGroupSchemaListByPublisherName.json @@ -49,12 +49,11 @@ public async Task GetAll_GetNetworkFunctionDefinitionGroupsUnderPublisherResourc Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create or update the network function definition group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateTheNetworkFunctionDefinitionGroup() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ConfigurationGroupSchemaCreate.json @@ -96,9 +95,8 @@ public async Task CreateOrUpdate_CreateOrUpdateTheNetworkFunctionDefinitionGroup Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a networkFunctionDefinition group resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetANetworkFunctionDefinitionGroupResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ConfigurationGroupSchemaGet.json @@ -131,9 +129,8 @@ public async Task Get_GetANetworkFunctionDefinitionGroupResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a networkFunctionDefinition group resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetANetworkFunctionDefinitionGroupResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ConfigurationGroupSchemaGet.json @@ -162,9 +159,8 @@ public async Task Exists_GetANetworkFunctionDefinitionGroupResource() Console.WriteLine($"Succeeded: {result}"); } - // Get a networkFunctionDefinition group resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetANetworkFunctionDefinitionGroupResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ConfigurationGroupSchemaGet.json @@ -193,7 +189,7 @@ public async Task GetIfExists_GetANetworkFunctionDefinitionGroupResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ConfigurationGroupSchemaResource.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ConfigurationGroupSchemaResource.cs index 1e6492473625d..ed3c9e822356f 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ConfigurationGroupSchemaResource.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ConfigurationGroupSchemaResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HybridNetwork.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_ConfigurationGroupSchemaResource { - // Delete a network function group resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteANetworkFunctionGroupResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ConfigurationGroupSchemaDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteANetworkFunctionGroupResource() // invoke the operation await configurationGroupSchema.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a networkFunctionDefinition group resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetANetworkFunctionDefinitionGroupResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ConfigurationGroupSchemaGet.json @@ -75,9 +74,8 @@ public async Task Get_GetANetworkFunctionDefinitionGroupResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update the configuration group schema resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateTheConfigurationGroupSchemaResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ConfigurationGroupSchemaUpdateTags.json @@ -115,9 +113,8 @@ public async Task Update_CreateOrUpdateTheConfigurationGroupSchemaResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update network service design version state - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateState_UpdateNetworkServiceDesignVersionState() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ConfigurationGroupSchemaVersionUpdateState.json diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ConfigurationGroupValueCollection.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ConfigurationGroupValueCollection.cs index 3699fcc306818..77f311509dc30 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ConfigurationGroupValueCollection.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ConfigurationGroupValueCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HybridNetwork.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_ConfigurationGroupValueCollection { - // Get hybrid configuration group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetHybridConfigurationGroup() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ConfigurationGroupValueGet.json @@ -50,9 +50,8 @@ public async Task Get_GetHybridConfigurationGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get hybrid configuration group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetHybridConfigurationGroup() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ConfigurationGroupValueGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetHybridConfigurationGroup() Console.WriteLine($"Succeeded: {result}"); } - // Get hybrid configuration group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetHybridConfigurationGroup() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ConfigurationGroupValueGet.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetHybridConfigurationGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetHybridConfigurationGroup() } } - // Create or update configuration group value - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateConfigurationGroupValue() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ConfigurationGroupValueCreate.json @@ -168,9 +165,8 @@ public async Task CreateOrUpdate_CreateOrUpdateConfigurationGroupValue() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update configuration group value with secrets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateConfigurationGroupValueWithSecrets() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ConfigurationGroupValueCreateSecret.json @@ -214,9 +210,8 @@ public async Task CreateOrUpdate_CreateOrUpdateConfigurationGroupValueWithSecret Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update first party configuration group value - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateFirstPartyConfigurationGroupValue() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ConfigurationGroupValueFirstPartyCreate.json @@ -260,9 +255,8 @@ public async Task CreateOrUpdate_CreateOrUpdateFirstPartyConfigurationGroupValue Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all hybrid network configurationGroupValues in a subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllHybridNetworkConfigurationGroupValuesInASubscription() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ConfigurationGroupValueListByResourceGroup.json @@ -293,7 +287,7 @@ public async Task GetAll_ListAllHybridNetworkConfigurationGroupValuesInASubscrip Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ConfigurationGroupValueResource.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ConfigurationGroupValueResource.cs index 84704ce26cd67..a3f26ef2406a1 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ConfigurationGroupValueResource.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_ConfigurationGroupValueResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HybridNetwork.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_ConfigurationGroupValueResource { - // Delete hybrid configuration group resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteHybridConfigurationGroupResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ConfigurationGroupValueDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteHybridConfigurationGroupResource() // invoke the operation await configurationGroupValue.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get hybrid configuration group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetHybridConfigurationGroup() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ConfigurationGroupValueGet.json @@ -74,9 +73,8 @@ public async Task Get_GetHybridConfigurationGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update hybrid configuration group tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateHybridConfigurationGroupTags() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ConfigurationGroupValueUpdateTags.json @@ -113,9 +111,8 @@ public async Task Update_UpdateHybridConfigurationGroupTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all hybrid network sites in a subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConfigurationGroupValues_ListAllHybridNetworkSitesInASubscription() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/ConfigurationGroupValueListBySubscription.json @@ -142,7 +139,7 @@ public async Task GetConfigurationGroupValues_ListAllHybridNetworkSitesInASubscr Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkFunctionCollection.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkFunctionCollection.cs index e9898ca06a04d..6c047c5db8757 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkFunctionCollection.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkFunctionCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HybridNetwork.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_NetworkFunctionCollection { - // Get network function resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkFunctionResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionGet.json @@ -50,9 +50,8 @@ public async Task Get_GetNetworkFunctionResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get network function resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetNetworkFunctionResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetNetworkFunctionResource() Console.WriteLine($"Succeeded: {result}"); } - // Get network function resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetNetworkFunctionResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionGet.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetNetworkFunctionResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetNetworkFunctionResource() } } - // Get virtual network function resource on AzureCore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetworkFunctionResourceOnAzureCore() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/AzureCore/VirtualNetworkFunctionGet.json @@ -156,9 +153,8 @@ public async Task Get_GetVirtualNetworkFunctionResourceOnAzureCore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get virtual network function resource on AzureCore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVirtualNetworkFunctionResourceOnAzureCore() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/AzureCore/VirtualNetworkFunctionGet.json @@ -186,9 +182,8 @@ public async Task Exists_GetVirtualNetworkFunctionResourceOnAzureCore() Console.WriteLine($"Succeeded: {result}"); } - // Get virtual network function resource on AzureCore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVirtualNetworkFunctionResourceOnAzureCore() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/AzureCore/VirtualNetworkFunctionGet.json @@ -216,7 +211,7 @@ public async Task GetIfExists_GetVirtualNetworkFunctionResourceOnAzureCore() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -228,9 +223,8 @@ public async Task GetIfExists_GetVirtualNetworkFunctionResourceOnAzureCore() } } - // Get virtual network function resource on AzureOperatorNexus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetworkFunctionResourceOnAzureOperatorNexus() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/AzureOperatorNexus/VirtualNetworkFunctionGet.json @@ -262,9 +256,8 @@ public async Task Get_GetVirtualNetworkFunctionResourceOnAzureOperatorNexus() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get virtual network function resource on AzureOperatorNexus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVirtualNetworkFunctionResourceOnAzureOperatorNexus() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/AzureOperatorNexus/VirtualNetworkFunctionGet.json @@ -292,9 +285,8 @@ public async Task Exists_GetVirtualNetworkFunctionResourceOnAzureOperatorNexus() Console.WriteLine($"Succeeded: {result}"); } - // Get virtual network function resource on AzureOperatorNexus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVirtualNetworkFunctionResourceOnAzureOperatorNexus() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/AzureOperatorNexus/VirtualNetworkFunctionGet.json @@ -322,7 +314,7 @@ public async Task GetIfExists_GetVirtualNetworkFunctionResourceOnAzureOperatorNe if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -334,9 +326,8 @@ public async Task GetIfExists_GetVirtualNetworkFunctionResourceOnAzureOperatorNe } } - // Create first party network function resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateFirstPartyNetworkFunctionResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionFirstPartyCreate.json @@ -387,9 +378,8 @@ public async Task CreateOrUpdate_CreateFirstPartyNetworkFunctionResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create network function resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNetworkFunctionResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionCreate.json @@ -440,9 +430,8 @@ public async Task CreateOrUpdate_CreateNetworkFunctionResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create network function resource with secrets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNetworkFunctionResourceWithSecrets() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionCreateSecret.json @@ -493,9 +482,8 @@ public async Task CreateOrUpdate_CreateNetworkFunctionResourceWithSecrets() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create virtual network function resource on AzureCore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVirtualNetworkFunctionResourceOnAzureCore() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/AzureCore/VirtualNetworkFunctionCreate.json @@ -542,9 +530,8 @@ public async Task CreateOrUpdate_CreateVirtualNetworkFunctionResourceOnAzureCore Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create virtual network function resource on AzureOperatorNexus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVirtualNetworkFunctionResourceOnAzureOperatorNexus() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/AzureOperatorNexus/VirtualNetworkFunctionCreate.json @@ -591,9 +578,8 @@ public async Task CreateOrUpdate_CreateVirtualNetworkFunctionResourceOnAzureOper Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List network function in resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListNetworkFunctionInResourceGroup() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionListByResourceGroup.json @@ -624,7 +610,7 @@ public async Task GetAll_ListNetworkFunctionInResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkFunctionDefinitionGroupCollection.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkFunctionDefinitionGroupCollection.cs index 44d5562d841cc..20691cf928341 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkFunctionDefinitionGroupCollection.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkFunctionDefinitionGroupCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_NetworkFunctionDefinitionGroupCollection { - // Get networkFunctionDefinition groups under publisher resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetNetworkFunctionDefinitionGroupsUnderPublisherResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionDefinitionGroupsListByPublisherName.json @@ -48,12 +48,11 @@ public async Task GetAll_GetNetworkFunctionDefinitionGroupsUnderPublisherResourc Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create or update the network function definition group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateTheNetworkFunctionDefinitionGroup() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionDefinitionGroupCreate.json @@ -88,9 +87,8 @@ public async Task CreateOrUpdate_CreateOrUpdateTheNetworkFunctionDefinitionGroup Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a networkFunctionDefinition group resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetANetworkFunctionDefinitionGroupResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionDefinitionGroupGet.json @@ -123,9 +121,8 @@ public async Task Get_GetANetworkFunctionDefinitionGroupResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a networkFunctionDefinition group resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetANetworkFunctionDefinitionGroupResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionDefinitionGroupGet.json @@ -154,9 +151,8 @@ public async Task Exists_GetANetworkFunctionDefinitionGroupResource() Console.WriteLine($"Succeeded: {result}"); } - // Get a networkFunctionDefinition group resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetANetworkFunctionDefinitionGroupResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionDefinitionGroupGet.json @@ -185,7 +181,7 @@ public async Task GetIfExists_GetANetworkFunctionDefinitionGroupResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkFunctionDefinitionGroupResource.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkFunctionDefinitionGroupResource.cs index e09dec75cbc7e..a85463b46e698 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkFunctionDefinitionGroupResource.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkFunctionDefinitionGroupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HybridNetwork.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_NetworkFunctionDefinitionGroupResource { - // Delete a network function group resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteANetworkFunctionGroupResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionDefinitionGroupDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteANetworkFunctionGroupResource() // invoke the operation await networkFunctionDefinitionGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a networkFunctionDefinition group resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetANetworkFunctionDefinitionGroupResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionDefinitionGroupGet.json @@ -75,9 +74,8 @@ public async Task Get_GetANetworkFunctionDefinitionGroupResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update the network function definition group resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateTheNetworkFunctionDefinitionGroupResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionDefinitionGroupUpdateTags.json diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkFunctionDefinitionVersionCollection.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkFunctionDefinitionVersionCollection.cs index cdbb102d13545..761fa5ad21d2b 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkFunctionDefinitionVersionCollection.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkFunctionDefinitionVersionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HybridNetwork.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_NetworkFunctionDefinitionVersionCollection { - // Create or update a network function definition version resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateANetworkFunctionDefinitionVersionResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionDefinitionVersionCreate.json @@ -124,9 +124,8 @@ public async Task CreateOrUpdate_CreateOrUpdateANetworkFunctionDefinitionVersion Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a network function definition version resource for AzureCore VNF - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateANetworkFunctionDefinitionVersionResourceForAzureCoreVNF() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/AzureCore/VirtualNetworkFunctionDefinitionVersionCreate.json @@ -237,9 +236,8 @@ public async Task CreateOrUpdate_CreateOrUpdateANetworkFunctionDefinitionVersion Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a network function definition version resource for AzureOperatorNexus VNF - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateANetworkFunctionDefinitionVersionResourceForAzureOperatorNexusVNF() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/AzureOperatorNexus/VirtualNetworkFunctionDefinitionVersionCreate.json @@ -350,9 +348,8 @@ public async Task CreateOrUpdate_CreateOrUpdateANetworkFunctionDefinitionVersion Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a network function definition version resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetANetworkFunctionDefinitionVersionResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionDefinitionVersionGet.json @@ -386,9 +383,8 @@ public async Task Get_GetANetworkFunctionDefinitionVersionResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a network function definition version resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetANetworkFunctionDefinitionVersionResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionDefinitionVersionGet.json @@ -418,9 +414,8 @@ public async Task Exists_GetANetworkFunctionDefinitionVersionResource() Console.WriteLine($"Succeeded: {result}"); } - // Get a network function definition version resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetANetworkFunctionDefinitionVersionResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionDefinitionVersionGet.json @@ -450,7 +445,7 @@ public async Task GetIfExists_GetANetworkFunctionDefinitionVersionResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -462,9 +457,8 @@ public async Task GetIfExists_GetANetworkFunctionDefinitionVersionResource() } } - // Get network function definition version resource for AzureCore VNF - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkFunctionDefinitionVersionResourceForAzureCoreVNF() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/AzureCore/VirtualNetworkFunctionDefinitionVersionGet.json @@ -498,9 +492,8 @@ public async Task Get_GetNetworkFunctionDefinitionVersionResourceForAzureCoreVNF Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get network function definition version resource for AzureCore VNF - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetNetworkFunctionDefinitionVersionResourceForAzureCoreVNF() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/AzureCore/VirtualNetworkFunctionDefinitionVersionGet.json @@ -530,9 +523,8 @@ public async Task Exists_GetNetworkFunctionDefinitionVersionResourceForAzureCore Console.WriteLine($"Succeeded: {result}"); } - // Get network function definition version resource for AzureCore VNF - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetNetworkFunctionDefinitionVersionResourceForAzureCoreVNF() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/AzureCore/VirtualNetworkFunctionDefinitionVersionGet.json @@ -562,7 +554,7 @@ public async Task GetIfExists_GetNetworkFunctionDefinitionVersionResourceForAzur if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -574,9 +566,8 @@ public async Task GetIfExists_GetNetworkFunctionDefinitionVersionResourceForAzur } } - // Get network function definition version resource for AzureOperatorNexus VNF - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkFunctionDefinitionVersionResourceForAzureOperatorNexusVNF() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/AzureOperatorNexus/VirtualNetworkFunctionDefinitionVersionGet.json @@ -610,9 +601,8 @@ public async Task Get_GetNetworkFunctionDefinitionVersionResourceForAzureOperato Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get network function definition version resource for AzureOperatorNexus VNF - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetNetworkFunctionDefinitionVersionResourceForAzureOperatorNexusVNF() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/AzureOperatorNexus/VirtualNetworkFunctionDefinitionVersionGet.json @@ -642,9 +632,8 @@ public async Task Exists_GetNetworkFunctionDefinitionVersionResourceForAzureOper Console.WriteLine($"Succeeded: {result}"); } - // Get network function definition version resource for AzureOperatorNexus VNF - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetNetworkFunctionDefinitionVersionResourceForAzureOperatorNexusVNF() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/AzureOperatorNexus/VirtualNetworkFunctionDefinitionVersionGet.json @@ -674,7 +663,7 @@ public async Task GetIfExists_GetNetworkFunctionDefinitionVersionResourceForAzur if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -686,9 +675,8 @@ public async Task GetIfExists_GetNetworkFunctionDefinitionVersionResourceForAzur } } - // Get Publisher resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetPublisherResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionDefinitionVersionListByNetworkFunctionDefinitionGroup.json @@ -721,7 +709,7 @@ public async Task GetAll_GetPublisherResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkFunctionDefinitionVersionResource.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkFunctionDefinitionVersionResource.cs index be9c7a1579685..e56fa18f863d9 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkFunctionDefinitionVersionResource.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkFunctionDefinitionVersionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HybridNetwork.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_NetworkFunctionDefinitionVersionResource { - // Delete a network function definition version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteANetworkFunctionDefinitionVersion() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionDefinitionVersionDelete.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteANetworkFunctionDefinitionVersion() // invoke the operation await networkFunctionDefinitionVersion.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Delete a network function definition version for AzureCore VNF - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteANetworkFunctionDefinitionVersionForAzureCoreVNF() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/AzureCore/VirtualNetworkFunctionDefinitionVersionDelete.json @@ -70,12 +69,11 @@ public async Task Delete_DeleteANetworkFunctionDefinitionVersionForAzureCoreVNF( // invoke the operation await networkFunctionDefinitionVersion.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Delete a network function definition version for AzureOperatorNexus VNF - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteANetworkFunctionDefinitionVersionForAzureOperatorNexusVNF() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/AzureOperatorNexus/VirtualNetworkFunctionDefinitionVersionDelete.json @@ -99,12 +97,11 @@ public async Task Delete_DeleteANetworkFunctionDefinitionVersionForAzureOperator // invoke the operation await networkFunctionDefinitionVersion.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a network function definition version resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetANetworkFunctionDefinitionVersionResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionDefinitionVersionGet.json @@ -135,9 +132,8 @@ public async Task Get_GetANetworkFunctionDefinitionVersionResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get network function definition version resource for AzureCore VNF - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkFunctionDefinitionVersionResourceForAzureCoreVNF() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/AzureCore/VirtualNetworkFunctionDefinitionVersionGet.json @@ -168,9 +164,8 @@ public async Task Get_GetNetworkFunctionDefinitionVersionResourceForAzureCoreVNF Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get network function definition version resource for AzureOperatorNexus VNF - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkFunctionDefinitionVersionResourceForAzureOperatorNexusVNF() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/AzureOperatorNexus/VirtualNetworkFunctionDefinitionVersionGet.json @@ -201,9 +196,8 @@ public async Task Get_GetNetworkFunctionDefinitionVersionResourceForAzureOperato Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update the network function definition version tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateTheNetworkFunctionDefinitionVersionTags() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionDefinitionVersionUpdateTags.json @@ -242,9 +236,8 @@ public async Task Update_UpdateTheNetworkFunctionDefinitionVersionTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update network function definition version state - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateState_UpdateNetworkFunctionDefinitionVersionState() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionDefinitionVersionUpdateState.json diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkFunctionResource.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkFunctionResource.cs index 5ba52fc2920c2..8fa92b4ae154d 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkFunctionResource.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkFunctionResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HybridNetwork.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_NetworkFunctionResource { - // Delete network function resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteNetworkFunctionResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteNetworkFunctionResource() // invoke the operation await networkFunction.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Delete virtual network function resource on AzureCore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteVirtualNetworkFunctionResourceOnAzureCore() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/AzureCore/VirtualNetworkFunctionDelete.json @@ -67,12 +66,11 @@ public async Task Delete_DeleteVirtualNetworkFunctionResourceOnAzureCore() // invoke the operation await networkFunction.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Delete virtual network function resource on AzureOperatorNexus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteVirtualNetworkFunctionResourceOnAzureOperatorNexus() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/AzureOperatorNexus/VirtualNetworkFunctionDelete.json @@ -94,12 +92,11 @@ public async Task Delete_DeleteVirtualNetworkFunctionResourceOnAzureOperatorNexu // invoke the operation await networkFunction.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get network function resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkFunctionResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionGet.json @@ -128,9 +125,8 @@ public async Task Get_GetNetworkFunctionResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get virtual network function resource on AzureCore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetworkFunctionResourceOnAzureCore() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/AzureCore/VirtualNetworkFunctionGet.json @@ -159,9 +155,8 @@ public async Task Get_GetVirtualNetworkFunctionResourceOnAzureCore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get virtual network function resource on AzureOperatorNexus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetworkFunctionResourceOnAzureOperatorNexus() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/AzureOperatorNexus/VirtualNetworkFunctionGet.json @@ -190,9 +185,8 @@ public async Task Get_GetVirtualNetworkFunctionResourceOnAzureOperatorNexus() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update tags for network function resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateTagsForNetworkFunctionResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionUpdateTags.json @@ -229,9 +223,8 @@ public async Task Update_UpdateTagsForNetworkFunctionResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all network function resources in subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkFunctions_ListAllNetworkFunctionResourcesInSubscription() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionListBySubscription.json @@ -258,12 +251,11 @@ public async Task GetNetworkFunctions_ListAllNetworkFunctionResourcesInSubscript Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Send request to network function services - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExecuteRequest_SendRequestToNetworkFunctionServices() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkFunctionsExecuteRequest.json @@ -289,7 +281,7 @@ public async Task ExecuteRequest_SendRequestToNetworkFunctionServices() }); await networkFunction.ExecuteRequestAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkServiceDesignGroupCollection.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkServiceDesignGroupCollection.cs index 60dc6bd37406c..6876448ce6a40 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkServiceDesignGroupCollection.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkServiceDesignGroupCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_NetworkServiceDesignGroupCollection { - // Get networkServiceDesign groups under publisher resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetNetworkServiceDesignGroupsUnderPublisherResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkServiceDesignGroupsListByPublisherName.json @@ -48,12 +48,11 @@ public async Task GetAll_GetNetworkServiceDesignGroupsUnderPublisherResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create or update the network service design group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateTheNetworkServiceDesignGroup() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkServiceDesignGroupCreate.json @@ -88,9 +87,8 @@ public async Task CreateOrUpdate_CreateOrUpdateTheNetworkServiceDesignGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a networkServiceDesign group resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetANetworkServiceDesignGroupResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkServiceDesignGroupGet.json @@ -123,9 +121,8 @@ public async Task Get_GetANetworkServiceDesignGroupResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a networkServiceDesign group resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetANetworkServiceDesignGroupResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkServiceDesignGroupGet.json @@ -154,9 +151,8 @@ public async Task Exists_GetANetworkServiceDesignGroupResource() Console.WriteLine($"Succeeded: {result}"); } - // Get a networkServiceDesign group resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetANetworkServiceDesignGroupResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkServiceDesignGroupGet.json @@ -185,7 +181,7 @@ public async Task GetIfExists_GetANetworkServiceDesignGroupResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkServiceDesignGroupResource.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkServiceDesignGroupResource.cs index cafabe5dafa64..f706b69c253f5 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkServiceDesignGroupResource.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkServiceDesignGroupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HybridNetwork.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_NetworkServiceDesignGroupResource { - // Delete a network function group resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteANetworkFunctionGroupResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkServiceDesignGroupDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteANetworkFunctionGroupResource() // invoke the operation await networkServiceDesignGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a networkServiceDesign group resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetANetworkServiceDesignGroupResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkServiceDesignGroupGet.json @@ -75,9 +74,8 @@ public async Task Get_GetANetworkServiceDesignGroupResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update the network service design group resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateTheNetworkServiceDesignGroupResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkServiceDesignGroupUpdateTags.json diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkServiceDesignVersionCollection.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkServiceDesignVersionCollection.cs index 0fe60fe146cf3..1fedaa148d0e5 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkServiceDesignVersionCollection.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkServiceDesignVersionCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HybridNetwork.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_NetworkServiceDesignVersionCollection { - // Create or update a network service design version resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateANetworkServiceDesignVersionResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkServiceDesignVersionCreate.json @@ -90,9 +90,8 @@ public async Task CreateOrUpdate_CreateOrUpdateANetworkServiceDesignVersionResou Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a network service design version resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetANetworkServiceDesignVersionResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkServiceDesignVersionGet.json @@ -126,9 +125,8 @@ public async Task Get_GetANetworkServiceDesignVersionResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a network service design version resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetANetworkServiceDesignVersionResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkServiceDesignVersionGet.json @@ -158,9 +156,8 @@ public async Task Exists_GetANetworkServiceDesignVersionResource() Console.WriteLine($"Succeeded: {result}"); } - // Get a network service design version resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetANetworkServiceDesignVersionResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkServiceDesignVersionGet.json @@ -190,7 +187,7 @@ public async Task GetIfExists_GetANetworkServiceDesignVersionResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -202,9 +199,8 @@ public async Task GetIfExists_GetANetworkServiceDesignVersionResource() } } - // Get Publisher resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetPublisherResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkServiceDesignVersionListByNetworkServiceDesignGroup.json @@ -237,7 +233,7 @@ public async Task GetAll_GetPublisherResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkServiceDesignVersionResource.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkServiceDesignVersionResource.cs index b93bb2b55a734..74491fc4d9e3e 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkServiceDesignVersionResource.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_NetworkServiceDesignVersionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HybridNetwork.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_NetworkServiceDesignVersionResource { - // Delete a network service design version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteANetworkServiceDesignVersion() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkServiceDesignVersionDelete.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteANetworkServiceDesignVersion() // invoke the operation await networkServiceDesignVersion.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a network service design version resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetANetworkServiceDesignVersionResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkServiceDesignVersionGet.json @@ -77,9 +76,8 @@ public async Task Get_GetANetworkServiceDesignVersionResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update the network service design version tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateTheNetworkServiceDesignVersionTags() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkServiceDesignVersionUpdateTags.json @@ -118,9 +116,8 @@ public async Task Update_UpdateTheNetworkServiceDesignVersionTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update network service design version state - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateState_UpdateNetworkServiceDesignVersionState() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/NetworkServiceDesignVersionUpdateState.json diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_PublisherCollection.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_PublisherCollection.cs index bb312694aaadb..cc4d879df801a 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_PublisherCollection.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_PublisherCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HybridNetwork.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_PublisherCollection { - // List all publisher resources in a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllPublisherResourcesInAResourceGroup() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/PublisherListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAllPublisherResourcesInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a publisher resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPublisherResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/PublisherGet.json @@ -86,9 +85,8 @@ public async Task Get_GetAPublisherResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a publisher resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAPublisherResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/PublisherGet.json @@ -116,9 +114,8 @@ public async Task Exists_GetAPublisherResource() Console.WriteLine($"Succeeded: {result}"); } - // Get a publisher resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAPublisherResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/PublisherGet.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetAPublisherResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetAPublisherResource() } } - // Create or update a publisher resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAPublisherResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/PublisherCreate.json diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_PublisherResource.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_PublisherResource.cs index 36b6f371a05fc..8af0e25f332e3 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_PublisherResource.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_PublisherResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HybridNetwork.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_PublisherResource { - // List all publisher resources in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPublishers_ListAllPublisherResourcesInASubscription() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/PublisherListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetPublishers_ListAllPublisherResourcesInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Delete a publisher resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAPublisherResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/PublisherDelete.json @@ -72,12 +71,11 @@ public async Task Delete_DeleteAPublisherResource() // invoke the operation await publisher.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a publisher resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPublisherResource() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/PublisherGet.json @@ -106,9 +104,8 @@ public async Task Get_GetAPublisherResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a publisher tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAPublisherTags() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/PublisherUpdateTags.json diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_SiteCollection.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_SiteCollection.cs index 3571c04fa5b07..a0ba8f58fca9a 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_SiteCollection.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_SiteCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HybridNetwork.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_SiteCollection { - // Get network site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkSite() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/SiteGet.json @@ -50,9 +50,8 @@ public async Task Get_GetNetworkSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get network site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetNetworkSite() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/SiteGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetNetworkSite() Console.WriteLine($"Succeeded: {result}"); } - // Get network site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetNetworkSite() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/SiteGet.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetNetworkSite() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetNetworkSite() } } - // Create network site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNetworkSite() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/SiteCreate.json @@ -179,9 +176,8 @@ public async Task CreateOrUpdate_CreateNetworkSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all network sites - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllNetworkSites() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/SiteListByResourceGroup.json @@ -212,7 +208,7 @@ public async Task GetAll_ListAllNetworkSites() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_SiteNetworkServiceCollection.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_SiteNetworkServiceCollection.cs index 36d746d2bb158..59b74d2d7c69c 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_SiteNetworkServiceCollection.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_SiteNetworkServiceCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.HybridNetwork.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_SiteNetworkServiceCollection { - // Get network site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkSite() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/SiteNetworkServiceGet.json @@ -51,9 +51,8 @@ public async Task Get_GetNetworkSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get network site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetNetworkSite() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/SiteNetworkServiceGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetNetworkSite() Console.WriteLine($"Succeeded: {result}"); } - // Get network site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetNetworkSite() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/SiteNetworkServiceGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetNetworkSite() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetNetworkSite() } } - // Create first party site network service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateFirstPartySiteNetworkService() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/SiteNetworkServiceFirstPartyCreate.json @@ -177,9 +174,8 @@ public async Task CreateOrUpdate_CreateFirstPartySiteNetworkService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create site network service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSiteNetworkService() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/SiteNetworkServiceCreate.json @@ -231,9 +227,8 @@ public async Task CreateOrUpdate_CreateSiteNetworkService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all network sites - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllNetworkSites() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/SiteNetworkServiceListByResourceGroup.json @@ -264,7 +259,7 @@ public async Task GetAll_ListAllNetworkSites() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_SiteNetworkServiceResource.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_SiteNetworkServiceResource.cs index 805fad63f35ba..87d7d8f42bb3a 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_SiteNetworkServiceResource.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_SiteNetworkServiceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HybridNetwork.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_SiteNetworkServiceResource { - // Delete network site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteNetworkSite() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/SiteNetworkServiceDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteNetworkSite() // invoke the operation await siteNetworkService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get network site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkSite() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/SiteNetworkServiceGet.json @@ -74,9 +73,8 @@ public async Task Get_GetNetworkSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update network site tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateNetworkSiteTags() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/SiteNetworkServiceUpdateTags.json @@ -113,9 +111,8 @@ public async Task Update_UpdateNetworkSiteTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all hybrid network sites in a subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSiteNetworkServices_ListAllHybridNetworkSitesInASubscription() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/SiteNetworkServiceListBySubscription.json @@ -142,7 +139,7 @@ public async Task GetSiteNetworkServices_ListAllHybridNetworkSitesInASubscriptio Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_SiteResource.cs b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_SiteResource.cs index 855e4355574e3..7b1248f747e1a 100644 --- a/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_SiteResource.cs +++ b/sdk/hybridnetwork/Azure.ResourceManager.HybridNetwork/samples/Generated/Samples/Sample_SiteResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HybridNetwork.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HybridNetwork.Samples { public partial class Sample_SiteResource { - // Delete network site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteNetworkSite() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/SiteDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteNetworkSite() // invoke the operation await site.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get network site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkSite() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/SiteGet.json @@ -74,9 +73,8 @@ public async Task Get_GetNetworkSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update network site tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateNetworkSiteTags() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/SiteUpdateTags.json @@ -113,9 +111,8 @@ public async Task Update_UpdateNetworkSiteTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all hybrid network sites in a subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSites_ListAllHybridNetworkSitesInASubscription() { // Generated from example definition: specification/hybridnetwork/resource-manager/Microsoft.HybridNetwork/stable/2023-09-01/examples/SiteListBySubscription.json @@ -142,7 +139,7 @@ public async Task GetSites_ListAllHybridNetworkSitesInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/samples/Generated/Samples/Sample_InformaticaOrganizationCollection.cs b/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/samples/Generated/Samples/Sample_InformaticaOrganizationCollection.cs index f52712121081a..9d515065b0bb6 100644 --- a/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/samples/Generated/Samples/Sample_InformaticaOrganizationCollection.cs +++ b/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/samples/Generated/Samples/Sample_InformaticaOrganizationCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.InformaticaDataManagement.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.InformaticaDataManagement.Samples { public partial class Sample_InformaticaOrganizationCollection { - // Organizations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_OrganizationsGet() { // Generated from example definition: 2024-05-08/Organizations_Get_MaximumSet_Gen.json @@ -50,9 +50,8 @@ public async Task Get_OrganizationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Organizations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_OrganizationsGet() { // Generated from example definition: 2024-05-08/Organizations_Get_MaximumSet_Gen.json @@ -80,9 +79,8 @@ public async Task Exists_OrganizationsGet() Console.WriteLine($"Succeeded: {result}"); } - // Organizations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_OrganizationsGet() { // Generated from example definition: 2024-05-08/Organizations_Get_MaximumSet_Gen.json @@ -110,7 +108,7 @@ public async Task GetIfExists_OrganizationsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_OrganizationsGet() } } - // Organizations_Get_Min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_OrganizationsGetMin() { // Generated from example definition: 2024-05-08/Organizations_Get_MinimumSet_Gen.json @@ -156,9 +153,8 @@ public async Task Get_OrganizationsGetMin() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Organizations_Get_Min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_OrganizationsGetMin() { // Generated from example definition: 2024-05-08/Organizations_Get_MinimumSet_Gen.json @@ -186,9 +182,8 @@ public async Task Exists_OrganizationsGetMin() Console.WriteLine($"Succeeded: {result}"); } - // Organizations_Get_Min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_OrganizationsGetMin() { // Generated from example definition: 2024-05-08/Organizations_Get_MinimumSet_Gen.json @@ -216,7 +211,7 @@ public async Task GetIfExists_OrganizationsGetMin() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -228,9 +223,8 @@ public async Task GetIfExists_OrganizationsGetMin() } } - // Organizations_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_OrganizationsCreateOrUpdate() { // Generated from example definition: 2024-05-08/Organizations_CreateOrUpdate_MaximumSet_Gen.json @@ -305,9 +299,8 @@ public async Task CreateOrUpdate_OrganizationsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Organizations_CreateOrUpdate_Min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_OrganizationsCreateOrUpdateMin() { // Generated from example definition: 2024-05-08/Organizations_CreateOrUpdate_MinimumSet_Gen.json diff --git a/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/samples/Generated/Samples/Sample_InformaticaOrganizationResource.cs b/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/samples/Generated/Samples/Sample_InformaticaOrganizationResource.cs index f594660082964..5d983aff53295 100644 --- a/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/samples/Generated/Samples/Sample_InformaticaOrganizationResource.cs +++ b/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/samples/Generated/Samples/Sample_InformaticaOrganizationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.InformaticaDataManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.InformaticaDataManagement.Samples { public partial class Sample_InformaticaOrganizationResource { - // Organizations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_OrganizationsGet() { // Generated from example definition: 2024-05-08/Organizations_Get_MaximumSet_Gen.json @@ -46,9 +46,8 @@ public async Task Get_OrganizationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Organizations_Get_Min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_OrganizationsGetMin() { // Generated from example definition: 2024-05-08/Organizations_Get_MinimumSet_Gen.json @@ -77,9 +76,8 @@ public async Task Get_OrganizationsGetMin() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Organizations_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_OrganizationsUpdate() { // Generated from example definition: 2024-05-08/Organizations_Update_MaximumSet_Gen.json @@ -149,9 +147,8 @@ public async Task Update_OrganizationsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Organizations_Update_Min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_OrganizationsUpdateMin() { // Generated from example definition: 2024-05-08/Organizations_Update_MinimumSet_Gen.json @@ -181,9 +178,8 @@ public async Task Update_OrganizationsUpdateMin() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Organizations_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_OrganizationsDelete() { // Generated from example definition: 2024-05-08/Organizations_Delete_MaximumSet_Gen.json @@ -205,12 +201,11 @@ public async Task Delete_OrganizationsDelete() // invoke the operation await informaticaOrganization.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Organizations_Delete_Min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_OrganizationsDeleteMin() { // Generated from example definition: 2024-05-08/Organizations_Delete_MinimumSet_Gen.json @@ -232,12 +227,11 @@ public async Task Delete_OrganizationsDeleteMin() // invoke the operation await informaticaOrganization.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Organizations_GetServerlessMetadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetServerlessMetadata_OrganizationsGetServerlessMetadata() { // Generated from example definition: 2024-05-08/Organizations_GetServerlessMetadata_MaximumSet_Gen.json @@ -262,9 +256,8 @@ public async Task GetServerlessMetadata_OrganizationsGetServerlessMetadata() Console.WriteLine($"Succeeded: {result}"); } - // Organizations_GetServerlessMetadata_Min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetServerlessMetadata_OrganizationsGetServerlessMetadataMin() { // Generated from example definition: 2024-05-08/Organizations_GetServerlessMetadata_MinimumSet_Gen.json @@ -289,9 +282,8 @@ public async Task GetServerlessMetadata_OrganizationsGetServerlessMetadataMin() Console.WriteLine($"Succeeded: {result}"); } - // Organizations_GetAllServerlessRuntimes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllServerlessRuntimes_OrganizationsGetAllServerlessRuntimes() { // Generated from example definition: 2024-05-08/Organizations_GetAllServerlessRuntimes_MaximumSet_Gen.json @@ -316,9 +308,8 @@ public async Task GetAllServerlessRuntimes_OrganizationsGetAllServerlessRuntimes Console.WriteLine($"Succeeded: {result}"); } - // Organizations_GetAllServerlessRuntimes_Min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllServerlessRuntimes_OrganizationsGetAllServerlessRuntimesMin() { // Generated from example definition: 2024-05-08/Organizations_GetAllServerlessRuntimes_MinimumSet_Gen.json diff --git a/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/samples/Generated/Samples/Sample_InformaticaServerlessRuntimeCollection.cs b/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/samples/Generated/Samples/Sample_InformaticaServerlessRuntimeCollection.cs index 938e267a3df66..2f12d50ee9ed8 100644 --- a/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/samples/Generated/Samples/Sample_InformaticaServerlessRuntimeCollection.cs +++ b/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/samples/Generated/Samples/Sample_InformaticaServerlessRuntimeCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.InformaticaDataManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.InformaticaDataManagement.Samples { public partial class Sample_InformaticaServerlessRuntimeCollection { - // ServerlessRuntimes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServerlessRuntimesGet() { // Generated from example definition: 2024-05-08/ServerlessRuntimes_Get_MaximumSet_Gen.json @@ -50,9 +50,8 @@ public async Task Get_ServerlessRuntimesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerlessRuntimes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ServerlessRuntimesGet() { // Generated from example definition: 2024-05-08/ServerlessRuntimes_Get_MaximumSet_Gen.json @@ -81,9 +80,8 @@ public async Task Exists_ServerlessRuntimesGet() Console.WriteLine($"Succeeded: {result}"); } - // ServerlessRuntimes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ServerlessRuntimesGet() { // Generated from example definition: 2024-05-08/ServerlessRuntimes_Get_MaximumSet_Gen.json @@ -112,7 +110,7 @@ public async Task GetIfExists_ServerlessRuntimesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_ServerlessRuntimesGet() } } - // ServerlessRuntimes_Get_Min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServerlessRuntimesGetMin() { // Generated from example definition: 2024-05-08/ServerlessRuntimes_Get_MinimumSet_Gen.json @@ -159,9 +156,8 @@ public async Task Get_ServerlessRuntimesGetMin() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerlessRuntimes_Get_Min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ServerlessRuntimesGetMin() { // Generated from example definition: 2024-05-08/ServerlessRuntimes_Get_MinimumSet_Gen.json @@ -190,9 +186,8 @@ public async Task Exists_ServerlessRuntimesGetMin() Console.WriteLine($"Succeeded: {result}"); } - // ServerlessRuntimes_Get_Min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ServerlessRuntimesGetMin() { // Generated from example definition: 2024-05-08/ServerlessRuntimes_Get_MinimumSet_Gen.json @@ -221,7 +216,7 @@ public async Task GetIfExists_ServerlessRuntimesGetMin() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -233,9 +228,8 @@ public async Task GetIfExists_ServerlessRuntimesGetMin() } } - // ServerlessRuntimes_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ServerlessRuntimesCreateOrUpdate() { // Generated from example definition: 2024-05-08/ServerlessRuntimes_CreateOrUpdate_MaximumSet_Gen.json @@ -319,9 +313,8 @@ public async Task CreateOrUpdate_ServerlessRuntimesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerlessRuntimes_CreateOrUpdate_Min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ServerlessRuntimesCreateOrUpdateMin() { // Generated from example definition: 2024-05-08/ServerlessRuntimes_CreateOrUpdate_MinimumSet_Gen.json diff --git a/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/samples/Generated/Samples/Sample_InformaticaServerlessRuntimeResource.cs b/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/samples/Generated/Samples/Sample_InformaticaServerlessRuntimeResource.cs index c43c6cd863ec3..975874309ef68 100644 --- a/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/samples/Generated/Samples/Sample_InformaticaServerlessRuntimeResource.cs +++ b/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/samples/Generated/Samples/Sample_InformaticaServerlessRuntimeResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.InformaticaDataManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.InformaticaDataManagement.Samples { public partial class Sample_InformaticaServerlessRuntimeResource { - // ServerlessRuntimes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServerlessRuntimesGet() { // Generated from example definition: 2024-05-08/ServerlessRuntimes_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_ServerlessRuntimesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerlessRuntimes_Get_Min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServerlessRuntimesGetMin() { // Generated from example definition: 2024-05-08/ServerlessRuntimes_Get_MinimumSet_Gen.json @@ -79,9 +78,8 @@ public async Task Get_ServerlessRuntimesGetMin() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerlessRuntimes_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ServerlessRuntimesDelete() { // Generated from example definition: 2024-05-08/ServerlessRuntimes_Delete_MaximumSet_Gen.json @@ -104,12 +102,11 @@ public async Task Delete_ServerlessRuntimesDelete() // invoke the operation await informaticaServerlessRuntime.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ServerlessRuntimes_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ServerlessRuntimesUpdate() { // Generated from example definition: 2024-05-08/ServerlessRuntimes_Update_MaximumSet_Gen.json @@ -192,9 +189,8 @@ public async Task Update_ServerlessRuntimesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerlessRuntimes_Update_Min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ServerlessRuntimesUpdateMin() { // Generated from example definition: 2024-05-08/ServerlessRuntimes_Update_MinimumSet_Gen.json @@ -225,9 +221,8 @@ public async Task Update_ServerlessRuntimesUpdateMin() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerlessRuntimes_CheckDependencies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckDependencies_ServerlessRuntimesCheckDependencies() { // Generated from example definition: 2024-05-08/ServerlessRuntimes_CheckDependencies_MaximumSet_Gen.json @@ -253,9 +248,8 @@ public async Task CheckDependencies_ServerlessRuntimesCheckDependencies() Console.WriteLine($"Succeeded: {result}"); } - // ServerlessRuntimes_CheckDependencies_Min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckDependencies_ServerlessRuntimesCheckDependenciesMin() { // Generated from example definition: 2024-05-08/ServerlessRuntimes_CheckDependencies_MinimumSet_Gen.json @@ -281,9 +275,8 @@ public async Task CheckDependencies_ServerlessRuntimesCheckDependenciesMin() Console.WriteLine($"Succeeded: {result}"); } - // ServerlessRuntimes_StartFailedServerlessRuntime - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartFailedServerlessRuntime_ServerlessRuntimesStartFailedServerlessRuntime() { // Generated from example definition: 2024-05-08/ServerlessRuntimes_StartFailedServerlessRuntime_MaximumSet_Gen.json @@ -306,12 +299,11 @@ public async Task StartFailedServerlessRuntime_ServerlessRuntimesStartFailedServ // invoke the operation await informaticaServerlessRuntime.StartFailedServerlessRuntimeAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ServerlessRuntimes_ServerlessResourceById - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetServerlessResourceById_ServerlessRuntimesServerlessResourceById() { // Generated from example definition: 2024-05-08/ServerlessRuntimes_ServerlessResourceById_MaximumSet_Gen.json diff --git a/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_FirmwareAnalysisSummaryCollection.cs b/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_FirmwareAnalysisSummaryCollection.cs index 5548ab7c905cc..bf11c1fbae715 100644 --- a/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_FirmwareAnalysisSummaryCollection.cs +++ b/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_FirmwareAnalysisSummaryCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.IotFirmwareDefense.Models; +using NUnit.Framework; namespace Azure.ResourceManager.IotFirmwareDefense.Samples { public partial class Sample_FirmwareAnalysisSummaryCollection { - // Summaries_ListByFirmware_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SummariesListByFirmwareMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Summaries_ListByFirmware_MaximumSet_Gen.json @@ -50,12 +50,11 @@ public async Task GetAll_SummariesListByFirmwareMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Summaries_ListByFirmware_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SummariesListByFirmwareMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Summaries_ListByFirmware_MinimumSet_Gen.json @@ -88,12 +87,11 @@ public async Task GetAll_SummariesListByFirmwareMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Summaries_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SummariesGetMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Summaries_Get_MaximumSet_Gen.json @@ -127,9 +125,8 @@ public async Task Get_SummariesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Summaries_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SummariesGetMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Summaries_Get_MaximumSet_Gen.json @@ -159,9 +156,8 @@ public async Task Exists_SummariesGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Summaries_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SummariesGetMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Summaries_Get_MaximumSet_Gen.json @@ -191,7 +187,7 @@ public async Task GetIfExists_SummariesGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -203,9 +199,8 @@ public async Task GetIfExists_SummariesGetMaximumSetGen() } } - // Summaries_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SummariesGetMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Summaries_Get_MinimumSet_Gen.json @@ -239,9 +234,8 @@ public async Task Get_SummariesGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Summaries_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SummariesGetMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Summaries_Get_MinimumSet_Gen.json @@ -271,9 +265,8 @@ public async Task Exists_SummariesGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Summaries_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SummariesGetMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Summaries_Get_MinimumSet_Gen.json @@ -303,7 +296,7 @@ public async Task GetIfExists_SummariesGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_FirmwareAnalysisSummaryResource.cs b/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_FirmwareAnalysisSummaryResource.cs index 5bdc23841fa92..6d66480417b39 100644 --- a/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_FirmwareAnalysisSummaryResource.cs +++ b/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_FirmwareAnalysisSummaryResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.IotFirmwareDefense.Models; +using NUnit.Framework; namespace Azure.ResourceManager.IotFirmwareDefense.Samples { public partial class Sample_FirmwareAnalysisSummaryResource { - // Summaries_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SummariesGetMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Summaries_Get_MaximumSet_Gen.json @@ -48,9 +48,8 @@ public async Task Get_SummariesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Summaries_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SummariesGetMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Summaries_Get_MinimumSet_Gen.json diff --git a/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_FirmwareAnalysisWorkspaceCollection.cs b/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_FirmwareAnalysisWorkspaceCollection.cs index 05aca7978c2c0..554e6e7e22ef6 100644 --- a/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_FirmwareAnalysisWorkspaceCollection.cs +++ b/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_FirmwareAnalysisWorkspaceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.IotFirmwareDefense.Samples { public partial class Sample_FirmwareAnalysisWorkspaceCollection { - // Workspaces_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WorkspacesListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Workspaces_ListByResourceGroup_MaximumSet_Gen.json @@ -48,12 +48,11 @@ public async Task GetAll_WorkspacesListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Workspaces_ListByResourceGroup_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WorkspacesListByResourceGroupMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Workspaces_ListByResourceGroup_MinimumSet_Gen.json @@ -84,12 +83,11 @@ public async Task GetAll_WorkspacesListByResourceGroupMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Workspaces_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_WorkspacesCreateMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Workspaces_Create_MaximumSet_Gen.json @@ -129,9 +127,8 @@ public async Task CreateOrUpdate_WorkspacesCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Workspaces_Create_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_WorkspacesCreateMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Workspaces_Create_MinimumSet_Gen.json @@ -165,9 +162,8 @@ public async Task CreateOrUpdate_WorkspacesCreateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Workspaces_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkspacesGetMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Workspaces_Get_MaximumSet_Gen.json @@ -199,9 +195,8 @@ public async Task Get_WorkspacesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Workspaces_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WorkspacesGetMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Workspaces_Get_MaximumSet_Gen.json @@ -229,9 +224,8 @@ public async Task Exists_WorkspacesGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Workspaces_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WorkspacesGetMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Workspaces_Get_MaximumSet_Gen.json @@ -259,7 +253,7 @@ public async Task GetIfExists_WorkspacesGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -271,9 +265,8 @@ public async Task GetIfExists_WorkspacesGetMaximumSetGen() } } - // Workspaces_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkspacesGetMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Workspaces_Get_MinimumSet_Gen.json @@ -305,9 +298,8 @@ public async Task Get_WorkspacesGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Workspaces_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WorkspacesGetMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Workspaces_Get_MinimumSet_Gen.json @@ -335,9 +327,8 @@ public async Task Exists_WorkspacesGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Workspaces_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WorkspacesGetMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Workspaces_Get_MinimumSet_Gen.json @@ -365,7 +356,7 @@ public async Task GetIfExists_WorkspacesGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_FirmwareAnalysisWorkspaceResource.cs b/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_FirmwareAnalysisWorkspaceResource.cs index 8f9a9be57b2de..1f37abf8d3939 100644 --- a/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_FirmwareAnalysisWorkspaceResource.cs +++ b/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_FirmwareAnalysisWorkspaceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.IotFirmwareDefense.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.IotFirmwareDefense.Samples { public partial class Sample_FirmwareAnalysisWorkspaceResource { - // Workspaces_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFirmwareAnalysisWorkspaces_WorkspacesListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Workspaces_ListBySubscription_MaximumSet_Gen.json @@ -45,12 +45,11 @@ public async Task GetFirmwareAnalysisWorkspaces_WorkspacesListBySubscriptionMaxi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Workspaces_ListBySubscription_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFirmwareAnalysisWorkspaces_WorkspacesListBySubscriptionMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Workspaces_ListBySubscription_MinimumSet_Gen.json @@ -77,12 +76,11 @@ public async Task GetFirmwareAnalysisWorkspaces_WorkspacesListBySubscriptionMini Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Workspaces_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_WorkspacesUpdateMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Workspaces_Update_MaximumSet_Gen.json @@ -112,9 +110,8 @@ public async Task Update_WorkspacesUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Workspaces_Update_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_WorkspacesUpdateMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Workspaces_Update_MinimumSet_Gen.json @@ -144,9 +141,8 @@ public async Task Update_WorkspacesUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Workspaces_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_WorkspacesDeleteMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Workspaces_Delete_MaximumSet_Gen.json @@ -168,12 +164,11 @@ public async Task Delete_WorkspacesDeleteMaximumSetGen() // invoke the operation await firmwareAnalysisWorkspace.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Workspaces_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_WorkspacesDeleteMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Workspaces_Delete_MinimumSet_Gen.json @@ -195,12 +190,11 @@ public async Task Delete_WorkspacesDeleteMinimumSetGen() // invoke the operation await firmwareAnalysisWorkspace.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Workspaces_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkspacesGetMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Workspaces_Get_MaximumSet_Gen.json @@ -229,9 +223,8 @@ public async Task Get_WorkspacesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Workspaces_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkspacesGetMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Workspaces_Get_MinimumSet_Gen.json @@ -260,9 +253,8 @@ public async Task Get_WorkspacesGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Workspaces_GenerateUploadUrl_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateUploadUri_WorkspacesGenerateUploadUrlMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Workspaces_GenerateUploadUrl_MaximumSet_Gen.json @@ -291,9 +283,8 @@ public async Task GenerateUploadUri_WorkspacesGenerateUploadUrlMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Workspaces_GenerateUploadUrl_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateUploadUri_WorkspacesGenerateUploadUrlMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Workspaces_GenerateUploadUrl_MinimumSet_Gen.json diff --git a/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_IotFirmwareCollection.cs b/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_IotFirmwareCollection.cs index 0c4ab263294c7..d5bc7c10b4670 100644 --- a/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_IotFirmwareCollection.cs +++ b/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_IotFirmwareCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.IotFirmwareDefense.Models; +using NUnit.Framework; namespace Azure.ResourceManager.IotFirmwareDefense.Samples { public partial class Sample_IotFirmwareCollection { - // Firmwares_ListByWorkspace_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_FirmwaresListByWorkspaceMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Firmwares_ListByWorkspace_MaximumSet_Gen.json @@ -49,12 +49,11 @@ public async Task GetAll_FirmwaresListByWorkspaceMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Firmwares_ListByWorkspace_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_FirmwaresListByWorkspaceMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Firmwares_ListByWorkspace_MinimumSet_Gen.json @@ -86,12 +85,11 @@ public async Task GetAll_FirmwaresListByWorkspaceMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Firmwares_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_FirmwaresCreateMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Firmwares_Create_MaximumSet_Gen.json @@ -142,9 +140,8 @@ public async Task CreateOrUpdate_FirmwaresCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Firmwares_Create_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_FirmwaresCreateMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Firmwares_Create_MinimumSet_Gen.json @@ -179,9 +176,8 @@ public async Task CreateOrUpdate_FirmwaresCreateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Firmwares_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FirmwaresGetMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Firmwares_Get_MaximumSet_Gen.json @@ -214,9 +210,8 @@ public async Task Get_FirmwaresGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Firmwares_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_FirmwaresGetMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Firmwares_Get_MaximumSet_Gen.json @@ -245,9 +240,8 @@ public async Task Exists_FirmwaresGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Firmwares_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_FirmwaresGetMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Firmwares_Get_MaximumSet_Gen.json @@ -276,7 +270,7 @@ public async Task GetIfExists_FirmwaresGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -288,9 +282,8 @@ public async Task GetIfExists_FirmwaresGetMaximumSetGen() } } - // Firmwares_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FirmwaresGetMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Firmwares_Get_MinimumSet_Gen.json @@ -323,9 +316,8 @@ public async Task Get_FirmwaresGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Firmwares_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_FirmwaresGetMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Firmwares_Get_MinimumSet_Gen.json @@ -354,9 +346,8 @@ public async Task Exists_FirmwaresGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Firmwares_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_FirmwaresGetMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Firmwares_Get_MinimumSet_Gen.json @@ -385,7 +376,7 @@ public async Task GetIfExists_FirmwaresGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_IotFirmwareResource.cs b/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_IotFirmwareResource.cs index 41c77d78e7472..cb6658a7b92f9 100644 --- a/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_IotFirmwareResource.cs +++ b/sdk/iot/Azure.ResourceManager.IotFirmwareDefense/samples/Generated/Samples/Sample_IotFirmwareResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.IotFirmwareDefense.Models; +using NUnit.Framework; namespace Azure.ResourceManager.IotFirmwareDefense.Samples { public partial class Sample_IotFirmwareResource { - // BinaryHardening_ListByFirmware_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBinaryHardeningResults_BinaryHardeningListByFirmwareMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/BinaryHardening_ListByFirmware_MaximumSet_Gen.json @@ -43,12 +43,11 @@ public async Task GetBinaryHardeningResults_BinaryHardeningListByFirmwareMaximum Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BinaryHardening_ListByFirmware_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBinaryHardeningResults_BinaryHardeningListByFirmwareMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/BinaryHardening_ListByFirmware_MinimumSet_Gen.json @@ -74,12 +73,11 @@ public async Task GetBinaryHardeningResults_BinaryHardeningListByFirmwareMinimum Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CryptoCertificates_ListByFirmware_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCryptoCertificates_CryptoCertificatesListByFirmwareMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/CryptoCertificates_ListByFirmware_MaximumSet_Gen.json @@ -105,12 +103,11 @@ public async Task GetCryptoCertificates_CryptoCertificatesListByFirmwareMaximumS Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CryptoCertificates_ListByFirmware_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCryptoCertificates_CryptoCertificatesListByFirmwareMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/CryptoCertificates_ListByFirmware_MinimumSet_Gen.json @@ -136,12 +133,11 @@ public async Task GetCryptoCertificates_CryptoCertificatesListByFirmwareMinimumS Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CryptoKeys_ListByFirmware_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCryptoKeys_CryptoKeysListByFirmwareMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/CryptoKeys_ListByFirmware_MaximumSet_Gen.json @@ -167,12 +163,11 @@ public async Task GetCryptoKeys_CryptoKeysListByFirmwareMaximumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CryptoKeys_ListByFirmware_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCryptoKeys_CryptoKeysListByFirmwareMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/CryptoKeys_ListByFirmware_MinimumSet_Gen.json @@ -198,12 +193,11 @@ public async Task GetCryptoKeys_CryptoKeysListByFirmwareMinimumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Cves_ListByFirmware_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCves_CvesListByFirmwareMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Cves_ListByFirmware_MaximumSet_Gen.json @@ -229,12 +223,11 @@ public async Task GetCves_CvesListByFirmwareMaximumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Cves_ListByFirmware_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCves_CvesListByFirmwareMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Cves_ListByFirmware_MinimumSet_Gen.json @@ -260,12 +253,11 @@ public async Task GetCves_CvesListByFirmwareMinimumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Firmwares_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_FirmwaresUpdateMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Firmwares_Update_MaximumSet_Gen.json @@ -312,9 +304,8 @@ public async Task Update_FirmwaresUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Firmwares_Update_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_FirmwaresUpdateMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Firmwares_Update_MinimumSet_Gen.json @@ -345,9 +336,8 @@ public async Task Update_FirmwaresUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Firmwares_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_FirmwaresDeleteMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Firmwares_Delete_MaximumSet_Gen.json @@ -370,12 +360,11 @@ public async Task Delete_FirmwaresDeleteMaximumSetGen() // invoke the operation await iotFirmware.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Firmwares_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_FirmwaresDeleteMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Firmwares_Delete_MinimumSet_Gen.json @@ -398,12 +387,11 @@ public async Task Delete_FirmwaresDeleteMinimumSetGen() // invoke the operation await iotFirmware.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Firmwares_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FirmwaresGetMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Firmwares_Get_MaximumSet_Gen.json @@ -433,9 +421,8 @@ public async Task Get_FirmwaresGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Firmwares_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FirmwaresGetMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Firmwares_Get_MinimumSet_Gen.json @@ -465,9 +452,8 @@ public async Task Get_FirmwaresGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Firmwares_GenerateDownloadUrl_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateDownloadUri_FirmwaresGenerateDownloadUrlMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Firmwares_GenerateDownloadUrl_MaximumSet_Gen.json @@ -493,9 +479,8 @@ public async Task GenerateDownloadUri_FirmwaresGenerateDownloadUrlMaximumSetGen( Console.WriteLine($"Succeeded: {result}"); } - // Firmwares_GenerateDownloadUrl_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateDownloadUri_FirmwaresGenerateDownloadUrlMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Firmwares_GenerateDownloadUrl_MinimumSet_Gen.json @@ -521,9 +506,8 @@ public async Task GenerateDownloadUri_FirmwaresGenerateDownloadUrlMinimumSetGen( Console.WriteLine($"Succeeded: {result}"); } - // Firmwares_GenerateFilesystemDownloadUrl_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateFilesystemDownloadUri_FirmwaresGenerateFilesystemDownloadUrlMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Firmwares_GenerateFilesystemDownloadUrl_MaximumSet_Gen.json @@ -549,9 +533,8 @@ public async Task GenerateFilesystemDownloadUri_FirmwaresGenerateFilesystemDownl Console.WriteLine($"Succeeded: {result}"); } - // Firmwares_GenerateFilesystemDownloadUrl_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateFilesystemDownloadUri_FirmwaresGenerateFilesystemDownloadUrlMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/Firmwares_GenerateFilesystemDownloadUrl_MinimumSet_Gen.json @@ -577,9 +560,8 @@ public async Task GenerateFilesystemDownloadUri_FirmwaresGenerateFilesystemDownl Console.WriteLine($"Succeeded: {result}"); } - // PasswordHashes_ListByFirmware_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPasswordHashes_PasswordHashesListByFirmwareMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/PasswordHashes_ListByFirmware_MaximumSet_Gen.json @@ -605,12 +587,11 @@ public async Task GetPasswordHashes_PasswordHashesListByFirmwareMaximumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PasswordHashes_ListByFirmware_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPasswordHashes_PasswordHashesListByFirmwareMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/PasswordHashes_ListByFirmware_MinimumSet_Gen.json @@ -636,12 +617,11 @@ public async Task GetPasswordHashes_PasswordHashesListByFirmwareMinimumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SbomComponents_ListByFirmware_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSbomComponents_SbomComponentsListByFirmwareMaximumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/SbomComponents_ListByFirmware_MaximumSet_Gen.json @@ -667,12 +647,11 @@ public async Task GetSbomComponents_SbomComponentsListByFirmwareMaximumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SbomComponents_ListByFirmware_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSbomComponents_SbomComponentsListByFirmwareMinimumSetGen() { // Generated from example definition: specification/fist/resource-manager/Microsoft.IoTFirmwareDefense/stable/2024-01-10/examples/SbomComponents_ListByFirmware_MinimumSet_Gen.json @@ -698,7 +677,7 @@ public async Task GetSbomComponents_SbomComponentsListByFirmwareMinimumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/Generated/Samples/Sample_IotCentralAppCollection.cs b/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/Generated/Samples/Sample_IotCentralAppCollection.cs index bae93872b689b..0a7bdd7f84b19 100644 --- a/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/Generated/Samples/Sample_IotCentralAppCollection.cs +++ b/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/Generated/Samples/Sample_IotCentralAppCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.IotCentral.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.IotCentral.Samples { public partial class Sample_IotCentralAppCollection { - // Apps_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AppsGet() { // Generated from example definition: specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/examples/Apps_Get.json @@ -51,9 +51,8 @@ public async Task Get_AppsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Apps_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AppsGet() { // Generated from example definition: specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/examples/Apps_Get.json @@ -81,9 +80,8 @@ public async Task Exists_AppsGet() Console.WriteLine($"Succeeded: {result}"); } - // Apps_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AppsGet() { // Generated from example definition: specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/examples/Apps_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_AppsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_AppsGet() } } - // Apps_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AppsCreateOrUpdate() { // Generated from example definition: specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/examples/Apps_CreateOrUpdate.json @@ -165,9 +162,8 @@ public async Task CreateOrUpdate_AppsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Apps_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AppsListByResourceGroup() { // Generated from example definition: specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/examples/Apps_ListByResourceGroup.json @@ -198,7 +194,7 @@ public async Task GetAll_AppsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/Generated/Samples/Sample_IotCentralAppResource.cs b/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/Generated/Samples/Sample_IotCentralAppResource.cs index 57bd34e80a09b..aeaeeea29e3ce 100644 --- a/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/Generated/Samples/Sample_IotCentralAppResource.cs +++ b/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/Generated/Samples/Sample_IotCentralAppResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.IotCentral.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.IotCentral.Samples { public partial class Sample_IotCentralAppResource { - // Apps_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AppsGet() { // Generated from example definition: specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/examples/Apps_Get.json @@ -48,9 +48,8 @@ public async Task Get_AppsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Apps_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AppsUpdate() { // Generated from example definition: specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/examples/Apps_Update.json @@ -77,12 +76,11 @@ public async Task Update_AppsUpdate() }; await iotCentralApp.UpdateAsync(WaitUntil.Completed, patch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Apps_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AppsDelete() { // Generated from example definition: specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/examples/Apps_Delete.json @@ -104,12 +102,11 @@ public async Task Delete_AppsDelete() // invoke the operation await iotCentralApp.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Apps_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIotCentralApps_AppsListBySubscription() { // Generated from example definition: specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/examples/Apps_ListBySubscription.json @@ -136,12 +133,11 @@ public async Task GetIotCentralApps_AppsListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Apps_CheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckIotCentralAppNameAvailability_AppsCheckNameAvailability() { // Generated from example definition: specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/examples/Apps_CheckNameAvailability.json @@ -168,9 +164,8 @@ public async Task CheckIotCentralAppNameAvailability_AppsCheckNameAvailability() Console.WriteLine($"Succeeded: {result}"); } - // Apps_SubdomainAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckIotCentralAppSubdomainAvailability_AppsSubdomainAvailability() { // Generated from example definition: specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/examples/Apps_CheckSubdomainAvailability.json @@ -197,9 +192,8 @@ public async Task CheckIotCentralAppSubdomainAvailability_AppsSubdomainAvailabil Console.WriteLine($"Succeeded: {result}"); } - // Apps_ListTemplates - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTemplatesApps_AppsListTemplates() { // Generated from example definition: specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/examples/Apps_Templates.json @@ -222,7 +216,7 @@ public async Task GetTemplatesApps_AppsListTemplates() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/Generated/Samples/Sample_IotCentralPrivateEndpointConnectionCollection.cs b/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/Generated/Samples/Sample_IotCentralPrivateEndpointConnectionCollection.cs index 43dfa7d1bf753..9f3c4acbbe614 100644 --- a/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/Generated/Samples/Sample_IotCentralPrivateEndpointConnectionCollection.cs +++ b/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/Generated/Samples/Sample_IotCentralPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.IotCentral.Models; +using NUnit.Framework; namespace Azure.ResourceManager.IotCentral.Samples { public partial class Sample_IotCentralPrivateEndpointConnectionCollection { - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/examples/PrivateEndpointConnections_Get.json @@ -50,9 +50,8 @@ public async Task Get_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/examples/PrivateEndpointConnections_Get.json @@ -81,9 +80,8 @@ public async Task Exists_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/examples/PrivateEndpointConnections_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_PrivateEndpointConnectionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_PrivateEndpointConnectionsGet() } } - // PrivateEndpointConnections_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateEndpointConnectionsUpdate() { // Generated from example definition: specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/examples/PrivateEndpointConnections_Update.json @@ -169,9 +166,8 @@ public async Task CreateOrUpdate_PrivateEndpointConnectionsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndpointConnectionsList() { // Generated from example definition: specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/examples/PrivateEndpointConnections_List.json @@ -203,7 +199,7 @@ public async Task GetAll_PrivateEndpointConnectionsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/Generated/Samples/Sample_IotCentralPrivateEndpointConnectionResource.cs b/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/Generated/Samples/Sample_IotCentralPrivateEndpointConnectionResource.cs index 211d586c65526..b5fea9d08ad92 100644 --- a/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/Generated/Samples/Sample_IotCentralPrivateEndpointConnectionResource.cs +++ b/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/Generated/Samples/Sample_IotCentralPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.IotCentral.Models; +using NUnit.Framework; namespace Azure.ResourceManager.IotCentral.Samples { public partial class Sample_IotCentralPrivateEndpointConnectionResource { - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/examples/PrivateEndpointConnections_Get.json @@ -47,9 +47,8 @@ public async Task Get_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateEndpointConnectionsUpdate() { // Generated from example definition: specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/examples/PrivateEndpointConnections_Update.json @@ -89,9 +88,8 @@ public async Task Update_PrivateEndpointConnectionsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateEndpointConnectionsDelete() { // Generated from example definition: specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/examples/PrivateEndpointConnections_Delete.json @@ -114,7 +112,7 @@ public async Task Delete_PrivateEndpointConnectionsDelete() // invoke the operation await iotCentralPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/Generated/Samples/Sample_IotCentralPrivateLinkResource.cs b/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/Generated/Samples/Sample_IotCentralPrivateLinkResource.cs index ef1bbd94f6432..d8b1f7afd00e8 100644 --- a/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/Generated/Samples/Sample_IotCentralPrivateLinkResource.cs +++ b/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/Generated/Samples/Sample_IotCentralPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.IotCentral.Samples { public partial class Sample_IotCentralPrivateLinkResource { - // PrivateLinks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinksGet() { // Generated from example definition: specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/examples/PrivateLinks_Get.json diff --git a/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/Generated/Samples/Sample_IotCentralPrivateLinkResourceCollection.cs b/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/Generated/Samples/Sample_IotCentralPrivateLinkResourceCollection.cs index de80fe3fc823a..19180483ceb10 100644 --- a/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/Generated/Samples/Sample_IotCentralPrivateLinkResourceCollection.cs +++ b/sdk/iotcentral/Azure.ResourceManager.IotCentral/samples/Generated/Samples/Sample_IotCentralPrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.IotCentral.Samples { public partial class Sample_IotCentralPrivateLinkResourceCollection { - // PrivateLinks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinksGet() { // Generated from example definition: specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/examples/PrivateLinks_Get.json @@ -49,9 +49,8 @@ public async Task Get_PrivateLinksGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateLinks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateLinksGet() { // Generated from example definition: specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/examples/PrivateLinks_Get.json @@ -80,9 +79,8 @@ public async Task Exists_PrivateLinksGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateLinks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateLinksGet() { // Generated from example definition: specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/examples/PrivateLinks_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_PrivateLinksGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_PrivateLinksGet() } } - // PrivateLinks_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateLinksList() { // Generated from example definition: specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2021-11-01-preview/examples/PrivateLinks_List.json @@ -157,7 +154,7 @@ public async Task GetAll_PrivateLinksList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_EventHubConsumerGroupInfoCollection.cs b/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_EventHubConsumerGroupInfoCollection.cs index fc68ebf765a6f..0acd88bbd1844 100644 --- a/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_EventHubConsumerGroupInfoCollection.cs +++ b/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_EventHubConsumerGroupInfoCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.IotHub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.IotHub.Samples { public partial class Sample_EventHubConsumerGroupInfoCollection { - // IotHubResource_ListEventHubConsumerGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_IotHubResourceListEventHubConsumerGroups() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_listehgroups.json @@ -50,12 +50,11 @@ public async Task GetAll_IotHubResourceListEventHubConsumerGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // IotHubResource_ListEventHubConsumerGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_IotHubResourceListEventHubConsumerGroups() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_getconsumergroup.json @@ -89,9 +88,8 @@ public async Task Get_IotHubResourceListEventHubConsumerGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IotHubResource_ListEventHubConsumerGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_IotHubResourceListEventHubConsumerGroups() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_getconsumergroup.json @@ -121,9 +119,8 @@ public async Task Exists_IotHubResourceListEventHubConsumerGroups() Console.WriteLine($"Succeeded: {result}"); } - // IotHubResource_ListEventHubConsumerGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_IotHubResourceListEventHubConsumerGroups() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_getconsumergroup.json @@ -153,7 +150,7 @@ public async Task GetIfExists_IotHubResourceListEventHubConsumerGroups() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_IotHubResourceListEventHubConsumerGroups() } } - // IotHubResource_CreateEventHubConsumerGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_IotHubResourceCreateEventHubConsumerGroup() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_createconsumergroup.json diff --git a/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_EventHubConsumerGroupInfoResource.cs b/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_EventHubConsumerGroupInfoResource.cs index 46759ecd57605..811d22dbaae55 100644 --- a/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_EventHubConsumerGroupInfoResource.cs +++ b/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_EventHubConsumerGroupInfoResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.IotHub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.IotHub.Samples { public partial class Sample_EventHubConsumerGroupInfoResource { - // IotHubResource_ListEventHubConsumerGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_IotHubResourceListEventHubConsumerGroups() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_getconsumergroup.json @@ -48,9 +48,8 @@ public async Task Get_IotHubResourceListEventHubConsumerGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IotHubResource_CreateEventHubConsumerGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_IotHubResourceCreateEventHubConsumerGroup() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_createconsumergroup.json @@ -83,9 +82,8 @@ public async Task Update_IotHubResourceCreateEventHubConsumerGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IotHubResource_DeleteEventHubConsumerGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_IotHubResourceDeleteEventHubConsumerGroup() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_deleteconsumergroup.json @@ -109,7 +107,7 @@ public async Task Delete_IotHubResourceDeleteEventHubConsumerGroup() // invoke the operation await eventHubConsumerGroupInfo.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubCertificateDescriptionCollection.cs b/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubCertificateDescriptionCollection.cs index aa3fd325584d5..9f99552ba14cc 100644 --- a/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubCertificateDescriptionCollection.cs +++ b/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubCertificateDescriptionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.IotHub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.IotHub.Samples { public partial class Sample_IotHubCertificateDescriptionCollection { - // Certificates_ListByIotHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CertificatesListByIotHub() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_listcertificates.json @@ -49,12 +49,11 @@ public async Task GetAll_CertificatesListByIotHub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Certificates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CertificatesGet() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_getcertificate.json @@ -87,9 +86,8 @@ public async Task Get_CertificatesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Certificates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CertificatesGet() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_getcertificate.json @@ -118,9 +116,8 @@ public async Task Exists_CertificatesGet() Console.WriteLine($"Succeeded: {result}"); } - // Certificates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CertificatesGet() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_getcertificate.json @@ -149,7 +146,7 @@ public async Task GetIfExists_CertificatesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_CertificatesGet() } } - // Certificates_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CertificatesCreateOrUpdate() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_certificatescreateorupdate.json diff --git a/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubCertificateDescriptionResource.cs b/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubCertificateDescriptionResource.cs index eed77788d23ab..be06debb0fbf5 100644 --- a/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubCertificateDescriptionResource.cs +++ b/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubCertificateDescriptionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.IotHub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.IotHub.Samples { public partial class Sample_IotHubCertificateDescriptionResource { - // Certificates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CertificatesGet() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_getcertificate.json @@ -47,9 +47,8 @@ public async Task Get_CertificatesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Certificates_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CertificatesCreateOrUpdate() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_certificatescreateorupdate.json @@ -87,9 +86,8 @@ public async Task Update_CertificatesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Certificates_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CertificatesDelete() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_certificatesdelete.json @@ -113,12 +111,11 @@ public async Task Delete_CertificatesDelete() string ifMatch = "AAAAAAAADGk="; await iotHubCertificateDescription.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Certificates_GenerateVerificationCode - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateVerificationCode_CertificatesGenerateVerificationCode() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_generateverificationcode.json @@ -145,9 +142,8 @@ public async Task GenerateVerificationCode_CertificatesGenerateVerificationCode( Console.WriteLine($"Succeeded: {result}"); } - // Certificates_Verify - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Verify_CertificatesVerify() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_certverify.json diff --git a/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubDescriptionCollection.cs b/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubDescriptionCollection.cs index 83a2603de3f99..d0b8d85297b79 100644 --- a/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubDescriptionCollection.cs +++ b/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubDescriptionCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.IotHub.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.IotHub.Samples { public partial class Sample_IotHubDescriptionCollection { - // IotHubResource_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_IotHubResourceGet() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_get.json @@ -51,9 +51,8 @@ public async Task Get_IotHubResourceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IotHubResource_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_IotHubResourceGet() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_get.json @@ -81,9 +80,8 @@ public async Task Exists_IotHubResourceGet() Console.WriteLine($"Succeeded: {result}"); } - // IotHubResource_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_IotHubResourceGet() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_IotHubResourceGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_IotHubResourceGet() } } - // IotHubResource_AddCosmosDbEndpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_IotHubResourceAddCosmosDbEndpoint() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_addRoutingCosmosDBEndpoint.json @@ -268,9 +265,8 @@ public async Task CreateOrUpdate_IotHubResourceAddCosmosDbEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IotHubResource_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_IotHubResourceCreateOrUpdate() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_createOrUpdate.json @@ -400,9 +396,8 @@ public async Task CreateOrUpdate_IotHubResourceCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IotHubResource_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_IotHubResourceListByResourceGroup() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_listbyrg.json @@ -433,7 +428,7 @@ public async Task GetAll_IotHubResourceListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubDescriptionResource.cs b/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubDescriptionResource.cs index f97e05a10cd20..73380798b7d62 100644 --- a/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubDescriptionResource.cs +++ b/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubDescriptionResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.IotHub.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.IotHub.Samples { public partial class Sample_IotHubDescriptionResource { - // IotHubResource_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_IotHubResourceGet() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_get.json @@ -47,9 +47,8 @@ public async Task Get_IotHubResourceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IotHubResource_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_IotHubResourceUpdate() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_patch.json @@ -86,9 +85,8 @@ public async Task Update_IotHubResourceUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IotHubResource_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_IotHubResourceDelete() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_delete.json @@ -118,9 +116,8 @@ public async Task Delete_IotHubResourceDelete() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IotHubResource_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIotHubDescriptions_IotHubResourceListBySubscription() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_listbysubscription.json @@ -147,12 +144,11 @@ public async Task GetIotHubDescriptions_IotHubResourceListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // IotHubResource_GetStats - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStats_IotHubResourceGetStats() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_stats.json @@ -177,9 +173,8 @@ public async Task GetStats_IotHubResourceGetStats() Console.WriteLine($"Succeeded: {result}"); } - // IotHubResource_GetValidSkus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetValidSkus_IotHubResourceGetValidSkus() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_getskus.json @@ -204,12 +199,11 @@ public async Task GetValidSkus_IotHubResourceGetValidSkus() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // IotHubResource_ListJobs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetJobs_IotHubResourceListJobs() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_listjobs.json @@ -234,12 +228,11 @@ public async Task GetJobs_IotHubResourceListJobs() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // IotHubResource_GetJob - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetJob_IotHubResourceGetJob() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_getjob.json @@ -265,9 +258,8 @@ public async Task GetJob_IotHubResourceGetJob() Console.WriteLine($"Succeeded: {result}"); } - // IotHubResource_GetQuotaMetrics - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetQuotaMetrics_IotHubResourceGetQuotaMetrics() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_quotametrics.json @@ -292,12 +284,11 @@ public async Task GetQuotaMetrics_IotHubResourceGetQuotaMetrics() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // IotHubResource_GetEndpointHealth - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEndpointHealth_IotHubResourceGetEndpointHealth() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_routingendpointhealth.json @@ -322,12 +313,11 @@ public async Task GetEndpointHealth_IotHubResourceGetEndpointHealth() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // IotHubResource_CheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckIotHubNameAvailability_IotHubResourceCheckNameAvailability() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/checkNameAvailability.json @@ -351,9 +341,8 @@ public async Task CheckIotHubNameAvailability_IotHubResourceCheckNameAvailabilit Console.WriteLine($"Succeeded: {result}"); } - // IotHubResource_TestAllRoutes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TestAllRoutes_IotHubResourceTestAllRoutes() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_testallroutes.json @@ -394,9 +383,8 @@ public async Task TestAllRoutes_IotHubResourceTestAllRoutes() Console.WriteLine($"Succeeded: {result}"); } - // IotHubResource_TestRoute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TestRoute_IotHubResourceTestRoute() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_testnewroute.json @@ -439,9 +427,8 @@ public async Task TestRoute_IotHubResourceTestRoute() Console.WriteLine($"Succeeded: {result}"); } - // IotHubResource_ListKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_IotHubResourceListKeys() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_listkeys.json @@ -466,12 +453,11 @@ public async Task GetKeys_IotHubResourceListKeys() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // IotHubResource_GetKeysForKeyName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeysForKeyName_IotHubResourceGetKeysForKeyName() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_getkey.json @@ -497,9 +483,8 @@ public async Task GetKeysForKeyName_IotHubResourceGetKeysForKeyName() Console.WriteLine($"Succeeded: {result}"); } - // IotHubResource_ExportDevices - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExportDevices_IotHubResourceExportDevices() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_exportdevices.json @@ -525,9 +510,8 @@ public async Task ExportDevices_IotHubResourceExportDevices() Console.WriteLine($"Succeeded: {result}"); } - // IotHubResource_ImportDevices - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ImportDevices_IotHubResourceImportDevices() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_importdevices.json @@ -553,9 +537,8 @@ public async Task ImportDevices_IotHubResourceImportDevices() Console.WriteLine($"Succeeded: {result}"); } - // IotHub_ManualFailover - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ManualFailoverIotHub_IotHubManualFailover() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/IotHub_ManualFailover.json @@ -578,7 +561,7 @@ public async Task ManualFailoverIotHub_IotHubManualFailover() IotHubFailoverContent content = new IotHubFailoverContent("testHub"); await iotHubDescription.ManualFailoverIotHubAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubPrivateEndpointConnectionCollection.cs b/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubPrivateEndpointConnectionCollection.cs index 59c2475bd6ba0..ffd2d511d1271 100644 --- a/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubPrivateEndpointConnectionCollection.cs +++ b/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.IotHub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.IotHub.Samples { public partial class Sample_IotHubPrivateEndpointConnectionCollection { - // PrivateEndpointConnections_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndpointConnectionsList() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_listprivateendpointconnections.json @@ -49,12 +49,11 @@ public async Task GetAll_PrivateEndpointConnectionsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateEndpointConnection_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionGet() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_getprivateendpointconnection.json @@ -87,9 +86,8 @@ public async Task Get_PrivateEndpointConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnection_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateEndpointConnectionGet() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_getprivateendpointconnection.json @@ -118,9 +116,8 @@ public async Task Exists_PrivateEndpointConnectionGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateEndpointConnection_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateEndpointConnectionGet() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_getprivateendpointconnection.json @@ -149,7 +146,7 @@ public async Task GetIfExists_PrivateEndpointConnectionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_PrivateEndpointConnectionGet() } } - // PrivateEndpointConnection_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateEndpointConnectionUpdate() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_updateprivateendpointconnection.json diff --git a/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubPrivateEndpointConnectionResource.cs b/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubPrivateEndpointConnectionResource.cs index 88bbf8bbe7b5a..9d147b9f9b987 100644 --- a/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubPrivateEndpointConnectionResource.cs +++ b/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.IotHub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.IotHub.Samples { public partial class Sample_IotHubPrivateEndpointConnectionResource { - // PrivateEndpointConnection_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionGet() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_getprivateendpointconnection.json @@ -47,9 +47,8 @@ public async Task Get_PrivateEndpointConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnection_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateEndpointConnectionUpdate() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_updateprivateendpointconnection.json @@ -81,9 +80,8 @@ public async Task Update_PrivateEndpointConnectionUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnection_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateEndpointConnectionDelete() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_deleteprivateendpointconnection.json diff --git a/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubPrivateEndpointGroupInformationCollection.cs b/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubPrivateEndpointGroupInformationCollection.cs index d5a8bc2a41433..5e09046340e41 100644 --- a/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubPrivateEndpointGroupInformationCollection.cs +++ b/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubPrivateEndpointGroupInformationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.IotHub.Samples { public partial class Sample_IotHubPrivateEndpointGroupInformationCollection { - // PrivateLinkResources_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateLinkResourcesList() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_listprivatelinkresources.json @@ -48,12 +48,11 @@ public async Task GetAll_PrivateLinkResourcesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateLinkResources_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkResourcesList() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_getprivatelinkresources.json @@ -86,9 +85,8 @@ public async Task Get_PrivateLinkResourcesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateLinkResources_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateLinkResourcesList() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_getprivatelinkresources.json @@ -117,9 +115,8 @@ public async Task Exists_PrivateLinkResourcesList() Console.WriteLine($"Succeeded: {result}"); } - // PrivateLinkResources_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateLinkResourcesList() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_getprivatelinkresources.json @@ -148,7 +145,7 @@ public async Task GetIfExists_PrivateLinkResourcesList() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubPrivateEndpointGroupInformationResource.cs b/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubPrivateEndpointGroupInformationResource.cs index b1fb5c8a8f881..02c2a91e93204 100644 --- a/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubPrivateEndpointGroupInformationResource.cs +++ b/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_IotHubPrivateEndpointGroupInformationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.IotHub.Samples { public partial class Sample_IotHubPrivateEndpointGroupInformationResource { - // PrivateLinkResources_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkResourcesList() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_getprivatelinkresources.json diff --git a/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index d06e0fda7adae..9ed11b52b8671 100644 --- a/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/iothub/Azure.ResourceManager.IotHub/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.IotHub.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.IotHub.Samples { public partial class Sample_SubscriptionResourceExtensions { - // ResourceProviderCommon_GetSubscriptionQuota - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIotHubUserSubscriptionQuota_ResourceProviderCommonGetSubscriptionQuota() { // Generated from example definition: specification/iothub/resource-manager/Microsoft.Devices/stable/2023-06-30/examples/iothub_usages.json @@ -41,7 +41,7 @@ public async Task GetIotHubUserSubscriptionQuota_ResourceProviderCommonGetSubscr Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_DeletedKeyVaultCollection.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_DeletedKeyVaultCollection.cs index 47d78329805b1..a3466a5e17873 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_DeletedKeyVaultCollection.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_DeletedKeyVaultCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.KeyVault.Samples { public partial class Sample_DeletedKeyVaultCollection { - // Retrieve a deleted vault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveADeletedVault() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/getDeletedVault.json @@ -49,9 +49,8 @@ public async Task Get_RetrieveADeletedVault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a deleted vault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RetrieveADeletedVault() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/getDeletedVault.json @@ -79,9 +78,8 @@ public async Task Exists_RetrieveADeletedVault() Console.WriteLine($"Succeeded: {result}"); } - // Retrieve a deleted vault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RetrieveADeletedVault() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/getDeletedVault.json @@ -109,7 +107,7 @@ public async Task GetIfExists_RetrieveADeletedVault() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_DeletedKeyVaultResource.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_DeletedKeyVaultResource.cs index adeb0bdf97253..300532af4ae6a 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_DeletedKeyVaultResource.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_DeletedKeyVaultResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.KeyVault.Samples { public partial class Sample_DeletedKeyVaultResource { - // Retrieve a deleted vault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveADeletedVault() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/getDeletedVault.json @@ -45,9 +45,8 @@ public async Task Get_RetrieveADeletedVault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Purge a deleted vault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PurgeDeleted_PurgeADeletedVault() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/purgeDeletedVault.json @@ -69,7 +68,7 @@ public async Task PurgeDeleted_PurgeADeletedVault() // invoke the operation await deletedKeyVault.PurgeDeletedAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_DeletedManagedHsmCollection.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_DeletedManagedHsmCollection.cs index 34a9048662d1b..c4a9999d0e60d 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_DeletedManagedHsmCollection.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_DeletedManagedHsmCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.KeyVault.Samples { public partial class Sample_DeletedManagedHsmCollection { - // Retrieve a deleted managed HSM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveADeletedManagedHSM() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/DeletedManagedHsm_Get.json @@ -49,9 +49,8 @@ public async Task Get_RetrieveADeletedManagedHSM() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a deleted managed HSM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RetrieveADeletedManagedHSM() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/DeletedManagedHsm_Get.json @@ -79,9 +78,8 @@ public async Task Exists_RetrieveADeletedManagedHSM() Console.WriteLine($"Succeeded: {result}"); } - // Retrieve a deleted managed HSM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RetrieveADeletedManagedHSM() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/DeletedManagedHsm_Get.json @@ -109,7 +107,7 @@ public async Task GetIfExists_RetrieveADeletedManagedHSM() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_DeletedManagedHsmResource.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_DeletedManagedHsmResource.cs index b3cb2944a109c..67733bccb457c 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_DeletedManagedHsmResource.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_DeletedManagedHsmResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.KeyVault.Samples { public partial class Sample_DeletedManagedHsmResource { - // Retrieve a deleted managed HSM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveADeletedManagedHSM() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/DeletedManagedHsm_Get.json @@ -45,9 +45,8 @@ public async Task Get_RetrieveADeletedManagedHSM() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Purge a managed HSM Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PurgeDeleted_PurgeAManagedHSMPool() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/DeletedManagedHsm_Purge.json @@ -69,7 +68,7 @@ public async Task PurgeDeleted_PurgeAManagedHSMPool() // invoke the operation await deletedManagedHsm.PurgeDeletedAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_KeyVaultCollection.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_KeyVaultCollection.cs index 60864d7f2a859..cedcaf994d4a4 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_KeyVaultCollection.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_KeyVaultCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.KeyVault.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.KeyVault.Samples { public partial class Sample_KeyVaultCollection { - // Create a new vault or update an existing vault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateANewVaultOrUpdateAnExistingVault() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/createVault.json @@ -76,9 +76,8 @@ public async Task CreateOrUpdate_CreateANewVaultOrUpdateAnExistingVault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a vault with network acls - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAVaultWithNetworkAcls() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/createVaultWithNetworkAcls.json @@ -130,9 +129,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAVaultWithNetworkAcls() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a vault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveAVault() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/getVault.json @@ -164,9 +162,8 @@ public async Task Get_RetrieveAVault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a vault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RetrieveAVault() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/getVault.json @@ -194,9 +191,8 @@ public async Task Exists_RetrieveAVault() Console.WriteLine($"Succeeded: {result}"); } - // Retrieve a vault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RetrieveAVault() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/getVault.json @@ -224,7 +220,7 @@ public async Task GetIfExists_RetrieveAVault() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -236,9 +232,8 @@ public async Task GetIfExists_RetrieveAVault() } } - // List vaults in the specified resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListVaultsInTheSpecifiedResourceGroup() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/listVaultByResourceGroup.json @@ -270,7 +265,7 @@ public async Task GetAll_ListVaultsInTheSpecifiedResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_KeyVaultPrivateEndpointConnectionCollection.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_KeyVaultPrivateEndpointConnectionCollection.cs index 503fab6a922c7..d8c503b2440fd 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_KeyVaultPrivateEndpointConnectionCollection.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_KeyVaultPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.KeyVault.Models; +using NUnit.Framework; namespace Azure.ResourceManager.KeyVault.Samples { public partial class Sample_KeyVaultPrivateEndpointConnectionCollection { - // KeyVaultGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KeyVaultGetPrivateEndpointConnection() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/getPrivateEndpointConnection.json @@ -50,9 +50,8 @@ public async Task Get_KeyVaultGetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KeyVaultGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_KeyVaultGetPrivateEndpointConnection() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/getPrivateEndpointConnection.json @@ -81,9 +80,8 @@ public async Task Exists_KeyVaultGetPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // KeyVaultGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_KeyVaultGetPrivateEndpointConnection() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/getPrivateEndpointConnection.json @@ -112,7 +110,7 @@ public async Task GetIfExists_KeyVaultGetPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_KeyVaultGetPrivateEndpointConnection() } } - // KeyVaultPutPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_KeyVaultPutPrivateEndpointConnection() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/putPrivateEndpointConnection.json @@ -169,9 +166,8 @@ public async Task CreateOrUpdate_KeyVaultPutPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KeyVaultListPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_KeyVaultListPrivateEndpointConnection() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/listPrivateEndpointConnection.json @@ -203,7 +199,7 @@ public async Task GetAll_KeyVaultListPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_KeyVaultPrivateEndpointConnectionResource.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_KeyVaultPrivateEndpointConnectionResource.cs index 8b4387e65090e..c6fa3433775cb 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_KeyVaultPrivateEndpointConnectionResource.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_KeyVaultPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.KeyVault.Models; +using NUnit.Framework; namespace Azure.ResourceManager.KeyVault.Samples { public partial class Sample_KeyVaultPrivateEndpointConnectionResource { - // KeyVaultGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KeyVaultGetPrivateEndpointConnection() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/getPrivateEndpointConnection.json @@ -47,9 +47,8 @@ public async Task Get_KeyVaultGetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KeyVaultPutPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_KeyVaultPutPrivateEndpointConnection() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/putPrivateEndpointConnection.json @@ -89,9 +88,8 @@ public async Task Update_KeyVaultPutPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KeyVaultDeletePrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_KeyVaultDeletePrivateEndpointConnection() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/deletePrivateEndpointConnection.json diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_KeyVaultResource.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_KeyVaultResource.cs index 8bd62c0e408a0..1e83cd3c88898 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_KeyVaultResource.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_KeyVaultResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.KeyVault.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.KeyVault.Samples { public partial class Sample_KeyVaultResource { - // Update an existing vault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAnExistingVault() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/updateVault.json @@ -77,9 +77,8 @@ public async Task Update_UpdateAnExistingVault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a vault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAVault() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/deleteVault.json @@ -101,12 +100,11 @@ public async Task Delete_DeleteAVault() // invoke the operation await keyVault.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Retrieve a vault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveAVault() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/getVault.json @@ -135,9 +133,8 @@ public async Task Get_RetrieveAVault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Add an access policy, or update an access policy with new permissions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateAccessPolicy_AddAnAccessPolicyOrUpdateAnAccessPolicyWithNewPermissions() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/updateAccessPoliciesAdd.json @@ -181,9 +178,8 @@ public async Task UpdateAccessPolicy_AddAnAccessPolicyOrUpdateAnAccessPolicyWith Console.WriteLine($"Succeeded: {result}"); } - // List vaults in the specified subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeyVaults_ListVaultsInTheSpecifiedSubscription() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/listVaultBySubscription.json @@ -211,12 +207,11 @@ public async Task GetKeyVaults_ListVaultsInTheSpecifiedSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Validate a vault name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckKeyVaultNameAvailability_ValidateAVaultName() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/checkVaultNameAvailability.json @@ -240,9 +235,8 @@ public async Task CheckKeyVaultNameAvailability_ValidateAVaultName() Console.WriteLine($"Succeeded: {result}"); } - // KeyVaultListPrivateLinkResources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinkResources_KeyVaultListPrivateLinkResources() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/listPrivateLinkResources.json @@ -267,7 +261,7 @@ public async Task GetPrivateLinkResources_KeyVaultListPrivateLinkResources() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_KeyVaultSecretCollection.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_KeyVaultSecretCollection.cs index 21803f35c95b2..5d023746b3ba8 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_KeyVaultSecretCollection.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_KeyVaultSecretCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.KeyVault.Models; +using NUnit.Framework; namespace Azure.ResourceManager.KeyVault.Samples { public partial class Sample_KeyVaultSecretCollection { - // Create a secret - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateASecret() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/createSecret.json @@ -55,9 +55,8 @@ public async Task CreateOrUpdate_CreateASecret() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a secret - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASecret() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/getSecret.json @@ -90,9 +89,8 @@ public async Task Get_GetASecret() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a secret - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetASecret() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/getSecret.json @@ -121,9 +119,8 @@ public async Task Exists_GetASecret() Console.WriteLine($"Succeeded: {result}"); } - // Get a secret - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetASecret() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/getSecret.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetASecret() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_GetASecret() } } - // List secrets in the vault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSecretsInTheVault() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/listSecrets.json @@ -198,7 +194,7 @@ public async Task GetAll_ListSecretsInTheVault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_KeyVaultSecretResource.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_KeyVaultSecretResource.cs index 7c0bf11383e31..8621105237228 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_KeyVaultSecretResource.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_KeyVaultSecretResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.KeyVault.Models; +using NUnit.Framework; namespace Azure.ResourceManager.KeyVault.Samples { public partial class Sample_KeyVaultSecretResource { - // Update a secret - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateASecret() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/updateSecret.json @@ -54,9 +54,8 @@ public async Task Update_UpdateASecret() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a secret - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASecret() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/getSecret.json diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_ManagedHsmCollection.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_ManagedHsmCollection.cs index c93002c50c556..df3e43e02aa64 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_ManagedHsmCollection.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_ManagedHsmCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.KeyVault.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.KeyVault.Samples { public partial class Sample_ManagedHsmCollection { - // Create a new managed HSM Pool or update an existing managed HSM Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateANewManagedHSMPoolOrUpdateAnExistingManagedHSMPool() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/ManagedHsm_CreateOrUpdate.json @@ -71,9 +71,8 @@ public async Task CreateOrUpdate_CreateANewManagedHSMPoolOrUpdateAnExistingManag Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a managed HSM Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveAManagedHSMPool() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/ManagedHsm_Get.json @@ -105,9 +104,8 @@ public async Task Get_RetrieveAManagedHSMPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a managed HSM Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RetrieveAManagedHSMPool() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/ManagedHsm_Get.json @@ -135,9 +133,8 @@ public async Task Exists_RetrieveAManagedHSMPool() Console.WriteLine($"Succeeded: {result}"); } - // Retrieve a managed HSM Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RetrieveAManagedHSMPool() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/ManagedHsm_Get.json @@ -165,7 +162,7 @@ public async Task GetIfExists_RetrieveAManagedHSMPool() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -177,9 +174,8 @@ public async Task GetIfExists_RetrieveAManagedHSMPool() } } - // List managed HSM Pools in a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListManagedHSMPoolsInAResourceGroup() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/ManagedHsm_ListByResourceGroup.json @@ -210,7 +206,7 @@ public async Task GetAll_ListManagedHSMPoolsInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_ManagedHsmPrivateEndpointConnectionCollection.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_ManagedHsmPrivateEndpointConnectionCollection.cs index e6164c9ed374f..9334efbf642e8 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_ManagedHsmPrivateEndpointConnectionCollection.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_ManagedHsmPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.KeyVault.Models; +using NUnit.Framework; namespace Azure.ResourceManager.KeyVault.Samples { public partial class Sample_ManagedHsmPrivateEndpointConnectionCollection { - // List managed HSM Pools in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListManagedHSMPoolsInASubscription() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/ManagedHsm_ListPrivateEndpointConnectionsByResource.json @@ -49,12 +49,11 @@ public async Task GetAll_ListManagedHSMPoolsInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ManagedHsmGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ManagedHsmGetPrivateEndpointConnection() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/ManagedHsm_getPrivateEndpointConnection.json @@ -87,9 +86,8 @@ public async Task Get_ManagedHsmGetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedHsmGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ManagedHsmGetPrivateEndpointConnection() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/ManagedHsm_getPrivateEndpointConnection.json @@ -118,9 +116,8 @@ public async Task Exists_ManagedHsmGetPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // ManagedHsmGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ManagedHsmGetPrivateEndpointConnection() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/ManagedHsm_getPrivateEndpointConnection.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ManagedHsmGetPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ManagedHsmGetPrivateEndpointConnection() } } - // ManagedHsmPutPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ManagedHsmPutPrivateEndpointConnection() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/ManagedHsm_putPrivateEndpointConnection.json diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_ManagedHsmPrivateEndpointConnectionResource.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_ManagedHsmPrivateEndpointConnectionResource.cs index 43edf63714033..81d3edb538711 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_ManagedHsmPrivateEndpointConnectionResource.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_ManagedHsmPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.KeyVault.Models; +using NUnit.Framework; namespace Azure.ResourceManager.KeyVault.Samples { public partial class Sample_ManagedHsmPrivateEndpointConnectionResource { - // ManagedHsmGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ManagedHsmGetPrivateEndpointConnection() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/ManagedHsm_getPrivateEndpointConnection.json @@ -47,9 +47,8 @@ public async Task Get_ManagedHsmGetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedHsmPutPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ManagedHsmPutPrivateEndpointConnection() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/ManagedHsm_putPrivateEndpointConnection.json @@ -88,9 +87,8 @@ public async Task Update_ManagedHsmPutPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedHsmDeletePrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ManagedHsmDeletePrivateEndpointConnection() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/ManagedHsm_deletePrivateEndpointConnection.json diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_ManagedHsmResource.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_ManagedHsmResource.cs index 0a294376790d0..b0989c061a773 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_ManagedHsmResource.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_ManagedHsmResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.KeyVault.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.KeyVault.Samples { public partial class Sample_ManagedHsmResource { - // Update an existing managed HSM Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAnExistingManagedHSMPool() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/ManagedHsm_Update.json @@ -57,9 +57,8 @@ public async Task Update_UpdateAnExistingManagedHSMPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a managed HSM Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAManagedHSMPool() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/ManagedHsm_Delete.json @@ -81,12 +80,11 @@ public async Task Delete_DeleteAManagedHSMPool() // invoke the operation await managedHsm.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Retrieve a managed HSM Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveAManagedHSMPool() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/ManagedHsm_Get.json @@ -115,9 +113,8 @@ public async Task Get_RetrieveAManagedHSMPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List managed HSM Pools in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagedHsms_ListManagedHSMPoolsInASubscription() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/ManagedHsm_ListBySubscription.json @@ -144,12 +141,11 @@ public async Task GetManagedHsms_ListManagedHSMPoolsInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Validate a managed hsm name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckManagedHsmNameAvailability_ValidateAManagedHsmName() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/ManagedHsm_checkMhsmNameAvailability.json @@ -173,9 +169,8 @@ public async Task CheckManagedHsmNameAvailability_ValidateAManagedHsmName() Console.WriteLine($"Succeeded: {result}"); } - // KeyVaultListPrivateLinkResources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMHSMPrivateLinkResourcesByManagedHsmResource_KeyVaultListPrivateLinkResources() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/ManagedHsm_listPrivateLinkResources.json @@ -200,12 +195,11 @@ public async Task GetMHSMPrivateLinkResourcesByManagedHsmResource_KeyVaultListPr Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List managed HSM Pools in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMHSMRegionsByResource_ListManagedHSMPoolsInASubscription() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/ManagedHsm_ListRegionsByResource.json @@ -230,7 +224,7 @@ public async Task GetMHSMRegionsByResource_ListManagedHSMPoolsInASubscription() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 435f81d3e9795..5c8b18496b7bc 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.KeyVault.Samples { public partial class Sample_SubscriptionResourceExtensions { - // List deleted vaults in the specified subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeletedKeyVaults_ListDeletedVaultsInTheSpecifiedSubscription() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/listDeletedVaults.json @@ -44,12 +44,11 @@ public async Task GetDeletedKeyVaults_ListDeletedVaultsInTheSpecifiedSubscriptio Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List deleted managed HSMs in the specified subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeletedManagedHsms_ListDeletedManagedHSMsInTheSpecifiedSubscription() { // Generated from example definition: specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2023-07-01/examples/DeletedManagedHsm_List.json @@ -76,7 +75,7 @@ public async Task GetDeletedManagedHsms_ListDeletedManagedHSMsInTheSpecifiedSubs Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/Generated/Samples/Sample_KubernetesClusterExtensionCollection.cs b/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/Generated/Samples/Sample_KubernetesClusterExtensionCollection.cs index 522c37e2abd14..f44e68149cad5 100644 --- a/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/Generated/Samples/Sample_KubernetesClusterExtensionCollection.cs +++ b/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/Generated/Samples/Sample_KubernetesClusterExtensionCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.KubernetesConfiguration.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.KubernetesConfiguration.Samples { public partial class Sample_KubernetesClusterExtensionCollection { - // Create Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateExtension() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/CreateExtension.json @@ -74,9 +74,8 @@ public async Task CreateOrUpdate_CreateExtension() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Extension with Plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateExtensionWithPlan() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/CreateExtensionWithPlan.json @@ -119,9 +118,8 @@ public async Task CreateOrUpdate_CreateExtensionWithPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetExtension() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/GetExtension.json @@ -156,9 +154,8 @@ public async Task Get_GetExtension() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetExtension() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/GetExtension.json @@ -189,9 +186,8 @@ public async Task Exists_GetExtension() Console.WriteLine($"Succeeded: {result}"); } - // Get Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetExtension() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/GetExtension.json @@ -222,7 +218,7 @@ public async Task GetIfExists_GetExtension() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -234,9 +230,8 @@ public async Task GetIfExists_GetExtension() } } - // Get Extension with Plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetExtensionWithPlan() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/GetExtensionWithPlan.json @@ -271,9 +266,8 @@ public async Task Get_GetExtensionWithPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Extension with Plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetExtensionWithPlan() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/GetExtensionWithPlan.json @@ -304,9 +298,8 @@ public async Task Exists_GetExtensionWithPlan() Console.WriteLine($"Succeeded: {result}"); } - // Get Extension with Plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetExtensionWithPlan() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/GetExtensionWithPlan.json @@ -337,7 +330,7 @@ public async Task GetIfExists_GetExtensionWithPlan() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -349,9 +342,8 @@ public async Task GetIfExists_GetExtensionWithPlan() } } - // List Extensions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListExtensions() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/ListExtensions.json @@ -385,7 +377,7 @@ public async Task GetAll_ListExtensions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/Generated/Samples/Sample_KubernetesClusterExtensionResource.cs b/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/Generated/Samples/Sample_KubernetesClusterExtensionResource.cs index e27aadfda7bb5..b30c31fe0feeb 100644 --- a/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/Generated/Samples/Sample_KubernetesClusterExtensionResource.cs +++ b/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/Generated/Samples/Sample_KubernetesClusterExtensionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.KubernetesConfiguration.Models; +using NUnit.Framework; namespace Azure.ResourceManager.KubernetesConfiguration.Samples { public partial class Sample_KubernetesClusterExtensionResource { - // Get Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetExtension() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/GetExtension.json @@ -49,9 +49,8 @@ public async Task Get_GetExtension() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Extension with Plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetExtensionWithPlan() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/GetExtensionWithPlan.json @@ -83,9 +82,8 @@ public async Task Get_GetExtensionWithPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteExtension() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/DeleteExtension.json @@ -110,12 +108,11 @@ public async Task Delete_DeleteExtension() // invoke the operation await kubernetesClusterExtension.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateExtension() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/PatchExtension.json diff --git a/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/Generated/Samples/Sample_KubernetesFluxConfigurationCollection.cs b/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/Generated/Samples/Sample_KubernetesFluxConfigurationCollection.cs index e677294283ebe..9cbf66cca6b95 100644 --- a/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/Generated/Samples/Sample_KubernetesFluxConfigurationCollection.cs +++ b/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/Generated/Samples/Sample_KubernetesFluxConfigurationCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.KubernetesConfiguration.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.KubernetesConfiguration.Samples { public partial class Sample_KubernetesFluxConfigurationCollection { - // Get Flux Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFluxConfiguration() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/GetFluxConfiguration.json @@ -53,9 +53,8 @@ public async Task Get_GetFluxConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Flux Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetFluxConfiguration() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/GetFluxConfiguration.json @@ -86,9 +85,8 @@ public async Task Exists_GetFluxConfiguration() Console.WriteLine($"Succeeded: {result}"); } - // Get Flux Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetFluxConfiguration() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/GetFluxConfiguration.json @@ -119,7 +117,7 @@ public async Task GetIfExists_GetFluxConfiguration() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -131,9 +129,8 @@ public async Task GetIfExists_GetFluxConfiguration() } } - // Create Flux Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateFluxConfiguration() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/CreateFluxConfiguration.json @@ -211,9 +208,8 @@ public async Task CreateOrUpdate_CreateFluxConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Flux Configuration with Bucket Source Kind - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateFluxConfigurationWithBucketSourceKind() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/CreateFluxConfigurationWithBucket.json @@ -288,9 +284,8 @@ public async Task CreateOrUpdate_CreateFluxConfigurationWithBucketSourceKind() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List Flux Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListFluxConfiguration() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/ListFluxConfigurations.json @@ -324,7 +319,7 @@ public async Task GetAll_ListFluxConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/Generated/Samples/Sample_KubernetesFluxConfigurationResource.cs b/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/Generated/Samples/Sample_KubernetesFluxConfigurationResource.cs index 81b83aeaab2bd..5357f6de488d8 100644 --- a/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/Generated/Samples/Sample_KubernetesFluxConfigurationResource.cs +++ b/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/Generated/Samples/Sample_KubernetesFluxConfigurationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.KubernetesConfiguration.Models; +using NUnit.Framework; namespace Azure.ResourceManager.KubernetesConfiguration.Samples { public partial class Sample_KubernetesFluxConfigurationResource { - // Get Flux Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFluxConfiguration() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/GetFluxConfiguration.json @@ -49,9 +49,8 @@ public async Task Get_GetFluxConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch Flux Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchFluxConfiguration() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/PatchFluxConfiguration.json @@ -109,9 +108,8 @@ public async Task Update_PatchFluxConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Flux Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteFluxConfiguration() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/DeleteFluxConfiguration.json @@ -136,7 +134,7 @@ public async Task Delete_DeleteFluxConfiguration() // invoke the operation await kubernetesFluxConfiguration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/Generated/Samples/Sample_KubernetesSourceControlConfigurationCollection.cs b/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/Generated/Samples/Sample_KubernetesSourceControlConfigurationCollection.cs index 1d9996d351e66..7b07b85d407ee 100644 --- a/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/Generated/Samples/Sample_KubernetesSourceControlConfigurationCollection.cs +++ b/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/Generated/Samples/Sample_KubernetesSourceControlConfigurationCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.KubernetesConfiguration.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.KubernetesConfiguration.Samples { public partial class Sample_KubernetesSourceControlConfigurationCollection { - // Get Source Control Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSourceControlConfiguration() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/GetSourceControlConfiguration.json @@ -53,9 +53,8 @@ public async Task Get_GetSourceControlConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Source Control Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSourceControlConfiguration() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/GetSourceControlConfiguration.json @@ -86,9 +85,8 @@ public async Task Exists_GetSourceControlConfiguration() Console.WriteLine($"Succeeded: {result}"); } - // Get Source Control Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSourceControlConfiguration() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/GetSourceControlConfiguration.json @@ -119,7 +117,7 @@ public async Task GetIfExists_GetSourceControlConfiguration() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -131,9 +129,8 @@ public async Task GetIfExists_GetSourceControlConfiguration() } } - // Create Source Control Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSourceControlConfiguration() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/CreateSourceControlConfiguration.json @@ -189,9 +186,8 @@ public async Task CreateOrUpdate_CreateSourceControlConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List Source Control Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSourceControlConfiguration() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/ListSourceControlConfiguration.json @@ -225,7 +221,7 @@ public async Task GetAll_ListSourceControlConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/Generated/Samples/Sample_KubernetesSourceControlConfigurationResource.cs b/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/Generated/Samples/Sample_KubernetesSourceControlConfigurationResource.cs index 55d22d62b2d4c..c9ad997a1e1c6 100644 --- a/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/Generated/Samples/Sample_KubernetesSourceControlConfigurationResource.cs +++ b/sdk/kubernetesconfiguration/Azure.ResourceManager.KubernetesConfiguration/samples/Generated/Samples/Sample_KubernetesSourceControlConfigurationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.KubernetesConfiguration.Models; +using NUnit.Framework; namespace Azure.ResourceManager.KubernetesConfiguration.Samples { public partial class Sample_KubernetesSourceControlConfigurationResource { - // Get Source Control Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSourceControlConfiguration() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/GetSourceControlConfiguration.json @@ -49,9 +49,8 @@ public async Task Get_GetSourceControlConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Source Control Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateSourceControlConfiguration() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/CreateSourceControlConfiguration.json @@ -104,9 +103,8 @@ public async Task Update_CreateSourceControlConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Source Control Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSourceControlConfiguration() { // Generated from example definition: specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/stable/2022-11-01/examples/DeleteSourceControlConfiguration.json @@ -131,7 +129,7 @@ public async Task Delete_DeleteSourceControlConfiguration() // invoke the operation await kubernetesSourceControlConfiguration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoAttachedDatabaseConfigurationCollection.cs b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoAttachedDatabaseConfigurationCollection.cs index ca76ae6e5116f..05b61a7030a1d 100644 --- a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoAttachedDatabaseConfigurationCollection.cs +++ b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoAttachedDatabaseConfigurationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Kusto.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Kusto.Samples { public partial class Sample_KustoAttachedDatabaseConfigurationCollection { - // KustoAttachedDatabaseConfigurationsListByCluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_KustoAttachedDatabaseConfigurationsListByCluster() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoAttachedDatabaseConfigurationsListByCluster.json @@ -49,12 +49,11 @@ public async Task GetAll_KustoAttachedDatabaseConfigurationsListByCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AttachedDatabaseConfigurationsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AttachedDatabaseConfigurationsGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoAttachedDatabaseConfigurationsGet.json @@ -87,9 +86,8 @@ public async Task Get_AttachedDatabaseConfigurationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AttachedDatabaseConfigurationsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AttachedDatabaseConfigurationsGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoAttachedDatabaseConfigurationsGet.json @@ -118,9 +116,8 @@ public async Task Exists_AttachedDatabaseConfigurationsGet() Console.WriteLine($"Succeeded: {result}"); } - // AttachedDatabaseConfigurationsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AttachedDatabaseConfigurationsGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoAttachedDatabaseConfigurationsGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_AttachedDatabaseConfigurationsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_AttachedDatabaseConfigurationsGet() } } - // AttachedDatabaseConfigurationsCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AttachedDatabaseConfigurationsCreateOrUpdate() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoAttachedDatabaseConfigurationsCreateOrUpdate.json diff --git a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoAttachedDatabaseConfigurationResource.cs b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoAttachedDatabaseConfigurationResource.cs index 242c46f66441e..cdb05fc55207a 100644 --- a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoAttachedDatabaseConfigurationResource.cs +++ b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoAttachedDatabaseConfigurationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Kusto.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Kusto.Samples { public partial class Sample_KustoAttachedDatabaseConfigurationResource { - // AttachedDatabaseConfigurationsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AttachedDatabaseConfigurationsGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoAttachedDatabaseConfigurationsGet.json @@ -47,9 +47,8 @@ public async Task Get_AttachedDatabaseConfigurationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AttachedDatabaseConfigurationsCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AttachedDatabaseConfigurationsCreateOrUpdate() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoAttachedDatabaseConfigurationsCreateOrUpdate.json @@ -115,9 +114,8 @@ public async Task Update_AttachedDatabaseConfigurationsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AttachedDatabaseConfigurationsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AttachedDatabaseConfigurationsDelete() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoAttachedDatabaseConfigurationsDelete.json @@ -140,7 +138,7 @@ public async Task Delete_AttachedDatabaseConfigurationsDelete() // invoke the operation await kustoAttachedDatabaseConfiguration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoClusterCollection.cs b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoClusterCollection.cs index 48bf2cf721b8a..192cde6d9677f 100644 --- a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoClusterCollection.cs +++ b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoClusterCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Kusto.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Kusto.Samples { public partial class Sample_KustoClusterCollection { - // KustoClustersGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoClustersGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersGet.json @@ -51,9 +51,8 @@ public async Task Get_KustoClustersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoClustersGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_KustoClustersGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersGet.json @@ -81,9 +80,8 @@ public async Task Exists_KustoClustersGet() Console.WriteLine($"Succeeded: {result}"); } - // KustoClustersGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_KustoClustersGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_KustoClustersGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_KustoClustersGet() } } - // KustoClustersCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_KustoClustersCreateOrUpdate() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersCreateOrUpdate.json @@ -188,9 +185,8 @@ public async Task CreateOrUpdate_KustoClustersCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoClustersListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_KustoClustersListByResourceGroup() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersListByResourceGroup.json @@ -221,7 +217,7 @@ public async Task GetAll_KustoClustersListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoClusterPrincipalAssignmentCollection.cs b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoClusterPrincipalAssignmentCollection.cs index 0b36eb1e70ac6..92628bb7bc77e 100644 --- a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoClusterPrincipalAssignmentCollection.cs +++ b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoClusterPrincipalAssignmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Kusto.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Kusto.Samples { public partial class Sample_KustoClusterPrincipalAssignmentCollection { - // KustoClusterPrincipalAssignmentsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoClusterPrincipalAssignmentsGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClusterPrincipalAssignmentsGet.json @@ -50,9 +50,8 @@ public async Task Get_KustoClusterPrincipalAssignmentsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoClusterPrincipalAssignmentsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_KustoClusterPrincipalAssignmentsGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClusterPrincipalAssignmentsGet.json @@ -81,9 +80,8 @@ public async Task Exists_KustoClusterPrincipalAssignmentsGet() Console.WriteLine($"Succeeded: {result}"); } - // KustoClusterPrincipalAssignmentsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_KustoClusterPrincipalAssignmentsGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClusterPrincipalAssignmentsGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_KustoClusterPrincipalAssignmentsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_KustoClusterPrincipalAssignmentsGet() } } - // KustoClusterPrincipalAssignmentsCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_KustoClusterPrincipalAssignmentsCreateOrUpdate() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClusterPrincipalAssignmentsCreateOrUpdate.json @@ -167,9 +164,8 @@ public async Task CreateOrUpdate_KustoClusterPrincipalAssignmentsCreateOrUpdate( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoPrincipalAssignmentsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_KustoPrincipalAssignmentsList() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClusterPrincipalAssignmentsList.json @@ -201,7 +197,7 @@ public async Task GetAll_KustoPrincipalAssignmentsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoClusterPrincipalAssignmentResource.cs b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoClusterPrincipalAssignmentResource.cs index 44825045e79b4..3a1325907d5fc 100644 --- a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoClusterPrincipalAssignmentResource.cs +++ b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoClusterPrincipalAssignmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Kusto.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Kusto.Samples { public partial class Sample_KustoClusterPrincipalAssignmentResource { - // KustoClusterPrincipalAssignmentsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoClusterPrincipalAssignmentsGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClusterPrincipalAssignmentsGet.json @@ -47,9 +47,8 @@ public async Task Get_KustoClusterPrincipalAssignmentsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoClusterPrincipalAssignmentsCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_KustoClusterPrincipalAssignmentsCreateOrUpdate() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClusterPrincipalAssignmentsCreateOrUpdate.json @@ -87,9 +86,8 @@ public async Task Update_KustoClusterPrincipalAssignmentsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoClusterPrincipalAssignmentsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_KustoClusterPrincipalAssignmentsDelete() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClusterPrincipalAssignmentsDelete.json @@ -112,7 +110,7 @@ public async Task Delete_KustoClusterPrincipalAssignmentsDelete() // invoke the operation await kustoClusterPrincipalAssignment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoClusterResource.cs b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoClusterResource.cs index f65af25a000ae..42b55c18de3d0 100644 --- a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoClusterResource.cs +++ b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoClusterResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Kusto.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Kusto.Samples { public partial class Sample_KustoClusterResource { - // KustoClustersGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoClustersGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersGet.json @@ -47,9 +47,8 @@ public async Task Get_KustoClustersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoClustersUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_KustoClustersUpdate() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersUpdate.json @@ -81,9 +80,8 @@ public async Task Update_KustoClustersUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoClustersDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_KustoClustersDelete() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersDelete.json @@ -105,12 +103,11 @@ public async Task Delete_KustoClustersDelete() // invoke the operation await kustoCluster.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoClustersStop - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_KustoClustersStop() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersStop.json @@ -132,12 +129,11 @@ public async Task Stop_KustoClustersStop() // invoke the operation await kustoCluster.StopAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoClustersStart - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_KustoClustersStart() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersStart.json @@ -159,12 +155,11 @@ public async Task Start_KustoClustersStart() // invoke the operation await kustoCluster.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoClusterMigrate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Migrate_KustoClusterMigrate() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClusterMigrate.json @@ -187,12 +182,11 @@ public async Task Migrate_KustoClusterMigrate() ClusterMigrateContent content = new ClusterMigrateContent("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/kustoCluster2"); await kustoCluster.MigrateAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoClusterListFollowerDatabases - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFollowerDatabases_KustoClusterListFollowerDatabases() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClusterListFollowerDatabases.json @@ -217,12 +211,11 @@ public async Task GetFollowerDatabases_KustoClusterListFollowerDatabases() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoClusterDetachFollowerDatabases - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DetachFollowerDatabases_KustoClusterDetachFollowerDatabases() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClusterDetachFollowerDatabases.json @@ -245,12 +238,11 @@ public async Task DetachFollowerDatabases_KustoClusterDetachFollowerDatabases() KustoFollowerDatabaseDefinition followerDatabaseToRemove = new KustoFollowerDatabaseDefinition(new ResourceIdentifier("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/kustoCluster2"), "attachedDatabaseConfigurationsTest"); await kustoCluster.DetachFollowerDatabasesAsync(WaitUntil.Completed, followerDatabaseToRemove); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoClusterDiagnoseVirtualNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DiagnoseVirtualNetwork_KustoClusterDiagnoseVirtualNetwork() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersDiagnoseVirtualNetwork.json @@ -276,9 +268,8 @@ public async Task DiagnoseVirtualNetwork_KustoClusterDiagnoseVirtualNetwork() Console.WriteLine($"Succeeded: {result}"); } - // KustoClustersList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKustoClusters_KustoClustersList() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersList.json @@ -305,12 +296,11 @@ public async Task GetKustoClusters_KustoClustersList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoClustersListSkus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKustoEligibleSkus_KustoClustersListSkus() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersListSkus.json @@ -333,12 +323,11 @@ public async Task GetKustoEligibleSkus_KustoClustersListSkus() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoClustersCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckKustoClusterNameAvailability_KustoClustersCheckNameAvailability() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersCheckNameAvailability.json @@ -363,9 +352,8 @@ public async Task CheckKustoClusterNameAvailability_KustoClustersCheckNameAvaila Console.WriteLine($"Succeeded: {result}"); } - // KustoClustersListResourceSkus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableSkus_KustoClustersListResourceSkus() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClustersListResourceSkus.json @@ -390,12 +378,11 @@ public async Task GetAvailableSkus_KustoClustersListResourceSkus() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Kusto cluster outbound network dependencies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOutboundNetworkDependenciesEndpoints_GetKustoClusterOutboundNetworkDependencies() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoOutboundNetworkDependenciesList.json @@ -420,12 +407,11 @@ public async Task GetOutboundNetworkDependenciesEndpoints_GetKustoClusterOutboun Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoClusterListLanguageExtensions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLanguageExtensions_KustoClusterListLanguageExtensions() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClusterListLanguageExtensions.json @@ -450,12 +436,11 @@ public async Task GetLanguageExtensions_KustoClusterListLanguageExtensions() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoClusterAddLanguageExtensions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AddLanguageExtensions_KustoClusterAddLanguageExtensions() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClusterAddLanguageExtensions.json @@ -490,12 +475,11 @@ public async Task AddLanguageExtensions_KustoClusterAddLanguageExtensions() }; await kustoCluster.AddLanguageExtensionsAsync(WaitUntil.Completed, languageExtensionsToAdd); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoClusterRemoveLanguageExtensions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RemoveLanguageExtensions_KustoClusterRemoveLanguageExtensions() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClusterRemoveLanguageExtensions.json @@ -530,12 +514,11 @@ public async Task RemoveLanguageExtensions_KustoClusterRemoveLanguageExtensions( }; await kustoCluster.RemoveLanguageExtensionsAsync(WaitUntil.Completed, languageExtensionsToRemove); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoClusterPrincipalAssignmentsCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckKustoClusterPrincipalAssignmentNameAvailability_KustoClusterPrincipalAssignmentsCheckNameAvailability() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoClusterPrincipalAssignmentsCheckNameAvailability.json @@ -561,9 +544,8 @@ public async Task CheckKustoClusterPrincipalAssignmentNameAvailability_KustoClus Console.WriteLine($"Succeeded: {result}"); } - // KustoDatabasesCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckKustoDatabaseNameAvailability_KustoDatabasesCheckNameAvailability() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasesCheckNameAvailability.json @@ -589,9 +571,8 @@ public async Task CheckKustoDatabaseNameAvailability_KustoDatabasesCheckNameAvai Console.WriteLine($"Succeeded: {result}"); } - // KustoAttachedDatabaseConfigurationCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckKustoAttachedDatabaseConfigurationNameAvailability_KustoAttachedDatabaseConfigurationCheckNameAvailability() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoAttachedDatabaseConfigurationCheckNameAvailability.json @@ -617,9 +598,8 @@ public async Task CheckKustoAttachedDatabaseConfigurationNameAvailability_KustoA Console.WriteLine($"Succeeded: {result}"); } - // KustoManagedPrivateEndpointsCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckKustoManagedPrivateEndpointNameAvailability_KustoManagedPrivateEndpointsCheckNameAvailability() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoManagedPrivateEndpointsCheckNameAvailability.json @@ -645,9 +625,8 @@ public async Task CheckKustoManagedPrivateEndpointNameAvailability_KustoManagedP Console.WriteLine($"Succeeded: {result}"); } - // KustoSandboxCustomImagesCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckNameAvailabilitySandboxCustomImage_KustoSandboxCustomImagesCheckNameAvailability() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoSandboxCustomImagesCheckNameAvailability.json diff --git a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoDataConnectionCollection.cs b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoDataConnectionCollection.cs index 6f9c5c3247386..9dba1aad37fa9 100644 --- a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoDataConnectionCollection.cs +++ b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoDataConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Kusto.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Kusto.Samples { public partial class Sample_KustoDataConnectionCollection { - // KustoDatabasesListByCluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_KustoDatabasesListByCluster() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsListByDatabase.json @@ -50,12 +50,11 @@ public async Task GetAll_KustoDatabasesListByCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoDataConnectionsCosmosDbGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoDataConnectionsCosmosDbGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsCosmosDbGet.json @@ -89,9 +88,8 @@ public async Task Get_KustoDataConnectionsCosmosDbGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoDataConnectionsCosmosDbGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_KustoDataConnectionsCosmosDbGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsCosmosDbGet.json @@ -121,9 +119,8 @@ public async Task Exists_KustoDataConnectionsCosmosDbGet() Console.WriteLine($"Succeeded: {result}"); } - // KustoDataConnectionsCosmosDbGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_KustoDataConnectionsCosmosDbGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsCosmosDbGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_KustoDataConnectionsCosmosDbGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_KustoDataConnectionsCosmosDbGet() } } - // KustoDataConnectionsEventGridGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoDataConnectionsEventGridGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsEventGridGet.json @@ -201,9 +197,8 @@ public async Task Get_KustoDataConnectionsEventGridGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoDataConnectionsEventGridGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_KustoDataConnectionsEventGridGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsEventGridGet.json @@ -233,9 +228,8 @@ public async Task Exists_KustoDataConnectionsEventGridGet() Console.WriteLine($"Succeeded: {result}"); } - // KustoDataConnectionsEventGridGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_KustoDataConnectionsEventGridGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsEventGridGet.json @@ -265,7 +259,7 @@ public async Task GetIfExists_KustoDataConnectionsEventGridGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -277,9 +271,8 @@ public async Task GetIfExists_KustoDataConnectionsEventGridGet() } } - // KustoDataConnectionsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoDataConnectionsGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsGet.json @@ -313,9 +306,8 @@ public async Task Get_KustoDataConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoDataConnectionsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_KustoDataConnectionsGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsGet.json @@ -345,9 +337,8 @@ public async Task Exists_KustoDataConnectionsGet() Console.WriteLine($"Succeeded: {result}"); } - // KustoDataConnectionsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_KustoDataConnectionsGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsGet.json @@ -377,7 +368,7 @@ public async Task GetIfExists_KustoDataConnectionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -389,9 +380,8 @@ public async Task GetIfExists_KustoDataConnectionsGet() } } - // KustoDataConnectionsCosmosDbCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_KustoDataConnectionsCosmosDbCreateOrUpdate() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsCosmosDbCreateOrUpdate.json @@ -437,9 +427,8 @@ public async Task CreateOrUpdate_KustoDataConnectionsCosmosDbCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoDataConnectionsCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_KustoDataConnectionsCreateOrUpdate() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsCreateOrUpdate.json @@ -481,9 +470,8 @@ public async Task CreateOrUpdate_KustoDataConnectionsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoDataConnectionsEventGridCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_KustoDataConnectionsEventGridCreateOrUpdate() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsEventGridCreateOrUpdate.json diff --git a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoDataConnectionResource.cs b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoDataConnectionResource.cs index f17c4d103a3ff..e7fa030dd6752 100644 --- a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoDataConnectionResource.cs +++ b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoDataConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Kusto.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Kusto.Samples { public partial class Sample_KustoDataConnectionResource { - // KustoDataConnectionsCosmosDbGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoDataConnectionsCosmosDbGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsCosmosDbGet.json @@ -48,9 +48,8 @@ public async Task Get_KustoDataConnectionsCosmosDbGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoDataConnectionsEventGridGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoDataConnectionsEventGridGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsEventGridGet.json @@ -81,9 +80,8 @@ public async Task Get_KustoDataConnectionsEventGridGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoDataConnectionsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoDataConnectionsGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsGet.json @@ -114,9 +112,8 @@ public async Task Get_KustoDataConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoDataConnectionsCosmosDbUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_KustoDataConnectionsCosmosDbUpdate() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsCosmosDbUpdate.json @@ -159,9 +156,8 @@ public async Task Update_KustoDataConnectionsCosmosDbUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoDataConnectionsEventGridUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_KustoDataConnectionsEventGridUpdate() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsEventGridUpdate.json @@ -208,9 +204,8 @@ public async Task Update_KustoDataConnectionsEventGridUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoDataConnectionsUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_KustoDataConnectionsUpdate() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsUpdate.json @@ -249,9 +244,8 @@ public async Task Update_KustoDataConnectionsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoDataConnectionsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_KustoDataConnectionsDelete() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsDelete.json @@ -275,7 +269,7 @@ public async Task Delete_KustoDataConnectionsDelete() // invoke the operation await kustoDataConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoDatabaseCollection.cs b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoDatabaseCollection.cs index d1b3e863ee1d5..1eb5ca98a598f 100644 --- a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoDatabaseCollection.cs +++ b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoDatabaseCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Kusto.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Kusto.Samples { public partial class Sample_KustoDatabaseCollection { - // KustoDatabasesListByCluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_KustoDatabasesListByCluster() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasesListByCluster.json @@ -50,12 +50,11 @@ public async Task GetAll_KustoDatabasesListByCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoDatabasesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoDatabasesGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasesGet.json @@ -88,9 +87,8 @@ public async Task Get_KustoDatabasesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoDatabasesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_KustoDatabasesGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasesGet.json @@ -119,9 +117,8 @@ public async Task Exists_KustoDatabasesGet() Console.WriteLine($"Succeeded: {result}"); } - // KustoDatabasesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_KustoDatabasesGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasesGet.json @@ -150,7 +147,7 @@ public async Task GetIfExists_KustoDatabasesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_KustoDatabasesGet() } } - // KustoSuspendedDatabasesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoSuspendedDatabasesGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoSuspendedDatabasesGet.json @@ -197,9 +193,8 @@ public async Task Get_KustoSuspendedDatabasesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoSuspendedDatabasesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_KustoSuspendedDatabasesGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoSuspendedDatabasesGet.json @@ -228,9 +223,8 @@ public async Task Exists_KustoSuspendedDatabasesGet() Console.WriteLine($"Succeeded: {result}"); } - // KustoSuspendedDatabasesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_KustoSuspendedDatabasesGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoSuspendedDatabasesGet.json @@ -259,7 +253,7 @@ public async Task GetIfExists_KustoSuspendedDatabasesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -271,9 +265,8 @@ public async Task GetIfExists_KustoSuspendedDatabasesGet() } } - // Kusto ReadOnly database update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_KustoReadOnlyDatabaseUpdate() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabaseReadonlyUpdate.json @@ -312,9 +305,8 @@ public async Task CreateOrUpdate_KustoReadOnlyDatabaseUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Kusto ReadWrite database create or update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_KustoReadWriteDatabaseCreateOrUpdate() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasesCreateOrUpdate.json diff --git a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoDatabasePrincipalAssignmentCollection.cs b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoDatabasePrincipalAssignmentCollection.cs index 29b3a8de46eed..00dc94a0efe29 100644 --- a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoDatabasePrincipalAssignmentCollection.cs +++ b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoDatabasePrincipalAssignmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Kusto.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Kusto.Samples { public partial class Sample_KustoDatabasePrincipalAssignmentCollection { - // KustoDatabasePrincipalAssignmentsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoDatabasePrincipalAssignmentsGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasePrincipalAssignmentsGet.json @@ -51,9 +51,8 @@ public async Task Get_KustoDatabasePrincipalAssignmentsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoDatabasePrincipalAssignmentsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_KustoDatabasePrincipalAssignmentsGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasePrincipalAssignmentsGet.json @@ -83,9 +82,8 @@ public async Task Exists_KustoDatabasePrincipalAssignmentsGet() Console.WriteLine($"Succeeded: {result}"); } - // KustoDatabasePrincipalAssignmentsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_KustoDatabasePrincipalAssignmentsGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasePrincipalAssignmentsGet.json @@ -115,7 +113,7 @@ public async Task GetIfExists_KustoDatabasePrincipalAssignmentsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_KustoDatabasePrincipalAssignmentsGet() } } - // KustoDatabasePrincipalAssignmentsCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_KustoDatabasePrincipalAssignmentsCreateOrUpdate() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasePrincipalAssignmentsCreateOrUpdate.json @@ -171,9 +168,8 @@ public async Task CreateOrUpdate_KustoDatabasePrincipalAssignmentsCreateOrUpdate Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoPrincipalAssignmentsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_KustoPrincipalAssignmentsList() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasePrincipalAssignmentsList.json @@ -206,7 +202,7 @@ public async Task GetAll_KustoPrincipalAssignmentsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoDatabasePrincipalAssignmentResource.cs b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoDatabasePrincipalAssignmentResource.cs index f0e1a3f531ca8..25a5d40612ac7 100644 --- a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoDatabasePrincipalAssignmentResource.cs +++ b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoDatabasePrincipalAssignmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Kusto.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Kusto.Samples { public partial class Sample_KustoDatabasePrincipalAssignmentResource { - // KustoDatabasePrincipalAssignmentsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoDatabasePrincipalAssignmentsGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasePrincipalAssignmentsGet.json @@ -48,9 +48,8 @@ public async Task Get_KustoDatabasePrincipalAssignmentsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoDatabasePrincipalAssignmentsCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_KustoDatabasePrincipalAssignmentsCreateOrUpdate() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasePrincipalAssignmentsCreateOrUpdate.json @@ -89,9 +88,8 @@ public async Task Update_KustoDatabasePrincipalAssignmentsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoDatabasePrincipalAssignmentsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_KustoDatabasePrincipalAssignmentsDelete() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasePrincipalAssignmentsDelete.json @@ -115,7 +113,7 @@ public async Task Delete_KustoDatabasePrincipalAssignmentsDelete() // invoke the operation await kustoDatabasePrincipalAssignment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoDatabaseResource.cs b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoDatabaseResource.cs index a56655f6df8d2..dfaa2dfa1234e 100644 --- a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoDatabaseResource.cs +++ b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoDatabaseResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Kusto.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Kusto.Samples { public partial class Sample_KustoDatabaseResource { - // KustoDatabasesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoDatabasesGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasesGet.json @@ -48,9 +48,8 @@ public async Task Get_KustoDatabasesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoSuspendedDatabasesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoSuspendedDatabasesGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoSuspendedDatabasesGet.json @@ -80,9 +79,8 @@ public async Task Get_KustoSuspendedDatabasesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoDatabasesUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_KustoDatabasesUpdate() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasesUpdate.json @@ -117,9 +115,8 @@ public async Task Update_KustoDatabasesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoDatabasesDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_KustoDatabasesDelete() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasesDelete.json @@ -142,12 +139,11 @@ public async Task Delete_KustoDatabasesDelete() // invoke the operation await kustoDatabase.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoDatabaseListPrincipals - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrincipals_KustoDatabaseListPrincipals() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabaseListPrincipals.json @@ -173,12 +169,11 @@ public async Task GetPrincipals_KustoDatabaseListPrincipals() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoDatabaseAddPrincipals - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AddPrincipals_KustoDatabaseAddPrincipals() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabaseAddPrincipals.json @@ -226,12 +221,11 @@ public async Task AddPrincipals_KustoDatabaseAddPrincipals() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoDatabaseRemovePrincipals - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RemovePrincipals_KustoDatabaseRemovePrincipals() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabaseRemovePrincipals.json @@ -279,12 +273,11 @@ public async Task RemovePrincipals_KustoDatabaseRemovePrincipals() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoDatabaseInviteFollower - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task InviteFollowerDatabase_KustoDatabaseInviteFollower() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabaseInviteFollower.json @@ -347,9 +340,8 @@ public async Task InviteFollowerDatabase_KustoDatabaseInviteFollower() Console.WriteLine($"Succeeded: {result}"); } - // KustoDatabaseCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckKustoDatabasePrincipalAssignmentNameAvailability_KustoDatabaseCheckNameAvailability() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDatabasePrincipalAssignmentsCheckNameAvailability.json @@ -376,9 +368,8 @@ public async Task CheckKustoDatabasePrincipalAssignmentNameAvailability_KustoDat Console.WriteLine($"Succeeded: {result}"); } - // KustoScriptsCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckKustoScriptNameAvailability_KustoScriptsCheckNameAvailability() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoScriptsCheckNameAvailability.json @@ -405,9 +396,8 @@ public async Task CheckKustoScriptNameAvailability_KustoScriptsCheckNameAvailabi Console.WriteLine($"Succeeded: {result}"); } - // KustoDataConnectionEventGridValidation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateDataConnection_KustoDataConnectionEventGridValidation() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionEventGridValidationAsync.json @@ -452,9 +442,8 @@ public async Task ValidateDataConnection_KustoDataConnectionEventGridValidation( Console.WriteLine($"Succeeded: {result}"); } - // KustoDataConnectionValidation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateDataConnection_KustoDataConnectionValidation() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionValidationAsync.json @@ -495,9 +484,8 @@ public async Task ValidateDataConnection_KustoDataConnectionValidation() Console.WriteLine($"Succeeded: {result}"); } - // KustoDataConnectionsCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckKustoDataConnectionNameAvailability_KustoDataConnectionsCheckNameAvailability() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoDataConnectionsCheckNameAvailability.json diff --git a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoManagedPrivateEndpointCollection.cs b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoManagedPrivateEndpointCollection.cs index 153088a70ffee..1c6a12bcfe61a 100644 --- a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoManagedPrivateEndpointCollection.cs +++ b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoManagedPrivateEndpointCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Kusto.Samples { public partial class Sample_KustoManagedPrivateEndpointCollection { - // KustoManagedPrivateEndpointsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_KustoManagedPrivateEndpointsList() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoManagedPrivateEndpointsList.json @@ -48,12 +48,11 @@ public async Task GetAll_KustoManagedPrivateEndpointsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoManagedPrivateEndpointsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoManagedPrivateEndpointsGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoManagedPrivateEndpointsGet.json @@ -86,9 +85,8 @@ public async Task Get_KustoManagedPrivateEndpointsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoManagedPrivateEndpointsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_KustoManagedPrivateEndpointsGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoManagedPrivateEndpointsGet.json @@ -117,9 +115,8 @@ public async Task Exists_KustoManagedPrivateEndpointsGet() Console.WriteLine($"Succeeded: {result}"); } - // KustoManagedPrivateEndpointsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_KustoManagedPrivateEndpointsGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoManagedPrivateEndpointsGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_KustoManagedPrivateEndpointsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_KustoManagedPrivateEndpointsGet() } } - // KustoManagedPrivateEndpointsCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_KustoManagedPrivateEndpointsCreateOrUpdate() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoManagedPrivateEndpointsCreateOrUpdate.json diff --git a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoManagedPrivateEndpointResource.cs b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoManagedPrivateEndpointResource.cs index 7520ab853a7f2..a3d495ffb622f 100644 --- a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoManagedPrivateEndpointResource.cs +++ b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoManagedPrivateEndpointResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Kusto.Samples { public partial class Sample_KustoManagedPrivateEndpointResource { - // KustoManagedPrivateEndpointsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoManagedPrivateEndpointsGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoManagedPrivateEndpointsGet.json @@ -46,9 +46,8 @@ public async Task Get_KustoManagedPrivateEndpointsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoManagedPrivateEndpointsUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_KustoManagedPrivateEndpointsUpdate() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoManagedPrivateEndpointsUpdate.json @@ -85,9 +84,8 @@ public async Task Update_KustoManagedPrivateEndpointsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedPrivateEndpointsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ManagedPrivateEndpointsDelete() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoManagedPrivateEndpointsDelete.json @@ -110,7 +108,7 @@ public async Task Delete_ManagedPrivateEndpointsDelete() // invoke the operation await kustoManagedPrivateEndpoint.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoPrivateEndpointConnectionCollection.cs b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoPrivateEndpointConnectionCollection.cs index f27558b3f0fbf..178d570956618 100644 --- a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoPrivateEndpointConnectionCollection.cs +++ b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Kusto.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Kusto.Samples { public partial class Sample_KustoPrivateEndpointConnectionCollection { - // KustoPrivateEndpointConnectionsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_KustoPrivateEndpointConnectionsList() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoPrivateEndpointConnectionsList.json @@ -49,12 +49,11 @@ public async Task GetAll_KustoPrivateEndpointConnectionsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoPrivateEndpointConnectionsGet.json @@ -87,9 +86,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoPrivateEndpointConnectionsGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoPrivateEndpointConnectionsGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() } } - // Approve or reject a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoPrivateEndpointConnectionsCreateOrUpdate.json diff --git a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoPrivateEndpointConnectionResource.cs b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoPrivateEndpointConnectionResource.cs index 3fc9d5b0d6c82..fc055de9e56de 100644 --- a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoPrivateEndpointConnectionResource.cs +++ b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Kusto.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Kusto.Samples { public partial class Sample_KustoPrivateEndpointConnectionResource { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoPrivateEndpointConnectionsGet.json @@ -47,9 +47,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Approve or reject a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoPrivateEndpointConnectionsCreateOrUpdate.json @@ -88,9 +87,8 @@ public async Task Update_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoPrivateEndpointConnectionsDelete.json @@ -113,7 +111,7 @@ public async Task Delete_DeletesAPrivateEndpointConnectionWithAGivenName() // invoke the operation await kustoPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoPrivateLinkResource.cs b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoPrivateLinkResource.cs index 213d6c65df1a8..49d709feddd35 100644 --- a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoPrivateLinkResource.cs +++ b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Kusto.Samples { public partial class Sample_KustoPrivateLinkResource { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoPrivateLinkResourcesGet.json diff --git a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoPrivateLinkResourceCollection.cs b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoPrivateLinkResourceCollection.cs index e8d91b1272ac3..7270ff9590e76 100644 --- a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoPrivateLinkResourceCollection.cs +++ b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoPrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Kusto.Samples { public partial class Sample_KustoPrivateLinkResourceCollection { - // Gets private endpoint connections. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsPrivateEndpointConnections() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoPrivateLinkResourcesList.json @@ -48,12 +48,11 @@ public async Task GetAll_GetsPrivateEndpointConnections() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoPrivateLinkResourcesGet.json @@ -86,9 +85,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoPrivateLinkResourcesGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoPrivateLinkResourcesGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoScriptCollection.cs b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoScriptCollection.cs index 714f59ca1f011..c94c4c55dc872 100644 --- a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoScriptCollection.cs +++ b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoScriptCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Kusto.Samples { public partial class Sample_KustoScriptCollection { - // KustoScriptsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_KustoScriptsList() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoScriptsListByDatabase.json @@ -49,12 +49,11 @@ public async Task GetAll_KustoScriptsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoScriptsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoScriptsGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoScriptsGet.json @@ -88,9 +87,8 @@ public async Task Get_KustoScriptsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoScriptsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_KustoScriptsGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoScriptsGet.json @@ -120,9 +118,8 @@ public async Task Exists_KustoScriptsGet() Console.WriteLine($"Succeeded: {result}"); } - // KustoScriptsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_KustoScriptsGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoScriptsGet.json @@ -152,7 +149,7 @@ public async Task GetIfExists_KustoScriptsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_KustoScriptsGet() } } - // KustoScriptsCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_KustoScriptsCreateOrUpdate() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoScriptsCreateOrUpdate.json diff --git a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoScriptResource.cs b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoScriptResource.cs index d2882d6c8a679..4602a28d00fc2 100644 --- a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoScriptResource.cs +++ b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_KustoScriptResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Kusto.Samples { public partial class Sample_KustoScriptResource { - // KustoScriptsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoScriptsGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoScriptsGet.json @@ -47,9 +47,8 @@ public async Task Get_KustoScriptsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoScriptsUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_KustoScriptsUpdate() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoScriptsUpdate.json @@ -88,9 +87,8 @@ public async Task Update_KustoScriptsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoScriptsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_KustoScriptsDelete() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoScriptsDelete.json @@ -114,7 +112,7 @@ public async Task Delete_KustoScriptsDelete() // invoke the operation await kustoScript.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_SandboxCustomImageCollection.cs b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_SandboxCustomImageCollection.cs index 2fa93bbf00df3..7abe1e7d5e599 100644 --- a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_SandboxCustomImageCollection.cs +++ b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_SandboxCustomImageCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Kusto.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Kusto.Samples { public partial class Sample_SandboxCustomImageCollection { - // KustoSandboxCustomImagesListByCluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_KustoSandboxCustomImagesListByCluster() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoSandboxCustomImagesList.json @@ -49,12 +49,11 @@ public async Task GetAll_KustoSandboxCustomImagesListByCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoSandboxCustomImagesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoSandboxCustomImagesGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoSandboxCustomImagesGet.json @@ -87,9 +86,8 @@ public async Task Get_KustoSandboxCustomImagesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoSandboxCustomImagesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_KustoSandboxCustomImagesGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoSandboxCustomImagesGet.json @@ -118,9 +116,8 @@ public async Task Exists_KustoSandboxCustomImagesGet() Console.WriteLine($"Succeeded: {result}"); } - // KustoSandboxCustomImagesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_KustoSandboxCustomImagesGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoSandboxCustomImagesGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_KustoSandboxCustomImagesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_KustoSandboxCustomImagesGet() } } - // KustoSandboxCustomImagesCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_KustoSandboxCustomImagesCreateOrUpdate() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoSandboxCustomImagesCreateOrUpdate.json diff --git a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_SandboxCustomImageResource.cs b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_SandboxCustomImageResource.cs index 30e5831ebf8c7..89fbf1a5aeac3 100644 --- a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_SandboxCustomImageResource.cs +++ b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_SandboxCustomImageResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Kusto.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Kusto.Samples { public partial class Sample_SandboxCustomImageResource { - // KustoSandboxCustomImagesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoSandboxCustomImagesGet() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoSandboxCustomImagesGet.json @@ -47,9 +47,8 @@ public async Task Get_KustoSandboxCustomImagesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoSandboxCustomImagesUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_KustoSandboxCustomImagesUpdate() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoSandboxCustomImageUpdate.json @@ -86,9 +85,8 @@ public async Task Update_KustoSandboxCustomImagesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SandboxCustomImagesDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SandboxCustomImagesDelete() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoSandboxCustomImageDelete.json @@ -111,7 +109,7 @@ public async Task Delete_SandboxCustomImagesDelete() // invoke the operation await sandboxCustomImage.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index ebd74d88223ed..6c69358e552f8 100644 --- a/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/kusto/Azure.ResourceManager.Kusto/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Kusto.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Kusto.Samples { public partial class Sample_SubscriptionResourceExtensions { - // KustoListRegionSkus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSkus_KustoListRegionSkus() { // Generated from example definition: specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2023-08-15/examples/KustoSkus.json @@ -42,7 +42,7 @@ public async Task GetSkus_KustoListRegionSkus() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabCollection.cs b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabCollection.cs index 471a72d130474..2d6eeaabdd35d 100644 --- a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabCollection.cs +++ b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.LabServices.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.LabServices.Samples { public partial class Sample_LabCollection { - // listResourceGroupLabs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListResourceGroupLabs() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Labs/listResourceGroupLabs.json @@ -50,12 +50,11 @@ public async Task GetAll_ListResourceGroupLabs() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // getLab - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetLab() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Labs/getLab.json @@ -87,9 +86,8 @@ public async Task Get_GetLab() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // getLab - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetLab() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Labs/getLab.json @@ -117,9 +115,8 @@ public async Task Exists_GetLab() Console.WriteLine($"Succeeded: {result}"); } - // getLab - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetLab() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Labs/getLab.json @@ -147,7 +144,7 @@ public async Task GetIfExists_GetLab() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_GetLab() } } - // putLab - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutLab() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Labs/putLab.json diff --git a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabPlanCollection.cs b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabPlanCollection.cs index 550fdb8b5907d..916eee1e911ec 100644 --- a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabPlanCollection.cs +++ b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabPlanCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.LabServices.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.LabServices.Samples { public partial class Sample_LabPlanCollection { - // listResourceGroupLabPlans - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListResourceGroupLabPlans() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/LabPlans/listResourceGroupLabPlans.json @@ -50,12 +50,11 @@ public async Task GetAll_ListResourceGroupLabPlans() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // getLabPlan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetLabPlan() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/LabPlans/getLabPlan.json @@ -87,9 +86,8 @@ public async Task Get_GetLabPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // getLabPlan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetLabPlan() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/LabPlans/getLabPlan.json @@ -117,9 +115,8 @@ public async Task Exists_GetLabPlan() Console.WriteLine($"Succeeded: {result}"); } - // getLabPlan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetLabPlan() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/LabPlans/getLabPlan.json @@ -147,7 +144,7 @@ public async Task GetIfExists_GetLabPlan() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_GetLabPlan() } } - // putLabPlan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutLabPlan() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/LabPlans/putLabPlan.json diff --git a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabPlanResource.cs b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabPlanResource.cs index 5759737b9ac8a..cf5902b0093ae 100644 --- a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabPlanResource.cs +++ b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabPlanResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.LabServices.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.LabServices.Samples { public partial class Sample_LabPlanResource { - // listLabPlans - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLabPlans_ListLabPlans() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/LabPlans/listLabPlans.json @@ -45,12 +45,11 @@ public async Task GetLabPlans_ListLabPlans() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // getLabPlan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetLabPlan() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/LabPlans/getLabPlan.json @@ -79,9 +78,8 @@ public async Task Get_GetLabPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // patchLabPlan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchLabPlan() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/LabPlans/patchLabPlan.json @@ -121,9 +119,8 @@ public async Task Update_PatchLabPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // deleteLabPlan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteLabPlan() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/LabPlans/deleteLabPlan.json @@ -145,12 +142,11 @@ public async Task Delete_DeleteLabPlan() // invoke the operation await labPlan.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // saveImageVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SaveImage_SaveImageVirtualMachine() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/LabPlans/saveImageVirtualMachine.json @@ -177,7 +173,7 @@ public async Task SaveImage_SaveImageVirtualMachine() }; await labPlan.SaveImageAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabResource.cs b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabResource.cs index bd11d782b9088..5c6f36f4ddeda 100644 --- a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabResource.cs +++ b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.LabServices.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.LabServices.Samples { public partial class Sample_LabResource { - // listLabs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLabs_ListLabs() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Labs/listLabs.json @@ -45,12 +45,11 @@ public async Task GetLabs_ListLabs() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // getLab - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetLab() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Labs/getLab.json @@ -79,9 +78,8 @@ public async Task Get_GetLab() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // patchLab - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchLab() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Labs/patchLab.json @@ -118,9 +116,8 @@ public async Task Update_PatchLab() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // deleteLab - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteLab() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Labs/deleteLab.json @@ -142,12 +139,11 @@ public async Task Delete_DeleteLab() // invoke the operation await lab.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // publishLab - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Publish_PublishLab() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Labs/publishLab.json @@ -169,12 +165,11 @@ public async Task Publish_PublishLab() // invoke the operation await lab.PublishAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // syncLab - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SyncGroup_SyncLab() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Labs/syncLab.json @@ -196,7 +191,7 @@ public async Task SyncGroup_SyncLab() // invoke the operation await lab.SyncGroupAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabServicesScheduleCollection.cs b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabServicesScheduleCollection.cs index 9498a4dec05b6..596df5e2b5940 100644 --- a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabServicesScheduleCollection.cs +++ b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabServicesScheduleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.LabServices.Models; +using NUnit.Framework; namespace Azure.ResourceManager.LabServices.Samples { public partial class Sample_LabServicesScheduleCollection { - // getListSchedule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetListSchedule() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Schedules/listSchedule.json @@ -49,12 +49,11 @@ public async Task GetAll_GetListSchedule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // getSchedule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSchedule() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Schedules/getSchedule.json @@ -87,9 +86,8 @@ public async Task Get_GetSchedule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // getSchedule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSchedule() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Schedules/getSchedule.json @@ -118,9 +116,8 @@ public async Task Exists_GetSchedule() Console.WriteLine($"Succeeded: {result}"); } - // getSchedule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSchedule() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Schedules/getSchedule.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetSchedule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetSchedule() } } - // putSchedule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutSchedule() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Schedules/putSchedule.json diff --git a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabServicesScheduleResource.cs b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabServicesScheduleResource.cs index 49dcfa4126dc8..8f0c4e0f1dc88 100644 --- a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabServicesScheduleResource.cs +++ b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabServicesScheduleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.LabServices.Models; +using NUnit.Framework; namespace Azure.ResourceManager.LabServices.Samples { public partial class Sample_LabServicesScheduleResource { - // getSchedule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSchedule() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Schedules/getSchedule.json @@ -47,9 +47,8 @@ public async Task Get_GetSchedule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // patchSchedule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchSchedule() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Schedules/patchSchedule.json @@ -86,9 +85,8 @@ public async Task Update_PatchSchedule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // deleteSchedule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSchedule() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Schedules/deleteSchedule.json @@ -111,7 +109,7 @@ public async Task Delete_DeleteSchedule() // invoke the operation await labServicesSchedule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabUserCollection.cs b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabUserCollection.cs index 4a9d6f2bc5a40..087500cf1c483 100644 --- a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabUserCollection.cs +++ b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabUserCollection.cs @@ -10,14 +10,14 @@ using System.Xml; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.LabServices.Samples { public partial class Sample_LabUserCollection { - // listUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListUser() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Users/listUser.json @@ -49,12 +49,11 @@ public async Task GetAll_ListUser() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // getUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetUser() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Users/getUser.json @@ -87,9 +86,8 @@ public async Task Get_GetUser() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // getUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetUser() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Users/getUser.json @@ -118,9 +116,8 @@ public async Task Exists_GetUser() Console.WriteLine($"Succeeded: {result}"); } - // getUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetUser() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Users/getUser.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetUser() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetUser() } } - // putUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutUser() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Users/putUser.json diff --git a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabUserResource.cs b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabUserResource.cs index 190b1fa75eef9..107bc0d230b1a 100644 --- a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabUserResource.cs +++ b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabUserResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.LabServices.Models; +using NUnit.Framework; namespace Azure.ResourceManager.LabServices.Samples { public partial class Sample_LabUserResource { - // getUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetUser() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Users/getUser.json @@ -48,9 +48,8 @@ public async Task Get_GetUser() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // patchUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchUser() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Users/patchUser.json @@ -85,9 +84,8 @@ public async Task Update_PatchUser() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // deleteUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteUser() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Users/deleteUser.json @@ -110,12 +108,11 @@ public async Task Delete_DeleteUser() // invoke the operation await labUser.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // inviteUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Invite_InviteUser() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Users/inviteUser.json @@ -142,7 +139,7 @@ public async Task Invite_InviteUser() }; await labUser.InviteAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabVirtualMachineCollection.cs b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabVirtualMachineCollection.cs index e937edf7c4a84..c85887b710e1a 100644 --- a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabVirtualMachineCollection.cs +++ b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabVirtualMachineCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.LabServices.Samples { public partial class Sample_LabVirtualMachineCollection { - // listVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListVirtualMachine() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/VirtualMachines/listVirtualMachine.json @@ -48,12 +48,11 @@ public async Task GetAll_ListVirtualMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // getVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualMachine() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/VirtualMachines/getVirtualMachine.json @@ -86,9 +85,8 @@ public async Task Get_GetVirtualMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // getVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVirtualMachine() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/VirtualMachines/getVirtualMachine.json @@ -117,9 +115,8 @@ public async Task Exists_GetVirtualMachine() Console.WriteLine($"Succeeded: {result}"); } - // getVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVirtualMachine() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/VirtualMachines/getVirtualMachine.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetVirtualMachine() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabVirtualMachineImageCollection.cs b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabVirtualMachineImageCollection.cs index 3bda69a4810b2..18bed3207405d 100644 --- a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabVirtualMachineImageCollection.cs +++ b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabVirtualMachineImageCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.LabServices.Models; +using NUnit.Framework; namespace Azure.ResourceManager.LabServices.Samples { public partial class Sample_LabVirtualMachineImageCollection { - // listImages - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListImages() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Images/listImages.json @@ -49,12 +49,11 @@ public async Task GetAll_ListImages() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // getImage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetImage() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Images/getImage.json @@ -87,9 +86,8 @@ public async Task Get_GetImage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // getImage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetImage() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Images/getImage.json @@ -118,9 +116,8 @@ public async Task Exists_GetImage() Console.WriteLine($"Succeeded: {result}"); } - // getImage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetImage() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Images/getImage.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetImage() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetImage() } } - // putImage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutImage() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Images/putImage.json diff --git a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabVirtualMachineImageResource.cs b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabVirtualMachineImageResource.cs index 0bef9f4dd37c7..82a94f5c15af4 100644 --- a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabVirtualMachineImageResource.cs +++ b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabVirtualMachineImageResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.LabServices.Models; +using NUnit.Framework; namespace Azure.ResourceManager.LabServices.Samples { public partial class Sample_LabVirtualMachineImageResource { - // getImage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetImage() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Images/getImage.json @@ -47,9 +47,8 @@ public async Task Get_GetImage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // patchImage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchImage() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Images/patchImage.json diff --git a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabVirtualMachineResource.cs b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabVirtualMachineResource.cs index 6e46233bebcf3..e1d3f4a84c6a6 100644 --- a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabVirtualMachineResource.cs +++ b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_LabVirtualMachineResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.LabServices.Models; +using NUnit.Framework; namespace Azure.ResourceManager.LabServices.Samples { public partial class Sample_LabVirtualMachineResource { - // getVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualMachine() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/VirtualMachines/getVirtualMachine.json @@ -47,9 +47,8 @@ public async Task Get_GetVirtualMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // startVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_StartVirtualMachine() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/VirtualMachines/startVirtualMachine.json @@ -72,12 +71,11 @@ public async Task Start_StartVirtualMachine() // invoke the operation await labVirtualMachine.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // stopVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_StopVirtualMachine() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/VirtualMachines/stopVirtualMachine.json @@ -100,12 +98,11 @@ public async Task Stop_StopVirtualMachine() // invoke the operation await labVirtualMachine.StopAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // reimageVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reimage_ReimageVirtualMachine() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/VirtualMachines/reimageVirtualMachine.json @@ -128,12 +125,11 @@ public async Task Reimage_ReimageVirtualMachine() // invoke the operation await labVirtualMachine.ReimageAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // redeployVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Redeploy_RedeployVirtualMachine() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/VirtualMachines/redeployVirtualMachine.json @@ -156,12 +152,11 @@ public async Task Redeploy_RedeployVirtualMachine() // invoke the operation await labVirtualMachine.RedeployAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // resetPasswordVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResetPassword_ResetPasswordVirtualMachine() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/VirtualMachines/resetPasswordVirtualMachine.json @@ -185,7 +180,7 @@ public async Task ResetPassword_ResetPasswordVirtualMachine() LabVirtualMachineResetPasswordContent content = new LabVirtualMachineResetPasswordContent("example-username", "example-password"); await labVirtualMachine.ResetPasswordAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 1934babe43c58..63af3dd5b4940 100644 --- a/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/labservices/Azure.ResourceManager.LabServices/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.LabServices.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.LabServices.Samples { public partial class Sample_SubscriptionResourceExtensions { - // listSkus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSkus_ListSkus() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Skus/listSkus.json @@ -41,12 +41,11 @@ public async Task GetSkus_ListSkus() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // listUsages - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsages_ListUsages() { // Generated from example definition: specification/labservices/resource-manager/Microsoft.LabServices/stable/2022-08-01/examples/Usages/getUsages.json @@ -70,7 +69,7 @@ public async Task GetUsages_ListUsages() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/loadtestservice/Azure.ResourceManager.LoadTesting/samples/Generated/Samples/Sample_LoadTestingQuotaCollection.cs b/sdk/loadtestservice/Azure.ResourceManager.LoadTesting/samples/Generated/Samples/Sample_LoadTestingQuotaCollection.cs index 6be2ee550f1b1..affdf903629cd 100644 --- a/sdk/loadtestservice/Azure.ResourceManager.LoadTesting/samples/Generated/Samples/Sample_LoadTestingQuotaCollection.cs +++ b/sdk/loadtestservice/Azure.ResourceManager.LoadTesting/samples/Generated/Samples/Sample_LoadTestingQuotaCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.LoadTesting.Samples { public partial class Sample_LoadTestingQuotaCollection { - // Quotas_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_QuotasList() { // Generated from example definition: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/Quotas_List.json @@ -48,12 +48,11 @@ public async Task GetAll_QuotasList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Quotas_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotasGet() { // Generated from example definition: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/Quotas_Get.json @@ -85,9 +84,8 @@ public async Task Get_QuotasGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Quotas_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_QuotasGet() { // Generated from example definition: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/Quotas_Get.json @@ -115,9 +113,8 @@ public async Task Exists_QuotasGet() Console.WriteLine($"Succeeded: {result}"); } - // Quotas_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_QuotasGet() { // Generated from example definition: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/Quotas_Get.json @@ -145,7 +142,7 @@ public async Task GetIfExists_QuotasGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/loadtestservice/Azure.ResourceManager.LoadTesting/samples/Generated/Samples/Sample_LoadTestingQuotaResource.cs b/sdk/loadtestservice/Azure.ResourceManager.LoadTesting/samples/Generated/Samples/Sample_LoadTestingQuotaResource.cs index be4d0c5c50ae2..bf6a7702620bf 100644 --- a/sdk/loadtestservice/Azure.ResourceManager.LoadTesting/samples/Generated/Samples/Sample_LoadTestingQuotaResource.cs +++ b/sdk/loadtestservice/Azure.ResourceManager.LoadTesting/samples/Generated/Samples/Sample_LoadTestingQuotaResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.LoadTesting.Models; +using NUnit.Framework; namespace Azure.ResourceManager.LoadTesting.Samples { public partial class Sample_LoadTestingQuotaResource { - // Quotas_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotasGet() { // Generated from example definition: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/Quotas_Get.json @@ -46,9 +46,8 @@ public async Task Get_QuotasGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Quotas_CheckAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckLoadTestingQuotaAvailability_QuotasCheckAvailability() { // Generated from example definition: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/Quotas_CheckAvailability.json diff --git a/sdk/loadtestservice/Azure.ResourceManager.LoadTesting/samples/Generated/Samples/Sample_LoadTestingResource.cs b/sdk/loadtestservice/Azure.ResourceManager.LoadTesting/samples/Generated/Samples/Sample_LoadTestingResource.cs index 56079690349ce..13f651393f771 100644 --- a/sdk/loadtestservice/Azure.ResourceManager.LoadTesting/samples/Generated/Samples/Sample_LoadTestingResource.cs +++ b/sdk/loadtestservice/Azure.ResourceManager.LoadTesting/samples/Generated/Samples/Sample_LoadTestingResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.LoadTesting.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.LoadTesting.Samples { public partial class Sample_LoadTestingResource { - // LoadTests_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLoadTestingResources_LoadTestsListBySubscription() { // Generated from example definition: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/LoadTests_ListBySubscription.json @@ -46,12 +46,11 @@ public async Task GetLoadTestingResources_LoadTestsListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LoadTests_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LoadTestsGet() { // Generated from example definition: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/LoadTests_Get.json @@ -80,9 +79,8 @@ public async Task Get_LoadTestsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LoadTests_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_LoadTestsUpdate() { // Generated from example definition: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/LoadTests_Update.json @@ -137,9 +135,8 @@ public async Task Update_LoadTestsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LoadTests_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_LoadTestsDelete() { // Generated from example definition: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/LoadTests_Delete.json @@ -161,12 +158,11 @@ public async Task Delete_LoadTestsDelete() // invoke the operation await loadTestingResource.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListOutboundNetworkDependencies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOutboundNetworkDependenciesEndpoints_ListOutboundNetworkDependencies() { // Generated from example definition: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/LoadTests_ListOutboundNetworkDependenciesEndpoints.json @@ -191,7 +187,7 @@ public async Task GetOutboundNetworkDependenciesEndpoints_ListOutboundNetworkDep Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/loadtestservice/Azure.ResourceManager.LoadTesting/samples/Generated/Samples/Sample_LoadTestingResourceCollection.cs b/sdk/loadtestservice/Azure.ResourceManager.LoadTesting/samples/Generated/Samples/Sample_LoadTestingResourceCollection.cs index 4e931d22c77d1..44860c0aa9069 100644 --- a/sdk/loadtestservice/Azure.ResourceManager.LoadTesting/samples/Generated/Samples/Sample_LoadTestingResourceCollection.cs +++ b/sdk/loadtestservice/Azure.ResourceManager.LoadTesting/samples/Generated/Samples/Sample_LoadTestingResourceCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.LoadTesting.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.LoadTesting.Samples { public partial class Sample_LoadTestingResourceCollection { - // LoadTests_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_LoadTestsListByResourceGroup() { // Generated from example definition: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/LoadTests_ListByResourceGroup.json @@ -50,12 +50,11 @@ public async Task GetAll_LoadTestsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LoadTests_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LoadTestsGet() { // Generated from example definition: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/LoadTests_Get.json @@ -87,9 +86,8 @@ public async Task Get_LoadTestsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LoadTests_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_LoadTestsGet() { // Generated from example definition: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/LoadTests_Get.json @@ -117,9 +115,8 @@ public async Task Exists_LoadTestsGet() Console.WriteLine($"Succeeded: {result}"); } - // LoadTests_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_LoadTestsGet() { // Generated from example definition: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/LoadTests_Get.json @@ -147,7 +144,7 @@ public async Task GetIfExists_LoadTestsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_LoadTestsGet() } } - // LoadTests_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_LoadTestsCreateOrUpdate() { // Generated from example definition: specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/examples/LoadTests_CreateOrUpdate.json diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountAgreementCollection.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountAgreementCollection.cs index 53d761f4fd6e0..cbb6b22e007bc 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountAgreementCollection.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountAgreementCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Logic.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_IntegrationAccountAgreementCollection { - // Get agreements by integration account name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAgreementsByIntegrationAccountName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAgreements_List.json @@ -50,12 +50,11 @@ public async Task GetAll_GetAgreementsByIntegrationAccountName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get agreement by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAgreementByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAgreements_Get.json @@ -88,9 +87,8 @@ public async Task Get_GetAgreementByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get agreement by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAgreementByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAgreements_Get.json @@ -119,9 +117,8 @@ public async Task Exists_GetAgreementByName() Console.WriteLine($"Succeeded: {result}"); } - // Get agreement by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAgreementByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAgreements_Get.json @@ -150,7 +147,7 @@ public async Task GetIfExists_GetAgreementByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_GetAgreementByName() } } - // Create or update an agreement - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnAgreement() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAgreements_CreateOrUpdate.json diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountAgreementResource.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountAgreementResource.cs index 66de6dcbf8df3..de6b0d6c19a94 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountAgreementResource.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountAgreementResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Logic.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_IntegrationAccountAgreementResource { - // Get agreement by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAgreementByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAgreements_Get.json @@ -48,9 +48,8 @@ public async Task Get_GetAgreementByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update an agreement - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAnAgreement() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAgreements_CreateOrUpdate.json @@ -104,9 +103,8 @@ public async Task Update_CreateOrUpdateAnAgreement() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an agreement - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnAgreement() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAgreements_Delete.json @@ -129,12 +127,11 @@ public async Task Delete_DeleteAnAgreement() // invoke the operation await integrationAccountAgreement.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the content callback url - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContentCallbackUrl_GetTheContentCallbackUrl() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAgreements_ListContentCallbackUrl.json diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountAssemblyDefinitionCollection.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountAssemblyDefinitionCollection.cs index b0faddacd9d9b..5b1e14abd23c8 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountAssemblyDefinitionCollection.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountAssemblyDefinitionCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Logic.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_IntegrationAccountAssemblyDefinitionCollection { - // List integration account assemblies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListIntegrationAccountAssemblies() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAssemblies_List.json @@ -50,12 +50,11 @@ public async Task GetAll_ListIntegrationAccountAssemblies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an integration account assembly - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnIntegrationAccountAssembly() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAssemblies_Get.json @@ -88,9 +87,8 @@ public async Task Get_GetAnIntegrationAccountAssembly() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an integration account assembly - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnIntegrationAccountAssembly() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAssemblies_Get.json @@ -119,9 +117,8 @@ public async Task Exists_GetAnIntegrationAccountAssembly() Console.WriteLine($"Succeeded: {result}"); } - // Get an integration account assembly - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnIntegrationAccountAssembly() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAssemblies_Get.json @@ -150,7 +147,7 @@ public async Task GetIfExists_GetAnIntegrationAccountAssembly() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_GetAnIntegrationAccountAssembly() } } - // Create or update an account assembly - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnAccountAssembly() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAssemblies_CreateOrUpdate.json diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountAssemblyDefinitionResource.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountAssemblyDefinitionResource.cs index 72aab9a4460ef..2f022dc1aa0f5 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountAssemblyDefinitionResource.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountAssemblyDefinitionResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Logic.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_IntegrationAccountAssemblyDefinitionResource { - // Get an integration account assembly - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnIntegrationAccountAssembly() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAssemblies_Get.json @@ -48,9 +48,8 @@ public async Task Get_GetAnIntegrationAccountAssembly() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update an account assembly - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAnAccountAssembly() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAssemblies_CreateOrUpdate.json @@ -88,9 +87,8 @@ public async Task Update_CreateOrUpdateAnAccountAssembly() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an integration account assembly - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnIntegrationAccountAssembly() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAssemblies_Delete.json @@ -113,12 +111,11 @@ public async Task Delete_DeleteAnIntegrationAccountAssembly() // invoke the operation await integrationAccountAssemblyDefinition.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the callback url for an integration account assembly - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContentCallbackUrl_GetTheCallbackUrlForAnIntegrationAccountAssembly() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountAssemblies_ListContentCallbackUrl.json diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountBatchConfigurationCollection.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountBatchConfigurationCollection.cs index 942762a5bd324..20573e1f08013 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountBatchConfigurationCollection.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountBatchConfigurationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Logic.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_IntegrationAccountBatchConfigurationCollection { - // List batch configurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListBatchConfigurations() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountBatchConfigurations_List.json @@ -49,12 +49,11 @@ public async Task GetAll_ListBatchConfigurations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a batch configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetABatchConfiguration() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountBatchConfigurations_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetABatchConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a batch configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetABatchConfiguration() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountBatchConfigurations_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetABatchConfiguration() Console.WriteLine($"Succeeded: {result}"); } - // Get a batch configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetABatchConfiguration() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountBatchConfigurations_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetABatchConfiguration() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetABatchConfiguration() } } - // Create or update a batch configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateABatchConfiguration() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountBatchConfigurations_CreateOrUpdate.json diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountBatchConfigurationResource.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountBatchConfigurationResource.cs index 30a4a070080f6..2878c2c28057a 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountBatchConfigurationResource.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountBatchConfigurationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Logic.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_IntegrationAccountBatchConfigurationResource { - // Get a batch configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetABatchConfiguration() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountBatchConfigurations_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetABatchConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a batch configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateABatchConfiguration() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountBatchConfigurations_CreateOrUpdate.json @@ -92,9 +91,8 @@ public async Task Update_CreateOrUpdateABatchConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a batch configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteABatchConfiguration() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountBatchConfigurations_Delete.json @@ -117,7 +115,7 @@ public async Task Delete_DeleteABatchConfiguration() // invoke the operation await integrationAccountBatchConfiguration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountCertificateCollection.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountCertificateCollection.cs index 036f8afd93d0d..199153f21f63d 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountCertificateCollection.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountCertificateCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Logic.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_IntegrationAccountCertificateCollection { - // Get certificates by integration account name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetCertificatesByIntegrationAccountName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountCertificates_List.json @@ -49,12 +49,11 @@ public async Task GetAll_GetCertificatesByIntegrationAccountName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get certificate by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCertificateByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountCertificates_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetCertificateByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get certificate by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCertificateByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountCertificates_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetCertificateByName() Console.WriteLine($"Succeeded: {result}"); } - // Get certificate by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCertificateByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountCertificates_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetCertificateByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetCertificateByName() } } - // Create or update a certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateACertificate() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountCertificates_CreateOrUpdate.json diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountCertificateResource.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountCertificateResource.cs index d0bacaea9f96d..f7c9074e885e8 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountCertificateResource.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountCertificateResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Logic.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_IntegrationAccountCertificateResource { - // Get certificate by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCertificateByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountCertificates_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetCertificateByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateACertificate() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountCertificates_CreateOrUpdate.json @@ -89,9 +88,8 @@ public async Task Update_CreateOrUpdateACertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteACertificate() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountCertificates_Delete.json @@ -114,7 +112,7 @@ public async Task Delete_DeleteACertificate() // invoke the operation await integrationAccountCertificate.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountCollection.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountCollection.cs index b88e666b11628..ec2ff7555df80 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountCollection.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Logic.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_IntegrationAccountCollection { - // List integration accounts by resource group name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListIntegrationAccountsByResourceGroupName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccounts_ListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListIntegrationAccountsByResourceGroupName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get integration account by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetIntegrationAccountByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccounts_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetIntegrationAccountByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get integration account by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetIntegrationAccountByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccounts_Get.json @@ -116,9 +114,8 @@ public async Task Exists_GetIntegrationAccountByName() Console.WriteLine($"Succeeded: {result}"); } - // Get integration account by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetIntegrationAccountByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccounts_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetIntegrationAccountByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetIntegrationAccountByName() } } - // Create or update an integration account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnIntegrationAccount() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccounts_CreateOrUpdate.json diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountMapCollection.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountMapCollection.cs index 3db078c5d71f1..901efe22c3b6b 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountMapCollection.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountMapCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Logic.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_IntegrationAccountMapCollection { - // Get maps by integration account name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetMapsByIntegrationAccountName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountMaps_List.json @@ -50,12 +50,11 @@ public async Task GetAll_GetMapsByIntegrationAccountName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get map by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMapByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountMaps_Get.json @@ -88,9 +87,8 @@ public async Task Get_GetMapByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get map by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetMapByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountMaps_Get.json @@ -119,9 +117,8 @@ public async Task Exists_GetMapByName() Console.WriteLine($"Succeeded: {result}"); } - // Get map by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetMapByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountMaps_Get.json @@ -150,7 +147,7 @@ public async Task GetIfExists_GetMapByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_GetMapByName() } } - // Create or update a map - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAMap() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountMaps_CreateOrUpdate.json @@ -206,9 +202,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAMap() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a map larger than 4 MB - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAMapLargerThan4MB() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountLargeMaps_CreateOrUpdate.json diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountMapResource.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountMapResource.cs index 0bddc34e14127..44509b1e35b23 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountMapResource.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountMapResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Logic.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_IntegrationAccountMapResource { - // Get map by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMapByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountMaps_Get.json @@ -48,9 +48,8 @@ public async Task Get_GetMapByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a map - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAMap() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountMaps_CreateOrUpdate.json @@ -89,9 +88,8 @@ public async Task Update_CreateOrUpdateAMap() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a map larger than 4 MB - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAMapLargerThan4MB() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountLargeMaps_CreateOrUpdate.json @@ -129,9 +127,8 @@ public async Task Update_CreateOrUpdateAMapLargerThan4MB() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a map - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAMap() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountMaps_Delete.json @@ -154,12 +151,11 @@ public async Task Delete_DeleteAMap() // invoke the operation await integrationAccountMap.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the content callback url - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContentCallbackUrl_GetTheContentCallbackUrl() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountMaps_ListContentCallbackUrl.json diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountPartnerCollection.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountPartnerCollection.cs index bdb9bae764c29..0c0912d5b74e7 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountPartnerCollection.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountPartnerCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Logic.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_IntegrationAccountPartnerCollection { - // Get partners by integration account name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetPartnersByIntegrationAccountName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountPartners_List.json @@ -50,12 +50,11 @@ public async Task GetAll_GetPartnersByIntegrationAccountName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get partner by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPartnerByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountPartners_Get.json @@ -88,9 +87,8 @@ public async Task Get_GetPartnerByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get partner by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPartnerByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountPartners_Get.json @@ -119,9 +117,8 @@ public async Task Exists_GetPartnerByName() Console.WriteLine($"Succeeded: {result}"); } - // Get partner by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPartnerByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountPartners_Get.json @@ -150,7 +147,7 @@ public async Task GetIfExists_GetPartnerByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_GetPartnerByName() } } - // Create or update a partner - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAPartner() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountPartners_CreateOrUpdate.json diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountPartnerResource.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountPartnerResource.cs index 27617995cacfe..bad203a5e4334 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountPartnerResource.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountPartnerResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Logic.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_IntegrationAccountPartnerResource { - // Get partner by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPartnerByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountPartners_Get.json @@ -48,9 +48,8 @@ public async Task Get_GetPartnerByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a partner - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAPartner() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountPartners_CreateOrUpdate.json @@ -96,9 +95,8 @@ public async Task Update_CreateOrUpdateAPartner() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a partner - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAPartner() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountPartners_Delete.json @@ -121,12 +119,11 @@ public async Task Delete_DeleteAPartner() // invoke the operation await integrationAccountPartner.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the content callback url - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContentCallbackUrl_GetTheContentCallbackUrl() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountPartners_ListContentCallbackUrl.json diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountResource.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountResource.cs index a7086d2b22cad..e90829127dca1 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountResource.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountResource.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Logic.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_IntegrationAccountResource { - // List integration accounts by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIntegrationAccounts_ListIntegrationAccountsBySubscription() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccounts_ListBySubscription.json @@ -46,12 +46,11 @@ public async Task GetIntegrationAccounts_ListIntegrationAccountsBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get integration account by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetIntegrationAccountByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccounts_Get.json @@ -80,9 +79,8 @@ public async Task Get_GetIntegrationAccountByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch an integration account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchAnIntegrationAccount() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccounts_Update.json @@ -115,9 +113,8 @@ public async Task Update_PatchAnIntegrationAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an integration account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnIntegrationAccount() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccounts_Delete.json @@ -139,12 +136,11 @@ public async Task Delete_DeleteAnIntegrationAccount() // invoke the operation await integrationAccount.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List IntegrationAccount callback URL - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCallbackUrl_ListIntegrationAccountCallbackURL() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccounts_ListCallbackUrl.json @@ -174,9 +170,8 @@ public async Task GetCallbackUrl_ListIntegrationAccountCallbackURL() Console.WriteLine($"Succeeded: {result}"); } - // Get Integration Account callback URL - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeyVaultKeys_GetIntegrationAccountCallbackURL() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccounts_ListKeyVaultKeys.json @@ -208,12 +203,11 @@ public async Task GetKeyVaultKeys_GetIntegrationAccountCallbackURL() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Log a tracked event - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task LogTrackingEvents_LogATrackedEvent() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccounts_LogTrackingEvents.json @@ -269,12 +263,11 @@ public async Task LogTrackingEvents_LogATrackedEvent() }); await integrationAccount.LogTrackingEventsAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Regenerate access key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateAccessKey_RegenerateAccessKey() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccounts_RegenerateAccessKey.json diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountSchemaCollection.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountSchemaCollection.cs index 786d0fa215c27..343d99902409c 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountSchemaCollection.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountSchemaCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Logic.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_IntegrationAccountSchemaCollection { - // Get schemas by integration account name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetSchemasByIntegrationAccountName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSchemas_List.json @@ -50,12 +50,11 @@ public async Task GetAll_GetSchemasByIntegrationAccountName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get schema by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSchemaByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSchemas_Get.json @@ -88,9 +87,8 @@ public async Task Get_GetSchemaByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get schema by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSchemaByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSchemas_Get.json @@ -119,9 +117,8 @@ public async Task Exists_GetSchemaByName() Console.WriteLine($"Succeeded: {result}"); } - // Get schema by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSchemaByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSchemas_Get.json @@ -150,7 +147,7 @@ public async Task GetIfExists_GetSchemaByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_GetSchemaByName() } } - // Create or update schema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateSchema() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSchemas_CreateOrUpdate.json diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountSchemaResource.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountSchemaResource.cs index 28039378a4b13..81b644b7df633 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountSchemaResource.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountSchemaResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Logic.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_IntegrationAccountSchemaResource { - // Get schema by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSchemaByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSchemas_Get.json @@ -48,9 +48,8 @@ public async Task Get_GetSchemaByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update schema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateSchema() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSchemas_CreateOrUpdate.json @@ -93,9 +92,8 @@ public async Task Update_CreateOrUpdateSchema() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a schema by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteASchemaByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSchemas_Delete.json @@ -118,12 +116,11 @@ public async Task Delete_DeleteASchemaByName() // invoke the operation await integrationAccountSchema.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the content callback url - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContentCallbackUrl_GetTheContentCallbackUrl() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSchemas_ListContentCallbackUrl.json diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountSessionCollection.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountSessionCollection.cs index 531ce8289b07a..1bb75e79aac8f 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountSessionCollection.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountSessionCollection.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_IntegrationAccountSessionCollection { - // Get a list of integration account sessions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAListOfIntegrationAccountSessions() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSessions_List.json @@ -49,12 +49,11 @@ public async Task GetAll_GetAListOfIntegrationAccountSessions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an integration account session - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnIntegrationAccountSession() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSessions_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetAnIntegrationAccountSession() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an integration account session - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnIntegrationAccountSession() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSessions_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetAnIntegrationAccountSession() Console.WriteLine($"Succeeded: {result}"); } - // Get an integration account session - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnIntegrationAccountSession() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSessions_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetAnIntegrationAccountSession() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetAnIntegrationAccountSession() } } - // Create or update an integration account session - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnIntegrationAccountSession() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSessions_CreateOrUpdate.json diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountSessionResource.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountSessionResource.cs index 7aa0d51b44621..5af42e1e69180 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountSessionResource.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationAccountSessionResource.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_IntegrationAccountSessionResource { - // Get an integration account session - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnIntegrationAccountSession() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSessions_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetAnIntegrationAccountSession() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update an integration account session - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAnIntegrationAccountSession() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSessions_CreateOrUpdate.json @@ -88,9 +87,8 @@ public async Task Update_CreateOrUpdateAnIntegrationAccountSession() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an integration account session - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnIntegrationAccountSession() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationAccountSessions_Delete.json @@ -113,7 +111,7 @@ public async Task Delete_DeleteAnIntegrationAccountSession() // invoke the operation await integrationAccountSession.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationServiceEnvironmentCollection.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationServiceEnvironmentCollection.cs index 15ce047803ce9..9f486dc270c51 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationServiceEnvironmentCollection.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationServiceEnvironmentCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Logic.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_IntegrationServiceEnvironmentCollection { - // List integration service environments by resource group name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListIntegrationServiceEnvironmentsByResourceGroupName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_ListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListIntegrationServiceEnvironmentsByResourceGroupName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get integration service environment by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetIntegrationServiceEnvironmentByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetIntegrationServiceEnvironmentByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get integration service environment by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetIntegrationServiceEnvironmentByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_Get.json @@ -116,9 +114,8 @@ public async Task Exists_GetIntegrationServiceEnvironmentByName() Console.WriteLine($"Succeeded: {result}"); } - // Get integration service environment by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetIntegrationServiceEnvironmentByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetIntegrationServiceEnvironmentByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetIntegrationServiceEnvironmentByName() } } - // Create or update an integration service environment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnIntegrationServiceEnvironment() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_Put.json diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationServiceEnvironmentManagedApiCollection.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationServiceEnvironmentManagedApiCollection.cs index 3e1ec82fcf1e9..29ae11ab260cc 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationServiceEnvironmentManagedApiCollection.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationServiceEnvironmentManagedApiCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_IntegrationServiceEnvironmentManagedApiCollection { - // Gets the integration service environment managed Apis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheIntegrationServiceEnvironmentManagedApis() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_ManagedApis_List.json @@ -48,12 +48,11 @@ public async Task GetAll_GetsTheIntegrationServiceEnvironmentManagedApis() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the integration service environment managed Apis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheIntegrationServiceEnvironmentManagedApis() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_ManagedApis_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetsTheIntegrationServiceEnvironmentManagedApis() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the integration service environment managed Apis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheIntegrationServiceEnvironmentManagedApis() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_ManagedApis_Get.json @@ -117,9 +115,8 @@ public async Task Exists_GetsTheIntegrationServiceEnvironmentManagedApis() Console.WriteLine($"Succeeded: {result}"); } - // Gets the integration service environment managed Apis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheIntegrationServiceEnvironmentManagedApis() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_ManagedApis_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetsTheIntegrationServiceEnvironmentManagedApis() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GetsTheIntegrationServiceEnvironmentManagedApis() } } - // Gets the integration service environment managed Apis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_GetsTheIntegrationServiceEnvironmentManagedApis() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_ManagedApis_Put.json diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationServiceEnvironmentManagedApiResource.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationServiceEnvironmentManagedApiResource.cs index 262e6fa49192c..2437801670696 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationServiceEnvironmentManagedApiResource.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationServiceEnvironmentManagedApiResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Logic.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_IntegrationServiceEnvironmentManagedApiResource { - // Gets the integration service environment managed Apis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheIntegrationServiceEnvironmentManagedApis() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_ManagedApis_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetsTheIntegrationServiceEnvironmentManagedApis() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the integration service environment managed Apis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_GetsTheIntegrationServiceEnvironmentManagedApis() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_ManagedApis_Put.json @@ -81,9 +80,8 @@ public async Task Update_GetsTheIntegrationServiceEnvironmentManagedApis() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes the integration service environment managed Apis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesTheIntegrationServiceEnvironmentManagedApis() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_ManagedApis_Delete.json @@ -106,12 +104,11 @@ public async Task Delete_DeletesTheIntegrationServiceEnvironmentManagedApis() // invoke the operation await integrationServiceEnvironmentManagedApi.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the integration service environment managed Apis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIntegrationServiceEnvironmentManagedApiOperations_GetsTheIntegrationServiceEnvironmentManagedApis() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_ManagedApis_ListApiOperations.json @@ -137,7 +134,7 @@ public async Task GetIntegrationServiceEnvironmentManagedApiOperations_GetsTheIn Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationServiceEnvironmentResource.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationServiceEnvironmentResource.cs index 16db607510041..090acce281a8a 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationServiceEnvironmentResource.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_IntegrationServiceEnvironmentResource.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Logic.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_IntegrationServiceEnvironmentResource { - // List integration service environments by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIntegrationServiceEnvironments_ListIntegrationServiceEnvironmentsBySubscription() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_ListBySubscription.json @@ -46,12 +46,11 @@ public async Task GetIntegrationServiceEnvironments_ListIntegrationServiceEnviro Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get integration service environment by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetIntegrationServiceEnvironmentByName() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_Get.json @@ -80,9 +79,8 @@ public async Task Get_GetIntegrationServiceEnvironmentByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch an integration service environment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchAnIntegrationServiceEnvironment() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_Patch.json @@ -124,9 +122,8 @@ public async Task Update_PatchAnIntegrationServiceEnvironment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an integration account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnIntegrationAccount() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_Delete.json @@ -148,12 +145,11 @@ public async Task Delete_DeleteAnIntegrationAccount() // invoke the operation await integrationServiceEnvironment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Restarts an integration service environment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_RestartsAnIntegrationServiceEnvironment() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_Restart.json @@ -175,12 +171,11 @@ public async Task Restart_RestartsAnIntegrationServiceEnvironment() // invoke the operation await integrationServiceEnvironment.RestartAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List integration service environment skus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIntegrationServiceEnvironmentSkus_ListIntegrationServiceEnvironmentSkus() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_Skus.json @@ -205,12 +200,11 @@ public async Task GetIntegrationServiceEnvironmentSkus_ListIntegrationServiceEnv Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the integration service environment network health - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIntegrationServiceEnvironmentNetworkHealth_GetsTheIntegrationServiceEnvironmentNetworkHealth() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/IntegrationServiceEnvironments_NetworkHealth.json diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowCollection.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowCollection.cs index bbe09ca9e1431..8cb1f6eedf06c 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowCollection.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Logic.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_LogicWorkflowCollection { - // List all workflows in a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllWorkflowsInAResourceGroup() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_ListByResourceGroup.json @@ -50,12 +50,11 @@ public async Task GetAll_ListAllWorkflowsInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkflow() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetAWorkflow() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAWorkflow() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_Get.json @@ -117,9 +115,8 @@ public async Task Exists_GetAWorkflow() Console.WriteLine($"Succeeded: {result}"); } - // Get a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAWorkflow() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_Get.json @@ -147,7 +144,7 @@ public async Task GetIfExists_GetAWorkflow() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_GetAWorkflow() } } - // Create or update a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAWorkflow() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_CreateOrUpdate.json diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowResource.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowResource.cs index 662857b411a31..0a16b240be36b 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowResource.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowResource.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Logic.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_LogicWorkflowResource { - // List all workflows in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLogicWorkflows_ListAllWorkflowsInASubscription() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_ListBySubscription.json @@ -46,12 +46,11 @@ public async Task GetLogicWorkflows_ListAllWorkflowsInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkflow() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_Get.json @@ -80,9 +79,8 @@ public async Task Get_GetAWorkflow() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAWorkflow() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_CreateOrUpdate.json @@ -189,9 +187,8 @@ public async Task Update_CreateOrUpdateAWorkflow() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAWorkflow() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_Delete.json @@ -213,12 +210,11 @@ public async Task Delete_DeleteAWorkflow() // invoke the operation await logicWorkflow.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Disable a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Disable_DisableAWorkflow() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_Disable.json @@ -240,12 +236,11 @@ public async Task Disable_DisableAWorkflow() // invoke the operation await logicWorkflow.DisableAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Enable a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Enable_EnableAWorkflow() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_Enable.json @@ -267,12 +262,11 @@ public async Task Enable_EnableAWorkflow() // invoke the operation await logicWorkflow.EnableAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Generate an upgraded definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateUpgradedDefinition_GenerateAnUpgradedDefinition() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_GenerateUpgradedDefinition.json @@ -301,9 +295,8 @@ public async Task GenerateUpgradedDefinition_GenerateAnUpgradedDefinition() Console.WriteLine($"Succeeded: {result}"); } - // Get callback url - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCallbackUrl_GetCallbackUrl() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_ListCallbackUrl.json @@ -333,9 +326,8 @@ public async Task GetCallbackUrl_GetCallbackUrl() Console.WriteLine($"Succeeded: {result}"); } - // Get the swagger for a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSwagger_GetTheSwaggerForAWorkflow() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_ListSwagger.json @@ -360,9 +352,8 @@ public async Task GetSwagger_GetTheSwaggerForAWorkflow() Console.WriteLine($"Succeeded: {result}"); } - // Move a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Move_MoveAWorkflow() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_Move.json @@ -388,12 +379,11 @@ public async Task Move_MoveAWorkflow() }; await logicWorkflow.MoveAsync(WaitUntil.Completed, move); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Regenerate the callback URL access key for request triggers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateAccessKey_RegenerateTheCallbackURLAccessKeyForRequestTriggers() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_RegenerateAccessKey.json @@ -419,12 +409,11 @@ public async Task RegenerateAccessKey_RegenerateTheCallbackURLAccessKeyForReques }; await logicWorkflow.RegenerateAccessKeyAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Validate a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateByResourceGroup_ValidateAWorkflow() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_ValidateByResourceGroup.json @@ -473,12 +462,11 @@ public async Task ValidateByResourceGroup_ValidateAWorkflow() }; await logicWorkflow.ValidateByResourceGroupAsync(data); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Validate a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateByLocationWorkflow_ValidateAWorkflow() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_ValidateByLocation.json @@ -528,7 +516,7 @@ public async Task ValidateByLocationWorkflow_ValidateAWorkflow() }; await resourceGroupResource.ValidateByLocationWorkflowAsync(location, workflowName, data); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionCollection.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionCollection.cs index 6648ffb840269..30547c6344d15 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionCollection.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_LogicWorkflowRunActionCollection { - // List a workflow run actions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAWorkflowRunActions() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActions_List.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAWorkflowRunActions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a workflow run action - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkflowRunAction() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActions_Get.json @@ -88,9 +87,8 @@ public async Task Get_GetAWorkflowRunAction() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a workflow run action - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAWorkflowRunAction() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActions_Get.json @@ -120,9 +118,8 @@ public async Task Exists_GetAWorkflowRunAction() Console.WriteLine($"Succeeded: {result}"); } - // Get a workflow run action - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAWorkflowRunAction() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActions_Get.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetAWorkflowRunAction() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionRepetitionCollection.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionRepetitionCollection.cs index d42a2dab87352..ba7eea99a2c17 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionRepetitionCollection.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionRepetitionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_LogicWorkflowRunActionRepetitionCollection { - // List repetitions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRepetitions() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionRepetitions_List.json @@ -50,12 +50,11 @@ public async Task GetAll_ListRepetitions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a repetition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARepetition() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionRepetitions_Get.json @@ -90,9 +89,8 @@ public async Task Get_GetARepetition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a repetition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetARepetition() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionRepetitions_Get.json @@ -123,9 +121,8 @@ public async Task Exists_GetARepetition() Console.WriteLine($"Succeeded: {result}"); } - // Get a repetition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetARepetition() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionRepetitions_Get.json @@ -156,7 +153,7 @@ public async Task GetIfExists_GetARepetition() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionRepetitionRequestHistoryCollection.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionRepetitionRequestHistoryCollection.cs index fb00daa650a66..57f5959ee6b66 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionRepetitionRequestHistoryCollection.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionRepetitionRequestHistoryCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_LogicWorkflowRunActionRepetitionRequestHistoryCollection { - // List repetition request history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRepetitionRequestHistory() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionRepetitionsRequestHistories_List.json @@ -51,12 +51,11 @@ public async Task GetAll_ListRepetitionRequestHistory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a repetition request history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARepetitionRequestHistory() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json @@ -92,9 +91,8 @@ public async Task Get_GetARepetitionRequestHistory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a repetition request history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetARepetitionRequestHistory() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json @@ -126,9 +124,8 @@ public async Task Exists_GetARepetitionRequestHistory() Console.WriteLine($"Succeeded: {result}"); } - // Get a repetition request history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetARepetitionRequestHistory() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json @@ -160,7 +157,7 @@ public async Task GetIfExists_GetARepetitionRequestHistory() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionRepetitionRequestHistoryResource.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionRepetitionRequestHistoryResource.cs index 06aec2877f729..6cdac1e5637a1 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionRepetitionRequestHistoryResource.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionRepetitionRequestHistoryResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_LogicWorkflowRunActionRepetitionRequestHistoryResource { - // Get a repetition request history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARepetitionRequestHistory() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionRepetitionResource.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionRepetitionResource.cs index 05cd222eeb471..65dfe57d12c09 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionRepetitionResource.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionRepetitionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Logic.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_LogicWorkflowRunActionRepetitionResource { - // Get a repetition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARepetition() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionRepetitions_Get.json @@ -49,9 +49,8 @@ public async Task Get_GetARepetition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List expression traces for a repetition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExpressionTraces_ListExpressionTracesForARepetition() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionRepetitions_ListExpressionTraces.json @@ -79,7 +78,7 @@ public async Task GetExpressionTraces_ListExpressionTracesForARepetition() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionRequestHistoryCollection.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionRequestHistoryCollection.cs index 57a693fdfefdf..281a77223583d 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionRequestHistoryCollection.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionRequestHistoryCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_LogicWorkflowRunActionRequestHistoryCollection { - // List a request history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListARequestHistory() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionRequestHistories_List.json @@ -50,12 +50,11 @@ public async Task GetAll_ListARequestHistory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a request history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARequestHistory() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionRequestHistories_Get.json @@ -90,9 +89,8 @@ public async Task Get_GetARequestHistory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a request history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetARequestHistory() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionRequestHistories_Get.json @@ -123,9 +121,8 @@ public async Task Exists_GetARequestHistory() Console.WriteLine($"Succeeded: {result}"); } - // Get a request history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetARequestHistory() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionRequestHistories_Get.json @@ -156,7 +153,7 @@ public async Task GetIfExists_GetARequestHistory() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionRequestHistoryResource.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionRequestHistoryResource.cs index fd371d4813634..b2fa4c78f1b96 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionRequestHistoryResource.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionRequestHistoryResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_LogicWorkflowRunActionRequestHistoryResource { - // Get a request history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARequestHistory() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionRequestHistories_Get.json diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionResource.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionResource.cs index 02b1a927de3e7..ab6f40fd2a3bc 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionResource.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Logic.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_LogicWorkflowRunActionResource { - // Get a workflow run action - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkflowRunAction() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActions_Get.json @@ -48,9 +48,8 @@ public async Task Get_GetAWorkflowRunAction() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List expression traces - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExpressionTraces_ListExpressionTraces() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActions_ListExpressionTraces.json @@ -77,7 +76,7 @@ public async Task GetExpressionTraces_ListExpressionTraces() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionScopeRepetitionCollection.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionScopeRepetitionCollection.cs index ae3fea0636ca4..1fa636875ac1f 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionScopeRepetitionCollection.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionScopeRepetitionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_LogicWorkflowRunActionScopeRepetitionCollection { - // List the scoped repetitions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTheScopedRepetitions() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionScopeRepetitions_List.json @@ -50,12 +50,11 @@ public async Task GetAll_ListTheScopedRepetitions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a scoped repetition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAScopedRepetition() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionScopeRepetitions_Get.json @@ -90,9 +89,8 @@ public async Task Get_GetAScopedRepetition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a scoped repetition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAScopedRepetition() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionScopeRepetitions_Get.json @@ -123,9 +121,8 @@ public async Task Exists_GetAScopedRepetition() Console.WriteLine($"Succeeded: {result}"); } - // Get a scoped repetition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAScopedRepetition() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionScopeRepetitions_Get.json @@ -156,7 +153,7 @@ public async Task GetIfExists_GetAScopedRepetition() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionScopeRepetitionResource.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionScopeRepetitionResource.cs index 5dbcf06e6815c..e47911ad09485 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionScopeRepetitionResource.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunActionScopeRepetitionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_LogicWorkflowRunActionScopeRepetitionResource { - // Get a scoped repetition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAScopedRepetition() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunActionScopeRepetitions_Get.json diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunCollection.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunCollection.cs index 48d725b7a097d..0e52d6d55374f 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunCollection.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_LogicWorkflowRunCollection { - // List workflow runs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWorkflowRuns() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRuns_List.json @@ -48,12 +48,11 @@ public async Task GetAll_ListWorkflowRuns() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a run for a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARunForAWorkflow() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRuns_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetARunForAWorkflow() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a run for a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetARunForAWorkflow() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRuns_Get.json @@ -117,9 +115,8 @@ public async Task Exists_GetARunForAWorkflow() Console.WriteLine($"Succeeded: {result}"); } - // Get a run for a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetARunForAWorkflow() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRuns_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetARunForAWorkflow() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunOperationCollection.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunOperationCollection.cs index f47664a1db00a..4ec25ff2d95b9 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunOperationCollection.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunOperationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_LogicWorkflowRunOperationCollection { - // Get a run operation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARunOperation() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunOperations_Get.json @@ -50,9 +50,8 @@ public async Task Get_GetARunOperation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a run operation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetARunOperation() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunOperations_Get.json @@ -82,9 +81,8 @@ public async Task Exists_GetARunOperation() Console.WriteLine($"Succeeded: {result}"); } - // Get a run operation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetARunOperation() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunOperations_Get.json @@ -114,7 +112,7 @@ public async Task GetIfExists_GetARunOperation() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunOperationResource.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunOperationResource.cs index 0418e65e5ed99..59db3c0a7df20 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunOperationResource.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunOperationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_LogicWorkflowRunOperationResource { - // Get a run operation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARunOperation() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRunOperations_Get.json diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunResource.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunResource.cs index f50ca231ce0fd..93f80aad51f32 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunResource.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowRunResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_LogicWorkflowRunResource { - // Get a run for a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARunForAWorkflow() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRuns_Get.json @@ -46,9 +46,8 @@ public async Task Get_GetARunForAWorkflow() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Cancel a workflow run - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cancel_CancelAWorkflowRun() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowRuns_Cancel.json @@ -71,7 +70,7 @@ public async Task Cancel_CancelAWorkflowRun() // invoke the operation await logicWorkflowRun.CancelAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowTriggerCollection.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowTriggerCollection.cs index d8e4c8722fdc5..d30a66304b71e 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowTriggerCollection.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowTriggerCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_LogicWorkflowTriggerCollection { - // List workflow triggers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWorkflowTriggers() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggers_List.json @@ -48,12 +48,11 @@ public async Task GetAll_ListWorkflowTriggers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a workflow trigger - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkflowTrigger() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggers_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetAWorkflowTrigger() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a workflow trigger - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAWorkflowTrigger() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggers_Get.json @@ -117,9 +115,8 @@ public async Task Exists_GetAWorkflowTrigger() Console.WriteLine($"Succeeded: {result}"); } - // Get a workflow trigger - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAWorkflowTrigger() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggers_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetAWorkflowTrigger() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowTriggerHistoryCollection.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowTriggerHistoryCollection.cs index 91776e80aec87..16c9a98fd908a 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowTriggerHistoryCollection.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowTriggerHistoryCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_LogicWorkflowTriggerHistoryCollection { - // List a workflow trigger history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAWorkflowTriggerHistory() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggerHistories_List.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAWorkflowTriggerHistory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a workflow trigger history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkflowTriggerHistory() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggerHistories_Get.json @@ -88,9 +87,8 @@ public async Task Get_GetAWorkflowTriggerHistory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a workflow trigger history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAWorkflowTriggerHistory() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggerHistories_Get.json @@ -120,9 +118,8 @@ public async Task Exists_GetAWorkflowTriggerHistory() Console.WriteLine($"Succeeded: {result}"); } - // Get a workflow trigger history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAWorkflowTriggerHistory() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggerHistories_Get.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetAWorkflowTriggerHistory() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowTriggerHistoryResource.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowTriggerHistoryResource.cs index bc950290c6758..40a8869e02791 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowTriggerHistoryResource.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowTriggerHistoryResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_LogicWorkflowTriggerHistoryResource { - // Get a workflow trigger history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkflowTriggerHistory() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggerHistories_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetAWorkflowTriggerHistory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Resubmit a workflow run based on the trigger history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Resubmit_ResubmitAWorkflowRunBasedOnTheTriggerHistory() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggerHistories_Resubmit.json @@ -73,7 +72,7 @@ public async Task Resubmit_ResubmitAWorkflowRunBasedOnTheTriggerHistory() // invoke the operation await logicWorkflowTriggerHistory.ResubmitAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowTriggerResource.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowTriggerResource.cs index ecc24e6202682..d22a626dec7c7 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowTriggerResource.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowTriggerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Logic.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_LogicWorkflowTriggerResource { - // Get a workflow trigger - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkflowTrigger() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggers_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetAWorkflowTrigger() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Reset trigger - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reset_ResetTrigger() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggers_Reset.json @@ -72,12 +71,11 @@ public async Task Reset_ResetTrigger() // invoke the operation await logicWorkflowTrigger.ResetAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Run a workflow trigger - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Run_RunAWorkflowTrigger() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggers_Run.json @@ -100,12 +98,11 @@ public async Task Run_RunAWorkflowTrigger() // invoke the operation await logicWorkflowTrigger.RunAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get trigger schema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSchemaJson_GetTriggerSchema() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggers_GetSchemaJson.json @@ -131,9 +128,8 @@ public async Task GetSchemaJson_GetTriggerSchema() Console.WriteLine($"Succeeded: {result}"); } - // Set trigger state - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SetState_SetTriggerState() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggers_SetState.json @@ -160,12 +156,11 @@ public async Task SetState_SetTriggerState() }); await logicWorkflowTrigger.SetStateAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the callback URL for a trigger - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCallbackUrl_GetTheCallbackURLForATrigger() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowTriggers_ListCallbackUrl.json diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowVersionCollection.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowVersionCollection.cs index a9a7f6030a0f2..b90a682caba51 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowVersionCollection.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowVersionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_LogicWorkflowVersionCollection { - // List a workflows versions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAWorkflowsVersions() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowVersions_List.json @@ -48,12 +48,11 @@ public async Task GetAll_ListAWorkflowsVersions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a workflow version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkflowVersion() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowVersions_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetAWorkflowVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a workflow version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAWorkflowVersion() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowVersions_Get.json @@ -117,9 +115,8 @@ public async Task Exists_GetAWorkflowVersion() Console.WriteLine($"Succeeded: {result}"); } - // Get a workflow version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAWorkflowVersion() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowVersions_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetAWorkflowVersion() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowVersionResource.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowVersionResource.cs index 67f8572174096..268660324ff48 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowVersionResource.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowVersionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Logic.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Logic.Samples { public partial class Sample_LogicWorkflowVersionResource { - // Get a workflow version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkflowVersion() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowVersions_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetAWorkflowVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the callback url for a trigger of a workflow version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCallbackUrlWorkflowVersionTrigger_GetTheCallbackUrlForATriggerOfAWorkflowVersion() { // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/WorkflowVersionTriggers_ListCallbackUrl.json diff --git a/sdk/machinelearningcompute/Azure.ResourceManager.MachineLearningCompute/samples/Generated/Samples/Sample_OperationalizationClusterCollection.cs b/sdk/machinelearningcompute/Azure.ResourceManager.MachineLearningCompute/samples/Generated/Samples/Sample_OperationalizationClusterCollection.cs index 550861f7c6248..bd9718f57e870 100644 --- a/sdk/machinelearningcompute/Azure.ResourceManager.MachineLearningCompute/samples/Generated/Samples/Sample_OperationalizationClusterCollection.cs +++ b/sdk/machinelearningcompute/Azure.ResourceManager.MachineLearningCompute/samples/Generated/Samples/Sample_OperationalizationClusterCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.MachineLearningCompute.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearningCompute.Samples { public partial class Sample_OperationalizationClusterCollection { - // PUT Operationalization Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PUTOperationalizationCluster() { // Generated from example definition: specification/machinelearningcompute/resource-manager/Microsoft.MachineLearningCompute/preview/2017-08-01-preview/examples/OperationalizationClusters_CreateOrUpdate.json @@ -75,9 +75,8 @@ public async Task CreateOrUpdate_PUTOperationalizationCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GET Operationalization Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GETOperationalizationCluster() { // Generated from example definition: specification/machinelearningcompute/resource-manager/Microsoft.MachineLearningCompute/preview/2017-08-01-preview/examples/OperationalizationClusters_Get.json @@ -109,9 +108,8 @@ public async Task Get_GETOperationalizationCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GET Operationalization Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GETOperationalizationCluster() { // Generated from example definition: specification/machinelearningcompute/resource-manager/Microsoft.MachineLearningCompute/preview/2017-08-01-preview/examples/OperationalizationClusters_Get.json @@ -139,9 +137,8 @@ public async Task Exists_GETOperationalizationCluster() Console.WriteLine($"Succeeded: {result}"); } - // GET Operationalization Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GETOperationalizationCluster() { // Generated from example definition: specification/machinelearningcompute/resource-manager/Microsoft.MachineLearningCompute/preview/2017-08-01-preview/examples/OperationalizationClusters_Get.json @@ -169,7 +166,7 @@ public async Task GetIfExists_GETOperationalizationCluster() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -181,9 +178,8 @@ public async Task GetIfExists_GETOperationalizationCluster() } } - // List Operationalization Clusters by Resource Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListOperationalizationClustersByResourceGroup() { // Generated from example definition: specification/machinelearningcompute/resource-manager/Microsoft.MachineLearningCompute/preview/2017-08-01-preview/examples/OperationalizationClusters_ListByResourceGroup.json @@ -214,7 +210,7 @@ public async Task GetAll_ListOperationalizationClustersByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/machinelearningcompute/Azure.ResourceManager.MachineLearningCompute/samples/Generated/Samples/Sample_OperationalizationClusterResource.cs b/sdk/machinelearningcompute/Azure.ResourceManager.MachineLearningCompute/samples/Generated/Samples/Sample_OperationalizationClusterResource.cs index fce6caabe6ed2..1c56405f78063 100644 --- a/sdk/machinelearningcompute/Azure.ResourceManager.MachineLearningCompute/samples/Generated/Samples/Sample_OperationalizationClusterResource.cs +++ b/sdk/machinelearningcompute/Azure.ResourceManager.MachineLearningCompute/samples/Generated/Samples/Sample_OperationalizationClusterResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.MachineLearningCompute.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearningCompute.Samples { public partial class Sample_OperationalizationClusterResource { - // GET Operationalization Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GETOperationalizationCluster() { // Generated from example definition: specification/machinelearningcompute/resource-manager/Microsoft.MachineLearningCompute/preview/2017-08-01-preview/examples/OperationalizationClusters_Get.json @@ -47,9 +47,8 @@ public async Task Get_GETOperationalizationCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PATCH Operationalization Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PATCHOperationalizationCluster() { // Generated from example definition: specification/machinelearningcompute/resource-manager/Microsoft.MachineLearningCompute/preview/2017-08-01-preview/examples/OperationalizationClusters_Update.json @@ -85,9 +84,8 @@ public async Task Update_PATCHOperationalizationCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DELETE Operationalization Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DELETEOperationalizationCluster() { // Generated from example definition: specification/machinelearningcompute/resource-manager/Microsoft.MachineLearningCompute/preview/2017-08-01-preview/examples/OperationalizationClusters_Delete.json @@ -109,12 +107,11 @@ public async Task Delete_DELETEOperationalizationCluster() // invoke the operation await operationalizationCluster.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Keys of an Operationalization Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_ListKeysOfAnOperationalizationCluster() { // Generated from example definition: specification/machinelearningcompute/resource-manager/Microsoft.MachineLearningCompute/preview/2017-08-01-preview/examples/OperationalizationClusters_ListKeys.json @@ -139,9 +136,8 @@ public async Task GetKeys_ListKeysOfAnOperationalizationCluster() Console.WriteLine($"Succeeded: {result}"); } - // Check Update for an Operationalization Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckSystemServicesUpdatesAvailable_CheckUpdateForAnOperationalizationCluster() { // Generated from example definition: specification/machinelearningcompute/resource-manager/Microsoft.MachineLearningCompute/preview/2017-08-01-preview/examples/OperationalizationClusters_CheckSystemServicesUpdatesAvailable.json @@ -166,9 +162,8 @@ public async Task CheckSystemServicesUpdatesAvailable_CheckUpdateForAnOperationa Console.WriteLine($"Succeeded: {result}"); } - // Update System Services in an Operationalization Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateSystemServices_UpdateSystemServicesInAnOperationalizationCluster() { // Generated from example definition: specification/machinelearningcompute/resource-manager/Microsoft.MachineLearningCompute/preview/2017-08-01-preview/examples/OperationalizationClusters_UpdateSystemServices.json @@ -194,9 +189,8 @@ public async Task UpdateSystemServices_UpdateSystemServicesInAnOperationalizatio Console.WriteLine($"Succeeded: {result}"); } - // List Operationalization Clusters by Subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOperationalizationClusters_ListOperationalizationClustersBySubscription() { // Generated from example definition: specification/machinelearningcompute/resource-manager/Microsoft.MachineLearningCompute/preview/2017-08-01-preview/examples/OperationalizationClusters_ListBySubscription.json @@ -223,7 +217,7 @@ public async Task GetOperationalizationClusters_ListOperationalizationClustersBy Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/machinelearningcompute/Azure.ResourceManager.MachineLearningCompute/samples/Generated/Samples/Sample_TenantResourceExtensions.cs b/sdk/machinelearningcompute/Azure.ResourceManager.MachineLearningCompute/samples/Generated/Samples/Sample_TenantResourceExtensions.cs index 58ea4fd10662e..fe5b85f5ca0c8 100644 --- a/sdk/machinelearningcompute/Azure.ResourceManager.MachineLearningCompute/samples/Generated/Samples/Sample_TenantResourceExtensions.cs +++ b/sdk/machinelearningcompute/Azure.ResourceManager.MachineLearningCompute/samples/Generated/Samples/Sample_TenantResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearningCompute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearningCompute.Samples { public partial class Sample_TenantResourceExtensions { - // Machine Learning Compute List Available Operations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableOperationsMachineLearningComputes_MachineLearningComputeListAvailableOperations() { // Generated from example definition: specification/machinelearningcompute/resource-manager/Microsoft.MachineLearningCompute/preview/2017-08-01-preview/examples/MachineLearningCompute_ListAvailableOperations.json @@ -38,7 +38,7 @@ public async Task GetAvailableOperationsMachineLearningComputes_MachineLearningC Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearninRegistryComponentContainerCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearninRegistryComponentContainerCollection.cs index fc43481eced3f..201d6a7194ece 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearninRegistryComponentContainerCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearninRegistryComponentContainerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearninRegistryComponentContainerCollection { - // List Registry Component Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRegistryComponentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ComponentContainer/list.json @@ -49,12 +49,11 @@ public async Task GetAll_ListRegistryComponentContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registry Component Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryComponentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ComponentContainer/get.json @@ -87,9 +86,8 @@ public async Task Get_GetRegistryComponentContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Registry Component Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRegistryComponentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ComponentContainer/get.json @@ -118,9 +116,8 @@ public async Task Exists_GetRegistryComponentContainer() Console.WriteLine($"Succeeded: {result}"); } - // Get Registry Component Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRegistryComponentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ComponentContainer/get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetRegistryComponentContainer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetRegistryComponentContainer() } } - // CreateOrUpdate Registry Component Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateRegistryComponentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ComponentContainer/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearninRegistryComponentContainerResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearninRegistryComponentContainerResource.cs index 6700ed192cdd7..33e73d658d767 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearninRegistryComponentContainerResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearninRegistryComponentContainerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearninRegistryComponentContainerResource { - // Delete Registry Component Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteRegistryComponentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ComponentContainer/delete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteRegistryComponentContainer() // invoke the operation await machineLearninRegistryComponentContainer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registry Component Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryComponentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ComponentContainer/get.json @@ -75,9 +74,8 @@ public async Task Get_GetRegistryComponentContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Registry Component Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateRegistryComponentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ComponentContainer/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearninRegistryComponentVersionCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearninRegistryComponentVersionCollection.cs index 6a3241b7b0323..cc9e896b691c8 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearninRegistryComponentVersionCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearninRegistryComponentVersionCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearninRegistryComponentVersionCollection { - // List Registry Component Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRegistryComponentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ComponentVersion/list.json @@ -53,12 +53,11 @@ public async Task GetAll_ListRegistryComponentVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registry Component Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryComponentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ComponentVersion/get.json @@ -92,9 +91,8 @@ public async Task Get_GetRegistryComponentVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Registry Component Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRegistryComponentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ComponentVersion/get.json @@ -124,9 +122,8 @@ public async Task Exists_GetRegistryComponentVersion() Console.WriteLine($"Succeeded: {result}"); } - // Get Registry Component Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRegistryComponentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ComponentVersion/get.json @@ -156,7 +153,7 @@ public async Task GetIfExists_GetRegistryComponentVersion() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_GetRegistryComponentVersion() } } - // CreateOrUpdate Registry Component Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateRegistryComponentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ComponentVersion/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearninRegistryComponentVersionResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearninRegistryComponentVersionResource.cs index 3358e3c84feb0..f02e4c3e101ab 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearninRegistryComponentVersionResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearninRegistryComponentVersionResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearninRegistryComponentVersionResource { - // Delete Registry Component Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteRegistryComponentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ComponentVersion/delete.json @@ -42,12 +42,11 @@ public async Task Delete_DeleteRegistryComponentVersion() // invoke the operation await machineLearninRegistryComponentVersion.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registry Component Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryComponentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ComponentVersion/get.json @@ -78,9 +77,8 @@ public async Task Get_GetRegistryComponentVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Registry Component Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateRegistryComponentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ComponentVersion/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningBatchDeploymentCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningBatchDeploymentCollection.cs index 609ea80124672..d642e44016244 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningBatchDeploymentCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningBatchDeploymentCollection.cs @@ -13,14 +13,14 @@ using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; using Azure.ResourceManager.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningBatchDeploymentCollection { - // List Workspace Batch Deployment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWorkspaceBatchDeployment() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/BatchDeployment/list.json @@ -55,12 +55,11 @@ public async Task GetAll_ListWorkspaceBatchDeployment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Batch Deployment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceBatchDeployment() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/BatchDeployment/get.json @@ -94,9 +93,8 @@ public async Task Get_GetWorkspaceBatchDeployment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Workspace Batch Deployment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWorkspaceBatchDeployment() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/BatchDeployment/get.json @@ -126,9 +124,8 @@ public async Task Exists_GetWorkspaceBatchDeployment() Console.WriteLine($"Succeeded: {result}"); } - // Get Workspace Batch Deployment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWorkspaceBatchDeployment() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/BatchDeployment/get.json @@ -158,7 +155,7 @@ public async Task GetIfExists_GetWorkspaceBatchDeployment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -170,9 +167,8 @@ public async Task GetIfExists_GetWorkspaceBatchDeployment() } } - // CreateOrUpdate Workspace Batch Deployment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWorkspaceBatchDeployment() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/BatchDeployment/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningBatchDeploymentResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningBatchDeploymentResource.cs index a47a0a18ba606..3d51c078a08b4 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningBatchDeploymentResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningBatchDeploymentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningBatchDeploymentResource { - // Delete Workspace Batch Deployment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWorkspaceBatchDeployment() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/BatchDeployment/delete.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteWorkspaceBatchDeployment() // invoke the operation await machineLearningBatchDeployment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Batch Deployment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceBatchDeployment() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/BatchDeployment/get.json @@ -77,9 +76,8 @@ public async Task Get_GetWorkspaceBatchDeployment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Workspace Batch Deployment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateWorkspaceBatchDeployment() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/BatchDeployment/update.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningBatchEndpointCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningBatchEndpointCollection.cs index 5432d00ab2b62..737b0e30394c2 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningBatchEndpointCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningBatchEndpointCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; using Azure.ResourceManager.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningBatchEndpointCollection { - // List Workspace Batch Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWorkspaceBatchEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/BatchEndpoint/list.json @@ -51,12 +51,11 @@ public async Task GetAll_ListWorkspaceBatchEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Batch Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceBatchEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/BatchEndpoint/get.json @@ -89,9 +88,8 @@ public async Task Get_GetWorkspaceBatchEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Workspace Batch Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWorkspaceBatchEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/BatchEndpoint/get.json @@ -120,9 +118,8 @@ public async Task Exists_GetWorkspaceBatchEndpoint() Console.WriteLine($"Succeeded: {result}"); } - // Get Workspace Batch Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWorkspaceBatchEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/BatchEndpoint/get.json @@ -151,7 +148,7 @@ public async Task GetIfExists_GetWorkspaceBatchEndpoint() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -163,9 +160,8 @@ public async Task GetIfExists_GetWorkspaceBatchEndpoint() } } - // CreateOrUpdate Workspace Batch Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWorkspaceBatchEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/BatchEndpoint/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningBatchEndpointResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningBatchEndpointResource.cs index 6962f39920d61..14b30ff9a3737 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningBatchEndpointResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningBatchEndpointResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningBatchEndpointResource { - // Delete Workspace Batch Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWorkspaceBatchEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/BatchEndpoint/delete.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteWorkspaceBatchEndpoint() // invoke the operation await machineLearningBatchEndpoint.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Batch Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceBatchEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/BatchEndpoint/get.json @@ -76,9 +75,8 @@ public async Task Get_GetWorkspaceBatchEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Workspace Batch Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateWorkspaceBatchEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/BatchEndpoint/update.json @@ -125,9 +123,8 @@ public async Task Update_UpdateWorkspaceBatchEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ListKeys Workspace Batch Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_ListKeysWorkspaceBatchEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/BatchEndpoint/listKeys.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningCodeContainerCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningCodeContainerCollection.cs index c84280ef13a21..8d6894ffd6a58 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningCodeContainerCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningCodeContainerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningCodeContainerCollection { - // List Workspace Code Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWorkspaceCodeContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/CodeContainer/list.json @@ -49,12 +49,11 @@ public async Task GetAll_ListWorkspaceCodeContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Code Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceCodeContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/CodeContainer/get.json @@ -87,9 +86,8 @@ public async Task Get_GetWorkspaceCodeContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Workspace Code Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWorkspaceCodeContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/CodeContainer/get.json @@ -118,9 +116,8 @@ public async Task Exists_GetWorkspaceCodeContainer() Console.WriteLine($"Succeeded: {result}"); } - // Get Workspace Code Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWorkspaceCodeContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/CodeContainer/get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetWorkspaceCodeContainer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetWorkspaceCodeContainer() } } - // CreateOrUpdate Workspace Code Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWorkspaceCodeContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/CodeContainer/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningCodeContainerResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningCodeContainerResource.cs index b22a5de355ecf..6250fb42747dc 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningCodeContainerResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningCodeContainerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningCodeContainerResource { - // Delete Workspace Code Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWorkspaceCodeContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/CodeContainer/delete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteWorkspaceCodeContainer() // invoke the operation await machineLearningCodeContainer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Code Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceCodeContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/CodeContainer/get.json @@ -75,9 +74,8 @@ public async Task Get_GetWorkspaceCodeContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Workspace Code Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateWorkspaceCodeContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/CodeContainer/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningCodeVersionCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningCodeVersionCollection.cs index 71e13cca69744..d6b3f73068296 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningCodeVersionCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningCodeVersionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningCodeVersionCollection { - // List Workspace Code Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWorkspaceCodeVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/CodeVersion/list.json @@ -52,12 +52,11 @@ public async Task GetAll_ListWorkspaceCodeVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Code Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceCodeVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/CodeVersion/get.json @@ -91,9 +90,8 @@ public async Task Get_GetWorkspaceCodeVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Workspace Code Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWorkspaceCodeVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/CodeVersion/get.json @@ -123,9 +121,8 @@ public async Task Exists_GetWorkspaceCodeVersion() Console.WriteLine($"Succeeded: {result}"); } - // Get Workspace Code Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWorkspaceCodeVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/CodeVersion/get.json @@ -155,7 +152,7 @@ public async Task GetIfExists_GetWorkspaceCodeVersion() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -167,9 +164,8 @@ public async Task GetIfExists_GetWorkspaceCodeVersion() } } - // CreateOrUpdate Workspace Code Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWorkspaceCodeVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/CodeVersion/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningCodeVersionResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningCodeVersionResource.cs index 1e64852ad2cb8..17679352a12de 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningCodeVersionResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningCodeVersionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningCodeVersionResource { - // Delete Workspace Code Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWorkspaceCodeVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/CodeVersion/delete.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteWorkspaceCodeVersion() // invoke the operation await machineLearningCodeVersion.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Code Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceCodeVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/CodeVersion/get.json @@ -77,9 +76,8 @@ public async Task Get_GetWorkspaceCodeVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Workspace Code Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateWorkspaceCodeVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/CodeVersion/createOrUpdate.json @@ -125,9 +123,8 @@ public async Task Update_CreateOrUpdateWorkspaceCodeVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Publish Workspace Code Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Publish_PublishWorkspaceCodeVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/CodeVersion/publish.json @@ -157,12 +154,11 @@ public async Task Publish_PublishWorkspaceCodeVersion() }; await machineLearningCodeVersion.PublishAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CreateOrGetStartPendingUpload Workspace Code Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrGetStartPendingUpload_CreateOrGetStartPendingUploadWorkspaceCodeVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/CodeVersion/createOrGetStartPendingUpload.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningComponentContainerCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningComponentContainerCollection.cs index 80dde1d0e7976..c86769cd2591b 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningComponentContainerCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningComponentContainerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningComponentContainerCollection { - // List Workspace Component Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWorkspaceComponentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ComponentContainer/list.json @@ -49,12 +49,11 @@ public async Task GetAll_ListWorkspaceComponentContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Component Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceComponentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ComponentContainer/get.json @@ -87,9 +86,8 @@ public async Task Get_GetWorkspaceComponentContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Workspace Component Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWorkspaceComponentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ComponentContainer/get.json @@ -118,9 +116,8 @@ public async Task Exists_GetWorkspaceComponentContainer() Console.WriteLine($"Succeeded: {result}"); } - // Get Workspace Component Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWorkspaceComponentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ComponentContainer/get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetWorkspaceComponentContainer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetWorkspaceComponentContainer() } } - // CreateOrUpdate Workspace Component Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWorkspaceComponentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ComponentContainer/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningComponentContainerResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningComponentContainerResource.cs index fa281ce7cedfa..bd44df85958ab 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningComponentContainerResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningComponentContainerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningComponentContainerResource { - // Delete Workspace Component Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWorkspaceComponentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ComponentContainer/delete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteWorkspaceComponentContainer() // invoke the operation await machineLearningComponentContainer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Component Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceComponentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ComponentContainer/get.json @@ -75,9 +74,8 @@ public async Task Get_GetWorkspaceComponentContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Workspace Component Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateWorkspaceComponentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ComponentContainer/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningComponentVersionCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningComponentVersionCollection.cs index 781e3dd95ea82..32d9bb34ab1b7 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningComponentVersionCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningComponentVersionCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningComponentVersionCollection { - // List Workspace Component Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWorkspaceComponentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ComponentVersion/list.json @@ -53,12 +53,11 @@ public async Task GetAll_ListWorkspaceComponentVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Component Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceComponentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ComponentVersion/get.json @@ -92,9 +91,8 @@ public async Task Get_GetWorkspaceComponentVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Workspace Component Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWorkspaceComponentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ComponentVersion/get.json @@ -124,9 +122,8 @@ public async Task Exists_GetWorkspaceComponentVersion() Console.WriteLine($"Succeeded: {result}"); } - // Get Workspace Component Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWorkspaceComponentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ComponentVersion/get.json @@ -156,7 +153,7 @@ public async Task GetIfExists_GetWorkspaceComponentVersion() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_GetWorkspaceComponentVersion() } } - // CreateOrUpdate Workspace Component Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWorkspaceComponentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ComponentVersion/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningComponentVersionResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningComponentVersionResource.cs index bbb33bd6e4d68..7b67039c1aca9 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningComponentVersionResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningComponentVersionResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningComponentVersionResource { - // Delete Workspace Component Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWorkspaceComponentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ComponentVersion/delete.json @@ -42,12 +42,11 @@ public async Task Delete_DeleteWorkspaceComponentVersion() // invoke the operation await machineLearningComponentVersion.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Component Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceComponentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ComponentVersion/get.json @@ -78,9 +77,8 @@ public async Task Get_GetWorkspaceComponentVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Workspace Component Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateWorkspaceComponentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ComponentVersion/createOrUpdate.json @@ -129,9 +127,8 @@ public async Task Update_CreateOrUpdateWorkspaceComponentVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Publish Workspace Component Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Publish_PublishWorkspaceComponentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ComponentVersion/publish.json @@ -161,7 +158,7 @@ public async Task Publish_PublishWorkspaceComponentVersion() }; await machineLearningComponentVersion.PublishAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningComputeCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningComputeCollection.cs index 6a461a382312a..0b23d92c43e19 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningComputeCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningComputeCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningComputeCollection { - // Get Computes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetComputes() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/list.json @@ -50,12 +50,11 @@ public async Task GetAll_GetComputes() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a AKS Compute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAAKSCompute() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/get/AKSCompute.json @@ -88,9 +87,8 @@ public async Task Get_GetAAKSCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a AKS Compute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAAKSCompute() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/get/AKSCompute.json @@ -119,9 +117,8 @@ public async Task Exists_GetAAKSCompute() Console.WriteLine($"Succeeded: {result}"); } - // Get a AKS Compute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAAKSCompute() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/get/AKSCompute.json @@ -150,7 +147,7 @@ public async Task GetIfExists_GetAAKSCompute() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_GetAAKSCompute() } } - // Get a AML Compute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAAMLCompute() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/get/AmlCompute.json @@ -197,9 +193,8 @@ public async Task Get_GetAAMLCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a AML Compute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAAMLCompute() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/get/AmlCompute.json @@ -228,9 +223,8 @@ public async Task Exists_GetAAMLCompute() Console.WriteLine($"Succeeded: {result}"); } - // Get a AML Compute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAAMLCompute() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/get/AmlCompute.json @@ -259,7 +253,7 @@ public async Task GetIfExists_GetAAMLCompute() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -271,9 +265,8 @@ public async Task GetIfExists_GetAAMLCompute() } } - // Get a Kubernetes Compute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAKubernetesCompute() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/get/KubernetesCompute.json @@ -306,9 +299,8 @@ public async Task Get_GetAKubernetesCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Kubernetes Compute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAKubernetesCompute() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/get/KubernetesCompute.json @@ -337,9 +329,8 @@ public async Task Exists_GetAKubernetesCompute() Console.WriteLine($"Succeeded: {result}"); } - // Get a Kubernetes Compute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAKubernetesCompute() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/get/KubernetesCompute.json @@ -368,7 +359,7 @@ public async Task GetIfExists_GetAKubernetesCompute() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -380,9 +371,8 @@ public async Task GetIfExists_GetAKubernetesCompute() } } - // Get an ComputeInstance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnComputeInstance() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/get/ComputeInstance.json @@ -415,9 +405,8 @@ public async Task Get_GetAnComputeInstance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an ComputeInstance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnComputeInstance() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/get/ComputeInstance.json @@ -446,9 +435,8 @@ public async Task Exists_GetAnComputeInstance() Console.WriteLine($"Succeeded: {result}"); } - // Get an ComputeInstance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnComputeInstance() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/get/ComputeInstance.json @@ -477,7 +465,7 @@ public async Task GetIfExists_GetAnComputeInstance() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -489,9 +477,8 @@ public async Task GetIfExists_GetAnComputeInstance() } } - // Attach a Kubernetes Compute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AttachAKubernetesCompute() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/createOrUpdate/KubernetesCompute.json @@ -562,9 +549,8 @@ public async Task CreateOrUpdate_AttachAKubernetesCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a AML Compute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAAMLCompute() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/createOrUpdate/BasicAmlCompute.json @@ -619,9 +605,8 @@ public async Task CreateOrUpdate_CreateAAMLCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a DataFactory Compute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADataFactoryCompute() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/createOrUpdate/BasicDataFactoryCompute.json @@ -659,9 +644,8 @@ public async Task CreateOrUpdate_CreateADataFactoryCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an AKS Compute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnAKSCompute() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/createOrUpdate/BasicAKSCompute.json @@ -699,9 +683,8 @@ public async Task CreateOrUpdate_CreateAnAKSCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an ComputeInstance Compute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnComputeInstanceCompute() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/createOrUpdate/ComputeInstance.json @@ -797,9 +780,8 @@ public async Task CreateOrUpdate_CreateAnComputeInstanceCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an ComputeInstance Compute with Schedules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnComputeInstanceComputeWithSchedules() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/createOrUpdate/ComputeInstanceWithSchedules.json @@ -850,9 +832,8 @@ public async Task CreateOrUpdate_CreateAnComputeInstanceComputeWithSchedules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an ComputeInstance Compute with minimal inputs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnComputeInstanceComputeWithMinimalInputs() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/createOrUpdate/ComputeInstanceMinimal.json @@ -896,9 +877,8 @@ public async Task CreateOrUpdate_CreateAnComputeInstanceComputeWithMinimalInputs Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a AML Compute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAAMLCompute() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/createOrUpdate/AmlCompute.json @@ -947,9 +927,8 @@ public async Task CreateOrUpdate_UpdateAAMLCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update an AKS Compute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAnAKSCompute() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/createOrUpdate/AKSCompute.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningComputeResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningComputeResource.cs index 975442a2926a1..2c2d887ac2325 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningComputeResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningComputeResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningComputeResource { - // Get a AKS Compute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAAKSCompute() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/get/AKSCompute.json @@ -48,9 +48,8 @@ public async Task Get_GetAAKSCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a AML Compute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAAMLCompute() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/get/AmlCompute.json @@ -80,9 +79,8 @@ public async Task Get_GetAAMLCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Kubernetes Compute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAKubernetesCompute() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/get/KubernetesCompute.json @@ -112,9 +110,8 @@ public async Task Get_GetAKubernetesCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an ComputeInstance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnComputeInstance() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/get/ComputeInstance.json @@ -144,9 +141,8 @@ public async Task Get_GetAnComputeInstance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a AmlCompute Compute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAAmlComputeCompute() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/patch.json @@ -185,9 +181,8 @@ public async Task Update_UpdateAAmlComputeCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Compute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteCompute() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/delete.json @@ -211,12 +206,11 @@ public async Task Delete_DeleteCompute() MachineLearningUnderlyingResourceAction underlyingResourceAction = MachineLearningUnderlyingResourceAction.Delete; await machineLearningCompute.DeleteAsync(WaitUntil.Completed, underlyingResourceAction); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get compute nodes information for a compute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNodes_GetComputeNodesInformationForACompute() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/listNodes.json @@ -242,12 +236,11 @@ public async Task GetNodes_GetComputeNodesInformationForACompute() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List AKS Compute Keys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_ListAKSComputeKeys() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/listKeys.json @@ -273,9 +266,8 @@ public async Task GetKeys_ListAKSComputeKeys() Console.WriteLine($"Succeeded: {result}"); } - // Start ComputeInstance Compute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_StartComputeInstanceCompute() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/start.json @@ -298,12 +290,11 @@ public async Task Start_StartComputeInstanceCompute() // invoke the operation await machineLearningCompute.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Stop ComputeInstance Compute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_StopComputeInstanceCompute() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/stop.json @@ -326,12 +317,11 @@ public async Task Stop_StopComputeInstanceCompute() // invoke the operation await machineLearningCompute.StopAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Restart ComputeInstance Compute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_RestartComputeInstanceCompute() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Compute/restart.json @@ -354,7 +344,7 @@ public async Task Restart_RestartComputeInstanceCompute() // invoke the operation await machineLearningCompute.RestartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningDataContainerCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningDataContainerCollection.cs index 6f9601b08da15..c52a96318f7cd 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningDataContainerCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningDataContainerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningDataContainerCollection { - // List Workspace Data Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWorkspaceDataContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/DataContainer/list.json @@ -49,12 +49,11 @@ public async Task GetAll_ListWorkspaceDataContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Data Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceDataContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/DataContainer/get.json @@ -87,9 +86,8 @@ public async Task Get_GetWorkspaceDataContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Workspace Data Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWorkspaceDataContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/DataContainer/get.json @@ -118,9 +116,8 @@ public async Task Exists_GetWorkspaceDataContainer() Console.WriteLine($"Succeeded: {result}"); } - // Get Workspace Data Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWorkspaceDataContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/DataContainer/get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetWorkspaceDataContainer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetWorkspaceDataContainer() } } - // CreateOrUpdate Workspace Data Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWorkspaceDataContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/DataContainer/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningDataContainerResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningDataContainerResource.cs index 3ec589db26044..d480c77e8033d 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningDataContainerResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningDataContainerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningDataContainerResource { - // Delete Workspace Data Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWorkspaceDataContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/DataContainer/delete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteWorkspaceDataContainer() // invoke the operation await machineLearningDataContainer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Data Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceDataContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/DataContainer/get.json @@ -75,9 +74,8 @@ public async Task Get_GetWorkspaceDataContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Workspace Data Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateWorkspaceDataContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/DataContainer/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningDataVersionCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningDataVersionCollection.cs index 9322c2bc5e5f1..03d731ce71897 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningDataVersionCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningDataVersionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningDataVersionCollection { - // List Workspace Data Version Base. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWorkspaceDataVersionBase() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/DataVersionBase/list.json @@ -53,12 +53,11 @@ public async Task GetAll_ListWorkspaceDataVersionBase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Data Version Base. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceDataVersionBase() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/DataVersionBase/get.json @@ -92,9 +91,8 @@ public async Task Get_GetWorkspaceDataVersionBase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Workspace Data Version Base. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWorkspaceDataVersionBase() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/DataVersionBase/get.json @@ -124,9 +122,8 @@ public async Task Exists_GetWorkspaceDataVersionBase() Console.WriteLine($"Succeeded: {result}"); } - // Get Workspace Data Version Base. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWorkspaceDataVersionBase() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/DataVersionBase/get.json @@ -156,7 +153,7 @@ public async Task GetIfExists_GetWorkspaceDataVersionBase() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_GetWorkspaceDataVersionBase() } } - // CreateOrUpdate Workspace Data Version Base. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWorkspaceDataVersionBase() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/DataVersionBase/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningDataVersionResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningDataVersionResource.cs index 10401b27eec2d..a880d849a19b4 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningDataVersionResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningDataVersionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningDataVersionResource { - // Delete Workspace Data Version Base. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWorkspaceDataVersionBase() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/DataVersionBase/delete.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteWorkspaceDataVersionBase() // invoke the operation await machineLearningDataVersion.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Data Version Base. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceDataVersionBase() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/DataVersionBase/get.json @@ -77,9 +76,8 @@ public async Task Get_GetWorkspaceDataVersionBase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Workspace Data Version Base. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateWorkspaceDataVersionBase() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/DataVersionBase/createOrUpdate.json @@ -124,9 +122,8 @@ public async Task Update_CreateOrUpdateWorkspaceDataVersionBase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Publish Workspace Data Version Base. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Publish_PublishWorkspaceDataVersionBase() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/DataVersionBase/publish.json @@ -156,7 +153,7 @@ public async Task Publish_PublishWorkspaceDataVersionBase() }; await machineLearningDataVersion.PublishAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningDatastoreCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningDatastoreCollection.cs index 867501bd85754..f0b3789055096 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningDatastoreCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningDatastoreCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningDatastoreCollection { - // Get datastore. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDatastore() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Datastore/get.json @@ -50,9 +50,8 @@ public async Task Get_GetDatastore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get datastore. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDatastore() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Datastore/get.json @@ -81,9 +80,8 @@ public async Task Exists_GetDatastore() Console.WriteLine($"Succeeded: {result}"); } - // Get datastore. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDatastore() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Datastore/get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetDatastore() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetDatastore() } } - // CreateOrUpdate datastore (Azure Data Lake Gen1 w/ ServicePrincipal). - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateDatastoreAzureDataLakeGen1WServicePrincipal() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json @@ -179,9 +176,8 @@ public async Task CreateOrUpdate_CreateOrUpdateDatastoreAzureDataLakeGen1WServic Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate datastore (Azure Data Lake Gen2 w/ Service Principal). - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateDatastoreAzureDataLakeGen2WServicePrincipal() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json @@ -236,9 +232,8 @@ public async Task CreateOrUpdate_CreateOrUpdateDatastoreAzureDataLakeGen2WServic Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate datastore (Azure File store w/ AccountKey). - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateDatastoreAzureFileStoreWAccountKey() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json @@ -289,9 +284,8 @@ public async Task CreateOrUpdate_CreateOrUpdateDatastoreAzureFileStoreWAccountKe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate datastore (AzureBlob w/ AccountKey). - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateDatastoreAzureBlobWAccountKey() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningDatastoreResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningDatastoreResource.cs index aa8054b021d8f..2289ff868342d 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningDatastoreResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningDatastoreResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningDatastoreResource { - // Delete datastore. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteDatastore() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Datastore/delete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteDatastore() // invoke the operation await machineLearningDatastore.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get datastore. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDatastore() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Datastore/get.json @@ -75,9 +74,8 @@ public async Task Get_GetDatastore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate datastore (Azure Data Lake Gen1 w/ ServicePrincipal). - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateDatastoreAzureDataLakeGen1WServicePrincipal() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json @@ -127,9 +125,8 @@ public async Task Update_CreateOrUpdateDatastoreAzureDataLakeGen1WServicePrincip Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate datastore (Azure Data Lake Gen2 w/ Service Principal). - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateDatastoreAzureDataLakeGen2WServicePrincipal() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json @@ -181,9 +178,8 @@ public async Task Update_CreateOrUpdateDatastoreAzureDataLakeGen2WServicePrincip Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate datastore (Azure File store w/ AccountKey). - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateDatastoreAzureFileStoreWAccountKey() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json @@ -231,9 +227,8 @@ public async Task Update_CreateOrUpdateDatastoreAzureFileStoreWAccountKey() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate datastore (AzureBlob w/ AccountKey). - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateDatastoreAzureBlobWAccountKey() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json @@ -283,9 +278,8 @@ public async Task Update_CreateOrUpdateDatastoreAzureBlobWAccountKey() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get datastore secrets. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecrets_GetDatastoreSecrets() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Datastore/listSecrets.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningEnvironmentContainerCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningEnvironmentContainerCollection.cs index f9b942a862b6f..fe825321ef13e 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningEnvironmentContainerCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningEnvironmentContainerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningEnvironmentContainerCollection { - // List Workspace Environment Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWorkspaceEnvironmentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/EnvironmentContainer/list.json @@ -49,12 +49,11 @@ public async Task GetAll_ListWorkspaceEnvironmentContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Environment Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceEnvironmentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/EnvironmentContainer/get.json @@ -87,9 +86,8 @@ public async Task Get_GetWorkspaceEnvironmentContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Workspace Environment Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWorkspaceEnvironmentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/EnvironmentContainer/get.json @@ -118,9 +116,8 @@ public async Task Exists_GetWorkspaceEnvironmentContainer() Console.WriteLine($"Succeeded: {result}"); } - // Get Workspace Environment Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWorkspaceEnvironmentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/EnvironmentContainer/get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetWorkspaceEnvironmentContainer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetWorkspaceEnvironmentContainer() } } - // CreateOrUpdate Workspace Environment Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWorkspaceEnvironmentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/EnvironmentContainer/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningEnvironmentContainerResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningEnvironmentContainerResource.cs index 8012a5d4768a1..2f550c040513b 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningEnvironmentContainerResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningEnvironmentContainerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningEnvironmentContainerResource { - // Delete Workspace Environment Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWorkspaceEnvironmentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/EnvironmentContainer/delete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteWorkspaceEnvironmentContainer() // invoke the operation await machineLearningEnvironmentContainer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Environment Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceEnvironmentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/EnvironmentContainer/get.json @@ -75,9 +74,8 @@ public async Task Get_GetWorkspaceEnvironmentContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Workspace Environment Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateWorkspaceEnvironmentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/EnvironmentContainer/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningEnvironmentVersionCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningEnvironmentVersionCollection.cs index 69cf08303cea7..190370a6755c7 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningEnvironmentVersionCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningEnvironmentVersionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningEnvironmentVersionCollection { - // List Workspace Environment Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWorkspaceEnvironmentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/EnvironmentVersion/list.json @@ -52,12 +52,11 @@ public async Task GetAll_ListWorkspaceEnvironmentVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Environment Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceEnvironmentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/EnvironmentVersion/get.json @@ -91,9 +90,8 @@ public async Task Get_GetWorkspaceEnvironmentVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Workspace Environment Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWorkspaceEnvironmentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/EnvironmentVersion/get.json @@ -123,9 +121,8 @@ public async Task Exists_GetWorkspaceEnvironmentVersion() Console.WriteLine($"Succeeded: {result}"); } - // Get Workspace Environment Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWorkspaceEnvironmentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/EnvironmentVersion/get.json @@ -155,7 +152,7 @@ public async Task GetIfExists_GetWorkspaceEnvironmentVersion() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -167,9 +164,8 @@ public async Task GetIfExists_GetWorkspaceEnvironmentVersion() } } - // CreateOrUpdate Workspace Environment Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWorkspaceEnvironmentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/EnvironmentVersion/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningEnvironmentVersionResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningEnvironmentVersionResource.cs index d9dc392458f1e..87b8109cf26e3 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningEnvironmentVersionResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningEnvironmentVersionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningEnvironmentVersionResource { - // Delete Workspace Environment Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWorkspaceEnvironmentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/EnvironmentVersion/delete.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteWorkspaceEnvironmentVersion() // invoke the operation await machineLearningEnvironmentVersion.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Environment Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceEnvironmentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/EnvironmentVersion/get.json @@ -77,9 +76,8 @@ public async Task Get_GetWorkspaceEnvironmentVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Workspace Environment Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateWorkspaceEnvironmentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/EnvironmentVersion/createOrUpdate.json @@ -136,9 +134,8 @@ public async Task Update_CreateOrUpdateWorkspaceEnvironmentVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Publish Workspace Environment Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Publish_PublishWorkspaceEnvironmentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/EnvironmentVersion/publish.json @@ -168,7 +165,7 @@ public async Task Publish_PublishWorkspaceEnvironmentVersion() }; await machineLearningEnvironmentVersion.PublishAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureCollection.cs index f608cb7267154..c95c2b1fe50da 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningFeatureCollection { - // List Feature. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListFeature() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Feature/list.json @@ -52,12 +52,11 @@ public async Task GetAll_ListFeature() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Feature. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFeature() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Feature/get.json @@ -92,9 +91,8 @@ public async Task Get_GetFeature() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Feature. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetFeature() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Feature/get.json @@ -125,9 +123,8 @@ public async Task Exists_GetFeature() Console.WriteLine($"Succeeded: {result}"); } - // Get Feature. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetFeature() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Feature/get.json @@ -158,7 +155,7 @@ public async Task GetIfExists_GetFeature() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureResource.cs index cda6032613d62..d0070ea928f34 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningFeatureResource { - // Get Feature. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFeature() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Feature/get.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureSetContainerCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureSetContainerCollection.cs index 5fee07b04ef7d..4cf18eb1f6c61 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureSetContainerCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureSetContainerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningFeatureSetContainerCollection { - // List Workspace Featureset Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWorkspaceFeaturesetContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturesetContainer/list.json @@ -50,12 +50,11 @@ public async Task GetAll_ListWorkspaceFeaturesetContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetEntity Workspace Featureset Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetEntityWorkspaceFeaturesetContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturesetContainer/getEntity.json @@ -88,9 +87,8 @@ public async Task Get_GetEntityWorkspaceFeaturesetContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetEntity Workspace Featureset Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetEntityWorkspaceFeaturesetContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturesetContainer/getEntity.json @@ -119,9 +117,8 @@ public async Task Exists_GetEntityWorkspaceFeaturesetContainer() Console.WriteLine($"Succeeded: {result}"); } - // GetEntity Workspace Featureset Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetEntityWorkspaceFeaturesetContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturesetContainer/getEntity.json @@ -150,7 +147,7 @@ public async Task GetIfExists_GetEntityWorkspaceFeaturesetContainer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_GetEntityWorkspaceFeaturesetContainer() } } - // CreateOrUpdate Workspace Featureset Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWorkspaceFeaturesetContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturesetContainer/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureSetContainerResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureSetContainerResource.cs index ce733de06b20e..0726746708548 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureSetContainerResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureSetContainerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningFeatureSetContainerResource { - // Delete Workspace Featureset Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWorkspaceFeaturesetContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturesetContainer/delete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteWorkspaceFeaturesetContainer() // invoke the operation await machineLearningFeatureSetContainer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetEntity Workspace Featureset Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetEntityWorkspaceFeaturesetContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturesetContainer/getEntity.json @@ -75,9 +74,8 @@ public async Task Get_GetEntityWorkspaceFeaturesetContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Workspace Featureset Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateWorkspaceFeaturesetContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturesetContainer/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureSetVersionCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureSetVersionCollection.cs index 8829694e89389..52694d359fc66 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureSetVersionCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureSetVersionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningFeatureSetVersionCollection { - // List Workspace Featureset Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWorkspaceFeaturesetVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturesetVersion/list.json @@ -51,12 +51,11 @@ public async Task GetAll_ListWorkspaceFeaturesetVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Featureset Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceFeaturesetVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturesetVersion/get.json @@ -90,9 +89,8 @@ public async Task Get_GetWorkspaceFeaturesetVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Workspace Featureset Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWorkspaceFeaturesetVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturesetVersion/get.json @@ -122,9 +120,8 @@ public async Task Exists_GetWorkspaceFeaturesetVersion() Console.WriteLine($"Succeeded: {result}"); } - // Get Workspace Featureset Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWorkspaceFeaturesetVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturesetVersion/get.json @@ -154,7 +151,7 @@ public async Task GetIfExists_GetWorkspaceFeaturesetVersion() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -166,9 +163,8 @@ public async Task GetIfExists_GetWorkspaceFeaturesetVersion() } } - // CreateOrUpdate Workspace Featureset Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWorkspaceFeaturesetVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturesetVersion/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureSetVersionResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureSetVersionResource.cs index d844af9bb131f..a912294ce4690 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureSetVersionResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureSetVersionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningFeatureSetVersionResource { - // Delete Workspace Featureset Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWorkspaceFeaturesetVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturesetVersion/delete.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteWorkspaceFeaturesetVersion() // invoke the operation await machineLearningFeatureSetVersion.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Featureset Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceFeaturesetVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturesetVersion/get.json @@ -77,9 +76,8 @@ public async Task Get_GetWorkspaceFeaturesetVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Workspace Featureset Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateWorkspaceFeaturesetVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturesetVersion/createOrUpdate.json @@ -174,9 +172,8 @@ public async Task Update_CreateOrUpdateWorkspaceFeaturesetVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Backfill Workspace Featureset Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Backfill_BackfillWorkspaceFeaturesetVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturesetVersion/backfill.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureStoreEntityContainerCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureStoreEntityContainerCollection.cs index acf6c88b8641a..53d198ec071d6 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureStoreEntityContainerCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureStoreEntityContainerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningFeatureStoreEntityContainerCollection { - // List Workspace Featurestore Entity Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWorkspaceFeaturestoreEntityContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturestoreEntityContainer/list.json @@ -50,12 +50,11 @@ public async Task GetAll_ListWorkspaceFeaturestoreEntityContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetEntity Workspace Featurestore Entity Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetEntityWorkspaceFeaturestoreEntityContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturestoreEntityContainer/getEntity.json @@ -88,9 +87,8 @@ public async Task Get_GetEntityWorkspaceFeaturestoreEntityContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetEntity Workspace Featurestore Entity Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetEntityWorkspaceFeaturestoreEntityContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturestoreEntityContainer/getEntity.json @@ -119,9 +117,8 @@ public async Task Exists_GetEntityWorkspaceFeaturestoreEntityContainer() Console.WriteLine($"Succeeded: {result}"); } - // GetEntity Workspace Featurestore Entity Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetEntityWorkspaceFeaturestoreEntityContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturestoreEntityContainer/getEntity.json @@ -150,7 +147,7 @@ public async Task GetIfExists_GetEntityWorkspaceFeaturestoreEntityContainer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_GetEntityWorkspaceFeaturestoreEntityContainer() } } - // CreateOrUpdate Workspace Featurestore Entity Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWorkspaceFeaturestoreEntityContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturestoreEntityContainer/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureStoreEntityContainerResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureStoreEntityContainerResource.cs index 742b6d9c25993..1935a4d18091e 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureStoreEntityContainerResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeatureStoreEntityContainerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningFeatureStoreEntityContainerResource { - // Delete Workspace Featurestore Entity Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWorkspaceFeaturestoreEntityContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturestoreEntityContainer/delete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteWorkspaceFeaturestoreEntityContainer() // invoke the operation await machineLearningFeatureStoreEntityContainer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetEntity Workspace Featurestore Entity Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetEntityWorkspaceFeaturestoreEntityContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturestoreEntityContainer/getEntity.json @@ -75,9 +74,8 @@ public async Task Get_GetEntityWorkspaceFeaturestoreEntityContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Workspace Featurestore Entity Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateWorkspaceFeaturestoreEntityContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturestoreEntityContainer/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeaturestoreEntityVersionCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeaturestoreEntityVersionCollection.cs index ca53970a03214..d2e2422aa6b2e 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeaturestoreEntityVersionCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeaturestoreEntityVersionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningFeaturestoreEntityVersionCollection { - // List Workspace Featurestore Entity Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWorkspaceFeaturestoreEntityVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturestoreEntityVersion/list.json @@ -51,12 +51,11 @@ public async Task GetAll_ListWorkspaceFeaturestoreEntityVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Featurestore Entity Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceFeaturestoreEntityVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturestoreEntityVersion/get.json @@ -90,9 +89,8 @@ public async Task Get_GetWorkspaceFeaturestoreEntityVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Workspace Featurestore Entity Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWorkspaceFeaturestoreEntityVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturestoreEntityVersion/get.json @@ -122,9 +120,8 @@ public async Task Exists_GetWorkspaceFeaturestoreEntityVersion() Console.WriteLine($"Succeeded: {result}"); } - // Get Workspace Featurestore Entity Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWorkspaceFeaturestoreEntityVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturestoreEntityVersion/get.json @@ -154,7 +151,7 @@ public async Task GetIfExists_GetWorkspaceFeaturestoreEntityVersion() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -166,9 +163,8 @@ public async Task GetIfExists_GetWorkspaceFeaturestoreEntityVersion() } } - // CreateOrUpdate Workspace Featurestore Entity Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWorkspaceFeaturestoreEntityVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturestoreEntityVersion/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeaturestoreEntityVersionResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeaturestoreEntityVersionResource.cs index d21d51684ea04..7120c68b799ea 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeaturestoreEntityVersionResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningFeaturestoreEntityVersionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningFeaturestoreEntityVersionResource { - // Delete Workspace Featurestore Entity Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWorkspaceFeaturestoreEntityVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturestoreEntityVersion/delete.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteWorkspaceFeaturestoreEntityVersion() // invoke the operation await machineLearningFeaturestoreEntityVersion.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Featurestore Entity Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceFeaturestoreEntityVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturestoreEntityVersion/get.json @@ -77,9 +76,8 @@ public async Task Get_GetWorkspaceFeaturestoreEntityVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Workspace Featurestore Entity Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateWorkspaceFeaturestoreEntityVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/FeaturestoreEntityVersion/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningJobCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningJobCollection.cs index 04fb61e608762..5150fe520ac9e 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningJobCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningJobCollection.cs @@ -12,14 +12,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningJobCollection { - // List AutoML Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAutoMLJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/AutoMLJob/list.json @@ -51,12 +51,11 @@ public async Task GetAll_ListAutoMLJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Command Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCommandJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/CommandJob/list.json @@ -90,12 +89,11 @@ public async Task GetAll_ListCommandJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Pipeline Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPipelineJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/PipelineJob/list.json @@ -129,12 +127,11 @@ public async Task GetAll_ListPipelineJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Sweep Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSweepJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/SweepJob/list.json @@ -168,12 +165,11 @@ public async Task GetAll_ListSweepJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get AutoML Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAutoMLJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/AutoMLJob/get.json @@ -206,9 +202,8 @@ public async Task Get_GetAutoMLJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get AutoML Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAutoMLJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/AutoMLJob/get.json @@ -237,9 +232,8 @@ public async Task Exists_GetAutoMLJob() Console.WriteLine($"Succeeded: {result}"); } - // Get AutoML Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAutoMLJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/AutoMLJob/get.json @@ -268,7 +262,7 @@ public async Task GetIfExists_GetAutoMLJob() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -280,9 +274,8 @@ public async Task GetIfExists_GetAutoMLJob() } } - // Get Command Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCommandJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/CommandJob/get.json @@ -315,9 +308,8 @@ public async Task Get_GetCommandJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Command Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCommandJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/CommandJob/get.json @@ -346,9 +338,8 @@ public async Task Exists_GetCommandJob() Console.WriteLine($"Succeeded: {result}"); } - // Get Command Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCommandJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/CommandJob/get.json @@ -377,7 +368,7 @@ public async Task GetIfExists_GetCommandJob() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -389,9 +380,8 @@ public async Task GetIfExists_GetCommandJob() } } - // Get Pipeline Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPipelineJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/PipelineJob/get.json @@ -424,9 +414,8 @@ public async Task Get_GetPipelineJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Pipeline Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPipelineJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/PipelineJob/get.json @@ -455,9 +444,8 @@ public async Task Exists_GetPipelineJob() Console.WriteLine($"Succeeded: {result}"); } - // Get Pipeline Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPipelineJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/PipelineJob/get.json @@ -486,7 +474,7 @@ public async Task GetIfExists_GetPipelineJob() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -498,9 +486,8 @@ public async Task GetIfExists_GetPipelineJob() } } - // Get Sweep Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSweepJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/SweepJob/get.json @@ -533,9 +520,8 @@ public async Task Get_GetSweepJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Sweep Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSweepJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/SweepJob/get.json @@ -564,9 +550,8 @@ public async Task Exists_GetSweepJob() Console.WriteLine($"Succeeded: {result}"); } - // Get Sweep Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSweepJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/SweepJob/get.json @@ -595,7 +580,7 @@ public async Task GetIfExists_GetSweepJob() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -607,9 +592,8 @@ public async Task GetIfExists_GetSweepJob() } } - // CreateOrUpdate AutoML Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAutoMLJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/AutoMLJob/createOrUpdate.json @@ -715,9 +699,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAutoMLJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Command Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateCommandJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/CommandJob/createOrUpdate.json @@ -821,9 +804,8 @@ public async Task CreateOrUpdate_CreateOrUpdateCommandJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Pipeline Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdatePipelineJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/PipelineJob/createOrUpdate.json @@ -904,9 +886,8 @@ public async Task CreateOrUpdate_CreateOrUpdatePipelineJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Sweep Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateSweepJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/SweepJob/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningJobResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningJobResource.cs index 7fd033d9197ec..59f1edd74e5d7 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningJobResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningJobResource.cs @@ -12,14 +12,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningJobResource { - // Delete Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/delete.json @@ -42,12 +42,11 @@ public async Task Delete_DeleteJob() // invoke the operation await machineLearningJob.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get AutoML Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAutoMLJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/AutoMLJob/get.json @@ -77,9 +76,8 @@ public async Task Get_GetAutoMLJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Command Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCommandJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/CommandJob/get.json @@ -109,9 +107,8 @@ public async Task Get_GetCommandJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Pipeline Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPipelineJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/PipelineJob/get.json @@ -141,9 +138,8 @@ public async Task Get_GetPipelineJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Sweep Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSweepJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/SweepJob/get.json @@ -173,9 +169,8 @@ public async Task Get_GetSweepJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate AutoML Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAutoMLJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/AutoMLJob/createOrUpdate.json @@ -278,9 +273,8 @@ public async Task Update_CreateOrUpdateAutoMLJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Command Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateCommandJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/CommandJob/createOrUpdate.json @@ -381,9 +375,8 @@ public async Task Update_CreateOrUpdateCommandJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Pipeline Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdatePipelineJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/PipelineJob/createOrUpdate.json @@ -461,9 +454,8 @@ public async Task Update_CreateOrUpdatePipelineJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Sweep Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateSweepJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/SweepJob/createOrUpdate.json @@ -560,9 +552,8 @@ public async Task Update_CreateOrUpdateSweepJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Cancel Job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cancel_CancelJob() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Job/cancel.json @@ -585,7 +576,7 @@ public async Task Cancel_CancelJob() // invoke the operation await machineLearningJob.CancelAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningMarketplaceSubscriptionCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningMarketplaceSubscriptionCollection.cs index 8b6c39de4c729..f7bcc8430684f 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningMarketplaceSubscriptionCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningMarketplaceSubscriptionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningMarketplaceSubscriptionCollection { - // List Workspace Marketplace Subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWorkspaceMarketplaceSubscription() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/MarketplaceSubscription/list.json @@ -49,12 +49,11 @@ public async Task GetAll_ListWorkspaceMarketplaceSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Marketplace Subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceMarketplaceSubscription() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/MarketplaceSubscription/get.json @@ -87,9 +86,8 @@ public async Task Get_GetWorkspaceMarketplaceSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Workspace Marketplace Subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWorkspaceMarketplaceSubscription() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/MarketplaceSubscription/get.json @@ -118,9 +116,8 @@ public async Task Exists_GetWorkspaceMarketplaceSubscription() Console.WriteLine($"Succeeded: {result}"); } - // Get Workspace Marketplace Subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWorkspaceMarketplaceSubscription() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/MarketplaceSubscription/get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetWorkspaceMarketplaceSubscription() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetWorkspaceMarketplaceSubscription() } } - // CreateOrUpdate Workspace Marketplace Subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWorkspaceMarketplaceSubscription() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/MarketplaceSubscription/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningMarketplaceSubscriptionResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningMarketplaceSubscriptionResource.cs index 17ef33d4203dc..2c3ca2be59fda 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningMarketplaceSubscriptionResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningMarketplaceSubscriptionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningMarketplaceSubscriptionResource { - // Delete Workspace Marketplace Subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWorkspaceMarketplaceSubscription() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/MarketplaceSubscription/delete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteWorkspaceMarketplaceSubscription() // invoke the operation await machineLearningMarketplaceSubscription.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Marketplace Subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceMarketplaceSubscription() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/MarketplaceSubscription/get.json @@ -75,9 +74,8 @@ public async Task Get_GetWorkspaceMarketplaceSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Workspace Marketplace Subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateWorkspaceMarketplaceSubscription() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/MarketplaceSubscription/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningModelContainerCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningModelContainerCollection.cs index bed3ac0978541..b5375e13b3ab4 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningModelContainerCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningModelContainerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningModelContainerCollection { - // List Workspace Model Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWorkspaceModelContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ModelContainer/list.json @@ -49,12 +49,11 @@ public async Task GetAll_ListWorkspaceModelContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Model Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceModelContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ModelContainer/get.json @@ -87,9 +86,8 @@ public async Task Get_GetWorkspaceModelContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Workspace Model Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWorkspaceModelContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ModelContainer/get.json @@ -118,9 +116,8 @@ public async Task Exists_GetWorkspaceModelContainer() Console.WriteLine($"Succeeded: {result}"); } - // Get Workspace Model Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWorkspaceModelContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ModelContainer/get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetWorkspaceModelContainer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetWorkspaceModelContainer() } } - // CreateOrUpdate Workspace Model Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWorkspaceModelContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ModelContainer/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningModelContainerResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningModelContainerResource.cs index 0efe515dc4fef..1e4b6d776f6ed 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningModelContainerResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningModelContainerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningModelContainerResource { - // Delete Workspace Model Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWorkspaceModelContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ModelContainer/delete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteWorkspaceModelContainer() // invoke the operation await machineLearningModelContainer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Model Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceModelContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ModelContainer/get.json @@ -75,9 +74,8 @@ public async Task Get_GetWorkspaceModelContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Workspace Model Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateWorkspaceModelContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ModelContainer/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningModelVersionCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningModelVersionCollection.cs index 62ced7520e218..3bfada15410ce 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningModelVersionCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningModelVersionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningModelVersionCollection { - // List Workspace Model Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWorkspaceModelVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ModelVersion/list.json @@ -51,12 +51,11 @@ public async Task GetAll_ListWorkspaceModelVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Model Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceModelVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ModelVersion/get.json @@ -90,9 +89,8 @@ public async Task Get_GetWorkspaceModelVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Workspace Model Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWorkspaceModelVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ModelVersion/get.json @@ -122,9 +120,8 @@ public async Task Exists_GetWorkspaceModelVersion() Console.WriteLine($"Succeeded: {result}"); } - // Get Workspace Model Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWorkspaceModelVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ModelVersion/get.json @@ -154,7 +151,7 @@ public async Task GetIfExists_GetWorkspaceModelVersion() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -166,9 +163,8 @@ public async Task GetIfExists_GetWorkspaceModelVersion() } } - // CreateOrUpdate Workspace Model Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWorkspaceModelVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ModelVersion/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningModelVersionResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningModelVersionResource.cs index ca07f8a6674ec..6223668ec2a01 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningModelVersionResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningModelVersionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningModelVersionResource { - // Delete Workspace Model Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWorkspaceModelVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ModelVersion/delete.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteWorkspaceModelVersion() // invoke the operation await machineLearningModelVersion.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Model Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceModelVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ModelVersion/get.json @@ -77,9 +76,8 @@ public async Task Get_GetWorkspaceModelVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Workspace Model Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateWorkspaceModelVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ModelVersion/createOrUpdate.json @@ -136,9 +134,8 @@ public async Task Update_CreateOrUpdateWorkspaceModelVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Publish Workspace Model Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Publish_PublishWorkspaceModelVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ModelVersion/publish.json @@ -168,7 +165,7 @@ public async Task Publish_PublishWorkspaceModelVersion() }; await machineLearningModelVersion.PublishAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningOnlineDeploymentCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningOnlineDeploymentCollection.cs index a9e17cd6f9976..876359610b5d1 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningOnlineDeploymentCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningOnlineDeploymentCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; using Azure.ResourceManager.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningOnlineDeploymentCollection { - // List Online Deployments. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListOnlineDeployments() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/OnlineDeployment/list.json @@ -54,12 +54,11 @@ public async Task GetAll_ListOnlineDeployments() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Kubernetes Online Deployment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetKubernetesOnlineDeployment() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/OnlineDeployment/KubernetesOnlineDeployment/get.json @@ -93,9 +92,8 @@ public async Task Get_GetKubernetesOnlineDeployment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Kubernetes Online Deployment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetKubernetesOnlineDeployment() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/OnlineDeployment/KubernetesOnlineDeployment/get.json @@ -125,9 +123,8 @@ public async Task Exists_GetKubernetesOnlineDeployment() Console.WriteLine($"Succeeded: {result}"); } - // Get Kubernetes Online Deployment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetKubernetesOnlineDeployment() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/OnlineDeployment/KubernetesOnlineDeployment/get.json @@ -157,7 +154,7 @@ public async Task GetIfExists_GetKubernetesOnlineDeployment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_GetKubernetesOnlineDeployment() } } - // Get Managed Online Deployment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagedOnlineDeployment() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json @@ -205,9 +201,8 @@ public async Task Get_GetManagedOnlineDeployment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Managed Online Deployment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetManagedOnlineDeployment() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json @@ -237,9 +232,8 @@ public async Task Exists_GetManagedOnlineDeployment() Console.WriteLine($"Succeeded: {result}"); } - // Get Managed Online Deployment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetManagedOnlineDeployment() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json @@ -269,7 +263,7 @@ public async Task GetIfExists_GetManagedOnlineDeployment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -281,9 +275,8 @@ public async Task GetIfExists_GetManagedOnlineDeployment() } } - // CreateOrUpdate Kubernetes Online Deployment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateKubernetesOnlineDeployment() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/OnlineDeployment/KubernetesOnlineDeployment/createOrUpdate.json @@ -389,9 +382,8 @@ public async Task CreateOrUpdate_CreateOrUpdateKubernetesOnlineDeployment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Managed Online Deployment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateManagedOnlineDeployment() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningOnlineDeploymentResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningOnlineDeploymentResource.cs index 169b22bbc4c06..12335158b90ce 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningOnlineDeploymentResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningOnlineDeploymentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningOnlineDeploymentResource { - // Delete Workspace Online Deployment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWorkspaceOnlineDeployment() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/OnlineDeployment/delete.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteWorkspaceOnlineDeployment() // invoke the operation await machineLearningOnlineDeployment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Kubernetes Online Deployment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetKubernetesOnlineDeployment() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/OnlineDeployment/KubernetesOnlineDeployment/get.json @@ -77,9 +76,8 @@ public async Task Get_GetKubernetesOnlineDeployment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Managed Online Deployment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagedOnlineDeployment() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json @@ -110,9 +108,8 @@ public async Task Get_GetManagedOnlineDeployment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Kubernetes Online Deployment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateKubernetesOnlineDeployment() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/OnlineDeployment/KubernetesOnlineDeployment/update.json @@ -158,9 +155,8 @@ public async Task Update_UpdateKubernetesOnlineDeployment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Managed Online Deployment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateManagedOnlineDeployment() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json @@ -206,9 +202,8 @@ public async Task Update_UpdateManagedOnlineDeployment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Online Deployment Logs. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLogs_GetOnlineDeploymentLogs() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/OnlineDeployment/getLogs.json @@ -240,9 +235,8 @@ public async Task GetLogs_GetOnlineDeploymentLogs() Console.WriteLine($"Succeeded: {result}"); } - // List Kubernetes Online Deployment Skus. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSkus_ListKubernetesOnlineDeploymentSkus() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/OnlineDeployment/KubernetesOnlineDeployment/listSkus.json @@ -270,12 +264,11 @@ public async Task GetSkus_ListKubernetesOnlineDeploymentSkus() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Managed Online Deployment Skus. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSkus_ListManagedOnlineDeploymentSkus() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/OnlineDeployment/ManagedOnlineDeployment/listSkus.json @@ -303,7 +296,7 @@ public async Task GetSkus_ListManagedOnlineDeploymentSkus() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningOnlineEndpointCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningOnlineEndpointCollection.cs index fe41baa7674e7..3ae44f0a8750c 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningOnlineEndpointCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningOnlineEndpointCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; using Azure.ResourceManager.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningOnlineEndpointCollection { - // List Workspace Online Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWorkspaceOnlineEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/OnlineEndpoint/list.json @@ -51,12 +51,11 @@ public async Task GetAll_ListWorkspaceOnlineEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Online Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceOnlineEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/OnlineEndpoint/get.json @@ -89,9 +88,8 @@ public async Task Get_GetWorkspaceOnlineEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Workspace Online Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWorkspaceOnlineEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/OnlineEndpoint/get.json @@ -120,9 +118,8 @@ public async Task Exists_GetWorkspaceOnlineEndpoint() Console.WriteLine($"Succeeded: {result}"); } - // Get Workspace Online Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWorkspaceOnlineEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/OnlineEndpoint/get.json @@ -151,7 +148,7 @@ public async Task GetIfExists_GetWorkspaceOnlineEndpoint() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -163,9 +160,8 @@ public async Task GetIfExists_GetWorkspaceOnlineEndpoint() } } - // CreateOrUpdate Workspace Online Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWorkspaceOnlineEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/OnlineEndpoint/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningOnlineEndpointResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningOnlineEndpointResource.cs index 5f287bd234b2f..054830d762be0 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningOnlineEndpointResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningOnlineEndpointResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningOnlineEndpointResource { - // Delete Workspace Online Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWorkspaceOnlineEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/OnlineEndpoint/delete.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteWorkspaceOnlineEndpoint() // invoke the operation await machineLearningOnlineEndpoint.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Online Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceOnlineEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/OnlineEndpoint/get.json @@ -76,9 +75,8 @@ public async Task Get_GetWorkspaceOnlineEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Workspace Online Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateWorkspaceOnlineEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/OnlineEndpoint/update.json @@ -125,9 +123,8 @@ public async Task Update_UpdateWorkspaceOnlineEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ListKeys Workspace Online Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_ListKeysWorkspaceOnlineEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/OnlineEndpoint/listKeys.json @@ -153,9 +150,8 @@ public async Task GetKeys_ListKeysWorkspaceOnlineEndpoint() Console.WriteLine($"Succeeded: {result}"); } - // RegenerateKeys Workspace Online Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKeys_RegenerateKeysWorkspaceOnlineEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/OnlineEndpoint/regenerateKeys.json @@ -182,12 +178,11 @@ public async Task RegenerateKeys_RegenerateKeysWorkspaceOnlineEndpoint() }; await machineLearningOnlineEndpoint.RegenerateKeysAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetToken Workspace Online Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetToken_GetTokenWorkspaceOnlineEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/OnlineEndpoint/getToken.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningOutboundRuleBasicCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningOutboundRuleBasicCollection.cs index 336dacb502528..9b8c936818dc0 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningOutboundRuleBasicCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningOutboundRuleBasicCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningOutboundRuleBasicCollection { - // List ManagedNetworkSettingsRule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListManagedNetworkSettingsRule() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/ManagedNetwork/listRule.json @@ -49,12 +49,11 @@ public async Task GetAll_ListManagedNetworkSettingsRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get ManagedNetworkSettingsRule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagedNetworkSettingsRule() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/ManagedNetwork/getRule.json @@ -87,9 +86,8 @@ public async Task Get_GetManagedNetworkSettingsRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get ManagedNetworkSettingsRule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetManagedNetworkSettingsRule() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/ManagedNetwork/getRule.json @@ -118,9 +116,8 @@ public async Task Exists_GetManagedNetworkSettingsRule() Console.WriteLine($"Succeeded: {result}"); } - // Get ManagedNetworkSettingsRule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetManagedNetworkSettingsRule() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/ManagedNetwork/getRule.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetManagedNetworkSettingsRule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetManagedNetworkSettingsRule() } } - // CreateOrUpdate ManagedNetworkSettingsRule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateManagedNetworkSettingsRule() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/ManagedNetwork/createOrUpdateRule.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningOutboundRuleBasicResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningOutboundRuleBasicResource.cs index 7068120b968a7..f726de50c9024 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningOutboundRuleBasicResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningOutboundRuleBasicResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningOutboundRuleBasicResource { - // Delete ManagedNetworkSettingsRule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteManagedNetworkSettingsRule() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/ManagedNetwork/deleteRule.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteManagedNetworkSettingsRule() // invoke the operation await machineLearningOutboundRuleBasic.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get ManagedNetworkSettingsRule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagedNetworkSettingsRule() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/ManagedNetwork/getRule.json @@ -75,9 +74,8 @@ public async Task Get_GetManagedNetworkSettingsRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate ManagedNetworkSettingsRule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateManagedNetworkSettingsRule() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/ManagedNetwork/createOrUpdateRule.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningPrivateEndpointConnectionCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningPrivateEndpointConnectionCollection.cs index 37882ae86cfed..c8a7df8fc00ac 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningPrivateEndpointConnectionCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningPrivateEndpointConnectionCollection { - // StorageAccountListPrivateEndpointConnections - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_StorageAccountListPrivateEndpointConnections() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/PrivateEndpointConnection/list.json @@ -49,12 +49,11 @@ public async Task GetAll_StorageAccountListPrivateEndpointConnections() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkspaceGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkspaceGetPrivateEndpointConnection() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/PrivateEndpointConnection/get.json @@ -87,9 +86,8 @@ public async Task Get_WorkspaceGetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkspaceGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WorkspaceGetPrivateEndpointConnection() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/PrivateEndpointConnection/get.json @@ -118,9 +116,8 @@ public async Task Exists_WorkspaceGetPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // WorkspaceGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WorkspaceGetPrivateEndpointConnection() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/PrivateEndpointConnection/get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_WorkspaceGetPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_WorkspaceGetPrivateEndpointConnection() } } - // WorkspacePutPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_WorkspacePutPrivateEndpointConnection() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/PrivateEndpointConnection/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningPrivateEndpointConnectionResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningPrivateEndpointConnectionResource.cs index 0f7384528f55c..3690c49782e7c 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningPrivateEndpointConnectionResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningPrivateEndpointConnectionResource { - // WorkspaceGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkspaceGetPrivateEndpointConnection() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/PrivateEndpointConnection/get.json @@ -47,9 +47,8 @@ public async Task Get_WorkspaceGetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkspacePutPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_WorkspacePutPrivateEndpointConnection() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/PrivateEndpointConnection/createOrUpdate.json @@ -88,9 +87,8 @@ public async Task Update_WorkspacePutPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkspaceDeletePrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_WorkspaceDeletePrivateEndpointConnection() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/PrivateEndpointConnection/delete.json @@ -113,7 +111,7 @@ public async Task Delete_WorkspaceDeletePrivateEndpointConnection() // invoke the operation await machineLearningPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryCodeContainerCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryCodeContainerCollection.cs index 3e0dcc45f55d4..cd6335bd26341 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryCodeContainerCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryCodeContainerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningRegistryCodeContainerCollection { - // List Registry Code Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRegistryCodeContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/CodeContainer/list.json @@ -49,12 +49,11 @@ public async Task GetAll_ListRegistryCodeContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registry Code Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryCodeContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/CodeContainer/get.json @@ -87,9 +86,8 @@ public async Task Get_GetRegistryCodeContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Registry Code Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRegistryCodeContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/CodeContainer/get.json @@ -118,9 +116,8 @@ public async Task Exists_GetRegistryCodeContainer() Console.WriteLine($"Succeeded: {result}"); } - // Get Registry Code Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRegistryCodeContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/CodeContainer/get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetRegistryCodeContainer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetRegistryCodeContainer() } } - // CreateOrUpdate Registry Code Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateRegistryCodeContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/CodeContainer/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryCodeContainerResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryCodeContainerResource.cs index 183c8b8e2d60b..f36bfa59cb873 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryCodeContainerResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryCodeContainerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningRegistryCodeContainerResource { - // Delete Registry Code Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteRegistryCodeContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/CodeContainer/delete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteRegistryCodeContainer() // invoke the operation await machineLearningRegistryCodeContainer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registry Code Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryCodeContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/CodeContainer/get.json @@ -75,9 +74,8 @@ public async Task Get_GetRegistryCodeContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Registry Code Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateRegistryCodeContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/CodeContainer/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryCodeVersionCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryCodeVersionCollection.cs index 73e592f7fecf3..f6fbf20f05cf3 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryCodeVersionCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryCodeVersionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningRegistryCodeVersionCollection { - // List Registry Code Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRegistryCodeVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/CodeVersion/list.json @@ -52,12 +52,11 @@ public async Task GetAll_ListRegistryCodeVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registry Code Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryCodeVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/CodeVersion/get.json @@ -91,9 +90,8 @@ public async Task Get_GetRegistryCodeVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Registry Code Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRegistryCodeVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/CodeVersion/get.json @@ -123,9 +121,8 @@ public async Task Exists_GetRegistryCodeVersion() Console.WriteLine($"Succeeded: {result}"); } - // Get Registry Code Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRegistryCodeVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/CodeVersion/get.json @@ -155,7 +152,7 @@ public async Task GetIfExists_GetRegistryCodeVersion() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -167,9 +164,8 @@ public async Task GetIfExists_GetRegistryCodeVersion() } } - // CreateOrUpdate Registry Code Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateRegistryCodeVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/CodeVersion/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryCodeVersionResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryCodeVersionResource.cs index b1d6fc89129af..afd0577d8cae3 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryCodeVersionResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryCodeVersionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningRegistryCodeVersionResource { - // Delete Registry Code Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteRegistryCodeVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/CodeVersion/delete.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteRegistryCodeVersion() // invoke the operation await machineLearningRegistryCodeVersion.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registry Code Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryCodeVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/CodeVersion/get.json @@ -77,9 +76,8 @@ public async Task Get_GetRegistryCodeVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Registry Code Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateRegistryCodeVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/CodeVersion/createOrUpdate.json @@ -125,9 +123,8 @@ public async Task Update_CreateOrUpdateRegistryCodeVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrGetStartPendingUpload Registry Code Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrGetStartPendingUpload_CreateOrGetStartPendingUploadRegistryCodeVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/CodeVersion/createOrGetStartPendingUpload.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryCollection.cs index 5cbc7678677b1..fa1b2005e12aa 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.MachineLearning.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningRegistryCollection { - // List registries with system created accounts. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRegistriesWithSystemCreatedAccounts() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/list-SystemCreated.json @@ -50,12 +50,11 @@ public async Task GetAll_ListRegistriesWithSystemCreatedAccounts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List registries with user created accounts. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRegistriesWithUserCreatedAccounts() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/list-UserCreated.json @@ -86,12 +85,11 @@ public async Task GetAll_ListRegistriesWithUserCreatedAccounts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registry with system created accounts. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryWithSystemCreatedAccounts() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/get-SystemCreated.json @@ -123,9 +121,8 @@ public async Task Get_GetRegistryWithSystemCreatedAccounts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Registry with system created accounts. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRegistryWithSystemCreatedAccounts() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/get-SystemCreated.json @@ -153,9 +150,8 @@ public async Task Exists_GetRegistryWithSystemCreatedAccounts() Console.WriteLine($"Succeeded: {result}"); } - // Get Registry with system created accounts. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRegistryWithSystemCreatedAccounts() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/get-SystemCreated.json @@ -183,7 +179,7 @@ public async Task GetIfExists_GetRegistryWithSystemCreatedAccounts() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -195,9 +191,8 @@ public async Task GetIfExists_GetRegistryWithSystemCreatedAccounts() } } - // Get Registry with user created accounts. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryWithUserCreatedAccounts() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/get-UserCreated.json @@ -229,9 +224,8 @@ public async Task Get_GetRegistryWithUserCreatedAccounts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Registry with user created accounts. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRegistryWithUserCreatedAccounts() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/get-UserCreated.json @@ -259,9 +253,8 @@ public async Task Exists_GetRegistryWithUserCreatedAccounts() Console.WriteLine($"Succeeded: {result}"); } - // Get Registry with user created accounts. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRegistryWithUserCreatedAccounts() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/get-UserCreated.json @@ -289,7 +282,7 @@ public async Task GetIfExists_GetRegistryWithUserCreatedAccounts() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -301,9 +294,8 @@ public async Task GetIfExists_GetRegistryWithUserCreatedAccounts() } } - // CreateOrUpdate Registry with system created accounts. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateRegistryWithSystemCreatedAccounts() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/createOrUpdate-SystemCreated.json @@ -418,9 +410,8 @@ public async Task CreateOrUpdate_CreateOrUpdateRegistryWithSystemCreatedAccounts Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Registry with user created accounts. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateRegistryWithUserCreatedAccounts() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/createOrUpdate-UserCreated.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryDataContainerCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryDataContainerCollection.cs index b976351c53af3..9e2d67c3f83aa 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryDataContainerCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryDataContainerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningRegistryDataContainerCollection { - // RegistryList Registry Data Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RegistryListRegistryDataContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/DataContainer/registryList.json @@ -50,12 +50,11 @@ public async Task GetAll_RegistryListRegistryDataContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registry Data Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryDataContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/DataContainer/get.json @@ -88,9 +87,8 @@ public async Task Get_GetRegistryDataContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Registry Data Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRegistryDataContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/DataContainer/get.json @@ -119,9 +117,8 @@ public async Task Exists_GetRegistryDataContainer() Console.WriteLine($"Succeeded: {result}"); } - // Get Registry Data Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRegistryDataContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/DataContainer/get.json @@ -150,7 +147,7 @@ public async Task GetIfExists_GetRegistryDataContainer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_GetRegistryDataContainer() } } - // CreateOrUpdate Registry Data Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateRegistryDataContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/DataContainer/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryDataContainerResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryDataContainerResource.cs index 3c443dbdcaf65..7076376ca0c6b 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryDataContainerResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryDataContainerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningRegistryDataContainerResource { - // Delete Registry Data Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteRegistryDataContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/DataContainer/delete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteRegistryDataContainer() // invoke the operation await machineLearningRegistryDataContainer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registry Data Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryDataContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/DataContainer/get.json @@ -75,9 +74,8 @@ public async Task Get_GetRegistryDataContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Registry Data Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateRegistryDataContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/DataContainer/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryDataVersionCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryDataVersionCollection.cs index 31b9a44892ecf..44a3ca68aa1e2 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryDataVersionCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryDataVersionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningRegistryDataVersionCollection { - // RegistryList Registry Data Version Base. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RegistryListRegistryDataVersionBase() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/DataVersionBase/registryList.json @@ -54,12 +54,11 @@ public async Task GetAll_RegistryListRegistryDataVersionBase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registry Data Version Base. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryDataVersionBase() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/DataVersionBase/get.json @@ -93,9 +92,8 @@ public async Task Get_GetRegistryDataVersionBase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Registry Data Version Base. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRegistryDataVersionBase() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/DataVersionBase/get.json @@ -125,9 +123,8 @@ public async Task Exists_GetRegistryDataVersionBase() Console.WriteLine($"Succeeded: {result}"); } - // Get Registry Data Version Base. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRegistryDataVersionBase() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/DataVersionBase/get.json @@ -157,7 +154,7 @@ public async Task GetIfExists_GetRegistryDataVersionBase() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_GetRegistryDataVersionBase() } } - // CreateOrUpdate Registry Data Version Base. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateRegistryDataVersionBase() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/DataVersionBase/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryDataVersionResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryDataVersionResource.cs index a8eb7798b26ec..b8c3878873f94 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryDataVersionResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryDataVersionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningRegistryDataVersionResource { - // Delete Registry Data Version Base. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteRegistryDataVersionBase() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/DataVersionBase/delete.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteRegistryDataVersionBase() // invoke the operation await machineLearningRegistryDataVersion.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registry Data Version Base. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryDataVersionBase() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/DataVersionBase/get.json @@ -77,9 +76,8 @@ public async Task Get_GetRegistryDataVersionBase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Registry Data Version Base. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateRegistryDataVersionBase() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/DataVersionBase/createOrUpdate.json @@ -129,9 +127,8 @@ public async Task Update_CreateOrUpdateRegistryDataVersionBase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrGetStartPendingUpload Registry Data Version Base. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrGetStartPendingUpload_CreateOrGetStartPendingUploadRegistryDataVersionBase() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/DataVersionBase/createOrGetStartPendingUpload.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryEnvironmentContainerCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryEnvironmentContainerCollection.cs index 8b91affc1bb36..89063a6aa5cb6 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryEnvironmentContainerCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryEnvironmentContainerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningRegistryEnvironmentContainerCollection { - // List Registry Environment Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRegistryEnvironmentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/EnvironmentContainer/list.json @@ -49,12 +49,11 @@ public async Task GetAll_ListRegistryEnvironmentContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registry Environment Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryEnvironmentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/EnvironmentContainer/get.json @@ -87,9 +86,8 @@ public async Task Get_GetRegistryEnvironmentContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Registry Environment Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRegistryEnvironmentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/EnvironmentContainer/get.json @@ -118,9 +116,8 @@ public async Task Exists_GetRegistryEnvironmentContainer() Console.WriteLine($"Succeeded: {result}"); } - // Get Registry Environment Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRegistryEnvironmentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/EnvironmentContainer/get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetRegistryEnvironmentContainer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetRegistryEnvironmentContainer() } } - // CreateOrUpdate Registry Environment Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateRegistryEnvironmentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/EnvironmentContainer/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryEnvironmentContainerResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryEnvironmentContainerResource.cs index b4f45f58c2813..d5720174a719e 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryEnvironmentContainerResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryEnvironmentContainerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningRegistryEnvironmentContainerResource { - // Delete Registry Environment Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteRegistryEnvironmentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/EnvironmentContainer/delete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteRegistryEnvironmentContainer() // invoke the operation await machineLearningRegistryEnvironmentContainer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registry Environment Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryEnvironmentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/EnvironmentContainer/get.json @@ -75,9 +74,8 @@ public async Task Get_GetRegistryEnvironmentContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Registry Environment Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateRegistryEnvironmentContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/EnvironmentContainer/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryEnvironmentVersionCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryEnvironmentVersionCollection.cs index 2cb0dc43bacc1..ea2cc9151872c 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryEnvironmentVersionCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryEnvironmentVersionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningRegistryEnvironmentVersionCollection { - // List Registry Environment Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRegistryEnvironmentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/EnvironmentVersion/list.json @@ -52,12 +52,11 @@ public async Task GetAll_ListRegistryEnvironmentVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registry Environment Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryEnvironmentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/EnvironmentVersion/get.json @@ -91,9 +90,8 @@ public async Task Get_GetRegistryEnvironmentVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Registry Environment Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRegistryEnvironmentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/EnvironmentVersion/get.json @@ -123,9 +121,8 @@ public async Task Exists_GetRegistryEnvironmentVersion() Console.WriteLine($"Succeeded: {result}"); } - // Get Registry Environment Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRegistryEnvironmentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/EnvironmentVersion/get.json @@ -155,7 +152,7 @@ public async Task GetIfExists_GetRegistryEnvironmentVersion() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -167,9 +164,8 @@ public async Task GetIfExists_GetRegistryEnvironmentVersion() } } - // CreateOrUpdate Registry Environment Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateRegistryEnvironmentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/EnvironmentVersion/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryEnvironmentVersionResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryEnvironmentVersionResource.cs index 799fc99666900..b1970e954c2d2 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryEnvironmentVersionResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryEnvironmentVersionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningRegistryEnvironmentVersionResource { - // Delete Registry Environment Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteRegistryEnvironmentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/EnvironmentVersion/delete.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteRegistryEnvironmentVersion() // invoke the operation await machineLearningRegistryEnvironmentVersion.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registry Environment Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryEnvironmentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/EnvironmentVersion/get.json @@ -77,9 +76,8 @@ public async Task Get_GetRegistryEnvironmentVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Registry Environment Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateRegistryEnvironmentVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/EnvironmentVersion/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryModelContainerCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryModelContainerCollection.cs index 2f7526b40337b..e88e996287492 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryModelContainerCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryModelContainerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningRegistryModelContainerCollection { - // List Registry Model Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRegistryModelContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ModelContainer/list.json @@ -49,12 +49,11 @@ public async Task GetAll_ListRegistryModelContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registry Model Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryModelContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ModelContainer/get.json @@ -87,9 +86,8 @@ public async Task Get_GetRegistryModelContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Registry Model Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRegistryModelContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ModelContainer/get.json @@ -118,9 +116,8 @@ public async Task Exists_GetRegistryModelContainer() Console.WriteLine($"Succeeded: {result}"); } - // Get Registry Model Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRegistryModelContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ModelContainer/get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetRegistryModelContainer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetRegistryModelContainer() } } - // CreateOrUpdate Registry Model Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateRegistryModelContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ModelContainer/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryModelContainerResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryModelContainerResource.cs index da10344660d0c..0c6ae28111389 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryModelContainerResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryModelContainerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningRegistryModelContainerResource { - // Delete Registry Model Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteRegistryModelContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ModelContainer/delete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteRegistryModelContainer() // invoke the operation await machineLearningRegistryModelContainer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registry Model Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryModelContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ModelContainer/get.json @@ -75,9 +74,8 @@ public async Task Get_GetRegistryModelContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Registry Model Container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateRegistryModelContainer() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ModelContainer/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryModelVersionCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryModelVersionCollection.cs index 3e3d0fb323df9..d8cfc1e3e66ef 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryModelVersionCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryModelVersionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningRegistryModelVersionCollection { - // List Registry Model Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRegistryModelVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ModelVersion/list.json @@ -51,12 +51,11 @@ public async Task GetAll_ListRegistryModelVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registry Model Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryModelVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ModelVersion/get.json @@ -90,9 +89,8 @@ public async Task Get_GetRegistryModelVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Registry Model Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRegistryModelVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ModelVersion/get.json @@ -122,9 +120,8 @@ public async Task Exists_GetRegistryModelVersion() Console.WriteLine($"Succeeded: {result}"); } - // Get Registry Model Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRegistryModelVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ModelVersion/get.json @@ -154,7 +151,7 @@ public async Task GetIfExists_GetRegistryModelVersion() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -166,9 +163,8 @@ public async Task GetIfExists_GetRegistryModelVersion() } } - // CreateOrUpdate Registry Model Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateRegistryModelVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ModelVersion/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryModelVersionResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryModelVersionResource.cs index 49471a0103e97..1780806e3afca 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryModelVersionResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryModelVersionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningRegistryModelVersionResource { - // Delete Registry Model Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteRegistryModelVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ModelVersion/delete.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteRegistryModelVersion() // invoke the operation await machineLearningRegistryModelVersion.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registry Model Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryModelVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ModelVersion/get.json @@ -77,9 +76,8 @@ public async Task Get_GetRegistryModelVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Registry Model Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateRegistryModelVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ModelVersion/createOrUpdate.json @@ -136,9 +134,8 @@ public async Task Update_CreateOrUpdateRegistryModelVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrGetStartPendingUpload Registry Model Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrGetStartPendingUpload_CreateOrGetStartPendingUploadRegistryModelVersion() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registry/ModelVersion/createOrGetStartPendingUpload.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryResource.cs index 91903bd54ba3a..4b801b396d961 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningRegistryResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.MachineLearning.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningRegistryResource { - // GetBlobReferenceSAS Data Reference. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBlobReferenceSasRegistryDataReference_GetBlobReferenceSASDataReference() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/DataReference/getBlobReferenceSAS.json @@ -51,9 +51,8 @@ public async Task GetBlobReferenceSasRegistryDataReference_GetBlobReferenceSASDa Console.WriteLine($"Succeeded: {result}"); } - // List registries by subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMachineLearningRegistries_ListRegistriesBySubscription() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/listBySubscription.json @@ -80,12 +79,11 @@ public async Task GetMachineLearningRegistries_ListRegistriesBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Delete Registry. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteRegistry() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/delete.json @@ -107,12 +105,11 @@ public async Task Delete_DeleteRegistry() // invoke the operation await machineLearningRegistry.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registry with system created accounts. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryWithSystemCreatedAccounts() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/get-SystemCreated.json @@ -141,9 +138,8 @@ public async Task Get_GetRegistryWithSystemCreatedAccounts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Registry with user created accounts. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistryWithUserCreatedAccounts() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/get-UserCreated.json @@ -172,9 +168,8 @@ public async Task Get_GetRegistryWithUserCreatedAccounts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Registry with system created accounts. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateRegistryWithSystemCreatedAccounts() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/update-SystemCreated.json @@ -224,9 +219,8 @@ public async Task Update_UpdateRegistryWithSystemCreatedAccounts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Registry with user created accounts. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateRegistryWithUserCreatedAccounts() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/update-UserCreated.json @@ -276,9 +270,8 @@ public async Task Update_UpdateRegistryWithUserCreatedAccounts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Remove regions from registry - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RemoveRegions_RemoveRegionsFromRegistry() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Registries/removeRegions.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningScheduleCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningScheduleCollection.cs index 9004740e819f1..57da82e429848 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningScheduleCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningScheduleCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningScheduleCollection { - // List Schedules. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSchedules() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Schedule/list.json @@ -50,12 +50,11 @@ public async Task GetAll_ListSchedules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Schedule. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSchedule() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Schedule/get.json @@ -88,9 +87,8 @@ public async Task Get_GetSchedule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Schedule. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSchedule() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Schedule/get.json @@ -119,9 +117,8 @@ public async Task Exists_GetSchedule() Console.WriteLine($"Succeeded: {result}"); } - // Get Schedule. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSchedule() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Schedule/get.json @@ -150,7 +147,7 @@ public async Task GetIfExists_GetSchedule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_GetSchedule() } } - // CreateOrUpdate Schedule. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateSchedule() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Schedule/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningScheduleResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningScheduleResource.cs index 47302b51176eb..a8684dfaa8195 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningScheduleResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningScheduleResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningScheduleResource { - // Delete Schedule. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSchedule() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Schedule/delete.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteSchedule() // invoke the operation await machineLearningSchedule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Schedule. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSchedule() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Schedule/get.json @@ -76,9 +75,8 @@ public async Task Get_GetSchedule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate Schedule. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateSchedule() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Schedule/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningServerlessEndpointCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningServerlessEndpointCollection.cs index 35c830b4c31c1..5f4f53e462bdb 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningServerlessEndpointCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningServerlessEndpointCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; using Azure.ResourceManager.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningServerlessEndpointCollection { - // List Workspace Serverless Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWorkspaceServerlessEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ServerlessEndpoint/list.json @@ -50,12 +50,11 @@ public async Task GetAll_ListWorkspaceServerlessEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Serverless Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceServerlessEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ServerlessEndpoint/get.json @@ -88,9 +87,8 @@ public async Task Get_GetWorkspaceServerlessEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Workspace Serverless Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWorkspaceServerlessEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ServerlessEndpoint/get.json @@ -119,9 +117,8 @@ public async Task Exists_GetWorkspaceServerlessEndpoint() Console.WriteLine($"Succeeded: {result}"); } - // Get Workspace Serverless Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWorkspaceServerlessEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ServerlessEndpoint/get.json @@ -150,7 +147,7 @@ public async Task GetIfExists_GetWorkspaceServerlessEndpoint() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_GetWorkspaceServerlessEndpoint() } } - // CreateOrUpdate Workspace Serverless Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWorkspaceServerlessEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ServerlessEndpoint/createOrUpdate.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningServerlessEndpointResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningServerlessEndpointResource.cs index 66e58969a424c..47363c25d611c 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningServerlessEndpointResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningServerlessEndpointResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningServerlessEndpointResource { - // Delete Workspace Serverless Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWorkspaceServerlessEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ServerlessEndpoint/delete.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteWorkspaceServerlessEndpoint() // invoke the operation await machineLearningServerlessEndpoint.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspace Serverless Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceServerlessEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ServerlessEndpoint/get.json @@ -76,9 +75,8 @@ public async Task Get_GetWorkspaceServerlessEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Workspace Serverless Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateWorkspaceServerlessEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ServerlessEndpoint/update.json @@ -133,9 +131,8 @@ public async Task Update_UpdateWorkspaceServerlessEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ListKeys Workspace Serverless Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_ListKeysWorkspaceServerlessEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ServerlessEndpoint/listKeys.json @@ -161,9 +158,8 @@ public async Task GetKeys_ListKeysWorkspaceServerlessEndpoint() Console.WriteLine($"Succeeded: {result}"); } - // RegenerateKeys Workspace Serverless Endpoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKeys_RegenerateKeysWorkspaceServerlessEndpoint() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/ServerlessEndpoint/regenerateKeys.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningWorkspaceCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningWorkspaceCollection.cs index fb60944226e91..de0e72f8ae04f 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningWorkspaceCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningWorkspaceCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.MachineLearning.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningWorkspaceCollection { - // Get Workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspace() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/get.json @@ -51,9 +51,8 @@ public async Task Get_GetWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWorkspace() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/get.json @@ -81,9 +80,8 @@ public async Task Exists_GetWorkspace() Console.WriteLine($"Succeeded: {result}"); } - // Get Workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWorkspace() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetWorkspace() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetWorkspace() } } - // Create Workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateWorkspace() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/create.json @@ -193,9 +190,8 @@ public async Task CreateOrUpdate_CreateWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Workspaces by Resource Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetWorkspacesByResourceGroup() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/listByResourceGroup.json @@ -226,7 +222,7 @@ public async Task GetAll_GetWorkspacesByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningWorkspaceConnectionCollection.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningWorkspaceConnectionCollection.cs index bc86545806a24..8232448788a4d 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningWorkspaceConnectionCollection.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningWorkspaceConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningWorkspaceConnectionCollection { - // CreateWorkspaceConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateWorkspaceConnection() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/WorkspaceConnection/create.json @@ -56,9 +56,8 @@ public async Task CreateOrUpdate_CreateWorkspaceConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetWorkspaceConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceConnection() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/WorkspaceConnection/get.json @@ -91,9 +90,8 @@ public async Task Get_GetWorkspaceConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetWorkspaceConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWorkspaceConnection() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/WorkspaceConnection/get.json @@ -122,9 +120,8 @@ public async Task Exists_GetWorkspaceConnection() Console.WriteLine($"Succeeded: {result}"); } - // GetWorkspaceConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWorkspaceConnection() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/WorkspaceConnection/get.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetWorkspaceConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_GetWorkspaceConnection() } } - // ListWorkspaceConnections - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWorkspaceConnections() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/WorkspaceConnection/list.json @@ -201,7 +197,7 @@ public async Task GetAll_ListWorkspaceConnections() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningWorkspaceConnectionResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningWorkspaceConnectionResource.cs index 3a448537e501a..23cda589990d3 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningWorkspaceConnectionResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningWorkspaceConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningWorkspaceConnectionResource { - // CreateWorkspaceConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateWorkspaceConnection() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/WorkspaceConnection/create.json @@ -53,9 +53,8 @@ public async Task Update_CreateWorkspaceConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetWorkspaceConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceConnection() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/WorkspaceConnection/get.json @@ -85,9 +84,8 @@ public async Task Get_GetWorkspaceConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteWorkspaceConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWorkspaceConnection() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/WorkspaceConnection/delete.json @@ -110,12 +108,11 @@ public async Task Delete_DeleteWorkspaceConnection() // invoke the operation await machineLearningWorkspaceConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetWorkspaceConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecrets_GetWorkspaceConnection() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/WorkspaceConnection/listSecrets.json diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningWorkspaceResource.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningWorkspaceResource.cs index 8fbb8883dfdda..ed5ced4024a79 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningWorkspaceResource.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_MachineLearningWorkspaceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_MachineLearningWorkspaceResource { - // Get Workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspace() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/get.json @@ -47,9 +47,8 @@ public async Task Get_GetWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWorkspace() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/delete.json @@ -71,12 +70,11 @@ public async Task Delete_DeleteWorkspace() // invoke the operation await machineLearningWorkspace.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update Workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateWorkspace() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/update.json @@ -112,9 +110,8 @@ public async Task Update_UpdateWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Diagnose Workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Diagnose_DiagnoseWorkspace() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/diagnose.json @@ -173,9 +170,8 @@ public async Task Diagnose_DiagnoseWorkspace() Console.WriteLine($"Succeeded: {result}"); } - // List Workspace Keys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_ListWorkspaceKeys() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/listKeys.json @@ -200,9 +196,8 @@ public async Task GetKeys_ListWorkspaceKeys() Console.WriteLine($"Succeeded: {result}"); } - // Resync Workspace Keys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResyncKeys_ResyncWorkspaceKeys() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/resyncKeys.json @@ -224,12 +219,11 @@ public async Task ResyncKeys_ResyncWorkspaceKeys() // invoke the operation await machineLearningWorkspace.ResyncKeysAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Workspaces by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMachineLearningWorkspaces_GetWorkspacesBySubscription() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/listBySubscription.json @@ -256,12 +250,11 @@ public async Task GetMachineLearningWorkspaces_GetWorkspacesBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Workspace Keys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNotebookAccessToken_ListWorkspaceKeys() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/listNotebookAccessToken.json @@ -286,9 +279,8 @@ public async Task GetNotebookAccessToken_ListWorkspaceKeys() Console.WriteLine($"Succeeded: {result}"); } - // Prepare Notebook - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PrepareNotebook_PrepareNotebook() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Notebook/prepare.json @@ -314,9 +306,8 @@ public async Task PrepareNotebook_PrepareNotebook() Console.WriteLine($"Succeeded: {result}"); } - // List Workspace Keys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStorageAccountKeys_ListWorkspaceKeys() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Workspace/listStorageAccountKeys.json @@ -341,9 +332,8 @@ public async Task GetStorageAccountKeys_ListWorkspaceKeys() Console.WriteLine($"Succeeded: {result}"); } - // List Workspace Keys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNotebookKeys_ListWorkspaceKeys() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Notebook/listKeys.json @@ -368,9 +358,8 @@ public async Task GetNotebookKeys_ListWorkspaceKeys() Console.WriteLine($"Succeeded: {result}"); } - // ListOutboundNetworkDependenciesEndpoints - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOutboundNetworkDependenciesEndpoints_ListOutboundNetworkDependenciesEndpoints() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/ExternalFQDN/get.json @@ -395,12 +384,11 @@ public async Task GetOutboundNetworkDependenciesEndpoints_ListOutboundNetworkDep Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkspaceListPrivateLinkResources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinkResources_WorkspaceListPrivateLinkResources() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/PrivateLinkResource/list.json @@ -425,12 +413,11 @@ public async Task GetPrivateLinkResources_WorkspaceListPrivateLinkResources() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Provision ManagedNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ProvisionManagedNetworkManagedNetworkProvision_ProvisionManagedNetwork() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/ManagedNetwork/provision.json @@ -460,9 +447,8 @@ public async Task ProvisionManagedNetworkManagedNetworkProvision_ProvisionManage Console.WriteLine($"Succeeded: {result}"); } - // List Workspace features - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetWorkspaceFeatures_ListWorkspaceFeatures() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/WorkspaceFeature/list.json @@ -487,7 +473,7 @@ public async Task GetWorkspaceFeatures_ListWorkspaceFeatures() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index bce1897acbbcf..f6df3333f75a0 100644 --- a/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/machinelearningservices/Azure.ResourceManager.MachineLearning/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.MachineLearning.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MachineLearning.Samples { public partial class Sample_SubscriptionResourceExtensions { - // List Usages - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMachineLearningUsages_ListUsages() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Usage/list.json @@ -42,12 +42,11 @@ public async Task GetMachineLearningUsages_ListUsages() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List VM Sizes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMachineLearningVmSizes_ListVMSizes() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/VirtualMachineSize/list.json @@ -71,12 +70,11 @@ public async Task GetMachineLearningVmSizes_ListVMSizes() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // update quotas - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateMachineLearningQuotas_UpdateQuotas() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Quota/update.json @@ -119,12 +117,11 @@ public async Task UpdateMachineLearningQuotas_UpdateQuotas() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List workspace quotas by VMFamily - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMachineLearningQuotas_ListWorkspaceQuotasByVMFamily() { // Generated from example definition: specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2024-04-01/examples/Quota/list.json @@ -148,7 +145,7 @@ public async Task GetMachineLearningQuotas_ListWorkspaceQuotasByVMFamily() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_MaintenanceApplyUpdateCollection.cs b/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_MaintenanceApplyUpdateCollection.cs index 942a2e08eca13..059a94c987b07 100644 --- a/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_MaintenanceApplyUpdateCollection.cs +++ b/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_MaintenanceApplyUpdateCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Maintenance.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Maintenance.Samples { public partial class Sample_MaintenanceApplyUpdateCollection { - // ApplyUpdates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApplyUpdatesGet() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ApplyUpdates_Get.json @@ -53,9 +53,8 @@ public async Task Get_ApplyUpdatesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApplyUpdates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApplyUpdatesGet() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ApplyUpdates_Get.json @@ -86,9 +85,8 @@ public async Task Exists_ApplyUpdatesGet() Console.WriteLine($"Succeeded: {result}"); } - // ApplyUpdates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApplyUpdatesGet() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ApplyUpdates_Get.json @@ -119,7 +117,7 @@ public async Task GetIfExists_ApplyUpdatesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -131,9 +129,8 @@ public async Task GetIfExists_ApplyUpdatesGet() } } - // ApplyUpdates_CreateOrUpdateOnly_NoCancellation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApplyUpdatesCreateOrUpdateOnlyNoCancellation() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ApplyUpdates_CreateOrUpdateOnly_NoCancellation.json @@ -170,9 +167,8 @@ public async Task CreateOrUpdate_ApplyUpdatesCreateOrUpdateOnlyNoCancellation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApplyUpdates_CreateOrUpdateOrCancel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApplyUpdatesCreateOrUpdateOrCancel() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ApplyUpdates_CreateOrUpdate_CancelMaintenance.json diff --git a/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_MaintenanceApplyUpdateResource.cs b/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_MaintenanceApplyUpdateResource.cs index d0ca5fbfb2c84..925231ab6f0ea 100644 --- a/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_MaintenanceApplyUpdateResource.cs +++ b/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_MaintenanceApplyUpdateResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Maintenance.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Maintenance.Samples { public partial class Sample_MaintenanceApplyUpdateResource { - // ApplyUpdates_GetParent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApplyUpdatesByParent_ApplyUpdatesGetParent() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ApplyUpdates_GetParent.json @@ -47,9 +47,8 @@ public async Task GetApplyUpdatesByParent_ApplyUpdatesGetParent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApplyUpdates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApplyUpdatesGet() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ApplyUpdates_Get.json @@ -81,9 +80,8 @@ public async Task Get_ApplyUpdatesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApplyUpdates_CreateOrUpdateOnly_NoCancellation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApplyUpdatesCreateOrUpdateOnlyNoCancellation() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ApplyUpdates_CreateOrUpdateOnly_NoCancellation.json @@ -117,9 +115,8 @@ public async Task Update_ApplyUpdatesCreateOrUpdateOnlyNoCancellation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApplyUpdates_CreateOrUpdateOrCancel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApplyUpdatesCreateOrUpdateOrCancel() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ApplyUpdates_CreateOrUpdate_CancelMaintenance.json @@ -156,9 +153,8 @@ public async Task Update_ApplyUpdatesCreateOrUpdateOrCancel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApplyUpdates_CreateOrUpdateParent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateApplyUpdateByParent_ApplyUpdatesCreateOrUpdateParent() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ApplyUpdates_CreateOrUpdateParent.json @@ -191,9 +187,8 @@ public async Task CreateOrUpdateApplyUpdateByParent_ApplyUpdatesCreateOrUpdatePa Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApplyUpdates_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateApplyUpdate_ApplyUpdatesCreateOrUpdate() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ApplyUpdates_CreateOrUpdate.json @@ -224,9 +219,8 @@ public async Task CreateOrUpdateApplyUpdate_ApplyUpdatesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApplyUpdates_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMaintenanceApplyUpdates_ApplyUpdatesList() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ApplyUpdates_List.json @@ -253,7 +247,7 @@ public async Task GetMaintenanceApplyUpdates_ApplyUpdatesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_MaintenanceConfigurationCollection.cs b/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_MaintenanceConfigurationCollection.cs index 26cac851135a2..40ab339e6eb66 100644 --- a/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_MaintenanceConfigurationCollection.cs +++ b/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_MaintenanceConfigurationCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Maintenance.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Maintenance.Samples { public partial class Sample_MaintenanceConfigurationCollection { - // MaintenanceConfigurations_GetForResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MaintenanceConfigurationsGetForResource() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/MaintenanceConfigurations_GetForResource.json @@ -50,9 +50,8 @@ public async Task Get_MaintenanceConfigurationsGetForResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MaintenanceConfigurations_GetForResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_MaintenanceConfigurationsGetForResource() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/MaintenanceConfigurations_GetForResource.json @@ -80,9 +79,8 @@ public async Task Exists_MaintenanceConfigurationsGetForResource() Console.WriteLine($"Succeeded: {result}"); } - // MaintenanceConfigurations_GetForResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_MaintenanceConfigurationsGetForResource() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/MaintenanceConfigurations_GetForResource.json @@ -110,7 +108,7 @@ public async Task GetIfExists_MaintenanceConfigurationsGetForResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_MaintenanceConfigurationsGetForResource() } } - // MaintenanceConfigurations_GetForResource_GuestOSPatchLinux - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MaintenanceConfigurationsGetForResourceGuestOSPatchLinux() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/MaintenanceConfigurations_GetForResource_GuestOSPatchLinux.json @@ -156,9 +153,8 @@ public async Task Get_MaintenanceConfigurationsGetForResourceGuestOSPatchLinux() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MaintenanceConfigurations_GetForResource_GuestOSPatchLinux - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_MaintenanceConfigurationsGetForResourceGuestOSPatchLinux() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/MaintenanceConfigurations_GetForResource_GuestOSPatchLinux.json @@ -186,9 +182,8 @@ public async Task Exists_MaintenanceConfigurationsGetForResourceGuestOSPatchLinu Console.WriteLine($"Succeeded: {result}"); } - // MaintenanceConfigurations_GetForResource_GuestOSPatchLinux - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_MaintenanceConfigurationsGetForResourceGuestOSPatchLinux() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/MaintenanceConfigurations_GetForResource_GuestOSPatchLinux.json @@ -216,7 +211,7 @@ public async Task GetIfExists_MaintenanceConfigurationsGetForResourceGuestOSPatc if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -228,9 +223,8 @@ public async Task GetIfExists_MaintenanceConfigurationsGetForResourceGuestOSPatc } } - // MaintenanceConfigurations_GetForResource_GuestOSPatchWindows - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MaintenanceConfigurationsGetForResourceGuestOSPatchWindows() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/MaintenanceConfigurations_GetForResource_GuestOSPatchWindows.json @@ -262,9 +256,8 @@ public async Task Get_MaintenanceConfigurationsGetForResourceGuestOSPatchWindows Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MaintenanceConfigurations_GetForResource_GuestOSPatchWindows - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_MaintenanceConfigurationsGetForResourceGuestOSPatchWindows() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/MaintenanceConfigurations_GetForResource_GuestOSPatchWindows.json @@ -292,9 +285,8 @@ public async Task Exists_MaintenanceConfigurationsGetForResourceGuestOSPatchWind Console.WriteLine($"Succeeded: {result}"); } - // MaintenanceConfigurations_GetForResource_GuestOSPatchWindows - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_MaintenanceConfigurationsGetForResourceGuestOSPatchWindows() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/MaintenanceConfigurations_GetForResource_GuestOSPatchWindows.json @@ -322,7 +314,7 @@ public async Task GetIfExists_MaintenanceConfigurationsGetForResourceGuestOSPatc if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -334,9 +326,8 @@ public async Task GetIfExists_MaintenanceConfigurationsGetForResourceGuestOSPatc } } - // MaintenanceConfigurations_CreateOrUpdateForResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_MaintenanceConfigurationsCreateOrUpdateForResource() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/MaintenanceConfigurations_CreateOrUpdateForResource.json @@ -380,9 +371,8 @@ public async Task CreateOrUpdate_MaintenanceConfigurationsCreateOrUpdateForResou Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MaintenanceConfigurationsResourceGroup_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_MaintenanceConfigurationsResourceGroupList() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/MaintenanceConfigurationsResourceGroup_List.json @@ -413,7 +403,7 @@ public async Task GetAll_MaintenanceConfigurationsResourceGroupList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_MaintenanceConfigurationResource.cs b/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_MaintenanceConfigurationResource.cs index 2667ddb560eff..8ca11d25f84e9 100644 --- a/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_MaintenanceConfigurationResource.cs +++ b/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_MaintenanceConfigurationResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Maintenance.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Maintenance.Samples { public partial class Sample_MaintenanceConfigurationResource { - // MaintenanceConfigurations_GetForResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MaintenanceConfigurationsGetForResource() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/MaintenanceConfigurations_GetForResource.json @@ -47,9 +47,8 @@ public async Task Get_MaintenanceConfigurationsGetForResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MaintenanceConfigurations_GetForResource_GuestOSPatchLinux - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MaintenanceConfigurationsGetForResourceGuestOSPatchLinux() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/MaintenanceConfigurations_GetForResource_GuestOSPatchLinux.json @@ -78,9 +77,8 @@ public async Task Get_MaintenanceConfigurationsGetForResourceGuestOSPatchLinux() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MaintenanceConfigurations_GetForResource_GuestOSPatchWindows - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MaintenanceConfigurationsGetForResourceGuestOSPatchWindows() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/MaintenanceConfigurations_GetForResource_GuestOSPatchWindows.json @@ -109,9 +107,8 @@ public async Task Get_MaintenanceConfigurationsGetForResourceGuestOSPatchWindows Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MaintenanceConfigurations_DeleteForResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_MaintenanceConfigurationsDeleteForResource() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/MaintenanceConfigurations_DeleteForResource.json @@ -133,12 +130,11 @@ public async Task Delete_MaintenanceConfigurationsDeleteForResource() // invoke the operation await maintenanceConfiguration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // MaintenanceConfigurations_UpdateForResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_MaintenanceConfigurationsUpdateForResource() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/MaintenanceConfigurations_UpdateForResource.json @@ -178,9 +174,8 @@ public async Task Update_MaintenanceConfigurationsUpdateForResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MaintenanceConfigurations_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMaintenanceConfigurations_MaintenanceConfigurationsList() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/MaintenanceConfigurations_List.json @@ -207,7 +202,7 @@ public async Task GetMaintenanceConfigurations_MaintenanceConfigurationsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_MaintenancePublicConfigurationCollection.cs b/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_MaintenancePublicConfigurationCollection.cs index e506e3b02be21..ffd58d655b80f 100644 --- a/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_MaintenancePublicConfigurationCollection.cs +++ b/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_MaintenancePublicConfigurationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Maintenance.Samples { public partial class Sample_MaintenancePublicConfigurationCollection { - // PublicMaintenanceConfigurations_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PublicMaintenanceConfigurationsList() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/PublicMaintenanceConfigurations_List.json @@ -47,12 +47,11 @@ public async Task GetAll_PublicMaintenanceConfigurationsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PublicMaintenanceConfigurations_GetForResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PublicMaintenanceConfigurationsGetForResource() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/PublicMaintenanceConfigurations_GetForResource.json @@ -83,9 +82,8 @@ public async Task Get_PublicMaintenanceConfigurationsGetForResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PublicMaintenanceConfigurations_GetForResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PublicMaintenanceConfigurationsGetForResource() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/PublicMaintenanceConfigurations_GetForResource.json @@ -112,9 +110,8 @@ public async Task Exists_PublicMaintenanceConfigurationsGetForResource() Console.WriteLine($"Succeeded: {result}"); } - // PublicMaintenanceConfigurations_GetForResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PublicMaintenanceConfigurationsGetForResource() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/PublicMaintenanceConfigurations_GetForResource.json @@ -141,7 +138,7 @@ public async Task GetIfExists_PublicMaintenanceConfigurationsGetForResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_MaintenancePublicConfigurationResource.cs b/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_MaintenancePublicConfigurationResource.cs index d38bde969b61d..6470cd5da0f13 100644 --- a/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_MaintenancePublicConfigurationResource.cs +++ b/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_MaintenancePublicConfigurationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Maintenance.Samples { public partial class Sample_MaintenancePublicConfigurationResource { - // PublicMaintenanceConfigurations_GetForResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PublicMaintenanceConfigurationsGetForResource() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/PublicMaintenanceConfigurations_GetForResource.json diff --git a/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs b/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs index 7d028bc8ad281..22d1f0ffc454d 100644 --- a/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs +++ b/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Maintenance.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Maintenance.Samples { public partial class Sample_ResourceGroupResourceExtensions { - // ScheduledEvents_Acknowledge - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AcknowledgeScheduledEvent_ScheduledEventsAcknowledge() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ScheduledEvents_Acknowledge.json @@ -45,9 +45,8 @@ public async Task AcknowledgeScheduledEvent_ScheduledEventsAcknowledge() Console.WriteLine($"Succeeded: {result}"); } - // ConfigurationAssignments_GetParent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConfigurationAssignmentByParent_ConfigurationAssignmentsGetParent() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignments_GetParent.json @@ -72,9 +71,8 @@ public async Task GetConfigurationAssignmentByParent_ConfigurationAssignmentsGet Console.WriteLine($"Succeeded: {result}"); } - // ConfigurationAssignments_CreateOrUpdateParent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateConfigurationAssignmentByParent_ConfigurationAssignmentsCreateOrUpdateParent() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignments_CreateOrUpdateParent.json @@ -103,9 +101,8 @@ public async Task CreateOrUpdateConfigurationAssignmentByParent_ConfigurationAss Console.WriteLine($"Succeeded: {result}"); } - // ConfigurationAssignments_DeleteParent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteConfigurationAssignmentByParent_ConfigurationAssignmentsDeleteParent() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignments_DeleteParent.json @@ -130,9 +127,8 @@ public async Task DeleteConfigurationAssignmentByParent_ConfigurationAssignments Console.WriteLine($"Succeeded: {result}"); } - // ConfigurationAssignments_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConfigurationAssignment_ConfigurationAssignmentsGet() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignments_Get.json @@ -160,9 +156,8 @@ public async Task GetConfigurationAssignment_ConfigurationAssignmentsGet() Console.WriteLine($"Succeeded: {result}"); } - // ConfigurationAssignments_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateConfigurationAssignment_ConfigurationAssignmentsCreateOrUpdate() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignments_CreateOrUpdate.json @@ -194,9 +189,8 @@ public async Task CreateOrUpdateConfigurationAssignment_ConfigurationAssignments Console.WriteLine($"Succeeded: {result}"); } - // ConfigurationAssignments_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteConfigurationAssignment_ConfigurationAssignmentsDelete() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignments_Delete.json @@ -224,9 +218,8 @@ public async Task DeleteConfigurationAssignment_ConfigurationAssignmentsDelete() Console.WriteLine($"Succeeded: {result}"); } - // ConfigurationAssignments_ListParent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConfigurationAssignmentsByParent_ConfigurationAssignmentsListParent() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignments_ListParent.json @@ -255,12 +248,11 @@ public async Task GetConfigurationAssignmentsByParent_ConfigurationAssignmentsLi Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ConfigurationAssignments_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConfigurationAssignments_ConfigurationAssignmentsList() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignments_List.json @@ -287,12 +279,11 @@ public async Task GetConfigurationAssignments_ConfigurationAssignmentsList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApplyUpdatesResourceGroup_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMaintenanceApplyUpdates_ApplyUpdatesResourceGroupList() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ApplyUpdatesResourceGroup_List.json @@ -320,12 +311,11 @@ public async Task GetMaintenanceApplyUpdates_ApplyUpdatesResourceGroupList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ConfigurationAssignmentsForResourceGroup_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConfigurationAssignmentByResourceGroup_ConfigurationAssignmentsForResourceGroupGet() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignmentsForResourceGroup_Get.json @@ -350,9 +340,8 @@ public async Task GetConfigurationAssignmentByResourceGroup_ConfigurationAssignm Console.WriteLine($"Succeeded: {result}"); } - // ConfigurationAssignmentsForResourceGroup_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateConfigurationAssignmentByResourceGroup_ConfigurationAssignmentsForResourceGroupCreateOrUpdate() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignmentsForResourceGroup_CreateOrUpdate.json @@ -407,9 +396,8 @@ public async Task CreateOrUpdateConfigurationAssignmentByResourceGroup_Configura Console.WriteLine($"Succeeded: {result}"); } - // ConfigurationAssignmentsForResourceGroup_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateConfigurationAssignmentByResourceGroup_ConfigurationAssignmentsForResourceGroupCreateOrUpdate() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignmentsForResourceGroup_UpdateForResource.json @@ -464,9 +452,8 @@ public async Task UpdateConfigurationAssignmentByResourceGroup_ConfigurationAssi Console.WriteLine($"Succeeded: {result}"); } - // ConfigurationAssignmentsForResourceGroup_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteConfigurationAssignmentByResourceGroup_ConfigurationAssignmentsForResourceGroupDelete() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignmentsForResourceGroup_Delete.json @@ -491,9 +478,8 @@ public async Task DeleteConfigurationAssignmentByResourceGroup_ConfigurationAssi Console.WriteLine($"Succeeded: {result}"); } - // Updates_ListParent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUpdatesByParent_UpdatesListParent() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/Updates_ListParent.json @@ -522,12 +508,11 @@ public async Task GetUpdatesByParent_UpdatesListParent() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Updates_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUpdates_UpdatesList() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/Updates_List.json @@ -554,7 +539,7 @@ public async Task GetUpdates_UpdatesList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 7b3190792ef20..b8d920ec22c7f 100644 --- a/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/maintenance/Azure.ResourceManager.Maintenance/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Maintenance.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Maintenance.Samples { public partial class Sample_SubscriptionResourceExtensions { - // ConfigurationAssignmentsResultWithinSubscription_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConfigurationAssignmentsBySubscription_ConfigurationAssignmentsResultWithinSubscriptionList() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignmentsResultWithinSubscription_List.json @@ -41,12 +41,11 @@ public async Task GetConfigurationAssignmentsBySubscription_ConfigurationAssignm Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ConfigurationAssignments_GetParent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConfigurationAssignmentBySubscription_ConfigurationAssignmentsGetParent() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignmentsForSubscriptions_Get.json @@ -70,9 +69,8 @@ public async Task GetConfigurationAssignmentBySubscription_ConfigurationAssignme Console.WriteLine($"Succeeded: {result}"); } - // ConfigurationAssignmentsForSubscriptions_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateConfigurationAssignmentBySubscription_ConfigurationAssignmentsForSubscriptionsCreateOrUpdate() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignmentsForSubscriptions_CreateOrUpdate.json @@ -130,9 +128,8 @@ public async Task CreateOrUpdateConfigurationAssignmentBySubscription_Configurat Console.WriteLine($"Succeeded: {result}"); } - // ConfigurationAssignmentsForSubscriptions_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateConfigurationAssignmentBySubscription_ConfigurationAssignmentsForSubscriptionsCreateOrUpdate() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignmentsForSubscriptions_UpdateForResource.json @@ -190,9 +187,8 @@ public async Task UpdateConfigurationAssignmentBySubscription_ConfigurationAssig Console.WriteLine($"Succeeded: {result}"); } - // ConfigurationAssignmentsForSubscriptions_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteConfigurationAssignmentBySubscription_ConfigurationAssignmentsForSubscriptionsDelete() { // Generated from example definition: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignmentsForSubscriptions_Delete.json diff --git a/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ManagedNetworkCollection.cs b/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ManagedNetworkCollection.cs index c29a2ccd1f34f..96262fe9c4f29 100644 --- a/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ManagedNetworkCollection.cs +++ b/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ManagedNetworkCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.ManagedNetwork.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetwork.Samples { public partial class Sample_ManagedNetworkCollection { - // ManagedNetworksGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ManagedNetworksGet() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksGet.json @@ -51,9 +51,8 @@ public async Task Get_ManagedNetworksGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedNetworksGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ManagedNetworksGet() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksGet.json @@ -81,9 +80,8 @@ public async Task Exists_ManagedNetworksGet() Console.WriteLine($"Succeeded: {result}"); } - // ManagedNetworksGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ManagedNetworksGet() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_ManagedNetworksGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_ManagedNetworksGet() } } - // ManagedNetworksPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ManagedNetworksPut() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPut.json @@ -207,9 +204,8 @@ public async Task CreateOrUpdate_ManagedNetworksPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedNetworksListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ManagedNetworksListByResourceGroup() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListByResourceGroup.json @@ -240,7 +236,7 @@ public async Task GetAll_ManagedNetworksListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ManagedNetworkGroupCollection.cs b/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ManagedNetworkGroupCollection.cs index cff05fcb0d97b..fc8955845aa73 100644 --- a/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ManagedNetworkGroupCollection.cs +++ b/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ManagedNetworkGroupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetwork.Samples { public partial class Sample_ManagedNetworkGroupCollection { - // ManagementNetworkGroupsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ManagementNetworkGroupsGet() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsGet.json @@ -50,9 +50,8 @@ public async Task Get_ManagementNetworkGroupsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagementNetworkGroupsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ManagementNetworkGroupsGet() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsGet.json @@ -81,9 +80,8 @@ public async Task Exists_ManagementNetworkGroupsGet() Console.WriteLine($"Succeeded: {result}"); } - // ManagementNetworkGroupsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ManagementNetworkGroupsGet() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_ManagementNetworkGroupsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_ManagementNetworkGroupsGet() } } - // ManagementNetworkGroupsPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ManagementNetworkGroupsPut() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsPut.json @@ -186,9 +183,8 @@ public async Task CreateOrUpdate_ManagementNetworkGroupsPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedNetworksGroupsListByManagedNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ManagedNetworksGroupsListByManagedNetwork() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsListByManagedNetwork.json @@ -220,7 +216,7 @@ public async Task GetAll_ManagedNetworksGroupsListByManagedNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ManagedNetworkGroupResource.cs b/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ManagedNetworkGroupResource.cs index 153b4bdcf593b..f6220d71f428d 100644 --- a/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ManagedNetworkGroupResource.cs +++ b/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ManagedNetworkGroupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetwork.Samples { public partial class Sample_ManagedNetworkGroupResource { - // ManagementNetworkGroupsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ManagementNetworkGroupsGet() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsGet.json @@ -47,9 +47,8 @@ public async Task Get_ManagementNetworkGroupsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagementNetworkGroupsPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ManagementNetworkGroupsPut() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsPut.json @@ -106,9 +105,8 @@ public async Task Update_ManagementNetworkGroupsPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagementNetworkGroupsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ManagementNetworkGroupsDelete() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsDelete.json @@ -131,7 +129,7 @@ public async Task Delete_ManagementNetworkGroupsDelete() // invoke the operation await managedNetworkGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ManagedNetworkPeeringPolicyCollection.cs b/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ManagedNetworkPeeringPolicyCollection.cs index 2ffe4c6ef7d74..429503fd510f7 100644 --- a/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ManagedNetworkPeeringPolicyCollection.cs +++ b/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ManagedNetworkPeeringPolicyCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetwork.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetwork.Samples { public partial class Sample_ManagedNetworkPeeringPolicyCollection { - // ManagedNetworkPeeringPoliciesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ManagedNetworkPeeringPoliciesGet() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesGet.json @@ -51,9 +51,8 @@ public async Task Get_ManagedNetworkPeeringPoliciesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedNetworkPeeringPoliciesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ManagedNetworkPeeringPoliciesGet() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesGet.json @@ -82,9 +81,8 @@ public async Task Exists_ManagedNetworkPeeringPoliciesGet() Console.WriteLine($"Succeeded: {result}"); } - // ManagedNetworkPeeringPoliciesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ManagedNetworkPeeringPoliciesGet() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesGet.json @@ -113,7 +111,7 @@ public async Task GetIfExists_ManagedNetworkPeeringPoliciesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -125,9 +123,8 @@ public async Task GetIfExists_ManagedNetworkPeeringPoliciesGet() } } - // ManagedNetworkPeeringPoliciesPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ManagedNetworkPeeringPoliciesPut() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesPut.json @@ -175,9 +172,8 @@ public async Task CreateOrUpdate_ManagedNetworkPeeringPoliciesPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedNetworkPeeringPoliciesListByManagedNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ManagedNetworkPeeringPoliciesListByManagedNetwork() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesListByManagedNetwork.json @@ -209,7 +205,7 @@ public async Task GetAll_ManagedNetworkPeeringPoliciesListByManagedNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ManagedNetworkPeeringPolicyResource.cs b/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ManagedNetworkPeeringPolicyResource.cs index 841466a013b6d..279a39dc4d727 100644 --- a/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ManagedNetworkPeeringPolicyResource.cs +++ b/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ManagedNetworkPeeringPolicyResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetwork.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetwork.Samples { public partial class Sample_ManagedNetworkPeeringPolicyResource { - // ManagedNetworkPeeringPoliciesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ManagedNetworkPeeringPoliciesGet() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesGet.json @@ -48,9 +48,8 @@ public async Task Get_ManagedNetworkPeeringPoliciesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedNetworkPeeringPoliciesPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ManagedNetworkPeeringPoliciesPut() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesPut.json @@ -95,9 +94,8 @@ public async Task Update_ManagedNetworkPeeringPoliciesPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedNetworkPeeringPoliciesDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ManagedNetworkPeeringPoliciesDelete() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesDelete.json @@ -120,7 +118,7 @@ public async Task Delete_ManagedNetworkPeeringPoliciesDelete() // invoke the operation await managedNetworkPeeringPolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ManagedNetworkResource.cs b/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ManagedNetworkResource.cs index 5dc705d0cb5ff..3435c6ca32c2d 100644 --- a/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ManagedNetworkResource.cs +++ b/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ManagedNetworkResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetwork.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetwork.Samples { public partial class Sample_ManagedNetworkResource { - // ManagedNetworksGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ManagedNetworksGet() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksGet.json @@ -47,9 +47,8 @@ public async Task Get_ManagedNetworksGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedNetworksDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ManagedNetworksDelete() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksDelete.json @@ -71,12 +70,11 @@ public async Task Delete_ManagedNetworksDelete() // invoke the operation await managedNetwork.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ManagedNetworksPatch - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ManagedNetworksPatch() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPatch.json @@ -112,9 +110,8 @@ public async Task Update_ManagedNetworksPatch() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedNetworksListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagedNetworks_ManagedNetworksListBySubscription() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListBySubscription.json @@ -141,7 +138,7 @@ public async Task GetManagedNetworks_ManagedNetworksListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ScopeAssignmentCollection.cs b/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ScopeAssignmentCollection.cs index 85958e88ccfd1..1974a99029a93 100644 --- a/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ScopeAssignmentCollection.cs +++ b/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ScopeAssignmentCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetwork.Samples { public partial class Sample_ScopeAssignmentCollection { - // ScopeAssignmentsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ScopeAssignmentsGet() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsGet.json @@ -46,9 +46,8 @@ public async Task Get_ScopeAssignmentsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScopeAssignmentsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ScopeAssignmentsGet() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsGet.json @@ -74,9 +73,8 @@ public async Task Exists_ScopeAssignmentsGet() Console.WriteLine($"Succeeded: {result}"); } - // ScopeAssignmentsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ScopeAssignmentsGet() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsGet.json @@ -102,7 +100,7 @@ public async Task GetIfExists_ScopeAssignmentsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -114,9 +112,8 @@ public async Task GetIfExists_ScopeAssignmentsGet() } } - // ScopeAssignmentsPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ScopeAssignmentsPut() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsPut.json @@ -151,9 +148,8 @@ public async Task CreateOrUpdate_ScopeAssignmentsPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScopeAssignmentsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ScopeAssignmentsList() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsList.json @@ -182,7 +178,7 @@ public async Task GetAll_ScopeAssignmentsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ScopeAssignmentResource.cs b/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ScopeAssignmentResource.cs index e7d01a4f03666..c582cc4fec929 100644 --- a/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ScopeAssignmentResource.cs +++ b/sdk/managednetwork/Azure.ResourceManager.ManagedNetwork/samples/Generated/Samples/Sample_ScopeAssignmentResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetwork.Samples { public partial class Sample_ScopeAssignmentResource { - // ScopeAssignmentsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ScopeAssignmentsGet() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsGet.json @@ -44,9 +44,8 @@ public async Task Get_ScopeAssignmentsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScopeAssignmentsPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ScopeAssignmentsPut() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsPut.json @@ -79,9 +78,8 @@ public async Task Update_ScopeAssignmentsPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScopeAssignmentsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ScopeAssignmentsDelete() { // Generated from example definition: specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsDelete.json @@ -102,7 +100,7 @@ public async Task Delete_ScopeAssignmentsDelete() // invoke the operation await scopeAssignment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkDeviceCollection.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkDeviceCollection.cs index 5a2c3cfc71e94..d443f3cedbe5d 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkDeviceCollection.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkDeviceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkDeviceCollection { - // NetworkDevices_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NetworkDevicesCreateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkDevices_Create_MaximumSet_Gen.json @@ -61,9 +61,8 @@ public async Task CreateOrUpdate_NetworkDevicesCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkDevices_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkDevicesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkDevices_Get_MaximumSet_Gen.json @@ -95,9 +94,8 @@ public async Task Get_NetworkDevicesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkDevices_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NetworkDevicesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkDevices_Get_MaximumSet_Gen.json @@ -125,9 +123,8 @@ public async Task Exists_NetworkDevicesGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // NetworkDevices_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NetworkDevicesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkDevices_Get_MaximumSet_Gen.json @@ -155,7 +152,7 @@ public async Task GetIfExists_NetworkDevicesGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -167,9 +164,8 @@ public async Task GetIfExists_NetworkDevicesGetMaximumSetGen() } } - // NetworkDevices_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NetworkDevicesListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkDevices_ListByResourceGroup_MaximumSet_Gen.json @@ -200,7 +196,7 @@ public async Task GetAll_NetworkDevicesListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkDeviceInterfaceCollection.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkDeviceInterfaceCollection.cs index da20967aada7d..ec2e1af69e122 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkDeviceInterfaceCollection.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkDeviceInterfaceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkDeviceInterfaceCollection { - // NetworkInterfaces_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NetworkInterfacesCreateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkInterfaces_Create_MaximumSet_Gen.json @@ -54,9 +54,8 @@ public async Task CreateOrUpdate_NetworkInterfacesCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkInterfaces_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkInterfacesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkInterfaces_Get_MaximumSet_Gen.json @@ -89,9 +88,8 @@ public async Task Get_NetworkInterfacesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkInterfaces_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NetworkInterfacesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkInterfaces_Get_MaximumSet_Gen.json @@ -120,9 +118,8 @@ public async Task Exists_NetworkInterfacesGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // NetworkInterfaces_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NetworkInterfacesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkInterfaces_Get_MaximumSet_Gen.json @@ -151,7 +148,7 @@ public async Task GetIfExists_NetworkInterfacesGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -163,9 +160,8 @@ public async Task GetIfExists_NetworkInterfacesGetMaximumSetGen() } } - // NetworkInterfaces_ListByNetworkDevice_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NetworkInterfacesListByNetworkDeviceMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkInterfaces_ListByNetworkDevice_MaximumSet_Gen.json @@ -197,7 +193,7 @@ public async Task GetAll_NetworkInterfacesListByNetworkDeviceMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkDeviceInterfaceResource.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkDeviceInterfaceResource.cs index 96deb70caa7fe..118ce13d15605 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkDeviceInterfaceResource.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkDeviceInterfaceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkDeviceInterfaceResource { - // NetworkInterfaces_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkInterfacesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkInterfaces_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_NetworkInterfacesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkInterfaces_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NetworkInterfacesUpdateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkInterfaces_Update_MaximumSet_Gen.json @@ -84,9 +83,8 @@ public async Task Update_NetworkInterfacesUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkInterfaces_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NetworkInterfacesDeleteMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkInterfaces_Delete_MaximumSet_Gen.json @@ -109,12 +107,11 @@ public async Task Delete_NetworkInterfacesDeleteMaximumSetGen() // invoke the operation await networkDeviceInterface.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NetworkInterfaces_UpdateAdministrativeState_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateAdministrativeState_NetworkInterfacesUpdateAdministrativeStateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkInterfaces_UpdateAdministrativeState_MaximumSet_Gen.json diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkDeviceResource.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkDeviceResource.cs index 3efcc97dee187..e4f8a321d66b0 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkDeviceResource.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkDeviceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkDeviceResource { - // NetworkDevices_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkDevicesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkDevices_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_NetworkDevicesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkDevices_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NetworkDevicesUpdateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkDevices_Update_MaximumSet_Gen.json @@ -89,9 +88,8 @@ public async Task Update_NetworkDevicesUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkDevices_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NetworkDevicesDeleteMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkDevices_Delete_MaximumSet_Gen.json @@ -113,12 +111,11 @@ public async Task Delete_NetworkDevicesDeleteMaximumSetGen() // invoke the operation await networkDevice.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NetworkDevices_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkDevices_NetworkDevicesListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkDevices_ListBySubscription_MaximumSet_Gen.json @@ -145,12 +142,11 @@ public async Task GetNetworkDevices_NetworkDevicesListBySubscriptionMaximumSetGe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NetworkDevices_Reboot_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reboot_NetworkDevicesRebootMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkDevices_Reboot_MaximumSet_Gen.json @@ -180,9 +176,8 @@ public async Task Reboot_NetworkDevicesRebootMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // NetworkDevices_RefreshConfiguration_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RefreshConfiguration_NetworkDevicesRefreshConfigurationMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkDevices_RefreshConfiguration_MaximumSet_Gen.json @@ -208,9 +203,8 @@ public async Task RefreshConfiguration_NetworkDevicesRefreshConfigurationMaximum Console.WriteLine($"Succeeded: {result}"); } - // NetworkDevices_UpdateAdministrativeState_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateAdministrativeState_NetworkDevicesUpdateAdministrativeStateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkDevices_UpdateAdministrativeState_MaximumSet_Gen.json @@ -244,9 +238,8 @@ public async Task UpdateAdministrativeState_NetworkDevicesUpdateAdministrativeSt Console.WriteLine($"Succeeded: {result}"); } - // NetworkDevices_Upgrade_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Upgrade_NetworkDevicesUpgradeMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkDevices_Upgrade_MaximumSet_Gen.json diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkDeviceSkuCollection.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkDeviceSkuCollection.cs index 2203e15baec41..c372e2cf2e7f5 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkDeviceSkuCollection.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkDeviceSkuCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkDeviceSkuCollection { - // NetworkDeviceSkus_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkDeviceSkusGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkDeviceSkus_Get_MaximumSet_Gen.json @@ -48,9 +48,8 @@ public async Task Get_NetworkDeviceSkusGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkDeviceSkus_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NetworkDeviceSkusGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkDeviceSkus_Get_MaximumSet_Gen.json @@ -77,9 +76,8 @@ public async Task Exists_NetworkDeviceSkusGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // NetworkDeviceSkus_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NetworkDeviceSkusGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkDeviceSkus_Get_MaximumSet_Gen.json @@ -106,7 +104,7 @@ public async Task GetIfExists_NetworkDeviceSkusGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -118,9 +116,8 @@ public async Task GetIfExists_NetworkDeviceSkusGetMaximumSetGen() } } - // NetworkDeviceSkus_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NetworkDeviceSkusListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkDeviceSkus_ListBySubscription_MaximumSet_Gen.json @@ -150,7 +147,7 @@ public async Task GetAll_NetworkDeviceSkusListBySubscriptionMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkDeviceSkuResource.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkDeviceSkuResource.cs index d7a98b00c6c32..144655a4f4cf9 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkDeviceSkuResource.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkDeviceSkuResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkDeviceSkuResource { - // NetworkDeviceSkus_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkDeviceSkusGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkDeviceSkus_Get_MaximumSet_Gen.json diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricAccessControlListCollection.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricAccessControlListCollection.cs index db894fc4c4c40..6bbcac1c555cf 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricAccessControlListCollection.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricAccessControlListCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricAccessControlListCollection { - // AccessControlLists_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AccessControlListsCreateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/AccessControlLists_Create_MaximumSet_Gen.json @@ -193,9 +193,8 @@ public async Task CreateOrUpdate_AccessControlListsCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AccessControlLists_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AccessControlListsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/AccessControlLists_Get_MaximumSet_Gen.json @@ -227,9 +226,8 @@ public async Task Get_AccessControlListsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AccessControlLists_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AccessControlListsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/AccessControlLists_Get_MaximumSet_Gen.json @@ -257,9 +255,8 @@ public async Task Exists_AccessControlListsGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // AccessControlLists_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AccessControlListsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/AccessControlLists_Get_MaximumSet_Gen.json @@ -287,7 +284,7 @@ public async Task GetIfExists_AccessControlListsGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -299,9 +296,8 @@ public async Task GetIfExists_AccessControlListsGetMaximumSetGen() } } - // AccessControlLists_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AccessControlListsListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/AccessControlLists_ListByResourceGroup_MaximumSet_Gen.json @@ -332,7 +328,7 @@ public async Task GetAll_AccessControlListsListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricAccessControlListResource.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricAccessControlListResource.cs index b1862a39848ff..e9b73d6fc106f 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricAccessControlListResource.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricAccessControlListResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricAccessControlListResource { - // AccessControlLists_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AccessControlListsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/AccessControlLists_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_AccessControlListsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AccessControlLists_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AccessControlListsUpdateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/AccessControlLists_Update_MaximumSet_Gen.json @@ -221,9 +220,8 @@ public async Task Update_AccessControlListsUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AccessControlLists_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AccessControlListsDeleteMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/AccessControlLists_Delete_MaximumSet_Gen.json @@ -245,12 +243,11 @@ public async Task Delete_AccessControlListsDeleteMaximumSetGen() // invoke the operation await networkFabricAccessControlList.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AccessControlLists_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkFabricAccessControlLists_AccessControlListsListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/AccessControlLists_ListBySubscription_MaximumSet_Gen.json @@ -277,12 +274,11 @@ public async Task GetNetworkFabricAccessControlLists_AccessControlListsListBySub Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AccessControlLists_UpdateAdministrativeState_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateAdministrativeState_AccessControlListsUpdateAdministrativeStateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/AccessControlLists_UpdateAdministrativeState_MaximumSet_Gen.json @@ -316,9 +312,8 @@ public async Task UpdateAdministrativeState_AccessControlListsUpdateAdministrati Console.WriteLine($"Succeeded: {result}"); } - // AccessControlLists_Resync_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Resync_AccessControlListsResyncMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/AccessControlLists_Resync_MaximumSet_Gen.json @@ -344,9 +339,8 @@ public async Task Resync_AccessControlListsResyncMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // AccessControlLists_ValidateConfiguration_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateConfiguration_AccessControlListsValidateConfigurationMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/AccessControlLists_ValidateConfiguration_MaximumSet_Gen.json diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricCollection.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricCollection.cs index c0f693ff6abe6..5a81bf673b22d 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricCollection.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricCollection { - // NetworkFabrics_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NetworkFabricsCreateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabrics_Create_MaximumSet_Gen.json @@ -166,9 +166,8 @@ public async Task CreateOrUpdate_NetworkFabricsCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkFabrics_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkFabricsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabrics_Get_MaximumSet_Gen.json @@ -200,9 +199,8 @@ public async Task Get_NetworkFabricsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkFabrics_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NetworkFabricsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabrics_Get_MaximumSet_Gen.json @@ -230,9 +228,8 @@ public async Task Exists_NetworkFabricsGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // NetworkFabrics_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NetworkFabricsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabrics_Get_MaximumSet_Gen.json @@ -260,7 +257,7 @@ public async Task GetIfExists_NetworkFabricsGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -272,9 +269,8 @@ public async Task GetIfExists_NetworkFabricsGetMaximumSetGen() } } - // NetworkFabrics_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NetworkFabricsListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabrics_ListByResourceGroup_MaximumSet_Gen.json @@ -305,7 +301,7 @@ public async Task GetAll_NetworkFabricsListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricControllerCollection.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricControllerCollection.cs index c9d1e86393f95..2609cc85fc315 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricControllerCollection.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricControllerCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricControllerCollection { - // NetworkFabricControllers_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NetworkFabricControllersCreateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabricControllers_Create_MaximumSet_Gen.json @@ -78,9 +78,8 @@ public async Task CreateOrUpdate_NetworkFabricControllersCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkFabricControllers_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkFabricControllersGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabricControllers_Get_MaximumSet_Gen.json @@ -112,9 +111,8 @@ public async Task Get_NetworkFabricControllersGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkFabricControllers_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NetworkFabricControllersGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabricControllers_Get_MaximumSet_Gen.json @@ -142,9 +140,8 @@ public async Task Exists_NetworkFabricControllersGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // NetworkFabricControllers_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NetworkFabricControllersGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabricControllers_Get_MaximumSet_Gen.json @@ -172,7 +169,7 @@ public async Task GetIfExists_NetworkFabricControllersGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -184,9 +181,8 @@ public async Task GetIfExists_NetworkFabricControllersGetMaximumSetGen() } } - // NetworkFabricControllers_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NetworkFabricControllersListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabricControllers_ListByResourceGroup_MaximumSet_Gen.json @@ -217,7 +213,7 @@ public async Task GetAll_NetworkFabricControllersListByResourceGroupMaximumSetGe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricControllerResource.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricControllerResource.cs index ac51c069d287f..bb5c65808fb90 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricControllerResource.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricControllerResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricControllerResource { - // NetworkFabricControllers_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkFabricControllersGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabricControllers_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_NetworkFabricControllersGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkFabricControllers_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NetworkFabricControllersUpdateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabricControllers_Update_MaximumSet_Gen.json @@ -96,9 +95,8 @@ public async Task Update_NetworkFabricControllersUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkFabricControllers_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NetworkFabricControllersDeleteMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabricControllers_Delete_MaximumSet_Gen.json @@ -120,12 +118,11 @@ public async Task Delete_NetworkFabricControllersDeleteMaximumSetGen() // invoke the operation await networkFabricController.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NetworkFabricControllers_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkFabricControllers_NetworkFabricControllersListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabricControllers_ListBySubscription_MaximumSet_Gen.json @@ -152,7 +149,7 @@ public async Task GetNetworkFabricControllers_NetworkFabricControllersListBySubs Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricExternalNetworkCollection.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricExternalNetworkCollection.cs index 131dfc7d2857d..36ac1ebaf3e99 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricExternalNetworkCollection.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricExternalNetworkCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricExternalNetworkCollection { - // ExternalNetworks_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ExternalNetworksCreateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/ExternalNetworks_Create_MaximumSet_Gen.json @@ -114,9 +114,8 @@ public async Task CreateOrUpdate_ExternalNetworksCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExternalNetworks_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExternalNetworksGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/ExternalNetworks_Get_MaximumSet_Gen.json @@ -149,9 +148,8 @@ public async Task Get_ExternalNetworksGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExternalNetworks_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ExternalNetworksGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/ExternalNetworks_Get_MaximumSet_Gen.json @@ -180,9 +178,8 @@ public async Task Exists_ExternalNetworksGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // ExternalNetworks_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ExternalNetworksGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/ExternalNetworks_Get_MaximumSet_Gen.json @@ -211,7 +208,7 @@ public async Task GetIfExists_ExternalNetworksGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -223,9 +220,8 @@ public async Task GetIfExists_ExternalNetworksGetMaximumSetGen() } } - // ExternalNetworks_ListByL3IsolationDomain_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ExternalNetworksListByL3IsolationDomainMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/ExternalNetworks_ListByL3IsolationDomain_MaximumSet_Gen.json @@ -257,7 +253,7 @@ public async Task GetAll_ExternalNetworksListByL3IsolationDomainMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricExternalNetworkResource.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricExternalNetworkResource.cs index ab5fea46dfc75..1cd7e94b1d596 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricExternalNetworkResource.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricExternalNetworkResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricExternalNetworkResource { - // ExternalNetworks_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExternalNetworksGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/ExternalNetworks_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_ExternalNetworksGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExternalNetworks_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ExternalNetworksUpdateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/ExternalNetworks_Update_MaximumSet_Gen.json @@ -144,9 +143,8 @@ public async Task Update_ExternalNetworksUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExternalNetworks_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ExternalNetworksDeleteMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/ExternalNetworks_Delete_MaximumSet_Gen.json @@ -169,12 +167,11 @@ public async Task Delete_ExternalNetworksDeleteMaximumSetGen() // invoke the operation await networkFabricExternalNetwork.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExternalNetworks_UpdateAdministrativeState_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateAdministrativeState_ExternalNetworksUpdateAdministrativeStateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/ExternalNetworks_UpdateAdministrativeState_MaximumSet_Gen.json @@ -209,9 +206,8 @@ public async Task UpdateAdministrativeState_ExternalNetworksUpdateAdministrative Console.WriteLine($"Succeeded: {result}"); } - // ExternalNetworks_UpdateStaticRouteBfdAdministrativeState_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateStaticRouteBfdAdministrativeState_ExternalNetworksUpdateStaticRouteBfdAdministrativeStateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/ExternalNetworks_UpdateStaticRouteBfdAdministrativeState_MaximumSet_Gen.json diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricIPCommunityCollection.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricIPCommunityCollection.cs index 51cb56623bd73..02b26454894bf 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricIPCommunityCollection.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricIPCommunityCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricIPCommunityCollection { - // IpCommunities_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_IpCommunitiesCreateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpCommunities_Create_MaximumSet_Gen.json @@ -72,9 +72,8 @@ public async Task CreateOrUpdate_IpCommunitiesCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IpCommunities_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_IpCommunitiesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpCommunities_Get_MaximumSet_Gen.json @@ -106,9 +105,8 @@ public async Task Get_IpCommunitiesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IpCommunities_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_IpCommunitiesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpCommunities_Get_MaximumSet_Gen.json @@ -136,9 +134,8 @@ public async Task Exists_IpCommunitiesGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // IpCommunities_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_IpCommunitiesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpCommunities_Get_MaximumSet_Gen.json @@ -166,7 +163,7 @@ public async Task GetIfExists_IpCommunitiesGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -178,9 +175,8 @@ public async Task GetIfExists_IpCommunitiesGetMaximumSetGen() } } - // IpCommunities_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_IpCommunitiesListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpCommunities_ListByResourceGroup_MaximumSet_Gen.json @@ -211,7 +207,7 @@ public async Task GetAll_IpCommunitiesListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricIPCommunityResource.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricIPCommunityResource.cs index 702415518a12c..0b7f6f6a8a258 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricIPCommunityResource.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricIPCommunityResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricIPCommunityResource { - // IpCommunities_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_IpCommunitiesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpCommunities_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_IpCommunitiesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IpCommunities_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_IpCommunitiesUpdateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpCommunities_Update_MaximumSet_Gen.json @@ -95,9 +94,8 @@ public async Task Update_IpCommunitiesUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IpCommunities_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_IpCommunitiesDeleteMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpCommunities_Delete_MaximumSet_Gen.json @@ -119,12 +117,11 @@ public async Task Delete_IpCommunitiesDeleteMaximumSetGen() // invoke the operation await networkFabricIPCommunity.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // IpCommunities_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkFabricIPCommunities_IpCommunitiesListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpCommunities_ListBySubscription_MaximumSet_Gen.json @@ -151,7 +148,7 @@ public async Task GetNetworkFabricIPCommunities_IpCommunitiesListBySubscriptionM Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricIPExtendedCommunityCollection.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricIPExtendedCommunityCollection.cs index 67fe4b534315f..a83238dcc7ea3 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricIPExtendedCommunityCollection.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricIPExtendedCommunityCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricIPExtendedCommunityCollection { - // IpExtendedCommunities_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_IpExtendedCommunitiesCreateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpExtendedCommunities_Create_MaximumSet_Gen.json @@ -65,9 +65,8 @@ public async Task CreateOrUpdate_IpExtendedCommunitiesCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IpExtendedCommunities_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_IpExtendedCommunitiesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpExtendedCommunities_Get_MaximumSet_Gen.json @@ -99,9 +98,8 @@ public async Task Get_IpExtendedCommunitiesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IpExtendedCommunities_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_IpExtendedCommunitiesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpExtendedCommunities_Get_MaximumSet_Gen.json @@ -129,9 +127,8 @@ public async Task Exists_IpExtendedCommunitiesGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // IpExtendedCommunities_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_IpExtendedCommunitiesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpExtendedCommunities_Get_MaximumSet_Gen.json @@ -159,7 +156,7 @@ public async Task GetIfExists_IpExtendedCommunitiesGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -171,9 +168,8 @@ public async Task GetIfExists_IpExtendedCommunitiesGetMaximumSetGen() } } - // IpExtendedCommunities_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_IpExtendedCommunitiesListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpExtendedCommunities_ListByResourceGroup_MaximumSet_Gen.json @@ -204,7 +200,7 @@ public async Task GetAll_IpExtendedCommunitiesListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricIPExtendedCommunityResource.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricIPExtendedCommunityResource.cs index b39b284014b57..b675f8dff8f31 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricIPExtendedCommunityResource.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricIPExtendedCommunityResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricIPExtendedCommunityResource { - // IpExtendedCommunities_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_IpExtendedCommunitiesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpExtendedCommunities_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_IpExtendedCommunitiesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IpExtendedCommunities_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_IpExtendedCommunitiesUpdateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpExtendedCommunities_Update_MaximumSet_Gen.json @@ -93,9 +92,8 @@ public async Task Update_IpExtendedCommunitiesUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IpExtendedCommunities_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_IpExtendedCommunitiesDeleteMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpExtendedCommunities_Delete_MaximumSet_Gen.json @@ -117,12 +115,11 @@ public async Task Delete_IpExtendedCommunitiesDeleteMaximumSetGen() // invoke the operation await networkFabricIPExtendedCommunity.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // IpExtendedCommunities_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkFabricIPExtendedCommunities_IpExtendedCommunitiesListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpExtendedCommunities_ListBySubscription_MaximumSet_Gen.json @@ -149,7 +146,7 @@ public async Task GetNetworkFabricIPExtendedCommunities_IpExtendedCommunitiesLis Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricIPPrefixCollection.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricIPPrefixCollection.cs index 7408b45f5e96b..04990e8b03eeb 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricIPPrefixCollection.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricIPPrefixCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricIPPrefixCollection { - // IpPrefixes_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_IpPrefixesCreateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpPrefixes_Create_MaximumSet_Gen.json @@ -67,9 +67,8 @@ public async Task CreateOrUpdate_IpPrefixesCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IpPrefixes_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_IpPrefixesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpPrefixes_Get_MaximumSet_Gen.json @@ -101,9 +100,8 @@ public async Task Get_IpPrefixesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IpPrefixes_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_IpPrefixesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpPrefixes_Get_MaximumSet_Gen.json @@ -131,9 +129,8 @@ public async Task Exists_IpPrefixesGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // IpPrefixes_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_IpPrefixesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpPrefixes_Get_MaximumSet_Gen.json @@ -161,7 +158,7 @@ public async Task GetIfExists_IpPrefixesGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -173,9 +170,8 @@ public async Task GetIfExists_IpPrefixesGetMaximumSetGen() } } - // IpPrefixes_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_IpPrefixesListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpPrefixes_ListByResourceGroup_MaximumSet_Gen.json @@ -206,7 +202,7 @@ public async Task GetAll_IpPrefixesListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricIPPrefixResource.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricIPPrefixResource.cs index 38f4e81ac64fd..db9491271a709 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricIPPrefixResource.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricIPPrefixResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricIPPrefixResource { - // IpPrefixes_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_IpPrefixesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpPrefixes_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_IpPrefixesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IpPrefixes_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_IpPrefixesUpdateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpPrefixes_Update_MaximumSet_Gen.json @@ -95,9 +94,8 @@ public async Task Update_IpPrefixesUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IpPrefixes_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_IpPrefixesDeleteMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpPrefixes_Delete_MaximumSet_Gen.json @@ -119,12 +117,11 @@ public async Task Delete_IpPrefixesDeleteMaximumSetGen() // invoke the operation await networkFabricIPPrefix.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // IpPrefixes_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkFabricIPPrefixes_IpPrefixesListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/IpPrefixes_ListBySubscription_MaximumSet_Gen.json @@ -151,7 +148,7 @@ public async Task GetNetworkFabricIPPrefixes_IpPrefixesListBySubscriptionMaximum Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricInternalNetworkCollection.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricInternalNetworkCollection.cs index 4b8a41338bf7e..6aa8a47944be6 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricInternalNetworkCollection.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricInternalNetworkCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricInternalNetworkCollection { - // InternalNetworks_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_InternalNetworksCreateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternalNetworks_Create_MaximumSet_Gen.json @@ -144,9 +144,8 @@ public async Task CreateOrUpdate_InternalNetworksCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // InternalNetworks_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_InternalNetworksGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternalNetworks_Get_MaximumSet_Gen.json @@ -179,9 +178,8 @@ public async Task Get_InternalNetworksGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // InternalNetworks_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_InternalNetworksGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternalNetworks_Get_MaximumSet_Gen.json @@ -210,9 +208,8 @@ public async Task Exists_InternalNetworksGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // InternalNetworks_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_InternalNetworksGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternalNetworks_Get_MaximumSet_Gen.json @@ -241,7 +238,7 @@ public async Task GetIfExists_InternalNetworksGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -253,9 +250,8 @@ public async Task GetIfExists_InternalNetworksGetMaximumSetGen() } } - // InternalNetworks_ListByL3IsolationDomain_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_InternalNetworksListByL3IsolationDomainMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternalNetworks_ListByL3IsolationDomain_MaximumSet_Gen.json @@ -287,7 +283,7 @@ public async Task GetAll_InternalNetworksListByL3IsolationDomainMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricInternalNetworkResource.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricInternalNetworkResource.cs index 350f04a05b122..a6bf8f3293742 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricInternalNetworkResource.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricInternalNetworkResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricInternalNetworkResource { - // InternalNetworks_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_InternalNetworksGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternalNetworks_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_InternalNetworksGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // InternalNetworks_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_InternalNetworksUpdateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternalNetworks_Update_MaximumSet_Gen.json @@ -171,9 +170,8 @@ public async Task Update_InternalNetworksUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // InternalNetworks_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_InternalNetworksDeleteMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternalNetworks_Delete_MaximumSet_Gen.json @@ -196,12 +194,11 @@ public async Task Delete_InternalNetworksDeleteMaximumSetGen() // invoke the operation await networkFabricInternalNetwork.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // InternalNetworks_UpdateAdministrativeState_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateAdministrativeState_InternalNetworksUpdateAdministrativeStateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternalNetworks_UpdateAdministrativeState_MaximumSet_Gen.json @@ -236,9 +233,8 @@ public async Task UpdateAdministrativeState_InternalNetworksUpdateAdministrative Console.WriteLine($"Succeeded: {result}"); } - // InternalNetworks_UpdateBgpAdministrativeState_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateBgpAdministrativeState_InternalNetworksUpdateBgpAdministrativeStateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternalNetworks_UpdateBgpAdministrativeState_MaximumSet_Gen.json @@ -273,9 +269,8 @@ public async Task UpdateBgpAdministrativeState_InternalNetworksUpdateBgpAdminist Console.WriteLine($"Succeeded: {result}"); } - // InternalNetworks_UpdateStaticRouteBfdAdministrativeState_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateStaticRouteBfdAdministrativeState_InternalNetworksUpdateStaticRouteBfdAdministrativeStateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternalNetworks_UpdateStaticRouteBfdAdministrativeState_MaximumSet_Gen.json diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricInternetGatewayCollection.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricInternetGatewayCollection.cs index 740bad5f621df..52f3752324584 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricInternetGatewayCollection.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricInternetGatewayCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricInternetGatewayCollection { - // InternetGateways_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_InternetGatewaysGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternetGateways_Get_MaximumSet_Gen.json @@ -49,9 +49,8 @@ public async Task Get_InternetGatewaysGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // InternetGateways_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_InternetGatewaysGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternetGateways_Get_MaximumSet_Gen.json @@ -79,9 +78,8 @@ public async Task Exists_InternetGatewaysGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // InternetGateways_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_InternetGatewaysGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternetGateways_Get_MaximumSet_Gen.json @@ -109,7 +107,7 @@ public async Task GetIfExists_InternetGatewaysGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_InternetGatewaysGetMaximumSetGen() } } - // InternetGateways_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_InternetGatewaysListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternetGateways_ListByResourceGroup_MaximumSet_Gen.json @@ -154,7 +151,7 @@ public async Task GetAll_InternetGatewaysListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricInternetGatewayResource.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricInternetGatewayResource.cs index 8046958206b03..fe7140c996878 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricInternetGatewayResource.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricInternetGatewayResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricInternetGatewayResource { - // InternetGateways_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_InternetGatewaysGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternetGateways_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_InternetGatewaysGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // InternetGateways_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_InternetGatewaysUpdateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternetGateways_Update_MaximumSet_Gen.json @@ -87,9 +86,8 @@ public async Task Update_InternetGatewaysUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // InternetGateways_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkFabricInternetGateways_InternetGatewaysListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternetGateways_ListBySubscription_MaximumSet_Gen.json @@ -116,7 +114,7 @@ public async Task GetNetworkFabricInternetGateways_InternetGatewaysListBySubscri Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricInternetGatewayRuleCollection.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricInternetGatewayRuleCollection.cs index ca7a8e57431ab..7bd0281a0fe59 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricInternetGatewayRuleCollection.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricInternetGatewayRuleCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricInternetGatewayRuleCollection { - // InternetGatewayRules_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_InternetGatewayRulesCreateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternetGatewayRules_Create_MaximumSet_Gen.json @@ -62,9 +62,8 @@ public async Task CreateOrUpdate_InternetGatewayRulesCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // InternetGatewayRules_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_InternetGatewayRulesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternetGatewayRules_Get_MaximumSet_Gen.json @@ -96,9 +95,8 @@ public async Task Get_InternetGatewayRulesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // InternetGatewayRules_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_InternetGatewayRulesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternetGatewayRules_Get_MaximumSet_Gen.json @@ -126,9 +124,8 @@ public async Task Exists_InternetGatewayRulesGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // InternetGatewayRules_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_InternetGatewayRulesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternetGatewayRules_Get_MaximumSet_Gen.json @@ -156,7 +153,7 @@ public async Task GetIfExists_InternetGatewayRulesGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_InternetGatewayRulesGetMaximumSetGen() } } - // InternetGatewayRules_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_InternetGatewayRulesListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternetGatewayRules_ListByResourceGroup_MaximumSet_Gen.json @@ -201,7 +197,7 @@ public async Task GetAll_InternetGatewayRulesListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricInternetGatewayRuleResource.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricInternetGatewayRuleResource.cs index 5a0789ae1199b..14448d5111878 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricInternetGatewayRuleResource.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricInternetGatewayRuleResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricInternetGatewayRuleResource { - // InternetGatewayRules_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_InternetGatewayRulesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternetGatewayRules_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_InternetGatewayRulesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // InternetGatewayRules_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_InternetGatewayRulesUpdateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternetGatewayRules_Update_MaximumSet_Gen.json @@ -86,9 +85,8 @@ public async Task Update_InternetGatewayRulesUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // InternetGatewayRules_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_InternetGatewayRulesDeleteMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternetGatewayRules_Delete_MaximumSet_Gen.json @@ -110,12 +108,11 @@ public async Task Delete_InternetGatewayRulesDeleteMaximumSetGen() // invoke the operation await networkFabricInternetGatewayRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // InternetGatewayRules_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkFabricInternetGatewayRules_InternetGatewayRulesListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/InternetGatewayRules_ListBySubscription_MaximumSet_Gen.json @@ -142,7 +139,7 @@ public async Task GetNetworkFabricInternetGatewayRules_InternetGatewayRulesListB Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricL2IsolationDomainCollection.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricL2IsolationDomainCollection.cs index 9c65b06797f55..709649963f6d4 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricL2IsolationDomainCollection.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricL2IsolationDomainCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricL2IsolationDomainCollection { - // L2IsolationDomains_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_L2IsolationDomainsCreateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/L2IsolationDomains_Create_MaximumSet_Gen.json @@ -59,9 +59,8 @@ public async Task CreateOrUpdate_L2IsolationDomainsCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // L2IsolationDomains_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_L2IsolationDomainsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/L2IsolationDomains_Get_MaximumSet_Gen.json @@ -93,9 +92,8 @@ public async Task Get_L2IsolationDomainsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // L2IsolationDomains_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_L2IsolationDomainsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/L2IsolationDomains_Get_MaximumSet_Gen.json @@ -123,9 +121,8 @@ public async Task Exists_L2IsolationDomainsGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // L2IsolationDomains_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_L2IsolationDomainsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/L2IsolationDomains_Get_MaximumSet_Gen.json @@ -153,7 +150,7 @@ public async Task GetIfExists_L2IsolationDomainsGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_L2IsolationDomainsGetMaximumSetGen() } } - // L2IsolationDomains_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_L2IsolationDomainsListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/L2IsolationDomains_ListByResourceGroup_MaximumSet_Gen.json @@ -198,7 +194,7 @@ public async Task GetAll_L2IsolationDomainsListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricL2IsolationDomainResource.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricL2IsolationDomainResource.cs index 57de5600ce6ca..9766e4cc3ae3d 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricL2IsolationDomainResource.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricL2IsolationDomainResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricL2IsolationDomainResource { - // L2IsolationDomains_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_L2IsolationDomainsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/L2IsolationDomains_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_L2IsolationDomainsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // L2IsolationDomains_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_L2IsolationDomainsUpdateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/L2IsolationDomains_Update_MaximumSet_Gen.json @@ -88,9 +87,8 @@ public async Task Update_L2IsolationDomainsUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // L2IsolationDomains_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_L2IsolationDomainsDeleteMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/L2IsolationDomains_Delete_MaximumSet_Gen.json @@ -112,12 +110,11 @@ public async Task Delete_L2IsolationDomainsDeleteMaximumSetGen() // invoke the operation await networkFabricL2IsolationDomain.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // L2IsolationDomains_updateAdministrativeState_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateAdministrativeState_L2IsolationDomainsUpdateAdministrativeStateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/L2IsolationDomains_updateAdministrativeState_MaximumSet_Gen.json @@ -151,9 +148,8 @@ public async Task UpdateAdministrativeState_L2IsolationDomainsUpdateAdministrati Console.WriteLine($"Succeeded: {result}"); } - // L2IsolationDomains_ValidateConfiguration_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateConfiguration_L2IsolationDomainsValidateConfigurationMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/L2IsolationDomains_ValidateConfiguration_MaximumSet_Gen.json @@ -179,9 +175,8 @@ public async Task ValidateConfiguration_L2IsolationDomainsValidateConfigurationM Console.WriteLine($"Succeeded: {result}"); } - // L2IsolationDomains_CommitConfiguration_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CommitConfiguration_L2IsolationDomainsCommitConfigurationMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/L2IsolationDomains_CommitConfiguration_MaximumSet_Gen.json @@ -207,9 +202,8 @@ public async Task CommitConfiguration_L2IsolationDomainsCommitConfigurationMaxim Console.WriteLine($"Succeeded: {result}"); } - // L2IsolationDomains_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkFabricL2IsolationDomains_L2IsolationDomainsListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/L2IsolationDomains_ListBySubscription_MaximumSet_Gen.json @@ -236,7 +230,7 @@ public async Task GetNetworkFabricL2IsolationDomains_L2IsolationDomainsListBySub Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricL3IsolationDomainCollection.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricL3IsolationDomainCollection.cs index 51d4546fec7eb..206626317bcfb 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricL3IsolationDomainCollection.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricL3IsolationDomainCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricL3IsolationDomainCollection { - // L3IsolationDomains_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_L3IsolationDomainsCreateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/L3IsolationDomains_Create_MaximumSet_Gen.json @@ -81,9 +81,8 @@ public async Task CreateOrUpdate_L3IsolationDomainsCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // L3IsolationDomains_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_L3IsolationDomainsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/L3IsolationDomains_Get_MaximumSet_Gen.json @@ -115,9 +114,8 @@ public async Task Get_L3IsolationDomainsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // L3IsolationDomains_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_L3IsolationDomainsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/L3IsolationDomains_Get_MaximumSet_Gen.json @@ -145,9 +143,8 @@ public async Task Exists_L3IsolationDomainsGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // L3IsolationDomains_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_L3IsolationDomainsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/L3IsolationDomains_Get_MaximumSet_Gen.json @@ -175,7 +172,7 @@ public async Task GetIfExists_L3IsolationDomainsGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -187,9 +184,8 @@ public async Task GetIfExists_L3IsolationDomainsGetMaximumSetGen() } } - // L3IsolationDomains_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_L3IsolationDomainsListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/L3IsolationDomains_ListByResourceGroup_MaximumSet_Gen.json @@ -220,7 +216,7 @@ public async Task GetAll_L3IsolationDomainsListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricL3IsolationDomainResource.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricL3IsolationDomainResource.cs index 291de589013cb..95a00f84ed4ce 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricL3IsolationDomainResource.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricL3IsolationDomainResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricL3IsolationDomainResource { - // L3IsolationDomains_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_L3IsolationDomainsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/L3IsolationDomains_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_L3IsolationDomainsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // L3IsolationDomains_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_L3IsolationDomainsUpdateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/L3IsolationDomains_Update_MaximumSet_Gen.json @@ -109,9 +108,8 @@ public async Task Update_L3IsolationDomainsUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // L3IsolationDomains_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_L3IsolationDomainsDeleteMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/L3IsolationDomains_Delete_MaximumSet_Gen.json @@ -133,12 +131,11 @@ public async Task Delete_L3IsolationDomainsDeleteMaximumSetGen() // invoke the operation await networkFabricL3IsolationDomain.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // L3IsolationDomains_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkFabricL3IsolationDomains_L3IsolationDomainsListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/L3IsolationDomains_ListBySubscription_MaximumSet_Gen.json @@ -165,12 +162,11 @@ public async Task GetNetworkFabricL3IsolationDomains_L3IsolationDomainsListBySub Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // L3IsolationDomains_updateAdministrativeState_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateAdministrativeState_L3IsolationDomainsUpdateAdministrativeStateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/L3IsolationDomains_updateAdministrativeState_MaximumSet_Gen.json @@ -204,9 +200,8 @@ public async Task UpdateAdministrativeState_L3IsolationDomainsUpdateAdministrati Console.WriteLine($"Succeeded: {result}"); } - // L3IsolationDomains_ValidateConfiguration_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateConfiguration_L3IsolationDomainsValidateConfigurationMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/L3IsolationDomains_ValidateConfiguration_MaximumSet_Gen.json @@ -232,9 +227,8 @@ public async Task ValidateConfiguration_L3IsolationDomainsValidateConfigurationM Console.WriteLine($"Succeeded: {result}"); } - // L3IsolationDomains_CommitConfiguration_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CommitConfiguration_L3IsolationDomainsCommitConfigurationMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/L3IsolationDomains_CommitConfiguration_MaximumSet_Gen.json diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricNeighborGroupCollection.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricNeighborGroupCollection.cs index 4e8c39cb3c92a..f0c773fc0e2c9 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricNeighborGroupCollection.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricNeighborGroupCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricNeighborGroupCollection { - // NeighborGroups_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NeighborGroupsCreateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NeighborGroups_Create_MaximumSet_Gen.json @@ -71,9 +71,8 @@ public async Task CreateOrUpdate_NeighborGroupsCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NeighborGroups_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NeighborGroupsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NeighborGroups_Get_MaximumSet_Gen.json @@ -105,9 +104,8 @@ public async Task Get_NeighborGroupsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NeighborGroups_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NeighborGroupsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NeighborGroups_Get_MaximumSet_Gen.json @@ -135,9 +133,8 @@ public async Task Exists_NeighborGroupsGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // NeighborGroups_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NeighborGroupsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NeighborGroups_Get_MaximumSet_Gen.json @@ -165,7 +162,7 @@ public async Task GetIfExists_NeighborGroupsGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -177,9 +174,8 @@ public async Task GetIfExists_NeighborGroupsGetMaximumSetGen() } } - // NeighborGroups_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NeighborGroupsListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NeighborGroups_ListByResourceGroup_MaximumSet_Gen.json @@ -210,7 +206,7 @@ public async Task GetAll_NeighborGroupsListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricNeighborGroupResource.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricNeighborGroupResource.cs index 48feec2a14d13..059f4f9e97107 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricNeighborGroupResource.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricNeighborGroupResource.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricNeighborGroupResource { - // NeighborGroups_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NeighborGroupsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NeighborGroups_Get_MaximumSet_Gen.json @@ -48,9 +48,8 @@ public async Task Get_NeighborGroupsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NeighborGroups_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NeighborGroupsUpdateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NeighborGroups_Update_MaximumSet_Gen.json @@ -99,9 +98,8 @@ public async Task Update_NeighborGroupsUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NeighborGroups_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NeighborGroupsDeleteMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NeighborGroups_Delete_MaximumSet_Gen.json @@ -123,12 +121,11 @@ public async Task Delete_NeighborGroupsDeleteMaximumSetGen() // invoke the operation await networkFabricNeighborGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NeighborGroups_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkFabricNeighborGroups_NeighborGroupsListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NeighborGroups_ListBySubscription_MaximumSet_Gen.json @@ -155,7 +152,7 @@ public async Task GetNetworkFabricNeighborGroups_NeighborGroupsListBySubscriptio Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricResource.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricResource.cs index 1ace5854e3475..d8b22adf3af36 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricResource.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricResource { - // NetworkFabrics_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkFabricsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabrics_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_NetworkFabricsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkFabrics_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NetworkFabricsUpdateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabrics_Update_MaximumSet_Gen.json @@ -205,9 +204,8 @@ public async Task Update_NetworkFabricsUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkFabrics_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NetworkFabricsDeleteMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabrics_Delete_MaximumSet_Gen.json @@ -229,12 +227,11 @@ public async Task Delete_NetworkFabricsDeleteMaximumSetGen() // invoke the operation await networkFabric.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NetworkFabrics_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkFabrics_NetworkFabricsListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabrics_ListBySubscription_MaximumSet_Gen.json @@ -261,12 +258,11 @@ public async Task GetNetworkFabrics_NetworkFabricsListBySubscriptionMaximumSetGe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NetworkFabrics_provision_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Provision_NetworkFabricsProvisionMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabrics_provision_MaximumSet_Gen.json @@ -292,9 +288,8 @@ public async Task Provision_NetworkFabricsProvisionMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // NetworkFabrics_deprovision_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Deprovision_NetworkFabricsDeprovisionMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabrics_deprovision_MaximumSet_Gen.json @@ -320,9 +315,8 @@ public async Task Deprovision_NetworkFabricsDeprovisionMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // NetworkFabrics_upgrade_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Upgrade_NetworkFabricsUpgradeMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabrics_upgrade_MaximumSet_Gen.json @@ -352,9 +346,8 @@ public async Task Upgrade_NetworkFabricsUpgradeMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // NetworkFabrics_refreshConfiguration_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RefreshConfiguration_NetworkFabricsRefreshConfigurationMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabrics_refreshConfiguration_MaximumSet_Gen.json @@ -380,9 +373,8 @@ public async Task RefreshConfiguration_NetworkFabricsRefreshConfigurationMaximum Console.WriteLine($"Succeeded: {result}"); } - // NetworkFabrics_UpdateWorkloadManagementBfdConfiguration_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateWorkloadManagementBfdConfiguration_NetworkFabricsUpdateWorkloadManagementBfdConfigurationMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabrics_UpdateWorkloadManagementBfdConfiguration_MaximumSet_Gen.json @@ -416,9 +408,8 @@ public async Task UpdateWorkloadManagementBfdConfiguration_NetworkFabricsUpdateW Console.WriteLine($"Succeeded: {result}"); } - // NetworkFabrics_UpdateInfraManagementBfdConfiguration_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateInfraManagementBfdConfiguration_NetworkFabricsUpdateInfraManagementBfdConfigurationMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabrics_UpdateInfraManagementBfdConfiguration_MaximumSet_Gen.json @@ -452,9 +443,8 @@ public async Task UpdateInfraManagementBfdConfiguration_NetworkFabricsUpdateInfr Console.WriteLine($"Succeeded: {result}"); } - // NetworkFabrics_ValidateConfiguration_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateConfiguration_NetworkFabricsValidateConfigurationMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabrics_ValidateConfiguration_MaximumSet_Gen.json @@ -484,9 +474,8 @@ public async Task ValidateConfiguration_NetworkFabricsValidateConfigurationMaxim Console.WriteLine($"Succeeded: {result}"); } - // NetworkFabrics_GetTopology_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTopology_NetworkFabricsGetTopologyMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabrics_GetTopology_MaximumSet_Gen.json @@ -512,9 +501,8 @@ public async Task GetTopology_NetworkFabricsGetTopologyMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // NetworkFabrics_CommitConfiguration_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CommitConfiguration_NetworkFabricsCommitConfigurationMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabrics_CommitConfiguration_MaximumSet_Gen.json diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricRoutePolicyCollection.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricRoutePolicyCollection.cs index c0d0a11308b3b..4840c8aa485b0 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricRoutePolicyCollection.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricRoutePolicyCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricRoutePolicyCollection { - // RoutePolicies_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RoutePoliciesCreateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/RoutePolicies_Create_MaximumSet_Gen.json @@ -113,9 +113,8 @@ public async Task CreateOrUpdate_RoutePoliciesCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RoutePolicies_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RoutePoliciesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/RoutePolicies_Get_MaximumSet_Gen.json @@ -147,9 +146,8 @@ public async Task Get_RoutePoliciesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RoutePolicies_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RoutePoliciesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/RoutePolicies_Get_MaximumSet_Gen.json @@ -177,9 +175,8 @@ public async Task Exists_RoutePoliciesGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // RoutePolicies_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RoutePoliciesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/RoutePolicies_Get_MaximumSet_Gen.json @@ -207,7 +204,7 @@ public async Task GetIfExists_RoutePoliciesGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -219,9 +216,8 @@ public async Task GetIfExists_RoutePoliciesGetMaximumSetGen() } } - // RoutePolicies_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RoutePoliciesListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/RoutePolicies_ListByResourceGroup_MaximumSet_Gen.json @@ -252,7 +248,7 @@ public async Task GetAll_RoutePoliciesListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricRoutePolicyResource.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricRoutePolicyResource.cs index 0194c89238900..acdf90d26b8ed 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricRoutePolicyResource.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricRoutePolicyResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricRoutePolicyResource { - // RoutePolicies_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RoutePoliciesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/RoutePolicies_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_RoutePoliciesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RoutePolicies_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RoutePoliciesUpdateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/RoutePolicies_Update_MaximumSet_Gen.json @@ -139,9 +138,8 @@ public async Task Update_RoutePoliciesUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RoutePolicies_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RoutePoliciesDeleteMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/RoutePolicies_Delete_MaximumSet_Gen.json @@ -163,12 +161,11 @@ public async Task Delete_RoutePoliciesDeleteMaximumSetGen() // invoke the operation await networkFabricRoutePolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RoutePolicies_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkFabricRoutePolicies_RoutePoliciesListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/RoutePolicies_ListBySubscription_MaximumSet_Gen.json @@ -195,12 +192,11 @@ public async Task GetNetworkFabricRoutePolicies_RoutePoliciesListBySubscriptionM Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RoutePolicies_UpdateAdministrativeState_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateAdministrativeState_RoutePoliciesUpdateAdministrativeStateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/RoutePolicies_UpdateAdministrativeState_MaximumSet_Gen.json @@ -234,9 +230,8 @@ public async Task UpdateAdministrativeState_RoutePoliciesUpdateAdministrativeSta Console.WriteLine($"Succeeded: {result}"); } - // RoutePolicies_ValidateConfiguration_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateConfiguration_RoutePoliciesValidateConfigurationMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/RoutePolicies_ValidateConfiguration_MaximumSet_Gen.json @@ -262,9 +257,8 @@ public async Task ValidateConfiguration_RoutePoliciesValidateConfigurationMaximu Console.WriteLine($"Succeeded: {result}"); } - // RoutePolicies_CommitConfiguration_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CommitConfiguration_RoutePoliciesCommitConfigurationMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/RoutePolicies_CommitConfiguration_MaximumSet_Gen.json diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricSkuCollection.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricSkuCollection.cs index 98319b90f1469..dd56bf3c4e3f2 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricSkuCollection.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricSkuCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricSkuCollection { - // NetworkFabricSkus_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkFabricSkusGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabricSkus_Get_MaximumSet_Gen.json @@ -48,9 +48,8 @@ public async Task Get_NetworkFabricSkusGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkFabricSkus_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NetworkFabricSkusGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabricSkus_Get_MaximumSet_Gen.json @@ -77,9 +76,8 @@ public async Task Exists_NetworkFabricSkusGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // NetworkFabricSkus_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NetworkFabricSkusGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabricSkus_Get_MaximumSet_Gen.json @@ -106,7 +104,7 @@ public async Task GetIfExists_NetworkFabricSkusGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -118,9 +116,8 @@ public async Task GetIfExists_NetworkFabricSkusGetMaximumSetGen() } } - // NetworkFabricSkus_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NetworkFabricSkusListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabricSkus_ListBySubscription_MaximumSet_Gen.json @@ -150,7 +147,7 @@ public async Task GetAll_NetworkFabricSkusListBySubscriptionMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricSkuResource.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricSkuResource.cs index 0799b640a0f69..4cfb78f615f17 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricSkuResource.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkFabricSkuResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkFabricSkuResource { - // NetworkFabricSkus_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkFabricSkusGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkFabricSkus_Get_MaximumSet_Gen.json diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkPacketBrokerCollection.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkPacketBrokerCollection.cs index 0906f5a992ac7..6189f735e17d6 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkPacketBrokerCollection.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkPacketBrokerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkPacketBrokerCollection { - // NetworkPacketBrokers_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NetworkPacketBrokersCreateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkPacketBrokers_Create_MaximumSet_Gen.json @@ -57,9 +57,8 @@ public async Task CreateOrUpdate_NetworkPacketBrokersCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkPacketBrokers_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkPacketBrokersGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkPacketBrokers_Get_MaximumSet_Gen.json @@ -91,9 +90,8 @@ public async Task Get_NetworkPacketBrokersGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkPacketBrokers_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NetworkPacketBrokersGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkPacketBrokers_Get_MaximumSet_Gen.json @@ -121,9 +119,8 @@ public async Task Exists_NetworkPacketBrokersGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // NetworkPacketBrokers_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NetworkPacketBrokersGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkPacketBrokers_Get_MaximumSet_Gen.json @@ -151,7 +148,7 @@ public async Task GetIfExists_NetworkPacketBrokersGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -163,9 +160,8 @@ public async Task GetIfExists_NetworkPacketBrokersGetMaximumSetGen() } } - // NetworkPacketBrokers_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NetworkPacketBrokersListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkPacketBrokers_ListByResourceGroup_MaximumSet_Gen.json @@ -196,7 +192,7 @@ public async Task GetAll_NetworkPacketBrokersListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkPacketBrokerResource.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkPacketBrokerResource.cs index 53d6d0e93a444..55ffb6d6cdb94 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkPacketBrokerResource.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkPacketBrokerResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkPacketBrokerResource { - // NetworkPacketBrokers_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkPacketBrokersGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkPacketBrokers_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_NetworkPacketBrokersGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkPacketBrokers_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NetworkPacketBrokersUpdateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkPacketBrokers_Update_MaximumSet_Gen.json @@ -86,9 +85,8 @@ public async Task Update_NetworkPacketBrokersUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkPacketBrokers_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NetworkPacketBrokersDeleteMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkPacketBrokers_Delete_MaximumSet_Gen.json @@ -110,12 +108,11 @@ public async Task Delete_NetworkPacketBrokersDeleteMaximumSetGen() // invoke the operation await networkPacketBroker.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NetworkPacketBrokers_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkPacketBrokers_NetworkPacketBrokersListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkPacketBrokers_ListBySubscription_MaximumSet_Gen.json @@ -142,7 +139,7 @@ public async Task GetNetworkPacketBrokers_NetworkPacketBrokersListBySubscription Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkRackCollection.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkRackCollection.cs index 23a72ccf3a743..d8b5fdb541553 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkRackCollection.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkRackCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkRackCollection { - // NetworkRacks_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NetworkRacksCreateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkRacks_Create_MaximumSet_Gen.json @@ -60,9 +60,8 @@ public async Task CreateOrUpdate_NetworkRacksCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkRacks_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkRacksGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkRacks_Get_MaximumSet_Gen.json @@ -94,9 +93,8 @@ public async Task Get_NetworkRacksGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkRacks_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NetworkRacksGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkRacks_Get_MaximumSet_Gen.json @@ -124,9 +122,8 @@ public async Task Exists_NetworkRacksGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // NetworkRacks_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NetworkRacksGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkRacks_Get_MaximumSet_Gen.json @@ -154,7 +151,7 @@ public async Task GetIfExists_NetworkRacksGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -166,9 +163,8 @@ public async Task GetIfExists_NetworkRacksGetMaximumSetGen() } } - // NetworkRacks_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NetworkRacksListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkRacks_ListByResourceGroup_MaximumSet_Gen.json @@ -199,7 +195,7 @@ public async Task GetAll_NetworkRacksListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkRackResource.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkRackResource.cs index d93de1d16ffb9..48644efb29bcf 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkRackResource.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkRackResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkRackResource { - // NetworkRacks_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkRacksGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkRacks_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_NetworkRacksGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkRacks_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NetworkRacksUpdateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkRacks_Update_MaximumSet_Gen.json @@ -86,9 +85,8 @@ public async Task Update_NetworkRacksUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkRacks_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NetworkRacksDeleteMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkRacks_Delete_MaximumSet_Gen.json @@ -110,12 +108,11 @@ public async Task Delete_NetworkRacksDeleteMaximumSetGen() // invoke the operation await networkRack.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NetworkRacks_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkRacks_NetworkRacksListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkRacks_ListBySubscription_MaximumSet_Gen.json @@ -142,7 +139,7 @@ public async Task GetNetworkRacks_NetworkRacksListBySubscriptionMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkTapCollection.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkTapCollection.cs index 92ddc7262434a..dd5c5cf842282 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkTapCollection.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkTapCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkTapCollection { - // NetworkTaps_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NetworkTapsCreateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkTaps_Create_MaximumSet_Gen.json @@ -77,9 +77,8 @@ public async Task CreateOrUpdate_NetworkTapsCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkTaps_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkTapsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkTaps_Get_MaximumSet_Gen.json @@ -111,9 +110,8 @@ public async Task Get_NetworkTapsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkTaps_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NetworkTapsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkTaps_Get_MaximumSet_Gen.json @@ -141,9 +139,8 @@ public async Task Exists_NetworkTapsGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // NetworkTaps_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NetworkTapsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkTaps_Get_MaximumSet_Gen.json @@ -171,7 +168,7 @@ public async Task GetIfExists_NetworkTapsGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -183,9 +180,8 @@ public async Task GetIfExists_NetworkTapsGetMaximumSetGen() } } - // NetworkTaps_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NetworkTapsListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkTaps_ListByResourceGroup_MaximumSet_Gen.json @@ -216,7 +212,7 @@ public async Task GetAll_NetworkTapsListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkTapResource.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkTapResource.cs index 2ee43c2e139d8..fdbdd8eedfca3 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkTapResource.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkTapResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkTapResource { - // NetworkTaps_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkTapsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkTaps_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_NetworkTapsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkTaps_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NetworkTapsUpdateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkTaps_Update_MaximumSet_Gen.json @@ -106,9 +105,8 @@ public async Task Update_NetworkTapsUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkTaps_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NetworkTapsDeleteMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkTaps_Delete_MaximumSet_Gen.json @@ -130,12 +128,11 @@ public async Task Delete_NetworkTapsDeleteMaximumSetGen() // invoke the operation await networkTap.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NetworkTaps_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkTaps_NetworkTapsListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkTaps_ListBySubscription_MaximumSet_Gen.json @@ -162,12 +159,11 @@ public async Task GetNetworkTaps_NetworkTapsListBySubscriptionMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NetworkTaps_UpdateAdministrativeState_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateAdministrativeState_NetworkTapsUpdateAdministrativeStateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkTaps_UpdateAdministrativeState_MaximumSet_Gen.json @@ -201,9 +197,8 @@ public async Task UpdateAdministrativeState_NetworkTapsUpdateAdministrativeState Console.WriteLine($"Succeeded: {result}"); } - // NetworkTaps_Resync_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Resync_NetworkTapsResyncMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkTaps_Resync_MaximumSet_Gen.json diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkTapRuleCollection.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkTapRuleCollection.cs index ea4e0d405b809..b1926e79aa25e 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkTapRuleCollection.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkTapRuleCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkTapRuleCollection { - // NetworkTapRules_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NetworkTapRulesCreateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkTapRules_Create_MaximumSet_Gen.json @@ -180,9 +180,8 @@ public async Task CreateOrUpdate_NetworkTapRulesCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkTapRules_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkTapRulesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkTapRules_Get_MaximumSet_Gen.json @@ -214,9 +213,8 @@ public async Task Get_NetworkTapRulesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkTapRules_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NetworkTapRulesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkTapRules_Get_MaximumSet_Gen.json @@ -244,9 +242,8 @@ public async Task Exists_NetworkTapRulesGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // NetworkTapRules_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NetworkTapRulesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkTapRules_Get_MaximumSet_Gen.json @@ -274,7 +271,7 @@ public async Task GetIfExists_NetworkTapRulesGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -286,9 +283,8 @@ public async Task GetIfExists_NetworkTapRulesGetMaximumSetGen() } } - // NetworkTapRules_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NetworkTapRulesListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkTapRules_ListByResourceGroup_MaximumSet_Gen.json @@ -319,7 +315,7 @@ public async Task GetAll_NetworkTapRulesListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkTapRuleResource.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkTapRuleResource.cs index e9ac289d6c529..999af63cb75b7 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkTapRuleResource.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkTapRuleResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkTapRuleResource { - // NetworkTapRules_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkTapRulesGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkTapRules_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_NetworkTapRulesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkTapRules_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NetworkTapRulesUpdateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkTapRules_Update_MaximumSet_Gen.json @@ -200,9 +199,8 @@ public async Task Update_NetworkTapRulesUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkTapRules_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NetworkTapRulesDeleteMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkTapRules_Delete_MaximumSet_Gen.json @@ -224,12 +222,11 @@ public async Task Delete_NetworkTapRulesDeleteMaximumSetGen() // invoke the operation await networkTapRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NetworkTapRules_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkTapRules_NetworkTapRulesListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkTapRules_ListBySubscription_MaximumSet_Gen.json @@ -256,12 +253,11 @@ public async Task GetNetworkTapRules_NetworkTapRulesListBySubscriptionMaximumSet Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NetworkTapRules_UpdateAdministrativeState_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateAdministrativeState_NetworkTapRulesUpdateAdministrativeStateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkTapRules_UpdateAdministrativeState_MaximumSet_Gen.json @@ -295,9 +291,8 @@ public async Task UpdateAdministrativeState_NetworkTapRulesUpdateAdministrativeS Console.WriteLine($"Succeeded: {result}"); } - // NetworkTapRules_Resync_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Resync_NetworkTapRulesResyncMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkTapRules_Resync_MaximumSet_Gen.json @@ -323,9 +318,8 @@ public async Task Resync_NetworkTapRulesResyncMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // NetworkTapRules_ValidateConfiguration_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateConfiguration_NetworkTapRulesValidateConfigurationMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkTapRules_ValidateConfiguration_MaximumSet_Gen.json diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkToNetworkInterconnectCollection.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkToNetworkInterconnectCollection.cs index 8c57a53eed955..0cf6f522440ed 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkToNetworkInterconnectCollection.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkToNetworkInterconnectCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkToNetworkInterconnectCollection { - // NetworkToNetworkInterconnects_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NetworkToNetworkInterconnectsCreateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkToNetworkInterconnects_Create_MaximumSet_Gen.json @@ -107,9 +107,8 @@ public async Task CreateOrUpdate_NetworkToNetworkInterconnectsCreateMaximumSetGe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkToNetworkInterconnects_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkToNetworkInterconnectsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkToNetworkInterconnects_Get_MaximumSet_Gen.json @@ -142,9 +141,8 @@ public async Task Get_NetworkToNetworkInterconnectsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkToNetworkInterconnects_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NetworkToNetworkInterconnectsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkToNetworkInterconnects_Get_MaximumSet_Gen.json @@ -173,9 +171,8 @@ public async Task Exists_NetworkToNetworkInterconnectsGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // NetworkToNetworkInterconnects_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NetworkToNetworkInterconnectsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkToNetworkInterconnects_Get_MaximumSet_Gen.json @@ -204,7 +201,7 @@ public async Task GetIfExists_NetworkToNetworkInterconnectsGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -216,9 +213,8 @@ public async Task GetIfExists_NetworkToNetworkInterconnectsGetMaximumSetGen() } } - // NetworkToNetworkInterconnects_ListByNetworkFabric_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NetworkToNetworkInterconnectsListByNetworkFabricMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkToNetworkInterconnects_ListByNetworkFabric_MaximumSet_Gen.json @@ -250,7 +246,7 @@ public async Task GetAll_NetworkToNetworkInterconnectsListByNetworkFabricMaximum Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkToNetworkInterconnectResource.cs b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkToNetworkInterconnectResource.cs index f73090470b592..133d1edff342f 100644 --- a/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkToNetworkInterconnectResource.cs +++ b/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/samples/Generated/Samples/Sample_NetworkToNetworkInterconnectResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ManagedNetworkFabric.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedNetworkFabric.Samples { public partial class Sample_NetworkToNetworkInterconnectResource { - // NetworkToNetworkInterconnects_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkToNetworkInterconnectsGetMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkToNetworkInterconnects_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_NetworkToNetworkInterconnectsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkToNetworkInterconnects_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NetworkToNetworkInterconnectsUpdateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkToNetworkInterconnects_Update_MaximumSet_Gen.json @@ -134,9 +133,8 @@ public async Task Update_NetworkToNetworkInterconnectsUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkToNetworkInterconnects_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NetworkToNetworkInterconnectsDeleteMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkToNetworkInterconnects_Delete_MaximumSet_Gen.json @@ -159,12 +157,11 @@ public async Task Delete_NetworkToNetworkInterconnectsDeleteMaximumSetGen() // invoke the operation await networkToNetworkInterconnect.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NetworkToNetworkInterconnects_updateNpbStaticRouteBfdAdministrativeState_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateNpbStaticRouteBfdAdministrativeState_NetworkToNetworkInterconnectsUpdateNpbStaticRouteBfdAdministrativeStateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkToNetworkInterconnects_updateNpbStaticRouteBfdAdministrativeState_MaximumSet_Gen.json @@ -199,9 +196,8 @@ public async Task UpdateNpbStaticRouteBfdAdministrativeState_NetworkToNetworkInt Console.WriteLine($"Succeeded: {result}"); } - // NetworkToNetworkInterconnects_updateAdministrativeState_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateAdministrativeState_NetworkToNetworkInterconnectsUpdateAdministrativeStateMaximumSetGen() { // Generated from example definition: specification/managednetworkfabric/resource-manager/Microsoft.ManagedNetworkFabric/stable/2023-06-15/examples/NetworkToNetworkInterconnects_updateAdministrativeState_MaximumSet_Gen.json diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_FederatedIdentityCredentialCollection.cs b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_FederatedIdentityCredentialCollection.cs index 887fba57ac2d9..f933c4f8af9c2 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_FederatedIdentityCredentialCollection.cs +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_FederatedIdentityCredentialCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedServiceIdentities.Samples { public partial class Sample_FederatedIdentityCredentialCollection { - // FederatedIdentityCredentialList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_FederatedIdentityCredentialList() { // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/FederatedIdentityCredentialList.json @@ -48,12 +48,11 @@ public async Task GetAll_FederatedIdentityCredentialList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // FederatedIdentityCredentialCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_FederatedIdentityCredentialCreate() { // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/FederatedIdentityCredentialCreate.json @@ -96,9 +95,8 @@ public async Task CreateOrUpdate_FederatedIdentityCredentialCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FederatedIdentityCredentialGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FederatedIdentityCredentialGet() { // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/FederatedIdentityCredentialGet.json @@ -131,9 +129,8 @@ public async Task Get_FederatedIdentityCredentialGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FederatedIdentityCredentialGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_FederatedIdentityCredentialGet() { // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/FederatedIdentityCredentialGet.json @@ -162,9 +159,8 @@ public async Task Exists_FederatedIdentityCredentialGet() Console.WriteLine($"Succeeded: {result}"); } - // FederatedIdentityCredentialGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_FederatedIdentityCredentialGet() { // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/FederatedIdentityCredentialGet.json @@ -193,7 +189,7 @@ public async Task GetIfExists_FederatedIdentityCredentialGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_FederatedIdentityCredentialResource.cs b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_FederatedIdentityCredentialResource.cs index 5accf6180cc17..6c01fd739e6f9 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_FederatedIdentityCredentialResource.cs +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_FederatedIdentityCredentialResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedServiceIdentities.Samples { public partial class Sample_FederatedIdentityCredentialResource { - // FederatedIdentityCredentialCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_FederatedIdentityCredentialCreate() { // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/FederatedIdentityCredentialCreate.json @@ -56,9 +56,8 @@ public async Task Update_FederatedIdentityCredentialCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FederatedIdentityCredentialGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FederatedIdentityCredentialGet() { // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/FederatedIdentityCredentialGet.json @@ -88,9 +87,8 @@ public async Task Get_FederatedIdentityCredentialGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FederatedIdentityCredentialDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_FederatedIdentityCredentialDelete() { // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/FederatedIdentityCredentialDelete.json @@ -113,7 +111,7 @@ public async Task Delete_FederatedIdentityCredentialDelete() // invoke the operation await federatedIdentityCredential.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_SystemAssignedIdentityResource.cs b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_SystemAssignedIdentityResource.cs index fad790c23d2c6..385e16d430226 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_SystemAssignedIdentityResource.cs +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_SystemAssignedIdentityResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedServiceIdentities.Samples { public partial class Sample_SystemAssignedIdentityResource { - // MsiOperationsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MsiOperationsList() { // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/SystemAssignedIdentityGet.json diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_UserAssignedIdentityCollection.cs b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_UserAssignedIdentityCollection.cs index 276353b670da6..10366e14ab87f 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_UserAssignedIdentityCollection.cs +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_UserAssignedIdentityCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedServiceIdentities.Samples { public partial class Sample_UserAssignedIdentityCollection { - // IdentityListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_IdentityListByResourceGroup() { // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/IdentityListByResourceGroup.json @@ -48,12 +48,11 @@ public async Task GetAll_IdentityListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // IdentityCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_IdentityCreate() { // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/IdentityCreate.json @@ -94,9 +93,8 @@ public async Task CreateOrUpdate_IdentityCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IdentityGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_IdentityGet() { // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/IdentityGet.json @@ -128,9 +126,8 @@ public async Task Get_IdentityGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IdentityGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_IdentityGet() { // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/IdentityGet.json @@ -158,9 +155,8 @@ public async Task Exists_IdentityGet() Console.WriteLine($"Succeeded: {result}"); } - // IdentityGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_IdentityGet() { // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/IdentityGet.json @@ -188,7 +184,7 @@ public async Task GetIfExists_IdentityGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_UserAssignedIdentityResource.cs b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_UserAssignedIdentityResource.cs index 542ccfafe0692..eb17438c994fa 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_UserAssignedIdentityResource.cs +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_UserAssignedIdentityResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagedServiceIdentities.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedServiceIdentities.Samples { public partial class Sample_UserAssignedIdentityResource { - // IdentityListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUserAssignedIdentities_IdentityListBySubscription() { // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/IdentityListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetUserAssignedIdentities_IdentityListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // IdentityUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_IdentityUpdate() { // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/IdentityUpdate.json @@ -87,9 +86,8 @@ public async Task Update_IdentityUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IdentityGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_IdentityGet() { // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/IdentityGet.json @@ -118,9 +116,8 @@ public async Task Get_IdentityGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IdentityDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_IdentityDelete() { // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/IdentityDelete.json @@ -142,7 +139,7 @@ public async Task Delete_IdentityDelete() // invoke the operation await userAssignedIdentity.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/Generated/Samples/Sample_ManagedServicesMarketplaceRegistrationCollection.cs b/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/Generated/Samples/Sample_ManagedServicesMarketplaceRegistrationCollection.cs index ac6dc0429d33d..634271fd5515f 100644 --- a/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/Generated/Samples/Sample_ManagedServicesMarketplaceRegistrationCollection.cs +++ b/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/Generated/Samples/Sample_ManagedServicesMarketplaceRegistrationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedServices.Samples { public partial class Sample_ManagedServicesMarketplaceRegistrationCollection { - // Get Registration Definitions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetRegistrationDefinitions() { // Generated from example definition: specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetMarketplaceRegistrationDefinitions.json @@ -46,12 +46,11 @@ public async Task GetAll_GetRegistrationDefinitions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registration Definitions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistrationDefinitions() { // Generated from example definition: specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetMarketplaceRegistrationDefinition.json @@ -81,9 +80,8 @@ public async Task Get_GetRegistrationDefinitions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Registration Definitions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRegistrationDefinitions() { // Generated from example definition: specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetMarketplaceRegistrationDefinition.json @@ -109,9 +107,8 @@ public async Task Exists_GetRegistrationDefinitions() Console.WriteLine($"Succeeded: {result}"); } - // Get Registration Definitions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRegistrationDefinitions() { // Generated from example definition: specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetMarketplaceRegistrationDefinition.json @@ -137,7 +134,7 @@ public async Task GetIfExists_GetRegistrationDefinitions() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/Generated/Samples/Sample_ManagedServicesMarketplaceRegistrationResource.cs b/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/Generated/Samples/Sample_ManagedServicesMarketplaceRegistrationResource.cs index 329cab220153f..859339a3a4687 100644 --- a/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/Generated/Samples/Sample_ManagedServicesMarketplaceRegistrationResource.cs +++ b/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/Generated/Samples/Sample_ManagedServicesMarketplaceRegistrationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedServices.Samples { public partial class Sample_ManagedServicesMarketplaceRegistrationResource { - // Get Registration Definitions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistrationDefinitions() { // Generated from example definition: specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetMarketplaceRegistrationDefinition.json diff --git a/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/Generated/Samples/Sample_ManagedServicesRegistrationAssignmentCollection.cs b/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/Generated/Samples/Sample_ManagedServicesRegistrationAssignmentCollection.cs index a503c0a16dfa4..7c0c008d9487d 100644 --- a/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/Generated/Samples/Sample_ManagedServicesRegistrationAssignmentCollection.cs +++ b/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/Generated/Samples/Sample_ManagedServicesRegistrationAssignmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ManagedServices.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedServices.Samples { public partial class Sample_ManagedServicesRegistrationAssignmentCollection { - // Get Registration Assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistrationAssignment() { // Generated from example definition: specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationAssignment.json @@ -47,9 +47,8 @@ public async Task Get_GetRegistrationAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Registration Assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRegistrationAssignment() { // Generated from example definition: specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationAssignment.json @@ -75,9 +74,8 @@ public async Task Exists_GetRegistrationAssignment() Console.WriteLine($"Succeeded: {result}"); } - // Get Registration Assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRegistrationAssignment() { // Generated from example definition: specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationAssignment.json @@ -103,7 +101,7 @@ public async Task GetIfExists_GetRegistrationAssignment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -115,9 +113,8 @@ public async Task GetIfExists_GetRegistrationAssignment() } } - // Put Registration Assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutRegistrationAssignment() { // Generated from example definition: specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/PutRegistrationAssignment.json @@ -152,9 +149,8 @@ public async Task CreateOrUpdate_PutRegistrationAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Registration Assignments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetRegistrationAssignments() { // Generated from example definition: specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationAssignments.json @@ -183,12 +179,11 @@ public async Task GetAll_GetRegistrationAssignments() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registration Assignments with ManagedByTenantId eq filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetRegistrationAssignmentsWithManagedByTenantIdEqFilter() { // Generated from example definition: specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationAssignmentsWithManagedByTenantIdEqFilter.json @@ -218,12 +213,11 @@ public async Task GetAll_GetRegistrationAssignmentsWithManagedByTenantIdEqFilter Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registration Assignments with ManagedByTenantId in filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetRegistrationAssignmentsWithManagedByTenantIdInFilter() { // Generated from example definition: specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationAssignmentsWithManagedByTenantIdInFilter.json @@ -253,7 +247,7 @@ public async Task GetAll_GetRegistrationAssignmentsWithManagedByTenantIdInFilter Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/Generated/Samples/Sample_ManagedServicesRegistrationAssignmentResource.cs b/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/Generated/Samples/Sample_ManagedServicesRegistrationAssignmentResource.cs index de34004d38930..0be4bf709c0ae 100644 --- a/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/Generated/Samples/Sample_ManagedServicesRegistrationAssignmentResource.cs +++ b/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/Generated/Samples/Sample_ManagedServicesRegistrationAssignmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ManagedServices.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedServices.Samples { public partial class Sample_ManagedServicesRegistrationAssignmentResource { - // Get Registration Assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistrationAssignment() { // Generated from example definition: specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationAssignment.json @@ -45,9 +45,8 @@ public async Task Get_GetRegistrationAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Registration Assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteRegistrationAssignment() { // Generated from example definition: specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/DeleteRegistrationAssignment.json @@ -68,12 +67,11 @@ public async Task Delete_DeleteRegistrationAssignment() // invoke the operation await managedServicesRegistrationAssignment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Put Registration Assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PutRegistrationAssignment() { // Generated from example definition: specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/PutRegistrationAssignment.json diff --git a/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/Generated/Samples/Sample_ManagedServicesRegistrationCollection.cs b/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/Generated/Samples/Sample_ManagedServicesRegistrationCollection.cs index e9982252c37f3..5ed52f29c1378 100644 --- a/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/Generated/Samples/Sample_ManagedServicesRegistrationCollection.cs +++ b/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/Generated/Samples/Sample_ManagedServicesRegistrationCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ManagedServices.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedServices.Samples { public partial class Sample_ManagedServicesRegistrationCollection { - // Get Registration Definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistrationDefinition() { // Generated from example definition: specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationDefinition.json @@ -48,9 +48,8 @@ public async Task Get_GetRegistrationDefinition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Registration Definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRegistrationDefinition() { // Generated from example definition: specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationDefinition.json @@ -76,9 +75,8 @@ public async Task Exists_GetRegistrationDefinition() Console.WriteLine($"Succeeded: {result}"); } - // Get Registration Definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRegistrationDefinition() { // Generated from example definition: specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationDefinition.json @@ -104,7 +102,7 @@ public async Task GetIfExists_GetRegistrationDefinition() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -116,9 +114,8 @@ public async Task GetIfExists_GetRegistrationDefinition() } } - // Put Registration Definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutRegistrationDefinition() { // Generated from example definition: specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/PutRegistrationDefinition.json @@ -189,9 +186,8 @@ public async Task CreateOrUpdate_PutRegistrationDefinition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Registration Definitions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetRegistrationDefinitions() { // Generated from example definition: specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationDefinitions.json @@ -220,12 +216,11 @@ public async Task GetAll_GetRegistrationDefinitions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registration Definitions with ManagedByTenantId eq filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetRegistrationDefinitionsWithManagedByTenantIdEqFilter() { // Generated from example definition: specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationDefinitionsWithManagedByTenantIdEqFilter.json @@ -255,12 +250,11 @@ public async Task GetAll_GetRegistrationDefinitionsWithManagedByTenantIdEqFilter Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Registration Definitions with ManagedByTenantId in filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetRegistrationDefinitionsWithManagedByTenantIdInFilter() { // Generated from example definition: specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationDefinitionsWithManagedByTenantIdInFilter.json @@ -290,7 +284,7 @@ public async Task GetAll_GetRegistrationDefinitionsWithManagedByTenantIdInFilter Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/Generated/Samples/Sample_ManagedServicesRegistrationResource.cs b/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/Generated/Samples/Sample_ManagedServicesRegistrationResource.cs index cfb7f2cd998d5..67e901c96e01e 100644 --- a/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/Generated/Samples/Sample_ManagedServicesRegistrationResource.cs +++ b/sdk/managedservices/Azure.ResourceManager.ManagedServices/samples/Generated/Samples/Sample_ManagedServicesRegistrationResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ManagedServices.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ManagedServices.Samples { public partial class Sample_ManagedServicesRegistrationResource { - // Get Registration Definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRegistrationDefinition() { // Generated from example definition: specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/GetRegistrationDefinition.json @@ -46,9 +46,8 @@ public async Task Get_GetRegistrationDefinition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Registration Definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteRegistrationDefinition() { // Generated from example definition: specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/DeleteRegistrationDefinition.json @@ -69,12 +68,11 @@ public async Task Delete_DeleteRegistrationDefinition() // invoke the operation await managedServicesRegistration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Put Registration Definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PutRegistrationDefinition() { // Generated from example definition: specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2022-10-01/examples/PutRegistrationDefinition.json diff --git a/sdk/managementpartner/Azure.ResourceManager.ManagementPartner/samples/Generated/Samples/Sample_PartnerResponseCollection.cs b/sdk/managementpartner/Azure.ResourceManager.ManagementPartner/samples/Generated/Samples/Sample_PartnerResponseCollection.cs index fa70f8cf6f751..4b9962e3f54fb 100644 --- a/sdk/managementpartner/Azure.ResourceManager.ManagementPartner/samples/Generated/Samples/Sample_PartnerResponseCollection.cs +++ b/sdk/managementpartner/Azure.ResourceManager.ManagementPartner/samples/Generated/Samples/Sample_PartnerResponseCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ManagementPartner.Samples { public partial class Sample_PartnerResponseCollection { - // GetPartnerDetails - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPartnerDetails() { // Generated from example definition: specification/managementpartner/resource-manager/Microsoft.ManagementPartner/preview/2018-02-01/examples/GetPartnerDetails.json @@ -45,9 +45,8 @@ public async Task Get_GetPartnerDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetPartnerDetails - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPartnerDetails() { // Generated from example definition: specification/managementpartner/resource-manager/Microsoft.ManagementPartner/preview/2018-02-01/examples/GetPartnerDetails.json @@ -72,9 +71,8 @@ public async Task Exists_GetPartnerDetails() Console.WriteLine($"Succeeded: {result}"); } - // GetPartnerDetails - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPartnerDetails() { // Generated from example definition: specification/managementpartner/resource-manager/Microsoft.ManagementPartner/preview/2018-02-01/examples/GetPartnerDetails.json @@ -99,7 +97,7 @@ public async Task GetIfExists_GetPartnerDetails() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -111,9 +109,8 @@ public async Task GetIfExists_GetPartnerDetails() } } - // PutPartnerDetails - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutPartnerDetails() { // Generated from example definition: specification/managementpartner/resource-manager/Microsoft.ManagementPartner/preview/2018-02-01/examples/PutPartnerDetails.json diff --git a/sdk/managementpartner/Azure.ResourceManager.ManagementPartner/samples/Generated/Samples/Sample_PartnerResponseResource.cs b/sdk/managementpartner/Azure.ResourceManager.ManagementPartner/samples/Generated/Samples/Sample_PartnerResponseResource.cs index 7fd89259b1a67..f9a9a7f753f26 100644 --- a/sdk/managementpartner/Azure.ResourceManager.ManagementPartner/samples/Generated/Samples/Sample_PartnerResponseResource.cs +++ b/sdk/managementpartner/Azure.ResourceManager.ManagementPartner/samples/Generated/Samples/Sample_PartnerResponseResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ManagementPartner.Samples { public partial class Sample_PartnerResponseResource { - // GetPartnerDetails - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPartnerDetails() { // Generated from example definition: specification/managementpartner/resource-manager/Microsoft.ManagementPartner/preview/2018-02-01/examples/GetPartnerDetails.json @@ -43,9 +43,8 @@ public async Task Get_GetPartnerDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PatchPartnerDetails - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchPartnerDetails() { // Generated from example definition: specification/managementpartner/resource-manager/Microsoft.ManagementPartner/preview/2018-02-01/examples/PatchPartnerDetails.json @@ -72,9 +71,8 @@ public async Task Update_PatchPartnerDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeletePartnerDetails - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletePartnerDetails() { // Generated from example definition: specification/managementpartner/resource-manager/Microsoft.ManagementPartner/preview/2018-02-01/examples/DeletePartnerDetails.json @@ -94,7 +92,7 @@ public async Task Delete_DeletePartnerDetails() // invoke the operation await partnerResponse.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/managementpartner/Azure.ResourceManager.ManagementPartner/samples/Generated/Samples/Sample_TenantResourceExtensions.cs b/sdk/managementpartner/Azure.ResourceManager.ManagementPartner/samples/Generated/Samples/Sample_TenantResourceExtensions.cs index e0a4a8f5287f5..3c59bf29451df 100644 --- a/sdk/managementpartner/Azure.ResourceManager.ManagementPartner/samples/Generated/Samples/Sample_TenantResourceExtensions.cs +++ b/sdk/managementpartner/Azure.ResourceManager.ManagementPartner/samples/Generated/Samples/Sample_TenantResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ManagementPartner.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ManagementPartner.Samples { public partial class Sample_TenantResourceExtensions { - // GetOperations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOperations_GetOperations() { // Generated from example definition: specification/managementpartner/resource-manager/Microsoft.ManagementPartner/preview/2018-02-01/examples/GetOperations.json @@ -38,7 +38,7 @@ public async Task GetOperations_GetOperations() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/maps/Azure.ResourceManager.Maps/samples/Generated/Samples/Sample_MapsAccountCollection.cs b/sdk/maps/Azure.ResourceManager.Maps/samples/Generated/Samples/Sample_MapsAccountCollection.cs index db0693eca5510..3bf262843bd12 100644 --- a/sdk/maps/Azure.ResourceManager.Maps/samples/Generated/Samples/Sample_MapsAccountCollection.cs +++ b/sdk/maps/Azure.ResourceManager.Maps/samples/Generated/Samples/Sample_MapsAccountCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Maps.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Maps.Samples { public partial class Sample_MapsAccountCollection { - // Create Account with Managed Identities - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAccountWithManagedIdentities() { // Generated from example definition: specification/maps/resource-manager/Microsoft.Maps/preview/2021-12-01-preview/examples/CreateAccountManagedIdentity.json @@ -75,9 +75,8 @@ public async Task CreateOrUpdate_CreateAccountWithManagedIdentities() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Gen1 Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateGen1Account() { // Generated from example definition: specification/maps/resource-manager/Microsoft.Maps/preview/2021-12-01-preview/examples/CreateAccount.json @@ -129,9 +128,8 @@ public async Task CreateOrUpdate_CreateGen1Account() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Gen2 Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateGen2Account() { // Generated from example definition: specification/maps/resource-manager/Microsoft.Maps/preview/2021-12-01-preview/examples/CreateAccountGen2.json @@ -183,9 +181,8 @@ public async Task CreateOrUpdate_CreateGen2Account() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAccount() { // Generated from example definition: specification/maps/resource-manager/Microsoft.Maps/preview/2021-12-01-preview/examples/GetAccount.json @@ -217,9 +214,8 @@ public async Task Get_GetAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAccount() { // Generated from example definition: specification/maps/resource-manager/Microsoft.Maps/preview/2021-12-01-preview/examples/GetAccount.json @@ -247,9 +243,8 @@ public async Task Exists_GetAccount() Console.WriteLine($"Succeeded: {result}"); } - // GetAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAccount() { // Generated from example definition: specification/maps/resource-manager/Microsoft.Maps/preview/2021-12-01-preview/examples/GetAccount.json @@ -277,7 +272,7 @@ public async Task GetIfExists_GetAccount() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -289,9 +284,8 @@ public async Task GetIfExists_GetAccount() } } - // List Accounts By Resource Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAccountsByResourceGroup() { // Generated from example definition: specification/maps/resource-manager/Microsoft.Maps/preview/2021-12-01-preview/examples/ListAccountsByResourceGroup.json @@ -322,7 +316,7 @@ public async Task GetAll_ListAccountsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/maps/Azure.ResourceManager.Maps/samples/Generated/Samples/Sample_MapsAccountResource.cs b/sdk/maps/Azure.ResourceManager.Maps/samples/Generated/Samples/Sample_MapsAccountResource.cs index b262e977ebb82..42f242b3950b0 100644 --- a/sdk/maps/Azure.ResourceManager.Maps/samples/Generated/Samples/Sample_MapsAccountResource.cs +++ b/sdk/maps/Azure.ResourceManager.Maps/samples/Generated/Samples/Sample_MapsAccountResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Maps.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Maps.Samples { public partial class Sample_MapsAccountResource { - // Update Account Managed Identities - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAccountManagedIdentities() { // Generated from example definition: specification/maps/resource-manager/Microsoft.Maps/preview/2021-12-01-preview/examples/UpdateAccountManagedIdentity.json @@ -64,9 +64,8 @@ public async Task Update_UpdateAccountManagedIdentities() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Account Tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAccountTags() { // Generated from example definition: specification/maps/resource-manager/Microsoft.Maps/preview/2021-12-01-preview/examples/UpdateAccount.json @@ -102,9 +101,8 @@ public async Task Update_UpdateAccountTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update to Gen1 Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateToGen1Account() { // Generated from example definition: specification/maps/resource-manager/Microsoft.Maps/preview/2021-12-01-preview/examples/UpdateAccountGen1.json @@ -138,9 +136,8 @@ public async Task Update_UpdateToGen1Account() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update to Gen2 Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateToGen2Account() { // Generated from example definition: specification/maps/resource-manager/Microsoft.Maps/preview/2021-12-01-preview/examples/UpdateAccountGen2.json @@ -174,9 +171,8 @@ public async Task Update_UpdateToGen2Account() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAccount() { // Generated from example definition: specification/maps/resource-manager/Microsoft.Maps/preview/2021-12-01-preview/examples/DeleteAccount.json @@ -198,12 +194,11 @@ public async Task Delete_DeleteAccount() // invoke the operation await mapsAccount.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAccount() { // Generated from example definition: specification/maps/resource-manager/Microsoft.Maps/preview/2021-12-01-preview/examples/GetAccount.json @@ -232,9 +227,8 @@ public async Task Get_GetAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List Accounts By Subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMapsAccounts_ListAccountsBySubscription() { // Generated from example definition: specification/maps/resource-manager/Microsoft.Maps/preview/2021-12-01-preview/examples/ListAccountsBySubscription.json @@ -261,12 +255,11 @@ public async Task GetMapsAccounts_ListAccountsBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Account Sas - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSas_ListAccountSas() { // Generated from example definition: specification/maps/resource-manager/Microsoft.Maps/preview/2021-12-01-preview/examples/AccountListSAS.json @@ -298,9 +291,8 @@ public async Task GetSas_ListAccountSas() Console.WriteLine($"Succeeded: {result}"); } - // List Keys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_ListKeys() { // Generated from example definition: specification/maps/resource-manager/Microsoft.Maps/preview/2021-12-01-preview/examples/ListKeys.json @@ -325,9 +317,8 @@ public async Task GetKeys_ListKeys() Console.WriteLine($"Succeeded: {result}"); } - // Regenerate Key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKeys_RegenerateKey() { // Generated from example definition: specification/maps/resource-manager/Microsoft.Maps/preview/2021-12-01-preview/examples/RegenerateKey.json diff --git a/sdk/maps/Azure.ResourceManager.Maps/samples/Generated/Samples/Sample_MapsCreatorCollection.cs b/sdk/maps/Azure.ResourceManager.Maps/samples/Generated/Samples/Sample_MapsCreatorCollection.cs index 2c242ca822cee..ac9f8d5e9ce01 100644 --- a/sdk/maps/Azure.ResourceManager.Maps/samples/Generated/Samples/Sample_MapsCreatorCollection.cs +++ b/sdk/maps/Azure.ResourceManager.Maps/samples/Generated/Samples/Sample_MapsCreatorCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Maps.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Maps.Samples { public partial class Sample_MapsCreatorCollection { - // List Creator Resources By Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCreatorResourcesByAccount() { // Generated from example definition: specification/maps/resource-manager/Microsoft.Maps/preview/2021-12-01-preview/examples/ListMapsCreatorsByAccount.json @@ -49,12 +49,11 @@ public async Task GetAll_ListCreatorResourcesByAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create Creator Resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateCreatorResource() { // Generated from example definition: specification/maps/resource-manager/Microsoft.Maps/preview/2021-12-01-preview/examples/CreateMapsCreator.json @@ -95,9 +94,8 @@ public async Task CreateOrUpdate_CreateCreatorResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Creator Resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCreatorResource() { // Generated from example definition: specification/maps/resource-manager/Microsoft.Maps/preview/2021-12-01-preview/examples/GetMapsCreator.json @@ -130,9 +128,8 @@ public async Task Get_GetCreatorResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Creator Resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCreatorResource() { // Generated from example definition: specification/maps/resource-manager/Microsoft.Maps/preview/2021-12-01-preview/examples/GetMapsCreator.json @@ -161,9 +158,8 @@ public async Task Exists_GetCreatorResource() Console.WriteLine($"Succeeded: {result}"); } - // Get Creator Resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCreatorResource() { // Generated from example definition: specification/maps/resource-manager/Microsoft.Maps/preview/2021-12-01-preview/examples/GetMapsCreator.json @@ -192,7 +188,7 @@ public async Task GetIfExists_GetCreatorResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/maps/Azure.ResourceManager.Maps/samples/Generated/Samples/Sample_MapsCreatorResource.cs b/sdk/maps/Azure.ResourceManager.Maps/samples/Generated/Samples/Sample_MapsCreatorResource.cs index 467346015e85f..8664a2d601e6b 100644 --- a/sdk/maps/Azure.ResourceManager.Maps/samples/Generated/Samples/Sample_MapsCreatorResource.cs +++ b/sdk/maps/Azure.ResourceManager.Maps/samples/Generated/Samples/Sample_MapsCreatorResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Maps.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Maps.Samples { public partial class Sample_MapsCreatorResource { - // Update Creator Resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateCreatorResource() { // Generated from example definition: specification/maps/resource-manager/Microsoft.Maps/preview/2021-12-01-preview/examples/UpdateMapsCreator.json @@ -55,9 +55,8 @@ public async Task Update_UpdateCreatorResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Creator Resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteCreatorResource() { // Generated from example definition: specification/maps/resource-manager/Microsoft.Maps/preview/2021-12-01-preview/examples/DeleteMapsCreator.json @@ -80,12 +79,11 @@ public async Task Delete_DeleteCreatorResource() // invoke the operation await mapsCreator.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Creator Resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCreatorResource() { // Generated from example definition: specification/maps/resource-manager/Microsoft.Maps/preview/2021-12-01-preview/examples/GetMapsCreator.json diff --git a/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_MarketplaceAdminApprovalRequestCollection.cs b/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_MarketplaceAdminApprovalRequestCollection.cs index e1c2c2722a064..fa0fced9f6579 100644 --- a/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_MarketplaceAdminApprovalRequestCollection.cs +++ b/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_MarketplaceAdminApprovalRequestCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Marketplace.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Marketplace.Samples { public partial class Sample_MarketplaceAdminApprovalRequestCollection { - // AdminRequestApprovalsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AdminRequestApprovalsList() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/AdminRequestApprovalsList.json @@ -47,12 +47,11 @@ public async Task GetAll_AdminRequestApprovalsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetAdminRequestApproval - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAdminRequestApproval() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetAdminRequestApproval.json @@ -84,9 +83,8 @@ public async Task Get_GetAdminRequestApproval() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetAdminRequestApproval - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAdminRequestApproval() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetAdminRequestApproval.json @@ -114,9 +112,8 @@ public async Task Exists_GetAdminRequestApproval() Console.WriteLine($"Succeeded: {result}"); } - // GetAdminRequestApproval - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAdminRequestApproval() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetAdminRequestApproval.json @@ -144,7 +141,7 @@ public async Task GetIfExists_GetAdminRequestApproval() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -156,9 +153,8 @@ public async Task GetIfExists_GetAdminRequestApproval() } } - // UpdateAdminRequestApproval - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAdminRequestApproval() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/UpdateAdminRequestApproval.json diff --git a/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_MarketplaceAdminApprovalRequestResource.cs b/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_MarketplaceAdminApprovalRequestResource.cs index d99a5f077664a..5eb17a9df046f 100644 --- a/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_MarketplaceAdminApprovalRequestResource.cs +++ b/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_MarketplaceAdminApprovalRequestResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Marketplace.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Marketplace.Samples { public partial class Sample_MarketplaceAdminApprovalRequestResource { - // GetAdminRequestApproval - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAdminRequestApproval() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetAdminRequestApproval.json @@ -46,9 +46,8 @@ public async Task Get_GetAdminRequestApproval() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UpdateAdminRequestApproval - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAdminRequestApproval() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/UpdateAdminRequestApproval.json diff --git a/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_MarketplaceApprovalRequestCollection.cs b/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_MarketplaceApprovalRequestCollection.cs index a4543da325f00..17bd6fe896acc 100644 --- a/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_MarketplaceApprovalRequestCollection.cs +++ b/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_MarketplaceApprovalRequestCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Marketplace.Samples { public partial class Sample_MarketplaceApprovalRequestCollection { - // GetApprovalRequestsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetApprovalRequestsList() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetApprovalRequestsList.json @@ -46,12 +46,11 @@ public async Task GetAll_GetApprovalRequestsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetApprovalRequest - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetApprovalRequest() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetRequestApproval.json @@ -82,9 +81,8 @@ public async Task Get_GetApprovalRequest() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetApprovalRequest - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetApprovalRequest() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetRequestApproval.json @@ -111,9 +109,8 @@ public async Task Exists_GetApprovalRequest() Console.WriteLine($"Succeeded: {result}"); } - // GetApprovalRequest - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetApprovalRequest() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetRequestApproval.json @@ -140,7 +137,7 @@ public async Task GetIfExists_GetApprovalRequest() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -152,9 +149,8 @@ public async Task GetIfExists_GetApprovalRequest() } } - // CreateApprovalRequest - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateApprovalRequest() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/CreateApprovalRequest.json diff --git a/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_MarketplaceApprovalRequestResource.cs b/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_MarketplaceApprovalRequestResource.cs index 00bae66403097..7e0529e5f5553 100644 --- a/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_MarketplaceApprovalRequestResource.cs +++ b/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_MarketplaceApprovalRequestResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Marketplace.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Marketplace.Samples { public partial class Sample_MarketplaceApprovalRequestResource { - // GetApprovalRequest - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetApprovalRequest() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetRequestApproval.json @@ -45,9 +45,8 @@ public async Task Get_GetApprovalRequest() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateApprovalRequest - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateApprovalRequest() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/CreateApprovalRequest.json @@ -77,9 +76,8 @@ public async Task Update_CreateApprovalRequest() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QueryRequestApproval - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task QueryApprovalRequest_QueryRequestApproval() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/QueryRequestApproval.json @@ -111,9 +109,8 @@ public async Task QueryApprovalRequest_QueryRequestApproval() Console.WriteLine($"Succeeded: {result}"); } - // WithdrawPlan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task WithdrawPlan_WithdrawPlan() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/WithdrawPlan.json @@ -139,7 +136,7 @@ public async Task WithdrawPlan_WithdrawPlan() }; await marketplaceApprovalRequest.WithdrawPlanAsync(content: content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_PrivateStoreCollection.cs b/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_PrivateStoreCollection.cs index 8ee042056982f..bfbcad14c094e 100644 --- a/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_PrivateStoreCollection.cs +++ b/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_PrivateStoreCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Marketplace.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Marketplace.Samples { public partial class Sample_PrivateStoreCollection { - // GetPrivateStores - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetPrivateStores() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetPrivateStores.json @@ -45,12 +45,11 @@ public async Task GetAll_GetPrivateStores() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetPrivateStore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateStore() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetPrivateStore.json @@ -79,9 +78,8 @@ public async Task Get_GetPrivateStore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetPrivateStore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPrivateStore() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetPrivateStore.json @@ -106,9 +104,8 @@ public async Task Exists_GetPrivateStore() Console.WriteLine($"Succeeded: {result}"); } - // GetPrivateStore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPrivateStore() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetPrivateStore.json @@ -133,7 +130,7 @@ public async Task GetIfExists_GetPrivateStore() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -145,9 +142,8 @@ public async Task GetIfExists_GetPrivateStore() } } - // PrivateStores_update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateStoresUpdate() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/PrivateStores_update.json @@ -174,7 +170,7 @@ public async Task CreateOrUpdate_PrivateStoresUpdate() }; await collection.CreateOrUpdateAsync(WaitUntil.Completed, privateStoreId, data); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_PrivateStoreCollectionInfoCollection.cs b/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_PrivateStoreCollectionInfoCollection.cs index abf6ac82a5275..5092959a1c09d 100644 --- a/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_PrivateStoreCollectionInfoCollection.cs +++ b/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_PrivateStoreCollectionInfoCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Marketplace.Samples { public partial class Sample_PrivateStoreCollectionInfoCollection { - // GetPrivateStoreCollectionsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetPrivateStoreCollectionsList() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetPrivateStoreCollectionsList.json @@ -46,12 +46,11 @@ public async Task GetAll_GetPrivateStoreCollectionsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetPrivateStoreCollection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateStoreCollection() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetPrivateStoreCollection.json @@ -82,9 +81,8 @@ public async Task Get_GetPrivateStoreCollection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetPrivateStoreCollection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPrivateStoreCollection() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetPrivateStoreCollection.json @@ -111,9 +109,8 @@ public async Task Exists_GetPrivateStoreCollection() Console.WriteLine($"Succeeded: {result}"); } - // GetPrivateStoreCollection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPrivateStoreCollection() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetPrivateStoreCollection.json @@ -140,7 +137,7 @@ public async Task GetIfExists_GetPrivateStoreCollection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -152,9 +149,8 @@ public async Task GetIfExists_GetPrivateStoreCollection() } } - // CreatePrivateStoreCollection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePrivateStoreCollection() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/CreatePrivateStoreCollection.json diff --git a/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_PrivateStoreCollectionInfoResource.cs b/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_PrivateStoreCollectionInfoResource.cs index 2fdabd865fcd6..ce354cfaa91f1 100644 --- a/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_PrivateStoreCollectionInfoResource.cs +++ b/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_PrivateStoreCollectionInfoResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Marketplace.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Marketplace.Samples { public partial class Sample_PrivateStoreCollectionInfoResource { - // SetCollectionRules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SetCollectionRules_SetCollectionRules() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/SetCollectionRules.json @@ -48,12 +48,11 @@ public async Task SetCollectionRules_SetCollectionRules() }; await privateStoreCollectionInfo.SetCollectionRulesAsync(content: content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetCollectionRules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task QueryRules_GetCollectionRules() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetCollectionRules.json @@ -77,12 +76,11 @@ public async Task QueryRules_GetCollectionRules() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetPrivateStoreCollection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateStoreCollection() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetPrivateStoreCollection.json @@ -110,9 +108,8 @@ public async Task Get_GetPrivateStoreCollection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreatePrivateStoreCollection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatePrivateStoreCollection() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/CreatePrivateStoreCollection.json @@ -151,9 +148,8 @@ public async Task Update_CreatePrivateStoreCollection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeletePrivateStoreCollection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletePrivateStoreCollection() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/DeletePrivateStoreCollection.json @@ -174,12 +170,11 @@ public async Task Delete_DeletePrivateStoreCollection() // invoke the operation await privateStoreCollectionInfo.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PostPrivateStoreCollection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PostPrivateStoreCollection() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/PostPrivateStoreCollection.json @@ -200,12 +195,11 @@ public async Task Delete_PostPrivateStoreCollection() // invoke the operation await privateStoreCollectionInfo.DeleteAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TransferOffers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TransferOffers_TransferOffers() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/TransferOffers.json @@ -241,9 +235,8 @@ public async Task TransferOffers_TransferOffers() Console.WriteLine($"Succeeded: {result}"); } - // ApproveAllItems - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ApproveAllItems_ApproveAllItems() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/ApproveAllItems.json @@ -271,9 +264,8 @@ public async Task ApproveAllItems_ApproveAllItems() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DisableApproveAllItems - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DisableApproveAllItems_DisableApproveAllItems() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/DisableApproveAllItems.json @@ -301,9 +293,8 @@ public async Task DisableApproveAllItems_DisableApproveAllItems() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetPrivateStoreCollectionOffersWithFullContext - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateStoreCollectionOffersByContexts_GetPrivateStoreCollectionOffersWithFullContext() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetPrivateStoreCollectionOffersWithFullContext.json @@ -334,7 +325,7 @@ public async Task GetPrivateStoreCollectionOffersByContexts_GetPrivateStoreColle Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_PrivateStoreOfferCollection.cs b/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_PrivateStoreOfferCollection.cs index 3674593112cf2..f1b8807aa0319 100644 --- a/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_PrivateStoreOfferCollection.cs +++ b/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_PrivateStoreOfferCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Marketplace.Samples { public partial class Sample_PrivateStoreOfferCollection { - // GetPrivateStoreOffers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetPrivateStoreOffers() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetPrivateStoreOffers.json @@ -47,12 +47,11 @@ public async Task GetAll_GetPrivateStoreOffers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetPrivateStoreCollectionOffer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateStoreCollectionOffer() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetPrivateStoreCollectionOffer.json @@ -84,9 +83,8 @@ public async Task Get_GetPrivateStoreCollectionOffer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetPrivateStoreCollectionOffer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPrivateStoreCollectionOffer() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetPrivateStoreCollectionOffer.json @@ -114,9 +112,8 @@ public async Task Exists_GetPrivateStoreCollectionOffer() Console.WriteLine($"Succeeded: {result}"); } - // GetPrivateStoreCollectionOffer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPrivateStoreCollectionOffer() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetPrivateStoreCollectionOffer.json @@ -144,7 +141,7 @@ public async Task GetIfExists_GetPrivateStoreCollectionOffer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -156,9 +153,8 @@ public async Task GetIfExists_GetPrivateStoreCollectionOffer() } } - // PrivateStoreOffer_update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateStoreOfferUpdate() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/PrivateStoreOffer_update.json diff --git a/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_PrivateStoreOfferResource.cs b/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_PrivateStoreOfferResource.cs index 7ab036a73256f..131332ba4f6e2 100644 --- a/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_PrivateStoreOfferResource.cs +++ b/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_PrivateStoreOfferResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Marketplace.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Marketplace.Samples { public partial class Sample_PrivateStoreOfferResource { - // GetPrivateStoreCollectionOffer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateStoreCollectionOffer() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetPrivateStoreCollectionOffer.json @@ -46,9 +46,8 @@ public async Task Get_GetPrivateStoreCollectionOffer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateStoreOffer_update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateStoreOfferUpdate() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/PrivateStoreOffer_update.json @@ -86,9 +85,8 @@ public async Task Update_PrivateStoreOfferUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeletePrivateStoreOffer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletePrivateStoreOffer() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/DeletePrivateStoreOffer.json @@ -110,12 +108,11 @@ public async Task Delete_DeletePrivateStoreOffer() // invoke the operation await privateStoreOffer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PostPrivateStoreCollectionOffer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PostPrivateStoreCollectionOffer() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/PostPrivateStoreCollectionOffer.json @@ -137,12 +134,11 @@ public async Task Delete_PostPrivateStoreCollectionOffer() // invoke the operation await privateStoreOffer.DeleteAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // UpsertOfferWithMultiContext - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpsertOfferWithMultiContext_UpsertOfferWithMultiContext() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/UpsertOfferWithMultiContext.json diff --git a/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_PrivateStoreResource.cs b/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_PrivateStoreResource.cs index d28e6264ed6a8..a93023a508b2e 100644 --- a/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_PrivateStoreResource.cs +++ b/sdk/marketplace/Azure.ResourceManager.Marketplace/samples/Generated/Samples/Sample_PrivateStoreResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Marketplace.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Marketplace.Samples { public partial class Sample_PrivateStoreResource { - // GetPrivateStore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateStore() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/GetPrivateStore.json @@ -44,9 +44,8 @@ public async Task Get_GetPrivateStore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateStores_update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateStoresUpdate() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/PrivateStores_update.json @@ -71,12 +70,11 @@ public async Task Update_PrivateStoresUpdate() }; await privateStore.UpdateAsync(WaitUntil.Completed, data); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DeletePrivateStores - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletePrivateStores() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/DeletePrivateStore.json @@ -96,12 +94,11 @@ public async Task Delete_DeletePrivateStores() // invoke the operation await privateStore.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AnyExistingOffersInTheCollections - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AnyExistingOffersInTheCollections_AnyExistingOffersInTheCollections() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/AnyExistingOffersInTheCollections.json @@ -124,9 +121,8 @@ public async Task AnyExistingOffersInTheCollections_AnyExistingOffersInTheCollec Console.WriteLine($"Succeeded: {result}"); } - // QueryOffers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task QueryOffers_QueryOffers() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/QueryOffers.json @@ -149,12 +145,11 @@ public async Task QueryOffers_QueryOffers() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // QueryUserOffers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task QueryUserOffers_QueryUserOffers() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/QueryUserOffers.json @@ -188,12 +183,11 @@ public async Task QueryUserOffers_QueryUserOffers() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingAccounts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task FetchBillingAccounts_BillingAccounts() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/BillingAccounts.json @@ -216,9 +210,8 @@ public async Task FetchBillingAccounts_BillingAccounts() Console.WriteLine($"Succeeded: {result}"); } - // CollectionsToSubscriptionsMapping - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task FetchCollectionsToSubscriptionsMapping_CollectionsToSubscriptionsMapping() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/CollectionsToSubscriptionsMapping.json @@ -248,9 +241,8 @@ public async Task FetchCollectionsToSubscriptionsMapping_CollectionsToSubscripti Console.WriteLine($"Succeeded: {result}"); } - // QueryApprovedPlans - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task QueryApprovedPlans_QueryApprovedPlans() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/QueryApprovedPlans.json @@ -285,9 +277,8 @@ public async Task QueryApprovedPlans_QueryApprovedPlans() Console.WriteLine($"Succeeded: {result}"); } - // BulkCollectionsAction - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PerformActionOnBulkCollections_BulkCollectionsAction() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/BulkCollectionsAction.json @@ -318,9 +309,8 @@ public async Task PerformActionOnBulkCollections_BulkCollectionsAction() Console.WriteLine($"Succeeded: {result}"); } - // NotificationsState - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task QueryNotificationsState_NotificationsState() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/NotificationsState.json @@ -343,9 +333,8 @@ public async Task QueryNotificationsState_NotificationsState() Console.WriteLine($"Succeeded: {result}"); } - // AcknowledgeNotification - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AcknowledgeOfferNotification_AcknowledgeNotification() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/AcknowledgeNotification.json @@ -379,12 +368,11 @@ public async Task AcknowledgeOfferNotification_AcknowledgeNotification() }; await privateStore.AcknowledgeOfferNotificationAsync(offerId, content: content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // FetchAllSubscriptionsInTenant - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task FetchAllMarketplaceSubscriptions_FetchAllSubscriptionsInTenant() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/FetchAllSubscriptionsInTenant.json @@ -407,12 +395,11 @@ public async Task FetchAllMarketplaceSubscriptions_FetchAllSubscriptionsInTenant Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListNewPlansNotifications - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNewPlansNotifications_ListNewPlansNotifications() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/ListNewPlansNotifications.json @@ -435,9 +422,8 @@ public async Task GetNewPlansNotifications_ListNewPlansNotifications() Console.WriteLine($"Succeeded: {result}"); } - // ListStopSellOffersPlansNotifications - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStopSellOffersPlansNotifications_ListStopSellOffersPlansNotifications() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/ListStopSellOffersPlansNotifications.json @@ -460,9 +446,8 @@ public async Task GetStopSellOffersPlansNotifications_ListStopSellOffersPlansNot Console.WriteLine($"Succeeded: {result}"); } - // ListSubscriptionsContext - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSubscriptionsContext_ListSubscriptionsContext() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/ListSubscriptionsContext.json @@ -485,9 +470,8 @@ public async Task GetSubscriptionsContext_ListSubscriptionsContext() Console.WriteLine($"Succeeded: {result}"); } - // QueryUserRules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task QueryUserRules_QueryUserRules() { // Generated from example definition: specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2023-01-01/examples/QueryUserRules.json @@ -517,7 +501,7 @@ public async Task QueryUserRules_QueryUserRules() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } From a61234317a6b8c2d6e4643b08b90623460a3172c Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Tue, 12 Nov 2024 03:40:23 +0000 Subject: [PATCH 3/8] Update SDK codes de_he_2 --- .../Sample_AppAttachPackageCollection.cs | 30 +- .../Sample_AppAttachPackageResource.cs | 25 +- .../Samples/Sample_HostPoolCollection.cs | 30 +- ...PoolPrivateEndpointConnectionCollection.cs | 30 +- ...stPoolPrivateEndpointConnectionResource.cs | 18 +- .../Samples/Sample_HostPoolResource.cs | 65 ++--- .../Samples/Sample_MsixPackageCollection.cs | 30 +- .../Samples/Sample_MsixPackageResource.cs | 18 +- .../Samples/Sample_ScalingPlanCollection.cs | 30 +- ...e_ScalingPlanPersonalScheduleCollection.cs | 30 +- ...ple_ScalingPlanPersonalScheduleResource.cs | 18 +- ...ple_ScalingPlanPooledScheduleCollection.cs | 30 +- ...ample_ScalingPlanPooledScheduleResource.cs | 18 +- .../Samples/Sample_ScalingPlanResource.cs | 25 +- .../Samples/Sample_SessionHostCollection.cs | 25 +- .../Samples/Sample_SessionHostResource.cs | 18 +- .../Samples/Sample_UserSessionCollection.cs | 25 +- .../Samples/Sample_UserSessionResource.cs | 27 +- .../Sample_VirtualApplicationCollection.cs | 30 +- ...ample_VirtualApplicationGroupCollection.cs | 30 +- .../Sample_VirtualApplicationGroupResource.cs | 32 +-- .../Sample_VirtualApplicationResource.cs | 18 +- .../Sample_VirtualDesktopCollection.cs | 25 +- .../Samples/Sample_VirtualDesktopResource.cs | 11 +- .../Sample_VirtualWorkspaceCollection.cs | 30 +- .../Sample_VirtualWorkspaceResource.cs | 32 +-- ...pacePrivateEndpointConnectionCollection.cs | 30 +- ...kspacePrivateEndpointConnectionResource.cs | 18 +- ...Sample_AllowedEnvironmentTypeCollection.cs | 25 +- .../Sample_AllowedEnvironmentTypeResource.cs | 6 +- ...ple_AttachedNetworkConnectionCollection.cs | 30 +- ...ample_AttachedNetworkConnectionResource.cs | 18 +- .../Sample_DevBoxDefinitionCollection.cs | 30 +- .../Sample_DevBoxDefinitionResource.cs | 18 +- .../Sample_DevCenterCatalogCollection.cs | 35 +-- .../Sample_DevCenterCatalogResource.cs | 25 +- .../Samples/Sample_DevCenterCollection.cs | 35 +-- ...mple_DevCenterEnvironmentTypeCollection.cs | 30 +- ...Sample_DevCenterEnvironmentTypeResource.cs | 18 +- .../Sample_DevCenterGalleryCollection.cs | 30 +- .../Sample_DevCenterGalleryResource.cs | 18 +- .../Sample_DevCenterImageCollection.cs | 25 +- .../Samples/Sample_DevCenterImageResource.cs | 6 +- ...le_DevCenterNetworkConnectionCollection.cs | 30 +- ...mple_DevCenterNetworkConnectionResource.cs | 39 ++- .../Samples/Sample_DevCenterPoolCollection.cs | 47 ++- .../Samples/Sample_DevCenterPoolResource.cs | 30 +- .../Sample_DevCenterProjectCollection.cs | 35 +-- ...e_DevCenterProjectEnvironmentCollection.cs | 30 +- ...ple_DevCenterProjectEnvironmentResource.cs | 18 +- .../Sample_DevCenterProjectResource.cs | 25 +- .../Samples/Sample_DevCenterResource.cs | 32 +-- .../Sample_DevCenterScheduleCollection.cs | 30 +- .../Sample_DevCenterScheduleResource.cs | 18 +- .../Sample_HealthCheckStatusDetailResource.cs | 6 +- .../Samples/Sample_ImageVersionCollection.cs | 25 +- .../Samples/Sample_ImageVersionResource.cs | 6 +- ...jectAttachedNetworkConnectionCollection.cs | 25 +- ...rojectAttachedNetworkConnectionResource.cs | 6 +- ...ample_ProjectDevBoxDefinitionCollection.cs | 25 +- .../Sample_ProjectDevBoxDefinitionResource.cs | 6 +- .../Sample_SubscriptionResourceExtensions.cs | 25 +- ...ple_DeviceProvisioningServiceCollection.cs | 30 +- ...ample_DeviceProvisioningServiceResource.cs | 49 ++-- ...ovisioningServicesCertificateCollection.cs | 30 +- ...ProvisioningServicesCertificateResource.cs | 28 +- ...icesPrivateEndpointConnectionCollection.cs | 30 +- ...rvicesPrivateEndpointConnectionResource.cs | 16 +- ...ProvisioningServicesPrivateLinkResource.cs | 6 +- ...ngServicesPrivateLinkResourceCollection.cs | 25 +- .../Sample_DeviceRegistryAssetCollection.cs | 57 ++-- ...eRegistryAssetEndpointProfileCollection.cs | 30 +- ...iceRegistryAssetEndpointProfileResource.cs | 25 +- .../Sample_DeviceRegistryAssetResource.cs | 30 +- .../Sample_DeviceUpdateAccountCollection.cs | 30 +- .../Sample_DeviceUpdateAccountResource.cs | 25 +- .../Sample_DeviceUpdateInstanceCollection.cs | 30 +- .../Sample_DeviceUpdateInstanceResource.cs | 18 +- ...datePrivateEndpointConnectionCollection.cs | 30 +- ...rivateEndpointConnectionProxyCollection.cs | 30 +- ...ePrivateEndpointConnectionProxyResource.cs | 32 +-- ...UpdatePrivateEndpointConnectionResource.cs | 18 +- ...ample_DeviceUpdatePrivateLinkCollection.cs | 25 +- .../Sample_DeviceUpdatePrivateLinkResource.cs | 6 +- .../Sample_SubscriptionResourceExtensions.cs | 11 +- .../Samples/Sample_DevOpsPoolCollection.cs | 30 +- .../Samples/Sample_DevOpsPoolResource.cs | 32 +-- .../Sample_ResourceGroupResourceExtensions.cs | 8 +- .../Sample_SubscriptionResourceExtensions.cs | 15 +- .../Samples/Sample_ControllerCollection.cs | 30 +- .../Samples/Sample_ControllerResource.cs | 30 +- .../Sample_ResourceGroupResourceExtensions.cs | 6 +- .../Sample_DevTestLabArmTemplateCollection.cs | 25 +- .../Sample_DevTestLabArmTemplateResource.cs | 6 +- .../Sample_DevTestLabArtifactCollection.cs | 25 +- .../Sample_DevTestLabArtifactResource.cs | 11 +- ...mple_DevTestLabArtifactSourceCollection.cs | 30 +- ...Sample_DevTestLabArtifactSourceResource.cs | 18 +- .../Samples/Sample_DevTestLabCollection.cs | 30 +- .../Sample_DevTestLabCostCollection.cs | 23 +- .../Samples/Sample_DevTestLabCostResource.cs | 11 +- .../Sample_DevTestLabCustomImageCollection.cs | 30 +- .../Sample_DevTestLabCustomImageResource.cs | 18 +- .../Sample_DevTestLabDiskCollection.cs | 30 +- .../Samples/Sample_DevTestLabDiskResource.cs | 32 +-- .../Sample_DevTestLabEnvironmentCollection.cs | 30 +- .../Sample_DevTestLabEnvironmentResource.cs | 18 +- .../Sample_DevTestLabFormulaCollection.cs | 30 +- .../Sample_DevTestLabFormulaResource.cs | 18 +- ...mple_DevTestLabGlobalScheduleCollection.cs | 30 +- ...Sample_DevTestLabGlobalScheduleResource.cs | 39 ++- ...DevTestLabNotificationChannelCollection.cs | 30 +- ...e_DevTestLabNotificationChannelResource.cs | 25 +- .../Sample_DevTestLabPolicyCollection.cs | 30 +- .../Sample_DevTestLabPolicyResource.cs | 18 +- .../Samples/Sample_DevTestLabResource.cs | 77 +++-- .../Sample_DevTestLabScheduleCollection.cs | 37 ++- .../Sample_DevTestLabScheduleResource.cs | 25 +- .../Sample_DevTestLabSecretCollection.cs | 30 +- .../Sample_DevTestLabSecretResource.cs | 18 +- ...ample_DevTestLabServiceFabricCollection.cs | 30 +- .../Sample_DevTestLabServiceFabricResource.cs | 37 ++- ...vTestLabServiceFabricScheduleCollection.cs | 30 +- ...DevTestLabServiceFabricScheduleResource.cs | 25 +- ...ample_DevTestLabServiceRunnerCollection.cs | 23 +- .../Sample_DevTestLabServiceRunnerResource.cs | 18 +- .../Sample_DevTestLabUserCollection.cs | 30 +- .../Samples/Sample_DevTestLabUserResource.cs | 18 +- ...mple_DevTestLabVirtualNetworkCollection.cs | 30 +- ...Sample_DevTestLabVirtualNetworkResource.cs | 18 +- .../Samples/Sample_DevTestLabVmCollection.cs | 30 +- .../Samples/Sample_DevTestLabVmResource.cs | 105 +++---- .../Sample_DevTestLabVmScheduleCollection.cs | 30 +- .../Sample_DevTestLabVmScheduleResource.cs | 25 +- ...ample_DigitalTwinsDescriptionCollection.cs | 74 ++--- .../Sample_DigitalTwinsDescriptionResource.cs | 53 ++-- .../Sample_DigitalTwinsEndpointResource.cs | 36 +-- ..._DigitalTwinsEndpointResourceCollection.cs | 64 ++--- ...winsPrivateEndpointConnectionCollection.cs | 30 +- ...lTwinsPrivateEndpointConnectionResource.cs | 18 +- .../Sample_DigitalTwinsPrivateLinkResource.cs | 6 +- ...gitalTwinsPrivateLinkResourceCollection.cs | 25 +- ..._TimeSeriesDatabaseConnectionCollection.cs | 35 +-- ...le_TimeSeriesDatabaseConnectionResource.cs | 21 +- .../Sample_EdgeOrderAddressCollection.cs | 30 +- .../Sample_EdgeOrderAddressResource.cs | 25 +- .../Samples/Sample_EdgeOrderCollection.cs | 18 +- .../Samples/Sample_EdgeOrderItemCollection.cs | 30 +- .../Samples/Sample_EdgeOrderItemResource.cs | 39 ++- .../Samples/Sample_EdgeOrderResource.cs | 6 +- .../Sample_ResourceGroupResourceExtensions.cs | 8 +- .../Sample_SubscriptionResourceExtensions.cs | 29 +- .../Samples/Sample_ExtendedZoneCollection.cs | 25 +- .../Samples/Sample_ExtendedZoneResource.cs | 16 +- .../Samples/Sample_ElasticMonitorResource.cs | 142 ++++----- ...Sample_ElasticMonitorResourceCollection.cs | 30 +- ...MonitoredSubscriptionPropertyCollection.cs | 30 +- ...e_MonitoredSubscriptionPropertyResource.cs | 18 +- .../Sample_MonitoringTagRuleCollection.cs | 30 +- .../Sample_MonitoringTagRuleResource.cs | 18 +- ...mple_OpenAIIntegrationRPModelCollection.cs | 30 +- ...Sample_OpenAIIntegrationRPModelResource.cs | 23 +- .../Sample_SubscriptionResourceExtensions.cs | 18 +- .../Samples/Sample_ElasticSanCollection.cs | 59 ++-- ...cSanPrivateEndpointConnectionCollection.cs | 59 ++-- ...ticSanPrivateEndpointConnectionResource.cs | 35 +-- .../Samples/Sample_ElasticSanResource.cs | 63 ++-- .../Sample_ElasticSanSnapshotCollection.cs | 59 ++-- .../Sample_ElasticSanSnapshotResource.cs | 35 +-- .../Sample_ElasticSanVolumeCollection.cs | 59 ++-- .../Sample_ElasticSanVolumeGroupCollection.cs | 59 ++-- .../Sample_ElasticSanVolumeGroupResource.cs | 35 +-- .../Sample_ElasticSanVolumeResource.cs | 35 +-- .../Sample_SubscriptionResourceExtensions.cs | 15 +- .../Samples/Sample_CaCertificateCollection.cs | 30 +- .../Samples/Sample_CaCertificateResource.cs | 18 +- ...ample_DomainEventSubscriptionCollection.cs | 30 +- .../Sample_DomainEventSubscriptionResource.cs | 30 +- ...ecurityPerimeterConfigurationCollection.cs | 25 +- ...kSecurityPerimeterConfigurationResource.cs | 11 +- .../Samples/Sample_DomainTopicCollection.cs | 30 +- ..._DomainTopicEventSubscriptionCollection.cs | 30 +- ...le_DomainTopicEventSubscriptionResource.cs | 30 +- .../Samples/Sample_DomainTopicResource.cs | 18 +- .../Sample_EventGridDomainCollection.cs | 30 +- ...mainPrivateEndpointConnectionCollection.cs | 30 +- ...DomainPrivateEndpointConnectionResource.cs | 18 +- ...mple_EventGridDomainPrivateLinkResource.cs | 6 +- ...GridDomainPrivateLinkResourceCollection.cs | 25 +- .../Samples/Sample_EventGridDomainResource.cs | 37 ++- ...mple_EventGridNamespaceClientCollection.cs | 30 +- ...EventGridNamespaceClientGroupCollection.cs | 30 +- ...e_EventGridNamespaceClientGroupResource.cs | 18 +- ...Sample_EventGridNamespaceClientResource.cs | 18 +- .../Sample_EventGridNamespaceCollection.cs | 30 +- ...ridNamespacePermissionBindingCollection.cs | 30 +- ...tGridNamespacePermissionBindingResource.cs | 18 +- .../Sample_EventGridNamespaceResource.cs | 40 ++- ...pacePrivateEndpointConnectionCollection.cs | 30 +- ...espacePrivateEndpointConnectionResource.cs | 18 +- .../Sample_EventGridTopicCollection.cs | 35 +-- ...opicPrivateEndpointConnectionCollection.cs | 30 +- ...dTopicPrivateEndpointConnectionResource.cs | 18 +- ...ample_EventGridTopicPrivateLinkResource.cs | 6 +- ...tGridTopicPrivateLinkResourceCollection.cs | 25 +- .../Samples/Sample_EventGridTopicResource.cs | 37 ++- .../Sample_EventSubscriptionCollection.cs | 271 ++++++++---------- .../Sample_EventSubscriptionResource.cs | 166 +++++------ .../Samples/Sample_ExtensionTopicResource.cs | 6 +- .../Sample_NamespaceTopicCollection.cs | 30 +- ...mespaceTopicEventSubscriptionCollection.cs | 30 +- ...NamespaceTopicEventSubscriptionResource.cs | 30 +- .../Samples/Sample_NamespaceTopicResource.cs | 28 +- .../Sample_PartnerConfigurationResource.cs | 40 ++- .../Sample_PartnerDestinationCollection.cs | 30 +- .../Sample_PartnerDestinationResource.cs | 30 +- ...ample_PartnerNamespaceChannelCollection.cs | 30 +- .../Sample_PartnerNamespaceChannelResource.cs | 25 +- .../Sample_PartnerNamespaceCollection.cs | 30 +- ...ple_PartnerNamespacePrivateLinkResource.cs | 6 +- ...rNamespacePrivateLinkResourceCollection.cs | 25 +- .../Sample_PartnerNamespaceResource.cs | 37 ++- .../Sample_PartnerRegistrationCollection.cs | 30 +- .../Sample_PartnerRegistrationResource.cs | 27 +- .../Samples/Sample_PartnerTopicCollection.cs | 30 +- ...PartnerTopicEventSubscriptionCollection.cs | 30 +- ...e_PartnerTopicEventSubscriptionResource.cs | 30 +- .../Samples/Sample_PartnerTopicResource.cs | 35 +-- .../Samples/Sample_SystemTopicCollection.cs | 30 +- ..._SystemTopicEventSubscriptionCollection.cs | 30 +- ...le_SystemTopicEventSubscriptionResource.cs | 30 +- .../Samples/Sample_SystemTopicResource.cs | 25 +- ...Sample_TopicEventSubscriptionCollection.cs | 30 +- .../Sample_TopicEventSubscriptionResource.cs | 30 +- ...ecurityPerimeterConfigurationCollection.cs | 25 +- ...kSecurityPerimeterConfigurationResource.cs | 11 +- .../Samples/Sample_TopicSpaceCollection.cs | 30 +- .../Samples/Sample_TopicSpaceResource.cs | 18 +- .../Samples/Sample_TopicTypeCollection.cs | 25 +- .../Samples/Sample_TopicTypeResource.cs | 13 +- .../Sample_VerifiedPartnerCollection.cs | 25 +- .../Samples/Sample_VerifiedPartnerResource.cs | 6 +- ...ple_EventHubAuthorizationRuleCollection.cs | 30 +- ...ample_EventHubAuthorizationRuleResource.cs | 28 +- .../Samples/Sample_EventHubCollection.cs | 30 +- .../Samples/Sample_EventHubResource.cs | 18 +- ...ple_EventHubsApplicationGroupCollection.cs | 30 +- ...ample_EventHubsApplicationGroupResource.cs | 18 +- .../Sample_EventHubsClusterCollection.cs | 30 +- .../Sample_EventHubsClusterResource.cs | 49 ++-- ...Sample_EventHubsConsumerGroupCollection.cs | 30 +- .../Sample_EventHubsConsumerGroupResource.cs | 18 +- ...sterRecoveryAuthorizationRuleCollection.cs | 25 +- ...sasterRecoveryAuthorizationRuleResource.cs | 11 +- ...ple_EventHubsDisasterRecoveryCollection.cs | 30 +- ...ample_EventHubsDisasterRecoveryResource.cs | 32 +-- ...ubsNamespaceAuthorizationRuleCollection.cs | 30 +- ...tHubsNamespaceAuthorizationRuleResource.cs | 28 +- .../Sample_EventHubsNamespaceCollection.cs | 30 +- .../Sample_EventHubsNamespaceResource.cs | 56 ++-- .../Sample_EventHubsNetworkRuleSetResource.cs | 11 +- ...HubsPrivateEndpointConnectionCollection.cs | 30 +- ...ntHubsPrivateEndpointConnectionResource.cs | 18 +- .../Sample_EventHubsSchemaGroupCollection.cs | 30 +- .../Sample_EventHubsSchemaGroupResource.cs | 18 +- .../Sample_CustomLocationCollection.cs | 30 +- .../Samples/Sample_CustomLocationResource.cs | 32 +-- .../Sample_FabricCapacityCollection.cs | 30 +- .../Samples/Sample_FabricCapacityResource.cs | 58 ++-- .../Sample_AutoUpgradeProfileCollection.cs | 30 +- .../Sample_AutoUpgradeProfileResource.cs | 18 +- .../Sample_ContainerServiceFleetCollection.cs | 30 +- ...e_ContainerServiceFleetMemberCollection.cs | 30 +- ...ple_ContainerServiceFleetMemberResource.cs | 18 +- .../Sample_ContainerServiceFleetResource.cs | 30 +- ...ontainerServiceFleetUpdateRunCollection.cs | 30 +- ..._ContainerServiceFleetUpdateRunResource.cs | 33 +-- .../Sample_FleetUpdateStrategyCollection.cs | 30 +- .../Sample_FleetUpdateStrategyResource.cs | 18 +- .../Sample_FluidRelayContainerCollection.cs | 25 +- .../Sample_FluidRelayContainerResource.cs | 13 +- .../Sample_FluidRelayServerCollection.cs | 40 ++- .../Sample_FluidRelayServerResource.cs | 35 +-- .../Samples/Sample_FrontDoorCollection.cs | 30 +- .../Sample_FrontDoorExperimentCollection.cs | 30 +- .../Sample_FrontDoorExperimentResource.cs | 28 +- ...tDoorNetworkExperimentProfileCollection.cs | 30 +- ...ontDoorNetworkExperimentProfileResource.cs | 32 +-- .../Samples/Sample_FrontDoorResource.cs | 37 ++- .../Sample_FrontDoorRulesEngineCollection.cs | 30 +- .../Sample_FrontDoorRulesEngineResource.cs | 18 +- ...rWebApplicationFirewallPolicyCollection.cs | 30 +- ...oorWebApplicationFirewallPolicyResource.cs | 25 +- .../Sample_FrontendEndpointCollection.cs | 25 +- .../Sample_FrontendEndpointResource.cs | 20 +- .../Sample_SubscriptionResourceExtensions.cs | 13 +- .../Sample_TenantResourceExtensions.cs | 6 +- ...fanaPrivateEndpointConnectionCollection.cs | 30 +- ...rafanaPrivateEndpointConnectionResource.cs | 18 +- .../Sample_GrafanaPrivateLinkResource.cs | 6 +- ...le_GrafanaPrivateLinkResourceCollection.cs | 25 +- .../Sample_ManagedGrafanaCollection.cs | 30 +- .../Samples/Sample_ManagedGrafanaResource.cs | 44 ++- ...e_ManagedPrivateEndpointModelCollection.cs | 30 +- ...ple_ManagedPrivateEndpointModelResource.cs | 18 +- .../Sample_GraphServicesAccountResource.cs | 25 +- ..._GraphServicesAccountResourceCollection.cs | 30 +- ...stConfigurationHcrpAssignmentCollection.cs | 30 +- ...uestConfigurationHcrpAssignmentResource.cs | 30 +- ...rationVMwarevSphereAssignmentCollection.cs | 30 +- ...gurationVMwarevSphereAssignmentResource.cs | 30 +- ...uestConfigurationVmAssignmentCollection.cs | 30 +- ..._GuestConfigurationVmAssignmentResource.cs | 30 +- ...stConfigurationVmssAssignmentCollection.cs | 30 +- ...uestConfigurationVmssAssignmentResource.cs | 28 +- .../Sample_CloudHsmClusterCollection.cs | 30 +- ...sterPrivateEndpointConnectionCollection.cs | 30 +- ...lusterPrivateEndpointConnectionResource.cs | 18 +- .../Samples/Sample_CloudHsmClusterResource.cs | 62 ++-- .../Samples/Sample_DedicatedHsmCollection.cs | 81 +++--- .../Samples/Sample_DedicatedHsmResource.cs | 54 ++-- .../Sample_HDInsightApplicationCollection.cs | 47 ++- .../Sample_HDInsightApplicationResource.cs | 28 +- .../Sample_HDInsightClusterCollection.cs | 107 +++---- .../Sample_HDInsightClusterResource.cs | 263 +++++++---------- ...ightPrivateEndpointConnectionCollection.cs | 30 +- ...nsightPrivateEndpointConnectionResource.cs | 18 +- .../Sample_HDInsightPrivateLinkResource.cs | 6 +- ..._HDInsightPrivateLinkResourceCollection.cs | 25 +- .../Sample_SubscriptionResourceExtensions.cs | 28 +- .../Sample_HDInsightClusterCollection.cs | 45 ++- .../Sample_HDInsightClusterPoolCollection.cs | 40 ++- .../Sample_HDInsightClusterPoolResource.cs | 49 ++-- .../Sample_HDInsightClusterResource.cs | 116 ++++---- .../Sample_SubscriptionResourceExtensions.cs | 20 +- .../Samples/Sample_HealthBotCollection.cs | 30 +- .../Samples/Sample_HealthBotResource.cs | 25 +- .../Samples/Sample_DicomServiceCollection.cs | 30 +- .../Samples/Sample_DicomServiceResource.cs | 18 +- .../Samples/Sample_FhirServiceCollection.cs | 30 +- .../Samples/Sample_FhirServiceResource.cs | 18 +- ...le_HealthcareApisIotConnectorCollection.cs | 30 +- ...mple_HealthcareApisIotConnectorResource.cs | 18 +- ...lthcareApisIotFhirDestinationCollection.cs | 30 +- ...ealthcareApisIotFhirDestinationResource.cs | 18 +- .../Sample_HealthcareApisServiceCollection.cs | 57 ++-- ...vicePrivateEndpointConnectionCollection.cs | 30 +- ...ervicePrivateEndpointConnectionResource.cs | 18 +- ...ealthcareApisServicePrivateLinkResource.cs | 6 +- ...pisServicePrivateLinkResourceCollection.cs | 25 +- .../Sample_HealthcareApisServiceResource.cs | 35 +-- ...ample_HealthcareApisWorkspaceCollection.cs | 30 +- ...pacePrivateEndpointConnectionCollection.cs | 30 +- ...kspacePrivateEndpointConnectionResource.cs | 18 +- ...lthcareApisWorkspacePrivateLinkResource.cs | 6 +- ...sWorkspacePrivateLinkResourceCollection.cs | 25 +- .../Sample_HealthcareApisWorkspaceResource.cs | 25 +- 357 files changed, 4655 insertions(+), 6087 deletions(-) diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_AppAttachPackageCollection.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_AppAttachPackageCollection.cs index 79f4c2a218348..879b8e7963cd7 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_AppAttachPackageCollection.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_AppAttachPackageCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DesktopVirtualization.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_AppAttachPackageCollection { - // AppAttachPackage_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AppAttachPackageGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/AppAttachPackage_Get.json @@ -50,9 +50,8 @@ public async Task Get_AppAttachPackageGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AppAttachPackage_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AppAttachPackageGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/AppAttachPackage_Get.json @@ -80,9 +79,8 @@ public async Task Exists_AppAttachPackageGet() Console.WriteLine($"Succeeded: {result}"); } - // AppAttachPackage_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AppAttachPackageGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/AppAttachPackage_Get.json @@ -110,7 +108,7 @@ public async Task GetIfExists_AppAttachPackageGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_AppAttachPackageGet() } } - // AppAttachPackage_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AppAttachPackageCreate() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/AppAttachPackage_Create.json @@ -203,9 +200,8 @@ public async Task CreateOrUpdate_AppAttachPackageCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AppAttachPackage_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AppAttachPackageListByResourceGroup() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/AppAttachPackage_ListByResourceGroup.json @@ -237,7 +233,7 @@ public async Task GetAll_AppAttachPackageListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_AppAttachPackageResource.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_AppAttachPackageResource.cs index 232a2fa4da20c..3afc0b5498f5e 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_AppAttachPackageResource.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_AppAttachPackageResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DesktopVirtualization.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_AppAttachPackageResource { - // AppAttachPackage_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AppAttachPackageGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/AppAttachPackage_Get.json @@ -47,9 +47,8 @@ public async Task Get_AppAttachPackageGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AppAttachPackage_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AppAttachPackageDelete() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/AppAttachPackage_Delete.json @@ -71,12 +70,11 @@ public async Task Delete_AppAttachPackageDelete() // invoke the operation await appAttachPackage.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AppAttachPackage_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AppAttachPackageUpdate() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/AppAttachPackage_Update.json @@ -106,9 +104,8 @@ public async Task Update_AppAttachPackageUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AppAttachPackage_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAppAttachPackages_AppAttachPackageListBySubscription() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/AppAttachPackage_ListBySubscription.json @@ -136,7 +133,7 @@ public async Task GetAppAttachPackages_AppAttachPackageListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_HostPoolCollection.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_HostPoolCollection.cs index 325646ad84c5f..8e2d5f360e013 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_HostPoolCollection.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_HostPoolCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DesktopVirtualization.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_HostPoolCollection { - // HostPool_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_HostPoolGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/HostPool_Get.json @@ -50,9 +50,8 @@ public async Task Get_HostPoolGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HostPool_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_HostPoolGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/HostPool_Get.json @@ -80,9 +79,8 @@ public async Task Exists_HostPoolGet() Console.WriteLine($"Succeeded: {result}"); } - // HostPool_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_HostPoolGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/HostPool_Get.json @@ -110,7 +108,7 @@ public async Task GetIfExists_HostPoolGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_HostPoolGet() } } - // HostPool_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_HostPoolCreate() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/HostPool_Create.json @@ -199,9 +196,8 @@ public async Task CreateOrUpdate_HostPoolCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HostPool_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_HostPoolListByResourceGroup() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/HostPool_ListByResourceGroup.json @@ -235,7 +231,7 @@ public async Task GetAll_HostPoolListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_HostPoolPrivateEndpointConnectionCollection.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_HostPoolPrivateEndpointConnectionCollection.cs index 9526967aa856f..30070c0bc3651 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_HostPoolPrivateEndpointConnectionCollection.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_HostPoolPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DesktopVirtualization.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_HostPoolPrivateEndpointConnectionCollection { - // PrivateEndpointConnection_ListByHostPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndpointConnectionListByHostPool() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/PrivateEndpointConnection_ListByHostPool.json @@ -49,12 +49,11 @@ public async Task GetAll_PrivateEndpointConnectionListByHostPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateEndpointConnection_GetByHostPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionGetByHostPool() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/PrivateEndpointConnection_GetByHostPool.json @@ -87,9 +86,8 @@ public async Task Get_PrivateEndpointConnectionGetByHostPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnection_GetByHostPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateEndpointConnectionGetByHostPool() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/PrivateEndpointConnection_GetByHostPool.json @@ -118,9 +116,8 @@ public async Task Exists_PrivateEndpointConnectionGetByHostPool() Console.WriteLine($"Succeeded: {result}"); } - // PrivateEndpointConnection_GetByHostPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateEndpointConnectionGetByHostPool() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/PrivateEndpointConnection_GetByHostPool.json @@ -149,7 +146,7 @@ public async Task GetIfExists_PrivateEndpointConnectionGetByHostPool() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_PrivateEndpointConnectionGetByHostPool() } } - // PrivateEndpointConnection_UpdateByHostPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateEndpointConnectionUpdateByHostPool() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/PrivateEndpointConnection_UpdateByHostPool.json diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_HostPoolPrivateEndpointConnectionResource.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_HostPoolPrivateEndpointConnectionResource.cs index 35a5e18c837f9..c6ea7ff317a2d 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_HostPoolPrivateEndpointConnectionResource.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_HostPoolPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DesktopVirtualization.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_HostPoolPrivateEndpointConnectionResource { - // PrivateEndpointConnection_GetByHostPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionGetByHostPool() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/PrivateEndpointConnection_GetByHostPool.json @@ -47,9 +47,8 @@ public async Task Get_PrivateEndpointConnectionGetByHostPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnection_DeleteByHostPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateEndpointConnectionDeleteByHostPool() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/PrivateEndpointConnection_DeleteByHostPool.json @@ -72,12 +71,11 @@ public async Task Delete_PrivateEndpointConnectionDeleteByHostPool() // invoke the operation await hostPoolPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateEndpointConnection_UpdateByHostPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateEndpointConnectionUpdateByHostPool() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/PrivateEndpointConnection_UpdateByHostPool.json diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_HostPoolResource.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_HostPoolResource.cs index d6cc46b67ed5f..34c165e74d53a 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_HostPoolResource.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_HostPoolResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DesktopVirtualization.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_HostPoolResource { - // PrivateLinkResources_ListByHostPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinkResources_PrivateLinkResourcesListByHostPool() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/PrivateLinkResources_ListByHostPool.json @@ -43,12 +43,11 @@ public async Task GetPrivateLinkResources_PrivateLinkResourcesListByHostPool() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ScalingPlan_ListByHostPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetScalingPlans_ScalingPlanListByHostPool() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlan_ListByHostPool.json @@ -80,12 +79,11 @@ public async Task GetScalingPlans_ScalingPlanListByHostPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // HostPool_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_HostPoolGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/HostPool_Get.json @@ -114,9 +112,8 @@ public async Task Get_HostPoolGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HostPool_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_HostPoolDelete() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/HostPool_Delete.json @@ -139,12 +136,11 @@ public async Task Delete_HostPoolDelete() bool? force = true; await hostPool.DeleteAsync(WaitUntil.Completed, force: force); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // HostPool_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_HostPoolUpdate() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/HostPool_Update.json @@ -216,9 +212,8 @@ public async Task Update_HostPoolUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HostPool_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetHostPools_HostPoolList() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/HostPool_List.json @@ -248,12 +243,11 @@ public async Task GetHostPools_HostPoolList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // HostPools_RetrieveRegistrationToken_Post - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RetrieveRegistrationToken_HostPoolsRetrieveRegistrationTokenPost() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/HostPools_RetrieveRegistrationToken_Post.json @@ -278,9 +272,8 @@ public async Task RetrieveRegistrationToken_HostPoolsRetrieveRegistrationTokenPo Console.WriteLine($"Succeeded: {result}"); } - // UserSession_ListByHostPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUserSessions_UserSessionListByHostPool() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/UserSession_ListByHostPool.json @@ -313,12 +306,11 @@ public async Task GetUserSessions_UserSessionListByHostPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AppAttachPackageInfo_Import - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ImportAppAttachPackageInfos_AppAttachPackageInfoImport() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/AppAttachPackageInfo_Import_Post.json @@ -352,12 +344,11 @@ public async Task ImportAppAttachPackageInfos_AppAttachPackageInfoImport() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // MsixImage_Expand - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExpandMsixImages_MsixImageExpand() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/MsixImage_Expand_Post.json @@ -386,7 +377,7 @@ public async Task ExpandMsixImages_MsixImageExpand() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_MsixPackageCollection.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_MsixPackageCollection.cs index d06d19cba0128..a1a8819443d89 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_MsixPackageCollection.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_MsixPackageCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DesktopVirtualization.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_MsixPackageCollection { - // MSIXPackage_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MSIXPackageGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/MsixPackage_Get.json @@ -50,9 +50,8 @@ public async Task Get_MSIXPackageGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MSIXPackage_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_MSIXPackageGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/MsixPackage_Get.json @@ -81,9 +80,8 @@ public async Task Exists_MSIXPackageGet() Console.WriteLine($"Succeeded: {result}"); } - // MSIXPackage_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_MSIXPackageGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/MsixPackage_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_MSIXPackageGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_MSIXPackageGet() } } - // MSIXPackage_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_MSIXPackageCreate() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/MsixPackage_Create.json @@ -194,9 +191,8 @@ public async Task CreateOrUpdate_MSIXPackageCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MSIXPackage_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_MSIXPackageList() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/MsixPackage_List.json @@ -231,7 +227,7 @@ public async Task GetAll_MSIXPackageList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_MsixPackageResource.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_MsixPackageResource.cs index 99c796e941b86..19f6d43561a6b 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_MsixPackageResource.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_MsixPackageResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DesktopVirtualization.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_MsixPackageResource { - // MSIXPackage_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MSIXPackageGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/MsixPackage_Get.json @@ -47,9 +47,8 @@ public async Task Get_MSIXPackageGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MSIXPackage_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_MSIXPackageDelete() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/MsixPackage_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_MSIXPackageDelete() // invoke the operation await msixPackage.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // MSIXPackage_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_MSIXPackageUpdate() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/MsixPackage_Update.json diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_ScalingPlanCollection.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_ScalingPlanCollection.cs index 43711a4b076b4..caf5046993cba 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_ScalingPlanCollection.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_ScalingPlanCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DesktopVirtualization.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_ScalingPlanCollection { - // ScalingPlans_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ScalingPlansGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlan_Get.json @@ -50,9 +50,8 @@ public async Task Get_ScalingPlansGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScalingPlans_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ScalingPlansGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlan_Get.json @@ -80,9 +79,8 @@ public async Task Exists_ScalingPlansGet() Console.WriteLine($"Succeeded: {result}"); } - // ScalingPlans_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ScalingPlansGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlan_Get.json @@ -110,7 +108,7 @@ public async Task GetIfExists_ScalingPlansGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_ScalingPlansGet() } } - // ScalingPlans_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ScalingPlansCreate() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlan_Create.json @@ -203,9 +200,8 @@ public async Task CreateOrUpdate_ScalingPlansCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScalingPlans_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ScalingPlansListByResourceGroup() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlan_ListByResourceGroup.json @@ -239,7 +235,7 @@ public async Task GetAll_ScalingPlansListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_ScalingPlanPersonalScheduleCollection.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_ScalingPlanPersonalScheduleCollection.cs index 3542c7d825804..c3047a1a49cdc 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_ScalingPlanPersonalScheduleCollection.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_ScalingPlanPersonalScheduleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DesktopVirtualization.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_ScalingPlanPersonalScheduleCollection { - // ScalingPlanPersonalSchedules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ScalingPlanPersonalSchedulesGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlanPersonalSchedule_Get.json @@ -50,9 +50,8 @@ public async Task Get_ScalingPlanPersonalSchedulesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScalingPlanPersonalSchedules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ScalingPlanPersonalSchedulesGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlanPersonalSchedule_Get.json @@ -81,9 +80,8 @@ public async Task Exists_ScalingPlanPersonalSchedulesGet() Console.WriteLine($"Succeeded: {result}"); } - // ScalingPlanPersonalSchedules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ScalingPlanPersonalSchedulesGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlanPersonalSchedule_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_ScalingPlanPersonalSchedulesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_ScalingPlanPersonalSchedulesGet() } } - // ScalingPlanPersonalSchedules_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ScalingPlanPersonalSchedulesCreate() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlanPersonalSchedule_Create.json @@ -192,9 +189,8 @@ public async Task CreateOrUpdate_ScalingPlanPersonalSchedulesCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScalingPlanPersonalSchedules_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ScalingPlanPersonalSchedulesList() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlanPersonalSchedule_List.json @@ -229,7 +225,7 @@ public async Task GetAll_ScalingPlanPersonalSchedulesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_ScalingPlanPersonalScheduleResource.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_ScalingPlanPersonalScheduleResource.cs index 730781580278b..672e66c536393 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_ScalingPlanPersonalScheduleResource.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_ScalingPlanPersonalScheduleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DesktopVirtualization.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_ScalingPlanPersonalScheduleResource { - // ScalingPlanPersonalSchedules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ScalingPlanPersonalSchedulesGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlanPersonalSchedule_Get.json @@ -47,9 +47,8 @@ public async Task Get_ScalingPlanPersonalSchedulesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScalingPlanPersonalSchedules_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ScalingPlanPersonalSchedulesDelete() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlanPersonalSchedule_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_ScalingPlanPersonalSchedulesDelete() // invoke the operation await scalingPlanPersonalSchedule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ScalingPlanPersonalSchedules_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ScalingPlanPersonalSchedulesUpdate() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlanPersonalSchedule_Update.json diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_ScalingPlanPooledScheduleCollection.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_ScalingPlanPooledScheduleCollection.cs index f891e3a40f2e9..5b84cd19aece4 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_ScalingPlanPooledScheduleCollection.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_ScalingPlanPooledScheduleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DesktopVirtualization.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_ScalingPlanPooledScheduleCollection { - // ScalingPlanPooledSchedules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ScalingPlanPooledSchedulesGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlanPooledSchedule_Get.json @@ -50,9 +50,8 @@ public async Task Get_ScalingPlanPooledSchedulesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScalingPlanPooledSchedules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ScalingPlanPooledSchedulesGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlanPooledSchedule_Get.json @@ -81,9 +80,8 @@ public async Task Exists_ScalingPlanPooledSchedulesGet() Console.WriteLine($"Succeeded: {result}"); } - // ScalingPlanPooledSchedules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ScalingPlanPooledSchedulesGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlanPooledSchedule_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_ScalingPlanPooledSchedulesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_ScalingPlanPooledSchedulesGet() } } - // ScalingPlanPooledSchedules_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ScalingPlanPooledSchedulesCreate() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlanPooledSchedule_Create.json @@ -182,9 +179,8 @@ public async Task CreateOrUpdate_ScalingPlanPooledSchedulesCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScalingPlanPooledSchedules_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ScalingPlanPooledSchedulesList() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlanPooledSchedule_List.json @@ -219,7 +215,7 @@ public async Task GetAll_ScalingPlanPooledSchedulesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_ScalingPlanPooledScheduleResource.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_ScalingPlanPooledScheduleResource.cs index ba8dc1bb6437f..05357762754dc 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_ScalingPlanPooledScheduleResource.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_ScalingPlanPooledScheduleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DesktopVirtualization.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_ScalingPlanPooledScheduleResource { - // ScalingPlanPooledSchedules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ScalingPlanPooledSchedulesGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlanPooledSchedule_Get.json @@ -47,9 +47,8 @@ public async Task Get_ScalingPlanPooledSchedulesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScalingPlanPooledSchedules_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ScalingPlanPooledSchedulesDelete() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlanPooledSchedule_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_ScalingPlanPooledSchedulesDelete() // invoke the operation await scalingPlanPooledSchedule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ScalingPlanPooledSchedules_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ScalingPlanPooledSchedulesUpdate() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlanPooledSchedule_Update.json diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_ScalingPlanResource.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_ScalingPlanResource.cs index b802d3b3074f7..ce4b073773c7b 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_ScalingPlanResource.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_ScalingPlanResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DesktopVirtualization.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_ScalingPlanResource { - // ScalingPlans_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ScalingPlansGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlan_Get.json @@ -47,9 +47,8 @@ public async Task Get_ScalingPlansGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScalingPlans_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ScalingPlansDelete() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlan_Delete.json @@ -71,12 +70,11 @@ public async Task Delete_ScalingPlansDelete() // invoke the operation await scalingPlan.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ScalingPlans_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ScalingPlansUpdate() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlan_Update.json @@ -106,9 +104,8 @@ public async Task Update_ScalingPlansUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScalingPlans_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetScalingPlans_ScalingPlansListBySubscription() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ScalingPlan_ListBySubscription.json @@ -138,7 +135,7 @@ public async Task GetScalingPlans_ScalingPlansListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_SessionHostCollection.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_SessionHostCollection.cs index fdc1a2ee26195..af3bd3a235902 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_SessionHostCollection.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_SessionHostCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_SessionHostCollection { - // SessionHost_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SessionHostGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/SessionHost_Get.json @@ -49,9 +49,8 @@ public async Task Get_SessionHostGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SessionHost_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SessionHostGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/SessionHost_Get.json @@ -80,9 +79,8 @@ public async Task Exists_SessionHostGet() Console.WriteLine($"Succeeded: {result}"); } - // SessionHost_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SessionHostGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/SessionHost_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_SessionHostGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_SessionHostGet() } } - // SessionHost_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SessionHostList() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/SessionHost_List.json @@ -160,7 +157,7 @@ public async Task GetAll_SessionHostList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_SessionHostResource.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_SessionHostResource.cs index 87069426e7889..29783579e0eea 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_SessionHostResource.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_SessionHostResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DesktopVirtualization.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_SessionHostResource { - // SessionHost_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SessionHostGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/SessionHost_Get.json @@ -47,9 +47,8 @@ public async Task Get_SessionHostGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SessionHost_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SessionHostDelete() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/SessionHost_Delete.json @@ -73,12 +72,11 @@ public async Task Delete_SessionHostDelete() bool? force = true; await sessionHost.DeleteAsync(WaitUntil.Completed, force: force); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SessionHost_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SessionHostUpdate() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/SessionHost_Update.json diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_UserSessionCollection.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_UserSessionCollection.cs index 4eb163a350d66..6064717ab3a16 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_UserSessionCollection.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_UserSessionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_UserSessionCollection { - // UserSession_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_UserSessionGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/UserSession_Get.json @@ -50,9 +50,8 @@ public async Task Get_UserSessionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UserSession_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_UserSessionGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/UserSession_Get.json @@ -82,9 +81,8 @@ public async Task Exists_UserSessionGet() Console.WriteLine($"Succeeded: {result}"); } - // UserSession_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_UserSessionGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/UserSession_Get.json @@ -114,7 +112,7 @@ public async Task GetIfExists_UserSessionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -126,9 +124,8 @@ public async Task GetIfExists_UserSessionGet() } } - // UserSession_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_UserSessionList() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/UserSession_List.json @@ -164,7 +161,7 @@ public async Task GetAll_UserSessionList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_UserSessionResource.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_UserSessionResource.cs index 57d7d48492273..d0d71c119e0de 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_UserSessionResource.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_UserSessionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DesktopVirtualization.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_UserSessionResource { - // UserSession_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_UserSessionGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/UserSession_Get.json @@ -48,9 +48,8 @@ public async Task Get_UserSessionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UserSession_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_UserSessionDelete() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/UserSession_Delete.json @@ -75,12 +74,11 @@ public async Task Delete_UserSessionDelete() bool? force = true; await userSession.DeleteAsync(WaitUntil.Completed, force: force); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // UserSession_Disconnect_Post - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Disconnect_UserSessionDisconnectPost() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/UserSession_Disconnect_Post.json @@ -104,12 +102,11 @@ public async Task Disconnect_UserSessionDisconnectPost() // invoke the operation await userSession.DisconnectAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // UserSession_SendMessage_Post - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SendMessage_UserSessionSendMessagePost() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/UserSession_SendMessage_Post.json @@ -138,7 +135,7 @@ public async Task SendMessage_UserSessionSendMessagePost() }; await userSession.SendMessageAsync(sendMessage: sendMessage); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualApplicationCollection.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualApplicationCollection.cs index bd13d3d660cb1..0311ec4938b65 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualApplicationCollection.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualApplicationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DesktopVirtualization.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_VirtualApplicationCollection { - // Application_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApplicationGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/Application_Get.json @@ -50,9 +50,8 @@ public async Task Get_ApplicationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Application_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApplicationGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/Application_Get.json @@ -81,9 +80,8 @@ public async Task Exists_ApplicationGet() Console.WriteLine($"Succeeded: {result}"); } - // Application_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApplicationGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/Application_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_ApplicationGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_ApplicationGet() } } - // Application_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApplicationCreate() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/Application_Create.json @@ -170,9 +167,8 @@ public async Task CreateOrUpdate_ApplicationCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Applications_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApplicationsList() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/Application_List.json @@ -207,7 +203,7 @@ public async Task GetAll_ApplicationsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualApplicationGroupCollection.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualApplicationGroupCollection.cs index b77c998352ece..feac197f0f9b4 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualApplicationGroupCollection.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualApplicationGroupCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DesktopVirtualization.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_VirtualApplicationGroupCollection { - // ApplicationGroup_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApplicationGroupGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ApplicationGroup_Get.json @@ -50,9 +50,8 @@ public async Task Get_ApplicationGroupGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApplicationGroup_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApplicationGroupGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ApplicationGroup_Get.json @@ -80,9 +79,8 @@ public async Task Exists_ApplicationGroupGet() Console.WriteLine($"Succeeded: {result}"); } - // ApplicationGroup_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApplicationGroupGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ApplicationGroup_Get.json @@ -110,7 +108,7 @@ public async Task GetIfExists_ApplicationGroupGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_ApplicationGroupGet() } } - // ApplicationGroup_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApplicationGroupCreate() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ApplicationGroup_Create.json @@ -168,9 +165,8 @@ public async Task CreateOrUpdate_ApplicationGroupCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApplicationGroup_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApplicationGroupListByResourceGroup() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ApplicationGroup_ListByResourceGroup.json @@ -205,7 +201,7 @@ public async Task GetAll_ApplicationGroupListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualApplicationGroupResource.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualApplicationGroupResource.cs index 44e165921a8e7..23e7e07158278 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualApplicationGroupResource.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualApplicationGroupResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DesktopVirtualization.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_VirtualApplicationGroupResource { - // ApplicationGroup_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApplicationGroupGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ApplicationGroup_Get.json @@ -47,9 +47,8 @@ public async Task Get_ApplicationGroupGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApplicationGroup_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApplicationGroupDelete() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ApplicationGroup_Delete.json @@ -71,12 +70,11 @@ public async Task Delete_ApplicationGroupDelete() // invoke the operation await virtualApplicationGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApplicationGroups_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApplicationGroupsUpdate() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ApplicationGroup_Update.json @@ -116,9 +114,8 @@ public async Task Update_ApplicationGroupsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApplicationGroup_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualApplicationGroups_ApplicationGroupList() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/ApplicationGroup_ListBySubscription.json @@ -146,12 +143,11 @@ public async Task GetVirtualApplicationGroups_ApplicationGroupList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StartMenuItem_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStartMenuItems_StartMenuItemList() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/StartMenuItem_List.json @@ -176,7 +172,7 @@ public async Task GetStartMenuItems_StartMenuItemList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualApplicationResource.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualApplicationResource.cs index a3f0316893fe3..579dc6dcb5ff2 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualApplicationResource.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualApplicationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DesktopVirtualization.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_VirtualApplicationResource { - // Application_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApplicationGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/Application_Get.json @@ -47,9 +47,8 @@ public async Task Get_ApplicationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Application_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApplicationDelete() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/Application_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_ApplicationDelete() // invoke the operation await virtualApplication.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Application_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApplicationUpdate() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/Application_Update.json diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualDesktopCollection.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualDesktopCollection.cs index 01cf8c2339d11..c2c95eaeccf35 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualDesktopCollection.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualDesktopCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_VirtualDesktopCollection { - // Desktop_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DesktopGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/Desktop_Get.json @@ -49,9 +49,8 @@ public async Task Get_DesktopGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Desktop_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DesktopGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/Desktop_Get.json @@ -80,9 +79,8 @@ public async Task Exists_DesktopGet() Console.WriteLine($"Succeeded: {result}"); } - // Desktop_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DesktopGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/Desktop_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_DesktopGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_DesktopGet() } } - // Desktop_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DesktopList() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/Desktop_List.json @@ -160,7 +157,7 @@ public async Task GetAll_DesktopList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualDesktopResource.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualDesktopResource.cs index d3947064612a2..fd8c0336d1c26 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualDesktopResource.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualDesktopResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DesktopVirtualization.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_VirtualDesktopResource { - // Desktop_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DesktopGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/Desktop_Get.json @@ -47,9 +47,8 @@ public async Task Get_DesktopGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Desktop_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DesktopUpdate() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/Desktop_Update.json diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualWorkspaceCollection.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualWorkspaceCollection.cs index 2c4b62869a8f1..25e2a2dd11f1e 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualWorkspaceCollection.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualWorkspaceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_VirtualWorkspaceCollection { - // Workspace_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkspaceGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/Workspace_Get.json @@ -49,9 +49,8 @@ public async Task Get_WorkspaceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Workspace_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WorkspaceGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/Workspace_Get.json @@ -79,9 +78,8 @@ public async Task Exists_WorkspaceGet() Console.WriteLine($"Succeeded: {result}"); } - // Workspace_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WorkspaceGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/Workspace_Get.json @@ -109,7 +107,7 @@ public async Task GetIfExists_WorkspaceGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_WorkspaceGet() } } - // Workspace_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_WorkspaceCreate() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/Workspace_Create.json @@ -166,9 +163,8 @@ public async Task CreateOrUpdate_WorkspaceCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Workspace_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WorkspaceListByResourceGroup() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/Workspace_ListByResourceGroup.json @@ -202,7 +198,7 @@ public async Task GetAll_WorkspaceListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualWorkspaceResource.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualWorkspaceResource.cs index 4219a86100974..0ef5c7fc5234f 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualWorkspaceResource.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_VirtualWorkspaceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DesktopVirtualization.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_VirtualWorkspaceResource { - // Workspace_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkspaceGet() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/Workspace_Get.json @@ -47,9 +47,8 @@ public async Task Get_WorkspaceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Workspace_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_WorkspaceDelete() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/Workspace_Delete.json @@ -71,12 +70,11 @@ public async Task Delete_WorkspaceDelete() // invoke the operation await virtualWorkspace.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Workspace_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_WorkspaceUpdate() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/Workspace_Update.json @@ -115,9 +113,8 @@ public async Task Update_WorkspaceUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Workspace_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualWorkspaces_WorkspaceListBySubscription() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/Workspace_ListBySubscription.json @@ -144,12 +141,11 @@ public async Task GetVirtualWorkspaces_WorkspaceListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateLinkResources_ListByWorkspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinkResources_PrivateLinkResourcesListByWorkspace() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/PrivateLinkResources_ListByWorkspace.json @@ -174,7 +170,7 @@ public async Task GetPrivateLinkResources_PrivateLinkResourcesListByWorkspace() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_WorkspacePrivateEndpointConnectionCollection.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_WorkspacePrivateEndpointConnectionCollection.cs index 50b7cec0eee7c..644d643709497 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_WorkspacePrivateEndpointConnectionCollection.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_WorkspacePrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DesktopVirtualization.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_WorkspacePrivateEndpointConnectionCollection { - // PrivateEndpointConnection_ListByWorkspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndpointConnectionListByWorkspace() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/PrivateEndpointConnection_ListByWorkspace.json @@ -49,12 +49,11 @@ public async Task GetAll_PrivateEndpointConnectionListByWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateEndpointConnection_GetByWorkspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionGetByWorkspace() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/PrivateEndpointConnection_GetByWorkspace.json @@ -87,9 +86,8 @@ public async Task Get_PrivateEndpointConnectionGetByWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnection_GetByWorkspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateEndpointConnectionGetByWorkspace() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/PrivateEndpointConnection_GetByWorkspace.json @@ -118,9 +116,8 @@ public async Task Exists_PrivateEndpointConnectionGetByWorkspace() Console.WriteLine($"Succeeded: {result}"); } - // PrivateEndpointConnection_GetByWorkspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateEndpointConnectionGetByWorkspace() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/PrivateEndpointConnection_GetByWorkspace.json @@ -149,7 +146,7 @@ public async Task GetIfExists_PrivateEndpointConnectionGetByWorkspace() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_PrivateEndpointConnectionGetByWorkspace() } } - // PrivateEndpointConnection_UpdateByWorkspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateEndpointConnectionUpdateByWorkspace() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/PrivateEndpointConnection_UpdateByWorkspace.json diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_WorkspacePrivateEndpointConnectionResource.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_WorkspacePrivateEndpointConnectionResource.cs index 75455c55becdd..a211bce99f204 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_WorkspacePrivateEndpointConnectionResource.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_WorkspacePrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DesktopVirtualization.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DesktopVirtualization.Samples { public partial class Sample_WorkspacePrivateEndpointConnectionResource { - // PrivateEndpointConnection_GetByWorkspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionGetByWorkspace() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/PrivateEndpointConnection_GetByWorkspace.json @@ -47,9 +47,8 @@ public async Task Get_PrivateEndpointConnectionGetByWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnection_DeleteByWorkspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateEndpointConnectionDeleteByWorkspace() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/PrivateEndpointConnection_DeleteByWorkspace.json @@ -72,12 +71,11 @@ public async Task Delete_PrivateEndpointConnectionDeleteByWorkspace() // invoke the operation await workspacePrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateEndpointConnection_UpdateByWorkspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateEndpointConnectionUpdateByWorkspace() { // Generated from example definition: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/examples/PrivateEndpointConnection_UpdateByWorkspace.json diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_AllowedEnvironmentTypeCollection.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_AllowedEnvironmentTypeCollection.cs index 3c9c9c377620c..fcfd26fffa3e5 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_AllowedEnvironmentTypeCollection.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_AllowedEnvironmentTypeCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_AllowedEnvironmentTypeCollection { - // ProjectAllowedEnvironmentTypes_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ProjectAllowedEnvironmentTypesList() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/ProjectAllowedEnvironmentTypes_List.json @@ -48,12 +48,11 @@ public async Task GetAll_ProjectAllowedEnvironmentTypesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ProjectAllowedEnvironmentTypes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProjectAllowedEnvironmentTypesGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/ProjectAllowedEnvironmentTypes_Get.json @@ -86,9 +85,8 @@ public async Task Get_ProjectAllowedEnvironmentTypesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ProjectAllowedEnvironmentTypes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ProjectAllowedEnvironmentTypesGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/ProjectAllowedEnvironmentTypes_Get.json @@ -117,9 +115,8 @@ public async Task Exists_ProjectAllowedEnvironmentTypesGet() Console.WriteLine($"Succeeded: {result}"); } - // ProjectAllowedEnvironmentTypes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ProjectAllowedEnvironmentTypesGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/ProjectAllowedEnvironmentTypes_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_ProjectAllowedEnvironmentTypesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_AllowedEnvironmentTypeResource.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_AllowedEnvironmentTypeResource.cs index e5a1e51b094e0..e6326c54bd948 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_AllowedEnvironmentTypeResource.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_AllowedEnvironmentTypeResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_AllowedEnvironmentTypeResource { - // ProjectAllowedEnvironmentTypes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProjectAllowedEnvironmentTypesGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/ProjectAllowedEnvironmentTypes_Get.json diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_AttachedNetworkConnectionCollection.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_AttachedNetworkConnectionCollection.cs index 55226586865bb..4e71e0ce37a5a 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_AttachedNetworkConnectionCollection.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_AttachedNetworkConnectionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_AttachedNetworkConnectionCollection { - // AttachedNetworks_ListByDevCenter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AttachedNetworksListByDevCenter() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/AttachedNetworks_ListByDevCenter.json @@ -48,12 +48,11 @@ public async Task GetAll_AttachedNetworksListByDevCenter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AttachedNetworks_GetByDevCenter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AttachedNetworksGetByDevCenter() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/AttachedNetworks_GetByDevCenter.json @@ -86,9 +85,8 @@ public async Task Get_AttachedNetworksGetByDevCenter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AttachedNetworks_GetByDevCenter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AttachedNetworksGetByDevCenter() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/AttachedNetworks_GetByDevCenter.json @@ -117,9 +115,8 @@ public async Task Exists_AttachedNetworksGetByDevCenter() Console.WriteLine($"Succeeded: {result}"); } - // AttachedNetworks_GetByDevCenter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AttachedNetworksGetByDevCenter() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/AttachedNetworks_GetByDevCenter.json @@ -148,7 +145,7 @@ public async Task GetIfExists_AttachedNetworksGetByDevCenter() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_AttachedNetworksGetByDevCenter() } } - // AttachedNetworks_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AttachedNetworksCreate() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/AttachedNetworks_Create.json diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_AttachedNetworkConnectionResource.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_AttachedNetworkConnectionResource.cs index 8c0f2330eccd8..e9c0b704c2fdd 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_AttachedNetworkConnectionResource.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_AttachedNetworkConnectionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_AttachedNetworkConnectionResource { - // AttachedNetworks_GetByDevCenter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AttachedNetworksGetByDevCenter() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/AttachedNetworks_GetByDevCenter.json @@ -46,9 +46,8 @@ public async Task Get_AttachedNetworksGetByDevCenter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AttachedNetworks_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AttachedNetworksCreate() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/AttachedNetworks_Create.json @@ -83,9 +82,8 @@ public async Task Update_AttachedNetworksCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AttachedNetworks_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AttachedNetworksDelete() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/AttachedNetworks_Delete.json @@ -108,7 +106,7 @@ public async Task Delete_AttachedNetworksDelete() // invoke the operation await attachedNetworkConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevBoxDefinitionCollection.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevBoxDefinitionCollection.cs index 0f2f7228c14cd..875482098d3c6 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevBoxDefinitionCollection.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevBoxDefinitionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_DevBoxDefinitionCollection { - // DevBoxDefinitions_ListByDevCenter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DevBoxDefinitionsListByDevCenter() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxDefinitions_ListByDevCenter.json @@ -49,12 +49,11 @@ public async Task GetAll_DevBoxDefinitionsListByDevCenter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DevBoxDefinitions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DevBoxDefinitionsGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxDefinitions_Get.json @@ -87,9 +86,8 @@ public async Task Get_DevBoxDefinitionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DevBoxDefinitions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DevBoxDefinitionsGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxDefinitions_Get.json @@ -118,9 +116,8 @@ public async Task Exists_DevBoxDefinitionsGet() Console.WriteLine($"Succeeded: {result}"); } - // DevBoxDefinitions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DevBoxDefinitionsGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxDefinitions_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_DevBoxDefinitionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_DevBoxDefinitionsGet() } } - // DevBoxDefinitions_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DevBoxDefinitionsCreate() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxDefinitions_Create.json diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevBoxDefinitionResource.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevBoxDefinitionResource.cs index a66999d8d6821..de3c694e0552b 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevBoxDefinitionResource.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevBoxDefinitionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_DevBoxDefinitionResource { - // DevBoxDefinitions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DevBoxDefinitionsGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxDefinitions_Get.json @@ -47,9 +47,8 @@ public async Task Get_DevBoxDefinitionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DevBoxDefinitions_Patch - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DevBoxDefinitionsPatch() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxDefinitions_Patch.json @@ -87,9 +86,8 @@ public async Task Update_DevBoxDefinitionsPatch() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DevBoxDefinitions_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DevBoxDefinitionsDelete() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxDefinitions_Delete.json @@ -112,7 +110,7 @@ public async Task Delete_DevBoxDefinitionsDelete() // invoke the operation await devBoxDefinition.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterCatalogCollection.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterCatalogCollection.cs index 981b3aa08b951..ef977b36fae35 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterCatalogCollection.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterCatalogCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_DevCenterCatalogCollection { - // Catalogs_ListByDevCenter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CatalogsListByDevCenter() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Catalogs_List.json @@ -49,12 +49,11 @@ public async Task GetAll_CatalogsListByDevCenter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Catalogs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CatalogsGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Catalogs_Get.json @@ -87,9 +86,8 @@ public async Task Get_CatalogsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Catalogs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CatalogsGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Catalogs_Get.json @@ -118,9 +116,8 @@ public async Task Exists_CatalogsGet() Console.WriteLine($"Succeeded: {result}"); } - // Catalogs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CatalogsGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Catalogs_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_CatalogsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_CatalogsGet() } } - // Catalogs_CreateOrUpdateAdo - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CatalogsCreateOrUpdateAdo() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Catalogs_CreateAdo.json @@ -207,9 +203,8 @@ public async Task CreateOrUpdate_CatalogsCreateOrUpdateAdo() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Catalogs_CreateOrUpdateGitHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CatalogsCreateOrUpdateGitHub() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Catalogs_CreateGitHub.json diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterCatalogResource.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterCatalogResource.cs index 198b3b0ac997e..90abbded511e2 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterCatalogResource.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterCatalogResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_DevCenterCatalogResource { - // Catalogs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CatalogsGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Catalogs_Get.json @@ -47,9 +47,8 @@ public async Task Get_CatalogsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Catalogs_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CatalogsUpdate() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Catalogs_Patch.json @@ -87,9 +86,8 @@ public async Task Update_CatalogsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Catalogs_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CatalogsDelete() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Catalogs_Delete.json @@ -112,12 +110,11 @@ public async Task Delete_CatalogsDelete() // invoke the operation await devCenterCatalog.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Catalogs_Sync - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Sync_CatalogsSync() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Catalogs_Sync.json @@ -140,7 +137,7 @@ public async Task Sync_CatalogsSync() // invoke the operation await devCenterCatalog.SyncAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterCollection.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterCollection.cs index c690907101504..12db7e7edaa68 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterCollection.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_DevCenterCollection { - // DevCenters_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DevCentersListByResourceGroup() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenters_ListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_DevCentersListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DevCenters_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DevCentersGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenters_Get.json @@ -86,9 +85,8 @@ public async Task Get_DevCentersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DevCenters_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DevCentersGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenters_Get.json @@ -116,9 +114,8 @@ public async Task Exists_DevCentersGet() Console.WriteLine($"Succeeded: {result}"); } - // DevCenters_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DevCentersGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenters_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_DevCentersGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_DevCentersGet() } } - // DevCenters_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DevCentersCreate() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenters_Create.json @@ -200,9 +196,8 @@ public async Task CreateOrUpdate_DevCentersCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DevCenters_CreateWithUserIdentity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DevCentersCreateWithUserIdentity() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenters_CreateWithUserIdentity.json diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterEnvironmentTypeCollection.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterEnvironmentTypeCollection.cs index 64cac5f02ae2d..711bb9913fe7b 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterEnvironmentTypeCollection.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterEnvironmentTypeCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_DevCenterEnvironmentTypeCollection { - // EnvironmentTypes_ListByDevCenter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_EnvironmentTypesListByDevCenter() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentTypes_List.json @@ -48,12 +48,11 @@ public async Task GetAll_EnvironmentTypesListByDevCenter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // EnvironmentTypes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EnvironmentTypesGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentTypes_Get.json @@ -86,9 +85,8 @@ public async Task Get_EnvironmentTypesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EnvironmentTypes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EnvironmentTypesGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentTypes_Get.json @@ -117,9 +115,8 @@ public async Task Exists_EnvironmentTypesGet() Console.WriteLine($"Succeeded: {result}"); } - // EnvironmentTypes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EnvironmentTypesGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentTypes_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_EnvironmentTypesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_EnvironmentTypesGet() } } - // EnvironmentTypes_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EnvironmentTypesCreateOrUpdate() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentTypes_Put.json diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterEnvironmentTypeResource.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterEnvironmentTypeResource.cs index 0e4a693e16b41..c001656eba2aa 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterEnvironmentTypeResource.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterEnvironmentTypeResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_DevCenterEnvironmentTypeResource { - // EnvironmentTypes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EnvironmentTypesGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentTypes_Get.json @@ -47,9 +47,8 @@ public async Task Get_EnvironmentTypesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EnvironmentTypes_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_EnvironmentTypesUpdate() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentTypes_Patch.json @@ -86,9 +85,8 @@ public async Task Update_EnvironmentTypesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EnvironmentTypes_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_EnvironmentTypesDelete() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/EnvironmentTypes_Delete.json @@ -111,7 +109,7 @@ public async Task Delete_EnvironmentTypesDelete() // invoke the operation await devCenterEnvironmentType.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterGalleryCollection.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterGalleryCollection.cs index c87a816da4463..9f5320c10eb82 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterGalleryCollection.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterGalleryCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_DevCenterGalleryCollection { - // Galleries_ListByDevCenter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GalleriesListByDevCenter() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Galleries_List.json @@ -48,12 +48,11 @@ public async Task GetAll_GalleriesListByDevCenter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Galleries_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GalleriesGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Galleries_Get.json @@ -86,9 +85,8 @@ public async Task Get_GalleriesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Galleries_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GalleriesGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Galleries_Get.json @@ -117,9 +115,8 @@ public async Task Exists_GalleriesGet() Console.WriteLine($"Succeeded: {result}"); } - // Galleries_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GalleriesGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Galleries_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GalleriesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GalleriesGet() } } - // Galleries_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_GalleriesCreateOrUpdate() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Galleries_Create.json diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterGalleryResource.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterGalleryResource.cs index ec2360c563491..1f749c4b79968 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterGalleryResource.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterGalleryResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_DevCenterGalleryResource { - // Galleries_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GalleriesGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Galleries_Get.json @@ -46,9 +46,8 @@ public async Task Get_GalleriesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Galleries_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_GalleriesCreateOrUpdate() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Galleries_Create.json @@ -83,9 +82,8 @@ public async Task Update_GalleriesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Galleries_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_GalleriesDelete() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Galleries_Delete.json @@ -108,7 +106,7 @@ public async Task Delete_GalleriesDelete() // invoke the operation await devCenterGallery.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterImageCollection.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterImageCollection.cs index 22237b8c7d434..9394e2f00553c 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterImageCollection.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterImageCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_DevCenterImageCollection { - // Images_ListByGallery - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ImagesListByGallery() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Images_ListByGallery.json @@ -49,12 +49,11 @@ public async Task GetAll_ImagesListByGallery() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Images_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ImagesGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Images_Get.json @@ -88,9 +87,8 @@ public async Task Get_ImagesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Images_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ImagesGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Images_Get.json @@ -120,9 +118,8 @@ public async Task Exists_ImagesGet() Console.WriteLine($"Succeeded: {result}"); } - // Images_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ImagesGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Images_Get.json @@ -152,7 +149,7 @@ public async Task GetIfExists_ImagesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterImageResource.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterImageResource.cs index 0cbd93e153e7a..392ec490026ed 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterImageResource.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterImageResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_DevCenterImageResource { - // Images_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ImagesGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Images_Get.json diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterNetworkConnectionCollection.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterNetworkConnectionCollection.cs index 96f37e315e300..efdcec0d16f61 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterNetworkConnectionCollection.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterNetworkConnectionCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DevCenter.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_DevCenterNetworkConnectionCollection { - // NetworkConnections_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NetworkConnectionsListByResourceGroup() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/NetworkConnections_ListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_NetworkConnectionsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NetworkConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkConnectionsGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/NetworkConnections_Get.json @@ -86,9 +85,8 @@ public async Task Get_NetworkConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NetworkConnectionsGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/NetworkConnections_Get.json @@ -116,9 +114,8 @@ public async Task Exists_NetworkConnectionsGet() Console.WriteLine($"Succeeded: {result}"); } - // NetworkConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NetworkConnectionsGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/NetworkConnections_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_NetworkConnectionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_NetworkConnectionsGet() } } - // NetworkConnections_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NetworkConnectionsCreateOrUpdate() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/NetworkConnections_Put.json diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterNetworkConnectionResource.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterNetworkConnectionResource.cs index 222ccb27f9bd9..42aad1295365b 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterNetworkConnectionResource.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterNetworkConnectionResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DevCenter.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_DevCenterNetworkConnectionResource { - // NetworkConnections_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDevCenterNetworkConnections_NetworkConnectionsListBySubscription() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/NetworkConnections_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetDevCenterNetworkConnections_NetworkConnectionsListBySubscri Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NetworkConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkConnectionsGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/NetworkConnections_Get.json @@ -79,9 +78,8 @@ public async Task Get_NetworkConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkConnections_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NetworkConnectionsUpdate() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/NetworkConnections_Patch.json @@ -115,9 +113,8 @@ public async Task Update_NetworkConnectionsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkConnections_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NetworkConnectionsDelete() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/NetworkConnections_Delete.json @@ -139,12 +136,11 @@ public async Task Delete_NetworkConnectionsDelete() // invoke the operation await devCenterNetworkConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NetworkConnections_RunHealthChecks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RunHealthChecks_NetworkConnectionsRunHealthChecks() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/NetworkConnections_RunHealthChecks.json @@ -166,12 +162,11 @@ public async Task RunHealthChecks_NetworkConnectionsRunHealthChecks() // invoke the operation await devCenterNetworkConnection.RunHealthChecksAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListOutboundNetworkDependencies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOutboundEnvironmentEndpoints_ListOutboundNetworkDependencies() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/NetworkConnections_ListOutboundNetworkDependenciesEndpoints.json @@ -196,7 +191,7 @@ public async Task GetOutboundEnvironmentEndpoints_ListOutboundNetworkDependencie Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterPoolCollection.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterPoolCollection.cs index 75054dfb9bd94..30a96e927f566 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterPoolCollection.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterPoolCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_DevCenterPoolCollection { - // Pools_ListByProject - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PoolsListByProject() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Pools_List.json @@ -49,12 +49,11 @@ public async Task GetAll_PoolsListByProject() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Pools_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PoolsGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Pools_Get.json @@ -87,9 +86,8 @@ public async Task Get_PoolsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Pools_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PoolsGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Pools_Get.json @@ -118,9 +116,8 @@ public async Task Exists_PoolsGet() Console.WriteLine($"Succeeded: {result}"); } - // Pools_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PoolsGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Pools_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_PoolsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_PoolsGet() } } - // Pools_GetUnhealthyStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PoolsGetUnhealthyStatus() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Pools_GetUnhealthyStatus.json @@ -196,9 +192,8 @@ public async Task Get_PoolsGetUnhealthyStatus() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Pools_GetUnhealthyStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PoolsGetUnhealthyStatus() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Pools_GetUnhealthyStatus.json @@ -227,9 +222,8 @@ public async Task Exists_PoolsGetUnhealthyStatus() Console.WriteLine($"Succeeded: {result}"); } - // Pools_GetUnhealthyStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PoolsGetUnhealthyStatus() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Pools_GetUnhealthyStatus.json @@ -258,7 +252,7 @@ public async Task GetIfExists_PoolsGetUnhealthyStatus() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -270,9 +264,8 @@ public async Task GetIfExists_PoolsGetUnhealthyStatus() } } - // Pools_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PoolsCreateOrUpdate() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Pools_Put.json diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterPoolResource.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterPoolResource.cs index f12e0c4a24657..b0346f84a4331 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterPoolResource.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterPoolResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_DevCenterPoolResource { - // Pools_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PoolsGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Pools_Get.json @@ -47,9 +47,8 @@ public async Task Get_PoolsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Pools_GetUnhealthyStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PoolsGetUnhealthyStatus() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Pools_GetUnhealthyStatus.json @@ -79,9 +78,8 @@ public async Task Get_PoolsGetUnhealthyStatus() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Pools_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PoolsUpdate() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Pools_Patch.json @@ -116,9 +114,8 @@ public async Task Update_PoolsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Pools_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PoolsDelete() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Pools_Delete.json @@ -141,12 +138,11 @@ public async Task Delete_PoolsDelete() // invoke the operation await devCenterPool.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Pools_RefreshStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RunHealthChecks_PoolsRefreshStatus() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Pools_RunHealthChecks.json @@ -169,7 +165,7 @@ public async Task RunHealthChecks_PoolsRefreshStatus() // invoke the operation await devCenterPool.RunHealthChecksAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterProjectCollection.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterProjectCollection.cs index 3c13f37b10d3b..dc7038c00ec84 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterProjectCollection.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterProjectCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_DevCenterProjectCollection { - // Projects_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ProjectsListByResourceGroup() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Projects_ListByResourceGroup.json @@ -48,12 +48,11 @@ public async Task GetAll_ProjectsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Projects_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProjectsGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Projects_Get.json @@ -85,9 +84,8 @@ public async Task Get_ProjectsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Projects_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ProjectsGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Projects_Get.json @@ -115,9 +113,8 @@ public async Task Exists_ProjectsGet() Console.WriteLine($"Succeeded: {result}"); } - // Projects_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ProjectsGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Projects_Get.json @@ -145,7 +142,7 @@ public async Task GetIfExists_ProjectsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -157,9 +154,8 @@ public async Task GetIfExists_ProjectsGet() } } - // Projects_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ProjectsCreateOrUpdate() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Projects_Put.json @@ -201,9 +197,8 @@ public async Task CreateOrUpdate_ProjectsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Projects_CreateOrUpdateWithLimitsPerDev - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ProjectsCreateOrUpdateWithLimitsPerDev() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Projects_PutWithMaxDevBoxPerUser.json diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterProjectEnvironmentCollection.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterProjectEnvironmentCollection.cs index f03069b2125f8..079a9560cc6dd 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterProjectEnvironmentCollection.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterProjectEnvironmentCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DevCenter.Models; using Azure.ResourceManager.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_DevCenterProjectEnvironmentCollection { - // ProjectEnvironmentTypes_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ProjectEnvironmentTypesList() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/ProjectEnvironmentTypes_List.json @@ -50,12 +50,11 @@ public async Task GetAll_ProjectEnvironmentTypesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ProjectEnvironmentTypes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProjectEnvironmentTypesGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/ProjectEnvironmentTypes_Get.json @@ -88,9 +87,8 @@ public async Task Get_ProjectEnvironmentTypesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ProjectEnvironmentTypes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ProjectEnvironmentTypesGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/ProjectEnvironmentTypes_Get.json @@ -119,9 +117,8 @@ public async Task Exists_ProjectEnvironmentTypesGet() Console.WriteLine($"Succeeded: {result}"); } - // ProjectEnvironmentTypes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ProjectEnvironmentTypesGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/ProjectEnvironmentTypes_Get.json @@ -150,7 +147,7 @@ public async Task GetIfExists_ProjectEnvironmentTypesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_ProjectEnvironmentTypesGet() } } - // ProjectEnvironmentTypes_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ProjectEnvironmentTypesCreateOrUpdate() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/ProjectEnvironmentTypes_Put.json diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterProjectEnvironmentResource.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterProjectEnvironmentResource.cs index 6072b84b5388c..ed26049a5a441 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterProjectEnvironmentResource.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterProjectEnvironmentResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DevCenter.Models; using Azure.ResourceManager.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_DevCenterProjectEnvironmentResource { - // ProjectEnvironmentTypes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProjectEnvironmentTypesGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/ProjectEnvironmentTypes_Get.json @@ -48,9 +48,8 @@ public async Task Get_ProjectEnvironmentTypesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ProjectEnvironmentTypes_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ProjectEnvironmentTypesUpdate() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/ProjectEnvironmentTypes_Patch.json @@ -106,9 +105,8 @@ public async Task Update_ProjectEnvironmentTypesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ProjectEnvironmentTypes_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ProjectEnvironmentTypesDelete() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/ProjectEnvironmentTypes_Delete.json @@ -131,7 +129,7 @@ public async Task Delete_ProjectEnvironmentTypesDelete() // invoke the operation await devCenterProjectEnvironment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterProjectResource.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterProjectResource.cs index 2f347aafc8a3d..84ca2b6acb9f8 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterProjectResource.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterProjectResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DevCenter.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_DevCenterProjectResource { - // Projects_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDevCenterProjects_ProjectsListBySubscription() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Projects_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetDevCenterProjects_ProjectsListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Projects_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProjectsGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Projects_Get.json @@ -79,9 +78,8 @@ public async Task Get_ProjectsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Projects_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ProjectsUpdate() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Projects_Patch.json @@ -119,9 +117,8 @@ public async Task Update_ProjectsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Projects_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ProjectsDelete() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Projects_Delete.json @@ -143,7 +140,7 @@ public async Task Delete_ProjectsDelete() // invoke the operation await devCenterProject.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterResource.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterResource.cs index ccf3a5d389527..7d63c27e94b4e 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterResource.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DevCenter.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_DevCenterResource { - // DevCenters_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDevCenters_DevCentersListBySubscription() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenters_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetDevCenters_DevCentersListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DevCenters_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DevCentersGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenters_Get.json @@ -79,9 +78,8 @@ public async Task Get_DevCentersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DevCenters_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DevCentersUpdate() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenters_Patch.json @@ -118,9 +116,8 @@ public async Task Update_DevCentersUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DevCenters_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DevCentersDelete() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/DevCenters_Delete.json @@ -142,12 +139,11 @@ public async Task Delete_DevCentersDelete() // invoke the operation await devCenter.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Images_ListByDevCenter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetImages_ImagesListByDevCenter() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Images_ListByDevCenter.json @@ -176,7 +172,7 @@ public async Task GetImages_ImagesListByDevCenter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterScheduleCollection.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterScheduleCollection.cs index 0bfc5bc9b0bb4..e3b7a5181aa22 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterScheduleCollection.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterScheduleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_DevCenterScheduleCollection { - // Schedules_ListByPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SchedulesListByPool() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Schedules_ListByPool.json @@ -50,12 +50,11 @@ public async Task GetAll_SchedulesListByPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Schedules_GetByPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SchedulesGetByPool() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Schedules_Get.json @@ -89,9 +88,8 @@ public async Task Get_SchedulesGetByPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Schedules_GetByPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SchedulesGetByPool() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Schedules_Get.json @@ -121,9 +119,8 @@ public async Task Exists_SchedulesGetByPool() Console.WriteLine($"Succeeded: {result}"); } - // Schedules_GetByPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SchedulesGetByPool() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Schedules_Get.json @@ -153,7 +150,7 @@ public async Task GetIfExists_SchedulesGetByPool() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_SchedulesGetByPool() } } - // Schedules_CreateDailyShutdownPoolSchedule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SchedulesCreateDailyShutdownPoolSchedule() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Schedules_CreateDailyShutdownPoolSchedule.json diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterScheduleResource.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterScheduleResource.cs index e68780e24196a..0e1de4deb2420 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterScheduleResource.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_DevCenterScheduleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_DevCenterScheduleResource { - // Schedules_GetByPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SchedulesGetByPool() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Schedules_Get.json @@ -48,9 +48,8 @@ public async Task Get_SchedulesGetByPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Schedules_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SchedulesUpdate() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Schedules_Patch.json @@ -86,9 +85,8 @@ public async Task Update_SchedulesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Schedules_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SchedulesDelete() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Schedules_Delete.json @@ -112,7 +110,7 @@ public async Task Delete_SchedulesDelete() // invoke the operation await devCenterSchedule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_HealthCheckStatusDetailResource.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_HealthCheckStatusDetailResource.cs index 69dd779aa91d2..685a872c6e47f 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_HealthCheckStatusDetailResource.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_HealthCheckStatusDetailResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_HealthCheckStatusDetailResource { - // NetworkConnections_GetHealthDetails - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkConnectionsGetHealthDetails() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/NetworkConnections_GetHealthDetails.json diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_ImageVersionCollection.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_ImageVersionCollection.cs index 48d3521f1355b..39e83418cb4ff 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_ImageVersionCollection.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_ImageVersionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_ImageVersionCollection { - // ImageVersions_ListByImage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ImageVersionsListByImage() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/ImageVersions_List.json @@ -50,12 +50,11 @@ public async Task GetAll_ImageVersionsListByImage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Versions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VersionsGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/ImageVersions_Get.json @@ -90,9 +89,8 @@ public async Task Get_VersionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Versions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VersionsGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/ImageVersions_Get.json @@ -123,9 +121,8 @@ public async Task Exists_VersionsGet() Console.WriteLine($"Succeeded: {result}"); } - // Versions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VersionsGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/ImageVersions_Get.json @@ -156,7 +153,7 @@ public async Task GetIfExists_VersionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_ImageVersionResource.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_ImageVersionResource.cs index 73b012f4f25b7..bb8cc43abc9b6 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_ImageVersionResource.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_ImageVersionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_ImageVersionResource { - // Versions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VersionsGet() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/ImageVersions_Get.json diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_ProjectAttachedNetworkConnectionCollection.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_ProjectAttachedNetworkConnectionCollection.cs index 40fc87243a83e..4fb8f2bdd3fb9 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_ProjectAttachedNetworkConnectionCollection.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_ProjectAttachedNetworkConnectionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_ProjectAttachedNetworkConnectionCollection { - // AttachedNetworks_ListByProject - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AttachedNetworksListByProject() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/AttachedNetworks_ListByProject.json @@ -48,12 +48,11 @@ public async Task GetAll_AttachedNetworksListByProject() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AttachedNetworks_GetByProject - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AttachedNetworksGetByProject() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/AttachedNetworks_GetByProject.json @@ -86,9 +85,8 @@ public async Task Get_AttachedNetworksGetByProject() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AttachedNetworks_GetByProject - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AttachedNetworksGetByProject() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/AttachedNetworks_GetByProject.json @@ -117,9 +115,8 @@ public async Task Exists_AttachedNetworksGetByProject() Console.WriteLine($"Succeeded: {result}"); } - // AttachedNetworks_GetByProject - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AttachedNetworksGetByProject() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/AttachedNetworks_GetByProject.json @@ -148,7 +145,7 @@ public async Task GetIfExists_AttachedNetworksGetByProject() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_ProjectAttachedNetworkConnectionResource.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_ProjectAttachedNetworkConnectionResource.cs index 055cfc0ac23a4..3ffbe51081701 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_ProjectAttachedNetworkConnectionResource.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_ProjectAttachedNetworkConnectionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_ProjectAttachedNetworkConnectionResource { - // AttachedNetworks_GetByProject - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AttachedNetworksGetByProject() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/AttachedNetworks_GetByProject.json diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_ProjectDevBoxDefinitionCollection.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_ProjectDevBoxDefinitionCollection.cs index bcf2f5814dad8..6a8b38fbf31d7 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_ProjectDevBoxDefinitionCollection.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_ProjectDevBoxDefinitionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_ProjectDevBoxDefinitionCollection { - // DevBoxDefinitions_ListByProject - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DevBoxDefinitionsListByProject() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxDefinitions_ListByProject.json @@ -48,12 +48,11 @@ public async Task GetAll_DevBoxDefinitionsListByProject() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DevBoxDefinitions_GetByProject - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DevBoxDefinitionsGetByProject() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxDefinitions_GetByProject.json @@ -86,9 +85,8 @@ public async Task Get_DevBoxDefinitionsGetByProject() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DevBoxDefinitions_GetByProject - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DevBoxDefinitionsGetByProject() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxDefinitions_GetByProject.json @@ -117,9 +115,8 @@ public async Task Exists_DevBoxDefinitionsGetByProject() Console.WriteLine($"Succeeded: {result}"); } - // DevBoxDefinitions_GetByProject - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DevBoxDefinitionsGetByProject() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxDefinitions_GetByProject.json @@ -148,7 +145,7 @@ public async Task GetIfExists_DevBoxDefinitionsGetByProject() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_ProjectDevBoxDefinitionResource.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_ProjectDevBoxDefinitionResource.cs index e07313bbd94d1..9bd42ed20fd21 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_ProjectDevBoxDefinitionResource.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_ProjectDevBoxDefinitionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_ProjectDevBoxDefinitionResource { - // DevBoxDefinitions_GetByProject - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DevBoxDefinitionsGetByProject() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/DevBoxDefinitions_GetByProject.json diff --git a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 1ed490233d4fa..c6e223ba713e1 100644 --- a/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/devcenter/Azure.ResourceManager.DevCenter/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DevCenter.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DevCenter.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Get OperationStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDevCenterOperationStatus_GetOperationStatus() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/OperationStatus_Get.json @@ -43,9 +43,8 @@ public async Task GetDevCenterOperationStatus_GetOperationStatus() Console.WriteLine($"Succeeded: {result}"); } - // listUsages - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDevCenterUsagesByLocation_ListUsages() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Usages_ListByLocation.json @@ -69,12 +68,11 @@ public async Task GetDevCenterUsagesByLocation_ListUsages() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckDevCenterNameAvailability_NameAvailability() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/CheckNameAvailability.json @@ -102,9 +100,8 @@ public async Task CheckDevCenterNameAvailability_NameAvailability() Console.WriteLine($"Succeeded: {result}"); } - // Skus_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDevCenterSkusBySubscription_SkusListBySubscription() { // Generated from example definition: specification/devcenter/resource-manager/Microsoft.DevCenter/stable/2023-04-01/examples/Skus_ListBySubscription.json @@ -127,7 +124,7 @@ public async Task GetDevCenterSkusBySubscription_SkusListBySubscription() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServiceCollection.cs b/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServiceCollection.cs index 2b1950d89a92b..82b4212402af2 100644 --- a/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServiceCollection.cs +++ b/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServiceCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DeviceProvisioningServices.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DeviceProvisioningServices.Samples { public partial class Sample_DeviceProvisioningServiceCollection { - // DPSGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DPSGet() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSGet.json @@ -50,9 +50,8 @@ public async Task Get_DPSGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DPSGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DPSGet() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSGet.json @@ -80,9 +79,8 @@ public async Task Exists_DPSGet() Console.WriteLine($"Succeeded: {result}"); } - // DPSGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DPSGet() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSGet.json @@ -110,7 +108,7 @@ public async Task GetIfExists_DPSGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_DPSGet() } } - // DPSCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DPSCreate() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSCreate.json @@ -170,9 +167,8 @@ public async Task CreateOrUpdate_DPSCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DPSListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DPSListByResourceGroup() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSListByResourceGroup.json @@ -203,7 +199,7 @@ public async Task GetAll_DPSListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServiceResource.cs b/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServiceResource.cs index f18f4648fd7ed..52de0e089e507 100644 --- a/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServiceResource.cs +++ b/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServiceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DeviceProvisioningServices.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DeviceProvisioningServices.Samples { public partial class Sample_DeviceProvisioningServiceResource { - // DPSGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DPSGet() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSGet.json @@ -47,9 +47,8 @@ public async Task Get_DPSGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DPSPatch - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DPSPatch() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSPatch.json @@ -86,9 +85,8 @@ public async Task Update_DPSPatch() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DPSDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DPSDelete() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSDelete.json @@ -110,12 +108,11 @@ public async Task Delete_DPSDelete() // invoke the operation await deviceProvisioningService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DPSListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeviceProvisioningServices_DPSListBySubscription() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSListBySubscription.json @@ -142,12 +139,11 @@ public async Task GetDeviceProvisioningServices_DPSListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DPSGetValidSku - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetValidSkus_DPSGetValidSku() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSGetValidSku.json @@ -172,12 +168,11 @@ public async Task GetValidSkus_DPSGetValidSku() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DPSCheckName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckDeviceProvisioningServicesNameAvailability_DPSCheckName() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSCheckNameAvailability.json @@ -201,9 +196,8 @@ public async Task CheckDeviceProvisioningServicesNameAvailability_DPSCheckName() Console.WriteLine($"Succeeded: {result}"); } - // DPSListKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_DPSListKeys() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSListKeys.json @@ -228,12 +222,11 @@ public async Task GetKeys_DPSListKeys() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DPSGetKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKey_DPSGetKey() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSGetKey.json diff --git a/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServicesCertificateCollection.cs b/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServicesCertificateCollection.cs index d2633f5e86d64..700fc54b17238 100644 --- a/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServicesCertificateCollection.cs +++ b/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServicesCertificateCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DeviceProvisioningServices.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DeviceProvisioningServices.Samples { public partial class Sample_DeviceProvisioningServicesCertificateCollection { - // DPSGetCertificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DPSGetCertificate() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSGetCertificate.json @@ -50,9 +50,8 @@ public async Task Get_DPSGetCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DPSGetCertificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DPSGetCertificate() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSGetCertificate.json @@ -81,9 +80,8 @@ public async Task Exists_DPSGetCertificate() Console.WriteLine($"Succeeded: {result}"); } - // DPSGetCertificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DPSGetCertificate() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSGetCertificate.json @@ -112,7 +110,7 @@ public async Task GetIfExists_DPSGetCertificate() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_DPSGetCertificate() } } - // DPSCreateOrUpdateCertificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DPSCreateOrUpdateCertificate() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSCertificateCreateOrUpdate.json @@ -167,9 +164,8 @@ public async Task CreateOrUpdate_DPSCreateOrUpdateCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DPSGetCertificates - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DPSGetCertificates() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSGetCertificates.json @@ -201,7 +197,7 @@ public async Task GetAll_DPSGetCertificates() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServicesCertificateResource.cs b/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServicesCertificateResource.cs index ac8e0d4eb8291..098f874c7b28c 100644 --- a/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServicesCertificateResource.cs +++ b/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServicesCertificateResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DeviceProvisioningServices.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DeviceProvisioningServices.Samples { public partial class Sample_DeviceProvisioningServicesCertificateResource { - // DPSGetCertificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DPSGetCertificate() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSGetCertificate.json @@ -47,9 +47,8 @@ public async Task Get_DPSGetCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DPSCreateOrUpdateCertificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DPSCreateOrUpdateCertificate() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSCertificateCreateOrUpdate.json @@ -87,9 +86,8 @@ public async Task Update_DPSCreateOrUpdateCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DPSDeleteCertificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DPSDeleteCertificate() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSDeleteCertificate.json @@ -113,12 +111,11 @@ public async Task Delete_DPSDeleteCertificate() DeviceProvisioningServicesCertificateResourceDeleteOptions options = new DeviceProvisioningServicesCertificateResourceDeleteOptions(ifMatch: "AAAAAAAADGk=") { }; await deviceProvisioningServicesCertificate.DeleteAsync(WaitUntil.Completed, options); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DPSGenerateVerificationCode - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateVerificationCode_DPSGenerateVerificationCode() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSGenerateVerificationCode.json @@ -145,9 +142,8 @@ public async Task GenerateVerificationCode_DPSGenerateVerificationCode() Console.WriteLine($"Succeeded: {result}"); } - // DPSVerifyCertificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task VerifyCertificate_DPSVerifyCertificate() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSVerifyCertificate.json diff --git a/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServicesPrivateEndpointConnectionCollection.cs b/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServicesPrivateEndpointConnectionCollection.cs index 34f3a38ed9037..5bc41e9d14fa9 100644 --- a/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServicesPrivateEndpointConnectionCollection.cs +++ b/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServicesPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DeviceProvisioningServices.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DeviceProvisioningServices.Samples { public partial class Sample_DeviceProvisioningServicesPrivateEndpointConnectionCollection { - // PrivateEndpointConnections_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndpointConnectionsList() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSListPrivateEndpointConnections.json @@ -49,12 +49,11 @@ public async Task GetAll_PrivateEndpointConnectionsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateEndpointConnection_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionGet() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSGetPrivateEndpointConnection.json @@ -87,9 +86,8 @@ public async Task Get_PrivateEndpointConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnection_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateEndpointConnectionGet() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSGetPrivateEndpointConnection.json @@ -118,9 +116,8 @@ public async Task Exists_PrivateEndpointConnectionGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateEndpointConnection_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateEndpointConnectionGet() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSGetPrivateEndpointConnection.json @@ -149,7 +146,7 @@ public async Task GetIfExists_PrivateEndpointConnectionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_PrivateEndpointConnectionGet() } } - // PrivateEndpointConnection_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateEndpointConnectionCreateOrUpdate() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSCreateOrUpdatePrivateEndpointConnection.json diff --git a/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServicesPrivateEndpointConnectionResource.cs b/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServicesPrivateEndpointConnectionResource.cs index 4032f2c7b0451..e389b028d1c37 100644 --- a/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServicesPrivateEndpointConnectionResource.cs +++ b/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServicesPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DeviceProvisioningServices.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DeviceProvisioningServices.Samples { public partial class Sample_DeviceProvisioningServicesPrivateEndpointConnectionResource { - // PrivateEndpointConnection_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionGet() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSGetPrivateEndpointConnection.json @@ -47,9 +47,8 @@ public async Task Get_PrivateEndpointConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnection_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateEndpointConnectionCreateOrUpdate() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSCreateOrUpdatePrivateEndpointConnection.json @@ -81,9 +80,8 @@ public async Task Update_PrivateEndpointConnectionCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnection_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateEndpointConnectionDelete() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSDeletePrivateEndpointConnection.json diff --git a/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServicesPrivateLinkResource.cs b/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServicesPrivateLinkResource.cs index f376777a693cb..00c5df5dde482 100644 --- a/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServicesPrivateLinkResource.cs +++ b/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServicesPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DeviceProvisioningServices.Samples { public partial class Sample_DeviceProvisioningServicesPrivateLinkResource { - // PrivateLinkResources_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkResourcesList() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSGetPrivateLinkResources.json diff --git a/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServicesPrivateLinkResourceCollection.cs b/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServicesPrivateLinkResourceCollection.cs index dfe191bb974f8..e7f32fbb5ff16 100644 --- a/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServicesPrivateLinkResourceCollection.cs +++ b/sdk/deviceprovisioningservices/Azure.ResourceManager.DeviceProvisioningServices/samples/Generated/Samples/Sample_DeviceProvisioningServicesPrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DeviceProvisioningServices.Samples { public partial class Sample_DeviceProvisioningServicesPrivateLinkResourceCollection { - // PrivateLinkResources_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateLinkResourcesList() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSListPrivateLinkResources.json @@ -48,12 +48,11 @@ public async Task GetAll_PrivateLinkResourcesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateLinkResources_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkResourcesList() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSGetPrivateLinkResources.json @@ -86,9 +85,8 @@ public async Task Get_PrivateLinkResourcesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateLinkResources_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateLinkResourcesList() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSGetPrivateLinkResources.json @@ -117,9 +115,8 @@ public async Task Exists_PrivateLinkResourcesList() Console.WriteLine($"Succeeded: {result}"); } - // PrivateLinkResources_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateLinkResourcesList() { // Generated from example definition: specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/stable/2022-02-05/examples/DPSGetPrivateLinkResources.json @@ -148,7 +145,7 @@ public async Task GetIfExists_PrivateLinkResourcesList() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/samples/Generated/Samples/Sample_DeviceRegistryAssetCollection.cs b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/samples/Generated/Samples/Sample_DeviceRegistryAssetCollection.cs index 1658bb2a79504..35b0cbb16210c 100644 --- a/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/samples/Generated/Samples/Sample_DeviceRegistryAssetCollection.cs +++ b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/samples/Generated/Samples/Sample_DeviceRegistryAssetCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DeviceRegistry.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DeviceRegistry.Samples { public partial class Sample_DeviceRegistryAssetCollection { - // List Assets in a Resource Group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAssetsInAResourceGroup() { // Generated from example definition: specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/List_Assets_ResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAssetsInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an Asset - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAsset() { // Generated from example definition: specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Get_Asset.json @@ -86,9 +85,8 @@ public async Task Get_GetAnAsset() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an Asset - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnAsset() { // Generated from example definition: specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Get_Asset.json @@ -116,9 +114,8 @@ public async Task Exists_GetAnAsset() Console.WriteLine($"Succeeded: {result}"); } - // Get an Asset - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnAsset() { // Generated from example definition: specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Get_Asset.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetAnAsset() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetAnAsset() } } - // Get an Asset with Sync Status. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAssetWithSyncStatus() { // Generated from example definition: specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Get_Asset_With_SyncStatus.json @@ -192,9 +188,8 @@ public async Task Get_GetAnAssetWithSyncStatus() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an Asset with Sync Status. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnAssetWithSyncStatus() { // Generated from example definition: specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Get_Asset_With_SyncStatus.json @@ -222,9 +217,8 @@ public async Task Exists_GetAnAssetWithSyncStatus() Console.WriteLine($"Succeeded: {result}"); } - // Get an Asset with Sync Status. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnAssetWithSyncStatus() { // Generated from example definition: specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Get_Asset_With_SyncStatus.json @@ -252,7 +246,7 @@ public async Task GetIfExists_GetAnAssetWithSyncStatus() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -264,9 +258,8 @@ public async Task GetIfExists_GetAnAssetWithSyncStatus() } } - // Create an Asset With External Asset Id. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnAssetWithExternalAssetId() { // Generated from example definition: specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Create_Asset_With_ExternalAssetId.json @@ -350,9 +343,8 @@ public async Task CreateOrUpdate_CreateAnAssetWithExternalAssetId() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an Asset Without Display Name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnAssetWithoutDisplayName() { // Generated from example definition: specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Create_Asset_Without_DisplayName.json @@ -435,9 +427,8 @@ public async Task CreateOrUpdate_CreateAnAssetWithoutDisplayName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an Asset Without External Asset Id. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnAssetWithoutExternalAssetId() { // Generated from example definition: specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Create_Asset_Without_ExternalAssetId.json diff --git a/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/samples/Generated/Samples/Sample_DeviceRegistryAssetEndpointProfileCollection.cs b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/samples/Generated/Samples/Sample_DeviceRegistryAssetEndpointProfileCollection.cs index 4b74dcf12e02b..769fddd89ab0a 100644 --- a/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/samples/Generated/Samples/Sample_DeviceRegistryAssetEndpointProfileCollection.cs +++ b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/samples/Generated/Samples/Sample_DeviceRegistryAssetEndpointProfileCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DeviceRegistry.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DeviceRegistry.Samples { public partial class Sample_DeviceRegistryAssetEndpointProfileCollection { - // List Asset Endpoint Profiles in a Resource Group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAssetEndpointProfilesInAResourceGroup() { // Generated from example definition: specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/List_AssetEndpointProfiles_ResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAssetEndpointProfilesInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an Asset Endpoint Profile. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAssetEndpointProfile() { // Generated from example definition: specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Get_AssetEndpointProfile.json @@ -86,9 +85,8 @@ public async Task Get_GetAnAssetEndpointProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an Asset Endpoint Profile. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnAssetEndpointProfile() { // Generated from example definition: specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Get_AssetEndpointProfile.json @@ -116,9 +114,8 @@ public async Task Exists_GetAnAssetEndpointProfile() Console.WriteLine($"Succeeded: {result}"); } - // Get an Asset Endpoint Profile. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnAssetEndpointProfile() { // Generated from example definition: specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Get_AssetEndpointProfile.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetAnAssetEndpointProfile() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetAnAssetEndpointProfile() } } - // Create an Asset Endpoint Profile. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnAssetEndpointProfile() { // Generated from example definition: specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Create_AssetEndpointProfile.json diff --git a/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/samples/Generated/Samples/Sample_DeviceRegistryAssetEndpointProfileResource.cs b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/samples/Generated/Samples/Sample_DeviceRegistryAssetEndpointProfileResource.cs index ad5984f4b8e83..116d2eae95d09 100644 --- a/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/samples/Generated/Samples/Sample_DeviceRegistryAssetEndpointProfileResource.cs +++ b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/samples/Generated/Samples/Sample_DeviceRegistryAssetEndpointProfileResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DeviceRegistry.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DeviceRegistry.Samples { public partial class Sample_DeviceRegistryAssetEndpointProfileResource { - // List Asset Endpoint Profiles in a Subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeviceRegistryAssetEndpointProfiles_ListAssetEndpointProfilesInASubscription() { // Generated from example definition: specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/List_AssetEndpointProfiles_Subscription.json @@ -45,12 +45,11 @@ public async Task GetDeviceRegistryAssetEndpointProfiles_ListAssetEndpointProfil Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an Asset Endpoint Profile. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAssetEndpointProfile() { // Generated from example definition: specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Get_AssetEndpointProfile.json @@ -79,9 +78,8 @@ public async Task Get_GetAnAssetEndpointProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch an Asset Endpoint Profile. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchAnAssetEndpointProfile() { // Generated from example definition: specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Update_AssetEndpointProfile.json @@ -115,9 +113,8 @@ public async Task Update_PatchAnAssetEndpointProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an Asset Endpoint Profile. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnAssetEndpointProfile() { // Generated from example definition: specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Delete_AssetEndpointProfile.json @@ -139,7 +136,7 @@ public async Task Delete_DeleteAnAssetEndpointProfile() // invoke the operation await deviceRegistryAssetEndpointProfile.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/samples/Generated/Samples/Sample_DeviceRegistryAssetResource.cs b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/samples/Generated/Samples/Sample_DeviceRegistryAssetResource.cs index ab7783619b9a1..7c85dad0e7f1b 100644 --- a/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/samples/Generated/Samples/Sample_DeviceRegistryAssetResource.cs +++ b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/samples/Generated/Samples/Sample_DeviceRegistryAssetResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DeviceRegistry.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DeviceRegistry.Samples { public partial class Sample_DeviceRegistryAssetResource { - // List Assets in a Subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeviceRegistryAssets_ListAssetsInASubscription() { // Generated from example definition: specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/List_Assets_Subscription.json @@ -45,12 +45,11 @@ public async Task GetDeviceRegistryAssets_ListAssetsInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an Asset - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAsset() { // Generated from example definition: specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Get_Asset.json @@ -79,9 +78,8 @@ public async Task Get_GetAnAsset() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an Asset with Sync Status. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAssetWithSyncStatus() { // Generated from example definition: specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Get_Asset_With_SyncStatus.json @@ -110,9 +108,8 @@ public async Task Get_GetAnAssetWithSyncStatus() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch an Asset. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchAnAsset() { // Generated from example definition: specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Update_Asset.json @@ -147,9 +144,8 @@ public async Task Update_PatchAnAsset() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an Asset. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnAsset() { // Generated from example definition: specification/deviceregistry/resource-manager/Microsoft.DeviceRegistry/preview/2023-11-01-preview/examples/Delete_Asset.json @@ -171,7 +167,7 @@ public async Task Delete_DeleteAnAsset() // invoke the operation await deviceRegistryAsset.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdateAccountCollection.cs b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdateAccountCollection.cs index b882788ab01b5..c9109e736fd97 100644 --- a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdateAccountCollection.cs +++ b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdateAccountCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.DeviceUpdate.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DeviceUpdate.Samples { public partial class Sample_DeviceUpdateAccountCollection { - // Gets list of Accounts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsListOfAccounts() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/Accounts/Accounts_List.json @@ -50,12 +50,11 @@ public async Task GetAll_GetsListOfAccounts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets Account details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAccountDetails() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/Accounts/Accounts_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetsAccountDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets Account details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAccountDetails() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/Accounts/Accounts_Get.json @@ -117,9 +115,8 @@ public async Task Exists_GetsAccountDetails() Console.WriteLine($"Succeeded: {result}"); } - // Gets Account details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAccountDetails() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/Accounts/Accounts_Get.json @@ -147,7 +144,7 @@ public async Task GetIfExists_GetsAccountDetails() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_GetsAccountDetails() } } - // Creates or updates Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesAccount() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/Accounts/Accounts_Create.json diff --git a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdateAccountResource.cs b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdateAccountResource.cs index b0d29efd95f36..a82e569248775 100644 --- a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdateAccountResource.cs +++ b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdateAccountResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DeviceUpdate.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DeviceUpdate.Samples { public partial class Sample_DeviceUpdateAccountResource { - // Get list of Accounts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeviceUpdateAccounts_GetListOfAccounts() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/Accounts/Accounts_List.json @@ -45,12 +45,11 @@ public async Task GetDeviceUpdateAccounts_GetListOfAccounts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets Account details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAccountDetails() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/Accounts/Accounts_Get.json @@ -79,9 +78,8 @@ public async Task Get_GetsAccountDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes an account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAnAccount() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/Accounts/Accounts_Delete.json @@ -103,12 +101,11 @@ public async Task Delete_DeletesAnAccount() // invoke the operation await deviceUpdateAccount.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Updates Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesAccount() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/Accounts/Accounts_Update.json diff --git a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdateInstanceCollection.cs b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdateInstanceCollection.cs index a0c6145584bf1..f83635bb2214c 100644 --- a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdateInstanceCollection.cs +++ b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdateInstanceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DeviceUpdate.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DeviceUpdate.Samples { public partial class Sample_DeviceUpdateInstanceCollection { - // Gets list of Instances by Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsListOfInstancesByAccount() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/Instances/Instances_ListByAccount.json @@ -49,12 +49,11 @@ public async Task GetAll_GetsListOfInstancesByAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets list of Instances - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsListOfInstances() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/Instances/Instances_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetsListOfInstances() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets list of Instances - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsListOfInstances() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/Instances/Instances_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetsListOfInstances() Console.WriteLine($"Succeeded: {result}"); } - // Gets list of Instances - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsListOfInstances() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/Instances/Instances_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetsListOfInstances() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetsListOfInstances() } } - // Creates or updates Instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesInstance() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/Instances/Instances_Create.json diff --git a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdateInstanceResource.cs b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdateInstanceResource.cs index d2a650101bfad..8e7796bd09ddb 100644 --- a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdateInstanceResource.cs +++ b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdateInstanceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DeviceUpdate.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DeviceUpdate.Samples { public partial class Sample_DeviceUpdateInstanceResource { - // Gets list of Instances - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsListOfInstances() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/Instances/Instances_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetsListOfInstances() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesInstance() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/Instances/Instances_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_DeletesInstance() // invoke the operation await deviceUpdateInstance.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Updates Instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesInstance() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/Instances/Instances_Update.json diff --git a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdatePrivateEndpointConnectionCollection.cs b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdatePrivateEndpointConnectionCollection.cs index 4b2ff31770cc3..e37258ab17593 100644 --- a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdatePrivateEndpointConnectionCollection.cs +++ b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdatePrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DeviceUpdate.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DeviceUpdate.Samples { public partial class Sample_DeviceUpdatePrivateEndpointConnectionCollection { - // PrivateEndpointConnectionList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndpointConnectionList() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/PrivateEndpointConnections/PrivateEndpointConnection_ListByAccount.json @@ -49,12 +49,11 @@ public async Task GetAll_PrivateEndpointConnectionList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateEndpointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionGet() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/PrivateEndpointConnections/PrivateEndpointConnection_Get.json @@ -87,9 +86,8 @@ public async Task Get_PrivateEndpointConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateEndpointConnectionGet() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/PrivateEndpointConnections/PrivateEndpointConnection_Get.json @@ -118,9 +116,8 @@ public async Task Exists_PrivateEndpointConnectionGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateEndpointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateEndpointConnectionGet() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/PrivateEndpointConnections/PrivateEndpointConnection_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_PrivateEndpointConnectionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_PrivateEndpointConnectionGet() } } - // PrivateEndpointConnectionCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateEndpointConnectionCreateOrUpdate() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/PrivateEndpointConnections/PrivateEndpointConnection_CreateOrUpdate.json diff --git a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdatePrivateEndpointConnectionProxyCollection.cs b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdatePrivateEndpointConnectionProxyCollection.cs index 8a8e680fed574..e6be7cac1d881 100644 --- a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdatePrivateEndpointConnectionProxyCollection.cs +++ b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdatePrivateEndpointConnectionProxyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DeviceUpdate.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DeviceUpdate.Samples { public partial class Sample_DeviceUpdatePrivateEndpointConnectionProxyCollection { - // PrivateEndpointConnectionProxyList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndpointConnectionProxyList() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/PrivateEndpointConnectionProxies/PrivateEndpointConnectionProxy_ListByAccount.json @@ -49,12 +49,11 @@ public async Task GetAll_PrivateEndpointConnectionProxyList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateEndpointConnectionProxyGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionProxyGet() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/PrivateEndpointConnectionProxies/PrivateEndpointConnectionProxy_Get.json @@ -87,9 +86,8 @@ public async Task Get_PrivateEndpointConnectionProxyGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnectionProxyGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateEndpointConnectionProxyGet() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/PrivateEndpointConnectionProxies/PrivateEndpointConnectionProxy_Get.json @@ -118,9 +116,8 @@ public async Task Exists_PrivateEndpointConnectionProxyGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateEndpointConnectionProxyGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateEndpointConnectionProxyGet() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/PrivateEndpointConnectionProxies/PrivateEndpointConnectionProxy_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_PrivateEndpointConnectionProxyGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_PrivateEndpointConnectionProxyGet() } } - // PrivateEndpointConnectionProxyCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateEndpointConnectionProxyCreateOrUpdate() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/PrivateEndpointConnectionProxies/PrivateEndpointConnectionProxy_CreateOrUpdate.json diff --git a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdatePrivateEndpointConnectionProxyResource.cs b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdatePrivateEndpointConnectionProxyResource.cs index 93799101e5241..d789b3c10637d 100644 --- a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdatePrivateEndpointConnectionProxyResource.cs +++ b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdatePrivateEndpointConnectionProxyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DeviceUpdate.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DeviceUpdate.Samples { public partial class Sample_DeviceUpdatePrivateEndpointConnectionProxyResource { - // PrivateEndpointConnectionProxyValidate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Validate_PrivateEndpointConnectionProxyValidate() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/PrivateEndpointConnectionProxies/PrivateEndpointConnectionProxy_Validate.json @@ -72,12 +72,11 @@ public async Task Validate_PrivateEndpointConnectionProxyValidate() }; await deviceUpdatePrivateEndpointConnectionProxy.ValidateAsync(data); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateEndpointConnectionProxyPrivateEndpointUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdatePrivateEndpointProperties_PrivateEndpointConnectionProxyPrivateEndpointUpdate() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/PrivateEndpointConnectionProxies/PrivateEndpointConnectionProxy_PrivateEndpointUpdate.json @@ -108,12 +107,11 @@ public async Task UpdatePrivateEndpointProperties_PrivateEndpointConnectionProxy }; await deviceUpdatePrivateEndpointConnectionProxy.UpdatePrivateEndpointPropertiesAsync(privateEndpointUpdate); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateEndpointConnectionProxyGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionProxyGet() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/PrivateEndpointConnectionProxies/PrivateEndpointConnectionProxy_Get.json @@ -143,9 +141,8 @@ public async Task Get_PrivateEndpointConnectionProxyGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnectionProxyCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateEndpointConnectionProxyCreateOrUpdate() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/PrivateEndpointConnectionProxies/PrivateEndpointConnectionProxy_CreateOrUpdate.json @@ -208,9 +205,8 @@ public async Task Update_PrivateEndpointConnectionProxyCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnectionProxyDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateEndpointConnectionProxyDelete() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/PrivateEndpointConnectionProxies/PrivateEndpointConnectionProxy_Delete.json @@ -233,7 +229,7 @@ public async Task Delete_PrivateEndpointConnectionProxyDelete() // invoke the operation await deviceUpdatePrivateEndpointConnectionProxy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdatePrivateEndpointConnectionResource.cs b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdatePrivateEndpointConnectionResource.cs index 355c7b23b57ca..fff0de3dd631a 100644 --- a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdatePrivateEndpointConnectionResource.cs +++ b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdatePrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DeviceUpdate.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DeviceUpdate.Samples { public partial class Sample_DeviceUpdatePrivateEndpointConnectionResource { - // PrivateEndpointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionGet() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/PrivateEndpointConnections/PrivateEndpointConnection_Get.json @@ -47,9 +47,8 @@ public async Task Get_PrivateEndpointConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnectionCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateEndpointConnectionCreateOrUpdate() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/PrivateEndpointConnections/PrivateEndpointConnection_CreateOrUpdate.json @@ -85,9 +84,8 @@ public async Task Update_PrivateEndpointConnectionCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnectionDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateEndpointConnectionDelete() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/PrivateEndpointConnections/PrivateEndpointConnection_Delete.json @@ -110,7 +108,7 @@ public async Task Delete_PrivateEndpointConnectionDelete() // invoke the operation await deviceUpdatePrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdatePrivateLinkCollection.cs b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdatePrivateLinkCollection.cs index a344529ca14a3..7f38d0dec69ae 100644 --- a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdatePrivateLinkCollection.cs +++ b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdatePrivateLinkCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DeviceUpdate.Samples { public partial class Sample_DeviceUpdatePrivateLinkCollection { - // PrivateLinkResourcesList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateLinkResourcesList() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/PrivateLinkResources/PrivateLinkResources_ListByAccount.json @@ -48,12 +48,11 @@ public async Task GetAll_PrivateLinkResourcesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateLinkResourcesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkResourcesGet() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/PrivateLinkResources/PrivateLinkResources_Get.json @@ -86,9 +85,8 @@ public async Task Get_PrivateLinkResourcesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateLinkResourcesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateLinkResourcesGet() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/PrivateLinkResources/PrivateLinkResources_Get.json @@ -117,9 +115,8 @@ public async Task Exists_PrivateLinkResourcesGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateLinkResourcesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateLinkResourcesGet() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/PrivateLinkResources/PrivateLinkResources_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_PrivateLinkResourcesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdatePrivateLinkResource.cs b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdatePrivateLinkResource.cs index c2dd68a718b22..75051d3e6aab9 100644 --- a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdatePrivateLinkResource.cs +++ b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_DeviceUpdatePrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DeviceUpdate.Samples { public partial class Sample_DeviceUpdatePrivateLinkResource { - // PrivateLinkResourcesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkResourcesGet() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/PrivateLinkResources/PrivateLinkResources_Get.json diff --git a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 8560f9c8a10be..c52bab110acfc 100644 --- a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DeviceUpdate.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DeviceUpdate.Samples { public partial class Sample_SubscriptionResourceExtensions { - // CheckNameAvailability_AlreadyExists - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckDeviceUpdateNameAvailability_CheckNameAvailabilityAlreadyExists() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/CheckNameAvailability_AlreadyExists.json @@ -46,9 +46,8 @@ public async Task CheckDeviceUpdateNameAvailability_CheckNameAvailabilityAlready Console.WriteLine($"Succeeded: {result}"); } - // CheckNameAvailability_Available - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckDeviceUpdateNameAvailability_CheckNameAvailabilityAvailable() { // Generated from example definition: specification/deviceupdate/resource-manager/Microsoft.DeviceUpdate/stable/2023-07-01/examples/CheckNameAvailability_Available.json diff --git a/sdk/devopsinfrastructure/Azure.ResourceManager.DevOpsInfrastructure/samples/Generated/Samples/Sample_DevOpsPoolCollection.cs b/sdk/devopsinfrastructure/Azure.ResourceManager.DevOpsInfrastructure/samples/Generated/Samples/Sample_DevOpsPoolCollection.cs index 4dea936a499c0..e623cb5200d67 100644 --- a/sdk/devopsinfrastructure/Azure.ResourceManager.DevOpsInfrastructure/samples/Generated/Samples/Sample_DevOpsPoolCollection.cs +++ b/sdk/devopsinfrastructure/Azure.ResourceManager.DevOpsInfrastructure/samples/Generated/Samples/Sample_DevOpsPoolCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DevOpsInfrastructure.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DevOpsInfrastructure.Samples { public partial class Sample_DevOpsPoolCollection { - // Pools_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PoolsGet() { // Generated from example definition: 2024-10-19/GetPool.json @@ -50,9 +50,8 @@ public async Task Get_PoolsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Pools_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PoolsGet() { // Generated from example definition: 2024-10-19/GetPool.json @@ -80,9 +79,8 @@ public async Task Exists_PoolsGet() Console.WriteLine($"Succeeded: {result}"); } - // Pools_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PoolsGet() { // Generated from example definition: 2024-10-19/GetPool.json @@ -110,7 +108,7 @@ public async Task GetIfExists_PoolsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_PoolsGet() } } - // Pools_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PoolsCreateOrUpdate() { // Generated from example definition: 2024-10-19/CreateOrUpdatePool.json @@ -173,9 +170,8 @@ public async Task CreateOrUpdate_PoolsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Pools_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PoolsListByResourceGroup() { // Generated from example definition: 2024-10-19/ListPoolsBySubscriptionAndResourceGroup.json @@ -206,7 +202,7 @@ public async Task GetAll_PoolsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/devopsinfrastructure/Azure.ResourceManager.DevOpsInfrastructure/samples/Generated/Samples/Sample_DevOpsPoolResource.cs b/sdk/devopsinfrastructure/Azure.ResourceManager.DevOpsInfrastructure/samples/Generated/Samples/Sample_DevOpsPoolResource.cs index ab797cfd38329..7ceea60a8e4b3 100644 --- a/sdk/devopsinfrastructure/Azure.ResourceManager.DevOpsInfrastructure/samples/Generated/Samples/Sample_DevOpsPoolResource.cs +++ b/sdk/devopsinfrastructure/Azure.ResourceManager.DevOpsInfrastructure/samples/Generated/Samples/Sample_DevOpsPoolResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DevOpsInfrastructure.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DevOpsInfrastructure.Samples { public partial class Sample_DevOpsPoolResource { - // Pools_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PoolsGet() { // Generated from example definition: 2024-10-19/GetPool.json @@ -47,9 +47,8 @@ public async Task Get_PoolsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Pools_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PoolsUpdate() { // Generated from example definition: 2024-10-19/UpdatePool.json @@ -80,9 +79,8 @@ public async Task Update_PoolsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Pools_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PoolsDelete() { // Generated from example definition: 2024-10-19/DeletePool.json @@ -104,12 +102,11 @@ public async Task Delete_PoolsDelete() // invoke the operation await devOpsPool.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Pools_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDevOpsPools_PoolsListBySubscription() { // Generated from example definition: 2024-10-19/ListPoolsBySubscription.json @@ -136,12 +133,11 @@ public async Task GetDevOpsPools_PoolsListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ResourceDetails_ListByPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResourceDetails_ResourceDetailsListByPool() { // Generated from example definition: 2024-10-19/ResourceDetails_ListByPool.json @@ -166,7 +162,7 @@ public async Task GetResourceDetails_ResourceDetailsListByPool() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/devopsinfrastructure/Azure.ResourceManager.DevOpsInfrastructure/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs b/sdk/devopsinfrastructure/Azure.ResourceManager.DevOpsInfrastructure/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs index 214351704086b..b3f54cb979555 100644 --- a/sdk/devopsinfrastructure/Azure.ResourceManager.DevOpsInfrastructure/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs +++ b/sdk/devopsinfrastructure/Azure.ResourceManager.DevOpsInfrastructure/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DevOpsInfrastructure.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DevOpsInfrastructure.Samples { public partial class Sample_ResourceGroupResourceExtensions { - // ImageVersions_ListByImage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetImageVersionsByImage_ImageVersionsListByImage() { // Generated from example definition: 2024-10-19/ImageVersions_ListByImage.json @@ -43,7 +43,7 @@ public async Task GetImageVersionsByImage_ImageVersionsListByImage() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/devopsinfrastructure/Azure.ResourceManager.DevOpsInfrastructure/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/devopsinfrastructure/Azure.ResourceManager.DevOpsInfrastructure/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 05839dc7be6d7..b2e44d0d2eaa6 100644 --- a/sdk/devopsinfrastructure/Azure.ResourceManager.DevOpsInfrastructure/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/devopsinfrastructure/Azure.ResourceManager.DevOpsInfrastructure/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DevOpsInfrastructure.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DevOpsInfrastructure.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Sku_ListByLocation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSkusByLocation_SkuListByLocation() { // Generated from example definition: 2024-10-19/Sku_ListByLocation.json @@ -42,12 +42,11 @@ public async Task GetSkusByLocation_SkuListByLocation() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SubscriptionUsages_Usages - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsages_SubscriptionUsagesUsages() { // Generated from example definition: 2024-10-19/SubscriptionUsages_Usages.json @@ -71,7 +70,7 @@ public async Task GetUsages_SubscriptionUsagesUsages() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/devspaces/Azure.ResourceManager.DevSpaces/samples/Generated/Samples/Sample_ControllerCollection.cs b/sdk/devspaces/Azure.ResourceManager.DevSpaces/samples/Generated/Samples/Sample_ControllerCollection.cs index b3a81e8cc3a5e..6106d1ae12059 100644 --- a/sdk/devspaces/Azure.ResourceManager.DevSpaces/samples/Generated/Samples/Sample_ControllerCollection.cs +++ b/sdk/devspaces/Azure.ResourceManager.DevSpaces/samples/Generated/Samples/Sample_ControllerCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DevSpaces.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DevSpaces.Samples { public partial class Sample_ControllerCollection { - // ControllersGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ControllersGet() { // Generated from example definition: specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersGet_example.json @@ -50,9 +50,8 @@ public async Task Get_ControllersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ControllersGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ControllersGet() { // Generated from example definition: specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersGet_example.json @@ -80,9 +79,8 @@ public async Task Exists_ControllersGet() Console.WriteLine($"Succeeded: {result}"); } - // ControllersGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ControllersGet() { // Generated from example definition: specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersGet_example.json @@ -110,7 +108,7 @@ public async Task GetIfExists_ControllersGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_ControllersGet() } } - // ControllersCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ControllersCreate() { // Generated from example definition: specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersCreate_example.json @@ -166,9 +163,8 @@ public async Task CreateOrUpdate_ControllersCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ControllersListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ControllersListByResourceGroup() { // Generated from example definition: specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersListByResourceGroup_example.json @@ -199,7 +195,7 @@ public async Task GetAll_ControllersListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/devspaces/Azure.ResourceManager.DevSpaces/samples/Generated/Samples/Sample_ControllerResource.cs b/sdk/devspaces/Azure.ResourceManager.DevSpaces/samples/Generated/Samples/Sample_ControllerResource.cs index c0caa12e45190..640d5995316c1 100644 --- a/sdk/devspaces/Azure.ResourceManager.DevSpaces/samples/Generated/Samples/Sample_ControllerResource.cs +++ b/sdk/devspaces/Azure.ResourceManager.DevSpaces/samples/Generated/Samples/Sample_ControllerResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DevSpaces.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DevSpaces.Samples { public partial class Sample_ControllerResource { - // ControllersGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ControllersGet() { // Generated from example definition: specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersGet_example.json @@ -47,9 +47,8 @@ public async Task Get_ControllersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ControllersDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ControllersDelete() { // Generated from example definition: specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersDelete_example.json @@ -71,12 +70,11 @@ public async Task Delete_ControllersDelete() // invoke the operation await controller.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ControllersUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ControllersUpdate() { // Generated from example definition: specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersUpdate_example.json @@ -113,9 +111,8 @@ public async Task Update_ControllersUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ControllersList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetControllers_ControllersList() { // Generated from example definition: specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersList_example.json @@ -142,12 +139,11 @@ public async Task GetControllers_ControllersList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ControllersListConnectionDetails - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConnectionDetails_ControllersListConnectionDetails() { // Generated from example definition: specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersListConnectionDetails_example.json diff --git a/sdk/devspaces/Azure.ResourceManager.DevSpaces/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs b/sdk/devspaces/Azure.ResourceManager.DevSpaces/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs index b6f78d894cfe2..9dc4f2e003ff1 100644 --- a/sdk/devspaces/Azure.ResourceManager.DevSpaces/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs +++ b/sdk/devspaces/Azure.ResourceManager.DevSpaces/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DevSpaces.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DevSpaces.Samples { public partial class Sample_ResourceGroupResourceExtensions { - // ContainerHostMappingsGetContainerHostMapping - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContainerHostMappingContainerHostMapping_ContainerHostMappingsGetContainerHostMapping() { // Generated from example definition: specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ContainerHostMappingsGetContainerHostMapping_example.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabArmTemplateCollection.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabArmTemplateCollection.cs index 55027b3b5d47b..809afe4f8be28 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabArmTemplateCollection.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabArmTemplateCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabArmTemplateCollection { - // ArmTemplates_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ArmTemplatesList() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ArmTemplates_List.json @@ -49,12 +49,11 @@ public async Task GetAll_ArmTemplatesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ArmTemplates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ArmTemplatesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ArmTemplates_Get.json @@ -88,9 +87,8 @@ public async Task Get_ArmTemplatesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ArmTemplates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ArmTemplatesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ArmTemplates_Get.json @@ -120,9 +118,8 @@ public async Task Exists_ArmTemplatesGet() Console.WriteLine($"Succeeded: {result}"); } - // ArmTemplates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ArmTemplatesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ArmTemplates_Get.json @@ -152,7 +149,7 @@ public async Task GetIfExists_ArmTemplatesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabArmTemplateResource.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabArmTemplateResource.cs index c544eeab51e59..5d9639178ac0e 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabArmTemplateResource.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabArmTemplateResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabArmTemplateResource { - // ArmTemplates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ArmTemplatesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ArmTemplates_Get.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabArtifactCollection.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabArtifactCollection.cs index 370b5c5a21a04..4a18de24cc413 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabArtifactCollection.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabArtifactCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabArtifactCollection { - // Artifacts_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ArtifactsList() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Artifacts_List.json @@ -49,12 +49,11 @@ public async Task GetAll_ArtifactsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Artifacts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ArtifactsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Artifacts_Get.json @@ -88,9 +87,8 @@ public async Task Get_ArtifactsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Artifacts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ArtifactsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Artifacts_Get.json @@ -120,9 +118,8 @@ public async Task Exists_ArtifactsGet() Console.WriteLine($"Succeeded: {result}"); } - // Artifacts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ArtifactsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Artifacts_Get.json @@ -152,7 +149,7 @@ public async Task GetIfExists_ArtifactsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabArtifactResource.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabArtifactResource.cs index 403170f186342..4510c79af37bc 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabArtifactResource.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabArtifactResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabArtifactResource { - // Artifacts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ArtifactsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Artifacts_Get.json @@ -48,9 +48,8 @@ public async Task Get_ArtifactsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Artifacts_GenerateArmTemplate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateArmTemplate_ArtifactsGenerateArmTemplate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Artifacts_GenerateArmTemplate.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabArtifactSourceCollection.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabArtifactSourceCollection.cs index 1a08bb189746b..57f3414ff3187 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabArtifactSourceCollection.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabArtifactSourceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabArtifactSourceCollection { - // ArtifactSources_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ArtifactSourcesList() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ArtifactSources_List.json @@ -49,12 +49,11 @@ public async Task GetAll_ArtifactSourcesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ArtifactSources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ArtifactSourcesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ArtifactSources_Get.json @@ -87,9 +86,8 @@ public async Task Get_ArtifactSourcesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ArtifactSources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ArtifactSourcesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ArtifactSources_Get.json @@ -118,9 +116,8 @@ public async Task Exists_ArtifactSourcesGet() Console.WriteLine($"Succeeded: {result}"); } - // ArtifactSources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ArtifactSourcesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ArtifactSources_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ArtifactSourcesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ArtifactSourcesGet() } } - // ArtifactSources_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ArtifactSourcesCreateOrUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ArtifactSources_CreateOrUpdate.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabArtifactSourceResource.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabArtifactSourceResource.cs index e4fbec1022199..9b5fb51f37279 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabArtifactSourceResource.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabArtifactSourceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabArtifactSourceResource { - // ArtifactSources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ArtifactSourcesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ArtifactSources_Get.json @@ -47,9 +47,8 @@ public async Task Get_ArtifactSourcesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ArtifactSources_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ArtifactSourcesDelete() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ArtifactSources_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_ArtifactSourcesDelete() // invoke the operation await devTestLabArtifactSource.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ArtifactSources_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ArtifactSourcesUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ArtifactSources_Update.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabCollection.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabCollection.cs index 23cf2a39e7114..6e6e30efc3c66 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabCollection.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabCollection { - // Labs_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_LabsListByResourceGroup() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_ListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_LabsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Labs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LabsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_Get.json @@ -86,9 +85,8 @@ public async Task Get_LabsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Labs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_LabsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_Get.json @@ -116,9 +114,8 @@ public async Task Exists_LabsGet() Console.WriteLine($"Succeeded: {result}"); } - // Labs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_LabsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_LabsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_LabsGet() } } - // Labs_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_LabsCreateOrUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_CreateOrUpdate.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabCostCollection.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabCostCollection.cs index a2542b870c091..be109d73d07f8 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabCostCollection.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabCostCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabCostCollection { - // Costs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CostsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Costs_Get.json @@ -50,9 +50,8 @@ public async Task Get_CostsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Costs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CostsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Costs_Get.json @@ -81,9 +80,8 @@ public async Task Exists_CostsGet() Console.WriteLine($"Succeeded: {result}"); } - // Costs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CostsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Costs_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_CostsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_CostsGet() } } - // Costs_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CostsCreateOrUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Costs_CreateOrUpdate.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabCostResource.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabCostResource.cs index 813e91a7df3ae..77812ab15ef41 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabCostResource.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabCostResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabCostResource { - // Costs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CostsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Costs_Get.json @@ -47,9 +47,8 @@ public async Task Get_CostsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Costs_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CostsCreateOrUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Costs_CreateOrUpdate.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabCustomImageCollection.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabCustomImageCollection.cs index d8213c458fad2..408300c166bef 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabCustomImageCollection.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabCustomImageCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabCustomImageCollection { - // CustomImages_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CustomImagesList() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/CustomImages_List.json @@ -49,12 +49,11 @@ public async Task GetAll_CustomImagesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CustomImages_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CustomImagesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/CustomImages_Get.json @@ -87,9 +86,8 @@ public async Task Get_CustomImagesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CustomImages_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CustomImagesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/CustomImages_Get.json @@ -118,9 +116,8 @@ public async Task Exists_CustomImagesGet() Console.WriteLine($"Succeeded: {result}"); } - // CustomImages_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CustomImagesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/CustomImages_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_CustomImagesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_CustomImagesGet() } } - // CustomImages_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CustomImagesCreateOrUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/CustomImages_CreateOrUpdate.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabCustomImageResource.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabCustomImageResource.cs index c4127969a2611..4933225012bab 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabCustomImageResource.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabCustomImageResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabCustomImageResource { - // CustomImages_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CustomImagesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/CustomImages_Get.json @@ -47,9 +47,8 @@ public async Task Get_CustomImagesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CustomImages_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CustomImagesDelete() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/CustomImages_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_CustomImagesDelete() // invoke the operation await devTestLabCustomImage.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CustomImages_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CustomImagesUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/CustomImages_Update.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabDiskCollection.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabDiskCollection.cs index d25dba10ba673..02ce8a75fdee6 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabDiskCollection.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabDiskCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabDiskCollection { - // Disks_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DisksList() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Disks_List.json @@ -50,12 +50,11 @@ public async Task GetAll_DisksList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Disks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DisksGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Disks_Get.json @@ -89,9 +88,8 @@ public async Task Get_DisksGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Disks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DisksGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Disks_Get.json @@ -121,9 +119,8 @@ public async Task Exists_DisksGet() Console.WriteLine($"Succeeded: {result}"); } - // Disks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DisksGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Disks_Get.json @@ -153,7 +150,7 @@ public async Task GetIfExists_DisksGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_DisksGet() } } - // Disks_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DisksCreateOrUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Disks_CreateOrUpdate.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabDiskResource.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabDiskResource.cs index 632b58866b5ef..ed5e6da53baaf 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabDiskResource.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabDiskResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabDiskResource { - // Disks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DisksGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Disks_Get.json @@ -48,9 +48,8 @@ public async Task Get_DisksGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Disks_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DisksDelete() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Disks_Delete.json @@ -74,12 +73,11 @@ public async Task Delete_DisksDelete() // invoke the operation await devTestLabDisk.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Disks_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DisksUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Disks_Update.json @@ -117,9 +115,8 @@ public async Task Update_DisksUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Disks_Attach - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Attach_DisksAttach() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Disks_Attach.json @@ -147,12 +144,11 @@ public async Task Attach_DisksAttach() }; await devTestLabDisk.AttachAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Disks_Detach - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Detach_DisksDetach() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Disks_Detach.json @@ -180,7 +176,7 @@ public async Task Detach_DisksDetach() }; await devTestLabDisk.DetachAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabEnvironmentCollection.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabEnvironmentCollection.cs index 47afba55cf70a..e1a388ba1089e 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabEnvironmentCollection.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabEnvironmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabEnvironmentCollection { - // Environments_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_EnvironmentsList() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Environments_List.json @@ -50,12 +50,11 @@ public async Task GetAll_EnvironmentsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Environments_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EnvironmentsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Environments_Get.json @@ -89,9 +88,8 @@ public async Task Get_EnvironmentsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Environments_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EnvironmentsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Environments_Get.json @@ -121,9 +119,8 @@ public async Task Exists_EnvironmentsGet() Console.WriteLine($"Succeeded: {result}"); } - // Environments_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EnvironmentsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Environments_Get.json @@ -153,7 +150,7 @@ public async Task GetIfExists_EnvironmentsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_EnvironmentsGet() } } - // Environments_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EnvironmentsCreateOrUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Environments_CreateOrUpdate.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabEnvironmentResource.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabEnvironmentResource.cs index 559673b46d72c..5d2c3d6453829 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabEnvironmentResource.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabEnvironmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabEnvironmentResource { - // Environments_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EnvironmentsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Environments_Get.json @@ -48,9 +48,8 @@ public async Task Get_EnvironmentsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Environments_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_EnvironmentsDelete() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Environments_Delete.json @@ -74,12 +73,11 @@ public async Task Delete_EnvironmentsDelete() // invoke the operation await devTestLabEnvironment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Environments_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_EnvironmentsUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Environments_Update.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabFormulaCollection.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabFormulaCollection.cs index c5096ec5531e4..4495fd702ebe9 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabFormulaCollection.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabFormulaCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabFormulaCollection { - // Formulas_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_FormulasList() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Formulas_List.json @@ -49,12 +49,11 @@ public async Task GetAll_FormulasList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Formulas_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FormulasGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Formulas_Get.json @@ -87,9 +86,8 @@ public async Task Get_FormulasGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Formulas_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_FormulasGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Formulas_Get.json @@ -118,9 +116,8 @@ public async Task Exists_FormulasGet() Console.WriteLine($"Succeeded: {result}"); } - // Formulas_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_FormulasGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Formulas_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_FormulasGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_FormulasGet() } } - // Formulas_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_FormulasCreateOrUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Formulas_CreateOrUpdate.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabFormulaResource.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabFormulaResource.cs index 9f36c2bca4ec0..5c3ee22728c0c 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabFormulaResource.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabFormulaResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabFormulaResource { - // Formulas_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FormulasGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Formulas_Get.json @@ -47,9 +47,8 @@ public async Task Get_FormulasGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Formulas_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_FormulasDelete() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Formulas_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_FormulasDelete() // invoke the operation await devTestLabFormula.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Formulas_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_FormulasUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Formulas_Update.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabGlobalScheduleCollection.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabGlobalScheduleCollection.cs index 5bfbbede9d80d..c8a20b26348b1 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabGlobalScheduleCollection.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabGlobalScheduleCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabGlobalScheduleCollection { - // GlobalSchedules_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GlobalSchedulesListByResourceGroup() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/GlobalSchedules_ListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_GlobalSchedulesListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GlobalSchedules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GlobalSchedulesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/GlobalSchedules_Get.json @@ -86,9 +85,8 @@ public async Task Get_GlobalSchedulesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GlobalSchedules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GlobalSchedulesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/GlobalSchedules_Get.json @@ -116,9 +114,8 @@ public async Task Exists_GlobalSchedulesGet() Console.WriteLine($"Succeeded: {result}"); } - // GlobalSchedules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GlobalSchedulesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/GlobalSchedules_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GlobalSchedulesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GlobalSchedulesGet() } } - // GlobalSchedules_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_GlobalSchedulesCreateOrUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/GlobalSchedules_CreateOrUpdate.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabGlobalScheduleResource.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabGlobalScheduleResource.cs index 07de6d5052464..662a5f89200c2 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabGlobalScheduleResource.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabGlobalScheduleResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabGlobalScheduleResource { - // GlobalSchedules_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDevTestLabGlobalSchedules_GlobalSchedulesListBySubscription() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/GlobalSchedules_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetDevTestLabGlobalSchedules_GlobalSchedulesListBySubscription Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GlobalSchedules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GlobalSchedulesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/GlobalSchedules_Get.json @@ -79,9 +78,8 @@ public async Task Get_GlobalSchedulesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GlobalSchedules_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_GlobalSchedulesDelete() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/GlobalSchedules_Delete.json @@ -103,12 +101,11 @@ public async Task Delete_GlobalSchedulesDelete() // invoke the operation await devTestLabGlobalSchedule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GlobalSchedules_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_GlobalSchedulesUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/GlobalSchedules_Update.json @@ -144,9 +141,8 @@ public async Task Update_GlobalSchedulesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GlobalSchedules_Execute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Execute_GlobalSchedulesExecute() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/GlobalSchedules_Execute.json @@ -168,12 +164,11 @@ public async Task Execute_GlobalSchedulesExecute() // invoke the operation await devTestLabGlobalSchedule.ExecuteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GlobalSchedules_Retarget - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Retarget_GlobalSchedulesRetarget() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/GlobalSchedules_Retarget.json @@ -200,7 +195,7 @@ public async Task Retarget_GlobalSchedulesRetarget() }; await devTestLabGlobalSchedule.RetargetAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabNotificationChannelCollection.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabNotificationChannelCollection.cs index 821edbfba81e9..cb9722ad4e8ea 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabNotificationChannelCollection.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabNotificationChannelCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabNotificationChannelCollection { - // NotificationChannels_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NotificationChannelsList() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/NotificationChannels_List.json @@ -49,12 +49,11 @@ public async Task GetAll_NotificationChannelsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NotificationChannels_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NotificationChannelsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/NotificationChannels_Get.json @@ -87,9 +86,8 @@ public async Task Get_NotificationChannelsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NotificationChannels_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NotificationChannelsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/NotificationChannels_Get.json @@ -118,9 +116,8 @@ public async Task Exists_NotificationChannelsGet() Console.WriteLine($"Succeeded: {result}"); } - // NotificationChannels_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NotificationChannelsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/NotificationChannels_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_NotificationChannelsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_NotificationChannelsGet() } } - // NotificationChannels_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NotificationChannelsCreateOrUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/NotificationChannels_CreateOrUpdate.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabNotificationChannelResource.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabNotificationChannelResource.cs index 0cb58e8500ccb..05aa8e6b08ddd 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabNotificationChannelResource.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabNotificationChannelResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabNotificationChannelResource { - // NotificationChannels_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NotificationChannelsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/NotificationChannels_Get.json @@ -47,9 +47,8 @@ public async Task Get_NotificationChannelsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NotificationChannels_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NotificationChannelsDelete() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/NotificationChannels_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_NotificationChannelsDelete() // invoke the operation await devTestLabNotificationChannel.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NotificationChannels_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NotificationChannelsUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/NotificationChannels_Update.json @@ -108,9 +106,8 @@ public async Task Update_NotificationChannelsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NotificationChannels_Notify - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Notify_NotificationChannelsNotify() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/NotificationChannels_Notify.json @@ -138,7 +135,7 @@ public async Task Notify_NotificationChannelsNotify() }; await devTestLabNotificationChannel.NotifyAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabPolicyCollection.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabPolicyCollection.cs index b6758ba0a9c9b..4970af76ebe8a 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabPolicyCollection.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabPolicyCollection { - // Policies_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PoliciesList() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Policies_List.json @@ -50,12 +50,11 @@ public async Task GetAll_PoliciesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Policies_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PoliciesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Policies_Get.json @@ -89,9 +88,8 @@ public async Task Get_PoliciesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Policies_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PoliciesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Policies_Get.json @@ -121,9 +119,8 @@ public async Task Exists_PoliciesGet() Console.WriteLine($"Succeeded: {result}"); } - // Policies_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PoliciesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Policies_Get.json @@ -153,7 +150,7 @@ public async Task GetIfExists_PoliciesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_PoliciesGet() } } - // Policies_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PoliciesCreateOrUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Policies_CreateOrUpdate.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabPolicyResource.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabPolicyResource.cs index 028adbb3fe467..b2130d148d2ae 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabPolicyResource.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabPolicyResource { - // Policies_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PoliciesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Policies_Get.json @@ -48,9 +48,8 @@ public async Task Get_PoliciesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Policies_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PoliciesDelete() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Policies_Delete.json @@ -74,12 +73,11 @@ public async Task Delete_PoliciesDelete() // invoke the operation await devTestLabPolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Policies_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PoliciesUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Policies_Update.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabResource.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabResource.cs index 9ae755d0b4da2..ed5c4b4135045 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabResource.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.DevTestLabs.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabResource { - // Labs_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDevTestLabs_LabsListBySubscription() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_ListBySubscription.json @@ -46,12 +46,11 @@ public async Task GetDevTestLabs_LabsListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Labs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LabsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_Get.json @@ -80,9 +79,8 @@ public async Task Get_LabsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Labs_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_LabsDelete() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_Delete.json @@ -104,12 +102,11 @@ public async Task Delete_LabsDelete() // invoke the operation await devTestLab.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Labs_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_LabsUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_Update.json @@ -139,9 +136,8 @@ public async Task Update_LabsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Labs_ClaimAnyVm - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ClaimAnyVm_LabsClaimAnyVm() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_ClaimAnyVm.json @@ -163,12 +159,11 @@ public async Task ClaimAnyVm_LabsClaimAnyVm() // invoke the operation await devTestLab.ClaimAnyVmAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Labs_CreateEnvironment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateEnvironment_LabsCreateEnvironment() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_CreateEnvironment.json @@ -215,12 +210,11 @@ public async Task CreateEnvironment_LabsCreateEnvironment() }; await devTestLab.CreateEnvironmentAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Labs_ExportResourceUsage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExportResourceUsage_LabsExportResourceUsage() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_ExportResourceUsage.json @@ -247,12 +241,11 @@ public async Task ExportResourceUsage_LabsExportResourceUsage() }; await devTestLab.ExportResourceUsageAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Labs_GenerateUploadUri - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateUploadUri_LabsGenerateUploadUri() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_GenerateUploadUri.json @@ -281,9 +274,8 @@ public async Task GenerateUploadUri_LabsGenerateUploadUri() Console.WriteLine($"Succeeded: {result}"); } - // Labs_ImportVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ImportVm_LabsImportVirtualMachine() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_ImportVirtualMachine.json @@ -310,12 +302,11 @@ public async Task ImportVm_LabsImportVirtualMachine() }; await devTestLab.ImportVmAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Labs_ListVhds - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVhds_LabsListVhds() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_ListVhds.json @@ -340,12 +331,11 @@ public async Task GetVhds_LabsListVhds() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GalleryImages_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetGalleryImages_GalleryImagesList() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/GalleryImages_List.json @@ -370,12 +360,11 @@ public async Task GetGalleryImages_GalleryImagesList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PolicySets_EvaluatePolicies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task EvaluatePolicies_PolicySetsEvaluatePolicies() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/PolicySets_EvaluatePolicies.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabScheduleCollection.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabScheduleCollection.cs index 6e3cc71d1c899..cc2bde5055f98 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabScheduleCollection.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabScheduleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabScheduleCollection { - // Schedules_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SchedulesList() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Schedules_List.json @@ -49,12 +49,11 @@ public async Task GetAll_SchedulesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Schedules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SchedulesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Schedules_Get.json @@ -87,9 +86,8 @@ public async Task Get_SchedulesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Schedules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SchedulesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Schedules_Get.json @@ -118,9 +116,8 @@ public async Task Exists_SchedulesGet() Console.WriteLine($"Succeeded: {result}"); } - // Schedules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SchedulesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Schedules_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_SchedulesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_SchedulesGet() } } - // Schedules_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SchedulesCreateOrUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Schedules_CreateOrUpdate.json @@ -226,9 +222,8 @@ public async Task CreateOrUpdate_SchedulesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Schedules_ListApplicable - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApplicable_SchedulesListApplicable() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Schedules_ListApplicable.json @@ -261,7 +256,7 @@ public async Task GetApplicable_SchedulesListApplicable() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabScheduleResource.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabScheduleResource.cs index 7fefc05bf1dcb..a6cb39fd17f7d 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabScheduleResource.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabScheduleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabScheduleResource { - // Schedules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SchedulesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Schedules_Get.json @@ -47,9 +47,8 @@ public async Task Get_SchedulesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Schedules_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SchedulesDelete() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Schedules_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_SchedulesDelete() // invoke the operation await devTestLabSchedule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Schedules_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SchedulesUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Schedules_Update.json @@ -114,9 +112,8 @@ public async Task Update_SchedulesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Schedules_Execute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Execute_SchedulesExecute() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Schedules_Execute.json @@ -139,7 +136,7 @@ public async Task Execute_SchedulesExecute() // invoke the operation await devTestLabSchedule.ExecuteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabSecretCollection.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabSecretCollection.cs index 3c7d1bdfce232..29f04969d7640 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabSecretCollection.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabSecretCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabSecretCollection { - // Secrets_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SecretsList() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Secrets_List.json @@ -49,12 +49,11 @@ public async Task GetAll_SecretsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Secrets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SecretsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Secrets_Get.json @@ -88,9 +87,8 @@ public async Task Get_SecretsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Secrets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SecretsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Secrets_Get.json @@ -120,9 +118,8 @@ public async Task Exists_SecretsGet() Console.WriteLine($"Succeeded: {result}"); } - // Secrets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SecretsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Secrets_Get.json @@ -152,7 +149,7 @@ public async Task GetIfExists_SecretsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_SecretsGet() } } - // Secrets_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SecretsCreateOrUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Secrets_CreateOrUpdate.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabSecretResource.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabSecretResource.cs index 6beb1e3a655f7..5af0b8f53e5bf 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabSecretResource.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabSecretResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabSecretResource { - // Secrets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SecretsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Secrets_Get.json @@ -48,9 +48,8 @@ public async Task Get_SecretsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Secrets_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SecretsDelete() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Secrets_Delete.json @@ -74,12 +73,11 @@ public async Task Delete_SecretsDelete() // invoke the operation await devTestLabSecret.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Secrets_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SecretsUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Secrets_Update.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabServiceFabricCollection.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabServiceFabricCollection.cs index 94a9e43938899..cdd6d0b8bfbed 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabServiceFabricCollection.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabServiceFabricCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabServiceFabricCollection { - // ServiceFabrics_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ServiceFabricsList() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceFabrics_List.json @@ -49,12 +49,11 @@ public async Task GetAll_ServiceFabricsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ServiceFabrics_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServiceFabricsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceFabrics_Get.json @@ -88,9 +87,8 @@ public async Task Get_ServiceFabricsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServiceFabrics_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ServiceFabricsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceFabrics_Get.json @@ -120,9 +118,8 @@ public async Task Exists_ServiceFabricsGet() Console.WriteLine($"Succeeded: {result}"); } - // ServiceFabrics_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ServiceFabricsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceFabrics_Get.json @@ -152,7 +149,7 @@ public async Task GetIfExists_ServiceFabricsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_ServiceFabricsGet() } } - // ServiceFabrics_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ServiceFabricsCreateOrUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceFabrics_CreateOrUpdate.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabServiceFabricResource.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabServiceFabricResource.cs index d77f7acdce870..20ba13d41ba85 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabServiceFabricResource.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabServiceFabricResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabServiceFabricResource { - // ServiceFabrics_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServiceFabricsGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceFabrics_Get.json @@ -48,9 +48,8 @@ public async Task Get_ServiceFabricsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServiceFabrics_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ServiceFabricsDelete() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceFabrics_Delete.json @@ -74,12 +73,11 @@ public async Task Delete_ServiceFabricsDelete() // invoke the operation await devTestLabServiceFabric.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ServiceFabrics_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ServiceFabricsUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceFabrics_Update.json @@ -117,9 +115,8 @@ public async Task Update_ServiceFabricsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServiceFabrics_ListApplicableSchedules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApplicableSchedules_ServiceFabricsListApplicableSchedules() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceFabrics_ListApplicableSchedules.json @@ -146,9 +143,8 @@ public async Task GetApplicableSchedules_ServiceFabricsListApplicableSchedules() Console.WriteLine($"Succeeded: {result}"); } - // ServiceFabrics_Start - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_ServiceFabricsStart() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceFabrics_Start.json @@ -172,12 +168,11 @@ public async Task Start_ServiceFabricsStart() // invoke the operation await devTestLabServiceFabric.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ServiceFabrics_Stop - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_ServiceFabricsStop() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceFabrics_Stop.json @@ -201,7 +196,7 @@ public async Task Stop_ServiceFabricsStop() // invoke the operation await devTestLabServiceFabric.StopAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabServiceFabricScheduleCollection.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabServiceFabricScheduleCollection.cs index 850c3b01d8f22..6ded5ab3a4761 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabServiceFabricScheduleCollection.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabServiceFabricScheduleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabServiceFabricScheduleCollection { - // ServiceFabricSchedules_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ServiceFabricSchedulesList() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceFabricSchedules_List.json @@ -51,12 +51,11 @@ public async Task GetAll_ServiceFabricSchedulesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ServiceFabricSchedules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServiceFabricSchedulesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceFabricSchedules_Get.json @@ -91,9 +90,8 @@ public async Task Get_ServiceFabricSchedulesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServiceFabricSchedules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ServiceFabricSchedulesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceFabricSchedules_Get.json @@ -124,9 +122,8 @@ public async Task Exists_ServiceFabricSchedulesGet() Console.WriteLine($"Succeeded: {result}"); } - // ServiceFabricSchedules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ServiceFabricSchedulesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceFabricSchedules_Get.json @@ -157,7 +154,7 @@ public async Task GetIfExists_ServiceFabricSchedulesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_ServiceFabricSchedulesGet() } } - // ServiceFabricSchedules_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ServiceFabricSchedulesCreateOrUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceFabricSchedules_CreateOrUpdate.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabServiceFabricScheduleResource.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabServiceFabricScheduleResource.cs index 0be43f1a61eb7..dae9267130de7 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabServiceFabricScheduleResource.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabServiceFabricScheduleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabServiceFabricScheduleResource { - // ServiceFabricSchedules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServiceFabricSchedulesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceFabricSchedules_Get.json @@ -49,9 +49,8 @@ public async Task Get_ServiceFabricSchedulesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServiceFabricSchedules_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ServiceFabricSchedulesDelete() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceFabricSchedules_Delete.json @@ -76,12 +75,11 @@ public async Task Delete_ServiceFabricSchedulesDelete() // invoke the operation await devTestLabServiceFabricSchedule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ServiceFabricSchedules_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ServiceFabricSchedulesUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceFabricSchedules_Update.json @@ -120,9 +118,8 @@ public async Task Update_ServiceFabricSchedulesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServiceFabricSchedules_Execute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Execute_ServiceFabricSchedulesExecute() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceFabricSchedules_Execute.json @@ -147,7 +144,7 @@ public async Task Execute_ServiceFabricSchedulesExecute() // invoke the operation await devTestLabServiceFabricSchedule.ExecuteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabServiceRunnerCollection.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabServiceRunnerCollection.cs index e4e1add2f0d8a..110f3fd6bab3f 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabServiceRunnerCollection.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabServiceRunnerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabServiceRunnerCollection { - // ServiceRunners_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServiceRunnersGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceRunners_Get.json @@ -50,9 +50,8 @@ public async Task Get_ServiceRunnersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServiceRunners_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ServiceRunnersGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceRunners_Get.json @@ -81,9 +80,8 @@ public async Task Exists_ServiceRunnersGet() Console.WriteLine($"Succeeded: {result}"); } - // ServiceRunners_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ServiceRunnersGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceRunners_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_ServiceRunnersGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_ServiceRunnersGet() } } - // ServiceRunners_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ServiceRunnersCreateOrUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceRunners_CreateOrUpdate.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabServiceRunnerResource.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabServiceRunnerResource.cs index 5b5919cd5fdaf..f14df789314b3 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabServiceRunnerResource.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabServiceRunnerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabServiceRunnerResource { - // ServiceRunners_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServiceRunnersGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceRunners_Get.json @@ -47,9 +47,8 @@ public async Task Get_ServiceRunnersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServiceRunners_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ServiceRunnersCreateOrUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceRunners_CreateOrUpdate.json @@ -94,9 +93,8 @@ public async Task Update_ServiceRunnersCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServiceRunners_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ServiceRunnersDelete() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/ServiceRunners_Delete.json @@ -119,7 +117,7 @@ public async Task Delete_ServiceRunnersDelete() // invoke the operation await devTestLabServiceRunner.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabUserCollection.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabUserCollection.cs index 77df6f09c69bc..2b6a15645334e 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabUserCollection.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabUserCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabUserCollection { - // Users_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_UsersList() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Users_List.json @@ -49,12 +49,11 @@ public async Task GetAll_UsersList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Users_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_UsersGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Users_Get.json @@ -87,9 +86,8 @@ public async Task Get_UsersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Users_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_UsersGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Users_Get.json @@ -118,9 +116,8 @@ public async Task Exists_UsersGet() Console.WriteLine($"Succeeded: {result}"); } - // Users_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_UsersGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Users_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_UsersGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_UsersGet() } } - // Users_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UsersCreateOrUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Users_CreateOrUpdate.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabUserResource.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabUserResource.cs index e758d45b624e6..6bafd36ac57d3 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabUserResource.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabUserResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabUserResource { - // Users_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_UsersGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Users_Get.json @@ -47,9 +47,8 @@ public async Task Get_UsersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Users_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_UsersDelete() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Users_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_UsersDelete() // invoke the operation await devTestLabUser.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Users_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UsersUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Users_Update.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabVirtualNetworkCollection.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabVirtualNetworkCollection.cs index f34ad35ab0a3a..a648e6e738e45 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabVirtualNetworkCollection.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabVirtualNetworkCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabVirtualNetworkCollection { - // VirtualNetworks_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VirtualNetworksList() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualNetworks_List.json @@ -48,12 +48,11 @@ public async Task GetAll_VirtualNetworksList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualNetworks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualNetworksGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualNetworks_Get.json @@ -86,9 +85,8 @@ public async Task Get_VirtualNetworksGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualNetworks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VirtualNetworksGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualNetworks_Get.json @@ -117,9 +115,8 @@ public async Task Exists_VirtualNetworksGet() Console.WriteLine($"Succeeded: {result}"); } - // VirtualNetworks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VirtualNetworksGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualNetworks_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_VirtualNetworksGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_VirtualNetworksGet() } } - // VirtualNetworks_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VirtualNetworksCreateOrUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualNetworks_CreateOrUpdate.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabVirtualNetworkResource.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabVirtualNetworkResource.cs index 28ecaeede26b0..68b155a81d652 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabVirtualNetworkResource.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabVirtualNetworkResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabVirtualNetworkResource { - // VirtualNetworks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualNetworksGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualNetworks_Get.json @@ -47,9 +47,8 @@ public async Task Get_VirtualNetworksGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualNetworks_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VirtualNetworksDelete() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualNetworks_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_VirtualNetworksDelete() // invoke the operation await devTestLabVirtualNetwork.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualNetworks_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VirtualNetworksUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualNetworks_Update.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabVmCollection.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabVmCollection.cs index 0da7e69aa42fb..4b55a0f51de53 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabVmCollection.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabVmCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabVmCollection { - // VirtualMachines_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VirtualMachinesList() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_List.json @@ -49,12 +49,11 @@ public async Task GetAll_VirtualMachinesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachines_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualMachinesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Get.json @@ -87,9 +86,8 @@ public async Task Get_VirtualMachinesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachines_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VirtualMachinesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Get.json @@ -118,9 +116,8 @@ public async Task Exists_VirtualMachinesGet() Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachines_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VirtualMachinesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_VirtualMachinesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_VirtualMachinesGet() } } - // VirtualMachines_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VirtualMachinesCreateOrUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_CreateOrUpdate.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabVmResource.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabVmResource.cs index 0f1e1becbef29..5523e1b3fbb9f 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabVmResource.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabVmResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabVmResource { - // VirtualMachines_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualMachinesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Get.json @@ -47,9 +47,8 @@ public async Task Get_VirtualMachinesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachines_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VirtualMachinesDelete() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_VirtualMachinesDelete() // invoke the operation await devTestLabVm.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachines_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VirtualMachinesUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Update.json @@ -108,9 +106,8 @@ public async Task Update_VirtualMachinesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachines_AddDataDisk - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AddDataDisk_VirtualMachinesAddDataDisk() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_AddDataDisk.json @@ -142,12 +139,11 @@ public async Task AddDataDisk_VirtualMachinesAddDataDisk() }; await devTestLabVm.AddDataDiskAsync(WaitUntil.Completed, dataDiskProperties); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachines_ApplyArtifacts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ApplyArtifacts_VirtualMachinesApplyArtifacts() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_ApplyArtifacts.json @@ -180,12 +176,11 @@ public async Task ApplyArtifacts_VirtualMachinesApplyArtifacts() }; await devTestLabVm.ApplyArtifactsAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachines_Claim - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Claim_VirtualMachinesClaim() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Claim.json @@ -208,12 +203,11 @@ public async Task Claim_VirtualMachinesClaim() // invoke the operation await devTestLabVm.ClaimAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachines_DetachDataDisk - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DetachDataDisk_VirtualMachinesDetachDataDisk() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_DetachDataDisk.json @@ -240,12 +234,11 @@ public async Task DetachDataDisk_VirtualMachinesDetachDataDisk() }; await devTestLabVm.DetachDataDiskAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachines_GetRdpFileContents - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRdpFileContents_VirtualMachinesGetRdpFileContents() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_GetRdpFileContents.json @@ -271,9 +264,8 @@ public async Task GetRdpFileContents_VirtualMachinesGetRdpFileContents() Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachines_ListApplicableSchedules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApplicableSchedules_VirtualMachinesListApplicableSchedules() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_ListApplicableSchedules.json @@ -299,9 +291,8 @@ public async Task GetApplicableSchedules_VirtualMachinesListApplicableSchedules( Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachines_Redeploy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Redeploy_VirtualMachinesRedeploy() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Redeploy.json @@ -324,12 +315,11 @@ public async Task Redeploy_VirtualMachinesRedeploy() // invoke the operation await devTestLabVm.RedeployAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachines_Resize - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Resize_VirtualMachinesResize() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Resize.json @@ -356,12 +346,11 @@ public async Task Resize_VirtualMachinesResize() }; await devTestLabVm.ResizeAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachines_Restart - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_VirtualMachinesRestart() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Restart.json @@ -384,12 +373,11 @@ public async Task Restart_VirtualMachinesRestart() // invoke the operation await devTestLabVm.RestartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachines_Start - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_VirtualMachinesStart() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Start.json @@ -412,12 +400,11 @@ public async Task Start_VirtualMachinesStart() // invoke the operation await devTestLabVm.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachines_Stop - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_VirtualMachinesStop() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Stop.json @@ -440,12 +427,11 @@ public async Task Stop_VirtualMachinesStop() // invoke the operation await devTestLabVm.StopAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachines_TransferDisks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TransferDisks_VirtualMachinesTransferDisks() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_TransferDisks.json @@ -468,12 +454,11 @@ public async Task TransferDisks_VirtualMachinesTransferDisks() // invoke the operation await devTestLabVm.TransferDisksAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachines_UnClaim - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UnClaim_VirtualMachinesUnClaim() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_UnClaim.json @@ -496,7 +481,7 @@ public async Task UnClaim_VirtualMachinesUnClaim() // invoke the operation await devTestLabVm.UnClaimAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabVmScheduleCollection.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabVmScheduleCollection.cs index 40c909378e57a..8d7bd8a3148b8 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabVmScheduleCollection.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabVmScheduleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabVmScheduleCollection { - // VirtualMachineSchedules_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VirtualMachineSchedulesList() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachineSchedules_List.json @@ -50,12 +50,11 @@ public async Task GetAll_VirtualMachineSchedulesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineSchedules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualMachineSchedulesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachineSchedules_Get.json @@ -89,9 +88,8 @@ public async Task Get_VirtualMachineSchedulesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachineSchedules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VirtualMachineSchedulesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachineSchedules_Get.json @@ -121,9 +119,8 @@ public async Task Exists_VirtualMachineSchedulesGet() Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachineSchedules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VirtualMachineSchedulesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachineSchedules_Get.json @@ -153,7 +150,7 @@ public async Task GetIfExists_VirtualMachineSchedulesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_VirtualMachineSchedulesGet() } } - // VirtualMachineSchedules_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VirtualMachineSchedulesCreateOrUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachineSchedules_CreateOrUpdate.json diff --git a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabVmScheduleResource.cs b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabVmScheduleResource.cs index 420533533075d..201a4cff79d18 100644 --- a/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabVmScheduleResource.cs +++ b/sdk/devtestlabs/Azure.ResourceManager.DevTestLabs/samples/Generated/Samples/Sample_DevTestLabVmScheduleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DevTestLabs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DevTestLabs.Samples { public partial class Sample_DevTestLabVmScheduleResource { - // VirtualMachineSchedules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualMachineSchedulesGet() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachineSchedules_Get.json @@ -48,9 +48,8 @@ public async Task Get_VirtualMachineSchedulesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachineSchedules_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VirtualMachineSchedulesDelete() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachineSchedules_Delete.json @@ -74,12 +73,11 @@ public async Task Delete_VirtualMachineSchedulesDelete() // invoke the operation await devTestLabVmSchedule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineSchedules_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VirtualMachineSchedulesUpdate() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachineSchedules_Update.json @@ -117,9 +115,8 @@ public async Task Update_VirtualMachineSchedulesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachineSchedules_Execute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Execute_VirtualMachineSchedulesExecute() { // Generated from example definition: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachineSchedules_Execute.json @@ -143,7 +140,7 @@ public async Task Execute_VirtualMachineSchedulesExecute() // invoke the operation await devTestLabVmSchedule.ExecuteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsDescriptionCollection.cs b/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsDescriptionCollection.cs index a7d3b8f657da2..5296ce6eab08f 100644 --- a/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsDescriptionCollection.cs +++ b/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsDescriptionCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.DigitalTwins.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DigitalTwins.Samples { public partial class Sample_DigitalTwinsDescriptionCollection { - // Get a DigitalTwinsInstance resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADigitalTwinsInstanceResource() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_example.json @@ -51,9 +51,8 @@ public async Task Get_GetADigitalTwinsInstanceResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a DigitalTwinsInstance resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADigitalTwinsInstanceResource() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_example.json @@ -81,9 +80,8 @@ public async Task Exists_GetADigitalTwinsInstanceResource() Console.WriteLine($"Succeeded: {result}"); } - // Get a DigitalTwinsInstance resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADigitalTwinsInstanceResource() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_example.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetADigitalTwinsInstanceResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetADigitalTwinsInstanceResource() } } - // Get a DigitalTwinsInstance resource with a private endpoint connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADigitalTwinsInstanceResourceWithAPrivateEndpointConnection() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_WithPrivateEndpointConnection_example.json @@ -157,9 +154,8 @@ public async Task Get_GetADigitalTwinsInstanceResourceWithAPrivateEndpointConnec Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a DigitalTwinsInstance resource with a private endpoint connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADigitalTwinsInstanceResourceWithAPrivateEndpointConnection() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_WithPrivateEndpointConnection_example.json @@ -187,9 +183,8 @@ public async Task Exists_GetADigitalTwinsInstanceResourceWithAPrivateEndpointCon Console.WriteLine($"Succeeded: {result}"); } - // Get a DigitalTwinsInstance resource with a private endpoint connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADigitalTwinsInstanceResourceWithAPrivateEndpointConnection() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_WithPrivateEndpointConnection_example.json @@ -217,7 +212,7 @@ public async Task GetIfExists_GetADigitalTwinsInstanceResourceWithAPrivateEndpoi if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -229,9 +224,8 @@ public async Task GetIfExists_GetADigitalTwinsInstanceResourceWithAPrivateEndpoi } } - // Get a DigitalTwinsInstance resource with identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADigitalTwinsInstanceResourceWithIdentity() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_WithIdentity_example.json @@ -263,9 +257,8 @@ public async Task Get_GetADigitalTwinsInstanceResourceWithIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a DigitalTwinsInstance resource with identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADigitalTwinsInstanceResourceWithIdentity() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_WithIdentity_example.json @@ -293,9 +286,8 @@ public async Task Exists_GetADigitalTwinsInstanceResourceWithIdentity() Console.WriteLine($"Succeeded: {result}"); } - // Get a DigitalTwinsInstance resource with identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADigitalTwinsInstanceResourceWithIdentity() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_WithIdentity_example.json @@ -323,7 +315,7 @@ public async Task GetIfExists_GetADigitalTwinsInstanceResourceWithIdentity() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -335,9 +327,8 @@ public async Task GetIfExists_GetADigitalTwinsInstanceResourceWithIdentity() } } - // Put a DigitalTwinsInstance resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutADigitalTwinsInstanceResource() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPut_example.json @@ -371,9 +362,8 @@ public async Task CreateOrUpdate_PutADigitalTwinsInstanceResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put a DigitalTwinsInstance resource with identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutADigitalTwinsInstanceResourceWithIdentity() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPut_WithIdentity_example.json @@ -416,9 +406,8 @@ public async Task CreateOrUpdate_PutADigitalTwinsInstanceResourceWithIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put a DigitalTwinsInstance resource with publicNetworkAccess property - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutADigitalTwinsInstanceResourceWithPublicNetworkAccessProperty() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPut_WithPublicNetworkAccess.json @@ -455,9 +444,8 @@ public async Task CreateOrUpdate_PutADigitalTwinsInstanceResourceWithPublicNetwo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get DigitalTwinsInstance resources by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetDigitalTwinsInstanceResourcesByResourceGroup() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsListByResourceGroup_example.json @@ -488,7 +476,7 @@ public async Task GetAll_GetDigitalTwinsInstanceResourcesByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsDescriptionResource.cs b/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsDescriptionResource.cs index 3c623a0a4ebf7..3645addcfb598 100644 --- a/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsDescriptionResource.cs +++ b/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsDescriptionResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.DigitalTwins.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DigitalTwins.Samples { public partial class Sample_DigitalTwinsDescriptionResource { - // Get a DigitalTwinsInstance resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADigitalTwinsInstanceResource() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_example.json @@ -48,9 +48,8 @@ public async Task Get_GetADigitalTwinsInstanceResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a DigitalTwinsInstance resource with a private endpoint connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADigitalTwinsInstanceResourceWithAPrivateEndpointConnection() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_WithPrivateEndpointConnection_example.json @@ -79,9 +78,8 @@ public async Task Get_GetADigitalTwinsInstanceResourceWithAPrivateEndpointConnec Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a DigitalTwinsInstance resource with identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADigitalTwinsInstanceResourceWithIdentity() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_WithIdentity_example.json @@ -110,9 +108,8 @@ public async Task Get_GetADigitalTwinsInstanceResourceWithIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch a DigitalTwinsInstance resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchADigitalTwinsInstanceResource() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPatch_example.json @@ -149,9 +146,8 @@ public async Task Update_PatchADigitalTwinsInstanceResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch a DigitalTwinsInstance resource with identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchADigitalTwinsInstanceResourceWithIdentity() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPatch_WithIdentity_example.json @@ -185,9 +181,8 @@ public async Task Update_PatchADigitalTwinsInstanceResourceWithIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch a DigitalTwinsInstance resource with publicNetworkAccess property - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchADigitalTwinsInstanceResourceWithPublicNetworkAccessProperty() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPatch_WithPublicNetworkAccess.json @@ -221,9 +216,8 @@ public async Task Update_PatchADigitalTwinsInstanceResourceWithPublicNetworkAcce Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a DigitalTwinsInstance resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteADigitalTwinsInstanceResource() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsDelete_example.json @@ -253,9 +247,8 @@ public async Task Delete_DeleteADigitalTwinsInstanceResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a DigitalTwinsInstance resource with identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteADigitalTwinsInstanceResourceWithIdentity() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsDelete_WithIdentity_example.json @@ -285,9 +278,8 @@ public async Task Delete_DeleteADigitalTwinsInstanceResourceWithIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get DigitalTwinsInstance resources by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDigitalTwinsDescriptions_GetDigitalTwinsInstanceResourcesBySubscription() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsList_example.json @@ -314,12 +306,11 @@ public async Task GetDigitalTwinsDescriptions_GetDigitalTwinsInstanceResourcesBy Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Check name Availability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckDigitalTwinsNameAvailability_CheckNameAvailability() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsCheckNameAvailability_example.json diff --git a/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsEndpointResource.cs b/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsEndpointResource.cs index 2f0c5edad8ed5..664d5d312589c 100644 --- a/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsEndpointResource.cs +++ b/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsEndpointResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DigitalTwins.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DigitalTwins.Samples { public partial class Sample_DigitalTwinsEndpointResource { - // Get a DigitalTwinsInstance endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADigitalTwinsInstanceEndpoint() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointGet_example.json @@ -47,9 +47,8 @@ public async Task Get_GetADigitalTwinsInstanceEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a DigitalTwinsInstance endpoint with identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADigitalTwinsInstanceEndpointWithIdentity() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointGet_WithIdentity_example.json @@ -79,9 +78,8 @@ public async Task Get_GetADigitalTwinsInstanceEndpointWithIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put a DigitalTwinsEndpoint resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PutADigitalTwinsEndpointResource() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_example.json @@ -118,9 +116,8 @@ public async Task Update_PutADigitalTwinsEndpointResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put a DigitalTwinsEndpoint resource with identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PutADigitalTwinsEndpointResourceWithIdentity() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_WithIdentity_example.json @@ -157,9 +154,8 @@ public async Task Update_PutADigitalTwinsEndpointResourceWithIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put a DigitalTwinsEndpoint resource with user assigned identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PutADigitalTwinsEndpointResourceWithUserAssignedIdentity() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_WithUserIdentity_example.json @@ -201,9 +197,8 @@ public async Task Update_PutADigitalTwinsEndpointResourceWithUserAssignedIdentit Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a DigitalTwinsInstance endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteADigitalTwinsInstanceEndpoint() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointDelete_example.json @@ -234,9 +229,8 @@ public async Task Delete_DeleteADigitalTwinsInstanceEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a DigitalTwinsInstance endpoint with identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteADigitalTwinsInstanceEndpointWithIdentity() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointDelete_WithIdentity_example.json diff --git a/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsEndpointResourceCollection.cs b/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsEndpointResourceCollection.cs index dfcc002d6066a..183b32bb49daf 100644 --- a/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsEndpointResourceCollection.cs +++ b/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsEndpointResourceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DigitalTwins.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DigitalTwins.Samples { public partial class Sample_DigitalTwinsEndpointResourceCollection { - // Get a DigitalTwinsInstance endpoints - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetADigitalTwinsInstanceEndpoints() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointsGet_example.json @@ -49,12 +49,11 @@ public async Task GetAll_GetADigitalTwinsInstanceEndpoints() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a DigitalTwinsInstance endpoints with identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetADigitalTwinsInstanceEndpointsWithIdentity() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointsGet_WithIdentity_example.json @@ -86,12 +85,11 @@ public async Task GetAll_GetADigitalTwinsInstanceEndpointsWithIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a DigitalTwinsInstance endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADigitalTwinsInstanceEndpoint() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointGet_example.json @@ -124,9 +122,8 @@ public async Task Get_GetADigitalTwinsInstanceEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a DigitalTwinsInstance endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADigitalTwinsInstanceEndpoint() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointGet_example.json @@ -155,9 +152,8 @@ public async Task Exists_GetADigitalTwinsInstanceEndpoint() Console.WriteLine($"Succeeded: {result}"); } - // Get a DigitalTwinsInstance endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADigitalTwinsInstanceEndpoint() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointGet_example.json @@ -186,7 +182,7 @@ public async Task GetIfExists_GetADigitalTwinsInstanceEndpoint() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -198,9 +194,8 @@ public async Task GetIfExists_GetADigitalTwinsInstanceEndpoint() } } - // Get a DigitalTwinsInstance endpoint with identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADigitalTwinsInstanceEndpointWithIdentity() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointGet_WithIdentity_example.json @@ -233,9 +228,8 @@ public async Task Get_GetADigitalTwinsInstanceEndpointWithIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a DigitalTwinsInstance endpoint with identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADigitalTwinsInstanceEndpointWithIdentity() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointGet_WithIdentity_example.json @@ -264,9 +258,8 @@ public async Task Exists_GetADigitalTwinsInstanceEndpointWithIdentity() Console.WriteLine($"Succeeded: {result}"); } - // Get a DigitalTwinsInstance endpoint with identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADigitalTwinsInstanceEndpointWithIdentity() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointGet_WithIdentity_example.json @@ -295,7 +288,7 @@ public async Task GetIfExists_GetADigitalTwinsInstanceEndpointWithIdentity() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -307,9 +300,8 @@ public async Task GetIfExists_GetADigitalTwinsInstanceEndpointWithIdentity() } } - // Put a DigitalTwinsEndpoint resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutADigitalTwinsEndpointResource() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_example.json @@ -349,9 +341,8 @@ public async Task CreateOrUpdate_PutADigitalTwinsEndpointResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put a DigitalTwinsEndpoint resource with identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutADigitalTwinsEndpointResourceWithIdentity() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_WithIdentity_example.json @@ -391,9 +382,8 @@ public async Task CreateOrUpdate_PutADigitalTwinsEndpointResourceWithIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put a DigitalTwinsEndpoint resource with user assigned identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutADigitalTwinsEndpointResourceWithUserAssignedIdentity() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_WithUserIdentity_example.json diff --git a/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsPrivateEndpointConnectionCollection.cs b/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsPrivateEndpointConnectionCollection.cs index 46b0874bd213f..2117b162c23bd 100644 --- a/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsPrivateEndpointConnectionCollection.cs +++ b/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DigitalTwins.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DigitalTwins.Samples { public partial class Sample_DigitalTwinsPrivateEndpointConnectionCollection { - // List private endpoint connection properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPrivateEndpointConnectionProperties() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionsList_example.json @@ -49,12 +49,11 @@ public async Task GetAll_ListPrivateEndpointConnectionProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get private endpoint connection properties for the given private endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateEndpointConnectionPropertiesForTheGivenPrivateEndpoint() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionByConnectionName_example.json @@ -87,9 +86,8 @@ public async Task Get_GetPrivateEndpointConnectionPropertiesForTheGivenPrivateEn Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get private endpoint connection properties for the given private endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPrivateEndpointConnectionPropertiesForTheGivenPrivateEndpoint() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionByConnectionName_example.json @@ -118,9 +116,8 @@ public async Task Exists_GetPrivateEndpointConnectionPropertiesForTheGivenPrivat Console.WriteLine($"Succeeded: {result}"); } - // Get private endpoint connection properties for the given private endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPrivateEndpointConnectionPropertiesForTheGivenPrivateEndpoint() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionByConnectionName_example.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetPrivateEndpointConnectionPropertiesForTheGivenP if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetPrivateEndpointConnectionPropertiesForTheGivenP } } - // Update the status of a private endpoint connection with the given name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateTheStatusOfAPrivateEndpointConnectionWithTheGivenName() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionPut_example.json diff --git a/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsPrivateEndpointConnectionResource.cs b/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsPrivateEndpointConnectionResource.cs index c443100a64067..2ebce7d3049d2 100644 --- a/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsPrivateEndpointConnectionResource.cs +++ b/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DigitalTwins.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DigitalTwins.Samples { public partial class Sample_DigitalTwinsPrivateEndpointConnectionResource { - // Get private endpoint connection properties for the given private endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateEndpointConnectionPropertiesForTheGivenPrivateEndpoint() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionByConnectionName_example.json @@ -47,9 +47,8 @@ public async Task Get_GetPrivateEndpointConnectionPropertiesForTheGivenPrivateEn Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete private endpoint connection with the specified name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletePrivateEndpointConnectionWithTheSpecifiedName() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionDelete_example.json @@ -72,12 +71,11 @@ public async Task Delete_DeletePrivateEndpointConnectionWithTheSpecifiedName() // invoke the operation await digitalTwinsPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update the status of a private endpoint connection with the given name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateTheStatusOfAPrivateEndpointConnectionWithTheGivenName() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionPut_example.json diff --git a/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsPrivateLinkResource.cs b/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsPrivateLinkResource.cs index 4c7300c1f7fb5..bfc21c79d40e2 100644 --- a/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsPrivateLinkResource.cs +++ b/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DigitalTwins.Samples { public partial class Sample_DigitalTwinsPrivateLinkResource { - // Get the specified private link resource for the given Digital Twin - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheSpecifiedPrivateLinkResourceForTheGivenDigitalTwin() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateLinkResourcesByGroupId_example.json diff --git a/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsPrivateLinkResourceCollection.cs b/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsPrivateLinkResourceCollection.cs index cedd77064734d..0c66490737ea5 100644 --- a/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsPrivateLinkResourceCollection.cs +++ b/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_DigitalTwinsPrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DigitalTwins.Samples { public partial class Sample_DigitalTwinsPrivateLinkResourceCollection { - // List private link resources for given Digital Twin - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPrivateLinkResourcesForGivenDigitalTwin() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateLinkResourcesList_example.json @@ -48,12 +48,11 @@ public async Task GetAll_ListPrivateLinkResourcesForGivenDigitalTwin() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the specified private link resource for the given Digital Twin - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheSpecifiedPrivateLinkResourceForTheGivenDigitalTwin() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateLinkResourcesByGroupId_example.json @@ -86,9 +85,8 @@ public async Task Get_GetTheSpecifiedPrivateLinkResourceForTheGivenDigitalTwin() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the specified private link resource for the given Digital Twin - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheSpecifiedPrivateLinkResourceForTheGivenDigitalTwin() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateLinkResourcesByGroupId_example.json @@ -117,9 +115,8 @@ public async Task Exists_GetTheSpecifiedPrivateLinkResourceForTheGivenDigitalTwi Console.WriteLine($"Succeeded: {result}"); } - // Get the specified private link resource for the given Digital Twin - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheSpecifiedPrivateLinkResourceForTheGivenDigitalTwin() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateLinkResourcesByGroupId_example.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetTheSpecifiedPrivateLinkResourceForTheGivenDigit if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_TimeSeriesDatabaseConnectionCollection.cs b/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_TimeSeriesDatabaseConnectionCollection.cs index f401264fd2dcd..ffc9c19fd0354 100644 --- a/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_TimeSeriesDatabaseConnectionCollection.cs +++ b/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_TimeSeriesDatabaseConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DigitalTwins.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DigitalTwins.Samples { public partial class Sample_TimeSeriesDatabaseConnectionCollection { - // List time series database connections for a DigitalTwins instance. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTimeSeriesDatabaseConnectionsForADigitalTwinsInstance() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsList_example.json @@ -49,12 +49,11 @@ public async Task GetAll_ListTimeSeriesDatabaseConnectionsForADigitalTwinsInstan Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get time series database connection for a DigitalTwins instance. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTimeSeriesDatabaseConnectionForADigitalTwinsInstance() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsGet_example.json @@ -87,9 +86,8 @@ public async Task Get_GetTimeSeriesDatabaseConnectionForADigitalTwinsInstance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get time series database connection for a DigitalTwins instance. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTimeSeriesDatabaseConnectionForADigitalTwinsInstance() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsGet_example.json @@ -118,9 +116,8 @@ public async Task Exists_GetTimeSeriesDatabaseConnectionForADigitalTwinsInstance Console.WriteLine($"Succeeded: {result}"); } - // Get time series database connection for a DigitalTwins instance. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTimeSeriesDatabaseConnectionForADigitalTwinsInstance() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsGet_example.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetTimeSeriesDatabaseConnectionForADigitalTwinsIns if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetTimeSeriesDatabaseConnectionForADigitalTwinsIns } } - // Create or replace a time series database connection for a DigitalTwins instance with user assigned identity. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrReplaceATimeSeriesDatabaseConnectionForADigitalTwinsInstanceWithUserAssignedIdentity() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_WithUserIdentity_example.json @@ -209,9 +205,8 @@ public async Task CreateOrUpdate_CreateOrReplaceATimeSeriesDatabaseConnectionFor Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or replace a time series database connection for a DigitalTwins instance. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrReplaceATimeSeriesDatabaseConnectionForADigitalTwinsInstance() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_example.json diff --git a/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_TimeSeriesDatabaseConnectionResource.cs b/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_TimeSeriesDatabaseConnectionResource.cs index 6cd80fc2081f5..3b22e90a81b48 100644 --- a/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_TimeSeriesDatabaseConnectionResource.cs +++ b/sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/samples/Generated/Samples/Sample_TimeSeriesDatabaseConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DigitalTwins.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DigitalTwins.Samples { public partial class Sample_TimeSeriesDatabaseConnectionResource { - // Get time series database connection for a DigitalTwins instance. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTimeSeriesDatabaseConnectionForADigitalTwinsInstance() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsGet_example.json @@ -47,9 +47,8 @@ public async Task Get_GetTimeSeriesDatabaseConnectionForADigitalTwinsInstance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or replace a time series database connection for a DigitalTwins instance with user assigned identity. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrReplaceATimeSeriesDatabaseConnectionForADigitalTwinsInstanceWithUserAssignedIdentity() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_WithUserIdentity_example.json @@ -92,9 +91,8 @@ public async Task Update_CreateOrReplaceATimeSeriesDatabaseConnectionForADigital Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or replace a time series database connection for a DigitalTwins instance. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrReplaceATimeSeriesDatabaseConnectionForADigitalTwinsInstance() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_example.json @@ -135,9 +133,8 @@ public async Task Update_CreateOrReplaceATimeSeriesDatabaseConnectionForADigital Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a time series database connection for a DigitalTwins instance. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteATimeSeriesDatabaseConnectionForADigitalTwinsInstance() { // Generated from example definition: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsDelete_example.json diff --git a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_EdgeOrderAddressCollection.cs b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_EdgeOrderAddressCollection.cs index f8c2aa5a2a958..4fb90746f2848 100644 --- a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_EdgeOrderAddressCollection.cs +++ b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_EdgeOrderAddressCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.EdgeOrder.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EdgeOrder.Samples { public partial class Sample_EdgeOrderAddressCollection { - // ListAddressesAtResourceGroupLevel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAddressesAtResourceGroupLevel() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/ListAddressesAtResourceGroupLevel.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAddressesAtResourceGroupLevel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetAddressByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAddressByName() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/GetAddressByName.json @@ -86,9 +85,8 @@ public async Task Get_GetAddressByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetAddressByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAddressByName() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/GetAddressByName.json @@ -116,9 +114,8 @@ public async Task Exists_GetAddressByName() Console.WriteLine($"Succeeded: {result}"); } - // GetAddressByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAddressByName() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/GetAddressByName.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetAddressByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetAddressByName() } } - // CreateAddress - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAddress() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/CreateAddress.json diff --git a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_EdgeOrderAddressResource.cs b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_EdgeOrderAddressResource.cs index 37e57f281ea44..3e0a50479ef58 100644 --- a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_EdgeOrderAddressResource.cs +++ b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_EdgeOrderAddressResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.EdgeOrder.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EdgeOrder.Samples { public partial class Sample_EdgeOrderAddressResource { - // ListAddressesAtSubscriptionLevel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEdgeOrderAddresses_ListAddressesAtSubscriptionLevel() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/ListAddressesAtSubscriptionLevel.json @@ -45,12 +45,11 @@ public async Task GetEdgeOrderAddresses_ListAddressesAtSubscriptionLevel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetAddressByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAddressByName() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/GetAddressByName.json @@ -79,9 +78,8 @@ public async Task Get_GetAddressByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteAddressByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAddressByName() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/DeleteAddressByName.json @@ -103,12 +101,11 @@ public async Task Delete_DeleteAddressByName() // invoke the operation await edgeOrderAddress.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // UpdateAddress - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAddress() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/UpdateAddress.json diff --git a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_EdgeOrderCollection.cs b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_EdgeOrderCollection.cs index 21658175eab05..fb639608bbe3f 100644 --- a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_EdgeOrderCollection.cs +++ b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_EdgeOrderCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EdgeOrder.Samples { public partial class Sample_EdgeOrderCollection { - // GetOrderByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetOrderByName() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/GetOrderByName.json @@ -50,9 +50,8 @@ public async Task Get_GetOrderByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetOrderByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetOrderByName() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/GetOrderByName.json @@ -81,9 +80,8 @@ public async Task Exists_GetOrderByName() Console.WriteLine($"Succeeded: {result}"); } - // GetOrderByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetOrderByName() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/GetOrderByName.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetOrderByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_EdgeOrderItemCollection.cs b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_EdgeOrderItemCollection.cs index 189abd92b5de5..55f3624c32cef 100644 --- a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_EdgeOrderItemCollection.cs +++ b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_EdgeOrderItemCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.EdgeOrder.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EdgeOrder.Samples { public partial class Sample_EdgeOrderItemCollection { - // ListOrderItemsAtResourceGroupLevel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListOrderItemsAtResourceGroupLevel() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/ListOrderItemsAtResourceGroupLevel.json @@ -49,12 +49,11 @@ public async Task GetAll_ListOrderItemsAtResourceGroupLevel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetOrderItemByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetOrderItemByName() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/GetOrderItemByName.json @@ -86,9 +85,8 @@ public async Task Get_GetOrderItemByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetOrderItemByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetOrderItemByName() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/GetOrderItemByName.json @@ -116,9 +114,8 @@ public async Task Exists_GetOrderItemByName() Console.WriteLine($"Succeeded: {result}"); } - // GetOrderItemByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetOrderItemByName() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/GetOrderItemByName.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetOrderItemByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetOrderItemByName() } } - // CreateOrderItem - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrderItem() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/CreateOrderItem.json diff --git a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_EdgeOrderItemResource.cs b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_EdgeOrderItemResource.cs index b9c9dbdbe7b21..b98533dab0115 100644 --- a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_EdgeOrderItemResource.cs +++ b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_EdgeOrderItemResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.EdgeOrder.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EdgeOrder.Samples { public partial class Sample_EdgeOrderItemResource { - // ListOrderItemsAtSubscriptionLevel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEdgeOrderItems_ListOrderItemsAtSubscriptionLevel() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/ListOrderItemsAtSubscriptionLevel.json @@ -45,12 +45,11 @@ public async Task GetEdgeOrderItems_ListOrderItemsAtSubscriptionLevel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetOrderItemByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetOrderItemByName() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/GetOrderItemByName.json @@ -79,9 +78,8 @@ public async Task Get_GetOrderItemByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteOrderItemByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteOrderItemByName() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/DeleteOrderItemByName.json @@ -103,12 +101,11 @@ public async Task Delete_DeleteOrderItemByName() // invoke the operation await edgeOrderItem.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // UpdateOrderItem - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateOrderItem() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/UpdateOrderItem.json @@ -155,9 +152,8 @@ public async Task Update_UpdateOrderItem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CancelOrderItem - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cancel_CancelOrderItem() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/CancelOrderItem.json @@ -180,12 +176,11 @@ public async Task Cancel_CancelOrderItem() EdgeOrderItemCancellationReason cancellationReason = new EdgeOrderItemCancellationReason("Order cancelled"); await edgeOrderItem.CancelAsync(cancellationReason); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ReturnOrderItem - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Return_ReturnOrderItem() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/ReturnOrderItem.json @@ -208,7 +203,7 @@ public async Task Return_ReturnOrderItem() EdgeOrderItemReturnContent content = new EdgeOrderItemReturnContent("Order returned"); await edgeOrderItem.ReturnAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_EdgeOrderResource.cs b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_EdgeOrderResource.cs index b409ac573c71f..3b653844390e9 100644 --- a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_EdgeOrderResource.cs +++ b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_EdgeOrderResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EdgeOrder.Samples { public partial class Sample_EdgeOrderResource { - // GetOrderByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetOrderByName() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/GetOrderByName.json diff --git a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs index eff743f6623c4..f77c514588cbe 100644 --- a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs +++ b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EdgeOrder.Samples { public partial class Sample_ResourceGroupResourceExtensions { - // ListOrderAtResourceGroupLevel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEdgeOrders_ListOrderAtResourceGroupLevel() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/ListOrderAtResourceGroupLevel.json @@ -45,7 +45,7 @@ public async Task GetEdgeOrders_ListOrderAtResourceGroupLevel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 5593f0561604a..656a5e9919bdf 100644 --- a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.EdgeOrder.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EdgeOrder.Samples { public partial class Sample_SubscriptionResourceExtensions { - // ListProductFamilies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetProductFamilies_ListProductFamilies() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/ListProductFamilies.json @@ -52,12 +52,11 @@ public async Task GetProductFamilies_ListProductFamilies() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListConfigurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConfigurations_ListConfigurations() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/ListConfigurations.json @@ -98,12 +97,11 @@ public async Task GetConfigurations_ListConfigurations() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListProductFamiliesMetadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetProductFamiliesMetadata_ListProductFamiliesMetadata() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/ListProductFamiliesMetadata.json @@ -126,12 +124,11 @@ public async Task GetProductFamiliesMetadata_ListProductFamiliesMetadata() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListOrderAtSubscriptionLevel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEdgeOrders_ListOrderAtSubscriptionLevel() { // Generated from example definition: specification/edgeorder/resource-manager/Microsoft.EdgeOrder/stable/2021-12-01/examples/ListOrderAtSubscriptionLevel.json @@ -158,7 +155,7 @@ public async Task GetEdgeOrders_ListOrderAtSubscriptionLevel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/edgezones/Azure.ResourceManager.EdgeZones/samples/Generated/Samples/Sample_ExtendedZoneCollection.cs b/sdk/edgezones/Azure.ResourceManager.EdgeZones/samples/Generated/Samples/Sample_ExtendedZoneCollection.cs index d44331308ac09..66c48a5f7b86e 100644 --- a/sdk/edgezones/Azure.ResourceManager.EdgeZones/samples/Generated/Samples/Sample_ExtendedZoneCollection.cs +++ b/sdk/edgezones/Azure.ResourceManager.EdgeZones/samples/Generated/Samples/Sample_ExtendedZoneCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EdgeZones.Samples { public partial class Sample_ExtendedZoneCollection { - // ListExtendedZones - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListExtendedZones() { // Generated from example definition: specification/edgezones/resource-manager/Microsoft.EdgeZones/preview/2024-04-01-preview/examples/ExtendedZones_ListBySubscription.json @@ -47,12 +47,11 @@ public async Task GetAll_ListExtendedZones() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetExtendedZone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetExtendedZone() { // Generated from example definition: specification/edgezones/resource-manager/Microsoft.EdgeZones/preview/2024-04-01-preview/examples/ExtendedZones_Get.json @@ -83,9 +82,8 @@ public async Task Get_GetExtendedZone() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetExtendedZone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetExtendedZone() { // Generated from example definition: specification/edgezones/resource-manager/Microsoft.EdgeZones/preview/2024-04-01-preview/examples/ExtendedZones_Get.json @@ -112,9 +110,8 @@ public async Task Exists_GetExtendedZone() Console.WriteLine($"Succeeded: {result}"); } - // GetExtendedZone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetExtendedZone() { // Generated from example definition: specification/edgezones/resource-manager/Microsoft.EdgeZones/preview/2024-04-01-preview/examples/ExtendedZones_Get.json @@ -141,7 +138,7 @@ public async Task GetIfExists_GetExtendedZone() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/edgezones/Azure.ResourceManager.EdgeZones/samples/Generated/Samples/Sample_ExtendedZoneResource.cs b/sdk/edgezones/Azure.ResourceManager.EdgeZones/samples/Generated/Samples/Sample_ExtendedZoneResource.cs index 89ecc684d1b89..70e2700b736ce 100644 --- a/sdk/edgezones/Azure.ResourceManager.EdgeZones/samples/Generated/Samples/Sample_ExtendedZoneResource.cs +++ b/sdk/edgezones/Azure.ResourceManager.EdgeZones/samples/Generated/Samples/Sample_ExtendedZoneResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EdgeZones.Samples { public partial class Sample_ExtendedZoneResource { - // GetExtendedZone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetExtendedZone() { // Generated from example definition: specification/edgezones/resource-manager/Microsoft.EdgeZones/preview/2024-04-01-preview/examples/ExtendedZones_Get.json @@ -44,9 +44,8 @@ public async Task Get_GetExtendedZone() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RegisterExtendedZone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Register_RegisterExtendedZone() { // Generated from example definition: specification/edgezones/resource-manager/Microsoft.EdgeZones/preview/2024-04-01-preview/examples/ExtendedZones_Register.json @@ -74,9 +73,8 @@ public async Task Register_RegisterExtendedZone() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UnregisterExtendedZone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Unregister_UnregisterExtendedZone() { // Generated from example definition: specification/edgezones/resource-manager/Microsoft.EdgeZones/preview/2024-04-01-preview/examples/ExtendedZones_Unregister.json diff --git a/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_ElasticMonitorResource.cs b/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_ElasticMonitorResource.cs index 107443f4e6e66..84c96bf1ef04c 100644 --- a/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_ElasticMonitorResource.cs +++ b/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_ElasticMonitorResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Elastic.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Elastic.Samples { public partial class Sample_ElasticMonitorResource { - // Monitors_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetElasticMonitorResources_MonitorsList() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/Monitors_List.json @@ -45,12 +45,11 @@ public async Task GetElasticMonitorResources_MonitorsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Monitors_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MonitorsGet() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/Monitors_Get.json @@ -79,9 +78,8 @@ public async Task Get_MonitorsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Monitors_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_MonitorsUpdate() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/Monitors_Update.json @@ -112,9 +110,8 @@ public async Task Update_MonitorsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Monitors_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_MonitorsDelete() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/Monitors_Delete.json @@ -136,12 +133,11 @@ public async Task Delete_MonitorsDelete() // invoke the operation await elasticMonitorResource.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // MonitoredResources_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMonitoredResources_MonitoredResourcesList() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/MonitoredResources_List.json @@ -166,12 +162,11 @@ public async Task GetMonitoredResources_MonitoredResourcesList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DeploymentInfo_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeploymentInfo_DeploymentInfoList() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/DeploymentInfo_List.json @@ -196,9 +191,8 @@ public async Task GetDeploymentInfo_DeploymentInfoList() Console.WriteLine($"Succeeded: {result}"); } - // ExternalUser_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateExternalUser_ExternalUserCreateOrUpdate() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/ExternalUserInfo.json @@ -223,9 +217,8 @@ public async Task CreateOrUpdateExternalUser_ExternalUserCreateOrUpdate() Console.WriteLine($"Succeeded: {result}"); } - // BillingInfo_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBillingInfo_BillingInfoGet() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/BillingInfo_Get.json @@ -250,9 +243,8 @@ public async Task GetBillingInfo_BillingInfoGet() Console.WriteLine($"Succeeded: {result}"); } - // ConnectedPartnerResources_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConnectedPartnerResources_ConnectedPartnerResourcesList() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/ConnectedPartnerResources_List.json @@ -277,12 +269,11 @@ public async Task GetConnectedPartnerResources_ConnectedPartnerResourcesList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VMHost_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVMHosts_VMHostList() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/VMHost_List.json @@ -307,12 +298,11 @@ public async Task GetVMHosts_VMHostList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VMIngestion_Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DetailsVMIngestion_VMIngestionDetails() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/VMIngestion_Details.json @@ -337,9 +327,8 @@ public async Task DetailsVMIngestion_VMIngestionDetails() Console.WriteLine($"Succeeded: {result}"); } - // VMCollection_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateVMCollection_VMCollectionUpdate() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/VMCollection_Update.json @@ -361,12 +350,11 @@ public async Task UpdateVMCollection_VMCollectionUpdate() // invoke the operation await elasticMonitorResource.UpdateVMCollectionAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // UpgradableVersions_Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DetailsUpgradableVersion_UpgradableVersionsDetails() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/UpgradableVersions_Details.json @@ -391,9 +379,8 @@ public async Task DetailsUpgradableVersion_UpgradableVersionsDetails() Console.WriteLine($"Succeeded: {result}"); } - // Monitor_Upgrade - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpgradeMonitor_MonitorUpgrade() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/Monitor_Upgrade.json @@ -415,12 +402,11 @@ public async Task UpgradeMonitor_MonitorUpgrade() // invoke the operation await elasticMonitorResource.UpgradeMonitorAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AllTrafficFilters_list - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllTrafficFilter_AllTrafficFiltersList() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/AllTrafficFilters_list.json @@ -445,9 +431,8 @@ public async Task GetAllTrafficFilter_AllTrafficFiltersList() Console.WriteLine($"Succeeded: {result}"); } - // listAssociatedTrafficFilters_list - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetListAssociatedTrafficFilter_ListAssociatedTrafficFiltersList() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/AssociatedFiltersForDeployment_list.json @@ -472,9 +457,8 @@ public async Task GetListAssociatedTrafficFilter_ListAssociatedTrafficFiltersLis Console.WriteLine($"Succeeded: {result}"); } - // createAndAssociateIPFilter_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateCreateAndAssociateIPFilter_CreateAndAssociateIPFilterCreate() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/IPTrafficFilter_Create.json @@ -497,12 +481,11 @@ public async Task CreateCreateAndAssociateIPFilter_CreateAndAssociateIPFilterCre string ips = "192.168.131.0, 192.168.132.6/22"; await elasticMonitorResource.CreateCreateAndAssociateIPFilterAsync(WaitUntil.Completed, ips: ips); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // createAndAssociatePLFilter_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateCreateAndAssociatePLFilter_CreateAndAssociatePLFilterCreate() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/PrivateLinkTrafficFilters_Create.json @@ -526,12 +509,11 @@ public async Task CreateCreateAndAssociatePLFilter_CreateAndAssociatePLFilterCre string privateEndpointName = "myPrivateEndpoint"; await elasticMonitorResource.CreateCreateAndAssociatePLFilterAsync(WaitUntil.Completed, privateEndpointGuid: privateEndpointGuid, privateEndpointName: privateEndpointName); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AssociateTrafficFilter_Associate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AssociateAssociateTrafficFilter_AssociateTrafficFilterAssociate() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/AssociateTrafficFilter_Update.json @@ -554,12 +536,11 @@ public async Task AssociateAssociateTrafficFilter_AssociateTrafficFilterAssociat string rulesetId = "31d91b5afb6f4c2eaaf104c97b1991dd"; await elasticMonitorResource.AssociateAssociateTrafficFilterAsync(WaitUntil.Completed, rulesetId: rulesetId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DetachAndDeleteTrafficFilter_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteDetachAndDeleteTrafficFilter_DetachAndDeleteTrafficFilterDelete() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/DetachAndDeleteTrafficFilter_Delete.json @@ -582,12 +563,11 @@ public async Task DeleteDetachAndDeleteTrafficFilter_DetachAndDeleteTrafficFilte string rulesetId = "31d91b5afb6f4c2eaaf104c97b1991dd"; await elasticMonitorResource.DeleteDetachAndDeleteTrafficFilterAsync(rulesetId: rulesetId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DetachTrafficFilter_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateDetachTrafficFilter_DetachTrafficFilterUpdate() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/DetachTrafficFilters_Update.json @@ -610,12 +590,11 @@ public async Task UpdateDetachTrafficFilter_DetachTrafficFilterUpdate() string rulesetId = "31d91b5afb6f4c2eaaf104c97b1991dd"; await elasticMonitorResource.UpdateDetachTrafficFilterAsync(WaitUntil.Completed, rulesetId: rulesetId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TrafficFilters_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteTrafficFilter_TrafficFiltersDelete() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/TrafficFilters_Delete.json @@ -638,12 +617,11 @@ public async Task DeleteTrafficFilter_TrafficFiltersDelete() string rulesetId = "31d91b5afb6f4c2eaaf104c97b1991dd"; await elasticMonitorResource.DeleteTrafficFilterAsync(rulesetId: rulesetId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Organizations_Resubscribe - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResubscribeOrganization_OrganizationsResubscribe() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/Organizations_Resubscribe.json diff --git a/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_ElasticMonitorResourceCollection.cs b/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_ElasticMonitorResourceCollection.cs index 3fc0e61c441a5..595b17c770402 100644 --- a/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_ElasticMonitorResourceCollection.cs +++ b/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_ElasticMonitorResourceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Elastic.Samples { public partial class Sample_ElasticMonitorResourceCollection { - // Monitors_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_MonitorsListByResourceGroup() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/Monitors_ListByResourceGroup.json @@ -48,12 +48,11 @@ public async Task GetAll_MonitorsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Monitors_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MonitorsGet() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/Monitors_Get.json @@ -85,9 +84,8 @@ public async Task Get_MonitorsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Monitors_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_MonitorsGet() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/Monitors_Get.json @@ -115,9 +113,8 @@ public async Task Exists_MonitorsGet() Console.WriteLine($"Succeeded: {result}"); } - // Monitors_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_MonitorsGet() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/Monitors_Get.json @@ -145,7 +142,7 @@ public async Task GetIfExists_MonitorsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -157,9 +154,8 @@ public async Task GetIfExists_MonitorsGet() } } - // Monitors_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_MonitorsCreate() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/Monitors_Create.json diff --git a/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_MonitoredSubscriptionPropertyCollection.cs b/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_MonitoredSubscriptionPropertyCollection.cs index a7bc4b1138638..60d633ef97cf8 100644 --- a/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_MonitoredSubscriptionPropertyCollection.cs +++ b/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_MonitoredSubscriptionPropertyCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Elastic.Samples { public partial class Sample_MonitoredSubscriptionPropertyCollection { - // Monitors_GetMonitoredSubscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_MonitorsGetMonitoredSubscriptions() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/MonitoredSubscriptions_List.json @@ -48,12 +48,11 @@ public async Task GetAll_MonitorsGetMonitoredSubscriptions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Monitors_GetMonitoredSubscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MonitorsGetMonitoredSubscriptions() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/MonitoredSubscriptions_Get.json @@ -86,9 +85,8 @@ public async Task Get_MonitorsGetMonitoredSubscriptions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Monitors_GetMonitoredSubscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_MonitorsGetMonitoredSubscriptions() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/MonitoredSubscriptions_Get.json @@ -117,9 +115,8 @@ public async Task Exists_MonitorsGetMonitoredSubscriptions() Console.WriteLine($"Succeeded: {result}"); } - // Monitors_GetMonitoredSubscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_MonitorsGetMonitoredSubscriptions() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/MonitoredSubscriptions_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_MonitorsGetMonitoredSubscriptions() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_MonitorsGetMonitoredSubscriptions() } } - // Monitors_AddMonitoredSubscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_MonitorsAddMonitoredSubscriptions() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/MonitoredSubscriptions_CreateorUpdate.json diff --git a/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_MonitoredSubscriptionPropertyResource.cs b/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_MonitoredSubscriptionPropertyResource.cs index 9332285cfd707..6cb68accf91f8 100644 --- a/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_MonitoredSubscriptionPropertyResource.cs +++ b/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_MonitoredSubscriptionPropertyResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Elastic.Samples { public partial class Sample_MonitoredSubscriptionPropertyResource { - // Monitors_GetMonitoredSubscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MonitorsGetMonitoredSubscriptions() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/MonitoredSubscriptions_Get.json @@ -46,9 +46,8 @@ public async Task Get_MonitorsGetMonitoredSubscriptions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Monitors_UpdateMonitoredSubscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_MonitorsUpdateMonitoredSubscriptions() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/MonitoredSubscriptions_Update.json @@ -80,9 +79,8 @@ public async Task Update_MonitorsUpdateMonitoredSubscriptions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Monitors_DeleteMonitoredSubscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_MonitorsDeleteMonitoredSubscriptions() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/MonitoredSubscriptions_Delete.json @@ -105,7 +103,7 @@ public async Task Delete_MonitorsDeleteMonitoredSubscriptions() // invoke the operation await monitoredSubscriptionProperty.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_MonitoringTagRuleCollection.cs b/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_MonitoringTagRuleCollection.cs index ff98bf1be4c17..a7dc7f1c4aff5 100644 --- a/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_MonitoringTagRuleCollection.cs +++ b/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_MonitoringTagRuleCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Elastic.Samples { public partial class Sample_MonitoringTagRuleCollection { - // TagRules_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_TagRulesList() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/TagRules_List.json @@ -48,12 +48,11 @@ public async Task GetAll_TagRulesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TagRules_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TagRulesCreateOrUpdate() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/TagRules_CreateOrUpdate.json @@ -88,9 +87,8 @@ public async Task CreateOrUpdate_TagRulesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TagRules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TagRulesGet() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/TagRules_Get.json @@ -123,9 +121,8 @@ public async Task Get_TagRulesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TagRules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_TagRulesGet() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/TagRules_Get.json @@ -154,9 +151,8 @@ public async Task Exists_TagRulesGet() Console.WriteLine($"Succeeded: {result}"); } - // TagRules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TagRulesGet() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/TagRules_Get.json @@ -185,7 +181,7 @@ public async Task GetIfExists_TagRulesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_MonitoringTagRuleResource.cs b/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_MonitoringTagRuleResource.cs index b9721d28778f2..272ac5890b545 100644 --- a/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_MonitoringTagRuleResource.cs +++ b/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_MonitoringTagRuleResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Elastic.Samples { public partial class Sample_MonitoringTagRuleResource { - // TagRules_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TagRulesCreateOrUpdate() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/TagRules_CreateOrUpdate.json @@ -48,9 +48,8 @@ public async Task Update_TagRulesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TagRules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TagRulesGet() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/TagRules_Get.json @@ -80,9 +79,8 @@ public async Task Get_TagRulesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TagRules_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_TagRulesDelete() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/TagRules_Delete.json @@ -105,7 +103,7 @@ public async Task Delete_TagRulesDelete() // invoke the operation await monitoringTagRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_OpenAIIntegrationRPModelCollection.cs b/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_OpenAIIntegrationRPModelCollection.cs index 24fab1c9a02cb..cc58c1791aa0b 100644 --- a/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_OpenAIIntegrationRPModelCollection.cs +++ b/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_OpenAIIntegrationRPModelCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Elastic.Samples { public partial class Sample_OpenAIIntegrationRPModelCollection { - // OpenAI_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_OpenAIList() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/OpenAI_List.json @@ -48,12 +48,11 @@ public async Task GetAll_OpenAIList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // OpenAI_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_OpenAIGet() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/OpenAI_Get.json @@ -86,9 +85,8 @@ public async Task Get_OpenAIGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // OpenAI_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_OpenAIGet() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/OpenAI_Get.json @@ -117,9 +115,8 @@ public async Task Exists_OpenAIGet() Console.WriteLine($"Succeeded: {result}"); } - // OpenAI_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_OpenAIGet() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/OpenAI_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_OpenAIGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_OpenAIGet() } } - // OpenAI_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_OpenAICreateOrUpdate() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/OpenAI_CreateOrUpdate.json diff --git a/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_OpenAIIntegrationRPModelResource.cs b/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_OpenAIIntegrationRPModelResource.cs index 69e651b49ef54..86821b26cd7f9 100644 --- a/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_OpenAIIntegrationRPModelResource.cs +++ b/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_OpenAIIntegrationRPModelResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Elastic.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Elastic.Samples { public partial class Sample_OpenAIIntegrationRPModelResource { - // OpenAI_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_OpenAIGet() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/OpenAI_Get.json @@ -47,9 +47,8 @@ public async Task Get_OpenAIGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // OpenAI_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_OpenAICreateOrUpdate() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/OpenAI_CreateOrUpdate.json @@ -81,9 +80,8 @@ public async Task Update_OpenAICreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // OpenAI_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_OpenAIDelete() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/OpenAI_Delete.json @@ -106,12 +104,11 @@ public async Task Delete_OpenAIDelete() // invoke the operation await openAIIntegrationRPModel.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // OpenAI_GetStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStatus_OpenAIGetStatus() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/OpenAI_GetStatus.json diff --git a/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 82458a83ba19b..404ee74d01da7 100644 --- a/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/elastic/Azure.ResourceManager.Elastic/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Elastic.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Elastic.Samples { public partial class Sample_SubscriptionResourceExtensions { - // ElasticVersions_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetElasticVersions_ElasticVersionsList() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/ElasticVersions_List.json @@ -42,12 +42,11 @@ public async Task GetElasticVersions_ElasticVersionsList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Organizations_GetApiKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApiKeyOrganization_OrganizationsGetApiKey() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/Organizations_GetApiKey.json @@ -70,9 +69,8 @@ public async Task GetApiKeyOrganization_OrganizationsGetApiKey() Console.WriteLine($"Succeeded: {result}"); } - // Organizations_GetElasticToAzureSubscriptionMapping - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetElasticToAzureSubscriptionMappingOrganization_OrganizationsGetElasticToAzureSubscriptionMapping() { // Generated from example definition: specification/elastic/resource-manager/Microsoft.Elastic/preview/2024-06-15-preview/examples/Organizations_GetElasticToAzureSubscriptionMapping.json diff --git a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanCollection.cs b/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanCollection.cs index 16761476a7896..9ffd5ab5ea95a 100644 --- a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanCollection.cs +++ b/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ElasticSan.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ElasticSan.Samples { public partial class Sample_ElasticSanCollection { - // ElasticSans_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ElasticSansListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_ListByResourceGroup_MaximumSet_Gen.json @@ -49,12 +49,11 @@ public async Task GetAll_ElasticSansListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ElasticSans_ListByResourceGroup_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ElasticSansListByResourceGroupMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_ListByResourceGroup_MinimumSet_Gen.json @@ -85,12 +84,11 @@ public async Task GetAll_ElasticSansListByResourceGroupMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ElasticSans_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ElasticSansCreateMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_Create_MaximumSet_Gen.json @@ -145,9 +143,8 @@ public async Task CreateOrUpdate_ElasticSansCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ElasticSans_Create_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ElasticSansCreateMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_Create_MinimumSet_Gen.json @@ -181,9 +178,8 @@ public async Task CreateOrUpdate_ElasticSansCreateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ElasticSans_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ElasticSansGetMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_Get_MaximumSet_Gen.json @@ -215,9 +211,8 @@ public async Task Get_ElasticSansGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ElasticSans_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ElasticSansGetMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_Get_MaximumSet_Gen.json @@ -245,9 +240,8 @@ public async Task Exists_ElasticSansGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // ElasticSans_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ElasticSansGetMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_Get_MaximumSet_Gen.json @@ -275,7 +269,7 @@ public async Task GetIfExists_ElasticSansGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -287,9 +281,8 @@ public async Task GetIfExists_ElasticSansGetMaximumSetGen() } } - // ElasticSans_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ElasticSansGetMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_Get_MinimumSet_Gen.json @@ -321,9 +314,8 @@ public async Task Get_ElasticSansGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ElasticSans_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ElasticSansGetMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_Get_MinimumSet_Gen.json @@ -351,9 +343,8 @@ public async Task Exists_ElasticSansGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // ElasticSans_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ElasticSansGetMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_Get_MinimumSet_Gen.json @@ -381,7 +372,7 @@ public async Task GetIfExists_ElasticSansGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanPrivateEndpointConnectionCollection.cs b/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanPrivateEndpointConnectionCollection.cs index c1ea895e01a3d..118ed5f2b4154 100644 --- a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanPrivateEndpointConnectionCollection.cs +++ b/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ElasticSan.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ElasticSan.Samples { public partial class Sample_ElasticSanPrivateEndpointConnectionCollection { - // PrivateEndpointConnections_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateEndpointConnectionsCreateMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Create_MaximumSet_Gen.json @@ -63,9 +63,8 @@ public async Task CreateOrUpdate_PrivateEndpointConnectionsCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Create_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateEndpointConnectionsCreateMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Create_MinimumSet_Gen.json @@ -100,9 +99,8 @@ public async Task CreateOrUpdate_PrivateEndpointConnectionsCreateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGetMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json @@ -135,9 +133,8 @@ public async Task Get_PrivateEndpointConnectionsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateEndpointConnectionsGetMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json @@ -166,9 +163,8 @@ public async Task Exists_PrivateEndpointConnectionsGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // PrivateEndpointConnections_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateEndpointConnectionsGetMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json @@ -197,7 +193,7 @@ public async Task GetIfExists_PrivateEndpointConnectionsGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -209,9 +205,8 @@ public async Task GetIfExists_PrivateEndpointConnectionsGetMaximumSetGen() } } - // PrivateEndpointConnections_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGetMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json @@ -244,9 +239,8 @@ public async Task Get_PrivateEndpointConnectionsGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateEndpointConnectionsGetMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json @@ -275,9 +269,8 @@ public async Task Exists_PrivateEndpointConnectionsGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // PrivateEndpointConnections_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateEndpointConnectionsGetMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json @@ -306,7 +299,7 @@ public async Task GetIfExists_PrivateEndpointConnectionsGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -318,9 +311,8 @@ public async Task GetIfExists_PrivateEndpointConnectionsGetMinimumSetGen() } } - // PrivateEndpointConnections_List_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndpointConnectionsListMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateEndpointConnections_List_MaximumSet_Gen.json @@ -352,12 +344,11 @@ public async Task GetAll_PrivateEndpointConnectionsListMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateEndpointConnections_List_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndpointConnectionsListMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateEndpointConnections_List_MinimumSet_Gen.json @@ -389,7 +380,7 @@ public async Task GetAll_PrivateEndpointConnectionsListMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanPrivateEndpointConnectionResource.cs b/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanPrivateEndpointConnectionResource.cs index 54a57fa1ebc7a..c82c6a6f7b938 100644 --- a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanPrivateEndpointConnectionResource.cs +++ b/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ElasticSan.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ElasticSan.Samples { public partial class Sample_ElasticSanPrivateEndpointConnectionResource { - // PrivateEndpointConnections_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateEndpointConnectionsCreateMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Create_MaximumSet_Gen.json @@ -60,9 +60,8 @@ public async Task Update_PrivateEndpointConnectionsCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Create_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateEndpointConnectionsCreateMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Create_MinimumSet_Gen.json @@ -94,9 +93,8 @@ public async Task Update_PrivateEndpointConnectionsCreateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGetMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json @@ -126,9 +124,8 @@ public async Task Get_PrivateEndpointConnectionsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGetMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json @@ -158,9 +155,8 @@ public async Task Get_PrivateEndpointConnectionsGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateEndpointConnectionsDeleteMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json @@ -183,12 +179,11 @@ public async Task Delete_PrivateEndpointConnectionsDeleteMaximumSetGen() // invoke the operation await elasticSanPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateEndpointConnections_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateEndpointConnectionsDeleteMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json @@ -211,7 +206,7 @@ public async Task Delete_PrivateEndpointConnectionsDeleteMinimumSetGen() // invoke the operation await elasticSanPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanResource.cs b/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanResource.cs index bc81b8f74c0f2..15dbeb534d987 100644 --- a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanResource.cs +++ b/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ElasticSan.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ElasticSan.Samples { public partial class Sample_ElasticSanResource { - // ElasticSans_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetElasticSans_ElasticSansListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_ListBySubscription_MaximumSet_Gen.json @@ -45,12 +45,11 @@ public async Task GetElasticSans_ElasticSansListBySubscriptionMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ElasticSans_ListBySubscription_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetElasticSans_ElasticSansListBySubscriptionMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_ListBySubscription_MinimumSet_Gen.json @@ -77,12 +76,11 @@ public async Task GetElasticSans_ElasticSansListBySubscriptionMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ElasticSans_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ElasticSansUpdateMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_Update_MaximumSet_Gen.json @@ -129,9 +127,8 @@ public async Task Update_ElasticSansUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ElasticSans_Update_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ElasticSansUpdateMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_Update_MinimumSet_Gen.json @@ -162,9 +159,8 @@ public async Task Update_ElasticSansUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ElasticSans_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ElasticSansDeleteMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_Delete_MaximumSet_Gen.json @@ -186,12 +182,11 @@ public async Task Delete_ElasticSansDeleteMaximumSetGen() // invoke the operation await elasticSan.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ElasticSans_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ElasticSansDeleteMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_Delete_MinimumSet_Gen.json @@ -213,12 +208,11 @@ public async Task Delete_ElasticSansDeleteMinimumSetGen() // invoke the operation await elasticSan.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ElasticSans_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ElasticSansGetMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_Get_MaximumSet_Gen.json @@ -247,9 +241,8 @@ public async Task Get_ElasticSansGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ElasticSans_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ElasticSansGetMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/ElasticSans_Get_MinimumSet_Gen.json @@ -278,9 +271,8 @@ public async Task Get_ElasticSansGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateLinkResources_ListByElasticSan_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinkResources_PrivateLinkResourcesListByElasticSanMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateLinkResources_ListByElasticSan_MaximumSet_Gen.json @@ -305,12 +297,11 @@ public async Task GetPrivateLinkResources_PrivateLinkResourcesListByElasticSanMa Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateLinkResources_ListByElasticSan_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinkResources_PrivateLinkResourcesListByElasticSanMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/PrivateLinkResources_ListByElasticSan_MinimumSet_Gen.json @@ -335,7 +326,7 @@ public async Task GetPrivateLinkResources_PrivateLinkResourcesListByElasticSanMi Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanSnapshotCollection.cs b/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanSnapshotCollection.cs index 5b3b23950ab68..e0727aa2817e1 100644 --- a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanSnapshotCollection.cs +++ b/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanSnapshotCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ElasticSan.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ElasticSan.Samples { public partial class Sample_ElasticSanSnapshotCollection { - // VolumeSnapshots_ListByVolumeGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VolumeSnapshotsListByVolumeGroupMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeSnapshots_ListByVolumeGroup_MaximumSet_Gen.json @@ -51,12 +51,11 @@ public async Task GetAll_VolumeSnapshotsListByVolumeGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VolumeSnapshots_ListByVolumeGroup_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VolumeSnapshotsListByVolumeGroupMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeSnapshots_ListByVolumeGroup_MinimumSet_Gen.json @@ -89,12 +88,11 @@ public async Task GetAll_VolumeSnapshotsListByVolumeGroupMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VolumeSnapshots_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VolumeSnapshotsCreateMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeSnapshots_Create_MaximumSet_Gen.json @@ -130,9 +128,8 @@ public async Task CreateOrUpdate_VolumeSnapshotsCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VolumeSnapshots_Create_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VolumeSnapshotsCreateMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeSnapshots_Create_MinimumSet_Gen.json @@ -168,9 +165,8 @@ public async Task CreateOrUpdate_VolumeSnapshotsCreateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VolumeSnapshots_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VolumeSnapshotsGetMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeSnapshots_Get_MaximumSet_Gen.json @@ -204,9 +200,8 @@ public async Task Get_VolumeSnapshotsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VolumeSnapshots_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VolumeSnapshotsGetMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeSnapshots_Get_MaximumSet_Gen.json @@ -236,9 +231,8 @@ public async Task Exists_VolumeSnapshotsGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // VolumeSnapshots_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VolumeSnapshotsGetMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeSnapshots_Get_MaximumSet_Gen.json @@ -268,7 +262,7 @@ public async Task GetIfExists_VolumeSnapshotsGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -280,9 +274,8 @@ public async Task GetIfExists_VolumeSnapshotsGetMaximumSetGen() } } - // VolumeSnapshots_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VolumeSnapshotsGetMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeSnapshots_Get_MinimumSet_Gen.json @@ -316,9 +309,8 @@ public async Task Get_VolumeSnapshotsGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VolumeSnapshots_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VolumeSnapshotsGetMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeSnapshots_Get_MinimumSet_Gen.json @@ -348,9 +340,8 @@ public async Task Exists_VolumeSnapshotsGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // VolumeSnapshots_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VolumeSnapshotsGetMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeSnapshots_Get_MinimumSet_Gen.json @@ -380,7 +371,7 @@ public async Task GetIfExists_VolumeSnapshotsGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanSnapshotResource.cs b/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanSnapshotResource.cs index 906ff3c1f80f3..487ae18566b93 100644 --- a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanSnapshotResource.cs +++ b/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanSnapshotResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ElasticSan.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ElasticSan.Samples { public partial class Sample_ElasticSanSnapshotResource { - // VolumeSnapshots_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VolumeSnapshotsCreateMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeSnapshots_Create_MaximumSet_Gen.json @@ -50,9 +50,8 @@ public async Task Update_VolumeSnapshotsCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VolumeSnapshots_Create_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VolumeSnapshotsCreateMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeSnapshots_Create_MinimumSet_Gen.json @@ -85,9 +84,8 @@ public async Task Update_VolumeSnapshotsCreateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VolumeSnapshots_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VolumeSnapshotsDeleteMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeSnapshots_Delete_MaximumSet_Gen.json @@ -111,12 +109,11 @@ public async Task Delete_VolumeSnapshotsDeleteMaximumSetGen() // invoke the operation await elasticSanSnapshot.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VolumeSnapshots_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VolumeSnapshotsDeleteMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeSnapshots_Delete_MinimumSet_Gen.json @@ -140,12 +137,11 @@ public async Task Delete_VolumeSnapshotsDeleteMinimumSetGen() // invoke the operation await elasticSanSnapshot.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VolumeSnapshots_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VolumeSnapshotsGetMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeSnapshots_Get_MaximumSet_Gen.json @@ -176,9 +172,8 @@ public async Task Get_VolumeSnapshotsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VolumeSnapshots_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VolumeSnapshotsGetMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeSnapshots_Get_MinimumSet_Gen.json diff --git a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanVolumeCollection.cs b/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanVolumeCollection.cs index f8a2c2e3dbd85..8e150c4966cde 100644 --- a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanVolumeCollection.cs +++ b/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanVolumeCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ElasticSan.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ElasticSan.Samples { public partial class Sample_ElasticSanVolumeCollection { - // Volumes_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VolumesCreateMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Volumes_Create_MaximumSet_Gen.json @@ -61,9 +61,8 @@ public async Task CreateOrUpdate_VolumesCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Volumes_Create_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VolumesCreateMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Volumes_Create_MinimumSet_Gen.json @@ -99,9 +98,8 @@ public async Task CreateOrUpdate_VolumesCreateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Volumes_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VolumesGetMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Volumes_Get_MaximumSet_Gen.json @@ -135,9 +133,8 @@ public async Task Get_VolumesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Volumes_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VolumesGetMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Volumes_Get_MaximumSet_Gen.json @@ -167,9 +164,8 @@ public async Task Exists_VolumesGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Volumes_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VolumesGetMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Volumes_Get_MaximumSet_Gen.json @@ -199,7 +195,7 @@ public async Task GetIfExists_VolumesGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -211,9 +207,8 @@ public async Task GetIfExists_VolumesGetMaximumSetGen() } } - // Volumes_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VolumesGetMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Volumes_Get_MinimumSet_Gen.json @@ -247,9 +242,8 @@ public async Task Get_VolumesGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Volumes_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VolumesGetMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Volumes_Get_MinimumSet_Gen.json @@ -279,9 +273,8 @@ public async Task Exists_VolumesGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Volumes_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VolumesGetMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Volumes_Get_MinimumSet_Gen.json @@ -311,7 +304,7 @@ public async Task GetIfExists_VolumesGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -323,9 +316,8 @@ public async Task GetIfExists_VolumesGetMinimumSetGen() } } - // Volumes_ListByVolumeGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VolumesListByVolumeGroupMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Volumes_ListByVolumeGroup_MaximumSet_Gen.json @@ -358,12 +350,11 @@ public async Task GetAll_VolumesListByVolumeGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Volumes_ListByVolumeGroup_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VolumesListByVolumeGroupMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Volumes_ListByVolumeGroup_MinimumSet_Gen.json @@ -396,7 +387,7 @@ public async Task GetAll_VolumesListByVolumeGroupMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanVolumeGroupCollection.cs b/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanVolumeGroupCollection.cs index bd85eb4197fe7..ba8843cf874f5 100644 --- a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanVolumeGroupCollection.cs +++ b/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanVolumeGroupCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ElasticSan.Models; using Azure.ResourceManager.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ElasticSan.Samples { public partial class Sample_ElasticSanVolumeGroupCollection { - // VolumeGroups_ListByElasticSan_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VolumeGroupsListByElasticSanMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeGroups_ListByElasticSan_MaximumSet_Gen.json @@ -50,12 +50,11 @@ public async Task GetAll_VolumeGroupsListByElasticSanMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VolumeGroups_ListByElasticSan_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VolumeGroupsListByElasticSanMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeGroups_ListByElasticSan_MinimumSet_Gen.json @@ -87,12 +86,11 @@ public async Task GetAll_VolumeGroupsListByElasticSanMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VolumeGroups_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VolumeGroupsCreateMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeGroups_Create_MaximumSet_Gen.json @@ -156,9 +154,8 @@ public async Task CreateOrUpdate_VolumeGroupsCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VolumeGroups_Create_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VolumeGroupsCreateMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeGroups_Create_MinimumSet_Gen.json @@ -193,9 +190,8 @@ public async Task CreateOrUpdate_VolumeGroupsCreateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VolumeGroups_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VolumeGroupsGetMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeGroups_Get_MaximumSet_Gen.json @@ -228,9 +224,8 @@ public async Task Get_VolumeGroupsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VolumeGroups_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VolumeGroupsGetMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeGroups_Get_MaximumSet_Gen.json @@ -259,9 +254,8 @@ public async Task Exists_VolumeGroupsGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // VolumeGroups_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VolumeGroupsGetMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeGroups_Get_MaximumSet_Gen.json @@ -290,7 +284,7 @@ public async Task GetIfExists_VolumeGroupsGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -302,9 +296,8 @@ public async Task GetIfExists_VolumeGroupsGetMaximumSetGen() } } - // VolumeGroups_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VolumeGroupsGetMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeGroups_Get_MinimumSet_Gen.json @@ -337,9 +330,8 @@ public async Task Get_VolumeGroupsGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VolumeGroups_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VolumeGroupsGetMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeGroups_Get_MinimumSet_Gen.json @@ -368,9 +360,8 @@ public async Task Exists_VolumeGroupsGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // VolumeGroups_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VolumeGroupsGetMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeGroups_Get_MinimumSet_Gen.json @@ -399,7 +390,7 @@ public async Task GetIfExists_VolumeGroupsGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanVolumeGroupResource.cs b/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanVolumeGroupResource.cs index 961879b53dc39..feb93d28a0b44 100644 --- a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanVolumeGroupResource.cs +++ b/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanVolumeGroupResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ElasticSan.Models; using Azure.ResourceManager.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ElasticSan.Samples { public partial class Sample_ElasticSanVolumeGroupResource { - // VolumeGroups_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VolumeGroupsUpdateMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeGroups_Update_MaximumSet_Gen.json @@ -79,9 +79,8 @@ public async Task Update_VolumeGroupsUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VolumeGroups_Update_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VolumeGroupsUpdateMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeGroups_Update_MinimumSet_Gen.json @@ -113,9 +112,8 @@ public async Task Update_VolumeGroupsUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VolumeGroups_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VolumeGroupsDeleteMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeGroups_Delete_MaximumSet_Gen.json @@ -138,12 +136,11 @@ public async Task Delete_VolumeGroupsDeleteMaximumSetGen() // invoke the operation await elasticSanVolumeGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VolumeGroups_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VolumeGroupsDeleteMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeGroups_Delete_MinimumSet_Gen.json @@ -166,12 +163,11 @@ public async Task Delete_VolumeGroupsDeleteMinimumSetGen() // invoke the operation await elasticSanVolumeGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VolumeGroups_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VolumeGroupsGetMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeGroups_Get_MaximumSet_Gen.json @@ -201,9 +197,8 @@ public async Task Get_VolumeGroupsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VolumeGroups_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VolumeGroupsGetMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/VolumeGroups_Get_MinimumSet_Gen.json diff --git a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanVolumeResource.cs b/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanVolumeResource.cs index cbe76d2b7f449..98dd8eb55b2a5 100644 --- a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanVolumeResource.cs +++ b/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_ElasticSanVolumeResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ElasticSan.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ElasticSan.Samples { public partial class Sample_ElasticSanVolumeResource { - // Volumes_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VolumesUpdateMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Volumes_Update_MaximumSet_Gen.json @@ -53,9 +53,8 @@ public async Task Update_VolumesUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Volumes_Update_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VolumesUpdateMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Volumes_Update_MinimumSet_Gen.json @@ -88,9 +87,8 @@ public async Task Update_VolumesUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Volumes_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VolumesDeleteMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Volumes_Delete_MaximumSet_Gen.json @@ -116,12 +114,11 @@ public async Task Delete_VolumesDeleteMaximumSetGen() XmsForceDelete? xmsForceDelete = XmsForceDelete.True; await elasticSanVolume.DeleteAsync(WaitUntil.Completed, xmsDeleteSnapshots: xmsDeleteSnapshots, xmsForceDelete: xmsForceDelete); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Volumes_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VolumesDeleteMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Volumes_Delete_MinimumSet_Gen.json @@ -145,12 +142,11 @@ public async Task Delete_VolumesDeleteMinimumSetGen() // invoke the operation await elasticSanVolume.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Volumes_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VolumesGetMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Volumes_Get_MaximumSet_Gen.json @@ -181,9 +177,8 @@ public async Task Get_VolumesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Volumes_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VolumesGetMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Volumes_Get_MinimumSet_Gen.json diff --git a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index c8a43afb412a0..670686d3e4251 100644 --- a/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/elasticsan/Azure.ResourceManager.ElasticSan/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ElasticSan.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ElasticSan.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Skus_List_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSkus_SkusListMaximumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Skus_List_MaximumSet_Gen.json @@ -42,12 +42,11 @@ public async Task GetSkus_SkusListMaximumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Skus_List_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSkus_SkusListMinimumSetGen() { // Generated from example definition: specification/elasticsan/resource-manager/Microsoft.ElasticSan/preview/2024-06-01-preview/examples/Skus_List_MinimumSet_Gen.json @@ -70,7 +69,7 @@ public async Task GetSkus_SkusListMinimumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_CaCertificateCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_CaCertificateCollection.cs index c1151ae59c4d4..ea804cf56ffaa 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_CaCertificateCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_CaCertificateCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_CaCertificateCollection { - // CaCertificates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CaCertificatesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/CaCertificates_Get.json @@ -49,9 +49,8 @@ public async Task Get_CaCertificatesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CaCertificates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CaCertificatesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/CaCertificates_Get.json @@ -80,9 +79,8 @@ public async Task Exists_CaCertificatesGet() Console.WriteLine($"Succeeded: {result}"); } - // CaCertificates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CaCertificatesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/CaCertificates_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_CaCertificatesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_CaCertificatesGet() } } - // CaCertificates_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CaCertificatesCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/CaCertificates_CreateOrUpdate.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_CaCertificatesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CaCertificates_ListByNamespace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CaCertificatesListByNamespace() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/CaCertificates_ListByNamespace.json @@ -198,7 +194,7 @@ public async Task GetAll_CaCertificatesListByNamespace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_CaCertificateResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_CaCertificateResource.cs index 7c11c2ad61d17..1aec8b026544d 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_CaCertificateResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_CaCertificateResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_CaCertificateResource { - // CaCertificates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CaCertificatesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/CaCertificates_Get.json @@ -46,9 +46,8 @@ public async Task Get_CaCertificatesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CaCertificates_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CaCertificatesCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/CaCertificates_CreateOrUpdate.json @@ -84,9 +83,8 @@ public async Task Update_CaCertificatesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CaCertificates_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CaCertificatesDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/CaCertificates_Delete.json @@ -109,7 +107,7 @@ public async Task Delete_CaCertificatesDelete() // invoke the operation await caCertificate.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainEventSubscriptionCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainEventSubscriptionCollection.cs index 6a1027b66598b..feb7b5624f3fb 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainEventSubscriptionCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainEventSubscriptionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_DomainEventSubscriptionCollection { - // DomainEventSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DomainEventSubscriptionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainEventSubscriptions_Get.json @@ -50,9 +50,8 @@ public async Task Get_DomainEventSubscriptionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DomainEventSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DomainEventSubscriptionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainEventSubscriptions_Get.json @@ -81,9 +80,8 @@ public async Task Exists_DomainEventSubscriptionsGet() Console.WriteLine($"Succeeded: {result}"); } - // DomainEventSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DomainEventSubscriptionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainEventSubscriptions_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_DomainEventSubscriptionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_DomainEventSubscriptionsGet() } } - // DomainEventSubscriptions_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DomainEventSubscriptionsCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainEventSubscriptions_CreateOrUpdate.json @@ -173,9 +170,8 @@ public async Task CreateOrUpdate_DomainEventSubscriptionsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DomainEventSubscriptions_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DomainEventSubscriptionsList() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainEventSubscriptions_List.json @@ -207,7 +203,7 @@ public async Task GetAll_DomainEventSubscriptionsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainEventSubscriptionResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainEventSubscriptionResource.cs index 0f5b8c09d661c..043f0d6226fa6 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainEventSubscriptionResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainEventSubscriptionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_DomainEventSubscriptionResource { - // DomainEventSubscriptions_GetDeliveryAttributes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeliveryAttributes_DomainEventSubscriptionsGetDeliveryAttributes() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainEventSubscriptions_GetDeliveryAttributes.json @@ -43,12 +43,11 @@ public async Task GetDeliveryAttributes_DomainEventSubscriptionsGetDeliveryAttri Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DomainEventSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DomainEventSubscriptionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainEventSubscriptions_Get.json @@ -78,9 +77,8 @@ public async Task Get_DomainEventSubscriptionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DomainEventSubscriptions_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DomainEventSubscriptionsDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainEventSubscriptions_Delete.json @@ -103,12 +101,11 @@ public async Task Delete_DomainEventSubscriptionsDelete() // invoke the operation await domainEventSubscription.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DomainEventSubscriptions_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DomainEventSubscriptionsUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainEventSubscriptions_Update.json @@ -156,9 +153,8 @@ public async Task Update_DomainEventSubscriptionsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DomainEventSubscriptions_GetFullUrl - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFullUri_DomainEventSubscriptionsGetFullUrl() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainEventSubscriptions_GetFullUrl.json diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainNetworkSecurityPerimeterConfigurationCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainNetworkSecurityPerimeterConfigurationCollection.cs index 1bd15b61149df..500c9826a6f63 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainNetworkSecurityPerimeterConfigurationCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainNetworkSecurityPerimeterConfigurationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_DomainNetworkSecurityPerimeterConfigurationCollection { - // NetworkSecurityPerimeterConfigurations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkSecurityPerimeterConfigurationsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NetworkSecurityPerimeterConfigurations_Get.json @@ -50,9 +50,8 @@ public async Task Get_NetworkSecurityPerimeterConfigurationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkSecurityPerimeterConfigurations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NetworkSecurityPerimeterConfigurationsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NetworkSecurityPerimeterConfigurations_Get.json @@ -82,9 +81,8 @@ public async Task Exists_NetworkSecurityPerimeterConfigurationsGet() Console.WriteLine($"Succeeded: {result}"); } - // NetworkSecurityPerimeterConfigurations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NetworkSecurityPerimeterConfigurationsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NetworkSecurityPerimeterConfigurations_Get.json @@ -114,7 +112,7 @@ public async Task GetIfExists_NetworkSecurityPerimeterConfigurationsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -126,9 +124,8 @@ public async Task GetIfExists_NetworkSecurityPerimeterConfigurationsGet() } } - // NetworkSecurityPerimeterConfigurations_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NetworkSecurityPerimeterConfigurationsList() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NetworkSecurityPerimeterConfigurations_List.json @@ -157,7 +154,7 @@ public async Task GetAll_NetworkSecurityPerimeterConfigurationsList() Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainNetworkSecurityPerimeterConfigurationResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainNetworkSecurityPerimeterConfigurationResource.cs index ec946c46a921c..45aee0ec2a830 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainNetworkSecurityPerimeterConfigurationResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainNetworkSecurityPerimeterConfigurationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_DomainNetworkSecurityPerimeterConfigurationResource { - // NetworkSecurityPerimeterConfigurations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkSecurityPerimeterConfigurationsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NetworkSecurityPerimeterConfigurations_Get.json @@ -47,9 +47,8 @@ public async Task Get_NetworkSecurityPerimeterConfigurationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkSecurityPerimeterConfigurations_Reconcile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reconcile_NetworkSecurityPerimeterConfigurationsReconcile() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NetworkSecurityPerimeterConfigurations_Reconcile.json diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainTopicCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainTopicCollection.cs index b2834bb42f9ef..12e268efd0bc7 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainTopicCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainTopicCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_DomainTopicCollection { - // DomainTopics_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DomainTopicsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainTopics_Get.json @@ -49,9 +49,8 @@ public async Task Get_DomainTopicsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DomainTopics_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DomainTopicsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainTopics_Get.json @@ -80,9 +79,8 @@ public async Task Exists_DomainTopicsGet() Console.WriteLine($"Succeeded: {result}"); } - // DomainTopics_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DomainTopicsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainTopics_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_DomainTopicsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_DomainTopicsGet() } } - // DomainTopics_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DomainTopicsCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainTopics_CreateOrUpdate.json @@ -159,9 +156,8 @@ public async Task CreateOrUpdate_DomainTopicsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DomainTopics_ListByDomain - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DomainTopicsListByDomain() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainTopics_ListByDomain.json @@ -193,7 +189,7 @@ public async Task GetAll_DomainTopicsListByDomain() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainTopicEventSubscriptionCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainTopicEventSubscriptionCollection.cs index 885fc30d180ae..5b2d9dcb86c56 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainTopicEventSubscriptionCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainTopicEventSubscriptionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_DomainTopicEventSubscriptionCollection { - // DomainTopicEventSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DomainTopicEventSubscriptionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainTopicEventSubscriptions_Get.json @@ -51,9 +51,8 @@ public async Task Get_DomainTopicEventSubscriptionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DomainTopicEventSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DomainTopicEventSubscriptionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainTopicEventSubscriptions_Get.json @@ -83,9 +82,8 @@ public async Task Exists_DomainTopicEventSubscriptionsGet() Console.WriteLine($"Succeeded: {result}"); } - // DomainTopicEventSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DomainTopicEventSubscriptionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainTopicEventSubscriptions_Get.json @@ -115,7 +113,7 @@ public async Task GetIfExists_DomainTopicEventSubscriptionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_DomainTopicEventSubscriptionsGet() } } - // DomainTopicEventSubscriptions_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DomainTopicEventSubscriptionsCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainTopicEventSubscriptions_CreateOrUpdate.json @@ -177,9 +174,8 @@ public async Task CreateOrUpdate_DomainTopicEventSubscriptionsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DomainTopicEventSubscriptions_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DomainTopicEventSubscriptionsList() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainTopicEventSubscriptions_List.json @@ -212,7 +208,7 @@ public async Task GetAll_DomainTopicEventSubscriptionsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainTopicEventSubscriptionResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainTopicEventSubscriptionResource.cs index 437b684d34515..a2f43acd031fc 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainTopicEventSubscriptionResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainTopicEventSubscriptionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_DomainTopicEventSubscriptionResource { - // DomainTopicEventSubscriptions_GetDeliveryAttributes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeliveryAttributes_DomainTopicEventSubscriptionsGetDeliveryAttributes() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainTopicEventSubscriptions_GetDeliveryAttributes.json @@ -44,12 +44,11 @@ public async Task GetDeliveryAttributes_DomainTopicEventSubscriptionsGetDelivery Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DomainTopicEventSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DomainTopicEventSubscriptionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainTopicEventSubscriptions_Get.json @@ -80,9 +79,8 @@ public async Task Get_DomainTopicEventSubscriptionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DomainTopicEventSubscriptions_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DomainTopicEventSubscriptionsDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainTopicEventSubscriptions_Delete.json @@ -106,12 +104,11 @@ public async Task Delete_DomainTopicEventSubscriptionsDelete() // invoke the operation await domainTopicEventSubscription.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DomainTopicEventSubscriptions_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DomainTopicEventSubscriptionsUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainTopicEventSubscriptions_Update.json @@ -160,9 +157,8 @@ public async Task Update_DomainTopicEventSubscriptionsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DomainTopicEventSubscriptions_GetFullUrl - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFullUri_DomainTopicEventSubscriptionsGetFullUrl() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainTopicEventSubscriptions_GetFullUrl.json diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainTopicResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainTopicResource.cs index d32617f627ccb..d7e8972f5eceb 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainTopicResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_DomainTopicResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_DomainTopicResource { - // DomainTopics_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DomainTopicsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainTopics_Get.json @@ -46,9 +46,8 @@ public async Task Get_DomainTopicsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DomainTopics_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DomainTopicsCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainTopics_CreateOrUpdate.json @@ -79,9 +78,8 @@ public async Task Update_DomainTopicsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DomainTopics_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DomainTopicsDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/DomainTopics_Delete.json @@ -104,7 +102,7 @@ public async Task Delete_DomainTopicsDelete() // invoke the operation await domainTopic.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridDomainCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridDomainCollection.cs index e09af0cd60db4..7a605e2a76d26 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridDomainCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridDomainCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_EventGridDomainCollection { - // Domains_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DomainsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Domains_Get.json @@ -50,9 +50,8 @@ public async Task Get_DomainsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Domains_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DomainsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Domains_Get.json @@ -80,9 +79,8 @@ public async Task Exists_DomainsGet() Console.WriteLine($"Succeeded: {result}"); } - // Domains_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DomainsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Domains_Get.json @@ -110,7 +108,7 @@ public async Task GetIfExists_DomainsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_DomainsGet() } } - // Domains_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DomainsCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Domains_CreateOrUpdate.json @@ -178,9 +175,8 @@ public async Task CreateOrUpdate_DomainsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Domains_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DomainsListByResourceGroup() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Domains_ListByResourceGroup.json @@ -211,7 +207,7 @@ public async Task GetAll_DomainsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridDomainPrivateEndpointConnectionCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridDomainPrivateEndpointConnectionCollection.cs index cc8ab17f53cf9..211e6de92d223 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridDomainPrivateEndpointConnectionCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridDomainPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_EventGridDomainPrivateEndpointConnectionCollection { - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Get.json @@ -50,9 +50,8 @@ public async Task Get_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Get.json @@ -81,9 +80,8 @@ public async Task Exists_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_PrivateEndpointConnectionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_PrivateEndpointConnectionsGet() } } - // PrivateEndpointConnections_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateEndpointConnectionsUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Update.json @@ -169,9 +166,8 @@ public async Task CreateOrUpdate_PrivateEndpointConnectionsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_ListByResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndpointConnectionsListByResource() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateEndpointConnections_ListByResource.json @@ -203,7 +199,7 @@ public async Task GetAll_PrivateEndpointConnectionsListByResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridDomainPrivateEndpointConnectionResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridDomainPrivateEndpointConnectionResource.cs index 32e2738109d23..d7ac7fa759e6e 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridDomainPrivateEndpointConnectionResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridDomainPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_EventGridDomainPrivateEndpointConnectionResource { - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Get.json @@ -47,9 +47,8 @@ public async Task Get_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateEndpointConnectionsUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Update.json @@ -89,9 +88,8 @@ public async Task Update_PrivateEndpointConnectionsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateEndpointConnectionsDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Delete.json @@ -114,7 +112,7 @@ public async Task Delete_PrivateEndpointConnectionsDelete() // invoke the operation await eventGridDomainPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridDomainPrivateLinkResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridDomainPrivateLinkResource.cs index 9ec0b3c592002..9805804577c63 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridDomainPrivateLinkResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridDomainPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_EventGridDomainPrivateLinkResource { - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkResourcesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateLinkResources_Get.json diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridDomainPrivateLinkResourceCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridDomainPrivateLinkResourceCollection.cs index e24eeb3923070..00357a1c14b5d 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridDomainPrivateLinkResourceCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridDomainPrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_EventGridDomainPrivateLinkResourceCollection { - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkResourcesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateLinkResources_Get.json @@ -49,9 +49,8 @@ public async Task Get_PrivateLinkResourcesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateLinkResourcesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateLinkResources_Get.json @@ -80,9 +79,8 @@ public async Task Exists_PrivateLinkResourcesGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateLinkResourcesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateLinkResources_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_PrivateLinkResourcesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_PrivateLinkResourcesGet() } } - // PrivateLinkResources_ListByResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateLinkResourcesListByResource() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateLinkResources_ListByResource.json @@ -157,7 +154,7 @@ public async Task GetAll_PrivateLinkResourcesListByResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridDomainResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridDomainResource.cs index b5caac07c6679..c942b807b6e26 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridDomainResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridDomainResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_EventGridDomainResource { - // Domains_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DomainsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Domains_Get.json @@ -47,9 +47,8 @@ public async Task Get_DomainsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Domains_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DomainsDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Domains_Delete.json @@ -71,12 +70,11 @@ public async Task Delete_DomainsDelete() // invoke the operation await eventGridDomain.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Domains_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DomainsUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Domains_Update.json @@ -119,12 +117,11 @@ public async Task Update_DomainsUpdate() }; await eventGridDomain.UpdateAsync(WaitUntil.Completed, patch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Domains_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEventGridDomains_DomainsListBySubscription() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Domains_ListBySubscription.json @@ -151,12 +148,11 @@ public async Task GetEventGridDomains_DomainsListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Domains_ListSharedAccessKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSharedAccessKeys_DomainsListSharedAccessKeys() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Domains_ListSharedAccessKeys.json @@ -181,9 +177,8 @@ public async Task GetSharedAccessKeys_DomainsListSharedAccessKeys() Console.WriteLine($"Succeeded: {result}"); } - // Domains_RegenerateKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKey_DomainsRegenerateKey() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Domains_RegenerateKey.json diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespaceClientCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespaceClientCollection.cs index 8c787e8155ad7..fbf349c087bff 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespaceClientCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespaceClientCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_EventGridNamespaceClientCollection { - // Clients_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ClientsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Clients_Get.json @@ -50,9 +50,8 @@ public async Task Get_ClientsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Clients_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ClientsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Clients_Get.json @@ -81,9 +80,8 @@ public async Task Exists_ClientsGet() Console.WriteLine($"Succeeded: {result}"); } - // Clients_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ClientsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Clients_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_ClientsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_ClientsGet() } } - // Clients_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ClientsCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Clients_CreateOrUpdate.json @@ -175,9 +172,8 @@ public async Task CreateOrUpdate_ClientsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Clients_ListByNamespace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ClientsListByNamespace() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Clients_ListByNamespace.json @@ -209,7 +205,7 @@ public async Task GetAll_ClientsListByNamespace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespaceClientGroupCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespaceClientGroupCollection.cs index cdd93f9eb4574..6fe8813994cef 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespaceClientGroupCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespaceClientGroupCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_EventGridNamespaceClientGroupCollection { - // ClientGroups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ClientGroupsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/ClientGroups_Get.json @@ -49,9 +49,8 @@ public async Task Get_ClientGroupsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ClientGroups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ClientGroupsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/ClientGroups_Get.json @@ -80,9 +79,8 @@ public async Task Exists_ClientGroupsGet() Console.WriteLine($"Succeeded: {result}"); } - // ClientGroups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ClientGroupsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/ClientGroups_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_ClientGroupsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_ClientGroupsGet() } } - // ClientGroups_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ClientGroupsCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/ClientGroups_CreateOrUpdate.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_ClientGroupsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ClientGroups_ListByNamespace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ClientGroupsListByNamespace() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/ClientGroups_ListByNamespace.json @@ -198,7 +194,7 @@ public async Task GetAll_ClientGroupsListByNamespace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespaceClientGroupResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespaceClientGroupResource.cs index 1e15e6be825d0..0f7b0eb01c585 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespaceClientGroupResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespaceClientGroupResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_EventGridNamespaceClientGroupResource { - // ClientGroups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ClientGroupsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/ClientGroups_Get.json @@ -46,9 +46,8 @@ public async Task Get_ClientGroupsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ClientGroups_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ClientGroupsCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/ClientGroups_CreateOrUpdate.json @@ -84,9 +83,8 @@ public async Task Update_ClientGroupsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ClientGroups_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ClientGroupsDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/ClientGroups_Delete.json @@ -109,7 +107,7 @@ public async Task Delete_ClientGroupsDelete() // invoke the operation await eventGridNamespaceClientGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespaceClientResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespaceClientResource.cs index 76ae52b32e5b0..b34afb6a1f5eb 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespaceClientResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespaceClientResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_EventGridNamespaceClientResource { - // Clients_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ClientsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Clients_Get.json @@ -47,9 +47,8 @@ public async Task Get_ClientsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Clients_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ClientsCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Clients_CreateOrUpdate.json @@ -95,9 +94,8 @@ public async Task Update_ClientsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Clients_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ClientsDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Clients_Delete.json @@ -120,7 +118,7 @@ public async Task Delete_ClientsDelete() // invoke the operation await eventGridNamespaceClient.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespaceCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespaceCollection.cs index ae4b3c0b3532e..93c1adc59eb58 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespaceCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespaceCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_EventGridNamespaceCollection { - // Namespaces_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NamespacesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Namespaces_Get.json @@ -50,9 +50,8 @@ public async Task Get_NamespacesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Namespaces_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NamespacesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Namespaces_Get.json @@ -80,9 +79,8 @@ public async Task Exists_NamespacesGet() Console.WriteLine($"Succeeded: {result}"); } - // Namespaces_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NamespacesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Namespaces_Get.json @@ -110,7 +108,7 @@ public async Task GetIfExists_NamespacesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_NamespacesGet() } } - // Namespaces_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NamespacesCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Namespaces_CreateOrUpdate.json @@ -170,9 +167,8 @@ public async Task CreateOrUpdate_NamespacesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Namespaces_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NamespacesListByResourceGroup() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Namespaces_ListByResourceGroup.json @@ -203,7 +199,7 @@ public async Task GetAll_NamespacesListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespacePermissionBindingCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespacePermissionBindingCollection.cs index d472e2f278a80..e20f19f724d88 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespacePermissionBindingCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespacePermissionBindingCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_EventGridNamespacePermissionBindingCollection { - // PermissionBindings_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PermissionBindingsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PermissionBindings_Get.json @@ -50,9 +50,8 @@ public async Task Get_PermissionBindingsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PermissionBindings_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PermissionBindingsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PermissionBindings_Get.json @@ -81,9 +80,8 @@ public async Task Exists_PermissionBindingsGet() Console.WriteLine($"Succeeded: {result}"); } - // PermissionBindings_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PermissionBindingsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PermissionBindings_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_PermissionBindingsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_PermissionBindingsGet() } } - // PermissionBindings_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PermissionBindingsCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PermissionBindings_CreateOrUpdate.json @@ -166,9 +163,8 @@ public async Task CreateOrUpdate_PermissionBindingsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PermissionBindings_ListByNamespace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PermissionBindingsListByNamespace() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PermissionBindings_ListByNamespace.json @@ -200,7 +196,7 @@ public async Task GetAll_PermissionBindingsListByNamespace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespacePermissionBindingResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespacePermissionBindingResource.cs index caa3e20e76190..cbe84c52a2fdf 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespacePermissionBindingResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespacePermissionBindingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_EventGridNamespacePermissionBindingResource { - // PermissionBindings_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PermissionBindingsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PermissionBindings_Get.json @@ -47,9 +47,8 @@ public async Task Get_PermissionBindingsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PermissionBindings_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PermissionBindingsCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PermissionBindings_CreateOrUpdate.json @@ -86,9 +85,8 @@ public async Task Update_PermissionBindingsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PermissionBindings_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PermissionBindingsDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PermissionBindings_Delete.json @@ -111,7 +109,7 @@ public async Task Delete_PermissionBindingsDelete() // invoke the operation await eventGridNamespacePermissionBinding.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespaceResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespaceResource.cs index b9322c6a8bfee..f0e8492fd75f1 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespaceResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridNamespaceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_EventGridNamespaceResource { - // Namespaces_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NamespacesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Namespaces_Get.json @@ -47,9 +47,8 @@ public async Task Get_NamespacesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Namespaces_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NamespacesDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Namespaces_Delete.json @@ -71,12 +70,11 @@ public async Task Delete_NamespacesDelete() // invoke the operation await eventGridNamespace.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Namespaces_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NamespacesUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Namespaces_Update.json @@ -113,9 +111,8 @@ public async Task Update_NamespacesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Namespaces_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEventGridNamespaces_NamespacesListBySubscription() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Namespaces_ListBySubscription.json @@ -142,12 +139,11 @@ public async Task GetEventGridNamespaces_NamespacesListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Namespaces_ListSharedAccessKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSharedAccessKeys_NamespacesListSharedAccessKeys() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Namespaces_ListSharedAccessKeys.json @@ -172,9 +168,8 @@ public async Task GetSharedAccessKeys_NamespacesListSharedAccessKeys() Console.WriteLine($"Succeeded: {result}"); } - // Namespaces_RegenerateKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKey_NamespacesRegenerateKey() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Namespaces_RegenerateKey.json @@ -201,9 +196,8 @@ public async Task RegenerateKey_NamespacesRegenerateKey() Console.WriteLine($"Succeeded: {result}"); } - // Namespaces_ValidateCustomDomainOwnership - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateCustomDomainOwnership_NamespacesValidateCustomDomainOwnership() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Namespaces_ValidateCustomDomainOwnership.json diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridPartnerNamespacePrivateEndpointConnectionCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridPartnerNamespacePrivateEndpointConnectionCollection.cs index deb38848863fe..0b1d6226827f9 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridPartnerNamespacePrivateEndpointConnectionCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridPartnerNamespacePrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_EventGridPartnerNamespacePrivateEndpointConnectionCollection { - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Get.json @@ -50,9 +50,8 @@ public async Task Get_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Get.json @@ -81,9 +80,8 @@ public async Task Exists_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_PrivateEndpointConnectionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_PrivateEndpointConnectionsGet() } } - // PrivateEndpointConnections_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateEndpointConnectionsUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Update.json @@ -169,9 +166,8 @@ public async Task CreateOrUpdate_PrivateEndpointConnectionsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_ListByResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndpointConnectionsListByResource() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateEndpointConnections_ListByResource.json @@ -203,7 +199,7 @@ public async Task GetAll_PrivateEndpointConnectionsListByResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridPartnerNamespacePrivateEndpointConnectionResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridPartnerNamespacePrivateEndpointConnectionResource.cs index e390229621070..3d55d73ac16df 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridPartnerNamespacePrivateEndpointConnectionResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridPartnerNamespacePrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_EventGridPartnerNamespacePrivateEndpointConnectionResource { - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Get.json @@ -47,9 +47,8 @@ public async Task Get_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateEndpointConnectionsUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Update.json @@ -89,9 +88,8 @@ public async Task Update_PrivateEndpointConnectionsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateEndpointConnectionsDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Delete.json @@ -114,7 +112,7 @@ public async Task Delete_PrivateEndpointConnectionsDelete() // invoke the operation await eventGridPartnerNamespacePrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridTopicCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridTopicCollection.cs index 1df4b28af6da9..4b1e2472b61bf 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridTopicCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridTopicCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.EventGrid.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_EventGridTopicCollection { - // Topics_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TopicsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Topics_Get.json @@ -51,9 +51,8 @@ public async Task Get_TopicsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Topics_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_TopicsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Topics_Get.json @@ -81,9 +80,8 @@ public async Task Exists_TopicsGet() Console.WriteLine($"Succeeded: {result}"); } - // Topics_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TopicsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Topics_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_TopicsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_TopicsGet() } } - // Topics_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TopicsCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Topics_CreateOrUpdate.json @@ -179,9 +176,8 @@ public async Task CreateOrUpdate_TopicsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Topics_CreateOrUpdateForAzureArc - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TopicsCreateOrUpdateForAzureArc() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Topics_CreateOrUpdateForAzureArc.json @@ -228,9 +224,8 @@ public async Task CreateOrUpdate_TopicsCreateOrUpdateForAzureArc() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Topics_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_TopicsListByResourceGroup() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Topics_ListByResourceGroup.json @@ -261,7 +256,7 @@ public async Task GetAll_TopicsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridTopicPrivateEndpointConnectionCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridTopicPrivateEndpointConnectionCollection.cs index 264f60115eaf0..e01aaf290f4c8 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridTopicPrivateEndpointConnectionCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridTopicPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_EventGridTopicPrivateEndpointConnectionCollection { - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Get.json @@ -50,9 +50,8 @@ public async Task Get_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Get.json @@ -81,9 +80,8 @@ public async Task Exists_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_PrivateEndpointConnectionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_PrivateEndpointConnectionsGet() } } - // PrivateEndpointConnections_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateEndpointConnectionsUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Update.json @@ -169,9 +166,8 @@ public async Task CreateOrUpdate_PrivateEndpointConnectionsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_ListByResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndpointConnectionsListByResource() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateEndpointConnections_ListByResource.json @@ -203,7 +199,7 @@ public async Task GetAll_PrivateEndpointConnectionsListByResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridTopicPrivateEndpointConnectionResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridTopicPrivateEndpointConnectionResource.cs index 1eff26de7f385..b03978930ac21 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridTopicPrivateEndpointConnectionResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridTopicPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_EventGridTopicPrivateEndpointConnectionResource { - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Get.json @@ -47,9 +47,8 @@ public async Task Get_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateEndpointConnectionsUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Update.json @@ -89,9 +88,8 @@ public async Task Update_PrivateEndpointConnectionsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateEndpointConnectionsDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateEndpointConnections_Delete.json @@ -114,7 +112,7 @@ public async Task Delete_PrivateEndpointConnectionsDelete() // invoke the operation await eventGridTopicPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridTopicPrivateLinkResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridTopicPrivateLinkResource.cs index ebecba137a552..fe23d0439996e 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridTopicPrivateLinkResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridTopicPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_EventGridTopicPrivateLinkResource { - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkResourcesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateLinkResources_Get.json diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridTopicPrivateLinkResourceCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridTopicPrivateLinkResourceCollection.cs index 2a3b7ba9bbba5..05ca7e7ede019 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridTopicPrivateLinkResourceCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridTopicPrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_EventGridTopicPrivateLinkResourceCollection { - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkResourcesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateLinkResources_Get.json @@ -49,9 +49,8 @@ public async Task Get_PrivateLinkResourcesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateLinkResourcesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateLinkResources_Get.json @@ -80,9 +79,8 @@ public async Task Exists_PrivateLinkResourcesGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateLinkResourcesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateLinkResources_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_PrivateLinkResourcesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_PrivateLinkResourcesGet() } } - // PrivateLinkResources_ListByResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateLinkResourcesListByResource() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateLinkResources_ListByResource.json @@ -157,7 +154,7 @@ public async Task GetAll_PrivateLinkResourcesListByResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridTopicResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridTopicResource.cs index 3ba9b3e85776a..8bc160f26d735 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridTopicResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventGridTopicResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_EventGridTopicResource { - // Topics_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TopicsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Topics_Get.json @@ -47,9 +47,8 @@ public async Task Get_TopicsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Topics_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_TopicsDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Topics_Delete.json @@ -71,12 +70,11 @@ public async Task Delete_TopicsDelete() // invoke the operation await eventGridTopic.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Topics_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TopicsUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Topics_Update.json @@ -119,12 +117,11 @@ public async Task Update_TopicsUpdate() }; await eventGridTopic.UpdateAsync(WaitUntil.Completed, patch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Topics_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEventGridTopics_TopicsListBySubscription() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Topics_ListBySubscription.json @@ -151,12 +148,11 @@ public async Task GetEventGridTopics_TopicsListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Topics_ListSharedAccessKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSharedAccessKeys_TopicsListSharedAccessKeys() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Topics_ListSharedAccessKeys.json @@ -181,9 +177,8 @@ public async Task GetSharedAccessKeys_TopicsListSharedAccessKeys() Console.WriteLine($"Succeeded: {result}"); } - // Topics_RegenerateKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKey_TopicsRegenerateKey() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Topics_RegenerateKey.json diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventSubscriptionCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventSubscriptionCollection.cs index d53b216efa903..e97c5ee9afaba 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventSubscriptionCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventSubscriptionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_EventSubscriptionCollection { - // EventSubscriptions_GetForCustomTopic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventSubscriptionsGetForCustomTopic() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic.json @@ -47,9 +47,8 @@ public async Task Get_EventSubscriptionsGetForCustomTopic() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_GetForCustomTopic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EventSubscriptionsGetForCustomTopic() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic.json @@ -75,9 +74,8 @@ public async Task Exists_EventSubscriptionsGetForCustomTopic() Console.WriteLine($"Succeeded: {result}"); } - // EventSubscriptions_GetForCustomTopic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EventSubscriptionsGetForCustomTopic() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic.json @@ -103,7 +101,7 @@ public async Task GetIfExists_EventSubscriptionsGetForCustomTopic() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -115,9 +113,8 @@ public async Task GetIfExists_EventSubscriptionsGetForCustomTopic() } } - // EventSubscriptions_GetForCustomTopic_AzureFunctionDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventSubscriptionsGetForCustomTopicAzureFunctionDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_AzureFunctionDestination.json @@ -147,9 +144,8 @@ public async Task Get_EventSubscriptionsGetForCustomTopicAzureFunctionDestinatio Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_GetForCustomTopic_AzureFunctionDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EventSubscriptionsGetForCustomTopicAzureFunctionDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_AzureFunctionDestination.json @@ -175,9 +171,8 @@ public async Task Exists_EventSubscriptionsGetForCustomTopicAzureFunctionDestina Console.WriteLine($"Succeeded: {result}"); } - // EventSubscriptions_GetForCustomTopic_AzureFunctionDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EventSubscriptionsGetForCustomTopicAzureFunctionDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_AzureFunctionDestination.json @@ -203,7 +198,7 @@ public async Task GetIfExists_EventSubscriptionsGetForCustomTopicAzureFunctionDe if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -215,9 +210,8 @@ public async Task GetIfExists_EventSubscriptionsGetForCustomTopicAzureFunctionDe } } - // EventSubscriptions_GetForCustomTopic_EventHubDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventSubscriptionsGetForCustomTopicEventHubDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_EventHubDestination.json @@ -247,9 +241,8 @@ public async Task Get_EventSubscriptionsGetForCustomTopicEventHubDestination() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_GetForCustomTopic_EventHubDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EventSubscriptionsGetForCustomTopicEventHubDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_EventHubDestination.json @@ -275,9 +268,8 @@ public async Task Exists_EventSubscriptionsGetForCustomTopicEventHubDestination( Console.WriteLine($"Succeeded: {result}"); } - // EventSubscriptions_GetForCustomTopic_EventHubDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EventSubscriptionsGetForCustomTopicEventHubDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_EventHubDestination.json @@ -303,7 +295,7 @@ public async Task GetIfExists_EventSubscriptionsGetForCustomTopicEventHubDestina if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -315,9 +307,8 @@ public async Task GetIfExists_EventSubscriptionsGetForCustomTopicEventHubDestina } } - // EventSubscriptions_GetForCustomTopic_HybridConnectionDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventSubscriptionsGetForCustomTopicHybridConnectionDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_HybridConnectionDestination.json @@ -347,9 +338,8 @@ public async Task Get_EventSubscriptionsGetForCustomTopicHybridConnectionDestina Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_GetForCustomTopic_HybridConnectionDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EventSubscriptionsGetForCustomTopicHybridConnectionDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_HybridConnectionDestination.json @@ -375,9 +365,8 @@ public async Task Exists_EventSubscriptionsGetForCustomTopicHybridConnectionDest Console.WriteLine($"Succeeded: {result}"); } - // EventSubscriptions_GetForCustomTopic_HybridConnectionDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EventSubscriptionsGetForCustomTopicHybridConnectionDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_HybridConnectionDestination.json @@ -403,7 +392,7 @@ public async Task GetIfExists_EventSubscriptionsGetForCustomTopicHybridConnectio if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -415,9 +404,8 @@ public async Task GetIfExists_EventSubscriptionsGetForCustomTopicHybridConnectio } } - // EventSubscriptions_GetForCustomTopic_ServiceBusQueueDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventSubscriptionsGetForCustomTopicServiceBusQueueDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_ServiceBusQueueDestination.json @@ -447,9 +435,8 @@ public async Task Get_EventSubscriptionsGetForCustomTopicServiceBusQueueDestinat Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_GetForCustomTopic_ServiceBusQueueDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EventSubscriptionsGetForCustomTopicServiceBusQueueDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_ServiceBusQueueDestination.json @@ -475,9 +462,8 @@ public async Task Exists_EventSubscriptionsGetForCustomTopicServiceBusQueueDesti Console.WriteLine($"Succeeded: {result}"); } - // EventSubscriptions_GetForCustomTopic_ServiceBusQueueDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EventSubscriptionsGetForCustomTopicServiceBusQueueDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_ServiceBusQueueDestination.json @@ -503,7 +489,7 @@ public async Task GetIfExists_EventSubscriptionsGetForCustomTopicServiceBusQueue if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -515,9 +501,8 @@ public async Task GetIfExists_EventSubscriptionsGetForCustomTopicServiceBusQueue } } - // EventSubscriptions_GetForCustomTopic_ServiceBusTopicDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventSubscriptionsGetForCustomTopicServiceBusTopicDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_ServiceBusTopicDestination.json @@ -547,9 +532,8 @@ public async Task Get_EventSubscriptionsGetForCustomTopicServiceBusTopicDestinat Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_GetForCustomTopic_ServiceBusTopicDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EventSubscriptionsGetForCustomTopicServiceBusTopicDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_ServiceBusTopicDestination.json @@ -575,9 +559,8 @@ public async Task Exists_EventSubscriptionsGetForCustomTopicServiceBusTopicDesti Console.WriteLine($"Succeeded: {result}"); } - // EventSubscriptions_GetForCustomTopic_ServiceBusTopicDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EventSubscriptionsGetForCustomTopicServiceBusTopicDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_ServiceBusTopicDestination.json @@ -603,7 +586,7 @@ public async Task GetIfExists_EventSubscriptionsGetForCustomTopicServiceBusTopic if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -615,9 +598,8 @@ public async Task GetIfExists_EventSubscriptionsGetForCustomTopicServiceBusTopic } } - // EventSubscriptions_GetForCustomTopic_StorageQueueDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventSubscriptionsGetForCustomTopicStorageQueueDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_StorageQueueDestination.json @@ -647,9 +629,8 @@ public async Task Get_EventSubscriptionsGetForCustomTopicStorageQueueDestination Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_GetForCustomTopic_StorageQueueDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EventSubscriptionsGetForCustomTopicStorageQueueDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_StorageQueueDestination.json @@ -675,9 +656,8 @@ public async Task Exists_EventSubscriptionsGetForCustomTopicStorageQueueDestinat Console.WriteLine($"Succeeded: {result}"); } - // EventSubscriptions_GetForCustomTopic_StorageQueueDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EventSubscriptionsGetForCustomTopicStorageQueueDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_StorageQueueDestination.json @@ -703,7 +683,7 @@ public async Task GetIfExists_EventSubscriptionsGetForCustomTopicStorageQueueDes if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -715,9 +695,8 @@ public async Task GetIfExists_EventSubscriptionsGetForCustomTopicStorageQueueDes } } - // EventSubscriptions_GetForCustomTopic_WebhookDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventSubscriptionsGetForCustomTopicWebhookDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_WebhookDestination.json @@ -747,9 +726,8 @@ public async Task Get_EventSubscriptionsGetForCustomTopicWebhookDestination() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_GetForCustomTopic_WebhookDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EventSubscriptionsGetForCustomTopicWebhookDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_WebhookDestination.json @@ -775,9 +753,8 @@ public async Task Exists_EventSubscriptionsGetForCustomTopicWebhookDestination() Console.WriteLine($"Succeeded: {result}"); } - // EventSubscriptions_GetForCustomTopic_WebhookDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EventSubscriptionsGetForCustomTopicWebhookDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_WebhookDestination.json @@ -803,7 +780,7 @@ public async Task GetIfExists_EventSubscriptionsGetForCustomTopicWebhookDestinat if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -815,9 +792,8 @@ public async Task GetIfExists_EventSubscriptionsGetForCustomTopicWebhookDestinat } } - // EventSubscriptions_GetForResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventSubscriptionsGetForResource() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForResource.json @@ -847,9 +823,8 @@ public async Task Get_EventSubscriptionsGetForResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_GetForResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EventSubscriptionsGetForResource() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForResource.json @@ -875,9 +850,8 @@ public async Task Exists_EventSubscriptionsGetForResource() Console.WriteLine($"Succeeded: {result}"); } - // EventSubscriptions_GetForResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EventSubscriptionsGetForResource() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForResource.json @@ -903,7 +877,7 @@ public async Task GetIfExists_EventSubscriptionsGetForResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -915,9 +889,8 @@ public async Task GetIfExists_EventSubscriptionsGetForResource() } } - // EventSubscriptions_GetForResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventSubscriptionsGetForResourceGroup() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForResourceGroup.json @@ -947,9 +920,8 @@ public async Task Get_EventSubscriptionsGetForResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_GetForResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EventSubscriptionsGetForResourceGroup() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForResourceGroup.json @@ -975,9 +947,8 @@ public async Task Exists_EventSubscriptionsGetForResourceGroup() Console.WriteLine($"Succeeded: {result}"); } - // EventSubscriptions_GetForResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EventSubscriptionsGetForResourceGroup() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForResourceGroup.json @@ -1003,7 +974,7 @@ public async Task GetIfExists_EventSubscriptionsGetForResourceGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1015,9 +986,8 @@ public async Task GetIfExists_EventSubscriptionsGetForResourceGroup() } } - // EventSubscriptions_GetForSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventSubscriptionsGetForSubscription() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForSubscription.json @@ -1047,9 +1017,8 @@ public async Task Get_EventSubscriptionsGetForSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_GetForSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EventSubscriptionsGetForSubscription() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForSubscription.json @@ -1075,9 +1044,8 @@ public async Task Exists_EventSubscriptionsGetForSubscription() Console.WriteLine($"Succeeded: {result}"); } - // EventSubscriptions_GetForSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EventSubscriptionsGetForSubscription() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForSubscription.json @@ -1103,7 +1071,7 @@ public async Task GetIfExists_EventSubscriptionsGetForSubscription() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1115,9 +1083,8 @@ public async Task GetIfExists_EventSubscriptionsGetForSubscription() } } - // EventSubscriptions_CreateOrUpdateForCustomTopic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EventSubscriptionsCreateOrUpdateForCustomTopic() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic.json @@ -1161,9 +1128,8 @@ public async Task CreateOrUpdate_EventSubscriptionsCreateOrUpdateForCustomTopic( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_CreateOrUpdateForCustomTopic_AzureFunctionDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EventSubscriptionsCreateOrUpdateForCustomTopicAzureFunctionDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_AzureFunctionDestination.json @@ -1212,9 +1178,8 @@ public async Task CreateOrUpdate_EventSubscriptionsCreateOrUpdateForCustomTopicA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EventSubscriptionsCreateOrUpdateForCustomTopicEventHubDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination.json @@ -1263,9 +1228,8 @@ public async Task CreateOrUpdate_EventSubscriptionsCreateOrUpdateForCustomTopicE Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EventSubscriptionsCreateOrUpdateForCustomTopicHybridConnectionDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination.json @@ -1314,9 +1278,8 @@ public async Task CreateOrUpdate_EventSubscriptionsCreateOrUpdateForCustomTopicH Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_CreateOrUpdateForCustomTopic_ServiceBusQueueDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EventSubscriptionsCreateOrUpdateForCustomTopicServiceBusQueueDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_ServiceBusQueueDestination.json @@ -1365,9 +1328,8 @@ public async Task CreateOrUpdate_EventSubscriptionsCreateOrUpdateForCustomTopicS Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_CreateOrUpdateForCustomTopic_ServiceBusTopicDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EventSubscriptionsCreateOrUpdateForCustomTopicServiceBusTopicDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_ServiceBusTopicDestination.json @@ -1416,9 +1378,8 @@ public async Task CreateOrUpdate_EventSubscriptionsCreateOrUpdateForCustomTopicS Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EventSubscriptionsCreateOrUpdateForCustomTopicStorageQueueDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json @@ -1469,9 +1430,8 @@ public async Task CreateOrUpdate_EventSubscriptionsCreateOrUpdateForCustomTopicS Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EventSubscriptionsCreateOrUpdateForCustomTopicWebhookDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json @@ -1515,9 +1475,8 @@ public async Task CreateOrUpdate_EventSubscriptionsCreateOrUpdateForCustomTopicW Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_CreateOrUpdateForResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EventSubscriptionsCreateOrUpdateForResource() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_CreateOrUpdateForResource.json @@ -1561,9 +1520,8 @@ public async Task CreateOrUpdate_EventSubscriptionsCreateOrUpdateForResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_CreateOrUpdateForResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EventSubscriptionsCreateOrUpdateForResourceGroup() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_CreateOrUpdateForResourceGroup.json @@ -1607,9 +1565,8 @@ public async Task CreateOrUpdate_EventSubscriptionsCreateOrUpdateForResourceGrou Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_CreateOrUpdateForSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EventSubscriptionsCreateOrUpdateForSubscription() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_CreateOrUpdateForSubscription.json @@ -1651,9 +1608,8 @@ public async Task CreateOrUpdate_EventSubscriptionsCreateOrUpdateForSubscription Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_ListGlobalBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_EventSubscriptionsListGlobalBySubscription() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_ListGlobalBySubscription.json @@ -1682,12 +1638,11 @@ public async Task GetAll_EventSubscriptionsListGlobalBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // EventSubscriptions_ListGlobalByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_EventSubscriptionsListGlobalByResourceGroup() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_ListGlobalByResourceGroup.json @@ -1717,12 +1672,11 @@ public async Task GetAll_EventSubscriptionsListGlobalByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // EventSubscriptions_ListByResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_EventSubscriptionsListByResource() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_ListByResource.json @@ -1755,12 +1709,11 @@ public async Task GetAll_EventSubscriptionsListByResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // EventSubscriptions_ListByDomainTopic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_EventSubscriptionsListByDomainTopic() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_ListByDomainTopic.json @@ -1792,7 +1745,7 @@ public async Task GetAll_EventSubscriptionsListByDomainTopic() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventSubscriptionResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventSubscriptionResource.cs index 31a4ee474860b..d56611383a679 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventSubscriptionResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_EventSubscriptionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_EventSubscriptionResource { - // EventSubscriptions_GetDeliveryAttributes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeliveryAttributes_EventSubscriptionsGetDeliveryAttributes() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetDeliveryAttributes.json @@ -41,12 +41,11 @@ public async Task GetDeliveryAttributes_EventSubscriptionsGetDeliveryAttributes( Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // EventSubscriptions_GetForCustomTopic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventSubscriptionsGetForCustomTopic() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic.json @@ -74,9 +73,8 @@ public async Task Get_EventSubscriptionsGetForCustomTopic() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_GetForCustomTopic_AzureFunctionDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventSubscriptionsGetForCustomTopicAzureFunctionDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_AzureFunctionDestination.json @@ -104,9 +102,8 @@ public async Task Get_EventSubscriptionsGetForCustomTopicAzureFunctionDestinatio Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_GetForCustomTopic_EventHubDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventSubscriptionsGetForCustomTopicEventHubDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_EventHubDestination.json @@ -134,9 +131,8 @@ public async Task Get_EventSubscriptionsGetForCustomTopicEventHubDestination() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_GetForCustomTopic_HybridConnectionDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventSubscriptionsGetForCustomTopicHybridConnectionDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_HybridConnectionDestination.json @@ -164,9 +160,8 @@ public async Task Get_EventSubscriptionsGetForCustomTopicHybridConnectionDestina Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_GetForCustomTopic_ServiceBusQueueDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventSubscriptionsGetForCustomTopicServiceBusQueueDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_ServiceBusQueueDestination.json @@ -194,9 +189,8 @@ public async Task Get_EventSubscriptionsGetForCustomTopicServiceBusQueueDestinat Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_GetForCustomTopic_ServiceBusTopicDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventSubscriptionsGetForCustomTopicServiceBusTopicDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_ServiceBusTopicDestination.json @@ -224,9 +218,8 @@ public async Task Get_EventSubscriptionsGetForCustomTopicServiceBusTopicDestinat Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_GetForCustomTopic_StorageQueueDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventSubscriptionsGetForCustomTopicStorageQueueDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_StorageQueueDestination.json @@ -254,9 +247,8 @@ public async Task Get_EventSubscriptionsGetForCustomTopicStorageQueueDestination Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_GetForCustomTopic_WebhookDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventSubscriptionsGetForCustomTopicWebhookDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForCustomTopic_WebhookDestination.json @@ -284,9 +276,8 @@ public async Task Get_EventSubscriptionsGetForCustomTopicWebhookDestination() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_GetForResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventSubscriptionsGetForResource() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForResource.json @@ -314,9 +305,8 @@ public async Task Get_EventSubscriptionsGetForResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_GetForResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventSubscriptionsGetForResourceGroup() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForResourceGroup.json @@ -344,9 +334,8 @@ public async Task Get_EventSubscriptionsGetForResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_GetForSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventSubscriptionsGetForSubscription() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetForSubscription.json @@ -374,9 +363,8 @@ public async Task Get_EventSubscriptionsGetForSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_DeleteForCustomTopic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_EventSubscriptionsDeleteForCustomTopic() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_DeleteForCustomTopic.json @@ -397,12 +385,11 @@ public async Task Delete_EventSubscriptionsDeleteForCustomTopic() // invoke the operation await eventSubscription.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // EventSubscriptions_DeleteForResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_EventSubscriptionsDeleteForResource() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_DeleteForResource.json @@ -423,12 +410,11 @@ public async Task Delete_EventSubscriptionsDeleteForResource() // invoke the operation await eventSubscription.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // EventSubscriptions_DeleteForResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_EventSubscriptionsDeleteForResourceGroup() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_DeleteForResourceGroup.json @@ -449,12 +435,11 @@ public async Task Delete_EventSubscriptionsDeleteForResourceGroup() // invoke the operation await eventSubscription.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // EventSubscriptions_DeleteForSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_EventSubscriptionsDeleteForSubscription() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_DeleteForSubscription.json @@ -475,12 +460,11 @@ public async Task Delete_EventSubscriptionsDeleteForSubscription() // invoke the operation await eventSubscription.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // EventSubscriptions_UpdateForCustomTopic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_EventSubscriptionsUpdateForCustomTopic() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_UpdateForCustomTopic.json @@ -526,9 +510,8 @@ public async Task Update_EventSubscriptionsUpdateForCustomTopic() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_UpdateForCustomTopic_AzureFunctionDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_EventSubscriptionsUpdateForCustomTopicAzureFunctionDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_UpdateForCustomTopic_AzureFunctionDestination.json @@ -575,9 +558,8 @@ public async Task Update_EventSubscriptionsUpdateForCustomTopicAzureFunctionDest Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_UpdateForCustomTopic_EventHubDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_EventSubscriptionsUpdateForCustomTopicEventHubDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_UpdateForCustomTopic_EventHubDestination.json @@ -623,9 +605,8 @@ public async Task Update_EventSubscriptionsUpdateForCustomTopicEventHubDestinati Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_UpdateForCustomTopic_HybridConnectionDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_EventSubscriptionsUpdateForCustomTopicHybridConnectionDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_UpdateForCustomTopic_HybridConnectionDestination.json @@ -671,9 +652,8 @@ public async Task Update_EventSubscriptionsUpdateForCustomTopicHybridConnectionD Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_UpdateForCustomTopic_ServiceBusQueueDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_EventSubscriptionsUpdateForCustomTopicServiceBusQueueDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_UpdateForCustomTopic_ServiceBusQueueDestination.json @@ -720,9 +700,8 @@ public async Task Update_EventSubscriptionsUpdateForCustomTopicServiceBusQueueDe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_UpdateForCustomTopic_ServiceBusTopicDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_EventSubscriptionsUpdateForCustomTopicServiceBusTopicDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_UpdateForCustomTopic_ServiceBusTopicDestination.json @@ -768,9 +747,8 @@ public async Task Update_EventSubscriptionsUpdateForCustomTopicServiceBusTopicDe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_UpdateForCustomTopic_StorageQueueDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_EventSubscriptionsUpdateForCustomTopicStorageQueueDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_UpdateForCustomTopic_StorageQueueDestination.json @@ -819,9 +797,8 @@ public async Task Update_EventSubscriptionsUpdateForCustomTopicStorageQueueDesti Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_UpdateForCustomTopic_WebhookDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_EventSubscriptionsUpdateForCustomTopicWebhookDestination() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_UpdateForCustomTopic_WebhookDestination.json @@ -867,9 +844,8 @@ public async Task Update_EventSubscriptionsUpdateForCustomTopicWebhookDestinatio Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_UpdateForResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_EventSubscriptionsUpdateForResource() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_UpdateForResource.json @@ -915,9 +891,8 @@ public async Task Update_EventSubscriptionsUpdateForResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_UpdateForResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_EventSubscriptionsUpdateForResourceGroup() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_UpdateForResourceGroup.json @@ -963,9 +938,8 @@ public async Task Update_EventSubscriptionsUpdateForResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_UpdateForSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_EventSubscriptionsUpdateForSubscription() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_UpdateForSubscription.json @@ -1011,9 +985,8 @@ public async Task Update_EventSubscriptionsUpdateForSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventSubscriptions_GetFullUrlForCustomTopic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFullUri_EventSubscriptionsGetFullUrlForCustomTopic() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetFullUrlForCustomTopic.json @@ -1037,9 +1010,8 @@ public async Task GetFullUri_EventSubscriptionsGetFullUrlForCustomTopic() Console.WriteLine($"Succeeded: {result}"); } - // EventSubscriptions_GetFullUrlForResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFullUri_EventSubscriptionsGetFullUrlForResource() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetFullUrlForResource.json @@ -1063,9 +1035,8 @@ public async Task GetFullUri_EventSubscriptionsGetFullUrlForResource() Console.WriteLine($"Succeeded: {result}"); } - // EventSubscriptions_GetFullUrlForResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFullUri_EventSubscriptionsGetFullUrlForResourceGroup() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetFullUrlForResourceGroup.json @@ -1089,9 +1060,8 @@ public async Task GetFullUri_EventSubscriptionsGetFullUrlForResourceGroup() Console.WriteLine($"Succeeded: {result}"); } - // EventSubscriptions_GetFullUrlForSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFullUri_EventSubscriptionsGetFullUrlForSubscription() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/EventSubscriptions_GetFullUrlForSubscription.json diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_ExtensionTopicResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_ExtensionTopicResource.cs index c08dc6a6831e0..429201a68bf7b 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_ExtensionTopicResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_ExtensionTopicResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_ExtensionTopicResource { - // ExtensionTopics_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExtensionTopicsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/ExtensionTopics_Get.json diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_NamespaceTopicCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_NamespaceTopicCollection.cs index b8bea916e54f4..b1bef4eafa945 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_NamespaceTopicCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_NamespaceTopicCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_NamespaceTopicCollection { - // NamespaceTopics_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NamespaceTopicsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NamespaceTopics_Get.json @@ -50,9 +50,8 @@ public async Task Get_NamespaceTopicsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NamespaceTopics_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NamespaceTopicsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NamespaceTopics_Get.json @@ -81,9 +80,8 @@ public async Task Exists_NamespaceTopicsGet() Console.WriteLine($"Succeeded: {result}"); } - // NamespaceTopics_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NamespaceTopicsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NamespaceTopics_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_NamespaceTopicsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_NamespaceTopicsGet() } } - // NamespaceTopics_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NamespaceTopicsCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NamespaceTopics_CreateOrUpdate.json @@ -166,9 +163,8 @@ public async Task CreateOrUpdate_NamespaceTopicsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NamespaceTopics_ListByNamespace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NamespaceTopicsListByNamespace() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NamespaceTopics_ListByNamespace.json @@ -200,7 +196,7 @@ public async Task GetAll_NamespaceTopicsListByNamespace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_NamespaceTopicEventSubscriptionCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_NamespaceTopicEventSubscriptionCollection.cs index 1ab45418f1474..ad7e63408c939 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_NamespaceTopicEventSubscriptionCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_NamespaceTopicEventSubscriptionCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_NamespaceTopicEventSubscriptionCollection { - // NamespaceTopicEventSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NamespaceTopicEventSubscriptionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NamespaceTopicEventSubscriptions_Get.json @@ -52,9 +52,8 @@ public async Task Get_NamespaceTopicEventSubscriptionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NamespaceTopicEventSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NamespaceTopicEventSubscriptionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NamespaceTopicEventSubscriptions_Get.json @@ -84,9 +83,8 @@ public async Task Exists_NamespaceTopicEventSubscriptionsGet() Console.WriteLine($"Succeeded: {result}"); } - // NamespaceTopicEventSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NamespaceTopicEventSubscriptionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NamespaceTopicEventSubscriptions_Get.json @@ -116,7 +114,7 @@ public async Task GetIfExists_NamespaceTopicEventSubscriptionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -128,9 +126,8 @@ public async Task GetIfExists_NamespaceTopicEventSubscriptionsGet() } } - // NamespaceTopicEventSubscriptions_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NamespaceTopicEventSubscriptionsCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NamespaceTopicEventSubscriptions_CreateOrUpdate.json @@ -179,9 +176,8 @@ public async Task CreateOrUpdate_NamespaceTopicEventSubscriptionsCreateOrUpdate( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NamespaceTopicEventSubscriptions_ListByNamespaceTopic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NamespaceTopicEventSubscriptionsListByNamespaceTopic() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NamespaceTopicEventSubscriptions_ListByNamespaceTopic.json @@ -214,7 +210,7 @@ public async Task GetAll_NamespaceTopicEventSubscriptionsListByNamespaceTopic() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_NamespaceTopicEventSubscriptionResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_NamespaceTopicEventSubscriptionResource.cs index a6709b6e0f6e5..8f8f25cf6e07d 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_NamespaceTopicEventSubscriptionResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_NamespaceTopicEventSubscriptionResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_NamespaceTopicEventSubscriptionResource { - // NamespaceTopicEventSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NamespaceTopicEventSubscriptionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NamespaceTopicEventSubscriptions_Get.json @@ -49,9 +49,8 @@ public async Task Get_NamespaceTopicEventSubscriptionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NamespaceTopicEventSubscriptions_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NamespaceTopicEventSubscriptionsDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NamespaceTopicEventSubscriptions_Delete.json @@ -75,12 +74,11 @@ public async Task Delete_NamespaceTopicEventSubscriptionsDelete() // invoke the operation await namespaceTopicEventSubscription.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NamespaceTopicEventSubscriptions_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NamespaceTopicEventSubscriptionsUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NamespaceTopicEventSubscriptions_Update.json @@ -126,9 +124,8 @@ public async Task Update_NamespaceTopicEventSubscriptionsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NamespaceTopicEventSubscriptions_GetDeliveryAttributes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeliveryAttributes_NamespaceTopicEventSubscriptionsGetDeliveryAttributes() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NamespaceTopicEventSubscriptions_GetDeliveryAttributes.json @@ -155,12 +152,11 @@ public async Task GetDeliveryAttributes_NamespaceTopicEventSubscriptionsGetDeliv Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NamespaceTopicEventSubscriptions_GetFullUrl - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFullUri_NamespaceTopicEventSubscriptionsGetFullUrl() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NamespaceTopicEventSubscriptions_GetFullUrl.json diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_NamespaceTopicResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_NamespaceTopicResource.cs index 21fd42dee7e49..2c3bc816b8ba6 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_NamespaceTopicResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_NamespaceTopicResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_NamespaceTopicResource { - // NamespaceTopics_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NamespaceTopicsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NamespaceTopics_Get.json @@ -47,9 +47,8 @@ public async Task Get_NamespaceTopicsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NamespaceTopics_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NamespaceTopicsDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NamespaceTopics_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_NamespaceTopicsDelete() // invoke the operation await namespaceTopic.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NamespaceTopics_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NamespaceTopicsUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NamespaceTopics_Update.json @@ -112,9 +110,8 @@ public async Task Update_NamespaceTopicsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NamespaceTopics_ListSharedAccessKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSharedAccessKeys_NamespaceTopicsListSharedAccessKeys() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NamespaceTopics_ListSharedAccessKeys.json @@ -140,9 +137,8 @@ public async Task GetSharedAccessKeys_NamespaceTopicsListSharedAccessKeys() Console.WriteLine($"Succeeded: {result}"); } - // NamespaceTopics_RegenerateKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKey_NamespaceTopicsRegenerateKey() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NamespaceTopics_RegenerateKey.json diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerConfigurationResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerConfigurationResource.cs index 865e227c79626..771f6cccc6df0 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerConfigurationResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerConfigurationResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_PartnerConfigurationResource { - // PartnerConfigurations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PartnerConfigurationsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerConfigurations_Get.json @@ -46,9 +46,8 @@ public async Task Get_PartnerConfigurationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerConfigurations_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PartnerConfigurationsCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerConfigurations_CreateOrUpdate.json @@ -98,9 +97,8 @@ public async Task CreateOrUpdate_PartnerConfigurationsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerConfigurations_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PartnerConfigurationsDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerConfigurations_Delete.json @@ -121,12 +119,11 @@ public async Task Delete_PartnerConfigurationsDelete() // invoke the operation await partnerConfiguration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PartnerConfigurations_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PartnerConfigurationsUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerConfigurations_Update.json @@ -164,9 +161,8 @@ public async Task Update_PartnerConfigurationsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerConfigurations_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPartnerConfigurations_PartnerConfigurationsListBySubscription() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerConfigurations_ListBySubscription.json @@ -193,12 +189,11 @@ public async Task GetPartnerConfigurations_PartnerConfigurationsListBySubscripti Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PartnerConfigurations_AuthorizePartner - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AuthorizePartner_PartnerConfigurationsAuthorizePartner() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerConfigurations_AuthorizePartner.json @@ -232,9 +227,8 @@ public async Task AuthorizePartner_PartnerConfigurationsAuthorizePartner() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerConfigurations_UnauthorizePartner - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UnauthorizePartner_PartnerConfigurationsUnauthorizePartner() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerConfigurations_UnauthorizePartner.json diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerDestinationCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerDestinationCollection.cs index f198c9af75cee..1b505a5ef51c1 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerDestinationCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerDestinationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_PartnerDestinationCollection { - // PartnerDestinations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PartnerDestinationsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerDestinations_Get.json @@ -49,9 +49,8 @@ public async Task Get_PartnerDestinationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerDestinations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PartnerDestinationsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerDestinations_Get.json @@ -79,9 +78,8 @@ public async Task Exists_PartnerDestinationsGet() Console.WriteLine($"Succeeded: {result}"); } - // PartnerDestinations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PartnerDestinationsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerDestinations_Get.json @@ -109,7 +107,7 @@ public async Task GetIfExists_PartnerDestinationsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_PartnerDestinationsGet() } } - // PartnerDestinations_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PartnerDestinationsCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerDestinations_CreateOrUpdate.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_PartnerDestinationsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerDestinations_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PartnerDestinationsListByResourceGroup() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerDestinations_ListByResourceGroup.json @@ -197,7 +193,7 @@ public async Task GetAll_PartnerDestinationsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerDestinationResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerDestinationResource.cs index 2d28eede72a16..5086718449680 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerDestinationResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerDestinationResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_PartnerDestinationResource { - // PartnerDestinations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PartnerDestinationsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerDestinations_Get.json @@ -47,9 +47,8 @@ public async Task Get_PartnerDestinationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerDestinations_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PartnerDestinationsDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerDestinations_Delete.json @@ -71,12 +70,11 @@ public async Task Delete_PartnerDestinationsDelete() // invoke the operation await partnerDestination.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PartnerDestinations_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PartnerDestinationsUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerDestinations_Update.json @@ -114,9 +112,8 @@ public async Task Update_PartnerDestinationsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerDestinations_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPartnerDestinations_PartnerDestinationsListBySubscription() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerDestinations_ListBySubscription.json @@ -143,12 +140,11 @@ public async Task GetPartnerDestinations_PartnerDestinationsListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PartnerDestinations_Activate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Activate_PartnerDestinationsActivate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerDestinations_Activate.json diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerNamespaceChannelCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerNamespaceChannelCollection.cs index 679e4c4388f6d..98d1953be6f41 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerNamespaceChannelCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerNamespaceChannelCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_PartnerNamespaceChannelCollection { - // Channels_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ChannelsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Channels_Get.json @@ -50,9 +50,8 @@ public async Task Get_ChannelsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Channels_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ChannelsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Channels_Get.json @@ -81,9 +80,8 @@ public async Task Exists_ChannelsGet() Console.WriteLine($"Succeeded: {result}"); } - // Channels_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ChannelsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Channels_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_ChannelsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_ChannelsGet() } } - // Channels_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ChannelsCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Channels_CreateOrUpdate.json @@ -173,9 +170,8 @@ public async Task CreateOrUpdate_ChannelsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Channels_ListByPartnerNamespace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ChannelsListByPartnerNamespace() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Channels_ListByPartnerNamespace.json @@ -207,7 +203,7 @@ public async Task GetAll_ChannelsListByPartnerNamespace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerNamespaceChannelResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerNamespaceChannelResource.cs index 87c099a431ccb..7488087da7a88 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerNamespaceChannelResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerNamespaceChannelResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_PartnerNamespaceChannelResource { - // Channels_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ChannelsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Channels_Get.json @@ -47,9 +47,8 @@ public async Task Get_ChannelsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Channels_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ChannelsDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Channels_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_ChannelsDelete() // invoke the operation await partnerNamespaceChannel.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Channels_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ChannelsUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Channels_Update.json @@ -104,12 +102,11 @@ public async Task Update_ChannelsUpdate() }; await partnerNamespaceChannel.UpdateAsync(patch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Channels_GetFullUrl - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFullUri_ChannelsGetFullUrl() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/Channels_GetFullUrl.json diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerNamespaceCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerNamespaceCollection.cs index 3ba7e1f47d623..4c34deca91cba 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerNamespaceCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerNamespaceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_PartnerNamespaceCollection { - // PartnerNamespaces_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PartnerNamespacesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerNamespaces_Get.json @@ -49,9 +49,8 @@ public async Task Get_PartnerNamespacesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerNamespaces_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PartnerNamespacesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerNamespaces_Get.json @@ -79,9 +78,8 @@ public async Task Exists_PartnerNamespacesGet() Console.WriteLine($"Succeeded: {result}"); } - // PartnerNamespaces_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PartnerNamespacesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerNamespaces_Get.json @@ -109,7 +107,7 @@ public async Task GetIfExists_PartnerNamespacesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_PartnerNamespacesGet() } } - // PartnerNamespaces_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PartnerNamespacesCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerNamespaces_CreateOrUpdate.json @@ -165,9 +162,8 @@ public async Task CreateOrUpdate_PartnerNamespacesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerNamespaces_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PartnerNamespacesListByResourceGroup() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerNamespaces_ListByResourceGroup.json @@ -198,7 +194,7 @@ public async Task GetAll_PartnerNamespacesListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerNamespacePrivateLinkResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerNamespacePrivateLinkResource.cs index 153584014d828..ef2052ce575d6 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerNamespacePrivateLinkResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerNamespacePrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_PartnerNamespacePrivateLinkResource { - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkResourcesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateLinkResources_Get.json diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerNamespacePrivateLinkResourceCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerNamespacePrivateLinkResourceCollection.cs index 1976193c1e82a..03f21cbdeded3 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerNamespacePrivateLinkResourceCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerNamespacePrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_PartnerNamespacePrivateLinkResourceCollection { - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkResourcesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateLinkResources_Get.json @@ -49,9 +49,8 @@ public async Task Get_PrivateLinkResourcesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateLinkResourcesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateLinkResources_Get.json @@ -80,9 +79,8 @@ public async Task Exists_PrivateLinkResourcesGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateLinkResourcesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateLinkResources_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_PrivateLinkResourcesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_PrivateLinkResourcesGet() } } - // PrivateLinkResources_ListByResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateLinkResourcesListByResource() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PrivateLinkResources_ListByResource.json @@ -157,7 +154,7 @@ public async Task GetAll_PrivateLinkResourcesListByResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerNamespaceResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerNamespaceResource.cs index be08110853c90..59a0e856dcb76 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerNamespaceResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerNamespaceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_PartnerNamespaceResource { - // PartnerNamespaces_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PartnerNamespacesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerNamespaces_Get.json @@ -47,9 +47,8 @@ public async Task Get_PartnerNamespacesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerNamespaces_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PartnerNamespacesDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerNamespaces_Delete.json @@ -71,12 +70,11 @@ public async Task Delete_PartnerNamespacesDelete() // invoke the operation await partnerNamespace.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PartnerNamespaces_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PartnerNamespacesUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerNamespaces_Update.json @@ -105,12 +103,11 @@ public async Task Update_PartnerNamespacesUpdate() }; await partnerNamespace.UpdateAsync(WaitUntil.Completed, patch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PartnerNamespaces_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPartnerNamespaces_PartnerNamespacesListBySubscription() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerNamespaces_ListBySubscription.json @@ -137,12 +134,11 @@ public async Task GetPartnerNamespaces_PartnerNamespacesListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PartnerNamespaces_ListSharedAccessKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSharedAccessKeys_PartnerNamespacesListSharedAccessKeys() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerNamespaces_ListSharedAccessKeys.json @@ -167,9 +163,8 @@ public async Task GetSharedAccessKeys_PartnerNamespacesListSharedAccessKeys() Console.WriteLine($"Succeeded: {result}"); } - // PartnerNamespaces_RegenerateKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKey_PartnerNamespacesRegenerateKey() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerNamespaces_RegenerateKey.json diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerRegistrationCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerRegistrationCollection.cs index 3b16fa7f70d9c..e9e2f666e5ba6 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerRegistrationCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerRegistrationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_PartnerRegistrationCollection { - // PartnerRegistrations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PartnerRegistrationsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerRegistrations_Get.json @@ -49,9 +49,8 @@ public async Task Get_PartnerRegistrationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerRegistrations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PartnerRegistrationsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerRegistrations_Get.json @@ -79,9 +78,8 @@ public async Task Exists_PartnerRegistrationsGet() Console.WriteLine($"Succeeded: {result}"); } - // PartnerRegistrations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PartnerRegistrationsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerRegistrations_Get.json @@ -109,7 +107,7 @@ public async Task GetIfExists_PartnerRegistrationsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_PartnerRegistrationsGet() } } - // PartnerRegistrations_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PartnerRegistrationsCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerRegistrations_CreateOrUpdate.json @@ -165,9 +162,8 @@ public async Task CreateOrUpdate_PartnerRegistrationsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerRegistrations_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PartnerRegistrationsListByResourceGroup() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerRegistrations_ListByResourceGroup.json @@ -198,7 +194,7 @@ public async Task GetAll_PartnerRegistrationsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerRegistrationResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerRegistrationResource.cs index f1a7c4f0d240f..7dd6f559b2d9e 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerRegistrationResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerRegistrationResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_PartnerRegistrationResource { - // PartnerRegistrations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PartnerRegistrationsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerRegistrations_Get.json @@ -47,9 +47,8 @@ public async Task Get_PartnerRegistrationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerRegistrations_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PartnerRegistrationsDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerRegistrations_Delete.json @@ -71,12 +70,11 @@ public async Task Delete_PartnerRegistrationsDelete() // invoke the operation await partnerRegistration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PartnerRegistrations_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PartnerRegistrationsUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerRegistrations_Update.json @@ -105,12 +103,11 @@ public async Task Update_PartnerRegistrationsUpdate() }; await partnerRegistration.UpdateAsync(WaitUntil.Completed, patch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PartnerRegistrations_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPartnerRegistrations_PartnerRegistrationsListBySubscription() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerRegistrations_ListBySubscription.json @@ -137,7 +134,7 @@ public async Task GetPartnerRegistrations_PartnerRegistrationsListBySubscription Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerTopicCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerTopicCollection.cs index 6c0104d5f7016..bf718e706b507 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerTopicCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerTopicCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_PartnerTopicCollection { - // PartnerTopics_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PartnerTopicsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerTopics_Get.json @@ -49,9 +49,8 @@ public async Task Get_PartnerTopicsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerTopics_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PartnerTopicsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerTopics_Get.json @@ -79,9 +78,8 @@ public async Task Exists_PartnerTopicsGet() Console.WriteLine($"Succeeded: {result}"); } - // PartnerTopics_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PartnerTopicsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerTopics_Get.json @@ -109,7 +107,7 @@ public async Task GetIfExists_PartnerTopicsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_PartnerTopicsGet() } } - // PartnerTopics_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PartnerTopicsCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerTopics_CreateOrUpdate.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_PartnerTopicsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerTopics_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PartnerTopicsListByResourceGroup() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerTopics_ListByResourceGroup.json @@ -197,7 +193,7 @@ public async Task GetAll_PartnerTopicsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerTopicEventSubscriptionCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerTopicEventSubscriptionCollection.cs index 36aa68cfb43fd..43d53b05a255f 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerTopicEventSubscriptionCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerTopicEventSubscriptionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_PartnerTopicEventSubscriptionCollection { - // PartnerTopicEventSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PartnerTopicEventSubscriptionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerTopicEventSubscriptions_Get.json @@ -50,9 +50,8 @@ public async Task Get_PartnerTopicEventSubscriptionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerTopicEventSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PartnerTopicEventSubscriptionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerTopicEventSubscriptions_Get.json @@ -81,9 +80,8 @@ public async Task Exists_PartnerTopicEventSubscriptionsGet() Console.WriteLine($"Succeeded: {result}"); } - // PartnerTopicEventSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PartnerTopicEventSubscriptionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerTopicEventSubscriptions_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_PartnerTopicEventSubscriptionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_PartnerTopicEventSubscriptionsGet() } } - // PartnerTopicEventSubscriptions_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PartnerTopicEventSubscriptionsCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerTopicEventSubscriptions_CreateOrUpdate.json @@ -173,9 +170,8 @@ public async Task CreateOrUpdate_PartnerTopicEventSubscriptionsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerTopicEventSubscriptions_ListByPartnerTopic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PartnerTopicEventSubscriptionsListByPartnerTopic() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerTopicEventSubscriptions_ListByPartnerTopic.json @@ -207,7 +203,7 @@ public async Task GetAll_PartnerTopicEventSubscriptionsListByPartnerTopic() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerTopicEventSubscriptionResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerTopicEventSubscriptionResource.cs index b3a9e72b70942..bb9003c67397a 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerTopicEventSubscriptionResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerTopicEventSubscriptionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_PartnerTopicEventSubscriptionResource { - // PartnerTopicEventSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PartnerTopicEventSubscriptionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerTopicEventSubscriptions_Get.json @@ -47,9 +47,8 @@ public async Task Get_PartnerTopicEventSubscriptionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerTopicEventSubscriptions_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PartnerTopicEventSubscriptionsDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerTopicEventSubscriptions_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_PartnerTopicEventSubscriptionsDelete() // invoke the operation await partnerTopicEventSubscription.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PartnerTopicEventSubscriptions_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PartnerTopicEventSubscriptionsUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerTopicEventSubscriptions_Update.json @@ -125,9 +123,8 @@ public async Task Update_PartnerTopicEventSubscriptionsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerTopicEventSubscriptions_GetFullUrl - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFullUri_PartnerTopicEventSubscriptionsGetFullUrl() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerTopicEventSubscriptions_GetFullUrl.json @@ -153,9 +150,8 @@ public async Task GetFullUri_PartnerTopicEventSubscriptionsGetFullUrl() Console.WriteLine($"Succeeded: {result}"); } - // PartnerTopicEventSubscriptions_GetDeliveryAttributes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeliveryAttributes_PartnerTopicEventSubscriptionsGetDeliveryAttributes() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerTopicEventSubscriptions_GetDeliveryAttributes.json @@ -181,7 +177,7 @@ public async Task GetDeliveryAttributes_PartnerTopicEventSubscriptionsGetDeliver Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerTopicResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerTopicResource.cs index e4581c3e0e77a..b15e096a9a854 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerTopicResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_PartnerTopicResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_PartnerTopicResource { - // PartnerTopics_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PartnerTopicsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerTopics_Get.json @@ -47,9 +47,8 @@ public async Task Get_PartnerTopicsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerTopics_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PartnerTopicsDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerTopics_Delete.json @@ -71,12 +70,11 @@ public async Task Delete_PartnerTopicsDelete() // invoke the operation await partnerTopic.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PartnerTopics_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PartnerTopicsUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerTopics_Update.json @@ -113,9 +111,8 @@ public async Task Update_PartnerTopicsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerTopics_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPartnerTopics_PartnerTopicsListBySubscription() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerTopics_ListBySubscription.json @@ -142,12 +139,11 @@ public async Task GetPartnerTopics_PartnerTopicsListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PartnerTopics_Activate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Activate_PartnerTopicsActivate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerTopics_Activate.json @@ -176,9 +172,8 @@ public async Task Activate_PartnerTopicsActivate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerTopics_Deactivate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Deactivate_PartnerTopicsDeactivate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/PartnerTopics_Deactivate.json diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_SystemTopicCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_SystemTopicCollection.cs index 8eabf9814c088..26f393eb2f3ff 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_SystemTopicCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_SystemTopicCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_SystemTopicCollection { - // SystemTopics_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SystemTopicsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/SystemTopics_Get.json @@ -49,9 +49,8 @@ public async Task Get_SystemTopicsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SystemTopics_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SystemTopicsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/SystemTopics_Get.json @@ -79,9 +78,8 @@ public async Task Exists_SystemTopicsGet() Console.WriteLine($"Succeeded: {result}"); } - // SystemTopics_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SystemTopicsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/SystemTopics_Get.json @@ -109,7 +107,7 @@ public async Task GetIfExists_SystemTopicsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_SystemTopicsGet() } } - // SystemTopics_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SystemTopicsCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/SystemTopics_CreateOrUpdate.json @@ -166,9 +163,8 @@ public async Task CreateOrUpdate_SystemTopicsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SystemTopics_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SystemTopicsListByResourceGroup() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/SystemTopics_ListByResourceGroup.json @@ -199,7 +195,7 @@ public async Task GetAll_SystemTopicsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_SystemTopicEventSubscriptionCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_SystemTopicEventSubscriptionCollection.cs index 88fb025a554d5..740db8700524f 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_SystemTopicEventSubscriptionCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_SystemTopicEventSubscriptionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_SystemTopicEventSubscriptionCollection { - // SystemTopicEventSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SystemTopicEventSubscriptionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/SystemTopicEventSubscriptions_Get.json @@ -50,9 +50,8 @@ public async Task Get_SystemTopicEventSubscriptionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SystemTopicEventSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SystemTopicEventSubscriptionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/SystemTopicEventSubscriptions_Get.json @@ -81,9 +80,8 @@ public async Task Exists_SystemTopicEventSubscriptionsGet() Console.WriteLine($"Succeeded: {result}"); } - // SystemTopicEventSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SystemTopicEventSubscriptionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/SystemTopicEventSubscriptions_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_SystemTopicEventSubscriptionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_SystemTopicEventSubscriptionsGet() } } - // SystemTopicEventSubscriptions_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SystemTopicEventSubscriptionsCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/SystemTopicEventSubscriptions_CreateOrUpdate.json @@ -173,9 +170,8 @@ public async Task CreateOrUpdate_SystemTopicEventSubscriptionsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SystemTopicEventSubscriptions_ListBySystemTopic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SystemTopicEventSubscriptionsListBySystemTopic() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/SystemTopicEventSubscriptions_ListBySystemTopic.json @@ -207,7 +203,7 @@ public async Task GetAll_SystemTopicEventSubscriptionsListBySystemTopic() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_SystemTopicEventSubscriptionResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_SystemTopicEventSubscriptionResource.cs index 45862e1f68890..07d4db4c0f1cf 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_SystemTopicEventSubscriptionResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_SystemTopicEventSubscriptionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_SystemTopicEventSubscriptionResource { - // SystemTopicEventSubscriptions_GetDeliveryAttributes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeliveryAttributes_SystemTopicEventSubscriptionsGetDeliveryAttributes() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes.json @@ -43,12 +43,11 @@ public async Task GetDeliveryAttributes_SystemTopicEventSubscriptionsGetDelivery Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SystemTopicEventSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SystemTopicEventSubscriptionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/SystemTopicEventSubscriptions_Get.json @@ -78,9 +77,8 @@ public async Task Get_SystemTopicEventSubscriptionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SystemTopicEventSubscriptions_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SystemTopicEventSubscriptionsDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/SystemTopicEventSubscriptions_Delete.json @@ -103,12 +101,11 @@ public async Task Delete_SystemTopicEventSubscriptionsDelete() // invoke the operation await systemTopicEventSubscription.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SystemTopicEventSubscriptions_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SystemTopicEventSubscriptionsUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/SystemTopicEventSubscriptions_Update.json @@ -156,9 +153,8 @@ public async Task Update_SystemTopicEventSubscriptionsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SystemTopicEventSubscriptions_GetFullUrl - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFullUri_SystemTopicEventSubscriptionsGetFullUrl() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/SystemTopicEventSubscriptions_GetFullUrl.json diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_SystemTopicResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_SystemTopicResource.cs index 74c36b01c3a25..2f5a31168950f 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_SystemTopicResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_SystemTopicResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_SystemTopicResource { - // SystemTopics_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SystemTopicsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/SystemTopics_Get.json @@ -47,9 +47,8 @@ public async Task Get_SystemTopicsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SystemTopics_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SystemTopicsDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/SystemTopics_Delete.json @@ -71,12 +70,11 @@ public async Task Delete_SystemTopicsDelete() // invoke the operation await systemTopic.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SystemTopics_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SystemTopicsUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/SystemTopics_Update.json @@ -114,9 +112,8 @@ public async Task Update_SystemTopicsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SystemTopics_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSystemTopics_SystemTopicsListBySubscription() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/SystemTopics_ListBySubscription.json @@ -143,7 +140,7 @@ public async Task GetSystemTopics_SystemTopicsListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicEventSubscriptionCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicEventSubscriptionCollection.cs index 0d600d246b20e..810eff5f77cd3 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicEventSubscriptionCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicEventSubscriptionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_TopicEventSubscriptionCollection { - // TopicEventSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TopicEventSubscriptionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/TopicEventSubscriptions_Get.json @@ -50,9 +50,8 @@ public async Task Get_TopicEventSubscriptionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TopicEventSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_TopicEventSubscriptionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/TopicEventSubscriptions_Get.json @@ -81,9 +80,8 @@ public async Task Exists_TopicEventSubscriptionsGet() Console.WriteLine($"Succeeded: {result}"); } - // TopicEventSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TopicEventSubscriptionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/TopicEventSubscriptions_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_TopicEventSubscriptionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_TopicEventSubscriptionsGet() } } - // TopicEventSubscriptions_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TopicEventSubscriptionsCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/TopicEventSubscriptions_CreateOrUpdate.json @@ -173,9 +170,8 @@ public async Task CreateOrUpdate_TopicEventSubscriptionsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TopicEventSubscriptions_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_TopicEventSubscriptionsList() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/TopicEventSubscriptions_List.json @@ -207,7 +203,7 @@ public async Task GetAll_TopicEventSubscriptionsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicEventSubscriptionResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicEventSubscriptionResource.cs index 01206e14d0df4..e0c319c807dbc 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicEventSubscriptionResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicEventSubscriptionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_TopicEventSubscriptionResource { - // TopicEventSubscriptions_GetDeliveryAttributes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeliveryAttributes_TopicEventSubscriptionsGetDeliveryAttributes() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/TopicEventSubscriptions_GetDeliveryAttributes.json @@ -43,12 +43,11 @@ public async Task GetDeliveryAttributes_TopicEventSubscriptionsGetDeliveryAttrib Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TopicEventSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TopicEventSubscriptionsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/TopicEventSubscriptions_Get.json @@ -78,9 +77,8 @@ public async Task Get_TopicEventSubscriptionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TopicEventSubscriptions_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_TopicEventSubscriptionsDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/TopicEventSubscriptions_Delete.json @@ -103,12 +101,11 @@ public async Task Delete_TopicEventSubscriptionsDelete() // invoke the operation await topicEventSubscription.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TopicEventSubscriptions_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TopicEventSubscriptionsUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/TopicEventSubscriptions_Update.json @@ -156,9 +153,8 @@ public async Task Update_TopicEventSubscriptionsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TopicEventSubscriptions_GetFullUrl - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFullUri_TopicEventSubscriptionsGetFullUrl() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/TopicEventSubscriptions_GetFullUrl.json diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicNetworkSecurityPerimeterConfigurationCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicNetworkSecurityPerimeterConfigurationCollection.cs index c552dd203d334..e42e77679bd0f 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicNetworkSecurityPerimeterConfigurationCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicNetworkSecurityPerimeterConfigurationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_TopicNetworkSecurityPerimeterConfigurationCollection { - // NetworkSecurityPerimeterConfigurations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkSecurityPerimeterConfigurationsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NetworkSecurityPerimeterConfigurations_Get.json @@ -50,9 +50,8 @@ public async Task Get_NetworkSecurityPerimeterConfigurationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkSecurityPerimeterConfigurations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NetworkSecurityPerimeterConfigurationsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NetworkSecurityPerimeterConfigurations_Get.json @@ -82,9 +81,8 @@ public async Task Exists_NetworkSecurityPerimeterConfigurationsGet() Console.WriteLine($"Succeeded: {result}"); } - // NetworkSecurityPerimeterConfigurations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NetworkSecurityPerimeterConfigurationsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NetworkSecurityPerimeterConfigurations_Get.json @@ -114,7 +112,7 @@ public async Task GetIfExists_NetworkSecurityPerimeterConfigurationsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -126,9 +124,8 @@ public async Task GetIfExists_NetworkSecurityPerimeterConfigurationsGet() } } - // NetworkSecurityPerimeterConfigurations_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NetworkSecurityPerimeterConfigurationsList() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NetworkSecurityPerimeterConfigurations_List.json @@ -157,7 +154,7 @@ public async Task GetAll_NetworkSecurityPerimeterConfigurationsList() Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicNetworkSecurityPerimeterConfigurationResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicNetworkSecurityPerimeterConfigurationResource.cs index cb4a6ed9f8655..1dbc18435799e 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicNetworkSecurityPerimeterConfigurationResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicNetworkSecurityPerimeterConfigurationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_TopicNetworkSecurityPerimeterConfigurationResource { - // NetworkSecurityPerimeterConfigurations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkSecurityPerimeterConfigurationsGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NetworkSecurityPerimeterConfigurations_Get.json @@ -47,9 +47,8 @@ public async Task Get_NetworkSecurityPerimeterConfigurationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkSecurityPerimeterConfigurations_Reconcile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reconcile_NetworkSecurityPerimeterConfigurationsReconcile() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/NetworkSecurityPerimeterConfigurations_Reconcile.json diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicSpaceCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicSpaceCollection.cs index eab33323fd6ee..abdb10c85cd22 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicSpaceCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicSpaceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_TopicSpaceCollection { - // TopicSpaces_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TopicSpacesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/TopicSpaces_Get.json @@ -49,9 +49,8 @@ public async Task Get_TopicSpacesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TopicSpaces_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_TopicSpacesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/TopicSpaces_Get.json @@ -80,9 +79,8 @@ public async Task Exists_TopicSpacesGet() Console.WriteLine($"Succeeded: {result}"); } - // TopicSpaces_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TopicSpacesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/TopicSpaces_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_TopicSpacesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_TopicSpacesGet() } } - // TopicSpaces_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TopicSpacesCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/TopicSpaces_CreateOrUpdate.json @@ -166,9 +163,8 @@ public async Task CreateOrUpdate_TopicSpacesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TopicSpaces_ListByNamespace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_TopicSpacesListByNamespace() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/TopicSpaces_ListByNamespace.json @@ -200,7 +196,7 @@ public async Task GetAll_TopicSpacesListByNamespace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicSpaceResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicSpaceResource.cs index 5284f1cdf19dd..5c77d8b30c1fd 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicSpaceResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicSpaceResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_TopicSpaceResource { - // TopicSpaces_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TopicSpacesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/TopicSpaces_Get.json @@ -46,9 +46,8 @@ public async Task Get_TopicSpacesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TopicSpaces_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TopicSpacesCreateOrUpdate() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/TopicSpaces_CreateOrUpdate.json @@ -86,9 +85,8 @@ public async Task Update_TopicSpacesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TopicSpaces_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_TopicSpacesDelete() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/TopicSpaces_Delete.json @@ -111,7 +109,7 @@ public async Task Delete_TopicSpacesDelete() // invoke the operation await topicSpace.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicTypeCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicTypeCollection.cs index 67e7c8e9a55f8..b531d5304596d 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicTypeCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicTypeCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_TopicTypeCollection { - // TopicTypes_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_TopicTypesList() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/TopicTypes_List.json @@ -44,12 +44,11 @@ public async Task GetAll_TopicTypesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TopicTypes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TopicTypesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/TopicTypes_Get.json @@ -78,9 +77,8 @@ public async Task Get_TopicTypesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TopicTypes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_TopicTypesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/TopicTypes_Get.json @@ -105,9 +103,8 @@ public async Task Exists_TopicTypesGet() Console.WriteLine($"Succeeded: {result}"); } - // TopicTypes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TopicTypesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/TopicTypes_Get.json @@ -132,7 +129,7 @@ public async Task GetIfExists_TopicTypesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicTypeResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicTypeResource.cs index ed06164482adc..fee6f510344fe 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicTypeResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_TopicTypeResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventGrid.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_TopicTypeResource { - // TopicTypes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TopicTypesGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/TopicTypes_Get.json @@ -44,9 +44,8 @@ public async Task Get_TopicTypesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TopicTypes_ListEventTypes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEventTypes_TopicTypesListEventTypes() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/TopicTypes_ListEventTypes.json @@ -69,7 +68,7 @@ public async Task GetEventTypes_TopicTypesListEventTypes() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_VerifiedPartnerCollection.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_VerifiedPartnerCollection.cs index 7ee633d036031..0c6efb469e916 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_VerifiedPartnerCollection.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_VerifiedPartnerCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_VerifiedPartnerCollection { - // VerifiedPartners_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VerifiedPartnersGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/VerifiedPartners_Get.json @@ -45,9 +45,8 @@ public async Task Get_VerifiedPartnersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VerifiedPartners_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VerifiedPartnersGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/VerifiedPartners_Get.json @@ -72,9 +71,8 @@ public async Task Exists_VerifiedPartnersGet() Console.WriteLine($"Succeeded: {result}"); } - // VerifiedPartners_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VerifiedPartnersGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/VerifiedPartners_Get.json @@ -99,7 +97,7 @@ public async Task GetIfExists_VerifiedPartnersGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -111,9 +109,8 @@ public async Task GetIfExists_VerifiedPartnersGet() } } - // VerifiedPartners_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VerifiedPartnersList() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/VerifiedPartners_List.json @@ -141,7 +138,7 @@ public async Task GetAll_VerifiedPartnersList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_VerifiedPartnerResource.cs b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_VerifiedPartnerResource.cs index 349eaa49d0708..403fcf8c92155 100644 --- a/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_VerifiedPartnerResource.cs +++ b/sdk/eventgrid/Azure.ResourceManager.EventGrid/samples/Generated/Samples/Sample_VerifiedPartnerResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventGrid.Samples { public partial class Sample_VerifiedPartnerResource { - // VerifiedPartners_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VerifiedPartnersGet() { // Generated from example definition: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2024-06-01-preview/examples/VerifiedPartners_Get.json diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubAuthorizationRuleCollection.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubAuthorizationRuleCollection.cs index 7aa387712e8af..f947e174b2898 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubAuthorizationRuleCollection.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubAuthorizationRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventHubs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventHubs.Samples { public partial class Sample_EventHubAuthorizationRuleCollection { - // EventHubAuthorizationRuleListAll - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_EventHubAuthorizationRuleListAll() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/EventHubs/EHEventHubAuthorizationRuleListAll.json @@ -50,12 +50,11 @@ public async Task GetAll_EventHubAuthorizationRuleListAll() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // EventHubAuthorizationRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EventHubAuthorizationRuleCreate() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/EventHubs/EHEventHubAuthorizationRuleCreate.json @@ -97,9 +96,8 @@ public async Task CreateOrUpdate_EventHubAuthorizationRuleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventHubAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventHubAuthorizationRuleGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/EventHubs/EHEventHubAuthorizationRuleGet.json @@ -133,9 +131,8 @@ public async Task Get_EventHubAuthorizationRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventHubAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EventHubAuthorizationRuleGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/EventHubs/EHEventHubAuthorizationRuleGet.json @@ -165,9 +162,8 @@ public async Task Exists_EventHubAuthorizationRuleGet() Console.WriteLine($"Succeeded: {result}"); } - // EventHubAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EventHubAuthorizationRuleGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/EventHubs/EHEventHubAuthorizationRuleGet.json @@ -197,7 +193,7 @@ public async Task GetIfExists_EventHubAuthorizationRuleGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubAuthorizationRuleResource.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubAuthorizationRuleResource.cs index 242e7dcfe61dd..b3695c83ddacd 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubAuthorizationRuleResource.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubAuthorizationRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventHubs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventHubs.Samples { public partial class Sample_EventHubAuthorizationRuleResource { - // EventHubAuthorizationRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_EventHubAuthorizationRuleCreate() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/EventHubs/EHEventHubAuthorizationRuleCreate.json @@ -56,9 +56,8 @@ public async Task Update_EventHubAuthorizationRuleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventHubAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventHubAuthorizationRuleGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/EventHubs/EHEventHubAuthorizationRuleGet.json @@ -89,9 +88,8 @@ public async Task Get_EventHubAuthorizationRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventHubAuthorizationRuleDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_EventHubAuthorizationRuleDelete() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/EventHubs/EHEventHubAuthorizationRuleDelete.json @@ -115,12 +113,11 @@ public async Task Delete_EventHubAuthorizationRuleDelete() // invoke the operation await eventHubAuthorizationRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // EventHubAuthorizationRuleListKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_EventHubAuthorizationRuleListKey() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/EventHubs/EHEventHubAuthorizationRuleListKey.json @@ -147,9 +144,8 @@ public async Task GetKeys_EventHubAuthorizationRuleListKey() Console.WriteLine($"Succeeded: {result}"); } - // EventHubAuthorizationRuleRegenerateKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKeys_EventHubAuthorizationRuleRegenerateKey() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubCollection.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubCollection.cs index f22c72b89de3a..63f6e809e4033 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubCollection.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventHubs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventHubs.Samples { public partial class Sample_EventHubCollection { - // EventHubsListAll - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_EventHubsListAll() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/EventHubs/EHEventHubListByNameSpace.json @@ -49,12 +49,11 @@ public async Task GetAll_EventHubsListAll() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // EventHubCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EventHubCreate() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/EventHubs/EHEventHubCreate.json @@ -119,9 +118,8 @@ public async Task CreateOrUpdate_EventHubCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventHubGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventHubGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/EventHubs/EHEventHubGet.json @@ -154,9 +152,8 @@ public async Task Get_EventHubGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventHubGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EventHubGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/EventHubs/EHEventHubGet.json @@ -185,9 +182,8 @@ public async Task Exists_EventHubGet() Console.WriteLine($"Succeeded: {result}"); } - // EventHubGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EventHubGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/EventHubs/EHEventHubGet.json @@ -216,7 +212,7 @@ public async Task GetIfExists_EventHubGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubResource.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubResource.cs index c778482b82437..1e490d2728e7d 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubResource.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventHubs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventHubs.Samples { public partial class Sample_EventHubResource { - // EventHubCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_EventHubCreate() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/EventHubs/EHEventHubCreate.json @@ -79,9 +79,8 @@ public async Task Update_EventHubCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventHubDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_EventHubDelete() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/EventHubs/EHEventHubDelete.json @@ -104,12 +103,11 @@ public async Task Delete_EventHubDelete() // invoke the operation await eventHub.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // EventHubGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventHubGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/EventHubs/EHEventHubGet.json diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsApplicationGroupCollection.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsApplicationGroupCollection.cs index d2ce6e5a50792..15cfba11b7bfa 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsApplicationGroupCollection.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsApplicationGroupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventHubs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventHubs.Samples { public partial class Sample_EventHubsApplicationGroupCollection { - // ListApplicationGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListApplicationGroups() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/ApplicationGroup/ApplicationGroupListByNamespace.json @@ -49,12 +49,11 @@ public async Task GetAll_ListApplicationGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApplicationGroupCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApplicationGroupCreate() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/ApplicationGroup/ApplicationGroupCreate.json @@ -97,9 +96,8 @@ public async Task CreateOrUpdate_ApplicationGroupCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApplicationGroupGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApplicationGroupGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/ApplicationGroup/ApplicationGroupGet.json @@ -132,9 +130,8 @@ public async Task Get_ApplicationGroupGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApplicationGroupGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApplicationGroupGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/ApplicationGroup/ApplicationGroupGet.json @@ -163,9 +160,8 @@ public async Task Exists_ApplicationGroupGet() Console.WriteLine($"Succeeded: {result}"); } - // ApplicationGroupGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApplicationGroupGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/ApplicationGroup/ApplicationGroupGet.json @@ -194,7 +190,7 @@ public async Task GetIfExists_ApplicationGroupGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsApplicationGroupResource.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsApplicationGroupResource.cs index e8f6112e298ef..07ad3442b9185 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsApplicationGroupResource.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsApplicationGroupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventHubs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventHubs.Samples { public partial class Sample_EventHubsApplicationGroupResource { - // ApplicationGroupCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApplicationGroupCreate() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/ApplicationGroup/ApplicationGroupCreate.json @@ -57,9 +57,8 @@ public async Task Update_ApplicationGroupCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApplicationGroupDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApplicationGroupDelete() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/ApplicationGroup/ApplicationGroupDelete.json @@ -82,12 +81,11 @@ public async Task Delete_ApplicationGroupDelete() // invoke the operation await eventHubsApplicationGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApplicationGroupGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApplicationGroupGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/ApplicationGroup/ApplicationGroupGet.json diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsClusterCollection.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsClusterCollection.cs index e6ead60ff7ae3..0bc45cef5ff05 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsClusterCollection.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsClusterCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.EventHubs.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EventHubs.Samples { public partial class Sample_EventHubsClusterCollection { - // ClustersListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ClustersListByResourceGroup() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/Clusters/ClustersListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ClustersListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ClusterGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ClusterGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/Clusters/ClusterGet.json @@ -86,9 +85,8 @@ public async Task Get_ClusterGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ClusterGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ClusterGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/Clusters/ClusterGet.json @@ -116,9 +114,8 @@ public async Task Exists_ClusterGet() Console.WriteLine($"Succeeded: {result}"); } - // ClusterGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ClusterGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/Clusters/ClusterGet.json @@ -146,7 +143,7 @@ public async Task GetIfExists_ClusterGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_ClusterGet() } } - // ClusterPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ClusterPut() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/Clusters/ClusterPut.json diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsClusterResource.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsClusterResource.cs index 8f30c2800185e..8b4bdf2222bc9 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsClusterResource.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsClusterResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.EventHubs.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventHubs.Samples { public partial class Sample_EventHubsClusterResource { - // ListAvailableClusters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableClusterRegionClusters_ListAvailableClusters() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/Clusters/ListAvailableClustersGet.json @@ -42,12 +42,11 @@ public async Task GetAvailableClusterRegionClusters_ListAvailableClusters() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ClustersListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEventHubsClusters_ClustersListBySubscription() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/Clusters/ClustersListBySubscription.json @@ -74,12 +73,11 @@ public async Task GetEventHubsClusters_ClustersListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ClusterGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ClusterGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/Clusters/ClusterGet.json @@ -108,9 +106,8 @@ public async Task Get_ClusterGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ClusterPatch - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ClusterPatch() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/Clusters/ClusterPatch.json @@ -148,9 +145,8 @@ public async Task Update_ClusterPatch() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ClusterDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ClusterDelete() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/Clusters/ClusterDelete.json @@ -172,12 +168,11 @@ public async Task Delete_ClusterDelete() // invoke the operation await eventHubsCluster.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListNamespacesInCluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNamespaces_ListNamespacesInCluster() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/Clusters/ListNamespacesInClusterGet.json @@ -202,12 +197,11 @@ public async Task GetNamespaces_ListNamespacesInCluster() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ClustersQuotasConfigurationPatch - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PatchConfiguration_ClustersQuotasConfigurationPatch() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/Clusters/ClusterQuotaConfigurationPatch.json @@ -240,9 +234,8 @@ public async Task PatchConfiguration_ClustersQuotasConfigurationPatch() Console.WriteLine($"Succeeded: {result}"); } - // ClustersQuotasConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConfiguration_ClustersQuotasConfigurationGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/Clusters/ClusterQuotaConfigurationGet.json diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsConsumerGroupCollection.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsConsumerGroupCollection.cs index 5a01c1a48c318..028bae2aee496 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsConsumerGroupCollection.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsConsumerGroupCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventHubs.Samples { public partial class Sample_EventHubsConsumerGroupCollection { - // ConsumerGroupCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ConsumerGroupCreate() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/ConsumerGroup/EHConsumerGroupCreate.json @@ -55,9 +55,8 @@ public async Task CreateOrUpdate_ConsumerGroupCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConsumerGroupGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConsumerGroupGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/ConsumerGroup/EHConsumerGroupGet.json @@ -91,9 +90,8 @@ public async Task Get_ConsumerGroupGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConsumerGroupGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ConsumerGroupGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/ConsumerGroup/EHConsumerGroupGet.json @@ -123,9 +121,8 @@ public async Task Exists_ConsumerGroupGet() Console.WriteLine($"Succeeded: {result}"); } - // ConsumerGroupGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ConsumerGroupGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/ConsumerGroup/EHConsumerGroupGet.json @@ -155,7 +152,7 @@ public async Task GetIfExists_ConsumerGroupGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -167,9 +164,8 @@ public async Task GetIfExists_ConsumerGroupGet() } } - // ConsumerGroupsListAll - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ConsumerGroupsListAll() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/ConsumerGroup/EHConsumerGroupListByEventHub.json @@ -202,7 +198,7 @@ public async Task GetAll_ConsumerGroupsListAll() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsConsumerGroupResource.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsConsumerGroupResource.cs index 25ed238cae032..e8b2d23ec9729 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsConsumerGroupResource.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsConsumerGroupResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventHubs.Samples { public partial class Sample_EventHubsConsumerGroupResource { - // ConsumerGroupCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ConsumerGroupCreate() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/ConsumerGroup/EHConsumerGroupCreate.json @@ -52,9 +52,8 @@ public async Task Update_ConsumerGroupCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConsumerGroupDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ConsumerGroupDelete() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/ConsumerGroup/EHConsumerGroupDelete.json @@ -78,12 +77,11 @@ public async Task Delete_ConsumerGroupDelete() // invoke the operation await eventHubsConsumerGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ConsumerGroupGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConsumerGroupGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/ConsumerGroup/EHConsumerGroupGet.json diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsDisasterRecoveryAuthorizationRuleCollection.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsDisasterRecoveryAuthorizationRuleCollection.cs index 8bc57978d2238..d12981f93b3cc 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsDisasterRecoveryAuthorizationRuleCollection.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsDisasterRecoveryAuthorizationRuleCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventHubs.Samples { public partial class Sample_EventHubsDisasterRecoveryAuthorizationRuleCollection { - // ListAuthorizationRules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAuthorizationRules() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAuthorizationRules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NameSpaceAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NameSpaceAuthorizationRuleGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json @@ -88,9 +87,8 @@ public async Task Get_NameSpaceAuthorizationRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpaceAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NameSpaceAuthorizationRuleGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json @@ -120,9 +118,8 @@ public async Task Exists_NameSpaceAuthorizationRuleGet() Console.WriteLine($"Succeeded: {result}"); } - // NameSpaceAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NameSpaceAuthorizationRuleGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json @@ -152,7 +149,7 @@ public async Task GetIfExists_NameSpaceAuthorizationRuleGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsDisasterRecoveryAuthorizationRuleResource.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsDisasterRecoveryAuthorizationRuleResource.cs index d66561cf40aee..4cdee8a74a6cd 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsDisasterRecoveryAuthorizationRuleResource.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsDisasterRecoveryAuthorizationRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventHubs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventHubs.Samples { public partial class Sample_EventHubsDisasterRecoveryAuthorizationRuleResource { - // NameSpaceAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NameSpaceAuthorizationRuleGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json @@ -48,9 +48,8 @@ public async Task Get_NameSpaceAuthorizationRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpaceAuthorizationRuleListKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_NameSpaceAuthorizationRuleListKey() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsDisasterRecoveryCollection.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsDisasterRecoveryCollection.cs index a7a84a09d8983..165c6911556f4 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsDisasterRecoveryCollection.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsDisasterRecoveryCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventHubs.Samples { public partial class Sample_EventHubsDisasterRecoveryCollection { - // EHAliasList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_EHAliasList() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/disasterRecoveryConfigs/EHAliasList.json @@ -48,12 +48,11 @@ public async Task GetAll_EHAliasList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // EHAliasCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EHAliasCreate() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/disasterRecoveryConfigs/EHAliasCreate.json @@ -91,9 +90,8 @@ public async Task CreateOrUpdate_EHAliasCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EHAliasGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EHAliasGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/disasterRecoveryConfigs/EHAliasGet.json @@ -126,9 +124,8 @@ public async Task Get_EHAliasGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EHAliasGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EHAliasGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/disasterRecoveryConfigs/EHAliasGet.json @@ -157,9 +154,8 @@ public async Task Exists_EHAliasGet() Console.WriteLine($"Succeeded: {result}"); } - // EHAliasGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EHAliasGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/disasterRecoveryConfigs/EHAliasGet.json @@ -188,7 +184,7 @@ public async Task GetIfExists_EHAliasGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsDisasterRecoveryResource.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsDisasterRecoveryResource.cs index 58c725665793e..00e1c276636ca 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsDisasterRecoveryResource.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsDisasterRecoveryResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.EventHubs.Samples { public partial class Sample_EventHubsDisasterRecoveryResource { - // EHAliasCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_EHAliasCreate() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/disasterRecoveryConfigs/EHAliasCreate.json @@ -51,9 +51,8 @@ public async Task Update_EHAliasCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EHAliasDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_EHAliasDelete() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/disasterRecoveryConfigs/EHAliasDelete.json @@ -76,12 +75,11 @@ public async Task Delete_EHAliasDelete() // invoke the operation await eventHubsDisasterRecovery.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // EHAliasGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EHAliasGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/disasterRecoveryConfigs/EHAliasGet.json @@ -111,9 +109,8 @@ public async Task Get_EHAliasGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EHAliasBreakPairing - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task BreakPairing_EHAliasBreakPairing() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/disasterRecoveryConfigs/EHAliasBreakPairing.json @@ -136,12 +133,11 @@ public async Task BreakPairing_EHAliasBreakPairing() // invoke the operation await eventHubsDisasterRecovery.BreakPairingAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // EHAliasFailOver - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task FailOver_EHAliasFailOver() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/disasterRecoveryConfigs/EHAliasFailOver.json @@ -164,7 +160,7 @@ public async Task FailOver_EHAliasFailOver() // invoke the operation await eventHubsDisasterRecovery.FailOverAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsNamespaceAuthorizationRuleCollection.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsNamespaceAuthorizationRuleCollection.cs index 601ebb62146ce..b0c72d4302ee5 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsNamespaceAuthorizationRuleCollection.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsNamespaceAuthorizationRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventHubs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventHubs.Samples { public partial class Sample_EventHubsNamespaceAuthorizationRuleCollection { - // ListAuthorizationRules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAuthorizationRules() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAuthorizationRules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NameSpaceAuthorizationRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NameSpaceAuthorizationRuleCreate() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json @@ -95,9 +94,8 @@ public async Task CreateOrUpdate_NameSpaceAuthorizationRuleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpaceAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NameSpaceAuthorizationRuleGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleGet.json @@ -130,9 +128,8 @@ public async Task Get_NameSpaceAuthorizationRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpaceAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NameSpaceAuthorizationRuleGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleGet.json @@ -161,9 +158,8 @@ public async Task Exists_NameSpaceAuthorizationRuleGet() Console.WriteLine($"Succeeded: {result}"); } - // NameSpaceAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NameSpaceAuthorizationRuleGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleGet.json @@ -192,7 +188,7 @@ public async Task GetIfExists_NameSpaceAuthorizationRuleGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsNamespaceAuthorizationRuleResource.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsNamespaceAuthorizationRuleResource.cs index 07ab06590522a..5165889457355 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsNamespaceAuthorizationRuleResource.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsNamespaceAuthorizationRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventHubs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventHubs.Samples { public partial class Sample_EventHubsNamespaceAuthorizationRuleResource { - // NameSpaceAuthorizationRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NameSpaceAuthorizationRuleCreate() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json @@ -55,9 +55,8 @@ public async Task Update_NameSpaceAuthorizationRuleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpaceAuthorizationRuleDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NameSpaceAuthorizationRuleDelete() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json @@ -80,12 +79,11 @@ public async Task Delete_NameSpaceAuthorizationRuleDelete() // invoke the operation await eventHubsNamespaceAuthorizationRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NameSpaceAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NameSpaceAuthorizationRuleGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleGet.json @@ -115,9 +113,8 @@ public async Task Get_NameSpaceAuthorizationRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpaceAuthorizationRuleListKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_NameSpaceAuthorizationRuleListKey() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json @@ -143,9 +140,8 @@ public async Task GetKeys_NameSpaceAuthorizationRuleListKey() Console.WriteLine($"Succeeded: {result}"); } - // NameSpaceAuthorizationRuleRegenerateKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKeys_NameSpaceAuthorizationRuleRegenerateKey() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsNamespaceCollection.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsNamespaceCollection.cs index f817777df1a1d..28cdc313563b1 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsNamespaceCollection.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsNamespaceCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.EventHubs.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EventHubs.Samples { public partial class Sample_EventHubsNamespaceCollection { - // NamespaceListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NamespaceListByResourceGroup() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/EHNameSpaceListByResourceGroup.json @@ -50,12 +50,11 @@ public async Task GetAll_NamespaceListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NamespaceCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NamespaceCreate() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/EHNameSpaceCreate.json @@ -113,9 +112,8 @@ public async Task CreateOrUpdate_NamespaceCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpaceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NameSpaceGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/EHNameSpaceGet.json @@ -147,9 +145,8 @@ public async Task Get_NameSpaceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpaceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NameSpaceGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/EHNameSpaceGet.json @@ -177,9 +174,8 @@ public async Task Exists_NameSpaceGet() Console.WriteLine($"Succeeded: {result}"); } - // NameSpaceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NameSpaceGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/EHNameSpaceGet.json @@ -207,7 +203,7 @@ public async Task GetIfExists_NameSpaceGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsNamespaceResource.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsNamespaceResource.cs index 8097736f0c54d..0243dd09bb414 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsNamespaceResource.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsNamespaceResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.EventHubs.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.EventHubs.Samples { public partial class Sample_EventHubsNamespaceResource { - // NamespacesListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEventHubsNamespaces_NamespacesListBySubscription() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/EHNameSpaceList.json @@ -46,12 +46,11 @@ public async Task GetEventHubsNamespaces_NamespacesListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NameSpaceDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NameSpaceDelete() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/EHNameSpaceDelete.json @@ -73,12 +72,11 @@ public async Task Delete_NameSpaceDelete() // invoke the operation await eventHubsNamespace.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NameSpaceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NameSpaceGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/EHNameSpaceGet.json @@ -107,9 +105,8 @@ public async Task Get_NameSpaceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NamespacesUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NamespacesUpdate() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/EHNameSpaceUpdate.json @@ -148,9 +145,8 @@ [new ResourceIdentifier("/subscriptions/SampleSubscription/resourceGroups/Resurc Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NamespacesCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckEventHubsNamespaceNameAvailability_NamespacesCheckNameAvailability() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/EHNameSpaceCheckNameAvailability.json @@ -174,9 +170,8 @@ public async Task CheckEventHubsNamespaceNameAvailability_NamespacesCheckNameAva Console.WriteLine($"Succeeded: {result}"); } - // NameSpacePrivateLinkResourcesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinkResources_NameSpacePrivateLinkResourcesGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/PrivateLinkResourcesGet.json @@ -201,12 +196,11 @@ public async Task GetPrivateLinkResources_NameSpacePrivateLinkResourcesGet() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NamspaceNetworkSecurityPerimeterConfigurationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkSecurityPerimeterConfigurations_NamspaceNetworkSecurityPerimeterConfigurationList() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/NetworkSecurityPerimeterConfigurationList.json @@ -231,12 +225,11 @@ public async Task GetNetworkSecurityPerimeterConfigurations_NamspaceNetworkSecur Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NetworkSecurityPerimeterConfigurationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateNetworkSecurityPerimeterConfiguration_NetworkSecurityPerimeterConfigurationList() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/NetworkSecurityPerimeterConfigurationReconcile.json @@ -259,12 +252,11 @@ public async Task CreateOrUpdateNetworkSecurityPerimeterConfiguration_NetworkSec string resourceAssociationName = "resourceAssociation1"; await eventHubsNamespace.CreateOrUpdateNetworkSecurityPerimeterConfigurationAsync(WaitUntil.Completed, resourceAssociationName); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NamespacesCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckEventHubsDisasterRecoveryNameAvailability_NamespacesCheckNameAvailability() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsNetworkRuleSetResource.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsNetworkRuleSetResource.cs index 066e3c3b74866..7e5f23f3155c3 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsNetworkRuleSetResource.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsNetworkRuleSetResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventHubs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventHubs.Samples { public partial class Sample_EventHubsNetworkRuleSetResource { - // NameSpaceNetworkRuleSetCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NameSpaceNetworkRuleSetCreate() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json @@ -91,9 +91,8 @@ public async Task CreateOrUpdate_NameSpaceNetworkRuleSetCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpaceNetworkRuleSetGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NameSpaceNetworkRuleSetGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsPrivateEndpointConnectionCollection.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsPrivateEndpointConnectionCollection.cs index 64bdfffaccefe..ffaa35c6894e8 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsPrivateEndpointConnectionCollection.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventHubs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventHubs.Samples { public partial class Sample_EventHubsPrivateEndpointConnectionCollection { - // PrivateEndPointConnectionList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndPointConnectionList() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/PrivateEndPointConnectionList.json @@ -49,12 +49,11 @@ public async Task GetAll_PrivateEndPointConnectionList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NameSpacePrivateEndPointConnectionCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NameSpacePrivateEndPointConnectionCreate() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/PrivateEndPointConnectionCreate.json @@ -98,9 +97,8 @@ public async Task CreateOrUpdate_NameSpacePrivateEndPointConnectionCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpacePrivateEndPointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NameSpacePrivateEndPointConnectionGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/PrivateEndPointConnectionGet.json @@ -133,9 +131,8 @@ public async Task Get_NameSpacePrivateEndPointConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpacePrivateEndPointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NameSpacePrivateEndPointConnectionGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/PrivateEndPointConnectionGet.json @@ -164,9 +161,8 @@ public async Task Exists_NameSpacePrivateEndPointConnectionGet() Console.WriteLine($"Succeeded: {result}"); } - // NameSpacePrivateEndPointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NameSpacePrivateEndPointConnectionGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/PrivateEndPointConnectionGet.json @@ -195,7 +191,7 @@ public async Task GetIfExists_NameSpacePrivateEndPointConnectionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsPrivateEndpointConnectionResource.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsPrivateEndpointConnectionResource.cs index 149a056dbec64..70c07e3f5e847 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsPrivateEndpointConnectionResource.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventHubs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventHubs.Samples { public partial class Sample_EventHubsPrivateEndpointConnectionResource { - // NameSpacePrivateEndPointConnectionCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NameSpacePrivateEndPointConnectionCreate() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/PrivateEndPointConnectionCreate.json @@ -58,9 +58,8 @@ public async Task Update_NameSpacePrivateEndPointConnectionCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpacePrivateEndPointConnectionDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NameSpacePrivateEndPointConnectionDelete() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/PrivateEndPointConnectionDelete.json @@ -83,12 +82,11 @@ public async Task Delete_NameSpacePrivateEndPointConnectionDelete() // invoke the operation await eventHubsPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NameSpacePrivateEndPointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NameSpacePrivateEndPointConnectionGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/NameSpaces/PrivateEndPointConnectionGet.json diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsSchemaGroupCollection.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsSchemaGroupCollection.cs index 054b95b17fef2..574b9c226132f 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsSchemaGroupCollection.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsSchemaGroupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventHubs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventHubs.Samples { public partial class Sample_EventHubsSchemaGroupCollection { - // SchemaRegistryListAll - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SchemaRegistryListAll() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/SchemaRegistry/SchemaRegistryListByNamespace.json @@ -49,12 +49,11 @@ public async Task GetAll_SchemaRegistryListAll() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SchemaRegistryCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SchemaRegistryCreate() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/SchemaRegistry/SchemaRegistryCreate.json @@ -96,9 +95,8 @@ public async Task CreateOrUpdate_SchemaRegistryCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SchemaRegistryGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SchemaRegistryGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/SchemaRegistry/SchemaRegistryGet.json @@ -131,9 +129,8 @@ public async Task Get_SchemaRegistryGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SchemaRegistryGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SchemaRegistryGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/SchemaRegistry/SchemaRegistryGet.json @@ -162,9 +159,8 @@ public async Task Exists_SchemaRegistryGet() Console.WriteLine($"Succeeded: {result}"); } - // SchemaRegistryGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SchemaRegistryGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/SchemaRegistry/SchemaRegistryGet.json @@ -193,7 +189,7 @@ public async Task GetIfExists_SchemaRegistryGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsSchemaGroupResource.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsSchemaGroupResource.cs index 90e37088c271c..e4b926d546962 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsSchemaGroupResource.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/samples/Generated/Samples/Sample_EventHubsSchemaGroupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.EventHubs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.EventHubs.Samples { public partial class Sample_EventHubsSchemaGroupResource { - // SchemaRegistryCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SchemaRegistryCreate() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/SchemaRegistry/SchemaRegistryCreate.json @@ -56,9 +56,8 @@ public async Task Update_SchemaRegistryCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SchemaRegistryDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SchemaRegistryDelete() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/SchemaRegistry/SchemaRegistryDelete.json @@ -81,12 +80,11 @@ public async Task Delete_SchemaRegistryDelete() // invoke the operation await eventHubsSchemaGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SchemaRegistryGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SchemaRegistryGet() { // Generated from example definition: specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/examples/SchemaRegistry/SchemaRegistryGet.json diff --git a/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocations/samples/Generated/Samples/Sample_CustomLocationCollection.cs b/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocations/samples/Generated/Samples/Sample_CustomLocationCollection.cs index d2e3a43ee1c4c..dadc47cf2d4e8 100644 --- a/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocations/samples/Generated/Samples/Sample_CustomLocationCollection.cs +++ b/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocations/samples/Generated/Samples/Sample_CustomLocationCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.ExtendedLocations.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ExtendedLocations.Samples { public partial class Sample_CustomLocationCollection { - // List Custom Locations by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCustomLocationsByResourceGroup() { // Generated from example definition: specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/stable/2021-08-15/examples/CustomLocationsListByResourceGroup.json @@ -50,12 +50,11 @@ public async Task GetAll_ListCustomLocationsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Custom Location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCustomLocation() { // Generated from example definition: specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/stable/2021-08-15/examples/CustomLocationsGet.json @@ -87,9 +86,8 @@ public async Task Get_GetCustomLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Custom Location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCustomLocation() { // Generated from example definition: specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/stable/2021-08-15/examples/CustomLocationsGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetCustomLocation() Console.WriteLine($"Succeeded: {result}"); } - // Get Custom Location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCustomLocation() { // Generated from example definition: specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/stable/2021-08-15/examples/CustomLocationsGet.json @@ -147,7 +144,7 @@ public async Task GetIfExists_GetCustomLocation() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_GetCustomLocation() } } - // Create/Update Custom Location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateUpdateCustomLocation() { // Generated from example definition: specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/stable/2021-08-15/examples/CustomLocationsCreate_Update.json diff --git a/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocations/samples/Generated/Samples/Sample_CustomLocationResource.cs b/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocations/samples/Generated/Samples/Sample_CustomLocationResource.cs index b26c98fcac616..0f9816213d8ef 100644 --- a/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocations/samples/Generated/Samples/Sample_CustomLocationResource.cs +++ b/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocations/samples/Generated/Samples/Sample_CustomLocationResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.ExtendedLocations.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ExtendedLocations.Samples { public partial class Sample_CustomLocationResource { - // List Custom Locations by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCustomLocations_ListCustomLocationsBySubscription() { // Generated from example definition: specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/stable/2021-08-15/examples/CustomLocationsListBySubscription.json @@ -46,12 +46,11 @@ public async Task GetCustomLocations_ListCustomLocationsBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Custom Location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCustomLocation() { // Generated from example definition: specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/stable/2021-08-15/examples/CustomLocationsGet.json @@ -80,9 +79,8 @@ public async Task Get_GetCustomLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Custom Location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteCustomLocation() { // Generated from example definition: specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/stable/2021-08-15/examples/CustomLocationsDelete.json @@ -104,12 +102,11 @@ public async Task Delete_DeleteCustomLocation() // invoke the operation await customLocation.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update Custom Location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateCustomLocation() { // Generated from example definition: specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/stable/2021-08-15/examples/CustomLocationsPatch.json @@ -151,9 +148,8 @@ public async Task Update_UpdateCustomLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Custom Location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEnabledResourceTypes_GetCustomLocation() { // Generated from example definition: specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/stable/2021-08-15/examples/CustomLocationsListEnabledResourceTypes.json @@ -178,7 +174,7 @@ public async Task GetEnabledResourceTypes_GetCustomLocation() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/fabric/Azure.ResourceManager.Fabric/samples/Generated/Samples/Sample_FabricCapacityCollection.cs b/sdk/fabric/Azure.ResourceManager.Fabric/samples/Generated/Samples/Sample_FabricCapacityCollection.cs index b044aaf06a349..a644931d27b4f 100644 --- a/sdk/fabric/Azure.ResourceManager.Fabric/samples/Generated/Samples/Sample_FabricCapacityCollection.cs +++ b/sdk/fabric/Azure.ResourceManager.Fabric/samples/Generated/Samples/Sample_FabricCapacityCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Fabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Fabric.Samples { public partial class Sample_FabricCapacityCollection { - // Get a capacity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACapacity() { // Generated from example definition: 2023-11-01/FabricCapacities_Get.json @@ -50,9 +50,8 @@ public async Task Get_GetACapacity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a capacity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetACapacity() { // Generated from example definition: 2023-11-01/FabricCapacities_Get.json @@ -80,9 +79,8 @@ public async Task Exists_GetACapacity() Console.WriteLine($"Succeeded: {result}"); } - // Get a capacity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetACapacity() { // Generated from example definition: 2023-11-01/FabricCapacities_Get.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetACapacity() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetACapacity() } } - // Create or update a capacity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateACapacity() { // Generated from example definition: 2023-11-01/FabricCapacities_CreateOrUpdate.json @@ -161,9 +158,8 @@ public async Task CreateOrUpdate_CreateOrUpdateACapacity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List capacities by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCapacitiesByResourceGroup() { // Generated from example definition: 2023-11-01/FabricCapacities_ListByResourceGroup.json @@ -194,7 +190,7 @@ public async Task GetAll_ListCapacitiesByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/fabric/Azure.ResourceManager.Fabric/samples/Generated/Samples/Sample_FabricCapacityResource.cs b/sdk/fabric/Azure.ResourceManager.Fabric/samples/Generated/Samples/Sample_FabricCapacityResource.cs index e00f07d4aa84c..da01eb30667a2 100644 --- a/sdk/fabric/Azure.ResourceManager.Fabric/samples/Generated/Samples/Sample_FabricCapacityResource.cs +++ b/sdk/fabric/Azure.ResourceManager.Fabric/samples/Generated/Samples/Sample_FabricCapacityResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Fabric.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Fabric.Samples { public partial class Sample_FabricCapacityResource { - // Get a capacity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACapacity() { // Generated from example definition: 2023-11-01/FabricCapacities_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetACapacity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update capacity properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateCapacityProperties() { // Generated from example definition: 2023-11-01/FabricCapacities_Update.json @@ -91,9 +90,8 @@ public async Task Update_UpdateCapacityProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a capacity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteACapacity() { // Generated from example definition: 2023-11-01/FabricCapacities_Delete.json @@ -115,12 +113,11 @@ public async Task Delete_DeleteACapacity() // invoke the operation await fabricCapacity.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List capacities by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFabricCapacities_ListCapacitiesBySubscription() { // Generated from example definition: 2023-11-01/FabricCapacities_ListBySubscription.json @@ -147,12 +144,11 @@ public async Task GetFabricCapacities_ListCapacitiesBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Resume capacity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Resume_ResumeCapacity() { // Generated from example definition: 2023-11-01/FabricCapacities_Resume.json @@ -174,12 +170,11 @@ public async Task Resume_ResumeCapacity() // invoke the operation await fabricCapacity.ResumeAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Suspend capacity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Suspend_SuspendCapacity() { // Generated from example definition: 2023-11-01/FabricCapacities_Suspend.json @@ -201,12 +196,11 @@ public async Task Suspend_SuspendCapacity() // invoke the operation await fabricCapacity.SuspendAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Check name availability of a capacity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckFabricCapacityNameAvailability_CheckNameAvailabilityOfACapacity() { // Generated from example definition: 2023-11-01/FabricCapacities_CheckNameAvailability.json @@ -235,9 +229,8 @@ public async Task CheckFabricCapacityNameAvailability_CheckNameAvailabilityOfACa Console.WriteLine($"Succeeded: {result}"); } - // List eligible SKUs for an existing capacity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSkusForCapacity_ListEligibleSKUsForAnExistingCapacity() { // Generated from example definition: 2023-11-01/FabricCapacities_ListSkusForCapacity.json @@ -262,12 +255,11 @@ public async Task GetSkusForCapacity_ListEligibleSKUsForAnExistingCapacity() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List eligible SKUs for a new capacity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSkusFabricCapacities_ListEligibleSKUsForANewCapacity() { // Generated from example definition: 2023-11-01/FabricCapacities_ListSkus.json @@ -290,7 +282,7 @@ public async Task GetSkusFabricCapacities_ListEligibleSKUsForANewCapacity() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_AutoUpgradeProfileCollection.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_AutoUpgradeProfileCollection.cs index 6323445b066b2..cedf4a6880dcd 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_AutoUpgradeProfileCollection.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_AutoUpgradeProfileCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerServiceFleet.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerServiceFleet.Samples { public partial class Sample_AutoUpgradeProfileCollection { - // Lists the AutoUpgradeProfile resources by fleet. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsTheAutoUpgradeProfileResourcesByFleet() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/AutoUpgradeProfiles_ListByFleet.json @@ -49,12 +49,11 @@ public async Task GetAll_ListsTheAutoUpgradeProfileResourcesByFleet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets an AutoUpgradeProfile resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAnAutoUpgradeProfileResource() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/AutoUpgradeProfiles_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetsAnAutoUpgradeProfileResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets an AutoUpgradeProfile resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAnAutoUpgradeProfileResource() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/AutoUpgradeProfiles_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetsAnAutoUpgradeProfileResource() Console.WriteLine($"Succeeded: {result}"); } - // Gets an AutoUpgradeProfile resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAnAutoUpgradeProfileResource() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/AutoUpgradeProfiles_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetsAnAutoUpgradeProfileResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetsAnAutoUpgradeProfileResource() } } - // Create an AutoUpgradeProfile. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnAutoUpgradeProfile() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/AutoUpgradeProfiles_CreateOrUpdate.json diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_AutoUpgradeProfileResource.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_AutoUpgradeProfileResource.cs index e05407f26281a..111b96f27ef1c 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_AutoUpgradeProfileResource.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_AutoUpgradeProfileResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerServiceFleet.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerServiceFleet.Samples { public partial class Sample_AutoUpgradeProfileResource { - // Gets an AutoUpgradeProfile resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAnAutoUpgradeProfileResource() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/AutoUpgradeProfiles_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetsAnAutoUpgradeProfileResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an AutoUpgradeProfile. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAnAutoUpgradeProfile() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/AutoUpgradeProfiles_CreateOrUpdate.json @@ -84,9 +83,8 @@ public async Task Update_CreateAnAutoUpgradeProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an AutoUpgradeProfile resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnAutoUpgradeProfileResource() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/AutoUpgradeProfiles_Delete.json @@ -109,7 +107,7 @@ public async Task Delete_DeleteAnAutoUpgradeProfileResource() // invoke the operation await autoUpgradeProfile.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_ContainerServiceFleetCollection.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_ContainerServiceFleetCollection.cs index da6d1136d2915..b1bda518ae64b 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_ContainerServiceFleetCollection.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_ContainerServiceFleetCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ContainerServiceFleet.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerServiceFleet.Samples { public partial class Sample_ContainerServiceFleetCollection { - // Lists the Fleet resources in a resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsTheFleetResourcesInAResourceGroup() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/Fleets_ListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListsTheFleetResourcesInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a Fleet resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAFleetResource() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/Fleets_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetsAFleetResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a Fleet resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAFleetResource() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/Fleets_Get.json @@ -116,9 +114,8 @@ public async Task Exists_GetsAFleetResource() Console.WriteLine($"Succeeded: {result}"); } - // Gets a Fleet resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAFleetResource() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/Fleets_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetsAFleetResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetsAFleetResource() } } - // Creates a Fleet resource with a long running operation. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAFleetResourceWithALongRunningOperation() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/Fleets_CreateOrUpdate.json diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_ContainerServiceFleetMemberCollection.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_ContainerServiceFleetMemberCollection.cs index e3b55ac6806d1..f3235546127b9 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_ContainerServiceFleetMemberCollection.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_ContainerServiceFleetMemberCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerServiceFleet.Samples { public partial class Sample_ContainerServiceFleetMemberCollection { - // Lists the members of a Fleet. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsTheMembersOfAFleet() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/FleetMembers_ListByFleet.json @@ -48,12 +48,11 @@ public async Task GetAll_ListsTheMembersOfAFleet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a FleetMember resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAFleetMemberResource() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/FleetMembers_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetsAFleetMemberResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a FleetMember resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAFleetMemberResource() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/FleetMembers_Get.json @@ -117,9 +115,8 @@ public async Task Exists_GetsAFleetMemberResource() Console.WriteLine($"Succeeded: {result}"); } - // Gets a FleetMember resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAFleetMemberResource() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/FleetMembers_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetsAFleetMemberResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GetsAFleetMemberResource() } } - // Creates a FleetMember resource with a long running operation. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAFleetMemberResourceWithALongRunningOperation() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/FleetMembers_Create.json diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_ContainerServiceFleetMemberResource.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_ContainerServiceFleetMemberResource.cs index 044df0cc0abba..26d92621adba9 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_ContainerServiceFleetMemberResource.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_ContainerServiceFleetMemberResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerServiceFleet.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerServiceFleet.Samples { public partial class Sample_ContainerServiceFleetMemberResource { - // Gets a FleetMember resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAFleetMemberResource() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/FleetMembers_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetsAFleetMemberResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates a FleetMember resource synchronously. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesAFleetMemberResourceSynchronously() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/FleetMembers_Update.json @@ -84,9 +83,8 @@ public async Task Update_UpdatesAFleetMemberResourceSynchronously() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a FleetMember resource asynchronously with a long running operation. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAFleetMemberResourceAsynchronouslyWithALongRunningOperation() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/FleetMembers_Delete.json @@ -109,7 +107,7 @@ public async Task Delete_DeletesAFleetMemberResourceAsynchronouslyWithALongRunni // invoke the operation await containerServiceFleetMember.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_ContainerServiceFleetResource.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_ContainerServiceFleetResource.cs index 46c179410db45..4a13c9e2c093f 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_ContainerServiceFleetResource.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_ContainerServiceFleetResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ContainerServiceFleet.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerServiceFleet.Samples { public partial class Sample_ContainerServiceFleetResource { - // Lists the Fleet resources in a subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContainerServiceFleets_ListsTheFleetResourcesInASubscription() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/Fleets_ListBySub.json @@ -45,12 +45,11 @@ public async Task GetContainerServiceFleets_ListsTheFleetResourcesInASubscriptio Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a Fleet resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAFleetResource() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/Fleets_Get.json @@ -79,9 +78,8 @@ public async Task Get_GetsAFleetResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a Fleet. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAFleet() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/Fleets_PatchTags.json @@ -120,9 +118,8 @@ public async Task Update_UpdateAFleet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a Fleet resource asynchronously with a long running operation. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAFleetResourceAsynchronouslyWithALongRunningOperation() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/Fleets_Delete.json @@ -144,12 +141,11 @@ public async Task Delete_DeletesAFleetResourceAsynchronouslyWithALongRunningOper // invoke the operation await containerServiceFleet.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Lists the user credentials of a Fleet. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCredentials_ListsTheUserCredentialsOfAFleet() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/Fleets_ListCredentialsResult.json diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_ContainerServiceFleetUpdateRunCollection.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_ContainerServiceFleetUpdateRunCollection.cs index d699768d78b4c..caef50dc78f02 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_ContainerServiceFleetUpdateRunCollection.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_ContainerServiceFleetUpdateRunCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerServiceFleet.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerServiceFleet.Samples { public partial class Sample_ContainerServiceFleetUpdateRunCollection { - // Lists the UpdateRun resources by fleet. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsTheUpdateRunResourcesByFleet() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/UpdateRuns_ListByFleet.json @@ -49,12 +49,11 @@ public async Task GetAll_ListsTheUpdateRunResourcesByFleet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets an UpdateRun resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAnUpdateRunResource() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/UpdateRuns_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetsAnUpdateRunResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets an UpdateRun resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAnUpdateRunResource() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/UpdateRuns_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetsAnUpdateRunResource() Console.WriteLine($"Succeeded: {result}"); } - // Gets an UpdateRun resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAnUpdateRunResource() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/UpdateRuns_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetsAnUpdateRunResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetsAnUpdateRunResource() } } - // Create an UpdateRun. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnUpdateRun() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/UpdateRuns_CreateOrUpdate.json diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_ContainerServiceFleetUpdateRunResource.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_ContainerServiceFleetUpdateRunResource.cs index 5c93bd897c7bb..c468a3cb00058 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_ContainerServiceFleetUpdateRunResource.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_ContainerServiceFleetUpdateRunResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerServiceFleet.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerServiceFleet.Samples { public partial class Sample_ContainerServiceFleetUpdateRunResource { - // Gets an UpdateRun resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAnUpdateRunResource() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/UpdateRuns_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetsAnUpdateRunResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an UpdateRun. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAnUpdateRun() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/UpdateRuns_CreateOrUpdate.json @@ -102,9 +101,8 @@ public async Task Update_CreateAnUpdateRun() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an updateRun resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnUpdateRunResource() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/UpdateRuns_Delete.json @@ -127,12 +125,11 @@ public async Task Delete_DeleteAnUpdateRunResource() // invoke the operation await containerServiceFleetUpdateRun.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Skips one or more member/group/stage/afterStageWait(s) of an UpdateRun. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Skip_SkipsOneOrMoreMemberGroupStageAfterStageWaitSOfAnUpdateRun() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/UpdateRuns_Skip.json @@ -167,9 +164,8 @@ public async Task Skip_SkipsOneOrMoreMemberGroupStageAfterStageWaitSOfAnUpdateRu Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Starts an UpdateRun. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_StartsAnUpdateRun() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/UpdateRuns_Start.json @@ -200,9 +196,8 @@ public async Task Start_StartsAnUpdateRun() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Stops an UpdateRun. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_StopsAnUpdateRun() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/UpdateRuns_Stop.json diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_FleetUpdateStrategyCollection.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_FleetUpdateStrategyCollection.cs index 5a6c7f18f027d..045a9ff19d3e3 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_FleetUpdateStrategyCollection.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_FleetUpdateStrategyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerServiceFleet.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerServiceFleet.Samples { public partial class Sample_FleetUpdateStrategyCollection { - // List the FleetUpdateStrategy resources by fleet. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTheFleetUpdateStrategyResourcesByFleet() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/UpdateStrategies_ListByFleet.json @@ -49,12 +49,11 @@ public async Task GetAll_ListTheFleetUpdateStrategyResourcesByFleet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a FleetUpdateStrategy resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAFleetUpdateStrategyResource() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/UpdateStrategies_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetAFleetUpdateStrategyResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a FleetUpdateStrategy resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAFleetUpdateStrategyResource() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/UpdateStrategies_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetAFleetUpdateStrategyResource() Console.WriteLine($"Succeeded: {result}"); } - // Get a FleetUpdateStrategy resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAFleetUpdateStrategyResource() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/UpdateStrategies_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetAFleetUpdateStrategyResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetAFleetUpdateStrategyResource() } } - // Create a FleetUpdateStrategy. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAFleetUpdateStrategy() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/UpdateStrategies_CreateOrUpdate.json diff --git a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_FleetUpdateStrategyResource.cs b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_FleetUpdateStrategyResource.cs index 112ed43b8333a..d485bcd8913bf 100644 --- a/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_FleetUpdateStrategyResource.cs +++ b/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/samples/Generated/Samples/Sample_FleetUpdateStrategyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerServiceFleet.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerServiceFleet.Samples { public partial class Sample_FleetUpdateStrategyResource { - // Get a FleetUpdateStrategy resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAFleetUpdateStrategyResource() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/UpdateStrategies_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetAFleetUpdateStrategyResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a FleetUpdateStrategy. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAFleetUpdateStrategy() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/UpdateStrategies_CreateOrUpdate.json @@ -94,9 +93,8 @@ public async Task Update_CreateAFleetUpdateStrategy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a FleetUpdateStrategy resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAFleetUpdateStrategyResource() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/examples/UpdateStrategies_Delete.json @@ -119,7 +117,7 @@ public async Task Delete_DeleteAFleetUpdateStrategyResource() // invoke the operation await fleetUpdateStrategy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/fluidrelay/Azure.ResourceManager.FluidRelay/samples/Generated/Samples/Sample_FluidRelayContainerCollection.cs b/sdk/fluidrelay/Azure.ResourceManager.FluidRelay/samples/Generated/Samples/Sample_FluidRelayContainerCollection.cs index a256a001a5dcb..9165c30b2aaa5 100644 --- a/sdk/fluidrelay/Azure.ResourceManager.FluidRelay/samples/Generated/Samples/Sample_FluidRelayContainerCollection.cs +++ b/sdk/fluidrelay/Azure.ResourceManager.FluidRelay/samples/Generated/Samples/Sample_FluidRelayContainerCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.FluidRelay.Samples { public partial class Sample_FluidRelayContainerCollection { - // Get Fluid Relay container details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFluidRelayContainerDetails() { // Generated from example definition: specification/fluidrelay/resource-manager/Microsoft.FluidRelay/stable/2022-06-01/examples/FluidRelayContainers_Get.json @@ -49,9 +49,8 @@ public async Task Get_GetFluidRelayContainerDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Fluid Relay container details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetFluidRelayContainerDetails() { // Generated from example definition: specification/fluidrelay/resource-manager/Microsoft.FluidRelay/stable/2022-06-01/examples/FluidRelayContainers_Get.json @@ -80,9 +79,8 @@ public async Task Exists_GetFluidRelayContainerDetails() Console.WriteLine($"Succeeded: {result}"); } - // Get Fluid Relay container details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetFluidRelayContainerDetails() { // Generated from example definition: specification/fluidrelay/resource-manager/Microsoft.FluidRelay/stable/2022-06-01/examples/FluidRelayContainers_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetFluidRelayContainerDetails() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetFluidRelayContainerDetails() } } - // List all Fluid Relay containers in a Fluid Relay server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllFluidRelayContainersInAFluidRelayServer() { // Generated from example definition: specification/fluidrelay/resource-manager/Microsoft.FluidRelay/stable/2022-06-01/examples/FluidRelayContainers_ListByFluidRelayServer.json @@ -157,7 +154,7 @@ public async Task GetAll_ListAllFluidRelayContainersInAFluidRelayServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/fluidrelay/Azure.ResourceManager.FluidRelay/samples/Generated/Samples/Sample_FluidRelayContainerResource.cs b/sdk/fluidrelay/Azure.ResourceManager.FluidRelay/samples/Generated/Samples/Sample_FluidRelayContainerResource.cs index 6d33aac514714..763ff4befc100 100644 --- a/sdk/fluidrelay/Azure.ResourceManager.FluidRelay/samples/Generated/Samples/Sample_FluidRelayContainerResource.cs +++ b/sdk/fluidrelay/Azure.ResourceManager.FluidRelay/samples/Generated/Samples/Sample_FluidRelayContainerResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.FluidRelay.Samples { public partial class Sample_FluidRelayContainerResource { - // Get Fluid Relay container details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFluidRelayContainerDetails() { // Generated from example definition: specification/fluidrelay/resource-manager/Microsoft.FluidRelay/stable/2022-06-01/examples/FluidRelayContainers_Get.json @@ -46,9 +46,8 @@ public async Task Get_GetFluidRelayContainerDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a Fluid Relay container - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAFluidRelayContainer() { // Generated from example definition: specification/fluidrelay/resource-manager/Microsoft.FluidRelay/stable/2022-06-01/examples/FluidRelayContainers_Delete.json @@ -71,7 +70,7 @@ public async Task Delete_DeleteAFluidRelayContainer() // invoke the operation await fluidRelayContainer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/fluidrelay/Azure.ResourceManager.FluidRelay/samples/Generated/Samples/Sample_FluidRelayServerCollection.cs b/sdk/fluidrelay/Azure.ResourceManager.FluidRelay/samples/Generated/Samples/Sample_FluidRelayServerCollection.cs index ca9b895f04cb4..1dec27a5dc6f1 100644 --- a/sdk/fluidrelay/Azure.ResourceManager.FluidRelay/samples/Generated/Samples/Sample_FluidRelayServerCollection.cs +++ b/sdk/fluidrelay/Azure.ResourceManager.FluidRelay/samples/Generated/Samples/Sample_FluidRelayServerCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.FluidRelay.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.FluidRelay.Samples { public partial class Sample_FluidRelayServerCollection { - // Get Fluid Relay server details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFluidRelayServerDetails() { // Generated from example definition: specification/fluidrelay/resource-manager/Microsoft.FluidRelay/stable/2022-06-01/examples/FluidRelayServers_Get.json @@ -51,9 +51,8 @@ public async Task Get_GetFluidRelayServerDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Fluid Relay server details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetFluidRelayServerDetails() { // Generated from example definition: specification/fluidrelay/resource-manager/Microsoft.FluidRelay/stable/2022-06-01/examples/FluidRelayServers_Get.json @@ -81,9 +80,8 @@ public async Task Exists_GetFluidRelayServerDetails() Console.WriteLine($"Succeeded: {result}"); } - // Get Fluid Relay server details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetFluidRelayServerDetails() { // Generated from example definition: specification/fluidrelay/resource-manager/Microsoft.FluidRelay/stable/2022-06-01/examples/FluidRelayServers_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetFluidRelayServerDetails() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetFluidRelayServerDetails() } } - // Create a Fluid Relay server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAFluidRelayServer() { // Generated from example definition: specification/fluidrelay/resource-manager/Microsoft.FluidRelay/stable/2022-06-01/examples/FluidRelayServers_CreateOrUpdate.json @@ -167,9 +164,8 @@ public async Task CreateOrUpdate_CreateAFluidRelayServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a Fluid Relay server with AMI - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAFluidRelayServerWithAMI() { // Generated from example definition: specification/fluidrelay/resource-manager/Microsoft.FluidRelay/stable/2022-06-01/examples/FluidRelayServers_CreateWithAmi.json @@ -218,9 +214,8 @@ public async Task CreateOrUpdate_CreateAFluidRelayServerWithAMI() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a Fluid Relay server with CMK - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAFluidRelayServerWithCMK() { // Generated from example definition: specification/fluidrelay/resource-manager/Microsoft.FluidRelay/stable/2022-06-01/examples/FluidRelayServers_CreateWithCmk.json @@ -277,9 +272,8 @@ public async Task CreateOrUpdate_CreateAFluidRelayServerWithCMK() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all Fluid Relay servers in a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllFluidRelayServersInAResourceGroup() { // Generated from example definition: specification/fluidrelay/resource-manager/Microsoft.FluidRelay/stable/2022-06-01/examples/FluidRelayServers_ListByResourceGroup.json @@ -310,7 +304,7 @@ public async Task GetAll_ListAllFluidRelayServersInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/fluidrelay/Azure.ResourceManager.FluidRelay/samples/Generated/Samples/Sample_FluidRelayServerResource.cs b/sdk/fluidrelay/Azure.ResourceManager.FluidRelay/samples/Generated/Samples/Sample_FluidRelayServerResource.cs index 6c042ef60b5b6..bf5df64adfbee 100644 --- a/sdk/fluidrelay/Azure.ResourceManager.FluidRelay/samples/Generated/Samples/Sample_FluidRelayServerResource.cs +++ b/sdk/fluidrelay/Azure.ResourceManager.FluidRelay/samples/Generated/Samples/Sample_FluidRelayServerResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.FluidRelay.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.FluidRelay.Samples { public partial class Sample_FluidRelayServerResource { - // Get Fluid Relay server details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFluidRelayServerDetails() { // Generated from example definition: specification/fluidrelay/resource-manager/Microsoft.FluidRelay/stable/2022-06-01/examples/FluidRelayServers_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetFluidRelayServerDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a Fluid Relay server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAFluidRelayServer() { // Generated from example definition: specification/fluidrelay/resource-manager/Microsoft.FluidRelay/stable/2022-06-01/examples/FluidRelayServers_Update.json @@ -85,9 +84,8 @@ public async Task Update_UpdateAFluidRelayServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a Fluid Relay server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAFluidRelayServer() { // Generated from example definition: specification/fluidrelay/resource-manager/Microsoft.FluidRelay/stable/2022-06-01/examples/FluidRelayServers_Delete.json @@ -109,12 +107,11 @@ public async Task Delete_DeleteAFluidRelayServer() // invoke the operation await fluidRelayServer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Regenerate keys for a Fluid Relay server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKeys_RegenerateKeysForAFluidRelayServer() { // Generated from example definition: specification/fluidrelay/resource-manager/Microsoft.FluidRelay/stable/2022-06-01/examples/FluidRelayServers_RegenerateKeys.json @@ -140,9 +137,8 @@ public async Task RegenerateKeys_RegenerateKeysForAFluidRelayServer() Console.WriteLine($"Succeeded: {result}"); } - // Get keys for a Fluid Relay server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_GetKeysForAFluidRelayServer() { // Generated from example definition: specification/fluidrelay/resource-manager/Microsoft.FluidRelay/stable/2022-06-01/examples/FluidRelayServers_ListKeys.json @@ -167,9 +163,8 @@ public async Task GetKeys_GetKeysForAFluidRelayServer() Console.WriteLine($"Succeeded: {result}"); } - // List all Fluid Relay servers in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFluidRelayServers_ListAllFluidRelayServersInASubscription() { // Generated from example definition: specification/fluidrelay/resource-manager/Microsoft.FluidRelay/stable/2022-06-01/examples/FluidRelayServers_ListBySubscription.json @@ -196,7 +191,7 @@ public async Task GetFluidRelayServers_ListAllFluidRelayServersInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorCollection.cs b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorCollection.cs index 0fa3e7ba867f2..07c9b5505b7e5 100644 --- a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorCollection.cs +++ b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.FrontDoor.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.FrontDoor.Samples { public partial class Sample_FrontDoorCollection { - // List Front Doors in a Resource Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListFrontDoorsInAResourceGroup() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorList.json @@ -50,12 +50,11 @@ public async Task GetAll_ListFrontDoorsInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Front Door - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFrontDoor() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorGet.json @@ -87,9 +86,8 @@ public async Task Get_GetFrontDoor() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Front Door - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetFrontDoor() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetFrontDoor() Console.WriteLine($"Succeeded: {result}"); } - // Get Front Door - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetFrontDoor() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorGet.json @@ -147,7 +144,7 @@ public async Task GetIfExists_GetFrontDoor() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_GetFrontDoor() } } - // Create or update specific Front Door - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateSpecificFrontDoor() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorCreate.json diff --git a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorExperimentCollection.cs b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorExperimentCollection.cs index 16eb2de75fd59..c697cd7e1e6ac 100644 --- a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorExperimentCollection.cs +++ b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorExperimentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.FrontDoor.Models; +using NUnit.Framework; namespace Azure.ResourceManager.FrontDoor.Samples { public partial class Sample_FrontDoorExperimentCollection { - // Gets a list of Experiments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsAListOfExperiments() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentListExperiments.json @@ -49,12 +49,11 @@ public async Task GetAll_GetsAListOfExperiments() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets an Experiment by ExperimentName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAnExperimentByExperimentName() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetExperiment.json @@ -87,9 +86,8 @@ public async Task Get_GetsAnExperimentByExperimentName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets an Experiment by ExperimentName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAnExperimentByExperimentName() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetExperiment.json @@ -118,9 +116,8 @@ public async Task Exists_GetsAnExperimentByExperimentName() Console.WriteLine($"Succeeded: {result}"); } - // Gets an Experiment by ExperimentName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAnExperimentByExperimentName() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetExperiment.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetsAnExperimentByExperimentName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetsAnExperimentByExperimentName() } } - // Creates an Experiment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAnExperiment() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentCreateExperiment.json diff --git a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorExperimentResource.cs b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorExperimentResource.cs index 690f8ee97d127..e4a30f3e1ac2c 100644 --- a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorExperimentResource.cs +++ b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorExperimentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.FrontDoor.Models; +using NUnit.Framework; namespace Azure.ResourceManager.FrontDoor.Samples { public partial class Sample_FrontDoorExperimentResource { - // Gets an Experiment by ExperimentName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAnExperimentByExperimentName() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetExperiment.json @@ -47,9 +47,8 @@ public async Task Get_GetsAnExperimentByExperimentName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates an Experiment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesAnExperiment() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentUpdateExperiment.json @@ -85,9 +84,8 @@ public async Task Update_UpdatesAnExperiment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes an Experiment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAnExperiment() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentDeleteExperiment.json @@ -110,12 +108,11 @@ public async Task Delete_DeletesAnExperiment() // invoke the operation await frontDoorExperiment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a Latency Scorecard for a given Experiment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLatencyScorecardsReport_GetsALatencyScorecardForAGivenExperiment() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetLatencyScorecard.json @@ -142,9 +139,8 @@ public async Task GetLatencyScorecardsReport_GetsALatencyScorecardForAGivenExper Console.WriteLine($"Succeeded: {result}"); } - // Gets a Timeseries for a given Experiment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTimeSeriesReport_GetsATimeseriesForAGivenExperiment() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetTimeseries.json diff --git a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorNetworkExperimentProfileCollection.cs b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorNetworkExperimentProfileCollection.cs index 0b9caa7ce8f8f..da292ddf2982e 100644 --- a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorNetworkExperimentProfileCollection.cs +++ b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorNetworkExperimentProfileCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.FrontDoor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.FrontDoor.Samples { public partial class Sample_FrontDoorNetworkExperimentProfileCollection { - // List NetworkExperiment Profiles in a Resource Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListNetworkExperimentProfilesInAResourceGroup() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentListProfiles.json @@ -49,12 +49,11 @@ public async Task GetAll_ListNetworkExperimentProfilesInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets an NetworkExperiment Profile by Profile Id - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAnNetworkExperimentProfileByProfileId() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetProfile.json @@ -86,9 +85,8 @@ public async Task Get_GetsAnNetworkExperimentProfileByProfileId() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets an NetworkExperiment Profile by Profile Id - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAnNetworkExperimentProfileByProfileId() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetProfile.json @@ -116,9 +114,8 @@ public async Task Exists_GetsAnNetworkExperimentProfileByProfileId() Console.WriteLine($"Succeeded: {result}"); } - // Gets an NetworkExperiment Profile by Profile Id - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAnNetworkExperimentProfileByProfileId() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetProfile.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetsAnNetworkExperimentProfileByProfileId() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetsAnNetworkExperimentProfileByProfileId() } } - // Creates an NetworkExperiment Profile in a Resource Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAnNetworkExperimentProfileInAResourceGroup() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentCreateProfile.json diff --git a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorNetworkExperimentProfileResource.cs b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorNetworkExperimentProfileResource.cs index 2417675785170..c4618f1b5b9ae 100644 --- a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorNetworkExperimentProfileResource.cs +++ b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorNetworkExperimentProfileResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.FrontDoor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.FrontDoor.Samples { public partial class Sample_FrontDoorNetworkExperimentProfileResource { - // List NetworkExperiment Profiles in a Resource Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFrontDoorNetworkExperimentProfiles_ListNetworkExperimentProfilesInAResourceGroup() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentListProfiles.json @@ -45,12 +45,11 @@ public async Task GetFrontDoorNetworkExperimentProfiles_ListNetworkExperimentPro Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets an NetworkExperiment Profile by Profile Id - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAnNetworkExperimentProfileByProfileId() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetProfile.json @@ -79,9 +78,8 @@ public async Task Get_GetsAnNetworkExperimentProfileByProfileId() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates an Experiment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesAnExperiment() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentUpdateProfile.json @@ -120,9 +118,8 @@ public async Task Update_UpdatesAnExperiment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes an NetworkExperiment Profile by ProfileName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAnNetworkExperimentProfileByProfileName() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentDeleteProfile.json @@ -144,12 +141,11 @@ public async Task Delete_DeletesAnNetworkExperimentProfileByProfileName() // invoke the operation await frontDoorNetworkExperimentProfile.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a list of Preconfigured Endpoints - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPreconfiguredEndpoints_GetsAListOfPreconfiguredEndpoints() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-11-01/examples/NetworkExperimentGetPreconfiguredEndpoints.json @@ -174,7 +170,7 @@ public async Task GetPreconfiguredEndpoints_GetsAListOfPreconfiguredEndpoints() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorResource.cs b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorResource.cs index 2227f42c7df39..efc517eb8c708 100644 --- a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorResource.cs +++ b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.FrontDoor.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.FrontDoor.Samples { public partial class Sample_FrontDoorResource { - // List all Front Doors - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFrontDoors_ListAllFrontDoors() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorListAll.json @@ -46,12 +46,11 @@ public async Task GetFrontDoors_ListAllFrontDoors() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Front Door - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFrontDoor() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorGet.json @@ -80,9 +79,8 @@ public async Task Get_GetFrontDoor() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update specific Front Door - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateSpecificFrontDoor() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorCreate.json @@ -233,9 +231,8 @@ public async Task Update_CreateOrUpdateSpecificFrontDoor() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Front Door - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteFrontDoor() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorDelete.json @@ -257,12 +254,11 @@ public async Task Delete_DeleteFrontDoor() // invoke the operation await frontDoor.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // FrontDoor_ValidateCustomDomain - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateCustomDomain_FrontDoorValidateCustomDomain() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorValidateCustomDomain.json @@ -288,9 +284,8 @@ public async Task ValidateCustomDomain_FrontDoorValidateCustomDomain() Console.WriteLine($"Succeeded: {result}"); } - // Purge content from Front Door - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PurgeContent_PurgeContentFromFrontDoor() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorPurgeContent.json @@ -316,7 +311,7 @@ public async Task PurgeContent_PurgeContentFromFrontDoor() }); await frontDoor.PurgeContentAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorRulesEngineCollection.cs b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorRulesEngineCollection.cs index f8a4b1300cdd2..748bef2d3be3a 100644 --- a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorRulesEngineCollection.cs +++ b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorRulesEngineCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.FrontDoor.Models; +using NUnit.Framework; namespace Azure.ResourceManager.FrontDoor.Samples { public partial class Sample_FrontDoorRulesEngineCollection { - // List Rules Engine Configurations in a Front Door - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRulesEngineConfigurationsInAFrontDoor() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorRulesEngineList.json @@ -50,12 +50,11 @@ public async Task GetAll_ListRulesEngineConfigurationsInAFrontDoor() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Rules Engine Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRulesEngineConfiguration() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorRulesEngineGet.json @@ -88,9 +87,8 @@ public async Task Get_GetRulesEngineConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Rules Engine Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRulesEngineConfiguration() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorRulesEngineGet.json @@ -119,9 +117,8 @@ public async Task Exists_GetRulesEngineConfiguration() Console.WriteLine($"Succeeded: {result}"); } - // Get Rules Engine Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRulesEngineConfiguration() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorRulesEngineGet.json @@ -150,7 +147,7 @@ public async Task GetIfExists_GetRulesEngineConfiguration() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_GetRulesEngineConfiguration() } } - // Create or update a specific Rules Engine Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateASpecificRulesEngineConfiguration() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorRulesEngineCreate.json diff --git a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorRulesEngineResource.cs b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorRulesEngineResource.cs index c4ae367f0667d..bfde5b0825705 100644 --- a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorRulesEngineResource.cs +++ b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorRulesEngineResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.FrontDoor.Models; +using NUnit.Framework; namespace Azure.ResourceManager.FrontDoor.Samples { public partial class Sample_FrontDoorRulesEngineResource { - // Get Rules Engine Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRulesEngineConfiguration() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorRulesEngineGet.json @@ -48,9 +48,8 @@ public async Task Get_GetRulesEngineConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a specific Rules Engine Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateASpecificRulesEngineConfiguration() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorRulesEngineCreate.json @@ -165,9 +164,8 @@ public async Task Update_CreateOrUpdateASpecificRulesEngineConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Rules Engine Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteRulesEngineConfiguration() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorRulesEngineDelete.json @@ -190,7 +188,7 @@ public async Task Delete_DeleteRulesEngineConfiguration() // invoke the operation await frontDoorRulesEngine.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorWebApplicationFirewallPolicyCollection.cs b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorWebApplicationFirewallPolicyCollection.cs index feada4d514b8f..d59c7d2b71693 100644 --- a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorWebApplicationFirewallPolicyCollection.cs +++ b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorWebApplicationFirewallPolicyCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.FrontDoor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.FrontDoor.Samples { public partial class Sample_FrontDoorWebApplicationFirewallPolicyCollection { - // Get all Policies in a Resource Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllPoliciesInAResourceGroup() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2024-02-01/examples/WafListPolicies.json @@ -49,12 +49,11 @@ public async Task GetAll_GetAllPoliciesInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPolicy() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2024-02-01/examples/WafPolicyGet.json @@ -86,9 +85,8 @@ public async Task Get_GetPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPolicy() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2024-02-01/examples/WafPolicyGet.json @@ -116,9 +114,8 @@ public async Task Exists_GetPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Get Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPolicy() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2024-02-01/examples/WafPolicyGet.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetPolicy() } } - // Creates specific policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesSpecificPolicy() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2024-02-01/examples/WafPolicyCreateOrUpdate.json diff --git a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorWebApplicationFirewallPolicyResource.cs b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorWebApplicationFirewallPolicyResource.cs index d42a155b17055..220c6b0689146 100644 --- a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorWebApplicationFirewallPolicyResource.cs +++ b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontDoorWebApplicationFirewallPolicyResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.FrontDoor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.FrontDoor.Samples { public partial class Sample_FrontDoorWebApplicationFirewallPolicyResource { - // Get all Policies in a Resource Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFrontDoorWebApplicationFirewallPoliciesByFrontDoorWebApplicationFirewallPolicy_GetAllPoliciesInAResourceGroup() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2024-02-01/examples/WafListPoliciesUnderSubscription.json @@ -45,12 +45,11 @@ public async Task GetFrontDoorWebApplicationFirewallPoliciesByFrontDoorWebApplic Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPolicy() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2024-02-01/examples/WafPolicyGet.json @@ -79,9 +78,8 @@ public async Task Get_GetPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patches specific policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchesSpecificPolicy() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2024-02-01/examples/WafPolicyPatch.json @@ -119,9 +117,8 @@ public async Task Update_PatchesSpecificPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete protection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteProtectionPolicy() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2024-02-01/examples/WafPolicyDelete.json @@ -143,7 +140,7 @@ public async Task Delete_DeleteProtectionPolicy() // invoke the operation await frontDoorWebApplicationFirewallPolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontendEndpointCollection.cs b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontendEndpointCollection.cs index 5f4d8c5908711..a2d1ba4fdfbcf 100644 --- a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontendEndpointCollection.cs +++ b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontendEndpointCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.FrontDoor.Samples { public partial class Sample_FrontendEndpointCollection { - // List Frontend endpoints in a Front Door - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListFrontendEndpointsInAFrontDoor() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorFrontendEndpointList.json @@ -48,12 +48,11 @@ public async Task GetAll_ListFrontendEndpointsInAFrontDoor() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Frontend Endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFrontendEndpoint() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorFrontendEndpointGet.json @@ -86,9 +85,8 @@ public async Task Get_GetFrontendEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Frontend Endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetFrontendEndpoint() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorFrontendEndpointGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetFrontendEndpoint() Console.WriteLine($"Succeeded: {result}"); } - // Get Frontend Endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetFrontendEndpoint() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorFrontendEndpointGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetFrontendEndpoint() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontendEndpointResource.cs b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontendEndpointResource.cs index 1661bf1a54b89..9ad501c16222f 100644 --- a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontendEndpointResource.cs +++ b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_FrontendEndpointResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.FrontDoor.Models; +using NUnit.Framework; namespace Azure.ResourceManager.FrontDoor.Samples { public partial class Sample_FrontendEndpointResource { - // Get Frontend Endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFrontendEndpoint() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorFrontendEndpointGet.json @@ -47,9 +47,8 @@ public async Task Get_GetFrontendEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FrontendEndpoints_EnableHttps - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task EnableHttps_FrontendEndpointsEnableHttps() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorEnableHttps.json @@ -78,12 +77,11 @@ public async Task EnableHttps_FrontendEndpointsEnableHttps() }; await frontendEndpoint.EnableHttpsAsync(WaitUntil.Completed, customHttpsConfiguration); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // FrontendEndpoints_DisableHttps - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DisableHttps_FrontendEndpointsDisableHttps() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/FrontdoorDisableHttps.json @@ -106,7 +104,7 @@ public async Task DisableHttps_FrontendEndpointsDisableHttps() // invoke the operation await frontendEndpoint.DisableHttpsAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index d11c7ebc0bd44..67b9cdebca35d 100644 --- a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.FrontDoor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.FrontDoor.Samples { public partial class Sample_SubscriptionResourceExtensions { - // List Policies ManagedRuleSets in a Resource Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagedRuleSets_ListPoliciesManagedRuleSetsInAResourceGroup() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2024-02-01/examples/WafListManagedRuleSets.json @@ -41,12 +41,11 @@ public async Task GetManagedRuleSets_ListPoliciesManagedRuleSetsInAResourceGroup Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CheckNameAvailabilityWithSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckFrontDoorNameAvailability_CheckNameAvailabilityWithSubscription() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/CheckFrontdoorNameAvailabilityWithSubscription.json diff --git a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_TenantResourceExtensions.cs b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_TenantResourceExtensions.cs index 7df57f8ca8fd3..1a9ee6c570688 100644 --- a/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_TenantResourceExtensions.cs +++ b/sdk/frontdoor/Azure.ResourceManager.FrontDoor/samples/Generated/Samples/Sample_TenantResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.FrontDoor.Models; +using NUnit.Framework; namespace Azure.ResourceManager.FrontDoor.Samples { public partial class Sample_TenantResourceExtensions { - // CheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckFrontDoorNameAvailability_CheckNameAvailability() { // Generated from example definition: specification/frontdoor/resource-manager/Microsoft.Network/stable/2021-06-01/examples/CheckFrontdoorNameAvailability.json diff --git a/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_GrafanaPrivateEndpointConnectionCollection.cs b/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_GrafanaPrivateEndpointConnectionCollection.cs index 6bfc947ad441f..79060f9a351b8 100644 --- a/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_GrafanaPrivateEndpointConnectionCollection.cs +++ b/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_GrafanaPrivateEndpointConnectionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Grafana.Samples { public partial class Sample_GrafanaPrivateEndpointConnectionCollection { - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Get.json @@ -49,9 +49,8 @@ public async Task Get_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Get.json @@ -80,9 +79,8 @@ public async Task Exists_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_PrivateEndpointConnectionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_PrivateEndpointConnectionsGet() } } - // PrivateEndpointConnections_Approve - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateEndpointConnectionsApprove() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Approve.json @@ -160,9 +157,8 @@ public async Task CreateOrUpdate_PrivateEndpointConnectionsApprove() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndpointConnectionsList() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_List.json @@ -194,7 +190,7 @@ public async Task GetAll_PrivateEndpointConnectionsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_GrafanaPrivateEndpointConnectionResource.cs b/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_GrafanaPrivateEndpointConnectionResource.cs index bbc84b41eb828..2f81c0dd98638 100644 --- a/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_GrafanaPrivateEndpointConnectionResource.cs +++ b/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_GrafanaPrivateEndpointConnectionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Grafana.Samples { public partial class Sample_GrafanaPrivateEndpointConnectionResource { - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Get.json @@ -46,9 +46,8 @@ public async Task Get_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Approve - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateEndpointConnectionsApprove() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Approve.json @@ -80,9 +79,8 @@ public async Task Update_PrivateEndpointConnectionsApprove() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateEndpointConnectionsDelete() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateEndpointConnections_Delete.json @@ -105,7 +103,7 @@ public async Task Delete_PrivateEndpointConnectionsDelete() // invoke the operation await grafanaPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_GrafanaPrivateLinkResource.cs b/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_GrafanaPrivateLinkResource.cs index 81be2893c4fe0..09c41ce410ece 100644 --- a/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_GrafanaPrivateLinkResource.cs +++ b/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_GrafanaPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Grafana.Samples { public partial class Sample_GrafanaPrivateLinkResource { - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkResourcesGet() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateLinkResources_Get.json diff --git a/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_GrafanaPrivateLinkResourceCollection.cs b/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_GrafanaPrivateLinkResourceCollection.cs index a7f98beb593d4..d6790ecbffdf8 100644 --- a/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_GrafanaPrivateLinkResourceCollection.cs +++ b/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_GrafanaPrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Grafana.Samples { public partial class Sample_GrafanaPrivateLinkResourceCollection { - // PrivateLinkResources_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateLinkResourcesList() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateLinkResources_List.json @@ -48,12 +48,11 @@ public async Task GetAll_PrivateLinkResourcesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkResourcesGet() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateLinkResources_Get.json @@ -86,9 +85,8 @@ public async Task Get_PrivateLinkResourcesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateLinkResourcesGet() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateLinkResources_Get.json @@ -117,9 +115,8 @@ public async Task Exists_PrivateLinkResourcesGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateLinkResourcesGet() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/PrivateLinkResources_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_PrivateLinkResourcesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_ManagedGrafanaCollection.cs b/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_ManagedGrafanaCollection.cs index 4f38777dfce17..217151111652d 100644 --- a/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_ManagedGrafanaCollection.cs +++ b/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_ManagedGrafanaCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Grafana.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Grafana.Samples { public partial class Sample_ManagedGrafanaCollection { - // Grafana_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GrafanaListByResourceGroup() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_ListByResourceGroup.json @@ -50,12 +50,11 @@ public async Task GetAll_GrafanaListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Grafana_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GrafanaGet() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Get.json @@ -87,9 +86,8 @@ public async Task Get_GrafanaGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Grafana_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GrafanaGet() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Get.json @@ -117,9 +115,8 @@ public async Task Exists_GrafanaGet() Console.WriteLine($"Succeeded: {result}"); } - // Grafana_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GrafanaGet() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Get.json @@ -147,7 +144,7 @@ public async Task GetIfExists_GrafanaGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_GrafanaGet() } } - // Grafana_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_GrafanaCreate() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Create.json diff --git a/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_ManagedGrafanaResource.cs b/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_ManagedGrafanaResource.cs index 5ca2303ba3201..c4fc9ffa0e945 100644 --- a/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_ManagedGrafanaResource.cs +++ b/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_ManagedGrafanaResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Grafana.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Grafana.Samples { public partial class Sample_ManagedGrafanaResource { - // Grafana_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagedGrafanas_GrafanaList() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_List.json @@ -45,12 +45,11 @@ public async Task GetManagedGrafanas_GrafanaList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Grafana_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GrafanaGet() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Get.json @@ -79,9 +78,8 @@ public async Task Get_GrafanaGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Grafana_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_GrafanaUpdate() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Update.json @@ -151,9 +149,8 @@ public async Task Update_GrafanaUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Grafana_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_GrafanaDelete() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_Delete.json @@ -175,12 +172,11 @@ public async Task Delete_GrafanaDelete() // invoke the operation await managedGrafana.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // EnterpriseDetails_Post - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckEnterpriseDetails_EnterpriseDetailsPost() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/EnterpriseDetails_Post.json @@ -205,9 +201,8 @@ public async Task CheckEnterpriseDetails_EnterpriseDetailsPost() Console.WriteLine($"Succeeded: {result}"); } - // Grafana_FetchAvailablePlugins - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task FetchAvailablePlugins_GrafanaFetchAvailablePlugins() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/Grafana_FetchAvailablePlugins.json @@ -232,12 +227,11 @@ public async Task FetchAvailablePlugins_GrafanaFetchAvailablePlugins() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ManagedPrivateEndpoint_Refresh - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RefreshManagedPrivateEndpoint_ManagedPrivateEndpointRefresh() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Refresh.json @@ -259,7 +253,7 @@ public async Task RefreshManagedPrivateEndpoint_ManagedPrivateEndpointRefresh() // invoke the operation await managedGrafana.RefreshManagedPrivateEndpointAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_ManagedPrivateEndpointModelCollection.cs b/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_ManagedPrivateEndpointModelCollection.cs index 48f3702f65a2e..fcbcaa6d238cd 100644 --- a/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_ManagedPrivateEndpointModelCollection.cs +++ b/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_ManagedPrivateEndpointModelCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Grafana.Samples { public partial class Sample_ManagedPrivateEndpointModelCollection { - // ManagedPrivateEndpoint_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ManagedPrivateEndpointList() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_List.json @@ -48,12 +48,11 @@ public async Task GetAll_ManagedPrivateEndpointList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ManagedPrivateEndpoint_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ManagedPrivateEndpointGet() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Get.json @@ -86,9 +85,8 @@ public async Task Get_ManagedPrivateEndpointGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedPrivateEndpoint_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ManagedPrivateEndpointGet() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Get.json @@ -117,9 +115,8 @@ public async Task Exists_ManagedPrivateEndpointGet() Console.WriteLine($"Succeeded: {result}"); } - // ManagedPrivateEndpoint_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ManagedPrivateEndpointGet() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_ManagedPrivateEndpointGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_ManagedPrivateEndpointGet() } } - // ManagedPrivateEndpoint_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ManagedPrivateEndpointCreate() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Create.json diff --git a/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_ManagedPrivateEndpointModelResource.cs b/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_ManagedPrivateEndpointModelResource.cs index cafd5b288dce9..0c5fb9d83730b 100644 --- a/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_ManagedPrivateEndpointModelResource.cs +++ b/sdk/grafana/Azure.ResourceManager.Grafana/samples/Generated/Samples/Sample_ManagedPrivateEndpointModelResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Grafana.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Grafana.Samples { public partial class Sample_ManagedPrivateEndpointModelResource { - // ManagedPrivateEndpoint_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ManagedPrivateEndpointGet() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Get.json @@ -47,9 +47,8 @@ public async Task Get_ManagedPrivateEndpointGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedPrivateEndpoints_Patch - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ManagedPrivateEndpointsPatch() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Patch.json @@ -87,9 +86,8 @@ public async Task Update_ManagedPrivateEndpointsPatch() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedPrivateEndpoint_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ManagedPrivateEndpointDelete() { // Generated from example definition: specification/dashboard/resource-manager/Microsoft.Dashboard/stable/2023-09-01/examples/ManagedPrivateEndpoints_Delete.json @@ -112,7 +110,7 @@ public async Task Delete_ManagedPrivateEndpointDelete() // invoke the operation await managedPrivateEndpointModel.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/graphservices/Azure.ResourceManager.GraphServices/samples/Generated/Samples/Sample_GraphServicesAccountResource.cs b/sdk/graphservices/Azure.ResourceManager.GraphServices/samples/Generated/Samples/Sample_GraphServicesAccountResource.cs index 2d20ccad8200b..557e68ecdd96f 100644 --- a/sdk/graphservices/Azure.ResourceManager.GraphServices/samples/Generated/Samples/Sample_GraphServicesAccountResource.cs +++ b/sdk/graphservices/Azure.ResourceManager.GraphServices/samples/Generated/Samples/Sample_GraphServicesAccountResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.GraphServices.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.GraphServices.Samples { public partial class Sample_GraphServicesAccountResource { - // Get list of accounts by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetGraphServicesAccountResources_GetListOfAccountsBySubscription() { // Generated from example definition: specification/graphservicesprod/resource-manager/Microsoft.GraphServices/stable/2023-04-13/examples/Accounts_List_Sub.json @@ -45,12 +45,11 @@ public async Task GetGraphServicesAccountResources_GetListOfAccountsBySubscripti Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get accounts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAccounts() { // Generated from example definition: specification/graphservicesprod/resource-manager/Microsoft.GraphServices/stable/2023-04-13/examples/Accounts_Get.json @@ -79,9 +78,8 @@ public async Task Get_GetAccounts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update account resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAccountResource() { // Generated from example definition: specification/graphservicesprod/resource-manager/Microsoft.GraphServices/stable/2023-04-13/examples/Accounts_Update.json @@ -118,9 +116,8 @@ public async Task Update_UpdateAccountResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete account resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAccountResource() { // Generated from example definition: specification/graphservicesprod/resource-manager/Microsoft.GraphServices/stable/2023-04-13/examples/Accounts_Delete.json @@ -142,7 +139,7 @@ public async Task Delete_DeleteAccountResource() // invoke the operation await graphServicesAccountResource.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/graphservices/Azure.ResourceManager.GraphServices/samples/Generated/Samples/Sample_GraphServicesAccountResourceCollection.cs b/sdk/graphservices/Azure.ResourceManager.GraphServices/samples/Generated/Samples/Sample_GraphServicesAccountResourceCollection.cs index e9837708cd798..c2bdbb66798aa 100644 --- a/sdk/graphservices/Azure.ResourceManager.GraphServices/samples/Generated/Samples/Sample_GraphServicesAccountResourceCollection.cs +++ b/sdk/graphservices/Azure.ResourceManager.GraphServices/samples/Generated/Samples/Sample_GraphServicesAccountResourceCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.GraphServices.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.GraphServices.Samples { public partial class Sample_GraphServicesAccountResourceCollection { - // Create or update account resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CreateOrUpdateAccountResource() { // Generated from example definition: specification/graphservicesprod/resource-manager/Microsoft.GraphServices/stable/2023-04-13/examples/Accounts_List.json @@ -49,12 +49,11 @@ public async Task GetAll_CreateOrUpdateAccountResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get accounts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAccounts() { // Generated from example definition: specification/graphservicesprod/resource-manager/Microsoft.GraphServices/stable/2023-04-13/examples/Accounts_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetAccounts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get accounts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAccounts() { // Generated from example definition: specification/graphservicesprod/resource-manager/Microsoft.GraphServices/stable/2023-04-13/examples/Accounts_Get.json @@ -116,9 +114,8 @@ public async Task Exists_GetAccounts() Console.WriteLine($"Succeeded: {result}"); } - // Get accounts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAccounts() { // Generated from example definition: specification/graphservicesprod/resource-manager/Microsoft.GraphServices/stable/2023-04-13/examples/Accounts_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetAccounts() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetAccounts() } } - // Create Account resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAccountResource() { // Generated from example definition: specification/graphservicesprod/resource-manager/Microsoft.GraphServices/stable/2023-04-13/examples/Accounts_Create.json diff --git a/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationHcrpAssignmentCollection.cs b/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationHcrpAssignmentCollection.cs index e10a80f41ee65..6fa6bc85b0a92 100644 --- a/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationHcrpAssignmentCollection.cs +++ b/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationHcrpAssignmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.GuestConfiguration.Models; +using NUnit.Framework; namespace Azure.ResourceManager.GuestConfiguration.Samples { public partial class Sample_GuestConfigurationHcrpAssignmentCollection { - // Create or update guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/createOrUpdateGuestConfigurationHCRPAssignment.json @@ -75,9 +75,8 @@ public async Task CreateOrUpdate_CreateOrUpdateGuestConfigurationAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/getGuestConfigurationHCRPAssignment.json @@ -109,9 +108,8 @@ public async Task Get_GetAGuestConfigurationAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/getGuestConfigurationHCRPAssignment.json @@ -139,9 +137,8 @@ public async Task Exists_GetAGuestConfigurationAssignment() Console.WriteLine($"Succeeded: {result}"); } - // Get a guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/getGuestConfigurationHCRPAssignment.json @@ -169,7 +166,7 @@ public async Task GetIfExists_GetAGuestConfigurationAssignment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -181,9 +178,8 @@ public async Task GetIfExists_GetAGuestConfigurationAssignment() } } - // List all guest configuration assignments for a virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllGuestConfigurationAssignmentsForAVirtualMachine() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/listGuestConfigurationHCRPAssignments.json @@ -214,7 +210,7 @@ public async Task GetAll_ListAllGuestConfigurationAssignmentsForAVirtualMachine( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationHcrpAssignmentResource.cs b/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationHcrpAssignmentResource.cs index f4ec42b25ea90..e648c8031cfff 100644 --- a/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationHcrpAssignmentResource.cs +++ b/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationHcrpAssignmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.GuestConfiguration.Models; +using NUnit.Framework; namespace Azure.ResourceManager.GuestConfiguration.Samples { public partial class Sample_GuestConfigurationHcrpAssignmentResource { - // Create or update guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/createOrUpdateGuestConfigurationHCRPAssignment.json @@ -73,9 +73,8 @@ public async Task Update_CreateOrUpdateGuestConfigurationAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/getGuestConfigurationHCRPAssignment.json @@ -105,9 +104,8 @@ public async Task Get_GetAGuestConfigurationAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/deleteGuestConfigurationHCRPAssignment.json @@ -130,12 +128,11 @@ public async Task Delete_DeleteAnGuestConfigurationAssignment() // invoke the operation await guestConfigurationHcrpAssignment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List all guest configuration assignments for a virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReports_ListAllGuestConfigurationAssignmentsForAVirtualMachine() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/listAllGuestConfigurationHCRPAssignmentReports.json @@ -161,12 +158,11 @@ public async Task GetReports_ListAllGuestConfigurationAssignmentsForAVirtualMach Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a guest configuration assignment report by Id for a virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReport_GetAGuestConfigurationAssignmentReportByIdForAVirtualMachine() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/getGuestConfigurationHCRPAssignmentReportById.json diff --git a/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationVMwarevSphereAssignmentCollection.cs b/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationVMwarevSphereAssignmentCollection.cs index 830d74f4085b6..0fb0411d6bbc4 100644 --- a/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationVMwarevSphereAssignmentCollection.cs +++ b/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationVMwarevSphereAssignmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.GuestConfiguration.Models; +using NUnit.Framework; namespace Azure.ResourceManager.GuestConfiguration.Samples { public partial class Sample_GuestConfigurationVMwarevSphereAssignmentCollection { - // Create or update guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/createOrUpdateGuestConfigurationConnectedVMwarevSphereAssignment.json @@ -75,9 +75,8 @@ public async Task CreateOrUpdate_CreateOrUpdateGuestConfigurationAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/getGuestConfigurationConnectedVMwarevSphereAssignment.json @@ -109,9 +108,8 @@ public async Task Get_GetAGuestConfigurationAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/getGuestConfigurationConnectedVMwarevSphereAssignment.json @@ -139,9 +137,8 @@ public async Task Exists_GetAGuestConfigurationAssignment() Console.WriteLine($"Succeeded: {result}"); } - // Get a guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/getGuestConfigurationConnectedVMwarevSphereAssignment.json @@ -169,7 +166,7 @@ public async Task GetIfExists_GetAGuestConfigurationAssignment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -181,9 +178,8 @@ public async Task GetIfExists_GetAGuestConfigurationAssignment() } } - // List all guest configuration assignments for a virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllGuestConfigurationAssignmentsForAVirtualMachine() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/listGuestConfigurationConnectedVMwarevSphereAssignments.json @@ -214,7 +210,7 @@ public async Task GetAll_ListAllGuestConfigurationAssignmentsForAVirtualMachine( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationVMwarevSphereAssignmentResource.cs b/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationVMwarevSphereAssignmentResource.cs index 377a18600a0ad..d96962e30644c 100644 --- a/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationVMwarevSphereAssignmentResource.cs +++ b/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationVMwarevSphereAssignmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.GuestConfiguration.Models; +using NUnit.Framework; namespace Azure.ResourceManager.GuestConfiguration.Samples { public partial class Sample_GuestConfigurationVMwarevSphereAssignmentResource { - // Create or update guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/createOrUpdateGuestConfigurationConnectedVMwarevSphereAssignment.json @@ -73,9 +73,8 @@ public async Task Update_CreateOrUpdateGuestConfigurationAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/getGuestConfigurationConnectedVMwarevSphereAssignment.json @@ -105,9 +104,8 @@ public async Task Get_GetAGuestConfigurationAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/deleteGuestConfigurationConnectedVMwarevSphereAssignment.json @@ -130,12 +128,11 @@ public async Task Delete_DeleteAnGuestConfigurationAssignment() // invoke the operation await guestConfigurationVMwarevSphereAssignment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List all guest configuration assignments for a virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetGuestConfigurationConnectedVMwarevSphereAssignmentsReports_ListAllGuestConfigurationAssignmentsForAVirtualMachine() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/listAllGuestConfigurationConnectedVMwarevSphereAssignmentsReports.json @@ -161,12 +158,11 @@ public async Task GetGuestConfigurationConnectedVMwarevSphereAssignmentsReports_ Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a guest configuration assignment report by Id for a virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetGuestConfigurationConnectedVMwarevSphereAssignmentsReport_GetAGuestConfigurationAssignmentReportByIdForAVirtualMachine() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/getGuestConfigurationConnectedVMwarevSphereAssignmentReportById.json diff --git a/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationVmAssignmentCollection.cs b/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationVmAssignmentCollection.cs index e0a2b6b9d247b..1b9967138161d 100644 --- a/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationVmAssignmentCollection.cs +++ b/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationVmAssignmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.GuestConfiguration.Models; +using NUnit.Framework; namespace Azure.ResourceManager.GuestConfiguration.Samples { public partial class Sample_GuestConfigurationVmAssignmentCollection { - // Create or update guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/createOrUpdateGuestConfigurationAssignment.json @@ -76,9 +76,8 @@ public async Task CreateOrUpdate_CreateOrUpdateGuestConfigurationAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/getGuestConfigurationAssignment.json @@ -110,9 +109,8 @@ public async Task Get_GetAGuestConfigurationAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/getGuestConfigurationAssignment.json @@ -140,9 +138,8 @@ public async Task Exists_GetAGuestConfigurationAssignment() Console.WriteLine($"Succeeded: {result}"); } - // Get a guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/getGuestConfigurationAssignment.json @@ -170,7 +167,7 @@ public async Task GetIfExists_GetAGuestConfigurationAssignment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -182,9 +179,8 @@ public async Task GetIfExists_GetAGuestConfigurationAssignment() } } - // List all guest configuration assignments for a virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllGuestConfigurationAssignmentsForAVirtualMachine() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/listGuestConfigurationAssignments.json @@ -215,7 +211,7 @@ public async Task GetAll_ListAllGuestConfigurationAssignmentsForAVirtualMachine( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationVmAssignmentResource.cs b/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationVmAssignmentResource.cs index 831ac5342fef6..7edb0a01276ac 100644 --- a/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationVmAssignmentResource.cs +++ b/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationVmAssignmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.GuestConfiguration.Models; +using NUnit.Framework; namespace Azure.ResourceManager.GuestConfiguration.Samples { public partial class Sample_GuestConfigurationVmAssignmentResource { - // Create or update guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/createOrUpdateGuestConfigurationAssignment.json @@ -74,9 +74,8 @@ public async Task Update_CreateOrUpdateGuestConfigurationAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/getGuestConfigurationAssignment.json @@ -106,9 +105,8 @@ public async Task Get_GetAGuestConfigurationAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/deleteGuestConfigurationAssignment.json @@ -131,12 +129,11 @@ public async Task Delete_DeleteAnGuestConfigurationAssignment() // invoke the operation await guestConfigurationVmAssignment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List all guest configuration assignments for a virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReports_ListAllGuestConfigurationAssignmentsForAVirtualMachine() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/listAllGuestConfigurationAssignmentReports.json @@ -162,12 +159,11 @@ public async Task GetReports_ListAllGuestConfigurationAssignmentsForAVirtualMach Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a guest configuration assignment report by Id for a virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReport_GetAGuestConfigurationAssignmentReportByIdForAVirtualMachine() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/getGuestConfigurationAssignmentReportById.json diff --git a/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationVmssAssignmentCollection.cs b/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationVmssAssignmentCollection.cs index 14a0ab252a9a7..cac8528484719 100644 --- a/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationVmssAssignmentCollection.cs +++ b/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationVmssAssignmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.GuestConfiguration.Models; +using NUnit.Framework; namespace Azure.ResourceManager.GuestConfiguration.Samples { public partial class Sample_GuestConfigurationVmssAssignmentCollection { - // Create or update guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/createOrUpdateGuestConfigurationVMSSAssignment.json @@ -76,9 +76,8 @@ public async Task CreateOrUpdate_CreateOrUpdateGuestConfigurationAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a VMSS guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAVMSSGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/getVMSSGuestConfigurationAssignment.json @@ -110,9 +109,8 @@ public async Task Get_GetAVMSSGuestConfigurationAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a VMSS guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAVMSSGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/getVMSSGuestConfigurationAssignment.json @@ -140,9 +138,8 @@ public async Task Exists_GetAVMSSGuestConfigurationAssignment() Console.WriteLine($"Succeeded: {result}"); } - // Get a VMSS guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAVMSSGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/getVMSSGuestConfigurationAssignment.json @@ -170,7 +167,7 @@ public async Task GetIfExists_GetAVMSSGuestConfigurationAssignment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -182,9 +179,8 @@ public async Task GetIfExists_GetAVMSSGuestConfigurationAssignment() } } - // List all guest configuration assignments for VMSS - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllGuestConfigurationAssignmentsForVMSS() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/listVMSSGuestConfigurationAssignments.json @@ -215,7 +211,7 @@ public async Task GetAll_ListAllGuestConfigurationAssignmentsForVMSS() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationVmssAssignmentResource.cs b/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationVmssAssignmentResource.cs index b03706f6e4ee0..d8215497f1d3a 100644 --- a/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationVmssAssignmentResource.cs +++ b/sdk/guestconfiguration/Azure.ResourceManager.GuestConfiguration/samples/Generated/Samples/Sample_GuestConfigurationVmssAssignmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.GuestConfiguration.Models; +using NUnit.Framework; namespace Azure.ResourceManager.GuestConfiguration.Samples { public partial class Sample_GuestConfigurationVmssAssignmentResource { - // Create or update guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/createOrUpdateGuestConfigurationVMSSAssignment.json @@ -74,9 +74,8 @@ public async Task Update_CreateOrUpdateGuestConfigurationAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a VMSS guest configuration assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAVMSSGuestConfigurationAssignment() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/getVMSSGuestConfigurationAssignment.json @@ -106,9 +105,8 @@ public async Task Get_GetAVMSSGuestConfigurationAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an guest configuration assignment for VMSS - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnGuestConfigurationAssignmentForVMSS() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/deleteGuestConfigurationVMSSAssignment.json @@ -139,9 +137,8 @@ public async Task Delete_DeleteAnGuestConfigurationAssignmentForVMSS() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all reports for the VMSS guest configuration assignment with latest report first - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReports_ListAllReportsForTheVMSSGuestConfigurationAssignmentWithLatestReportFirst() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/listAllVMSSGuestConfigurationAssignmentReports.json @@ -167,12 +164,11 @@ public async Task GetReports_ListAllReportsForTheVMSSGuestConfigurationAssignmen Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a guest configuration assignment report by Id for a virtual machine scale set - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReport_GetAGuestConfigurationAssignmentReportByIdForAVirtualMachineScaleSet() { // Generated from example definition: specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/stable/2024-04-05/examples/getVMSSGuestConfigurationAssignmentReportById.json diff --git a/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/Generated/Samples/Sample_CloudHsmClusterCollection.cs b/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/Generated/Samples/Sample_CloudHsmClusterCollection.cs index 91d72ea673c4c..6063de695d547 100644 --- a/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/Generated/Samples/Sample_CloudHsmClusterCollection.cs +++ b/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/Generated/Samples/Sample_CloudHsmClusterCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.HardwareSecurityModules.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HardwareSecurityModules.Samples { public partial class Sample_CloudHsmClusterCollection { - // CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CloudHsmClusterCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/CloudHsmCluster_CreateOrUpdate_MaximumSet_Gen.json @@ -72,9 +72,8 @@ public async Task CreateOrUpdate_CloudHsmClusterCreateOrUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CloudHsmCluster_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CloudHsmClusterGetMaximumSetGen() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json @@ -106,9 +105,8 @@ public async Task Get_CloudHsmClusterGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CloudHsmCluster_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CloudHsmClusterGetMaximumSetGen() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json @@ -136,9 +134,8 @@ public async Task Exists_CloudHsmClusterGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // CloudHsmCluster_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CloudHsmClusterGetMaximumSetGen() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json @@ -166,7 +163,7 @@ public async Task GetIfExists_CloudHsmClusterGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -178,9 +175,8 @@ public async Task GetIfExists_CloudHsmClusterGetMaximumSetGen() } } - // CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CloudHsmClusterListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/CloudHsmCluster_ListByResourceGroup_MaximumSet_Gen.json @@ -211,7 +207,7 @@ public async Task GetAll_CloudHsmClusterListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/Generated/Samples/Sample_CloudHsmClusterPrivateEndpointConnectionCollection.cs b/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/Generated/Samples/Sample_CloudHsmClusterPrivateEndpointConnectionCollection.cs index a262752ed81c4..3804def0b1a84 100644 --- a/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/Generated/Samples/Sample_CloudHsmClusterPrivateEndpointConnectionCollection.cs +++ b/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/Generated/Samples/Sample_CloudHsmClusterPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HardwareSecurityModules.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HardwareSecurityModules.Samples { public partial class Sample_CloudHsmClusterPrivateEndpointConnectionCollection { - // CloudHsmClusterPrivateEndpointConnection_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CloudHsmClusterPrivateEndpointConnectionCreateMaximumSetGen() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/CloudHsmClusterPrivateEndpointConnection_Create_MaximumSet_Gen.json @@ -59,9 +59,8 @@ public async Task CreateOrUpdate_CloudHsmClusterPrivateEndpointConnectionCreateM Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CloudHsmClusterPrivateEndpointConnectionGetMaximumSetGen() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen.json @@ -94,9 +93,8 @@ public async Task Get_CloudHsmClusterPrivateEndpointConnectionGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CloudHsmClusterPrivateEndpointConnectionGetMaximumSetGen() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen.json @@ -125,9 +123,8 @@ public async Task Exists_CloudHsmClusterPrivateEndpointConnectionGetMaximumSetGe Console.WriteLine($"Succeeded: {result}"); } - // CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CloudHsmClusterPrivateEndpointConnectionGetMaximumSetGen() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen.json @@ -156,7 +153,7 @@ public async Task GetIfExists_CloudHsmClusterPrivateEndpointConnectionGetMaximum if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_CloudHsmClusterPrivateEndpointConnectionGetMaximum } } - // CloudHsmClusterPrivateEndpointConnection_ListByResource_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CloudHsmClusterPrivateEndpointConnectionListByResourceMaximumSetGen() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/CloudHsmClusterPrivateEndpointConnection_ListByCloudHsmCluster_MaximumSet_Gen.json @@ -202,7 +198,7 @@ public async Task GetAll_CloudHsmClusterPrivateEndpointConnectionListByResourceM Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/Generated/Samples/Sample_CloudHsmClusterPrivateEndpointConnectionResource.cs b/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/Generated/Samples/Sample_CloudHsmClusterPrivateEndpointConnectionResource.cs index 567a468460246..fcbaaba2f4912 100644 --- a/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/Generated/Samples/Sample_CloudHsmClusterPrivateEndpointConnectionResource.cs +++ b/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/Generated/Samples/Sample_CloudHsmClusterPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HardwareSecurityModules.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HardwareSecurityModules.Samples { public partial class Sample_CloudHsmClusterPrivateEndpointConnectionResource { - // CloudHsmClusterPrivateEndpointConnection_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CloudHsmClusterPrivateEndpointConnectionCreateMaximumSetGen() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/CloudHsmClusterPrivateEndpointConnection_Create_MaximumSet_Gen.json @@ -56,9 +56,8 @@ public async Task Update_CloudHsmClusterPrivateEndpointConnectionCreateMaximumSe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CloudHsmClusterPrivateEndpointConnection_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CloudHsmClusterPrivateEndpointConnectionDeleteMaximumSetGen() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/CloudHsmClusterPrivateEndpointConnection_Delete_MaximumSet_Gen.json @@ -81,12 +80,11 @@ public async Task Delete_CloudHsmClusterPrivateEndpointConnectionDeleteMaximumSe // invoke the operation await cloudHsmClusterPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CloudHsmClusterPrivateEndpointConnectionGetMaximumSetGen() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/CloudHsmClusterPrivateEndpointConnection_Get_MaximumSet_Gen.json diff --git a/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/Generated/Samples/Sample_CloudHsmClusterResource.cs b/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/Generated/Samples/Sample_CloudHsmClusterResource.cs index ae804f1bf4159..0164fc67a9218 100644 --- a/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/Generated/Samples/Sample_CloudHsmClusterResource.cs +++ b/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/Generated/Samples/Sample_CloudHsmClusterResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.HardwareSecurityModules.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HardwareSecurityModules.Samples { public partial class Sample_CloudHsmClusterResource { - // CloudHsmCluster_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CloudHsmClusterUpdateMaximumSetGen() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/CloudHsmCluster_Update_MaximumSet_Gen.json @@ -65,9 +65,8 @@ public async Task Update_CloudHsmClusterUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CloudHsmCluster_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CloudHsmClusterGetMaximumSetGen() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/CloudHsmCluster_Get_MaximumSet_Gen.json @@ -96,9 +95,8 @@ public async Task Get_CloudHsmClusterGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CloudHsmCluster_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CloudHsmClusterDeleteMaximumSetGen() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/CloudHsmCluster_Delete_MaximumSet_Gen.json @@ -120,12 +118,11 @@ public async Task Delete_CloudHsmClusterDeleteMaximumSetGen() // invoke the operation await cloudHsmCluster.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CloudHsmCluster_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCloudHsmClusters_CloudHsmClusterListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/CloudHsmCluster_ListBySubscription_MaximumSet_Gen.json @@ -152,12 +149,11 @@ public async Task GetCloudHsmClusters_CloudHsmClusterListBySubscriptionMaximumSe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CloudHsmCluster_ValidateBackup_Validation_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateBackupProperties_CloudHsmClusterValidateBackupValidationMaximumSetGen() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/CloudHsmCluster_CreateOrValidate_Backup_MaximumSet_Gen.json @@ -183,9 +179,8 @@ public async Task ValidateBackupProperties_CloudHsmClusterValidateBackupValidati Console.WriteLine($"Succeeded: {result}"); } - // CloudHsmCluster_Create_Backup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Backup_CloudHsmClusterCreateBackupMaximumSetGen() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/CloudHsmCluster_CreateOrValidate_Backup_MaximumSet_Gen.json @@ -211,9 +206,8 @@ public async Task Backup_CloudHsmClusterCreateBackupMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // CloudHsmCluster_ValidateRestore_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateRestoreProperties_CloudHsmClusterValidateRestoreMaximumSetGen() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/CloudHsmCluster_RequestOrValidate_Restore_MaximumSet_Gen.json @@ -240,9 +234,8 @@ public async Task ValidateRestoreProperties_CloudHsmClusterValidateRestoreMaximu Console.WriteLine($"Succeeded: {result}"); } - // CloudHsmCluster_Restore_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restore_CloudHsmClusterRestoreMaximumSetGen() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/CloudHsmCluster_RequestOrValidate_Restore_MaximumSet_Gen.json @@ -269,9 +262,8 @@ public async Task Restore_CloudHsmClusterRestoreMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // CloudHsmClusterPrivateLinkResources_ListByResource_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCloudHsmClusterPrivateLinkResources_CloudHsmClusterPrivateLinkResourcesListByResourceMaximumSetGen() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/CloudHsmClusterPrivateLinkResource_ListByCloudHsmCluster_MaximumSet_Gen.json @@ -296,12 +288,11 @@ public async Task GetCloudHsmClusterPrivateLinkResources_CloudHsmClusterPrivateL Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CloudHsmCluster_Get_Backup_Status_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCloudHsmClusterBackupStatus_CloudHsmClusterGetBackupStatusMaximumSetGen() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/CloudHsmCluster_Backup_Pending_MaximumSet_Gen.json @@ -327,9 +318,8 @@ public async Task GetCloudHsmClusterBackupStatus_CloudHsmClusterGetBackupStatusM Console.WriteLine($"Succeeded: {result}"); } - // CloudHsmCluster_Get_Restore_Status_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCloudHsmClusterRestoreStatus_CloudHsmClusterGetRestoreStatusMaximumSetGen() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/CloudHsmCluster_Restore_Pending_MaximumSet_Gen.json diff --git a/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/Generated/Samples/Sample_DedicatedHsmCollection.cs b/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/Generated/Samples/Sample_DedicatedHsmCollection.cs index bd037e523eb70..1ab0acb40c988 100644 --- a/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/Generated/Samples/Sample_DedicatedHsmCollection.cs +++ b/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/Generated/Samples/Sample_DedicatedHsmCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HardwareSecurityModules.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HardwareSecurityModules.Samples { public partial class Sample_DedicatedHsmCollection { - // Create a new or update an existing dedicated HSM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateANewOrUpdateAnExistingDedicatedHSM() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/DedicatedHsm_CreateOrUpdate.json @@ -76,9 +76,8 @@ public async Task CreateOrUpdate_CreateANewOrUpdateAnExistingDedicatedHSM() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a new or update an existing payment HSM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateANewOrUpdateAnExistingPaymentHSM() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/PaymentHsm_CreateOrUpdate.json @@ -136,9 +135,8 @@ public async Task CreateOrUpdate_CreateANewOrUpdateAnExistingPaymentHSM() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a new or update an existing payment HSM with management profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateANewOrUpdateAnExistingPaymentHSMWithManagementProfile() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/PaymentHsm_CreateOrUpdate_WithManagementProfile.json @@ -207,9 +205,8 @@ public async Task CreateOrUpdate_CreateANewOrUpdateAnExistingPaymentHSMWithManag Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a dedicated HSM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADedicatedHSM() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/DedicatedHsm_Get.json @@ -241,9 +238,8 @@ public async Task Get_GetADedicatedHSM() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a dedicated HSM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADedicatedHSM() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/DedicatedHsm_Get.json @@ -271,9 +267,8 @@ public async Task Exists_GetADedicatedHSM() Console.WriteLine($"Succeeded: {result}"); } - // Get a dedicated HSM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADedicatedHSM() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/DedicatedHsm_Get.json @@ -301,7 +296,7 @@ public async Task GetIfExists_GetADedicatedHSM() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -313,9 +308,8 @@ public async Task GetIfExists_GetADedicatedHSM() } } - // Get a payment HSM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPaymentHSM() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/PaymentHsm_Get.json @@ -347,9 +341,8 @@ public async Task Get_GetAPaymentHSM() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a payment HSM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAPaymentHSM() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/PaymentHsm_Get.json @@ -377,9 +370,8 @@ public async Task Exists_GetAPaymentHSM() Console.WriteLine($"Succeeded: {result}"); } - // Get a payment HSM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAPaymentHSM() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/PaymentHsm_Get.json @@ -407,7 +399,7 @@ public async Task GetIfExists_GetAPaymentHSM() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -419,9 +411,8 @@ public async Task GetIfExists_GetAPaymentHSM() } } - // Get a payment HSM with 2018-10-31Preview api version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPaymentHSMWith20181031PreviewApiVersion() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/PaymentHsm_Get_With_2018-10-31Preview_Version.json @@ -453,9 +444,8 @@ public async Task Get_GetAPaymentHSMWith20181031PreviewApiVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a payment HSM with 2018-10-31Preview api version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAPaymentHSMWith20181031PreviewApiVersion() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/PaymentHsm_Get_With_2018-10-31Preview_Version.json @@ -483,9 +473,8 @@ public async Task Exists_GetAPaymentHSMWith20181031PreviewApiVersion() Console.WriteLine($"Succeeded: {result}"); } - // Get a payment HSM with 2018-10-31Preview api version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAPaymentHSMWith20181031PreviewApiVersion() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/PaymentHsm_Get_With_2018-10-31Preview_Version.json @@ -513,7 +502,7 @@ public async Task GetIfExists_GetAPaymentHSMWith20181031PreviewApiVersion() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -525,9 +514,8 @@ public async Task GetIfExists_GetAPaymentHSMWith20181031PreviewApiVersion() } } - // List dedicated HSM devices in a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDedicatedHSMDevicesInAResourceGroup() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/DedicatedHsm_ListByResourceGroup.json @@ -558,12 +546,11 @@ public async Task GetAll_ListDedicatedHSMDevicesInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List dedicated HSM devices in a resource group including payment HSM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDedicatedHSMDevicesInAResourceGroupIncludingPaymentHSM() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/PaymentHsm_ListByResourceGroup.json @@ -594,7 +581,7 @@ public async Task GetAll_ListDedicatedHSMDevicesInAResourceGroupIncludingPayment Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/Generated/Samples/Sample_DedicatedHsmResource.cs b/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/Generated/Samples/Sample_DedicatedHsmResource.cs index 1b48cd70a3d7e..c2ed7a9057b02 100644 --- a/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/Generated/Samples/Sample_DedicatedHsmResource.cs +++ b/sdk/hardwaresecuritymodules/Azure.ResourceManager.HardwareSecurityModules/samples/Generated/Samples/Sample_DedicatedHsmResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HardwareSecurityModules.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HardwareSecurityModules.Samples { public partial class Sample_DedicatedHsmResource { - // Update an existing dedicated HSM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAnExistingDedicatedHSM() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/DedicatedHsm_Update.json @@ -57,9 +57,8 @@ public async Task Update_UpdateAnExistingDedicatedHSM() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update an existing payment HSM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAnExistingPaymentHSM() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/PaymentHsm_Update.json @@ -98,9 +97,8 @@ public async Task Update_UpdateAnExistingPaymentHSM() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a dedicated HSM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteADedicatedHSM() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/DedicatedHsm_Delete.json @@ -122,12 +120,11 @@ public async Task Delete_DeleteADedicatedHSM() // invoke the operation await dedicatedHsm.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a dedicated HSM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADedicatedHSM() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/DedicatedHsm_Get.json @@ -156,9 +153,8 @@ public async Task Get_GetADedicatedHSM() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a payment HSM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPaymentHSM() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/PaymentHsm_Get.json @@ -187,9 +183,8 @@ public async Task Get_GetAPaymentHSM() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a payment HSM with 2018-10-31Preview api version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPaymentHSMWith20181031PreviewApiVersion() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/PaymentHsm_Get_With_2018-10-31Preview_Version.json @@ -218,9 +213,8 @@ public async Task Get_GetAPaymentHSMWith20181031PreviewApiVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List dedicated HSM devices in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDedicatedHsms_ListDedicatedHSMDevicesInASubscription() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/DedicatedHsm_ListBySubscription.json @@ -247,12 +241,11 @@ public async Task GetDedicatedHsms_ListDedicatedHSMDevicesInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List dedicated HSM devices in a subscription including payment HSM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDedicatedHsms_ListDedicatedHSMDevicesInASubscriptionIncludingPaymentHSM() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/PaymentHsm_ListBySubscription.json @@ -279,12 +272,11 @@ public async Task GetDedicatedHsms_ListDedicatedHSMDevicesInASubscriptionIncludi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List OutboundNetworkDependenciesEndpoints by Managed Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOutboundNetworkDependenciesEndpoints_ListOutboundNetworkDependenciesEndpointsByManagedCluster() { // Generated from example definition: specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2024-06-30-preview/examples/GetOutboundNetworkDependenciesEndpointsList.json @@ -309,7 +301,7 @@ public async Task GetOutboundNetworkDependenciesEndpoints_ListOutboundNetworkDep Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightApplicationCollection.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightApplicationCollection.cs index 04634d21c458a..0db171bf8c145 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightApplicationCollection.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightApplicationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HDInsight.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HDInsight.Samples { public partial class Sample_HDInsightApplicationCollection { - // Get All Applications for an HDInsight cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllApplicationsForAnHDInsightCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetAllApplications.json @@ -49,12 +49,11 @@ public async Task GetAll_GetAllApplicationsForAnHDInsightCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get application on HDInsight cluster creation in progress - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetApplicationOnHDInsightClusterCreationInProgress() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetApplicationInProgress.json @@ -87,9 +86,8 @@ public async Task Get_GetApplicationOnHDInsightClusterCreationInProgress() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get application on HDInsight cluster creation in progress - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetApplicationOnHDInsightClusterCreationInProgress() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetApplicationInProgress.json @@ -118,9 +116,8 @@ public async Task Exists_GetApplicationOnHDInsightClusterCreationInProgress() Console.WriteLine($"Succeeded: {result}"); } - // Get application on HDInsight cluster creation in progress - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetApplicationOnHDInsightClusterCreationInProgress() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetApplicationInProgress.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetApplicationOnHDInsightClusterCreationInProgress if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetApplicationOnHDInsightClusterCreationInProgress } } - // Get application on HDInsight cluster successfully created. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetApplicationOnHDInsightClusterSuccessfullyCreated() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetApplicationCreated.json @@ -196,9 +192,8 @@ public async Task Get_GetApplicationOnHDInsightClusterSuccessfullyCreated() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get application on HDInsight cluster successfully created. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetApplicationOnHDInsightClusterSuccessfullyCreated() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetApplicationCreated.json @@ -227,9 +222,8 @@ public async Task Exists_GetApplicationOnHDInsightClusterSuccessfullyCreated() Console.WriteLine($"Succeeded: {result}"); } - // Get application on HDInsight cluster successfully created. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetApplicationOnHDInsightClusterSuccessfullyCreated() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetApplicationCreated.json @@ -258,7 +252,7 @@ public async Task GetIfExists_GetApplicationOnHDInsightClusterSuccessfullyCreate if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -270,9 +264,8 @@ public async Task GetIfExists_GetApplicationOnHDInsightClusterSuccessfullyCreate } } - // Create Application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateApplication() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateApplication.json diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightApplicationResource.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightApplicationResource.cs index 4330c14abe25b..e2f8141cfa648 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightApplicationResource.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightApplicationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HDInsight.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HDInsight.Samples { public partial class Sample_HDInsightApplicationResource { - // Get application on HDInsight cluster creation in progress - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetApplicationOnHDInsightClusterCreationInProgress() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetApplicationInProgress.json @@ -47,9 +47,8 @@ public async Task Get_GetApplicationOnHDInsightClusterCreationInProgress() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get application on HDInsight cluster successfully created. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetApplicationOnHDInsightClusterSuccessfullyCreated() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetApplicationCreated.json @@ -79,9 +78,8 @@ public async Task Get_GetApplicationOnHDInsightClusterSuccessfullyCreated() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateApplication() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateApplication.json @@ -156,9 +154,8 @@ public async Task Update_CreateApplication() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Application from HDInsight cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteApplicationFromHDInsightCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/DeleteApplication.json @@ -181,12 +178,11 @@ public async Task Delete_DeleteApplicationFromHDInsightCluster() // invoke the operation await hdInsightApplication.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the azure async operation status. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAzureAsyncOperationStatus_GetTheAzureAsyncOperationStatus() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetApplicationCreationAsyncOperationStatus.json diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightClusterCollection.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightClusterCollection.cs index 84884fa6070f0..75ec00dbe650d 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightClusterCollection.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightClusterCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.HDInsight.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HDInsight.Samples { public partial class Sample_HDInsightClusterCollection { - // Create HDInsight cluster with Autoscale configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateHDInsightClusterWithAutoscaleConfiguration() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json @@ -170,9 +170,8 @@ public async Task CreateOrUpdate_CreateHDInsightClusterWithAutoscaleConfiguratio Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Hadoop cluster with Azure Data Lake Storage Gen 2 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateHadoopClusterWithAzureDataLakeStorageGen2() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateLinuxHadoopAdlsGen2.json @@ -279,9 +278,8 @@ public async Task CreateOrUpdate_CreateHadoopClusterWithAzureDataLakeStorageGen2 Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Hadoop on Linux cluster with SSH password - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateHadoopOnLinuxClusterWithSSHPassword() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateLinuxHadoopSshPassword.json @@ -388,9 +386,8 @@ public async Task CreateOrUpdate_CreateHadoopOnLinuxClusterWithSSHPassword() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Hadoop on Linux cluster with SSH public key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateHadoopOnLinuxClusterWithSSHPublicKey() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateLinuxHadoopSshPublicKey.json @@ -503,9 +500,8 @@ public async Task CreateOrUpdate_CreateHadoopOnLinuxClusterWithSSHPublicKey() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Kafka cluster with Kafka Rest Proxy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateKafkaClusterWithKafkaRestProxy() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateKafkaClusterWithKafkaRestProxy.json @@ -634,9 +630,8 @@ public async Task CreateOrUpdate_CreateKafkaClusterWithKafkaRestProxy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Secure Hadoop cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSecureHadoopCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateLinuxHadoopSecureHadoop.json @@ -804,9 +799,8 @@ public async Task CreateOrUpdate_CreateSecureHadoopCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Spark on Linux Cluster with SSH password - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSparkOnLinuxClusterWithSSHPassword() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateLinuxSparkSshPassword.json @@ -906,9 +900,8 @@ public async Task CreateOrUpdate_CreateSparkOnLinuxClusterWithSSHPassword() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create cluster with TLS 1.2 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateClusterWithTLS12() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateHDInsightClusterWithTLS12.json @@ -1009,9 +1002,8 @@ public async Task CreateOrUpdate_CreateClusterWithTLS12() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create cluster with availability zones - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateClusterWithAvailabilityZones() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateHDInsightClusterWithAvailabilityZones.json @@ -1168,9 +1160,8 @@ public async Task CreateOrUpdate_CreateClusterWithAvailabilityZones() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create cluster with compute isolation properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateClusterWithComputeIsolationProperties() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateHDInsightClusterWithComputeIsolationProperties.json @@ -1278,9 +1269,8 @@ public async Task CreateOrUpdate_CreateClusterWithComputeIsolationProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create cluster with encryption at host - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateClusterWithEncryptionAtHost() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateHDInsightClusterWithEncryptionAtHost.json @@ -1384,9 +1374,8 @@ public async Task CreateOrUpdate_CreateClusterWithEncryptionAtHost() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create cluster with encryption in transit - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateClusterWithEncryptionInTransit() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateHDInsightClusterWithEncryptionInTransit.json @@ -1487,9 +1476,8 @@ public async Task CreateOrUpdate_CreateClusterWithEncryptionInTransit() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create cluster with network properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateClusterWithNetworkProperties() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateHDInsightClusterWithCustomNetworkProperties.json @@ -1608,9 +1596,8 @@ public async Task CreateOrUpdate_CreateClusterWithNetworkProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Hadoop on Linux cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetHadoopOnLinuxCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxHadoopCluster.json @@ -1642,9 +1629,8 @@ public async Task Get_GetHadoopOnLinuxCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Hadoop on Linux cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetHadoopOnLinuxCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxHadoopCluster.json @@ -1672,9 +1658,8 @@ public async Task Exists_GetHadoopOnLinuxCluster() Console.WriteLine($"Succeeded: {result}"); } - // Get Hadoop on Linux cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetHadoopOnLinuxCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxHadoopCluster.json @@ -1702,7 +1687,7 @@ public async Task GetIfExists_GetHadoopOnLinuxCluster() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1714,9 +1699,8 @@ public async Task GetIfExists_GetHadoopOnLinuxCluster() } } - // Get Spark on Linux cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSparkOnLinuxCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxSparkCluster.json @@ -1748,9 +1732,8 @@ public async Task Get_GetSparkOnLinuxCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Spark on Linux cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSparkOnLinuxCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxSparkCluster.json @@ -1778,9 +1761,8 @@ public async Task Exists_GetSparkOnLinuxCluster() Console.WriteLine($"Succeeded: {result}"); } - // Get Spark on Linux cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSparkOnLinuxCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxSparkCluster.json @@ -1808,7 +1790,7 @@ public async Task GetIfExists_GetSparkOnLinuxCluster() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1820,9 +1802,8 @@ public async Task GetIfExists_GetSparkOnLinuxCluster() } } - // Get All Hadoop on Linux clusters in a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllHadoopOnLinuxClustersInAResourceGroup() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxHadoopAllClustersInResourceGroup.json @@ -1853,7 +1834,7 @@ public async Task GetAll_GetAllHadoopOnLinuxClustersInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightClusterResource.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightClusterResource.cs index 290a85c5e0e4a..099bb81be7bee 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightClusterResource.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightClusterResource.cs @@ -13,14 +13,14 @@ using Azure.ResourceManager.HDInsight.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HDInsight.Samples { public partial class Sample_HDInsightClusterResource { - // Patch HDInsight Linux clusters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchHDInsightLinuxClusters() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/PatchLinuxHadoopCluster.json @@ -57,9 +57,8 @@ public async Task Update_PatchHDInsightLinuxClusters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch HDInsight Linux clusters with system assigned MSI - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchHDInsightLinuxClustersWithSystemAssignedMSI() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/PatchLinuxHadoopClusterWithSystemMSI.json @@ -97,9 +96,8 @@ public async Task Update_PatchHDInsightLinuxClustersWithSystemAssignedMSI() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Hadoop on Linux cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteHadoopOnLinuxCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/DeleteLinuxHadoopCluster.json @@ -121,12 +119,11 @@ public async Task Delete_DeleteHadoopOnLinuxCluster() // invoke the operation await hdInsightCluster.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Hadoop on Linux cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetHadoopOnLinuxCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxHadoopCluster.json @@ -155,9 +152,8 @@ public async Task Get_GetHadoopOnLinuxCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Spark on Linux cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSparkOnLinuxCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxSparkCluster.json @@ -186,9 +182,8 @@ public async Task Get_GetSparkOnLinuxCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Resize the worker nodes for a Hadoop on Linux cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Resize_ResizeTheWorkerNodesForAHadoopOnLinuxCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/ResizeLinuxHadoopCluster.json @@ -215,12 +210,11 @@ public async Task Resize_ResizeTheWorkerNodesForAHadoopOnLinuxCluster() }; await hdInsightCluster.ResizeAsync(WaitUntil.Completed, roleName, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Disable Autoscale for the HDInsight cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateAutoScaleConfiguration_DisableAutoscaleForTheHDInsightCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/DisableClusterAutoScale.json @@ -244,12 +238,11 @@ public async Task UpdateAutoScaleConfiguration_DisableAutoscaleForTheHDInsightCl HDInsightAutoScaleConfigurationUpdateContent content = new HDInsightAutoScaleConfigurationUpdateContent(); await hdInsightCluster.UpdateAutoScaleConfigurationAsync(WaitUntil.Completed, roleName, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Enable or Update Autoscale with the load based configuration for HDInsight cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateAutoScaleConfiguration_EnableOrUpdateAutoscaleWithTheLoadBasedConfigurationForHDInsightCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json @@ -283,12 +276,11 @@ public async Task UpdateAutoScaleConfiguration_EnableOrUpdateAutoscaleWithTheLoa }; await hdInsightCluster.UpdateAutoScaleConfigurationAsync(WaitUntil.Completed, roleName, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Enable or Update Autoscale with the schedule based configuration for HDInsight cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateAutoScaleConfiguration_EnableOrUpdateAutoscaleWithTheScheduleBasedConfigurationForHDInsightCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json @@ -337,12 +329,11 @@ public async Task UpdateAutoScaleConfiguration_EnableOrUpdateAutoscaleWithTheSch }; await hdInsightCluster.UpdateAutoScaleConfigurationAsync(WaitUntil.Completed, roleName, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get All Hadoop on Linux clusters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetHDInsightClusters_GetAllHadoopOnLinuxClusters() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxHadoopAllClusters.json @@ -369,12 +360,11 @@ public async Task GetHDInsightClusters_GetAllHadoopOnLinuxClusters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Rotate disk encryption key of the specified HDInsight cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RotateDiskEncryptionKey_RotateDiskEncryptionKeyOfTheSpecifiedHDInsightCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json @@ -402,12 +392,11 @@ public async Task RotateDiskEncryptionKey_RotateDiskEncryptionKeyOfTheSpecifiedH }; await hdInsightCluster.RotateDiskEncryptionKeyAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get HTTP settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetGatewaySettings_GetHTTPSettings() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/HDI_Clusters_GetGatewaySettings.json @@ -432,9 +421,8 @@ public async Task GetGatewaySettings_GetHTTPSettings() Console.WriteLine($"Succeeded: {result}"); } - // Enable HTTP connectivity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateGatewaySettings_EnableHTTPConnectivity() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json @@ -462,12 +450,11 @@ public async Task UpdateGatewaySettings_EnableHTTPConnectivity() }; await hdInsightCluster.UpdateGatewaySettingsAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Async Operation Status of Creating Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAsyncOperationStatus_GetAsyncOperationStatusOfCreatingCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetClusterCreatingAsyncOperationStatus.json @@ -493,9 +480,8 @@ public async Task GetAsyncOperationStatus_GetAsyncOperationStatusOfCreatingClust Console.WriteLine($"Succeeded: {result}"); } - // Update cluster identity certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateIdentityCertificate_UpdateClusterIdentityCertificate() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json @@ -523,12 +509,11 @@ public async Task UpdateIdentityCertificate_UpdateClusterIdentityCertificate() }; await hdInsightCluster.UpdateIdentityCertificateAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Execute script action on HDInsight cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExecuteScriptActions_ExecuteScriptActionOnHDInsightCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/PostExecuteScriptAction.json @@ -563,12 +548,11 @@ public async Task ExecuteScriptActions_ExecuteScriptActionOnHDInsightCluster() }; await hdInsightCluster.ExecuteScriptActionsAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get all configuration information - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConfiguration_GetAllConfigurationInformation() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/HDI_Configurations_List.json @@ -593,9 +577,8 @@ public async Task GetConfiguration_GetAllConfigurationInformation() Console.WriteLine($"Succeeded: {result}"); } - // Disable HTTP connectivity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateConfiguration_DisableHTTPConnectivity() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/ChangeHttpConnectivityDisable.json @@ -622,12 +605,11 @@ public async Task UpdateConfiguration_DisableHTTPConnectivity() }; await hdInsightCluster.UpdateConfigurationAsync(WaitUntil.Completed, configurationName, clusterConfiguration); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Enable HTTP connectivity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateConfiguration_EnableHTTPConnectivity() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/ChangeHttpConnectivityEnable.json @@ -656,12 +638,11 @@ public async Task UpdateConfiguration_EnableHTTPConnectivity() }; await hdInsightCluster.UpdateConfigurationAsync(WaitUntil.Completed, configurationName, clusterConfiguration); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Core site settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConfiguration_GetCoreSiteSettings() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/HDI_Configurations_Get.json @@ -688,9 +669,8 @@ public async Task GetConfiguration_GetCoreSiteSettings() Console.WriteLine($"Succeeded: {result}"); } - // Enable cluster monitoring - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task EnableClusterMonitoringExtension_EnableClusterMonitoring() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/EnableLinuxClusterMonitoring.json @@ -717,12 +697,11 @@ public async Task EnableClusterMonitoringExtension_EnableClusterMonitoring() }; await hdInsightCluster.EnableClusterMonitoringExtensionAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get cluster monitoring status - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetClusterMonitoringExtensionStatus_GetClusterMonitoringStatus() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxClusterMonitoringStatus.json @@ -747,9 +726,8 @@ public async Task GetClusterMonitoringExtensionStatus_GetClusterMonitoringStatus Console.WriteLine($"Succeeded: {result}"); } - // Disable cluster monitoring - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DisableClusterMonitoringExtension_DisableClusterMonitoring() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/DisableLinuxClusterMonitoring.json @@ -771,12 +749,11 @@ public async Task DisableClusterMonitoringExtension_DisableClusterMonitoring() // invoke the operation await hdInsightCluster.DisableClusterMonitoringExtensionAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Enable azure monitor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task EnableAzureMonitorExtension_EnableAzureMonitor() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/EnableLinuxClusterAzureMonitor.json @@ -803,12 +780,11 @@ public async Task EnableAzureMonitorExtension_EnableAzureMonitor() }; await hdInsightCluster.EnableAzureMonitorExtensionAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get azure monitor status - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAzureMonitorExtensionStatus_GetAzureMonitorStatus() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxClusterAzureMonitorStatus.json @@ -833,9 +809,8 @@ public async Task GetAzureMonitorExtensionStatus_GetAzureMonitorStatus() Console.WriteLine($"Succeeded: {result}"); } - // Disable azure monitor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DisableAzureMonitorExtension_DisableAzureMonitor() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/DisableLinuxClusterAzureMonitor.json @@ -857,12 +832,11 @@ public async Task DisableAzureMonitorExtension_DisableAzureMonitor() // invoke the operation await hdInsightCluster.DisableAzureMonitorExtensionAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Enable azure monitoring agent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task EnableAzureMonitorAgentExtension_EnableAzureMonitoringAgent() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/EnableLinuxClusterAzureMonitorAgent.json @@ -889,12 +863,11 @@ public async Task EnableAzureMonitorAgentExtension_EnableAzureMonitoringAgent() }; await hdInsightCluster.EnableAzureMonitorAgentExtensionAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get azure monitor agent status - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAzureMonitorAgentStatusExtension_GetAzureMonitorAgentStatus() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxClusterAzureMonitorAgentStatus.json @@ -919,9 +892,8 @@ public async Task GetAzureMonitorAgentStatusExtension_GetAzureMonitorAgentStatus Console.WriteLine($"Succeeded: {result}"); } - // Disable azure monitor agent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DisableAzureMonitorAgentExtension_DisableAzureMonitorAgent() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/DisableLinuxClusterAzureMonitorAgent.json @@ -943,12 +915,11 @@ public async Task DisableAzureMonitorAgentExtension_DisableAzureMonitorAgent() // invoke the operation await hdInsightCluster.DisableAzureMonitorAgentExtensionAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create a monitoring extension on Hadoop Linux cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateExtension_CreateAMonitoringExtensionOnHadoopLinuxCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/CreateExtension.json @@ -976,12 +947,11 @@ public async Task CreateExtension_CreateAMonitoringExtensionOnHadoopLinuxCluster }; await hdInsightCluster.CreateExtensionAsync(WaitUntil.Completed, extensionName, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExtension_GetAnExtension() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetExtension.json @@ -1007,9 +977,8 @@ public async Task GetExtension_GetAnExtension() Console.WriteLine($"Succeeded: {result}"); } - // Delete an extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteExtension_DeleteAnExtension() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/DeleteExtension.json @@ -1032,12 +1001,11 @@ public async Task DeleteExtension_DeleteAnExtension() string extensionName = "clustermonitoring"; await hdInsightCluster.DeleteExtensionAsync(WaitUntil.Completed, extensionName); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the azure async operation status. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExtensionAsyncOperationStatus_GetsTheAzureAsyncOperationStatus() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetExtensionCreationAsyncOperationStatus.json @@ -1064,9 +1032,8 @@ public async Task GetExtensionAsyncOperationStatus_GetsTheAzureAsyncOperationSta Console.WriteLine($"Succeeded: {result}"); } - // Delete a script action on HDInsight cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteScriptAction_DeleteAScriptActionOnHDInsightCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/DeleteScriptAction.json @@ -1089,12 +1056,11 @@ public async Task DeleteScriptAction_DeleteAScriptActionOnHDInsightCluster() string scriptName = "scriptName"; await hdInsightCluster.DeleteScriptActionAsync(scriptName); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List all persisted script actions for the given cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetScriptActions_ListAllPersistedScriptActionsForTheGivenCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetLinuxHadoopScriptAction.json @@ -1119,12 +1085,11 @@ public async Task GetScriptActions_ListAllPersistedScriptActionsForTheGivenClust Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get script execution history by script id - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetScriptActionExecutionDetail_GetScriptExecutionHistoryByScriptId() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetScriptActionById.json @@ -1150,9 +1115,8 @@ public async Task GetScriptActionExecutionDetail_GetScriptExecutionHistoryByScri Console.WriteLine($"Succeeded: {result}"); } - // Gets the async execution operation status. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetScriptActionExecutionAsyncOperationStatus_GetsTheAsyncExecutionOperationStatus() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetScriptExecutionAsyncOperationStatus.json @@ -1178,9 +1142,8 @@ public async Task GetScriptActionExecutionAsyncOperationStatus_GetsTheAsyncExecu Console.WriteLine($"Succeeded: {result}"); } - // Get Script Execution History List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetScriptExecutionHistories_GetScriptExecutionHistoryList() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetScriptExecutionHistory.json @@ -1205,12 +1168,11 @@ public async Task GetScriptExecutionHistories_GetScriptExecutionHistoryList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Promote a script action on HDInsight cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PromoteScriptExecutionHistory_PromoteAScriptActionOnHDInsightCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/PromoteLinuxHadoopScriptAction.json @@ -1233,12 +1195,11 @@ public async Task PromoteScriptExecutionHistory_PromoteAScriptActionOnHDInsightC string scriptExecutionId = "391145124054712"; await hdInsightCluster.PromoteScriptExecutionHistoryAsync(scriptExecutionId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get All hosts in the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineHosts_GetAllHostsInTheCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetClusterVirtualMachines.json @@ -1263,12 +1224,11 @@ public async Task GetVirtualMachineHosts_GetAllHostsInTheCluster() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Restarts the specified HDInsight cluster hosts. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RestartVirtualMachineHosts_RestartsTheSpecifiedHDInsightClusterHosts() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/RestartVirtualMachinesOperation.json @@ -1294,12 +1254,11 @@ public async Task RestartVirtualMachineHosts_RestartsTheSpecifiedHDInsightCluste }; await hdInsightCluster.RestartVirtualMachineHostsAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the async operation status of restarting host. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineAsyncOperationStatus_GetsTheAsyncOperationStatusOfRestartingHost() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetRestartHostsAsyncOperationStatus.json diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateEndpointConnectionCollection.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateEndpointConnectionCollection.cs index e61f3b043e129..ddd5ec1e2bb81 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateEndpointConnectionCollection.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HDInsight.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HDInsight.Samples { public partial class Sample_HDInsightPrivateEndpointConnectionCollection { - // Get all private endpoint connections for a specific HDInsight cluster. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllPrivateEndpointConnectionsForASpecificHDInsightCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetAllPrivateEndpointConnectionsInCluster.json @@ -49,12 +49,11 @@ public async Task GetAll_GetAllPrivateEndpointConnectionsForASpecificHDInsightCl Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Approve a private endpoint connection manually. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApproveAPrivateEndpointConnectionManually() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/ApprovePrivateEndpointConnection.json @@ -93,9 +92,8 @@ public async Task CreateOrUpdate_ApproveAPrivateEndpointConnectionManually() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get specific private endpoint connection for a specific HDInsight cluster. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSpecificPrivateEndpointConnectionForASpecificHDInsightCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetPrivateEndpointConnection.json @@ -128,9 +126,8 @@ public async Task Get_GetSpecificPrivateEndpointConnectionForASpecificHDInsightC Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get specific private endpoint connection for a specific HDInsight cluster. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSpecificPrivateEndpointConnectionForASpecificHDInsightCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetPrivateEndpointConnection.json @@ -159,9 +156,8 @@ public async Task Exists_GetSpecificPrivateEndpointConnectionForASpecificHDInsig Console.WriteLine($"Succeeded: {result}"); } - // Get specific private endpoint connection for a specific HDInsight cluster. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSpecificPrivateEndpointConnectionForASpecificHDInsightCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetPrivateEndpointConnection.json @@ -190,7 +186,7 @@ public async Task GetIfExists_GetSpecificPrivateEndpointConnectionForASpecificHD if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateEndpointConnectionResource.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateEndpointConnectionResource.cs index e5faa6554e839..d104932298d3e 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateEndpointConnectionResource.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HDInsight.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HDInsight.Samples { public partial class Sample_HDInsightPrivateEndpointConnectionResource { - // Approve a private endpoint connection manually. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApproveAPrivateEndpointConnectionManually() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/ApprovePrivateEndpointConnection.json @@ -53,9 +53,8 @@ public async Task Update_ApproveAPrivateEndpointConnectionManually() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get specific private endpoint connection for a specific HDInsight cluster. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSpecificPrivateEndpointConnectionForASpecificHDInsightCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetPrivateEndpointConnection.json @@ -85,9 +84,8 @@ public async Task Get_GetSpecificPrivateEndpointConnectionForASpecificHDInsightC Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete specific private endpoint connection for a specific HDInsight cluster. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSpecificPrivateEndpointConnectionForASpecificHDInsightCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/DeletePrivateEndpointConnection.json @@ -110,7 +108,7 @@ public async Task Delete_DeleteSpecificPrivateEndpointConnectionForASpecificHDIn // invoke the operation await hdInsightPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateLinkResource.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateLinkResource.cs index d53e552ed8221..ce573412596b6 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateLinkResource.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.HDInsight.Samples { public partial class Sample_HDInsightPrivateLinkResource { - // Get specific private link resource in a specific HDInsight cluster. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSpecificPrivateLinkResourceInASpecificHDInsightCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetPrivateLinkResource.json diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateLinkResourceCollection.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateLinkResourceCollection.cs index 5722d71c21968..1c215862c86e9 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateLinkResourceCollection.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_HDInsightPrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.HDInsight.Samples { public partial class Sample_HDInsightPrivateLinkResourceCollection { - // Get all private link resources in a specific HDInsight cluster. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllPrivateLinkResourcesInASpecificHDInsightCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetAllPrivateLinkResourcesInCluster.json @@ -48,12 +48,11 @@ public async Task GetAll_GetAllPrivateLinkResourcesInASpecificHDInsightCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get specific private link resource in a specific HDInsight cluster. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSpecificPrivateLinkResourceInASpecificHDInsightCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetPrivateLinkResource.json @@ -86,9 +85,8 @@ public async Task Get_GetSpecificPrivateLinkResourceInASpecificHDInsightCluster( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get specific private link resource in a specific HDInsight cluster. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSpecificPrivateLinkResourceInASpecificHDInsightCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetPrivateLinkResource.json @@ -117,9 +115,8 @@ public async Task Exists_GetSpecificPrivateLinkResourceInASpecificHDInsightClust Console.WriteLine($"Succeeded: {result}"); } - // Get specific private link resource in a specific HDInsight cluster. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSpecificPrivateLinkResourceInASpecificHDInsightCluster() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetPrivateLinkResource.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetSpecificPrivateLinkResourceInASpecificHDInsight if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index a0176c0e671c2..42cde7779595f 100644 --- a/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/hdinsight/Azure.ResourceManager.HDInsight/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.HDInsight.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HDInsight.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Get the subscription capabilities for specific location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetHDInsightCapabilities_GetTheSubscriptionCapabilitiesForSpecificLocation() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetHDInsightCapabilities.json @@ -43,9 +43,8 @@ public async Task GetHDInsightCapabilities_GetTheSubscriptionCapabilitiesForSpec Console.WriteLine($"Succeeded: {result}"); } - // Get the subscription usages for specific location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetHDInsightUsages_GetTheSubscriptionUsagesForSpecificLocation() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/GetHDInsightUsages.json @@ -69,12 +68,11 @@ public async Task GetHDInsightUsages_GetTheSubscriptionUsagesForSpecificLocation Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the subscription billingSpecs for the specified location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetHDInsightBillingSpecs_GetTheSubscriptionBillingSpecsForTheSpecifiedLocation() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/HDI_Locations_ListBillingSpecs.json @@ -98,9 +96,8 @@ public async Task GetHDInsightBillingSpecs_GetTheSubscriptionBillingSpecsForTheS Console.WriteLine($"Succeeded: {result}"); } - // Get the subscription usages for specific location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckHDInsightNameAvailability_GetTheSubscriptionUsagesForSpecificLocation() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/HDI_Locations_CheckClusterNameAvailability.json @@ -129,9 +126,8 @@ public async Task CheckHDInsightNameAvailability_GetTheSubscriptionUsagesForSpec Console.WriteLine($"Succeeded: {result}"); } - // Get the subscription usages for specific location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateHDInsightClusterCreation_GetTheSubscriptionUsagesForSpecificLocation() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2024-08-01-preview/examples/HDI_Locations_ValidateClusterCreateRequest.json diff --git a/sdk/hdinsightcontainers/Azure.ResourceManager.HDInsight.Containers/samples/Generated/Samples/Sample_HDInsightClusterCollection.cs b/sdk/hdinsightcontainers/Azure.ResourceManager.HDInsight.Containers/samples/Generated/Samples/Sample_HDInsightClusterCollection.cs index 2b0c38465ee26..e0063214bd9ac 100644 --- a/sdk/hdinsightcontainers/Azure.ResourceManager.HDInsight.Containers/samples/Generated/Samples/Sample_HDInsightClusterCollection.cs +++ b/sdk/hdinsightcontainers/Azure.ResourceManager.HDInsight.Containers/samples/Generated/Samples/Sample_HDInsightClusterCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HDInsight.Containers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HDInsight.Containers.Samples { public partial class Sample_HDInsightClusterCollection { - // HDInsightClustersListByClusterPoolName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_HDInsightClustersListByClusterPoolName() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClustersByClusterPoolName.json @@ -49,12 +49,11 @@ public async Task GetAll_HDInsightClustersListByClusterPoolName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // HDInsightClusterGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_HDInsightClusterGet() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/GetCluster.json @@ -87,9 +86,8 @@ public async Task Get_HDInsightClusterGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HDInsightClusterGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_HDInsightClusterGet() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/GetCluster.json @@ -118,9 +116,8 @@ public async Task Exists_HDInsightClusterGet() Console.WriteLine($"Succeeded: {result}"); } - // HDInsightClusterGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_HDInsightClusterGet() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/GetCluster.json @@ -149,7 +146,7 @@ public async Task GetIfExists_HDInsightClusterGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_HDInsightClusterGet() } } - // HDInsightClusterPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_HDInsightClusterPut() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateAutoscaleCluster.json @@ -250,9 +246,8 @@ public async Task CreateOrUpdate_HDInsightClusterPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HDInsightRangerClusterPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_HDInsightRangerClusterPut() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateRangerCluster.json @@ -334,9 +329,8 @@ public async Task CreateOrUpdate_HDInsightRangerClusterPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HDInsightSparkClusterPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_HDInsightSparkClusterPut() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateSparkCluster.json @@ -438,9 +432,8 @@ public async Task CreateOrUpdate_HDInsightSparkClusterPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HDInsightSparkClusterPutWithInternalIngress - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_HDInsightSparkClusterPutWithInternalIngress() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateSparkClusterWithInternalIngress.json diff --git a/sdk/hdinsightcontainers/Azure.ResourceManager.HDInsight.Containers/samples/Generated/Samples/Sample_HDInsightClusterPoolCollection.cs b/sdk/hdinsightcontainers/Azure.ResourceManager.HDInsight.Containers/samples/Generated/Samples/Sample_HDInsightClusterPoolCollection.cs index 3d6542e8cf6b1..1cd1ec537d306 100644 --- a/sdk/hdinsightcontainers/Azure.ResourceManager.HDInsight.Containers/samples/Generated/Samples/Sample_HDInsightClusterPoolCollection.cs +++ b/sdk/hdinsightcontainers/Azure.ResourceManager.HDInsight.Containers/samples/Generated/Samples/Sample_HDInsightClusterPoolCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HDInsight.Containers.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HDInsight.Containers.Samples { public partial class Sample_HDInsightClusterPoolCollection { - // ClusterPoolGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ClusterPoolGet() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/GetClusterPool.json @@ -50,9 +50,8 @@ public async Task Get_ClusterPoolGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ClusterPoolGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ClusterPoolGet() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/GetClusterPool.json @@ -80,9 +79,8 @@ public async Task Exists_ClusterPoolGet() Console.WriteLine($"Succeeded: {result}"); } - // ClusterPoolGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ClusterPoolGet() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/GetClusterPool.json @@ -110,7 +108,7 @@ public async Task GetIfExists_ClusterPoolGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_ClusterPoolGet() } } - // ClusterPoolPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ClusterPoolPut() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateClusterPool.json @@ -170,9 +167,8 @@ public async Task CreateOrUpdate_ClusterPoolPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ClusterPoolPutWithPrivateAks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ClusterPoolPutWithPrivateAks() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateClusterPoolWithPrivateAks.json @@ -222,9 +218,8 @@ public async Task CreateOrUpdate_ClusterPoolPutWithPrivateAks() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ClusterPoolPutWithUDRAks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ClusterPoolPutWithUDRAks() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/CreateClusterPoolWithUDRAks.json @@ -274,9 +269,8 @@ public async Task CreateOrUpdate_ClusterPoolPutWithUDRAks() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ClusterPoolsListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ClusterPoolsListByResourceGroup() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterPools.json @@ -307,7 +301,7 @@ public async Task GetAll_ClusterPoolsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hdinsightcontainers/Azure.ResourceManager.HDInsight.Containers/samples/Generated/Samples/Sample_HDInsightClusterPoolResource.cs b/sdk/hdinsightcontainers/Azure.ResourceManager.HDInsight.Containers/samples/Generated/Samples/Sample_HDInsightClusterPoolResource.cs index f92980c326825..01c52a342875a 100644 --- a/sdk/hdinsightcontainers/Azure.ResourceManager.HDInsight.Containers/samples/Generated/Samples/Sample_HDInsightClusterPoolResource.cs +++ b/sdk/hdinsightcontainers/Azure.ResourceManager.HDInsight.Containers/samples/Generated/Samples/Sample_HDInsightClusterPoolResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HDInsight.Containers.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HDInsight.Containers.Samples { public partial class Sample_HDInsightClusterPoolResource { - // ClusterPoolGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ClusterPoolGet() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/GetClusterPool.json @@ -47,9 +47,8 @@ public async Task Get_ClusterPoolGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ClusterPoolsPatchTags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ClusterPoolsPatchTags() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/PatchClusterPool.json @@ -87,9 +86,8 @@ public async Task Update_ClusterPoolsPatchTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ClusterPoolDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ClusterPoolDelete() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/DeleteClusterPool.json @@ -111,12 +109,11 @@ public async Task Delete_ClusterPoolDelete() // invoke the operation await hdInsightClusterPool.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ClusterPoolsListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetHDInsightClusterPools_ClusterPoolsListBySubscription() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterPoolsSubscription.json @@ -143,12 +140,11 @@ public async Task GetHDInsightClusterPools_ClusterPoolsListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ClusterPoolsUpgradeAKSPatchVersion - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Upgrade_ClusterPoolsUpgradeAKSPatchVersion() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/UpgradeAKSPatchVersionForClusterPool.json @@ -183,9 +179,8 @@ public async Task Upgrade_ClusterPoolsUpgradeAKSPatchVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ClusterPoolsUpgradeNodeOs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Upgrade_ClusterPoolsUpgradeNodeOs() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/UpgradeNodeOsForClusterPool.json @@ -216,9 +211,8 @@ public async Task Upgrade_ClusterPoolsUpgradeNodeOs() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetClusterPoolAvailableUpgrade - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetClusterPoolAvailableUpgrades_GetClusterPoolAvailableUpgrade() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterPoolAvailableUpgrades.json @@ -243,12 +237,11 @@ public async Task GetClusterPoolAvailableUpgrades_GetClusterPoolAvailableUpgrade Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ClusterPoolUpgradeHistoriesListResult - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetClusterPoolUpgradeHistories_ClusterPoolUpgradeHistoriesListResult() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterPoolUpgradeHistory.json @@ -273,7 +266,7 @@ public async Task GetClusterPoolUpgradeHistories_ClusterPoolUpgradeHistoriesList Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hdinsightcontainers/Azure.ResourceManager.HDInsight.Containers/samples/Generated/Samples/Sample_HDInsightClusterResource.cs b/sdk/hdinsightcontainers/Azure.ResourceManager.HDInsight.Containers/samples/Generated/Samples/Sample_HDInsightClusterResource.cs index ca694f34161bb..595aa8f5ddc1c 100644 --- a/sdk/hdinsightcontainers/Azure.ResourceManager.HDInsight.Containers/samples/Generated/Samples/Sample_HDInsightClusterResource.cs +++ b/sdk/hdinsightcontainers/Azure.ResourceManager.HDInsight.Containers/samples/Generated/Samples/Sample_HDInsightClusterResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HDInsight.Containers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HDInsight.Containers.Samples { public partial class Sample_HDInsightClusterResource { - // ClustersUpgradeAKSPatchVersion - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Upgrade_ClustersUpgradeAKSPatchVersion() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/UpgradeAKSPatchVersionForCluster.json @@ -49,9 +49,8 @@ public async Task Upgrade_ClustersUpgradeAKSPatchVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ClustersUpgradeHotfix - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Upgrade_ClustersUpgradeHotfix() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/UpgradeHotfixForCluster.json @@ -89,9 +88,8 @@ public async Task Upgrade_ClustersUpgradeHotfix() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ClusterUpgradeRollback - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpgradeManualRollback_ClusterUpgradeRollback() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ClusterUpgradeRollback.json @@ -123,9 +121,8 @@ public async Task UpgradeManualRollback_ClusterUpgradeRollback() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HDInsightClusterResize - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Resize_HDInsightClusterResize() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ResizeCluster.json @@ -160,9 +157,8 @@ public async Task Resize_HDInsightClusterResize() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HDInsightClusterGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_HDInsightClusterGet() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/GetCluster.json @@ -192,9 +188,8 @@ public async Task Get_HDInsightClusterGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HDInsightClustersPatchTags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_HDInsightClustersPatchTags() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/PatchCluster.json @@ -313,9 +308,8 @@ public async Task Update_HDInsightClustersPatchTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HDInsightRangerClusterPatchTags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_HDInsightRangerClusterPatchTags() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/PatchRangerCluster.json @@ -375,9 +369,8 @@ public async Task Update_HDInsightRangerClusterPatchTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HDInsightClustersDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_HDInsightClustersDelete() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/DeleteCluster.json @@ -400,12 +393,11 @@ public async Task Delete_HDInsightClustersDelete() // invoke the operation await hdInsightCluster.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // HDInsightClusterGetServiceConfigs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetServiceConfigs_HDInsightClusterGetServiceConfigs() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterServiceConfigs.json @@ -431,12 +423,11 @@ public async Task GetServiceConfigs_HDInsightClusterGetServiceConfigs() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // HDInsightClusterGetInstanceViews - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetInstanceViews_HDInsightClusterGetInstanceViews() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterInstanceViews.json @@ -462,12 +453,11 @@ public async Task GetInstanceViews_HDInsightClusterGetInstanceViews() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // HDInsightClusterGetInstanceView - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetInstanceView_HDInsightClusterGetInstanceView() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/GetClusterInstanceView.json @@ -493,9 +483,8 @@ public async Task GetInstanceView_HDInsightClusterGetInstanceView() Console.WriteLine($"Succeeded: {result}"); } - // GetClusterAvailableUpgrade - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetClusterAvailableUpgrades_GetClusterAvailableUpgrade() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterAvailableUpgrades.json @@ -521,12 +510,11 @@ public async Task GetClusterAvailableUpgrades_GetClusterAvailableUpgrade() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ClusterUpgradeHistoriesListResult - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetClusterUpgradeHistories_ClusterUpgradeHistoriesListResult() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterUpgradeHistory.json @@ -552,12 +540,11 @@ public async Task GetClusterUpgradeHistories_ClusterUpgradeHistoriesListResult() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RunClusterJob - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RunJobClusterJob_RunClusterJob() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/RunClusterJob.json @@ -597,9 +584,8 @@ public async Task RunJobClusterJob_RunClusterJob() Console.WriteLine($"Succeeded: {result}"); } - // ListClusterJobs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetClusterJobs_ListClusterJobs() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListClusterJobs.json @@ -625,12 +611,11 @@ public async Task GetClusterJobs_ListClusterJobs() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListPredefinedClusterLibraries - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetClusterLibraries_ListPredefinedClusterLibraries() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListPredefinedClusterLibraries.json @@ -657,12 +642,11 @@ public async Task GetClusterLibraries_ListPredefinedClusterLibraries() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListUserCustomClusterLibraries - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetClusterLibraries_ListUserCustomClusterLibraries() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListUserCustomClusterLibraries.json @@ -689,12 +673,11 @@ public async Task GetClusterLibraries_ListUserCustomClusterLibraries() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // InstallNewClusterLibraries - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ManageLibrariesClusterLibrary_InstallNewClusterLibraries() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/InstallNewClusterLibraries.json @@ -729,12 +712,11 @@ public async Task ManageLibrariesClusterLibrary_InstallNewClusterLibraries() })); await hdInsightCluster.ManageLibrariesClusterLibraryAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // UninstallExistingClusterLibraries - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ManageLibrariesClusterLibrary_UninstallExistingClusterLibraries() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/UninstallExistingClusterLibraries.json @@ -761,7 +743,7 @@ public async Task ManageLibrariesClusterLibrary_UninstallExistingClusterLibrarie })); await hdInsightCluster.ManageLibrariesClusterLibraryAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/hdinsightcontainers/Azure.ResourceManager.HDInsight.Containers/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/hdinsightcontainers/Azure.ResourceManager.HDInsight.Containers/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 7ea54bd335dbd..233d41f9c18ee 100644 --- a/sdk/hdinsightcontainers/Azure.ResourceManager.HDInsight.Containers/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/hdinsightcontainers/Azure.ResourceManager.HDInsight.Containers/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HDInsight.Containers.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HDInsight.Containers.Samples { public partial class Sample_SubscriptionResourceExtensions { - // LocationsNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckHDInsightNameAvailability_LocationsNameAvailability() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/LocationsNameAvailability.json @@ -47,9 +47,8 @@ public async Task CheckHDInsightNameAvailability_LocationsNameAvailability() Console.WriteLine($"Succeeded: {result}"); } - // ClusterPoolVersionListResult - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableClusterPoolVersionsByLocation_ClusterPoolVersionListResult() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListAvailableClusterPoolVersions.json @@ -73,12 +72,11 @@ public async Task GetAvailableClusterPoolVersionsByLocation_ClusterPoolVersionLi Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ClusterVersionListResult - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableClusterVersionsByLocation_ClusterVersionListResult() { // Generated from example definition: specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2024-05-01-preview/examples/ListAvailableClusterVersions.json @@ -102,7 +100,7 @@ public async Task GetAvailableClusterVersionsByLocation_ClusterVersionListResult Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/healthbot/Azure.ResourceManager.HealthBot/samples/Generated/Samples/Sample_HealthBotCollection.cs b/sdk/healthbot/Azure.ResourceManager.HealthBot/samples/Generated/Samples/Sample_HealthBotCollection.cs index d41235435d2c0..8892b64c84989 100644 --- a/sdk/healthbot/Azure.ResourceManager.HealthBot/samples/Generated/Samples/Sample_HealthBotCollection.cs +++ b/sdk/healthbot/Azure.ResourceManager.HealthBot/samples/Generated/Samples/Sample_HealthBotCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.HealthBot.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HealthBot.Samples { public partial class Sample_HealthBotCollection { - // BotCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_BotCreate() { // Generated from example definition: specification/healthbot/resource-manager/Microsoft.HealthBot/stable/2021-08-24/examples/ResourceCreationPut.json @@ -63,9 +63,8 @@ public async Task CreateOrUpdate_BotCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ResourceInfoGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ResourceInfoGet() { // Generated from example definition: specification/healthbot/resource-manager/Microsoft.HealthBot/stable/2021-08-24/examples/ResourceInfoGet.json @@ -97,9 +96,8 @@ public async Task Get_ResourceInfoGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ResourceInfoGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ResourceInfoGet() { // Generated from example definition: specification/healthbot/resource-manager/Microsoft.HealthBot/stable/2021-08-24/examples/ResourceInfoGet.json @@ -127,9 +125,8 @@ public async Task Exists_ResourceInfoGet() Console.WriteLine($"Succeeded: {result}"); } - // ResourceInfoGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ResourceInfoGet() { // Generated from example definition: specification/healthbot/resource-manager/Microsoft.HealthBot/stable/2021-08-24/examples/ResourceInfoGet.json @@ -157,7 +154,7 @@ public async Task GetIfExists_ResourceInfoGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_ResourceInfoGet() } } - // List Bots by Resource Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListBotsByResourceGroup() { // Generated from example definition: specification/healthbot/resource-manager/Microsoft.HealthBot/stable/2021-08-24/examples/ListBotsByResourceGroup.json @@ -202,7 +198,7 @@ public async Task GetAll_ListBotsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/healthbot/Azure.ResourceManager.HealthBot/samples/Generated/Samples/Sample_HealthBotResource.cs b/sdk/healthbot/Azure.ResourceManager.HealthBot/samples/Generated/Samples/Sample_HealthBotResource.cs index e727bf5c87428..760ef53ac75f9 100644 --- a/sdk/healthbot/Azure.ResourceManager.HealthBot/samples/Generated/Samples/Sample_HealthBotResource.cs +++ b/sdk/healthbot/Azure.ResourceManager.HealthBot/samples/Generated/Samples/Sample_HealthBotResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HealthBot.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HealthBot.Samples { public partial class Sample_HealthBotResource { - // ResourceInfoGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ResourceInfoGet() { // Generated from example definition: specification/healthbot/resource-manager/Microsoft.HealthBot/stable/2021-08-24/examples/ResourceInfoGet.json @@ -47,9 +47,8 @@ public async Task Get_ResourceInfoGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BotUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_BotUpdate() { // Generated from example definition: specification/healthbot/resource-manager/Microsoft.HealthBot/stable/2021-08-24/examples/ResourceUpdatePatch.json @@ -82,9 +81,8 @@ public async Task Update_BotUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BotDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_BotDelete() { // Generated from example definition: specification/healthbot/resource-manager/Microsoft.HealthBot/stable/2021-08-24/examples/ResourceDeletionDelete.json @@ -106,12 +104,11 @@ public async Task Delete_BotDelete() // invoke the operation await healthBot.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Bots by Subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetHealthBots_ListBotsBySubscription() { // Generated from example definition: specification/healthbot/resource-manager/Microsoft.HealthBot/stable/2021-08-24/examples/ListBotsBySubscription.json @@ -138,7 +135,7 @@ public async Task GetHealthBots_ListBotsBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_DicomServiceCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_DicomServiceCollection.cs index 4fe2a41194b11..16831a59a20dc 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_DicomServiceCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_DicomServiceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HealthcareApis.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HealthcareApis.Samples { public partial class Sample_DicomServiceCollection { - // List dicomservices - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDicomservices() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/dicomservices/DicomServices_List.json @@ -49,12 +49,11 @@ public async Task GetAll_ListDicomservices() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a dicomservice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADicomservice() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/dicomservices/DicomServices_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetADicomservice() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a dicomservice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADicomservice() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/dicomservices/DicomServices_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetADicomservice() Console.WriteLine($"Succeeded: {result}"); } - // Get a dicomservice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADicomservice() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/dicomservices/DicomServices_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetADicomservice() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetADicomservice() } } - // Create or update a Dicom Service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateADicomService() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/dicomservices/DicomServices_Create.json diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_DicomServiceResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_DicomServiceResource.cs index 4bb47f58f9c0a..95067a48bea27 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_DicomServiceResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_DicomServiceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HealthcareApis.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HealthcareApis.Samples { public partial class Sample_DicomServiceResource { - // Get a dicomservice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADicomservice() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/dicomservices/DicomServices_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetADicomservice() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a dicomservice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateADicomservice() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/dicomservices/DicomServices_Patch.json @@ -87,9 +86,8 @@ public async Task Update_UpdateADicomservice() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a dicomservice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteADicomservice() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/dicomservices/DicomServices_Delete.json @@ -112,7 +110,7 @@ public async Task Delete_DeleteADicomservice() // invoke the operation await dicomService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_FhirServiceCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_FhirServiceCollection.cs index 7c1a16ed0e4fc..f6ef704f4d717 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_FhirServiceCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_FhirServiceCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HealthcareApis.Models; using Azure.ResourceManager.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HealthcareApis.Samples { public partial class Sample_FhirServiceCollection { - // List fhirservices - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListFhirservices() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_List.json @@ -50,12 +50,11 @@ public async Task GetAll_ListFhirservices() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a Fhir Service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAFhirService() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_Get.json @@ -88,9 +87,8 @@ public async Task Get_GetAFhirService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Fhir Service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAFhirService() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_Get.json @@ -119,9 +117,8 @@ public async Task Exists_GetAFhirService() Console.WriteLine($"Succeeded: {result}"); } - // Get a Fhir Service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAFhirService() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_Get.json @@ -150,7 +147,7 @@ public async Task GetIfExists_GetAFhirService() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_GetAFhirService() } } - // Create or update a Fhir Service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAFhirService() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_Create.json diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_FhirServiceResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_FhirServiceResource.cs index 4eae56ebc2f13..65cb4c2e422bd 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_FhirServiceResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_FhirServiceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HealthcareApis.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HealthcareApis.Samples { public partial class Sample_FhirServiceResource { - // Get a Fhir Service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAFhirService() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetAFhirService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a Fhir Service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAFhirService() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_Patch.json @@ -87,9 +86,8 @@ public async Task Update_UpdateAFhirService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a Fhir Service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAFhirService() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/fhirservices/FhirServices_Delete.json @@ -112,7 +110,7 @@ public async Task Delete_DeleteAFhirService() // invoke the operation await fhirService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotConnectorCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotConnectorCollection.cs index 71e013c1a3cef..fb1d874eb4584 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotConnectorCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotConnectorCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.HealthcareApis.Models; using Azure.ResourceManager.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HealthcareApis.Samples { public partial class Sample_HealthcareApisIotConnectorCollection { - // List iotconnectors - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListIotconnectors() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_List.json @@ -51,12 +51,11 @@ public async Task GetAll_ListIotconnectors() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an IoT Connector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnIoTConnector() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_Get.json @@ -89,9 +88,8 @@ public async Task Get_GetAnIoTConnector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an IoT Connector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnIoTConnector() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_Get.json @@ -120,9 +118,8 @@ public async Task Exists_GetAnIoTConnector() Console.WriteLine($"Succeeded: {result}"); } - // Get an IoT Connector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnIoTConnector() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_Get.json @@ -151,7 +148,7 @@ public async Task GetIfExists_GetAnIoTConnector() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -163,9 +160,8 @@ public async Task GetIfExists_GetAnIoTConnector() } } - // Create an IoT Connector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnIoTConnector() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_Create.json diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotConnectorResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotConnectorResource.cs index eeb730593e660..6b9285a735c3f 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotConnectorResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotConnectorResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HealthcareApis.Models; using Azure.ResourceManager.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HealthcareApis.Samples { public partial class Sample_HealthcareApisIotConnectorResource { - // Get an IoT Connector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnIoTConnector() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_Get.json @@ -48,9 +48,8 @@ public async Task Get_GetAnIoTConnector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch an IoT Connector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchAnIoTConnector() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_Patch.json @@ -91,9 +90,8 @@ public async Task Update_PatchAnIoTConnector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an IoT Connector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnIoTConnector() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_Delete.json @@ -116,7 +114,7 @@ public async Task Delete_DeleteAnIoTConnector() // invoke the operation await healthcareApisIotConnector.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotFhirDestinationCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotFhirDestinationCollection.cs index 96b8e4051ccd9..4707493ebd0f0 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotFhirDestinationCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotFhirDestinationCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HealthcareApis.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HealthcareApis.Samples { public partial class Sample_HealthcareApisIotFhirDestinationCollection { - // List IoT Connectors - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListIoTConnectors() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_fhirdestination_List.json @@ -51,12 +51,11 @@ public async Task GetAll_ListIoTConnectors() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an IoT Connector destination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnIoTConnectorDestination() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_fhirdestination_Get.json @@ -90,9 +89,8 @@ public async Task Get_GetAnIoTConnectorDestination() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an IoT Connector destination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnIoTConnectorDestination() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_fhirdestination_Get.json @@ -122,9 +120,8 @@ public async Task Exists_GetAnIoTConnectorDestination() Console.WriteLine($"Succeeded: {result}"); } - // Get an IoT Connector destination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnIoTConnectorDestination() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_fhirdestination_Get.json @@ -154,7 +151,7 @@ public async Task GetIfExists_GetAnIoTConnectorDestination() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -166,9 +163,8 @@ public async Task GetIfExists_GetAnIoTConnectorDestination() } } - // Create or update an Iot Connector FHIR destination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnIotConnectorFHIRDestination() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_fhirdestination_Create.json diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotFhirDestinationResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotFhirDestinationResource.cs index e18b49ccd3740..5eb06879593b4 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotFhirDestinationResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisIotFhirDestinationResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HealthcareApis.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HealthcareApis.Samples { public partial class Sample_HealthcareApisIotFhirDestinationResource { - // Get an IoT Connector destination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnIoTConnectorDestination() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_fhirdestination_Get.json @@ -49,9 +49,8 @@ public async Task Get_GetAnIoTConnectorDestination() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update an Iot Connector FHIR destination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAnIotConnectorFHIRDestination() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_fhirdestination_Create.json @@ -111,9 +110,8 @@ public async Task Update_CreateOrUpdateAnIotConnectorFHIRDestination() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an IoT Connector destination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnIoTConnectorDestination() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/iotconnectors/iotconnector_fhirdestination_Delete.json @@ -137,7 +135,7 @@ public async Task Delete_DeleteAnIoTConnectorDestination() // invoke the operation await healthcareApisIotFhirDestination.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServiceCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServiceCollection.cs index b93df6472527d..ca3dbbb0aa59e 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServiceCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServiceCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.HealthcareApis.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HealthcareApis.Samples { public partial class Sample_HealthcareApisServiceCollection { - // Get metadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMetadata() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGet.json @@ -51,9 +51,8 @@ public async Task Get_GetMetadata() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get metadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetMetadata() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetMetadata() Console.WriteLine($"Succeeded: {result}"); } - // Get metadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetMetadata() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetMetadata() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetMetadata() } } - // Get metadata for CMK enabled service in data sovereign region - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMetadataForCMKEnabledServiceInDataSovereignRegion() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGetInDataSovereignRegionWithCmkEnabled.json @@ -157,9 +154,8 @@ public async Task Get_GetMetadataForCMKEnabledServiceInDataSovereignRegion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get metadata for CMK enabled service in data sovereign region - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetMetadataForCMKEnabledServiceInDataSovereignRegion() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGetInDataSovereignRegionWithCmkEnabled.json @@ -187,9 +183,8 @@ public async Task Exists_GetMetadataForCMKEnabledServiceInDataSovereignRegion() Console.WriteLine($"Succeeded: {result}"); } - // Get metadata for CMK enabled service in data sovereign region - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetMetadataForCMKEnabledServiceInDataSovereignRegion() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGetInDataSovereignRegionWithCmkEnabled.json @@ -217,7 +212,7 @@ public async Task GetIfExists_GetMetadataForCMKEnabledServiceInDataSovereignRegi if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -229,9 +224,8 @@ public async Task GetIfExists_GetMetadataForCMKEnabledServiceInDataSovereignRegi } } - // Create or Update a service with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAServiceWithAllParameters() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceCreate.json @@ -311,9 +305,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAServiceWithAllParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update a service with all parameters and CMK enabled in a data sovereign region - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAServiceWithAllParametersAndCMKEnabledInADataSovereignRegion() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceCreateInDataSovereignRegionWithCmkEnabled.json @@ -394,9 +387,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAServiceWithAllParametersAndCMKEn Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update a service with minimum parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAServiceWithMinimumParameters() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceCreateMinimum.json @@ -442,9 +434,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAServiceWithMinimumParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all services in resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllServicesInResourceGroup() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceListByResourceGroup.json @@ -475,7 +466,7 @@ public async Task GetAll_ListAllServicesInResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateEndpointConnectionCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateEndpointConnectionCollection.cs index 03f8cba9c8a7d..dac663cb2ae56 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateEndpointConnectionCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HealthcareApis.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HealthcareApis.Samples { public partial class Sample_HealthcareApisServicePrivateEndpointConnectionCollection { - // PrivateEndpointConnection_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndpointConnectionList() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceListPrivateEndpointConnections.json @@ -49,12 +49,11 @@ public async Task GetAll_PrivateEndpointConnectionList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateEndpointConnection_GetConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionGetConnection() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGetPrivateEndpointConnection.json @@ -87,9 +86,8 @@ public async Task Get_PrivateEndpointConnectionGetConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnection_GetConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateEndpointConnectionGetConnection() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGetPrivateEndpointConnection.json @@ -118,9 +116,8 @@ public async Task Exists_PrivateEndpointConnectionGetConnection() Console.WriteLine($"Succeeded: {result}"); } - // PrivateEndpointConnection_GetConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateEndpointConnectionGetConnection() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGetPrivateEndpointConnection.json @@ -149,7 +146,7 @@ public async Task GetIfExists_PrivateEndpointConnectionGetConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_PrivateEndpointConnectionGetConnection() } } - // PrivateEndpointConnection_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateEndpointConnectionCreateOrUpdate() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceCreatePrivateEndpointConnection.json diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateEndpointConnectionResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateEndpointConnectionResource.cs index eaa6bc08ca4a2..17c8ae9b9347d 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateEndpointConnectionResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HealthcareApis.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HealthcareApis.Samples { public partial class Sample_HealthcareApisServicePrivateEndpointConnectionResource { - // PrivateEndpointConnection_GetConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionGetConnection() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGetPrivateEndpointConnection.json @@ -47,9 +47,8 @@ public async Task Get_PrivateEndpointConnectionGetConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnection_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateEndpointConnectionCreateOrUpdate() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceCreatePrivateEndpointConnection.json @@ -88,9 +87,8 @@ public async Task Update_PrivateEndpointConnectionCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateEndpointConnectionsDelete() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceDeletePrivateEndpointConnection.json @@ -113,7 +111,7 @@ public async Task Delete_PrivateEndpointConnectionsDelete() // invoke the operation await healthcareApisServicePrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateLinkResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateLinkResource.cs index 3351834eaa11e..0dc3e4dbf900f 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateLinkResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.HealthcareApis.Samples { public partial class Sample_HealthcareApisServicePrivateLinkResource { - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkResourcesGet() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/PrivateLinkResourceGet.json diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateLinkResourceCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateLinkResourceCollection.cs index 17aa061cc4b05..8fd104a367ee8 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateLinkResourceCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServicePrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.HealthcareApis.Samples { public partial class Sample_HealthcareApisServicePrivateLinkResourceCollection { - // PrivateLinkResources_ListGroupIds - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateLinkResourcesListGroupIds() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/PrivateLinkResourcesListByService.json @@ -48,12 +48,11 @@ public async Task GetAll_PrivateLinkResourcesListGroupIds() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkResourcesGet() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/PrivateLinkResourceGet.json @@ -86,9 +85,8 @@ public async Task Get_PrivateLinkResourcesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateLinkResourcesGet() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/PrivateLinkResourceGet.json @@ -117,9 +115,8 @@ public async Task Exists_PrivateLinkResourcesGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateLinkResourcesGet() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/PrivateLinkResourceGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_PrivateLinkResourcesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServiceResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServiceResource.cs index cd86000dfab35..120e76898ab06 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServiceResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisServiceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HealthcareApis.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HealthcareApis.Samples { public partial class Sample_HealthcareApisServiceResource { - // Get metadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMetadata() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGet.json @@ -47,9 +47,8 @@ public async Task Get_GetMetadata() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get metadata for CMK enabled service in data sovereign region - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMetadataForCMKEnabledServiceInDataSovereignRegion() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceGetInDataSovereignRegionWithCmkEnabled.json @@ -78,9 +77,8 @@ public async Task Get_GetMetadataForCMKEnabledServiceInDataSovereignRegion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchService() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServicePatch.json @@ -118,9 +116,8 @@ public async Task Update_PatchService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteService() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceDelete.json @@ -142,12 +139,11 @@ public async Task Delete_DeleteService() // invoke the operation await healthcareApisService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List all services in subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetHealthcareApisServices_ListAllServicesInSubscription() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/legacy/ServiceList.json @@ -174,12 +170,11 @@ public async Task GetHealthcareApisServices_ListAllServicesInSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Check name availability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckHealthcareApisNameAvailability_CheckNameAvailability() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/CheckNameAvailabilityPost.json diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspaceCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspaceCollection.cs index b66a30ac475fe..c32423630729a 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspaceCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspaceCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HealthcareApis.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HealthcareApis.Samples { public partial class Sample_HealthcareApisWorkspaceCollection { - // Get workspaces by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetWorkspacesByResourceGroup() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/workspaces/Workspaces_ListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_GetWorkspacesByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspace() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/workspaces/Workspaces_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWorkspace() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/workspaces/Workspaces_Get.json @@ -116,9 +114,8 @@ public async Task Exists_GetWorkspace() Console.WriteLine($"Succeeded: {result}"); } - // Get workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWorkspace() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/workspaces/Workspaces_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetWorkspace() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetWorkspace() } } - // Create or update a workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAWorkspace() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/workspaces/Workspaces_Create.json diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateEndpointConnectionCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateEndpointConnectionCollection.cs index 23af97ed0c593..09418cf302cdf 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateEndpointConnectionCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HealthcareApis.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HealthcareApis.Samples { public partial class Sample_HealthcareApisWorkspacePrivateEndpointConnectionCollection { - // WorkspacePrivateEndpointConnection_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WorkspacePrivateEndpointConnectionList() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/WorkspaceListPrivateEndpointConnections.json @@ -49,12 +49,11 @@ public async Task GetAll_WorkspacePrivateEndpointConnectionList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkspacePrivateEndpointConnection_GetConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkspacePrivateEndpointConnectionGetConnection() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/WorkspaceGetPrivateEndpointConnection.json @@ -87,9 +86,8 @@ public async Task Get_WorkspacePrivateEndpointConnectionGetConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkspacePrivateEndpointConnection_GetConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WorkspacePrivateEndpointConnectionGetConnection() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/WorkspaceGetPrivateEndpointConnection.json @@ -118,9 +116,8 @@ public async Task Exists_WorkspacePrivateEndpointConnectionGetConnection() Console.WriteLine($"Succeeded: {result}"); } - // WorkspacePrivateEndpointConnection_GetConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WorkspacePrivateEndpointConnectionGetConnection() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/WorkspaceGetPrivateEndpointConnection.json @@ -149,7 +146,7 @@ public async Task GetIfExists_WorkspacePrivateEndpointConnectionGetConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_WorkspacePrivateEndpointConnectionGetConnection() } } - // WorkspacePrivateEndpointConnection_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_WorkspacePrivateEndpointConnectionCreateOrUpdate() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/WorkspaceCreatePrivateEndpointConnection.json diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateEndpointConnectionResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateEndpointConnectionResource.cs index 09494883983a6..c1aeb4c8fd19a 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateEndpointConnectionResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.HealthcareApis.Models; +using NUnit.Framework; namespace Azure.ResourceManager.HealthcareApis.Samples { public partial class Sample_HealthcareApisWorkspacePrivateEndpointConnectionResource { - // WorkspacePrivateEndpointConnection_GetConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkspacePrivateEndpointConnectionGetConnection() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/WorkspaceGetPrivateEndpointConnection.json @@ -47,9 +47,8 @@ public async Task Get_WorkspacePrivateEndpointConnectionGetConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkspacePrivateEndpointConnection_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_WorkspacePrivateEndpointConnectionCreateOrUpdate() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/WorkspaceCreatePrivateEndpointConnection.json @@ -88,9 +87,8 @@ public async Task Update_WorkspacePrivateEndpointConnectionCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkspacePrivateEndpointConnections_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_WorkspacePrivateEndpointConnectionsDelete() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/WorkspaceDeletePrivateEndpointConnection.json @@ -113,7 +111,7 @@ public async Task Delete_WorkspacePrivateEndpointConnectionsDelete() // invoke the operation await healthcareApisWorkspacePrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateLinkResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateLinkResource.cs index c52a1e5c61899..289169d8f7178 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateLinkResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.HealthcareApis.Samples { public partial class Sample_HealthcareApisWorkspacePrivateLinkResource { - // WorkspacePrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkspacePrivateLinkResourcesGet() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/WorkspacePrivateLinkResourceGet.json diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateLinkResourceCollection.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateLinkResourceCollection.cs index dfc584b449cdf..a67fc5a459769 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateLinkResourceCollection.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspacePrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.HealthcareApis.Samples { public partial class Sample_HealthcareApisWorkspacePrivateLinkResourceCollection { - // WorkspacePrivateLinkResources_ListGroupIds - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WorkspacePrivateLinkResourcesListGroupIds() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/PrivateLinkResourcesListByWorkspace.json @@ -48,12 +48,11 @@ public async Task GetAll_WorkspacePrivateLinkResourcesListGroupIds() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkspacePrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkspacePrivateLinkResourcesGet() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/WorkspacePrivateLinkResourceGet.json @@ -86,9 +85,8 @@ public async Task Get_WorkspacePrivateLinkResourcesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkspacePrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WorkspacePrivateLinkResourcesGet() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/WorkspacePrivateLinkResourceGet.json @@ -117,9 +115,8 @@ public async Task Exists_WorkspacePrivateLinkResourcesGet() Console.WriteLine($"Succeeded: {result}"); } - // WorkspacePrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WorkspacePrivateLinkResourcesGet() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/privatelink/WorkspacePrivateLinkResourceGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_WorkspacePrivateLinkResourcesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspaceResource.cs b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspaceResource.cs index 3b7c26c3dae67..9013b39c38c81 100644 --- a/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspaceResource.cs +++ b/sdk/healthcareapis/Azure.ResourceManager.HealthcareApis/samples/Generated/Samples/Sample_HealthcareApisWorkspaceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.HealthcareApis.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.HealthcareApis.Samples { public partial class Sample_HealthcareApisWorkspaceResource { - // Get workspaces by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetHealthcareApisWorkspaces_GetWorkspacesBySubscription() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/workspaces/Workspaces_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetHealthcareApisWorkspaces_GetWorkspacesBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspace() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/workspaces/Workspaces_Get.json @@ -79,9 +78,8 @@ public async Task Get_GetWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAWorkspace() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/workspaces/Workspaces_Patch.json @@ -118,9 +116,8 @@ public async Task Update_UpdateAWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAWorkspace() { // Generated from example definition: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2024-03-31/examples/workspaces/Workspaces_Delete.json @@ -142,7 +139,7 @@ public async Task Delete_DeleteAWorkspace() // invoke the operation await healthcareApisWorkspace.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } From ecd5dff3f432d8dbda785d815653bc790e658afd Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Tue, 12 Nov 2024 03:43:11 +0000 Subject: [PATCH 4/8] Update SDK codes sq_wo_6 --- ...ple_AvailabilityGroupListenerCollection.cs | 35 +-- ...ample_AvailabilityGroupListenerResource.cs | 23 +- .../Samples/Sample_SqlVmCollection.cs | 55 ++-- .../Samples/Sample_SqlVmGroupCollection.cs | 30 +- .../Samples/Sample_SqlVmGroupResource.cs | 32 +-- .../Generated/Samples/Sample_SqlVmResource.cs | 39 ++- ...ple_StandbyContainerGroupPoolCollection.cs | 30 +- ...ample_StandbyContainerGroupPoolResource.cs | 25 +- ...ContainerGroupPoolRuntimeViewCollection.cs | 25 +- ...byContainerGroupPoolRuntimeViewResource.cs | 6 +- .../Sample_StandbyVirtualMachineCollection.cs | 25 +- ...ple_StandbyVirtualMachinePoolCollection.cs | 30 +- ...ample_StandbyVirtualMachinePoolResource.cs | 25 +- ...VirtualMachinePoolRuntimeViewCollection.cs | 25 +- ...byVirtualMachinePoolRuntimeViewResource.cs | 6 +- .../Sample_StandbyVirtualMachineResource.cs | 6 +- .../Samples/Sample_BlobContainerCollection.cs | 64 ++--- .../Samples/Sample_BlobContainerResource.cs | 55 ++-- .../Sample_BlobInventoryPolicyResource.cs | 28 +- .../Samples/Sample_BlobServiceResource.cs | 21 +- .../Sample_DeletedAccountCollection.cs | 18 +- .../Samples/Sample_DeletedAccountResource.cs | 13 +- .../Sample_EncryptionScopeCollection.cs | 35 +-- .../Samples/Sample_EncryptionScopeResource.cs | 11 +- .../Samples/Sample_FileServiceResource.cs | 21 +- .../Samples/Sample_FileShareCollection.cs | 71 ++--- .../Samples/Sample_FileShareResource.cs | 45 ++- .../Sample_ImmutabilityPolicyResource.cs | 31 +-- ...ecurityPerimeterConfigurationCollection.cs | 25 +- ...kSecurityPerimeterConfigurationResource.cs | 13 +- ...ample_ObjectReplicationPolicyCollection.cs | 45 ++- .../Sample_ObjectReplicationPolicyResource.cs | 33 +-- .../Samples/Sample_QueueServiceResource.cs | 11 +- .../Sample_StorageAccountCollection.cs | 170 +++++------- ...ample_StorageAccountLocalUserCollection.cs | 47 ++-- .../Sample_StorageAccountLocalUserResource.cs | 38 ++- ..._StorageAccountManagementPolicyResource.cs | 53 ++-- ...ample_StorageAccountMigrationCollection.cs | 35 +-- .../Sample_StorageAccountMigrationResource.cs | 11 +- .../Samples/Sample_StorageAccountResource.cs | 182 +++++------- ...ragePrivateEndpointConnectionCollection.cs | 30 +- ...toragePrivateEndpointConnectionResource.cs | 18 +- .../Samples/Sample_StorageQueueCollection.cs | 35 +-- .../Samples/Sample_StorageQueueResource.cs | 18 +- .../Sample_StorageTaskAssignmentCollection.cs | 35 +-- .../Sample_StorageTaskAssignmentResource.cs | 25 +- .../Sample_SubscriptionResourceExtensions.cs | 15 +- .../Samples/Sample_TableCollection.cs | 35 +-- .../Generated/Samples/Sample_TableResource.cs | 23 +- .../Samples/Sample_TableServiceResource.cs | 11 +- .../Samples/Sample_StorageTaskCollection.cs | 30 +- .../Samples/Sample_StorageTaskResource.cs | 44 ++- .../Samples/Sample_AmlFileSystemCollection.cs | 30 +- .../Samples/Sample_AmlFileSystemResource.cs | 39 ++- .../Samples/Sample_StorageCacheCollection.cs | 35 +-- .../Sample_StorageCacheImportJobCollection.cs | 30 +- .../Sample_StorageCacheImportJobResource.cs | 18 +- .../Samples/Sample_StorageCacheResource.cs | 100 +++---- .../Samples/Sample_StorageTargetCollection.cs | 40 ++- .../Samples/Sample_StorageTargetResource.cs | 70 ++--- .../Sample_SubscriptionResourceExtensions.cs | 34 +-- .../Samples/Sample_DiskPoolCollection.cs | 30 +- .../Sample_DiskPoolIscsiTargetCollection.cs | 30 +- .../Sample_DiskPoolIscsiTargetResource.cs | 18 +- .../Samples/Sample_DiskPoolResource.cs | 53 ++-- .../Sample_SubscriptionResourceExtensions.cs | 15 +- .../Samples/Sample_CloudEndpointCollection.cs | 30 +- .../Samples/Sample_CloudEndpointResource.cs | 63 ++--- .../Sample_StorageSyncGroupCollection.cs | 30 +- .../Sample_StorageSyncGroupResource.cs | 18 +- ...SyncPrivateEndpointConnectionCollection.cs | 30 +- ...geSyncPrivateEndpointConnectionResource.cs | 18 +- ...e_StorageSyncRegisteredServerCollection.cs | 30 +- ...ple_StorageSyncRegisteredServerResource.cs | 25 +- ...ple_StorageSyncServerEndpointCollection.cs | 30 +- ...ample_StorageSyncServerEndpointResource.cs | 25 +- .../Sample_StorageSyncServiceCollection.cs | 30 +- .../Sample_StorageSyncServiceResource.cs | 42 ++- .../Sample_StorageSyncWorkflowCollection.cs | 25 +- .../Sample_StorageSyncWorkflowResource.cs | 13 +- ...Sample_StreamAnalyticsClusterCollection.cs | 30 +- .../Sample_StreamAnalyticsClusterResource.cs | 32 +-- ...treamAnalyticsPrivateEndpointCollection.cs | 30 +- ..._StreamAnalyticsPrivateEndpointResource.cs | 18 +- .../Samples/Sample_StreamingJobCollection.cs | 59 ++-- .../Sample_StreamingJobFunctionCollection.cs | 62 ++--- .../Sample_StreamingJobFunctionResource.cs | 43 ++- .../Sample_StreamingJobInputCollection.cs | 113 ++++---- .../Sample_StreamingJobInputResource.cs | 53 ++-- .../Sample_StreamingJobOutputCollection.cs | 260 +++++++----------- .../Sample_StreamingJobOutputResource.cs | 123 ++++----- .../Samples/Sample_StreamingJobResource.cs | 72 +++-- ...le_StreamingJobTransformationCollection.cs | 23 +- ...mple_StreamingJobTransformationResource.cs | 11 +- .../Sample_SubscriptionResourceExtensions.cs | 33 +-- .../Sample_BillingAccountPolicyCollection.cs | 18 +- .../Sample_BillingAccountPolicyResource.cs | 6 +- .../Sample_SubscriptionAliasCollection.cs | 30 +- .../Sample_SubscriptionAliasResource.cs | 18 +- .../Sample_SubscriptionResourceExtensions.cs | 16 +- .../Samples/Sample_TenantPolicyResource.cs | 11 +- .../Sample_TenantResourceExtensions.cs | 13 +- .../Sample_ProblemClassificationCollection.cs | 25 +- .../Sample_ProblemClassificationResource.cs | 6 +- ...ple_SubscriptionFileWorkspaceCollection.cs | 23 +- ...ample_SubscriptionFileWorkspaceResource.cs | 11 +- ...ple_SubscriptionSupportTicketCollection.cs | 152 +++++----- ...ample_SubscriptionSupportTicketResource.cs | 36 +-- .../Sample_SupportAzureServiceCollection.cs | 25 +- .../Sample_SupportAzureServiceResource.cs | 6 +- ...e_SupportTicketChatTranscriptCollection.cs | 25 +- ...ple_SupportTicketChatTranscriptResource.cs | 6 +- ...le_SupportTicketCommunicationCollection.cs | 44 ++- ...mple_SupportTicketCommunicationResource.cs | 11 +- .../Sample_SupportTicketFileCollection.cs | 30 +- .../Sample_SupportTicketFileResource.cs | 18 +- ...portTicketNoSubChatTranscriptCollection.cs | 25 +- ...upportTicketNoSubChatTranscriptResource.cs | 6 +- ...pportTicketNoSubCommunicationCollection.cs | 44 ++- ...SupportTicketNoSubCommunicationResource.cs | 11 +- ...Sample_SupportTicketNoSubFileCollection.cs | 30 +- .../Sample_SupportTicketNoSubFileResource.cs | 18 +- .../Sample_TenantFileWorkspaceCollection.cs | 23 +- .../Sample_TenantFileWorkspaceResource.cs | 11 +- .../Sample_TenantSupportTicketCollection.cs | 82 +++--- .../Sample_TenantSupportTicketResource.cs | 36 +-- ..._SynapseAadOnlyAuthenticationCollection.cs | 30 +- ...le_SynapseAadOnlyAuthenticationResource.cs | 11 +- ...AttachedDatabaseConfigurationCollection.cs | 30 +- ...seAttachedDatabaseConfigurationResource.cs | 18 +- ...Sample_SynapseBigDataPoolInfoCollection.cs | 30 +- .../Sample_SynapseBigDataPoolInfoResource.cs | 16 +- ...pseClusterPrincipalAssignmentCollection.cs | 30 +- ...napseClusterPrincipalAssignmentResource.cs | 18 +- .../Sample_SynapseDataConnectionCollection.cs | 30 +- .../Sample_SynapseDataConnectionResource.cs | 18 +- ...Sample_SynapseDataMaskingPolicyResource.cs | 16 +- ...Sample_SynapseDataMaskingRuleCollection.cs | 45 ++- .../Sample_SynapseDataMaskingRuleResource.cs | 26 +- ...apseDataWarehouseUserActivityCollection.cs | 18 +- ...ynapseDataWarehouseUserActivityResource.cs | 6 +- .../Sample_SynapseDatabaseCollection.cs | 30 +- ...seDatabasePrincipalAssignmentCollection.cs | 30 +- ...apseDatabasePrincipalAssignmentResource.cs | 18 +- .../Samples/Sample_SynapseDatabaseResource.cs | 33 +-- ...DedicatedSqlMinimalTlsSettingCollection.cs | 25 +- ...seDedicatedSqlMinimalTlsSettingResource.cs | 6 +- ...le_SynapseEncryptionProtectorCollection.cs | 35 +-- ...mple_SynapseEncryptionProtectorResource.cs | 23 +- ...endedServerBlobAuditingPolicyCollection.cs | 35 +-- ...xtendedServerBlobAuditingPolicyResource.cs | 16 +- ...tendedSqlPoolBlobAuditingPolicyResource.cs | 21 +- ...Sample_SynapseGeoBackupPolicyCollection.cs | 30 +- .../Sample_SynapseGeoBackupPolicyResource.cs | 11 +- ...ple_SynapseIPFirewallRuleInfoCollection.cs | 30 +- ...ample_SynapseIPFirewallRuleInfoResource.cs | 16 +- ...ple_SynapseIntegrationRuntimeCollection.cs | 30 +- ...ample_SynapseIntegrationRuntimeResource.cs | 124 ++++----- .../Samples/Sample_SynapseKeyCollection.cs | 30 +- .../Samples/Sample_SynapseKeyResource.cs | 16 +- .../Sample_SynapseKustoPoolCollection.cs | 30 +- .../Sample_SynapseKustoPoolResource.cs | 108 ++++---- .../Sample_SynapseLibraryCollection.cs | 25 +- .../Samples/Sample_SynapseLibraryResource.cs | 6 +- ..._SynapseMaintenanceWindowOptionResource.cs | 6 +- ...Sample_SynapseMaintenanceWindowResource.cs | 13 +- ...anagedIdentitySqlControlSettingResource.cs | 11 +- ...ynapseMetadataSyncConfigurationResource.cs | 11 +- ...apsePrivateEndpointConnectionCollection.cs | 30 +- ...ntConnectionForPrivateLinkHubCollection.cs | 25 +- ...ointConnectionForPrivateLinkHubResource.cs | 6 +- ...ynapsePrivateEndpointConnectionResource.cs | 18 +- .../Sample_SynapsePrivateLinkHubCollection.cs | 30 +- .../Sample_SynapsePrivateLinkHubResource.cs | 25 +- .../Sample_SynapsePrivateLinkResource.cs | 6 +- ...le_SynapsePrivateLinkResourceCollection.cs | 25 +- ...ple_SynapseRecoverableSqlPoolCollection.cs | 25 +- ...ample_SynapseRecoverableSqlPoolResource.cs | 6 +- ...Sample_SynapseReplicationLinkCollection.cs | 25 +- .../Sample_SynapseReplicationLinkResource.cs | 6 +- ...napseRestorableDroppedSqlPoolCollection.cs | 25 +- ...SynapseRestorableDroppedSqlPoolResource.cs | 6 +- .../Sample_SynapseRestorePointCollection.cs | 25 +- .../Sample_SynapseRestorePointResource.cs | 13 +- ...ample_SynapseSensitivityLabelCollection.cs | 18 +- .../Sample_SynapseSensitivityLabelResource.cs | 6 +- ...napseServerBlobAuditingPolicyCollection.cs | 35 +-- ...SynapseServerBlobAuditingPolicyResource.cs | 16 +- ...apseServerSecurityAlertPolicyCollection.cs | 35 +-- ...ynapseServerSecurityAlertPolicyResource.cs | 16 +- ...ServerVulnerabilityAssessmentCollection.cs | 40 ++- ...seServerVulnerabilityAssessmentResource.cs | 28 +- ...ple_SynapseSparkConfigurationCollection.cs | 25 +- ...ample_SynapseSparkConfigurationResource.cs | 6 +- ...ynapseSqlPoolBlobAuditingPolicyResource.cs | 16 +- .../Sample_SynapseSqlPoolCollection.cs | 37 ++- .../Sample_SynapseSqlPoolColumnCollection.cs | 25 +- .../Sample_SynapseSqlPoolColumnResource.cs | 20 +- ...ynapseSqlPoolConnectionPolicyCollection.cs | 18 +- ..._SynapseSqlPoolConnectionPolicyResource.cs | 6 +- .../Samples/Sample_SynapseSqlPoolResource.cs | 73 +++-- .../Sample_SynapseSqlPoolSchemaCollection.cs | 25 +- .../Sample_SynapseSqlPoolSchemaResource.cs | 6 +- ...pseSqlPoolSecurityAlertPolicyCollection.cs | 35 +-- ...napseSqlPoolSecurityAlertPolicyResource.cs | 16 +- .../Sample_SynapseSqlPoolTableCollection.cs | 25 +- .../Sample_SynapseSqlPoolTableResource.cs | 6 +- ...qlPoolVulnerabilityAssessmentCollection.cs | 40 ++- ...eSqlPoolVulnerabilityAssessmentResource.cs | 28 +- ...abilityAssessmentRuleBaselineCollection.cs | 23 +- ...erabilityAssessmentRuleBaselineResource.cs | 18 +- ...apseTransparentDataEncryptionCollection.cs | 30 +- ...ynapseTransparentDataEncryptionResource.cs | 11 +- ...erabilityAssessmentScanRecordCollection.cs | 25 +- ...lnerabilityAssessmentScanRecordResource.cs | 18 +- ...ple_SynapseWorkloadClassifierCollection.cs | 35 +-- ...ample_SynapseWorkloadClassifierResource.cs | 23 +- .../Sample_SynapseWorkloadGroupCollection.cs | 35 +-- .../Sample_SynapseWorkloadGroupResource.cs | 23 +- ...e_SynapseWorkspaceAdministratorResource.cs | 18 +- .../Sample_SynapseWorkspaceCollection.cs | 30 +- ...ple_SynapseWorkspacePrivateLinkResource.cs | 6 +- ...eWorkspacePrivateLinkResourceCollection.cs | 25 +- .../Sample_SynapseWorkspaceResource.cs | 35 +-- ...ynapseWorkspaceSqlAdministratorResource.cs | 18 +- .../Sample_SubscriptionResourceExtensions.cs | 6 +- ...Sample_TrafficManagerEndpointCollection.cs | 77 +++--- .../Sample_TrafficManagerEndpointResource.cs | 28 +- ...afficManagerGeographicHierarchyResource.cs | 6 +- .../Sample_TrafficManagerHeatMapCollection.cs | 52 ++-- .../Sample_TrafficManagerHeatMapResource.cs | 16 +- .../Sample_TrafficManagerProfileCollection.cs | 89 +++--- .../Sample_TrafficManagerProfileResource.cs | 55 ++-- ...ample_TrafficManagerUserMetricsResource.cs | 18 +- .../Sample_TrustedSigningAccountCollection.cs | 30 +- .../Sample_TrustedSigningAccountResource.cs | 30 +- ...stedSigningCertificateProfileCollection.cs | 30 +- ...rustedSigningCertificateProfileResource.cs | 25 +- .../Sample_SubscriptionResourceExtensions.cs | 6 +- ...ServicesCommunicationsGatewayCollection.cs | 30 +- ...ceServicesCommunicationsGatewayResource.cs | 25 +- .../Sample_VoiceServicesTestLineCollection.cs | 30 +- .../Sample_VoiceServicesTestLineResource.cs | 18 +- .../Sample_SubscriptionResourceExtensions.cs | 8 +- .../Samples/Sample_WebPubSubCollection.cs | 30 +- .../Samples/Sample_WebPubSubHubCollection.cs | 30 +- .../Samples/Sample_WebPubSubHubResource.cs | 18 +- ...bSubPrivateEndpointConnectionCollection.cs | 30 +- ...PubSubPrivateEndpointConnectionResource.cs | 18 +- .../Samples/Sample_WebPubSubResource.cs | 61 ++-- ...le_WebPubSubSharedPrivateLinkCollection.cs | 30 +- ...mple_WebPubSubSharedPrivateLinkResource.cs | 18 +- .../Sample_AppCertificateCollection.cs | 30 +- .../Samples/Sample_AppCertificateResource.cs | 25 +- .../Sample_AppServiceCertificateCollection.cs | 30 +- ...le_AppServiceCertificateOrderCollection.cs | 30 +- ...mple_AppServiceCertificateOrderResource.cs | 79 +++--- .../Sample_AppServiceCertificateResource.cs | 18 +- .../Sample_AppServiceDomainCollection.cs | 30 +- .../Sample_AppServiceDomainResource.cs | 37 ++- .../Sample_AppServiceEnvironmentCollection.cs | 30 +- .../Sample_AppServiceEnvironmentResource.cs | 119 ++++---- .../Sample_AppServicePlanCollection.cs | 30 +- .../Samples/Sample_AppServicePlanResource.cs | 25 +- ...le_AseV3NetworkingConfigurationResource.cs | 11 +- ...mple_CertificateOrderDetectorCollection.cs | 25 +- ...Sample_CertificateOrderDetectorResource.cs | 6 +- ...le_CustomDnsSuffixConfigurationResource.cs | 16 +- .../Samples/Sample_DeletedSiteCollection.cs | 18 +- .../Samples/Sample_DeletedSiteResource.cs | 25 +- ...ple_DomainOwnershipIdentifierCollection.cs | 30 +- ...ample_DomainOwnershipIdentifierResource.cs | 18 +- ...le_HostingEnvironmentDetectorCollection.cs | 25 +- ...mple_HostingEnvironmentDetectorResource.cs | 6 +- ...HostingEnvironmentMultiRolePoolResource.cs | 44 ++- ...mentPrivateEndpointConnectionCollection.cs | 30 +- ...onmentPrivateEndpointConnectionResource.cs | 16 +- ..._HostingEnvironmentWorkerPoolCollection.cs | 30 +- ...le_HostingEnvironmentWorkerPoolResource.cs | 39 ++- .../Sample_KubeEnvironmentCollection.cs | 30 +- .../Samples/Sample_KubeEnvironmentResource.cs | 25 +- .../Sample_ResourceGroupResourceExtensions.cs | 8 +- ...asicPublishingCredentialsPolicyResource.cs | 11 +- ...asicPublishingCredentialsPolicyResource.cs | 11 +- .../Samples/Sample_SiteBackupCollection.cs | 25 +- .../Samples/Sample_SiteBackupResource.cs | 25 +- .../Sample_SiteConfigAppsettingCollection.cs | 25 +- .../Sample_SiteConfigAppsettingResource.cs | 6 +- .../Samples/Sample_SiteDetectorCollection.cs | 49 ++-- .../Samples/Sample_SiteDetectorResource.cs | 11 +- ...Sample_SiteDiagnosticAnalysisCollection.cs | 49 ++-- .../Sample_SiteDiagnosticAnalysisResource.cs | 21 +- .../Sample_SiteDiagnosticCollection.cs | 49 ++-- ...Sample_SiteDiagnosticDetectorCollection.cs | 49 ++-- .../Sample_SiteDiagnosticDetectorResource.cs | 21 +- .../Samples/Sample_SiteDiagnosticResource.cs | 11 +- .../Samples/Sample_SiteInstanceCollection.cs | 18 +- .../Samples/Sample_SiteInstanceResource.cs | 6 +- ...SitePrivateEndpointConnectionCollection.cs | 23 +- ...e_SitePrivateEndpointConnectionResource.cs | 16 +- .../Sample_SiteSlotDetectorCollection.cs | 49 ++-- .../Sample_SiteSlotDetectorResource.cs | 11 +- ...le_SiteSlotDiagnosticAnalysisCollection.cs | 49 ++-- ...mple_SiteSlotDiagnosticAnalysisResource.cs | 21 +- .../Sample_SiteSlotDiagnosticCollection.cs | 49 ++-- ...le_SiteSlotDiagnosticDetectorCollection.cs | 49 ++-- ...mple_SiteSlotDiagnosticDetectorResource.cs | 21 +- .../Sample_SiteSlotDiagnosticResource.cs | 11 +- .../Sample_SiteSlotInstanceCollection.cs | 18 +- .../Sample_SiteSlotInstanceResource.cs | 6 +- ...SlotPrivateEndpointConnectionCollection.cs | 23 +- ...teSlotPrivateEndpointConnectionResource.cs | 16 +- .../Sample_SiteSlotWorkflowCollection.cs | 25 +- .../Sample_SiteSlotWorkflowResource.cs | 6 +- .../Samples/Sample_SiteWorkflowCollection.cs | 25 +- .../Samples/Sample_SiteWorkflowResource.cs | 6 +- ...e_StaticSiteBasicAuthPropertyCollection.cs | 30 +- ...ple_StaticSiteBasicAuthPropertyResource.cs | 11 +- .../Sample_StaticSiteBuildCollection.cs | 25 +- ...icSiteBuildDatabaseConnectionCollection.cs | 30 +- ...aticSiteBuildDatabaseConnectionResource.cs | 23 +- ..._StaticSiteBuildLinkedBackendCollection.cs | 30 +- ...le_StaticSiteBuildLinkedBackendResource.cs | 25 +- .../Samples/Sample_StaticSiteBuildResource.cs | 54 ++-- ...eBuildUserProvidedFunctionAppCollection.cs | 30 +- ...iteBuildUserProvidedFunctionAppResource.cs | 18 +- .../Samples/Sample_StaticSiteCollection.cs | 30 +- ...taticSiteCustomDomainOverviewCollection.cs | 30 +- ..._StaticSiteCustomDomainOverviewResource.cs | 25 +- ..._StaticSiteDatabaseConnectionCollection.cs | 30 +- ...le_StaticSiteDatabaseConnectionResource.cs | 23 +- ...ample_StaticSiteLinkedBackendCollection.cs | 30 +- .../Sample_StaticSiteLinkedBackendResource.cs | 25 +- ...SitePrivateEndpointConnectionCollection.cs | 30 +- ...icSitePrivateEndpointConnectionResource.cs | 16 +- .../Samples/Sample_StaticSiteResource.cs | 121 ++++---- ...icSiteUserProvidedFunctionAppCollection.cs | 30 +- ...aticSiteUserProvidedFunctionAppResource.cs | 18 +- .../Sample_SubscriptionResourceExtensions.cs | 70 ++--- .../Sample_TenantResourceExtensions.cs | 50 ++-- .../Sample_TopLevelDomainCollection.cs | 25 +- .../Samples/Sample_TopLevelDomainResource.cs | 13 +- .../Sample_WebAppRequestHistoryCollection.cs | 25 +- .../Sample_WebAppRequestHistoryResource.cs | 6 +- .../Samples/Sample_WebSiteCollection.cs | 45 ++- .../Samples/Sample_WebSiteConfigResource.cs | 11 +- ...eFtpPublishingCredentialsPolicyResource.cs | 11 +- .../Samples/Sample_WebSiteResource.cs | 200 ++++++-------- ...e_WebSiteResourceHealthMetadataResource.cs | 6 +- .../Samples/Sample_WebSiteSlotCollection.cs | 35 +-- ...e_WebSiteSlotConfigAppSettingCollection.cs | 25 +- ...ple_WebSiteSlotConfigAppSettingResource.cs | 6 +- ...tFtpPublishingCredentialsPolicyResource.cs | 11 +- .../Samples/Sample_WebSiteSlotResource.cs | 113 ++++---- ...bSiteSlotResourceHealthMetadataResource.cs | 6 +- .../Sample_WorkflowRunActionCollection.cs | 25 +- ...e_WorkflowRunActionRepetitionCollection.cs | 25 +- ...ple_WorkflowRunActionRepetitionResource.cs | 13 +- .../Sample_WorkflowRunActionResource.cs | 13 +- ...kflowRunActionScopeRepetitionCollection.cs | 25 +- ...orkflowRunActionScopeRepetitionResource.cs | 6 +- .../Samples/Sample_WorkflowRunCollection.cs | 25 +- .../Samples/Sample_WorkflowRunResource.cs | 13 +- .../Sample_WorkflowTriggerCollection.cs | 25 +- ...Sample_WorkflowTriggerHistoryCollection.cs | 25 +- .../Sample_WorkflowTriggerHistoryResource.cs | 13 +- .../Samples/Sample_WorkflowTriggerResource.cs | 23 +- .../Sample_WorkflowVersionCollection.cs | 25 +- .../Samples/Sample_WorkflowVersionResource.cs | 6 +- .../Samples/Sample_HealthMonitorCollection.cs | 56 ++-- .../Samples/Sample_HealthMonitorResource.cs | 11 +- ...mple_HealthMonitorStateChangeCollection.cs | 56 ++-- ...Sample_HealthMonitorStateChangeResource.cs | 11 +- ..._SapApplicationServerInstanceCollection.cs | 35 +-- ...le_SapApplicationServerInstanceResource.cs | 26 +- ...mple_SapCentralServerInstanceCollection.cs | 35 +-- ...Sample_SapCentralServerInstanceResource.cs | 26 +- .../Sample_SapDatabaseInstanceCollection.cs | 35 +-- .../Sample_SapDatabaseInstanceResource.cs | 26 +- .../Sample_SapLandscapeMonitorResource.cs | 23 +- .../Samples/Sample_SapMonitorCollection.cs | 30 +- .../Samples/Sample_SapMonitorResource.cs | 18 +- .../Sample_SapProviderInstanceCollection.cs | 170 +++++------- .../Sample_SapProviderInstanceResource.cs | 96 +++---- .../Sample_SapVirtualInstanceCollection.cs | 160 +++++------ .../Sample_SapVirtualInstanceResource.cs | 28 +- .../Sample_SubscriptionResourceExtensions.cs | 61 ++-- 387 files changed, 5151 insertions(+), 6788 deletions(-) diff --git a/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/Generated/Samples/Sample_AvailabilityGroupListenerCollection.cs b/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/Generated/Samples/Sample_AvailabilityGroupListenerCollection.cs index e220d35c1f071..9f3ff5cd107e0 100644 --- a/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/Generated/Samples/Sample_AvailabilityGroupListenerCollection.cs +++ b/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/Generated/Samples/Sample_AvailabilityGroupListenerCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SqlVirtualMachine.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SqlVirtualMachine.Samples { public partial class Sample_AvailabilityGroupListenerCollection { - // Gets an availability group listener. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAnAvailabilityGroupListener() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/GetAvailabilityGroupListener.json @@ -51,9 +51,8 @@ public async Task Get_GetsAnAvailabilityGroupListener() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets an availability group listener. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAnAvailabilityGroupListener() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/GetAvailabilityGroupListener.json @@ -82,9 +81,8 @@ public async Task Exists_GetsAnAvailabilityGroupListener() Console.WriteLine($"Succeeded: {result}"); } - // Gets an availability group listener. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAnAvailabilityGroupListener() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/GetAvailabilityGroupListener.json @@ -113,7 +111,7 @@ public async Task GetIfExists_GetsAnAvailabilityGroupListener() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -125,9 +123,8 @@ public async Task GetIfExists_GetsAnAvailabilityGroupListener() } } - // Creates or updates an availability group listener using load balancer. This is used for VMs present in single subnet. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesAnAvailabilityGroupListenerUsingLoadBalancerThisIsUsedForVMsPresentInSingleSubnet() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/CreateOrUpdateAvailabilityGroupListener.json @@ -183,9 +180,8 @@ public async Task CreateOrUpdate_CreatesOrUpdatesAnAvailabilityGroupListenerUsin Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates an availability group listener. This is used for VMs present in multi subnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesAnAvailabilityGroupListenerThisIsUsedForVMsPresentInMultiSubnet() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/CreateOrUpdateAvailabilityGroupListenerWithMultiSubnet.json @@ -236,9 +232,8 @@ public async Task CreateOrUpdate_CreatesOrUpdatesAnAvailabilityGroupListenerThis Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Lists all availability group listeners in a SQL virtual machine group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsAllAvailabilityGroupListenersInASQLVirtualMachineGroup() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/ListByGroupAvailabilityGroupListener.json @@ -270,7 +265,7 @@ public async Task GetAll_ListsAllAvailabilityGroupListenersInASQLVirtualMachineG Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/Generated/Samples/Sample_AvailabilityGroupListenerResource.cs b/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/Generated/Samples/Sample_AvailabilityGroupListenerResource.cs index cb6418b4d86a6..ad626e1f509f8 100644 --- a/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/Generated/Samples/Sample_AvailabilityGroupListenerResource.cs +++ b/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/Generated/Samples/Sample_AvailabilityGroupListenerResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SqlVirtualMachine.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SqlVirtualMachine.Samples { public partial class Sample_AvailabilityGroupListenerResource { - // Gets an availability group listener. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAnAvailabilityGroupListener() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/GetAvailabilityGroupListener.json @@ -48,9 +48,8 @@ public async Task Get_GetsAnAvailabilityGroupListener() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates an availability group listener using load balancer. This is used for VMs present in single subnet. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesOrUpdatesAnAvailabilityGroupListenerUsingLoadBalancerThisIsUsedForVMsPresentInSingleSubnet() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/CreateOrUpdateAvailabilityGroupListener.json @@ -103,9 +102,8 @@ public async Task Update_CreatesOrUpdatesAnAvailabilityGroupListenerUsingLoadBal Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates an availability group listener. This is used for VMs present in multi subnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesOrUpdatesAnAvailabilityGroupListenerThisIsUsedForVMsPresentInMultiSubnet() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/CreateOrUpdateAvailabilityGroupListenerWithMultiSubnet.json @@ -153,9 +151,8 @@ public async Task Update_CreatesOrUpdatesAnAvailabilityGroupListenerThisIsUsedFo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes an availability group listener. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAnAvailabilityGroupListener() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/DeleteAvailabilityGroupListener.json @@ -178,7 +175,7 @@ public async Task Delete_DeletesAnAvailabilityGroupListener() // invoke the operation await availabilityGroupListener.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/Generated/Samples/Sample_SqlVmCollection.cs b/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/Generated/Samples/Sample_SqlVmCollection.cs index d816d3a5ed15e..3a045dd2651b1 100644 --- a/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/Generated/Samples/Sample_SqlVmCollection.cs +++ b/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/Generated/Samples/Sample_SqlVmCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SqlVirtualMachine.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SqlVirtualMachine.Samples { public partial class Sample_SqlVmCollection { - // Gets a SQL virtual machine. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsASQLVirtualMachine() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/GetSqlVirtualMachine.json @@ -51,9 +51,8 @@ public async Task Get_GetsASQLVirtualMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a SQL virtual machine. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsASQLVirtualMachine() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/GetSqlVirtualMachine.json @@ -81,9 +80,8 @@ public async Task Exists_GetsASQLVirtualMachine() Console.WriteLine($"Succeeded: {result}"); } - // Gets a SQL virtual machine. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsASQLVirtualMachine() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/GetSqlVirtualMachine.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetsASQLVirtualMachine() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetsASQLVirtualMachine() } } - // Creates or updates a SQL virtual machine and joins it to a SQL virtual machine group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesASQLVirtualMachineAndJoinsItToASQLVirtualMachineGroup() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/CreateOrUpdateVirtualMachineWithVMGroup.json @@ -170,9 +167,8 @@ public async Task CreateOrUpdate_CreatesOrUpdatesASQLVirtualMachineAndJoinsItToA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates a SQL virtual machine for Automated Back up Settings with Weekly and Days of the week to run the back up. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesASQLVirtualMachineForAutomatedBackUpSettingsWithWeeklyAndDaysOfTheWeekToRunTheBackUp() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/CreateOrUpdateSqlVirtualMachineAutomatedBackupWeekly.json @@ -261,9 +257,8 @@ public async Task CreateOrUpdate_CreatesOrUpdatesASQLVirtualMachineForAutomatedB Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates a SQL virtual machine for Storage Configuration Settings to EXTEND Data, Log or TempDB storage pool. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesASQLVirtualMachineForStorageConfigurationSettingsToEXTENDDataLogOrTempDBStoragePool() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/CreateOrUpdateSqlVirtualMachineStorageConfigurationEXTEND.json @@ -311,9 +306,8 @@ public async Task CreateOrUpdate_CreatesOrUpdatesASQLVirtualMachineForStorageCon Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates a SQL virtual machine for Storage Configuration Settings to NEW Data, Log and TempDB storage pool. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesASQLVirtualMachineForStorageConfigurationSettingsToNEWDataLogAndTempDBStoragePool() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/CreateOrUpdateSqlVirtualMachineStorageConfigurationNEW.json @@ -381,9 +375,8 @@ public async Task CreateOrUpdate_CreatesOrUpdatesASQLVirtualMachineForStorageCon Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates a SQL virtual machine with max parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesASQLVirtualMachineWithMaxParameters() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/CreateOrUpdateSqlVirtualMachineMAX.json @@ -491,9 +484,8 @@ public async Task CreateOrUpdate_CreatesOrUpdatesASQLVirtualMachineWithMaxParame Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates a SQL virtual machine with min parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesASQLVirtualMachineWithMinParameters() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/CreateOrUpdateSqlVirtualMachineMIN.json @@ -530,9 +522,8 @@ public async Task CreateOrUpdate_CreatesOrUpdatesASQLVirtualMachineWithMinParame Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets all SQL virtual machines in a resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsAllSQLVirtualMachinesInAResourceGroup() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/ListByResourceGroupSqlVirtualMachine.json @@ -563,7 +554,7 @@ public async Task GetAll_GetsAllSQLVirtualMachinesInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/Generated/Samples/Sample_SqlVmGroupCollection.cs b/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/Generated/Samples/Sample_SqlVmGroupCollection.cs index 83b1d7e8e96fa..01c6643678580 100644 --- a/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/Generated/Samples/Sample_SqlVmGroupCollection.cs +++ b/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/Generated/Samples/Sample_SqlVmGroupCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SqlVirtualMachine.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SqlVirtualMachine.Samples { public partial class Sample_SqlVmGroupCollection { - // Gets a SQL virtual machine group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsASQLVirtualMachineGroup() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/GetSqlVirtualMachineGroup.json @@ -50,9 +50,8 @@ public async Task Get_GetsASQLVirtualMachineGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a SQL virtual machine group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsASQLVirtualMachineGroup() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/GetSqlVirtualMachineGroup.json @@ -80,9 +79,8 @@ public async Task Exists_GetsASQLVirtualMachineGroup() Console.WriteLine($"Succeeded: {result}"); } - // Gets a SQL virtual machine group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsASQLVirtualMachineGroup() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/GetSqlVirtualMachineGroup.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetsASQLVirtualMachineGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetsASQLVirtualMachineGroup() } } - // Creates or updates a SQL virtual machine group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesASQLVirtualMachineGroup() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/CreateOrUpdateSqlVirtualMachineGroup.json @@ -177,9 +174,8 @@ public async Task CreateOrUpdate_CreatesOrUpdatesASQLVirtualMachineGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets all SQL virtual machine groups in a resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsAllSQLVirtualMachineGroupsInAResourceGroup() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/ListByResourceGroupSqlVirtualMachineGroup.json @@ -210,7 +206,7 @@ public async Task GetAll_GetsAllSQLVirtualMachineGroupsInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/Generated/Samples/Sample_SqlVmGroupResource.cs b/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/Generated/Samples/Sample_SqlVmGroupResource.cs index 820dea95175b1..af5d51b7835ea 100644 --- a/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/Generated/Samples/Sample_SqlVmGroupResource.cs +++ b/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/Generated/Samples/Sample_SqlVmGroupResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SqlVirtualMachine.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SqlVirtualMachine.Samples { public partial class Sample_SqlVmGroupResource { - // Gets a SQL virtual machine group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsASQLVirtualMachineGroup() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/GetSqlVirtualMachineGroup.json @@ -47,9 +47,8 @@ public async Task Get_GetsASQLVirtualMachineGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a SQL virtual machine group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesASQLVirtualMachineGroup() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/DeleteSqlVirtualMachineGroup.json @@ -71,12 +70,11 @@ public async Task Delete_DeletesASQLVirtualMachineGroup() // invoke the operation await sqlVmGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Updates a SQL virtual machine group tags. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesASQLVirtualMachineGroupTags() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/UpdateSqlVirtualMachineGroup.json @@ -113,9 +111,8 @@ public async Task Update_UpdatesASQLVirtualMachineGroupTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets all SQL virtual machine groups in a subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSqlVmGroups_GetsAllSQLVirtualMachineGroupsInASubscription() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/ListSubscriptionSqlVirtualMachineGroup.json @@ -142,12 +139,11 @@ public async Task GetSqlVmGroups_GetsAllSQLVirtualMachineGroupsInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the list of sql virtual machines in a SQL virtual machine group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSqlVmsBySqlVmGroup_GetsTheListOfSqlVirtualMachinesInASQLVirtualMachineGroup() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/ListBySqlVirtualMachineGroupSqlVirtualMachine.json @@ -176,7 +172,7 @@ public async Task GetSqlVmsBySqlVmGroup_GetsTheListOfSqlVirtualMachinesInASQLVir Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/Generated/Samples/Sample_SqlVmResource.cs b/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/Generated/Samples/Sample_SqlVmResource.cs index 496b25b68b4b4..2f2618e369dea 100644 --- a/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/Generated/Samples/Sample_SqlVmResource.cs +++ b/sdk/sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine/samples/Generated/Samples/Sample_SqlVmResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SqlVirtualMachine.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SqlVirtualMachine.Samples { public partial class Sample_SqlVmResource { - // Gets all SQL virtual machines in a subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSqlVms_GetsAllSQLVirtualMachinesInASubscription() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/ListSubscriptionSqlVirtualMachine.json @@ -45,12 +45,11 @@ public async Task GetSqlVms_GetsAllSQLVirtualMachinesInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a SQL virtual machine. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsASQLVirtualMachine() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/GetSqlVirtualMachine.json @@ -79,9 +78,8 @@ public async Task Get_GetsASQLVirtualMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a SQL virtual machine. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesASQLVirtualMachine() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/DeleteSqlVirtualMachine.json @@ -103,12 +101,11 @@ public async Task Delete_DeletesASQLVirtualMachine() // invoke the operation await sqlVm.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Updates a SQL virtual machine tags. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesASQLVirtualMachineTags() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/UpdateSqlVirtualMachine.json @@ -145,9 +142,8 @@ public async Task Update_UpdatesASQLVirtualMachineTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Uninstalls and reinstalls the SQL Iaas Extension. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Redeploy_UninstallsAndReinstallsTheSQLIaasExtension() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/RedeploySqlVirtualMachine.json @@ -169,12 +165,11 @@ public async Task Redeploy_UninstallsAndReinstallsTheSQLIaasExtension() // invoke the operation await sqlVm.RedeployAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Starts Assessment on SQL virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartAssessment_StartsAssessmentOnSQLVirtualMachine() { // Generated from example definition: specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/stable/2022-02-01/examples/StartAssessmentOnSqlVirtualMachine.json @@ -196,7 +191,7 @@ public async Task StartAssessment_StartsAssessmentOnSQLVirtualMachine() // invoke the operation await sqlVm.StartAssessmentAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyContainerGroupPoolCollection.cs b/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyContainerGroupPoolCollection.cs index 3e9600dfa3734..c8bee63bb07c5 100644 --- a/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyContainerGroupPoolCollection.cs +++ b/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyContainerGroupPoolCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; using Azure.ResourceManager.StandbyPool.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StandbyPool.Samples { public partial class Sample_StandbyContainerGroupPoolCollection { - // StandbyContainerGroupPools_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StandbyContainerGroupPoolsGet() { // Generated from example definition: 2024-03-01/StandbyContainerGroupPools_Get.json @@ -51,9 +51,8 @@ public async Task Get_StandbyContainerGroupPoolsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StandbyContainerGroupPools_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_StandbyContainerGroupPoolsGet() { // Generated from example definition: 2024-03-01/StandbyContainerGroupPools_Get.json @@ -81,9 +80,8 @@ public async Task Exists_StandbyContainerGroupPoolsGet() Console.WriteLine($"Succeeded: {result}"); } - // StandbyContainerGroupPools_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_StandbyContainerGroupPoolsGet() { // Generated from example definition: 2024-03-01/StandbyContainerGroupPools_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_StandbyContainerGroupPoolsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_StandbyContainerGroupPoolsGet() } } - // StandbyContainerGroupPools_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StandbyContainerGroupPoolsCreateOrUpdate() { // Generated from example definition: 2024-03-01/StandbyContainerGroupPools_CreateOrUpdate.json @@ -180,9 +177,8 @@ public async Task CreateOrUpdate_StandbyContainerGroupPoolsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StandbyContainerGroupPools_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_StandbyContainerGroupPoolsListByResourceGroup() { // Generated from example definition: 2024-03-01/StandbyContainerGroupPools_ListByResourceGroup.json @@ -213,7 +209,7 @@ public async Task GetAll_StandbyContainerGroupPoolsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyContainerGroupPoolResource.cs b/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyContainerGroupPoolResource.cs index 7fbea58d44cb7..04fb4863e9c53 100644 --- a/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyContainerGroupPoolResource.cs +++ b/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyContainerGroupPoolResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; using Azure.ResourceManager.StandbyPool.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StandbyPool.Samples { public partial class Sample_StandbyContainerGroupPoolResource { - // StandbyContainerGroupPools_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StandbyContainerGroupPoolsGet() { // Generated from example definition: 2024-03-01/StandbyContainerGroupPools_Get.json @@ -48,9 +48,8 @@ public async Task Get_StandbyContainerGroupPoolsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StandbyContainerGroupPools_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_StandbyContainerGroupPoolsDelete() { // Generated from example definition: 2024-03-01/StandbyContainerGroupPools_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_StandbyContainerGroupPoolsDelete() // invoke the operation await standbyContainerGroupPool.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StandbyContainerGroupPools_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StandbyContainerGroupPoolsUpdate() { // Generated from example definition: 2024-03-01/StandbyContainerGroupPools_Update.json @@ -132,9 +130,8 @@ public async Task Update_StandbyContainerGroupPoolsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StandbyContainerGroupPools_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStandbyContainerGroupPools_StandbyContainerGroupPoolsListBySubscription() { // Generated from example definition: 2024-03-01/StandbyContainerGroupPools_ListBySubscription.json @@ -161,7 +158,7 @@ public async Task GetStandbyContainerGroupPools_StandbyContainerGroupPoolsListBy Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyContainerGroupPoolRuntimeViewCollection.cs b/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyContainerGroupPoolRuntimeViewCollection.cs index 944c97cc14c0e..10080ce9b9159 100644 --- a/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyContainerGroupPoolRuntimeViewCollection.cs +++ b/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyContainerGroupPoolRuntimeViewCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.StandbyPool.Samples { public partial class Sample_StandbyContainerGroupPoolRuntimeViewCollection { - // StandbyContainerGroupPoolRuntimeViews_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StandbyContainerGroupPoolRuntimeViewsGet() { // Generated from example definition: 2024-03-01/StandbyContainerGroupPoolRuntimeViews_Get.json @@ -49,9 +49,8 @@ public async Task Get_StandbyContainerGroupPoolRuntimeViewsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StandbyContainerGroupPoolRuntimeViews_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_StandbyContainerGroupPoolRuntimeViewsGet() { // Generated from example definition: 2024-03-01/StandbyContainerGroupPoolRuntimeViews_Get.json @@ -80,9 +79,8 @@ public async Task Exists_StandbyContainerGroupPoolRuntimeViewsGet() Console.WriteLine($"Succeeded: {result}"); } - // StandbyContainerGroupPoolRuntimeViews_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_StandbyContainerGroupPoolRuntimeViewsGet() { // Generated from example definition: 2024-03-01/StandbyContainerGroupPoolRuntimeViews_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_StandbyContainerGroupPoolRuntimeViewsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_StandbyContainerGroupPoolRuntimeViewsGet() } } - // StandbyContainerGroupPoolRuntimeViews_ListByStandbyPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_StandbyContainerGroupPoolRuntimeViewsListByStandbyPool() { // Generated from example definition: 2024-03-01/StandbyContainerGroupPoolRuntimeViews_ListByStandbyPool.json @@ -157,7 +154,7 @@ public async Task GetAll_StandbyContainerGroupPoolRuntimeViewsListByStandbyPool( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyContainerGroupPoolRuntimeViewResource.cs b/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyContainerGroupPoolRuntimeViewResource.cs index bc0954316f3a8..32a05043255a6 100644 --- a/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyContainerGroupPoolRuntimeViewResource.cs +++ b/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyContainerGroupPoolRuntimeViewResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.StandbyPool.Samples { public partial class Sample_StandbyContainerGroupPoolRuntimeViewResource { - // StandbyContainerGroupPoolRuntimeViews_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StandbyContainerGroupPoolRuntimeViewsGet() { // Generated from example definition: 2024-03-01/StandbyContainerGroupPoolRuntimeViews_Get.json diff --git a/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyVirtualMachineCollection.cs b/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyVirtualMachineCollection.cs index 9896d3711e519..e594218851015 100644 --- a/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyVirtualMachineCollection.cs +++ b/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyVirtualMachineCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.StandbyPool.Samples { public partial class Sample_StandbyVirtualMachineCollection { - // StandbyVirtualMachines_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StandbyVirtualMachinesGet() { // Generated from example definition: 2024-03-01/StandbyVirtualMachines_Get.json @@ -49,9 +49,8 @@ public async Task Get_StandbyVirtualMachinesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StandbyVirtualMachines_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_StandbyVirtualMachinesGet() { // Generated from example definition: 2024-03-01/StandbyVirtualMachines_Get.json @@ -80,9 +79,8 @@ public async Task Exists_StandbyVirtualMachinesGet() Console.WriteLine($"Succeeded: {result}"); } - // StandbyVirtualMachines_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_StandbyVirtualMachinesGet() { // Generated from example definition: 2024-03-01/StandbyVirtualMachines_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_StandbyVirtualMachinesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_StandbyVirtualMachinesGet() } } - // StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_StandbyVirtualMachinesListByStandbyVirtualMachinePoolResource() { // Generated from example definition: 2024-03-01/StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource.json @@ -157,7 +154,7 @@ public async Task GetAll_StandbyVirtualMachinesListByStandbyVirtualMachinePoolRe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyVirtualMachinePoolCollection.cs b/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyVirtualMachinePoolCollection.cs index 33165c202dfa0..0f8c4325d9378 100644 --- a/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyVirtualMachinePoolCollection.cs +++ b/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyVirtualMachinePoolCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.StandbyPool.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StandbyPool.Samples { public partial class Sample_StandbyVirtualMachinePoolCollection { - // StandbyVirtualMachinePools_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StandbyVirtualMachinePoolsGet() { // Generated from example definition: 2024-03-01/StandbyVirtualMachinePools_Get.json @@ -50,9 +50,8 @@ public async Task Get_StandbyVirtualMachinePoolsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StandbyVirtualMachinePools_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_StandbyVirtualMachinePoolsGet() { // Generated from example definition: 2024-03-01/StandbyVirtualMachinePools_Get.json @@ -80,9 +79,8 @@ public async Task Exists_StandbyVirtualMachinePoolsGet() Console.WriteLine($"Succeeded: {result}"); } - // StandbyVirtualMachinePools_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_StandbyVirtualMachinePoolsGet() { // Generated from example definition: 2024-03-01/StandbyVirtualMachinePools_Get.json @@ -110,7 +108,7 @@ public async Task GetIfExists_StandbyVirtualMachinePoolsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_StandbyVirtualMachinePoolsGet() } } - // StandbyVirtualMachinePools_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StandbyVirtualMachinePoolsCreateOrUpdate() { // Generated from example definition: 2024-03-01/StandbyVirtualMachinePools_CreateOrUpdate.json @@ -171,9 +168,8 @@ public async Task CreateOrUpdate_StandbyVirtualMachinePoolsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StandbyVirtualMachinePools_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_StandbyVirtualMachinePoolsListByResourceGroup() { // Generated from example definition: 2024-03-01/StandbyVirtualMachinePools_ListByResourceGroup.json @@ -204,7 +200,7 @@ public async Task GetAll_StandbyVirtualMachinePoolsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyVirtualMachinePoolResource.cs b/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyVirtualMachinePoolResource.cs index f8026216da9dd..f21b764baa31c 100644 --- a/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyVirtualMachinePoolResource.cs +++ b/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyVirtualMachinePoolResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.StandbyPool.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StandbyPool.Samples { public partial class Sample_StandbyVirtualMachinePoolResource { - // StandbyVirtualMachinePools_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StandbyVirtualMachinePoolsGet() { // Generated from example definition: 2024-03-01/StandbyVirtualMachinePools_Get.json @@ -47,9 +47,8 @@ public async Task Get_StandbyVirtualMachinePoolsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StandbyVirtualMachinePools_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_StandbyVirtualMachinePoolsDelete() { // Generated from example definition: 2024-03-01/StandbyVirtualMachinePools_Delete.json @@ -71,12 +70,11 @@ public async Task Delete_StandbyVirtualMachinePoolsDelete() // invoke the operation await standbyVirtualMachinePool.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StandbyVirtualMachinePools_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StandbyVirtualMachinePoolsUpdate() { // Generated from example definition: 2024-03-01/StandbyVirtualMachinePools_Update.json @@ -120,9 +118,8 @@ public async Task Update_StandbyVirtualMachinePoolsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StandbyVirtualMachinePools_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStandbyVirtualMachinePools_StandbyVirtualMachinePoolsListBySubscription() { // Generated from example definition: 2024-03-01/StandbyVirtualMachinePools_ListBySubscription.json @@ -149,7 +146,7 @@ public async Task GetStandbyVirtualMachinePools_StandbyVirtualMachinePoolsListBy Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyVirtualMachinePoolRuntimeViewCollection.cs b/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyVirtualMachinePoolRuntimeViewCollection.cs index 70e5526942b6b..2624ee38922cb 100644 --- a/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyVirtualMachinePoolRuntimeViewCollection.cs +++ b/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyVirtualMachinePoolRuntimeViewCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.StandbyPool.Samples { public partial class Sample_StandbyVirtualMachinePoolRuntimeViewCollection { - // StandbyVirtualMachinePoolRuntimeViews_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StandbyVirtualMachinePoolRuntimeViewsGet() { // Generated from example definition: 2024-03-01/StandbyVirtualMachinePoolRuntimeViews_Get.json @@ -49,9 +49,8 @@ public async Task Get_StandbyVirtualMachinePoolRuntimeViewsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StandbyVirtualMachinePoolRuntimeViews_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_StandbyVirtualMachinePoolRuntimeViewsGet() { // Generated from example definition: 2024-03-01/StandbyVirtualMachinePoolRuntimeViews_Get.json @@ -80,9 +79,8 @@ public async Task Exists_StandbyVirtualMachinePoolRuntimeViewsGet() Console.WriteLine($"Succeeded: {result}"); } - // StandbyVirtualMachinePoolRuntimeViews_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_StandbyVirtualMachinePoolRuntimeViewsGet() { // Generated from example definition: 2024-03-01/StandbyVirtualMachinePoolRuntimeViews_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_StandbyVirtualMachinePoolRuntimeViewsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_StandbyVirtualMachinePoolRuntimeViewsGet() } } - // StandbyVirtualMachinePoolRuntimeViews_ListByStandbyPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_StandbyVirtualMachinePoolRuntimeViewsListByStandbyPool() { // Generated from example definition: 2024-03-01/StandbyVirtualMachinePoolRuntimeViews_ListByStandbyPool.json @@ -157,7 +154,7 @@ public async Task GetAll_StandbyVirtualMachinePoolRuntimeViewsListByStandbyPool( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyVirtualMachinePoolRuntimeViewResource.cs b/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyVirtualMachinePoolRuntimeViewResource.cs index 6431d5f8699c9..781386ac5aff1 100644 --- a/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyVirtualMachinePoolRuntimeViewResource.cs +++ b/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyVirtualMachinePoolRuntimeViewResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.StandbyPool.Samples { public partial class Sample_StandbyVirtualMachinePoolRuntimeViewResource { - // StandbyVirtualMachinePoolRuntimeViews_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StandbyVirtualMachinePoolRuntimeViewsGet() { // Generated from example definition: 2024-03-01/StandbyVirtualMachinePoolRuntimeViews_Get.json diff --git a/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyVirtualMachineResource.cs b/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyVirtualMachineResource.cs index b7ee8c6133755..91f09d87285ce 100644 --- a/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyVirtualMachineResource.cs +++ b/sdk/standbypool/Azure.ResourceManager.StandbyPool/samples/Generated/Samples/Sample_StandbyVirtualMachineResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.StandbyPool.Samples { public partial class Sample_StandbyVirtualMachineResource { - // StandbyVirtualMachines_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StandbyVirtualMachinesGet() { // Generated from example definition: 2024-03-01/StandbyVirtualMachines_Get.json diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_BlobContainerCollection.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_BlobContainerCollection.cs index cdcab32ce76b5..eb47976324e9a 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_BlobContainerCollection.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_BlobContainerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_BlobContainerCollection { - // ListContainers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListContainers() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersList.json @@ -49,12 +49,11 @@ public async Task GetAll_ListContainers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListDeletedContainers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDeletedContainers() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/DeletedBlobContainersList.json @@ -87,12 +86,11 @@ public async Task GetAll_ListDeletedContainers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PutContainerWithDefaultEncryptionScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutContainerWithDefaultEncryptionScope() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersPutDefaultEncryptionScope.json @@ -131,9 +129,8 @@ public async Task CreateOrUpdate_PutContainerWithDefaultEncryptionScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PutContainerWithObjectLevelWorm - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutContainerWithObjectLevelWorm() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersPutObjectLevelWorm.json @@ -174,9 +171,8 @@ public async Task CreateOrUpdate_PutContainerWithObjectLevelWorm() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PutContainers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutContainers() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersPut.json @@ -211,9 +207,8 @@ public async Task CreateOrUpdate_PutContainers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetBlobContainersGetWithAllowProtectedAppendWritesAll - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetBlobContainersGetWithAllowProtectedAppendWritesAll() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json @@ -246,9 +241,8 @@ public async Task Get_GetBlobContainersGetWithAllowProtectedAppendWritesAll() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetBlobContainersGetWithAllowProtectedAppendWritesAll - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetBlobContainersGetWithAllowProtectedAppendWritesAll() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json @@ -277,9 +271,8 @@ public async Task Exists_GetBlobContainersGetWithAllowProtectedAppendWritesAll() Console.WriteLine($"Succeeded: {result}"); } - // GetBlobContainersGetWithAllowProtectedAppendWritesAll - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetBlobContainersGetWithAllowProtectedAppendWritesAll() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json @@ -308,7 +301,7 @@ public async Task GetIfExists_GetBlobContainersGetWithAllowProtectedAppendWrites if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -320,9 +313,8 @@ public async Task GetIfExists_GetBlobContainersGetWithAllowProtectedAppendWrites } } - // GetContainers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetContainers() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersGet.json @@ -355,9 +347,8 @@ public async Task Get_GetContainers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetContainers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetContainers() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersGet.json @@ -386,9 +377,8 @@ public async Task Exists_GetContainers() Console.WriteLine($"Succeeded: {result}"); } - // GetContainers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetContainers() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersGet.json @@ -417,7 +407,7 @@ public async Task GetIfExists_GetContainers() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_BlobContainerResource.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_BlobContainerResource.cs index 1123ba6ff3585..546f6a0fb5f9b 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_BlobContainerResource.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_BlobContainerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_BlobContainerResource { - // UpdateContainers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateContainers() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersPatch.json @@ -55,9 +55,8 @@ public async Task Update_UpdateContainers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetBlobContainersGetWithAllowProtectedAppendWritesAll - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetBlobContainersGetWithAllowProtectedAppendWritesAll() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json @@ -87,9 +86,8 @@ public async Task Get_GetBlobContainersGetWithAllowProtectedAppendWritesAll() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetContainers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetContainers() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersGet.json @@ -119,9 +117,8 @@ public async Task Get_GetContainers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteContainers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteContainers() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersDelete.json @@ -144,12 +141,11 @@ public async Task Delete_DeleteContainers() // invoke the operation await blobContainer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SetLegalHoldContainers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SetLegalHold_SetLegalHoldContainers() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersSetLegalHold.json @@ -179,9 +175,8 @@ public async Task SetLegalHold_SetLegalHoldContainers() Console.WriteLine($"Succeeded: {result}"); } - // SetLegalHoldContainersWithAllowProtectedAppendWritesAll - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SetLegalHold_SetLegalHoldContainersWithAllowProtectedAppendWritesAll() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json @@ -214,9 +209,8 @@ public async Task SetLegalHold_SetLegalHoldContainersWithAllowProtectedAppendWri Console.WriteLine($"Succeeded: {result}"); } - // ClearLegalHoldContainers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ClearLegalHold_ClearLegalHoldContainers() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersClearLegalHold.json @@ -246,9 +240,8 @@ public async Task ClearLegalHold_ClearLegalHoldContainers() Console.WriteLine($"Succeeded: {result}"); } - // Acquire a lease on a container - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Lease_AcquireALeaseOnAContainer() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersLease_Acquire.json @@ -281,9 +274,8 @@ public async Task Lease_AcquireALeaseOnAContainer() Console.WriteLine($"Succeeded: {result}"); } - // Break a lease on a container - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Lease_BreakALeaseOnAContainer() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersLease_Break.json @@ -316,9 +308,8 @@ public async Task Lease_BreakALeaseOnAContainer() Console.WriteLine($"Succeeded: {result}"); } - // VersionLevelWormContainerMigration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task EnableVersionLevelImmutability_VersionLevelWormContainerMigration() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/ObjectLevelWormContainerMigration.json @@ -341,7 +332,7 @@ public async Task EnableVersionLevelImmutability_VersionLevelWormContainerMigrat // invoke the operation await blobContainer.EnableVersionLevelImmutabilityAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_BlobInventoryPolicyResource.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_BlobInventoryPolicyResource.cs index 006d0418568d8..5791f2b314bf6 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_BlobInventoryPolicyResource.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_BlobInventoryPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_BlobInventoryPolicyResource { - // StorageAccountGetBlobInventoryPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGetBlobInventoryPolicy() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetBlobInventoryPolicy.json @@ -47,9 +47,8 @@ public async Task Get_StorageAccountGetBlobInventoryPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountSetBlobInventoryPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountSetBlobInventoryPolicy() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountSetBlobInventoryPolicy.json @@ -109,9 +108,8 @@ public async Task CreateOrUpdate_StorageAccountSetBlobInventoryPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json @@ -175,9 +173,8 @@ public async Task CreateOrUpdate_StorageAccountSetBlobInventoryPolicyIncludeDele Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json @@ -241,9 +238,8 @@ public async Task CreateOrUpdate_StorageAccountSetBlobInventoryPolicyIncludeDele Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountDeleteBlobInventoryPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_StorageAccountDeleteBlobInventoryPolicy() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountDeleteBlobInventoryPolicy.json @@ -266,7 +262,7 @@ public async Task Delete_StorageAccountDeleteBlobInventoryPolicy() // invoke the operation await blobInventoryPolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_BlobServiceResource.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_BlobServiceResource.cs index dafb2fe3337ae..42e80c0dc6bbd 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_BlobServiceResource.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_BlobServiceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_BlobServiceResource { - // BlobServicesPutAllowPermanentDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_BlobServicesPutAllowPermanentDelete() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobServicesPutAllowPermanentDelete.json @@ -57,9 +57,8 @@ public async Task CreateOrUpdate_BlobServicesPutAllowPermanentDelete() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BlobServicesPutLastAccessTimeBasedTracking - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_BlobServicesPutLastAccessTimeBasedTracking() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobServicesPutLastAccessTimeBasedTracking.json @@ -101,9 +100,8 @@ public async Task CreateOrUpdate_BlobServicesPutLastAccessTimeBasedTracking() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PutBlobServices - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutBlobServices() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobServicesPut.json @@ -188,9 +186,8 @@ public async Task CreateOrUpdate_PutBlobServices() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetBlobServices - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetBlobServices() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobServicesGet.json diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_DeletedAccountCollection.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_DeletedAccountCollection.cs index bbdb8a0873a2c..db31d61ee7543 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_DeletedAccountCollection.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_DeletedAccountCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_DeletedAccountCollection { - // DeletedAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DeletedAccountGet() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/DeletedAccountGet.json @@ -49,9 +49,8 @@ public async Task Get_DeletedAccountGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeletedAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DeletedAccountGet() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/DeletedAccountGet.json @@ -79,9 +78,8 @@ public async Task Exists_DeletedAccountGet() Console.WriteLine($"Succeeded: {result}"); } - // DeletedAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DeletedAccountGet() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/DeletedAccountGet.json @@ -109,7 +107,7 @@ public async Task GetIfExists_DeletedAccountGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_DeletedAccountResource.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_DeletedAccountResource.cs index ef98805ce523a..3e01d8230028b 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_DeletedAccountResource.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_DeletedAccountResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_DeletedAccountResource { - // DeletedAccountList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeletedAccounts_DeletedAccountList() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/DeletedAccountList.json @@ -44,12 +44,11 @@ public async Task GetDeletedAccounts_DeletedAccountList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DeletedAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DeletedAccountGet() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/DeletedAccountGet.json diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_EncryptionScopeCollection.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_EncryptionScopeCollection.cs index 62f1674beddfb..63df7e94711f7 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_EncryptionScopeCollection.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_EncryptionScopeCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_EncryptionScopeCollection { - // StorageAccountPutEncryptionScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountPutEncryptionScope() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountPutEncryptionScope.json @@ -51,9 +51,8 @@ public async Task CreateOrUpdate_StorageAccountPutEncryptionScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountPutEncryptionScopeWithInfrastructureEncryption - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountPutEncryptionScopeWithInfrastructureEncryption() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json @@ -91,9 +90,8 @@ public async Task CreateOrUpdate_StorageAccountPutEncryptionScopeWithInfrastruct Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountGetEncryptionScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGetEncryptionScope() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetEncryptionScope.json @@ -126,9 +124,8 @@ public async Task Get_StorageAccountGetEncryptionScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountGetEncryptionScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_StorageAccountGetEncryptionScope() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetEncryptionScope.json @@ -157,9 +154,8 @@ public async Task Exists_StorageAccountGetEncryptionScope() Console.WriteLine($"Succeeded: {result}"); } - // StorageAccountGetEncryptionScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_StorageAccountGetEncryptionScope() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetEncryptionScope.json @@ -188,7 +184,7 @@ public async Task GetIfExists_StorageAccountGetEncryptionScope() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -200,9 +196,8 @@ public async Task GetIfExists_StorageAccountGetEncryptionScope() } } - // StorageAccountEncryptionScopeList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_StorageAccountEncryptionScopeList() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountEncryptionScopeList.json @@ -234,7 +229,7 @@ public async Task GetAll_StorageAccountEncryptionScopeList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_EncryptionScopeResource.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_EncryptionScopeResource.cs index bf895e6a1b3db..b7c9ba89cc0f1 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_EncryptionScopeResource.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_EncryptionScopeResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_EncryptionScopeResource { - // StorageAccountPatchEncryptionScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StorageAccountPatchEncryptionScope() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountPatchEncryptionScope.json @@ -55,9 +55,8 @@ public async Task Update_StorageAccountPatchEncryptionScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountGetEncryptionScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGetEncryptionScope() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetEncryptionScope.json diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_FileServiceResource.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_FileServiceResource.cs index 822025f7898c8..e2b9b610ac956 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_FileServiceResource.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_FileServiceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_FileServiceResource { - // PutFileServices - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutFileServices() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileServicesPut.json @@ -90,9 +90,8 @@ public async Task CreateOrUpdate_PutFileServices() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PutFileServices_EnableSMBMultichannel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutFileServicesEnableSMBMultichannel() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileServicesPut_EnableSMBMultichannel.json @@ -129,9 +128,8 @@ public async Task CreateOrUpdate_PutFileServicesEnableSMBMultichannel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PutFileServices_EnableSecureSmbFeatures - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutFileServicesEnableSecureSmbFeatures() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileServicesPut_EnableSecureSmbFeatures.json @@ -171,9 +169,8 @@ public async Task CreateOrUpdate_PutFileServicesEnableSecureSmbFeatures() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetFileServices - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFileServices() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileServicesGet.json diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_FileShareCollection.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_FileShareCollection.cs index 8f0822135cb23..cc8e0a51ccbdc 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_FileShareCollection.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_FileShareCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_FileShareCollection { - // ListDeletedShares - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDeletedShares() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/DeletedFileSharesList.json @@ -50,12 +50,11 @@ public async Task GetAll_ListDeletedShares() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListShareSnapshots - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListShareSnapshots() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileShareSnapshotsList.json @@ -88,12 +87,11 @@ public async Task GetAll_ListShareSnapshots() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListShares - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListShares() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesList.json @@ -125,12 +123,11 @@ public async Task GetAll_ListShares() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create NFS Shares - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNFSShares() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesPut_NFS.json @@ -168,9 +165,8 @@ public async Task CreateOrUpdate_CreateNFSShares() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PutShares - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutShares() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesPut.json @@ -205,9 +201,8 @@ public async Task CreateOrUpdate_PutShares() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PutShares with Access Tier - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutSharesWithAccessTier() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesPut_AccessTier.json @@ -245,9 +240,8 @@ public async Task CreateOrUpdate_PutSharesWithAccessTier() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetShareStats - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetShareStats() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesGet_Stats.json @@ -281,9 +275,8 @@ public async Task Get_GetShareStats() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetShareStats - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetShareStats() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesGet_Stats.json @@ -313,9 +306,8 @@ public async Task Exists_GetShareStats() Console.WriteLine($"Succeeded: {result}"); } - // GetShareStats - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetShareStats() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesGet_Stats.json @@ -345,7 +337,7 @@ public async Task GetIfExists_GetShareStats() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -357,9 +349,8 @@ public async Task GetIfExists_GetShareStats() } } - // GetShares - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetShares() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesGet.json @@ -392,9 +383,8 @@ public async Task Get_GetShares() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetShares - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetShares() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesGet.json @@ -423,9 +413,8 @@ public async Task Exists_GetShares() Console.WriteLine($"Succeeded: {result}"); } - // GetShares - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetShares() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesGet.json @@ -454,7 +443,7 @@ public async Task GetIfExists_GetShares() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_FileShareResource.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_FileShareResource.cs index 8f583a01340dd..f59aaaf3a7924 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_FileShareResource.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_FileShareResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_FileShareResource { - // UpdateShareAcls - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateShareAcls() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileShareAclsPatch.json @@ -63,9 +63,8 @@ public async Task Update_UpdateShareAcls() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UpdateShares - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateShares() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesPatch.json @@ -102,9 +101,8 @@ public async Task Update_UpdateShares() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetShareStats - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetShareStats() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesGet_Stats.json @@ -135,9 +133,8 @@ public async Task Get_GetShareStats() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetShares - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetShares() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesGet.json @@ -167,9 +164,8 @@ public async Task Get_GetShares() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteShares - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteShares() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesDelete.json @@ -192,12 +188,11 @@ public async Task Delete_DeleteShares() // invoke the operation await fileShare.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RestoreShares - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restore_RestoreShares() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesRestore.json @@ -221,12 +216,11 @@ public async Task Restore_RestoreShares() DeletedShare deletedShare = new DeletedShare("share1249", "1234567890"); await fileShare.RestoreAsync(deletedShare); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Acquire a lease on a share - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Lease_AcquireALeaseOnAShare() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesLease_Acquire.json @@ -259,9 +253,8 @@ public async Task Lease_AcquireALeaseOnAShare() Console.WriteLine($"Succeeded: {result}"); } - // Break a lease on a share - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Lease_BreakALeaseOnAShare() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/FileSharesLease_Break.json diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_ImmutabilityPolicyResource.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_ImmutabilityPolicyResource.cs index 1107bd25c92fb..3e53d26104df7 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_ImmutabilityPolicyResource.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_ImmutabilityPolicyResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_ImmutabilityPolicyResource { - // CreateOrUpdateImmutabilityPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateImmutabilityPolicy() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersPutImmutabilityPolicy.json @@ -52,9 +52,8 @@ public async Task CreateOrUpdate_CreateOrUpdateImmutabilityPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdateImmutabilityPolicyWithAllowProtectedAppendWritesAll - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateImmutabilityPolicyWithAllowProtectedAppendWritesAll() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json @@ -90,9 +89,8 @@ public async Task CreateOrUpdate_CreateOrUpdateImmutabilityPolicyWithAllowProtec Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetImmutabilityPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetImmutabilityPolicy() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersGetImmutabilityPolicy.json @@ -122,9 +120,8 @@ public async Task Get_GetImmutabilityPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteImmutabilityPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteImmutabilityPolicy() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersDeleteImmutabilityPolicy.json @@ -156,9 +153,8 @@ public async Task Delete_DeleteImmutabilityPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LockImmutabilityPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task LockImmutabilityPolicy_LockImmutabilityPolicy() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersLockImmutabilityPolicy.json @@ -189,9 +185,8 @@ public async Task LockImmutabilityPolicy_LockImmutabilityPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExtendImmutabilityPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExtendImmutabilityPolicy_ExtendImmutabilityPolicy() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobContainersExtendImmutabilityPolicy.json diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationCollection.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationCollection.cs index 0e17c2c5631d5..e1c38df8fb403 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationCollection.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_NetworkSecurityPerimeterConfigurationCollection { - // NetworkSecurityPerimeterConfigurationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NetworkSecurityPerimeterConfigurationList() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/NetworkSecurityPerimeterConfigurationList.json @@ -48,12 +48,11 @@ public async Task GetAll_NetworkSecurityPerimeterConfigurationList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NetworkSecurityPerimeterConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkSecurityPerimeterConfigurationGet() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/NetworkSecurityPerimeterConfigurationGet.json @@ -86,9 +85,8 @@ public async Task Get_NetworkSecurityPerimeterConfigurationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkSecurityPerimeterConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NetworkSecurityPerimeterConfigurationGet() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/NetworkSecurityPerimeterConfigurationGet.json @@ -117,9 +115,8 @@ public async Task Exists_NetworkSecurityPerimeterConfigurationGet() Console.WriteLine($"Succeeded: {result}"); } - // NetworkSecurityPerimeterConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NetworkSecurityPerimeterConfigurationGet() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/NetworkSecurityPerimeterConfigurationGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_NetworkSecurityPerimeterConfigurationGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationResource.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationResource.cs index 8f0ed340e2c28..7b14285a7888e 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationResource.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_NetworkSecurityPerimeterConfigurationResource { - // NetworkSecurityPerimeterConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkSecurityPerimeterConfigurationGet() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/NetworkSecurityPerimeterConfigurationGet.json @@ -46,9 +46,8 @@ public async Task Get_NetworkSecurityPerimeterConfigurationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkSecurityPerimeterConfigurationReconcile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reconcile_NetworkSecurityPerimeterConfigurationReconcile() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/NetworkSecurityPerimeterConfigurationReconcile.json @@ -71,7 +70,7 @@ public async Task Reconcile_NetworkSecurityPerimeterConfigurationReconcile() // invoke the operation await networkSecurityPerimeterConfiguration.ReconcileAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_ObjectReplicationPolicyCollection.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_ObjectReplicationPolicyCollection.cs index 4fe7cf73582cd..edf4a8d2b996c 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_ObjectReplicationPolicyCollection.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_ObjectReplicationPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_ObjectReplicationPolicyCollection { - // StorageAccountListObjectReplicationPolicies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_StorageAccountListObjectReplicationPolicies() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountListObjectReplicationPolicies.json @@ -49,12 +49,11 @@ public async Task GetAll_StorageAccountListObjectReplicationPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StorageAccountGetObjectReplicationPolicies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGetObjectReplicationPolicies() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetObjectReplicationPolicy.json @@ -87,9 +86,8 @@ public async Task Get_StorageAccountGetObjectReplicationPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountGetObjectReplicationPolicies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_StorageAccountGetObjectReplicationPolicies() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetObjectReplicationPolicy.json @@ -118,9 +116,8 @@ public async Task Exists_StorageAccountGetObjectReplicationPolicies() Console.WriteLine($"Succeeded: {result}"); } - // StorageAccountGetObjectReplicationPolicies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_StorageAccountGetObjectReplicationPolicies() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetObjectReplicationPolicy.json @@ -149,7 +146,7 @@ public async Task GetIfExists_StorageAccountGetObjectReplicationPolicies() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_StorageAccountGetObjectReplicationPolicies() } } - // StorageAccountCreateObjectReplicationPolicyOnDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountCreateObjectReplicationPolicyOnDestination() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json @@ -215,9 +211,8 @@ public async Task CreateOrUpdate_StorageAccountCreateObjectReplicationPolicyOnDe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountCreateObjectReplicationPolicyOnSource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountCreateObjectReplicationPolicyOnSource() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountCreateObjectReplicationPolicyOnSource.json @@ -271,9 +266,8 @@ public async Task CreateOrUpdate_StorageAccountCreateObjectReplicationPolicyOnSo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountUpdateObjectReplicationPolicyOnDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountUpdateObjectReplicationPolicyOnDestination() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json @@ -326,9 +320,8 @@ public async Task CreateOrUpdate_StorageAccountUpdateObjectReplicationPolicyOnDe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountUpdateObjectReplicationPolicyOnSource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountUpdateObjectReplicationPolicyOnSource() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_ObjectReplicationPolicyResource.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_ObjectReplicationPolicyResource.cs index 89fe6e59ad3ae..823712029f9c9 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_ObjectReplicationPolicyResource.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_ObjectReplicationPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_ObjectReplicationPolicyResource { - // StorageAccountGetObjectReplicationPolicies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGetObjectReplicationPolicies() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetObjectReplicationPolicy.json @@ -47,9 +47,8 @@ public async Task Get_StorageAccountGetObjectReplicationPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountCreateObjectReplicationPolicyOnDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StorageAccountCreateObjectReplicationPolicyOnDestination() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json @@ -98,9 +97,8 @@ public async Task Update_StorageAccountCreateObjectReplicationPolicyOnDestinatio Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountCreateObjectReplicationPolicyOnSource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StorageAccountCreateObjectReplicationPolicyOnSource() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountCreateObjectReplicationPolicyOnSource.json @@ -151,9 +149,8 @@ public async Task Update_StorageAccountCreateObjectReplicationPolicyOnSource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountUpdateObjectReplicationPolicyOnDestination - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StorageAccountUpdateObjectReplicationPolicyOnDestination() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json @@ -203,9 +200,8 @@ public async Task Update_StorageAccountUpdateObjectReplicationPolicyOnDestinatio Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountUpdateObjectReplicationPolicyOnSource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StorageAccountUpdateObjectReplicationPolicyOnSource() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json @@ -258,9 +254,8 @@ public async Task Update_StorageAccountUpdateObjectReplicationPolicyOnSource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountDeleteObjectReplicationPolicies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_StorageAccountDeleteObjectReplicationPolicies() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountDeleteObjectReplicationPolicy.json @@ -283,7 +278,7 @@ public async Task Delete_StorageAccountDeleteObjectReplicationPolicies() // invoke the operation await objectReplicationPolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_QueueServiceResource.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_QueueServiceResource.cs index 5a94468246973..3900df70e80f1 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_QueueServiceResource.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_QueueServiceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_QueueServiceResource { - // QueueServicesPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_QueueServicesPut() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/QueueServicesPut.json @@ -90,9 +90,8 @@ public async Task CreateOrUpdate_QueueServicesPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QueueServicesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QueueServicesGet() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/QueueServicesGet.json diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountCollection.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountCollection.cs index 9b19cb64aca33..451f8b44f0227 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountCollection.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountCollection.cs @@ -13,14 +13,14 @@ using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_StorageAccountCollection { - // NfsV3AccountCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NfsV3AccountCreate() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/NfsV3AccountCreate.json @@ -71,9 +71,8 @@ public async Task CreateOrUpdate_NfsV3AccountCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountCreate() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountCreate.json @@ -150,9 +149,8 @@ public async Task CreateOrUpdate_StorageAccountCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountCreateAllowedCopyScopeToAAD - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountCreateAllowedCopyScopeToAAD() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountCreateAllowedCopyScopeToAAD.json @@ -224,9 +222,8 @@ public async Task CreateOrUpdate_StorageAccountCreateAllowedCopyScopeToAAD() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountCreateAllowedCopyScopeToPrivateLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountCreateAllowedCopyScopeToPrivateLink() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json @@ -298,9 +295,8 @@ public async Task CreateOrUpdate_StorageAccountCreateAllowedCopyScopeToPrivateLi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountCreateDisallowPublicNetworkAccess - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountCreateDisallowPublicNetworkAccess() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountCreateDisallowPublicNetworkAccess.json @@ -376,9 +372,8 @@ public async Task CreateOrUpdate_StorageAccountCreateDisallowPublicNetworkAccess Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountCreateDnsEndpointTypeToAzureDnsZone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountCreateDnsEndpointTypeToAzureDnsZone() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json @@ -456,9 +451,8 @@ public async Task CreateOrUpdate_StorageAccountCreateDnsEndpointTypeToAzureDnsZo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountCreateDnsEndpointTypeToStandard - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountCreateDnsEndpointTypeToStandard() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountCreateDnsEndpointTypeToStandard.json @@ -536,9 +530,8 @@ public async Task CreateOrUpdate_StorageAccountCreateDnsEndpointTypeToStandard() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountCreateEnablePublicNetworkAccess - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountCreateEnablePublicNetworkAccess() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountCreateEnablePublicNetworkAccess.json @@ -614,9 +607,8 @@ public async Task CreateOrUpdate_StorageAccountCreateEnablePublicNetworkAccess() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountCreatePremiumBlockBlobStorage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountCreatePremiumBlockBlobStorage() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountCreatePremiumBlockBlobStorage.json @@ -677,9 +669,8 @@ public async Task CreateOrUpdate_StorageAccountCreatePremiumBlockBlobStorage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountCreateUserAssignedEncryptionIdentityWithCMK - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountCreateUserAssignedEncryptionIdentityWithCMK() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json @@ -749,9 +740,8 @@ public async Task CreateOrUpdate_StorageAccountCreateUserAssignedEncryptionIdent Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json @@ -822,9 +812,8 @@ public async Task CreateOrUpdate_StorageAccountCreateUserAssignedIdentityWithFed Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountCreateWithImmutabilityPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountCreateWithImmutabilityPolicy() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountCreateWithImmutabilityPolicy.json @@ -874,9 +863,8 @@ public async Task CreateOrUpdate_StorageAccountCreateWithImmutabilityPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountGetAsyncSkuConversionStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGetAsyncSkuConversionStatus() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetAsyncSkuConversionStatus.json @@ -908,9 +896,8 @@ public async Task Get_StorageAccountGetAsyncSkuConversionStatus() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountGetAsyncSkuConversionStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_StorageAccountGetAsyncSkuConversionStatus() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetAsyncSkuConversionStatus.json @@ -938,9 +925,8 @@ public async Task Exists_StorageAccountGetAsyncSkuConversionStatus() Console.WriteLine($"Succeeded: {result}"); } - // StorageAccountGetAsyncSkuConversionStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_StorageAccountGetAsyncSkuConversionStatus() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetAsyncSkuConversionStatus.json @@ -968,7 +954,7 @@ public async Task GetIfExists_StorageAccountGetAsyncSkuConversionStatus() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -980,9 +966,8 @@ public async Task GetIfExists_StorageAccountGetAsyncSkuConversionStatus() } } - // StorageAccountGetProperties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGetProperties() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetProperties.json @@ -1014,9 +999,8 @@ public async Task Get_StorageAccountGetProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountGetProperties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_StorageAccountGetProperties() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetProperties.json @@ -1044,9 +1028,8 @@ public async Task Exists_StorageAccountGetProperties() Console.WriteLine($"Succeeded: {result}"); } - // StorageAccountGetProperties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_StorageAccountGetProperties() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetProperties.json @@ -1074,7 +1057,7 @@ public async Task GetIfExists_StorageAccountGetProperties() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1086,9 +1069,8 @@ public async Task GetIfExists_StorageAccountGetProperties() } } - // StorageAccountGetPropertiesCMKEnabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGetPropertiesCMKEnabled() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetPropertiesCMKEnabled.json @@ -1120,9 +1102,8 @@ public async Task Get_StorageAccountGetPropertiesCMKEnabled() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountGetPropertiesCMKEnabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_StorageAccountGetPropertiesCMKEnabled() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetPropertiesCMKEnabled.json @@ -1150,9 +1131,8 @@ public async Task Exists_StorageAccountGetPropertiesCMKEnabled() Console.WriteLine($"Succeeded: {result}"); } - // StorageAccountGetPropertiesCMKEnabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_StorageAccountGetPropertiesCMKEnabled() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetPropertiesCMKEnabled.json @@ -1180,7 +1160,7 @@ public async Task GetIfExists_StorageAccountGetPropertiesCMKEnabled() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1192,9 +1172,8 @@ public async Task GetIfExists_StorageAccountGetPropertiesCMKEnabled() } } - // StorageAccountGetPropertiesCMKVersionExpirationTime - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGetPropertiesCMKVersionExpirationTime() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json @@ -1226,9 +1205,8 @@ public async Task Get_StorageAccountGetPropertiesCMKVersionExpirationTime() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountGetPropertiesCMKVersionExpirationTime - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_StorageAccountGetPropertiesCMKVersionExpirationTime() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json @@ -1256,9 +1234,8 @@ public async Task Exists_StorageAccountGetPropertiesCMKVersionExpirationTime() Console.WriteLine($"Succeeded: {result}"); } - // StorageAccountGetPropertiesCMKVersionExpirationTime - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_StorageAccountGetPropertiesCMKVersionExpirationTime() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json @@ -1286,7 +1263,7 @@ public async Task GetIfExists_StorageAccountGetPropertiesCMKVersionExpirationTim if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1298,9 +1275,8 @@ public async Task GetIfExists_StorageAccountGetPropertiesCMKVersionExpirationTim } } - // StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse.json @@ -1333,9 +1309,8 @@ public async Task Get_StorageAccountGetPropertiesGeoReplicationStatscanFailoverF Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse.json @@ -1364,9 +1339,8 @@ public async Task Exists_StorageAccountGetPropertiesGeoReplicationStatscanFailov Console.WriteLine($"Succeeded: {result}"); } - // StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse.json @@ -1395,7 +1369,7 @@ public async Task GetIfExists_StorageAccountGetPropertiesGeoReplicationStatscanF if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1407,9 +1381,8 @@ public async Task GetIfExists_StorageAccountGetPropertiesGeoReplicationStatscanF } } - // StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue.json @@ -1442,9 +1415,8 @@ public async Task Get_StorageAccountGetPropertiesGeoReplicationStatscanFailoverT Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue.json @@ -1473,9 +1445,8 @@ public async Task Exists_StorageAccountGetPropertiesGeoReplicationStatscanFailov Console.WriteLine($"Succeeded: {result}"); } - // StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue.json @@ -1504,7 +1475,7 @@ public async Task GetIfExists_StorageAccountGetPropertiesGeoReplicationStatscanF if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1516,9 +1487,8 @@ public async Task GetIfExists_StorageAccountGetPropertiesGeoReplicationStatscanF } } - // StorageAccountListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_StorageAccountListByResourceGroup() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountListByResourceGroup.json @@ -1549,7 +1519,7 @@ public async Task GetAll_StorageAccountListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountLocalUserCollection.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountLocalUserCollection.cs index ec6ba1f70f0cf..f72c9cffd2b00 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountLocalUserCollection.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountLocalUserCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_StorageAccountLocalUserCollection { - // ListLocalUsers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListLocalUsers() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/LocalUsersList.json @@ -49,12 +49,11 @@ public async Task GetAll_ListLocalUsers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListNFSv3EnabledLocalUsers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListNFSv3EnabledLocalUsers() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/LocalUsersListNFSv3Enabled.json @@ -87,12 +86,11 @@ public async Task GetAll_ListNFSv3EnabledLocalUsers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetLocalUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetLocalUser() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/LocalUserGet.json @@ -125,9 +123,8 @@ public async Task Get_GetLocalUser() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetLocalUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetLocalUser() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/LocalUserGet.json @@ -156,9 +153,8 @@ public async Task Exists_GetLocalUser() Console.WriteLine($"Succeeded: {result}"); } - // GetLocalUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetLocalUser() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/LocalUserGet.json @@ -187,7 +183,7 @@ public async Task GetIfExists_GetLocalUser() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -199,9 +195,8 @@ public async Task GetIfExists_GetLocalUser() } } - // CreateLocalUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateLocalUser() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/LocalUserCreate.json @@ -254,9 +249,8 @@ public async Task CreateOrUpdate_CreateLocalUser() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateNFSv3EnabledLocalUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNFSv3EnabledLocalUser() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/LocalUserCreateNFSv3Enabled.json @@ -298,9 +292,8 @@ public async Task CreateOrUpdate_CreateNFSv3EnabledLocalUser() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UpdateLocalUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateLocalUser() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/LocalUserUpdate.json diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountLocalUserResource.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountLocalUserResource.cs index 3ca7b8f491cf8..987a2b34ebf5d 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountLocalUserResource.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountLocalUserResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_StorageAccountLocalUserResource { - // GetLocalUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetLocalUser() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/LocalUserGet.json @@ -47,9 +47,8 @@ public async Task Get_GetLocalUser() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateLocalUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateLocalUser() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/LocalUserCreate.json @@ -99,9 +98,8 @@ public async Task Update_CreateLocalUser() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateNFSv3EnabledLocalUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateNFSv3EnabledLocalUser() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/LocalUserCreateNFSv3Enabled.json @@ -140,9 +138,8 @@ public async Task Update_CreateNFSv3EnabledLocalUser() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UpdateLocalUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateLocalUser() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/LocalUserUpdate.json @@ -187,9 +184,8 @@ public async Task Update_UpdateLocalUser() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteLocalUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteLocalUser() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/LocalUserDelete.json @@ -212,12 +208,11 @@ public async Task Delete_DeleteLocalUser() // invoke the operation await storageAccountLocalUser.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListLocalUserKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_ListLocalUserKeys() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/LocalUserListKeys.json @@ -243,9 +238,8 @@ public async Task GetKeys_ListLocalUserKeys() Console.WriteLine($"Succeeded: {result}"); } - // RegenerateLocalUserPassword - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegeneratePassword_RegenerateLocalUserPassword() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/LocalUserRegeneratePassword.json diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountManagementPolicyResource.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountManagementPolicyResource.cs index a96940c4bf24f..26b1f520c9bdc 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountManagementPolicyResource.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountManagementPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_StorageAccountManagementPolicyResource { - // StorageAccountGetManagementPolicies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGetManagementPolicies() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetManagementPolicy.json @@ -47,9 +47,8 @@ public async Task Get_StorageAccountGetManagementPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountSetManagementPolicies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountSetManagementPolicies() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountSetManagementPolicy.json @@ -159,9 +158,8 @@ public async Task CreateOrUpdate_StorageAccountSetManagementPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountSetManagementPolicyColdTierActions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountSetManagementPolicyColdTierActions() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountSetManagementPolicyColdTierActions.json @@ -245,9 +243,8 @@ public async Task CreateOrUpdate_StorageAccountSetManagementPolicyColdTierAction Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountSetManagementPolicyForBlockAndAppendBlobs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountSetManagementPolicyForBlockAndAppendBlobs() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json @@ -317,9 +314,8 @@ public async Task CreateOrUpdate_StorageAccountSetManagementPolicyForBlockAndApp Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountSetManagementPolicyHotTierActions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountSetManagementPolicyHotTierActions() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountSetManagementPolicyHotTierActions.json @@ -389,9 +385,8 @@ public async Task CreateOrUpdate_StorageAccountSetManagementPolicyHotTierActions Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountSetManagementPolicyWithSnapshotAndVersion - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountSetManagementPolicyWithSnapshotAndVersion() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json @@ -473,9 +468,8 @@ public async Task CreateOrUpdate_StorageAccountSetManagementPolicyWithSnapshotAn Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountSetManagementPolicyBaseBlobDaysAfterCreationActions() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json @@ -545,9 +539,8 @@ public async Task CreateOrUpdate_StorageAccountSetManagementPolicyBaseBlobDaysAf Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountSetManagementPolicyLastAccessTimeBasedBlobActions() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json @@ -622,9 +615,8 @@ public async Task CreateOrUpdate_StorageAccountSetManagementPolicyLastAccessTime Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountSetManagementPolicy_LastTierChangeTimeActions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountSetManagementPolicyLastTierChangeTimeActions() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json @@ -709,9 +701,8 @@ public async Task CreateOrUpdate_StorageAccountSetManagementPolicyLastTierChange Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountDeleteManagementPolicies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_StorageAccountDeleteManagementPolicies() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountDeleteManagementPolicy.json @@ -734,7 +725,7 @@ public async Task Delete_StorageAccountDeleteManagementPolicies() // invoke the operation await storageAccountManagementPolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountMigrationCollection.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountMigrationCollection.cs index 07624a58f722a..ff4119c8c0c06 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountMigrationCollection.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountMigrationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_StorageAccountMigrationCollection { - // StorageAccountGetMigrationFailed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGetMigrationFailed() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetMigrationFailed.json @@ -50,9 +50,8 @@ public async Task Get_StorageAccountGetMigrationFailed() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountGetMigrationFailed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_StorageAccountGetMigrationFailed() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetMigrationFailed.json @@ -81,9 +80,8 @@ public async Task Exists_StorageAccountGetMigrationFailed() Console.WriteLine($"Succeeded: {result}"); } - // StorageAccountGetMigrationFailed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_StorageAccountGetMigrationFailed() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetMigrationFailed.json @@ -112,7 +110,7 @@ public async Task GetIfExists_StorageAccountGetMigrationFailed() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_StorageAccountGetMigrationFailed() } } - // StorageAccountGetMigrationInProgress - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGetMigrationInProgress() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetMigrationInProgress.json @@ -159,9 +156,8 @@ public async Task Get_StorageAccountGetMigrationInProgress() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountGetMigrationInProgress - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_StorageAccountGetMigrationInProgress() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetMigrationInProgress.json @@ -190,9 +186,8 @@ public async Task Exists_StorageAccountGetMigrationInProgress() Console.WriteLine($"Succeeded: {result}"); } - // StorageAccountGetMigrationInProgress - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_StorageAccountGetMigrationInProgress() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetMigrationInProgress.json @@ -221,7 +216,7 @@ public async Task GetIfExists_StorageAccountGetMigrationInProgress() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountMigrationResource.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountMigrationResource.cs index 3a531b6ff91fb..c4ac629f48495 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountMigrationResource.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountMigrationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_StorageAccountMigrationResource { - // StorageAccountGetMigrationFailed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGetMigrationFailed() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetMigrationFailed.json @@ -47,9 +47,8 @@ public async Task Get_StorageAccountGetMigrationFailed() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountGetMigrationInProgress - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGetMigrationInProgress() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetMigrationInProgress.json diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountResource.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountResource.cs index 2e3fc1e4579f2..7d40cefd154cd 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountResource.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageAccountResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_StorageAccountResource { - // StorageAccountCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckStorageAccountNameAvailability_StorageAccountCheckNameAvailability() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountCheckNameAvailability.json @@ -43,9 +43,8 @@ public async Task CheckStorageAccountNameAvailability_StorageAccountCheckNameAva Console.WriteLine($"Succeeded: {result}"); } - // StorageAccountDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_StorageAccountDelete() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountDelete.json @@ -67,12 +66,11 @@ public async Task Delete_StorageAccountDelete() // invoke the operation await storageAccount.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StorageAccountGetAsyncSkuConversionStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGetAsyncSkuConversionStatus() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetAsyncSkuConversionStatus.json @@ -101,9 +99,8 @@ public async Task Get_StorageAccountGetAsyncSkuConversionStatus() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountGetProperties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGetProperties() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetProperties.json @@ -132,9 +129,8 @@ public async Task Get_StorageAccountGetProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountGetPropertiesCMKEnabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGetPropertiesCMKEnabled() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetPropertiesCMKEnabled.json @@ -163,9 +159,8 @@ public async Task Get_StorageAccountGetPropertiesCMKEnabled() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountGetPropertiesCMKVersionExpirationTime - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGetPropertiesCMKVersionExpirationTime() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json @@ -194,9 +189,8 @@ public async Task Get_StorageAccountGetPropertiesCMKVersionExpirationTime() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse.json @@ -226,9 +220,8 @@ public async Task Get_StorageAccountGetPropertiesGeoReplicationStatscanFailoverF Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue.json @@ -258,9 +251,8 @@ public async Task Get_StorageAccountGetPropertiesGeoReplicationStatscanFailoverT Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountEnableAD - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StorageAccountEnableAD() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountEnableAD.json @@ -304,9 +296,8 @@ public async Task Update_StorageAccountEnableAD() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountEnableCMK - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StorageAccountEnableCMK() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountEnableCMK.json @@ -361,9 +352,8 @@ public async Task Update_StorageAccountEnableCMK() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StorageAccountUpdate() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountUpdate.json @@ -438,9 +428,8 @@ public async Task Update_StorageAccountUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountUpdateAllowedCopyScopeToAAD - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StorageAccountUpdateAllowedCopyScopeToAAD() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountUpdateAllowedCopyScopeToAAD.json @@ -512,9 +501,8 @@ public async Task Update_StorageAccountUpdateAllowedCopyScopeToAAD() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountUpdateDisablePublicNetworkAccess - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StorageAccountUpdateDisablePublicNetworkAccess() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountUpdateDisablePublicNetworkAccess.json @@ -586,9 +574,8 @@ public async Task Update_StorageAccountUpdateDisablePublicNetworkAccess() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json @@ -656,9 +643,8 @@ public async Task Update_StorageAccountUpdateUserAssignedEncryptionIdentityWithC Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json @@ -727,9 +713,8 @@ public async Task Update_StorageAccountUpdateUserAssignedIdentityWithFederatedId Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountUpdateWithImmutabilityPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StorageAccountUpdateWithImmutabilityPolicy() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountUpdateWithImmutabilityPolicy.json @@ -771,9 +756,8 @@ public async Task Update_StorageAccountUpdateWithImmutabilityPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStorageAccounts_StorageAccountList() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountList.json @@ -800,12 +784,11 @@ public async Task GetStorageAccounts_StorageAccountList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StorageAccountListKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_StorageAccountListKeys() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountListKeys.json @@ -830,12 +813,11 @@ public async Task GetKeys_StorageAccountListKeys() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StorageAccountRegenerateKerbKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKey_StorageAccountRegenerateKerbKey() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountRegenerateKerbKey.json @@ -861,12 +843,11 @@ public async Task RegenerateKey_StorageAccountRegenerateKerbKey() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StorageAccountRegenerateKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKey_StorageAccountRegenerateKey() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountRegenerateKey.json @@ -892,12 +873,11 @@ public async Task RegenerateKey_StorageAccountRegenerateKey() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StorageAccountListAccountSAS - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAccountSas_StorageAccountListAccountSAS() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountListAccountSAS.json @@ -928,9 +908,8 @@ public async Task GetAccountSas_StorageAccountListAccountSAS() Console.WriteLine($"Succeeded: {result}"); } - // StorageAccountListServiceSAS - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetServiceSas_StorageAccountListServiceSAS() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountListServiceSAS.json @@ -961,9 +940,8 @@ public async Task GetServiceSas_StorageAccountListServiceSAS() Console.WriteLine($"Succeeded: {result}"); } - // StorageAccountFailover - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Failover_StorageAccountFailover() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountFailover.json @@ -985,12 +963,11 @@ public async Task Failover_StorageAccountFailover() // invoke the operation await storageAccount.FailoverAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StorageAccountFailoverPlanned - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Failover_StorageAccountFailoverPlanned() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountFailoverPlanned.json @@ -1013,12 +990,11 @@ public async Task Failover_StorageAccountFailoverPlanned() StorageAccountFailoverType? failoverType = StorageAccountFailoverType.Planned; await storageAccount.FailoverAsync(WaitUntil.Completed, failoverType: failoverType); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StorageAccountHierarchicalNamespaceMigration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task EnableHierarchicalNamespace_StorageAccountHierarchicalNamespaceMigration() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountHierarchicalNamespaceMigration.json @@ -1041,12 +1017,11 @@ public async Task EnableHierarchicalNamespace_StorageAccountHierarchicalNamespac string requestType = "HnsOnValidationRequest"; await storageAccount.EnableHierarchicalNamespaceAsync(WaitUntil.Completed, requestType); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StorageAccountAbortHierarchicalNamespaceMigration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AbortHierarchicalNamespaceMigration_StorageAccountAbortHierarchicalNamespaceMigration() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountAbortHierarchicalNamespaceMigration.json @@ -1068,12 +1043,11 @@ public async Task AbortHierarchicalNamespaceMigration_StorageAccountAbortHierarc // invoke the operation await storageAccount.AbortHierarchicalNamespaceMigrationAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StorageAccountPostMigration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CustomerInitiatedMigration_StorageAccountPostMigration() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountPostMigration.json @@ -1096,12 +1070,11 @@ public async Task CustomerInitiatedMigration_StorageAccountPostMigration() StorageAccountMigrationData data = new StorageAccountMigrationData(StorageSkuName.StandardZrs); await storageAccount.CustomerInitiatedMigrationAsync(WaitUntil.Completed, data); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BlobRangesRestore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RestoreBlobRanges_BlobRangesRestore() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/BlobRangesRestore.json @@ -1131,9 +1104,8 @@ public async Task RestoreBlobRanges_BlobRangesRestore() Console.WriteLine($"Succeeded: {result}"); } - // StorageAccountRevokeUserDelegationKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RevokeUserDelegationKeys_StorageAccountRevokeUserDelegationKeys() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountRevokeUserDelegationKeys.json @@ -1155,12 +1127,11 @@ public async Task RevokeUserDelegationKeys_StorageAccountRevokeUserDelegationKey // invoke the operation await storageAccount.RevokeUserDelegationKeysAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StorageAccountListPrivateLinkResources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinkResources_StorageAccountListPrivateLinkResources() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountListPrivateLinkResources.json @@ -1185,12 +1156,11 @@ public async Task GetPrivateLinkResources_StorageAccountListPrivateLinkResources Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListStorageTaskAssignmentsInstancesReportSummary - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStorageTaskAssignmentsInstancesReports_ListStorageTaskAssignmentsInstancesReportSummary() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsInstancesReportSummary.json @@ -1215,7 +1185,7 @@ public async Task GetStorageTaskAssignmentsInstancesReports_ListStorageTaskAssig Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StoragePrivateEndpointConnectionCollection.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StoragePrivateEndpointConnectionCollection.cs index aa63f46f23a10..c16e401f7e4c8 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StoragePrivateEndpointConnectionCollection.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StoragePrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_StoragePrivateEndpointConnectionCollection { - // StorageAccountListPrivateEndpointConnections - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_StorageAccountListPrivateEndpointConnections() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountListPrivateEndpointConnections.json @@ -49,12 +49,11 @@ public async Task GetAll_StorageAccountListPrivateEndpointConnections() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StorageAccountGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGetPrivateEndpointConnection() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetPrivateEndpointConnection.json @@ -87,9 +86,8 @@ public async Task Get_StorageAccountGetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_StorageAccountGetPrivateEndpointConnection() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetPrivateEndpointConnection.json @@ -118,9 +116,8 @@ public async Task Exists_StorageAccountGetPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // StorageAccountGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_StorageAccountGetPrivateEndpointConnection() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetPrivateEndpointConnection.json @@ -149,7 +146,7 @@ public async Task GetIfExists_StorageAccountGetPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_StorageAccountGetPrivateEndpointConnection() } } - // StorageAccountPutPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountPutPrivateEndpointConnection() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountPutPrivateEndpointConnection.json diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StoragePrivateEndpointConnectionResource.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StoragePrivateEndpointConnectionResource.cs index d5d768b457bd9..d50df750f569c 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StoragePrivateEndpointConnectionResource.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StoragePrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_StoragePrivateEndpointConnectionResource { - // StorageAccountGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGetPrivateEndpointConnection() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountGetPrivateEndpointConnection.json @@ -47,9 +47,8 @@ public async Task Get_StorageAccountGetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountPutPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StorageAccountPutPrivateEndpointConnection() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountPutPrivateEndpointConnection.json @@ -88,9 +87,8 @@ public async Task Update_StorageAccountPutPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountDeletePrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_StorageAccountDeletePrivateEndpointConnection() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountDeletePrivateEndpointConnection.json @@ -113,7 +111,7 @@ public async Task Delete_StorageAccountDeletePrivateEndpointConnection() // invoke the operation await storagePrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageQueueCollection.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageQueueCollection.cs index 157a51c13e127..137d4bbf3b4f0 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageQueueCollection.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageQueueCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_StorageQueueCollection { - // QueueOperationPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_QueueOperationPut() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/QueueOperationPut.json @@ -51,9 +51,8 @@ public async Task CreateOrUpdate_QueueOperationPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QueueOperationPutWithMetadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_QueueOperationPutWithMetadata() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/QueueOperationPutWithMetadata.json @@ -95,9 +94,8 @@ public async Task CreateOrUpdate_QueueOperationPutWithMetadata() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QueueOperationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QueueOperationGet() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/QueueOperationGet.json @@ -130,9 +128,8 @@ public async Task Get_QueueOperationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QueueOperationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_QueueOperationGet() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/QueueOperationGet.json @@ -161,9 +158,8 @@ public async Task Exists_QueueOperationGet() Console.WriteLine($"Succeeded: {result}"); } - // QueueOperationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_QueueOperationGet() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/QueueOperationGet.json @@ -192,7 +188,7 @@ public async Task GetIfExists_QueueOperationGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -204,9 +200,8 @@ public async Task GetIfExists_QueueOperationGet() } } - // QueueOperationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_QueueOperationList() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/QueueOperationList.json @@ -238,7 +233,7 @@ public async Task GetAll_QueueOperationList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageQueueResource.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageQueueResource.cs index efd373d4919ce..0d9b48de78c7e 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageQueueResource.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageQueueResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_StorageQueueResource { - // QueueOperationPatch - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_QueueOperationPatch() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/QueueOperationPatch.json @@ -47,9 +47,8 @@ public async Task Update_QueueOperationPatch() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QueueOperationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QueueOperationGet() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/QueueOperationGet.json @@ -79,9 +78,8 @@ public async Task Get_QueueOperationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QueueOperationDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_QueueOperationDelete() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/QueueOperationDelete.json @@ -104,7 +102,7 @@ public async Task Delete_QueueOperationDelete() // invoke the operation await storageQueue.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageTaskAssignmentCollection.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageTaskAssignmentCollection.cs index 38f4f7e376195..e5523833f5c6d 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageTaskAssignmentCollection.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageTaskAssignmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_StorageTaskAssignmentCollection { - // PutStorageTaskAssignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutStorageTaskAssignment() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignment.json @@ -67,9 +67,8 @@ public async Task CreateOrUpdate_PutStorageTaskAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PutStorageTaskAssignmentRequiredProperties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutStorageTaskAssignmentRequiredProperties() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json @@ -107,9 +106,8 @@ public async Task CreateOrUpdate_PutStorageTaskAssignmentRequiredProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetStorageTaskAssignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetStorageTaskAssignment() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/storageTaskAssignmentsCrud/GetStorageTaskAssignment.json @@ -142,9 +140,8 @@ public async Task Get_GetStorageTaskAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetStorageTaskAssignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetStorageTaskAssignment() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/storageTaskAssignmentsCrud/GetStorageTaskAssignment.json @@ -173,9 +170,8 @@ public async Task Exists_GetStorageTaskAssignment() Console.WriteLine($"Succeeded: {result}"); } - // GetStorageTaskAssignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetStorageTaskAssignment() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/storageTaskAssignmentsCrud/GetStorageTaskAssignment.json @@ -204,7 +200,7 @@ public async Task GetIfExists_GetStorageTaskAssignment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -216,9 +212,8 @@ public async Task GetIfExists_GetStorageTaskAssignment() } } - // ListStorageTaskAssignmentsForAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListStorageTaskAssignmentsForAccount() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsForAccount.json @@ -250,7 +245,7 @@ public async Task GetAll_ListStorageTaskAssignmentsForAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageTaskAssignmentResource.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageTaskAssignmentResource.cs index 463404dfa5e22..577ee6f049da9 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageTaskAssignmentResource.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_StorageTaskAssignmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_StorageTaskAssignmentResource { - // PatchStorageTaskAssignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchStorageTaskAssignment() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/storageTaskAssignmentsCrud/PatchStorageTaskAssignment.json @@ -78,9 +78,8 @@ public async Task Update_PatchStorageTaskAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetStorageTaskAssignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetStorageTaskAssignment() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/storageTaskAssignmentsCrud/GetStorageTaskAssignment.json @@ -110,9 +109,8 @@ public async Task Get_GetStorageTaskAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteStorageTaskAssignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteStorageTaskAssignment() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/storageTaskAssignmentsCrud/DeleteStorageTaskAssignment.json @@ -135,12 +133,11 @@ public async Task Delete_DeleteStorageTaskAssignment() // invoke the operation await storageTaskAssignment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListStorageTaskAssignmentInstancesReportSummary - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStorageTaskAssignmentInstancesReports_ListStorageTaskAssignmentInstancesReportSummary() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentInstancesReportSummary.json @@ -166,7 +163,7 @@ public async Task GetStorageTaskAssignmentInstancesReports_ListStorageTaskAssign Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index c3fda651faf4c..c0363615e328f 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_SubscriptionResourceExtensions { - // SkuList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSkus_SkuList() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/SKUList.json @@ -41,12 +41,11 @@ public async Task GetSkus_SkuList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // UsageList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsagesByLocation_UsageList() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/StorageAccountListLocationUsage.json @@ -70,7 +69,7 @@ public async Task GetUsagesByLocation_UsageList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_TableCollection.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_TableCollection.cs index 2306fb4805ddd..41bf170bec4db 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_TableCollection.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_TableCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_TableCollection { - // TableOperationPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TableOperationPut() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/TableOperationPut.json @@ -52,9 +52,8 @@ public async Task CreateOrUpdate_TableOperationPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TableOperationPutOrPatchAcls - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TableOperationPutOrPatchAcls() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/TableOperationPutOrPatchAcls.json @@ -109,9 +108,8 @@ public async Task CreateOrUpdate_TableOperationPutOrPatchAcls() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TableOperationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TableOperationGet() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/TableOperationGet.json @@ -144,9 +142,8 @@ public async Task Get_TableOperationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TableOperationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_TableOperationGet() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/TableOperationGet.json @@ -175,9 +172,8 @@ public async Task Exists_TableOperationGet() Console.WriteLine($"Succeeded: {result}"); } - // TableOperationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TableOperationGet() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/TableOperationGet.json @@ -206,7 +202,7 @@ public async Task GetIfExists_TableOperationGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -218,9 +214,8 @@ public async Task GetIfExists_TableOperationGet() } } - // TableOperationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_TableOperationList() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/TableOperationList.json @@ -252,7 +247,7 @@ public async Task GetAll_TableOperationList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_TableResource.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_TableResource.cs index 08ac31fe37f1a..b140a57035e15 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_TableResource.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_TableResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_TableResource { - // TableOperationPatch - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TableOperationPatch() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/TableOperationPatch.json @@ -48,9 +48,8 @@ public async Task Update_TableOperationPatch() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TableOperationPutOrPatchAcls - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TableOperationPutOrPatchAcls() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/TableOperationPutOrPatchAcls.json @@ -101,9 +100,8 @@ public async Task Update_TableOperationPutOrPatchAcls() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TableOperationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TableOperationGet() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/TableOperationGet.json @@ -133,9 +131,8 @@ public async Task Get_TableOperationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TableOperationDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_TableOperationDelete() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/TableOperationDelete.json @@ -158,7 +155,7 @@ public async Task Delete_TableOperationDelete() // invoke the operation await table.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_TableServiceResource.cs b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_TableServiceResource.cs index 3507cb59e8ba4..cb2210765d77c 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_TableServiceResource.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/samples/Generated/Samples/Sample_TableServiceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Storage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Storage.Samples { public partial class Sample_TableServiceResource { - // TableServicesPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TableServicesPut() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/TableServicesPut.json @@ -90,9 +90,8 @@ public async Task CreateOrUpdate_TableServicesPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TableServicesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TableServicesGet() { // Generated from example definition: specification/storage/resource-manager/Microsoft.Storage/stable/2023-05-01/examples/TableServicesGet.json diff --git a/sdk/storageactions/Azure.ResourceManager.StorageActions/samples/Generated/Samples/Sample_StorageTaskCollection.cs b/sdk/storageactions/Azure.ResourceManager.StorageActions/samples/Generated/Samples/Sample_StorageTaskCollection.cs index 5964af610b00b..91964e2c33585 100644 --- a/sdk/storageactions/Azure.ResourceManager.StorageActions/samples/Generated/Samples/Sample_StorageTaskCollection.cs +++ b/sdk/storageactions/Azure.ResourceManager.StorageActions/samples/Generated/Samples/Sample_StorageTaskCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.StorageActions.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StorageActions.Samples { public partial class Sample_StorageTaskCollection { - // PutStorageTask - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutStorageTask() { // Generated from example definition: specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksCrud/PutStorageTask.json @@ -74,9 +74,8 @@ public async Task CreateOrUpdate_PutStorageTask() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetStorageTask - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetStorageTask() { // Generated from example definition: specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksCrud/GetStorageTask.json @@ -108,9 +107,8 @@ public async Task Get_GetStorageTask() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetStorageTask - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetStorageTask() { // Generated from example definition: specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksCrud/GetStorageTask.json @@ -138,9 +136,8 @@ public async Task Exists_GetStorageTask() Console.WriteLine($"Succeeded: {result}"); } - // GetStorageTask - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetStorageTask() { // Generated from example definition: specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksCrud/GetStorageTask.json @@ -168,7 +165,7 @@ public async Task GetIfExists_GetStorageTask() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -180,9 +177,8 @@ public async Task GetIfExists_GetStorageTask() } } - // ListStorageTasksByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListStorageTasksByResourceGroup() { // Generated from example definition: specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksList/ListStorageTasksByResourceGroup.json @@ -213,7 +209,7 @@ public async Task GetAll_ListStorageTasksByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storageactions/Azure.ResourceManager.StorageActions/samples/Generated/Samples/Sample_StorageTaskResource.cs b/sdk/storageactions/Azure.ResourceManager.StorageActions/samples/Generated/Samples/Sample_StorageTaskResource.cs index 889aeb201aa18..87aac42573aea 100644 --- a/sdk/storageactions/Azure.ResourceManager.StorageActions/samples/Generated/Samples/Sample_StorageTaskResource.cs +++ b/sdk/storageactions/Azure.ResourceManager.StorageActions/samples/Generated/Samples/Sample_StorageTaskResource.cs @@ -13,14 +13,14 @@ using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; using Azure.ResourceManager.StorageActions.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StorageActions.Samples { public partial class Sample_StorageTaskResource { - // DeleteStorageTask - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteStorageTask() { // Generated from example definition: specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksCrud/DeleteStorageTask.json @@ -42,12 +42,11 @@ public async Task Delete_DeleteStorageTask() // invoke the operation await storageTask.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetStorageTask - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetStorageTask() { // Generated from example definition: specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksCrud/GetStorageTask.json @@ -76,9 +75,8 @@ public async Task Get_GetStorageTask() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PatchStorageTask - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchStorageTask() { // Generated from example definition: specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksCrud/PatchStorageTask.json @@ -140,9 +138,8 @@ public async Task Update_PatchStorageTask() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ListStorageTasksBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStorageTasks_ListStorageTasksBySubscription() { // Generated from example definition: specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksList/ListStorageTasksBySubscription.json @@ -169,12 +166,11 @@ public async Task GetStorageTasks_ListStorageTasksBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PerformStorageTaskActionsPreview - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PreviewActions_PerformStorageTaskActionsPreview() { // Generated from example definition: specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/misc/PerformStorageTaskActionsPreview.json @@ -346,9 +342,8 @@ public async Task PreviewActions_PerformStorageTaskActionsPreview() Console.WriteLine($"Succeeded: {result}"); } - // ListStorageTaskAssignmentsByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStorageTaskAssignments_ListStorageTaskAssignmentsByResourceGroup() { // Generated from example definition: specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksList/ListStorageTaskAssignmentIds.json @@ -373,12 +368,11 @@ public async Task GetStorageTaskAssignments_ListStorageTaskAssignmentsByResource Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListStorageTasksByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStorageTasksReports_ListStorageTasksByResourceGroup() { // Generated from example definition: specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksList/ListStorageTasksRunReportSummary.json @@ -403,7 +397,7 @@ public async Task GetStorageTasksReports_ListStorageTasksByResourceGroup() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_AmlFileSystemCollection.cs b/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_AmlFileSystemCollection.cs index 21845d6c6a2dc..d79c8e93adc5b 100644 --- a/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_AmlFileSystemCollection.cs +++ b/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_AmlFileSystemCollection.cs @@ -13,14 +13,14 @@ using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; using Azure.ResourceManager.StorageCache.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StorageCache.Samples { public partial class Sample_AmlFileSystemCollection { - // amlFilesystems_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AmlFilesystemsListByResourceGroup() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/amlFilesystems_ListByResourceGroup.json @@ -51,12 +51,11 @@ public async Task GetAll_AmlFilesystemsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // amlFilesystems_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AmlFilesystemsGet() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/amlFilesystems_Get.json @@ -88,9 +87,8 @@ public async Task Get_AmlFilesystemsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // amlFilesystems_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AmlFilesystemsGet() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/amlFilesystems_Get.json @@ -118,9 +116,8 @@ public async Task Exists_AmlFilesystemsGet() Console.WriteLine($"Succeeded: {result}"); } - // amlFilesystems_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AmlFilesystemsGet() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/amlFilesystems_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_AmlFilesystemsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_AmlFilesystemsGet() } } - // amlFilesystems_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AmlFilesystemsCreateOrUpdate() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/amlFilesystems_CreateOrUpdate.json diff --git a/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_AmlFileSystemResource.cs b/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_AmlFileSystemResource.cs index 12f22395b0942..1c8880059f66f 100644 --- a/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_AmlFileSystemResource.cs +++ b/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_AmlFileSystemResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; using Azure.ResourceManager.StorageCache.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StorageCache.Samples { public partial class Sample_AmlFileSystemResource { - // amlFilesystems_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAmlFileSystems_AmlFilesystemsList() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/amlFilesystems_List.json @@ -46,12 +46,11 @@ public async Task GetAmlFileSystems_AmlFilesystemsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // amlFilesystems_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AmlFilesystemsDelete() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/amlFilesystems_Delete.json @@ -73,12 +72,11 @@ public async Task Delete_AmlFilesystemsDelete() // invoke the operation await amlFileSystem.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // amlFilesystems_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AmlFilesystemsGet() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/amlFilesystems_Get.json @@ -107,9 +105,8 @@ public async Task Get_AmlFilesystemsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // amlFilesystems_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AmlFilesystemsUpdate() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/amlFilesystems_Update.json @@ -162,9 +159,8 @@ public async Task Update_AmlFilesystemsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // amlFilesystems_Archive - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Archive_AmlFilesystemsArchive() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/amlFilesystems_Archive.json @@ -190,12 +186,11 @@ public async Task Archive_AmlFilesystemsArchive() }; await amlFileSystem.ArchiveAsync(content: content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // amlFilesystems_cancelArchive - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CancelArchive_AmlFilesystemsCancelArchive() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/amlFilesystems_CancelArchive.json @@ -217,7 +212,7 @@ public async Task CancelArchive_AmlFilesystemsCancelArchive() // invoke the operation await amlFileSystem.CancelArchiveAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_StorageCacheCollection.cs b/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_StorageCacheCollection.cs index 08fb442687f4c..496ee8e09d9a2 100644 --- a/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_StorageCacheCollection.cs +++ b/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_StorageCacheCollection.cs @@ -14,14 +14,14 @@ using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; using Azure.ResourceManager.StorageCache.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StorageCache.Samples { public partial class Sample_StorageCacheCollection { - // Caches_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CachesListByResourceGroup() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/Caches_ListByResourceGroup.json @@ -52,12 +52,11 @@ public async Task GetAll_CachesListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Caches_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CachesGet() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/Caches_Get.json @@ -89,9 +88,8 @@ public async Task Get_CachesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Caches_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CachesGet() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/Caches_Get.json @@ -119,9 +117,8 @@ public async Task Exists_CachesGet() Console.WriteLine($"Succeeded: {result}"); } - // Caches_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CachesGet() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/Caches_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_CachesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_CachesGet() } } - // Caches_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CachesCreateOrUpdate() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/Caches_CreateOrUpdate.json @@ -260,9 +256,8 @@ public async Task CreateOrUpdate_CachesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Caches_CreateOrUpdate_ldap_only - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CachesCreateOrUpdateLdapOnly() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/Caches_CreateOrUpdate_ldap_only.json diff --git a/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_StorageCacheImportJobCollection.cs b/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_StorageCacheImportJobCollection.cs index d96d530e06661..c2b48b2934432 100644 --- a/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_StorageCacheImportJobCollection.cs +++ b/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_StorageCacheImportJobCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.StorageCache.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StorageCache.Samples { public partial class Sample_StorageCacheImportJobCollection { - // importJobs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ImportJobsGet() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/importJobs_Get.json @@ -50,9 +50,8 @@ public async Task Get_ImportJobsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // importJobs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ImportJobsGet() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/importJobs_Get.json @@ -81,9 +80,8 @@ public async Task Exists_ImportJobsGet() Console.WriteLine($"Succeeded: {result}"); } - // importJobs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ImportJobsGet() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/importJobs_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_ImportJobsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_ImportJobsGet() } } - // importJobs_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ImportJobsCreateOrUpdate() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/importJobs_CreateOrUpdate.json @@ -173,9 +170,8 @@ public async Task CreateOrUpdate_ImportJobsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // importJobs_ListByAmlFilesystem - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ImportJobsListByAmlFilesystem() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/importJobs_ListByAmlFilesystem.json @@ -207,7 +203,7 @@ public async Task GetAll_ImportJobsListByAmlFilesystem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_StorageCacheImportJobResource.cs b/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_StorageCacheImportJobResource.cs index 56c252e85e094..c1e33a107a2b2 100644 --- a/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_StorageCacheImportJobResource.cs +++ b/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_StorageCacheImportJobResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.StorageCache.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StorageCache.Samples { public partial class Sample_StorageCacheImportJobResource { - // importJobs_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ImportJobsDelete() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/importJobs_Delete.json @@ -40,12 +40,11 @@ public async Task Delete_ImportJobsDelete() // invoke the operation await storageCacheImportJob.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // importJobs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ImportJobsGet() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/importJobs_Get.json @@ -75,9 +74,8 @@ public async Task Get_ImportJobsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // importJobs_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ImportJobsUpdate() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/importJob_Update.json diff --git a/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_StorageCacheResource.cs b/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_StorageCacheResource.cs index 270db42bf388e..76e5c01a6e9fc 100644 --- a/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_StorageCacheResource.cs +++ b/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_StorageCacheResource.cs @@ -13,14 +13,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.StorageCache.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StorageCache.Samples { public partial class Sample_StorageCacheResource { - // Caches_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStorageCaches_CachesList() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/Caches_List.json @@ -47,12 +47,11 @@ public async Task GetStorageCaches_CachesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Caches_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CachesDelete() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/Caches_Delete.json @@ -74,12 +73,11 @@ public async Task Delete_CachesDelete() // invoke the operation await storageCache.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Caches_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CachesGet() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/Caches_Get.json @@ -108,9 +106,8 @@ public async Task Get_CachesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Caches_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CachesUpdate() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/Caches_Update.json @@ -211,9 +208,8 @@ public async Task Update_CachesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Caches_Update_ldap_only - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CachesUpdateLdapOnly() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/Caches_Update_ldap_only.json @@ -317,9 +313,8 @@ public async Task Update_CachesUpdateLdapOnly() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Caches_DebugInfo - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task EnableDebugInfo_CachesDebugInfo() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/Caches_DebugInfo.json @@ -341,12 +336,11 @@ public async Task EnableDebugInfo_CachesDebugInfo() // invoke the operation await storageCache.EnableDebugInfoAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Caches_Flush - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Flush_CachesFlush() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/Caches_Flush.json @@ -368,12 +362,11 @@ public async Task Flush_CachesFlush() // invoke the operation await storageCache.FlushAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Caches_Start - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_CachesStart() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/Caches_Start.json @@ -395,12 +388,11 @@ public async Task Start_CachesStart() // invoke the operation await storageCache.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Caches_Stop - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_CachesStop() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/Caches_Stop.json @@ -422,12 +414,11 @@ public async Task Stop_CachesStop() // invoke the operation await storageCache.StopAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StartPrimingJob - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartPrimingJob_StartPrimingJob() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/StartPrimingJob.json @@ -450,12 +441,11 @@ public async Task StartPrimingJob_StartPrimingJob() PrimingJob primingjob = new PrimingJob("contosoJob", new Uri("https://contosostorage.blob.core.windows.net/contosoblob/00000000_00000000000000000000000000000000.00000000000.FFFFFFFF.00000000?sp=r&st=2021-08-11T19:33:35Z&se=2021-08-12T03:33:35Z&spr=https&sv=2020-08-04&sr=b&sig=")); await storageCache.StartPrimingJobAsync(WaitUntil.Completed, primingjob: primingjob); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StopPrimingJob - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StopPrimingJob_StopPrimingJob() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/StopPrimingJob.json @@ -478,12 +468,11 @@ public async Task StopPrimingJob_StopPrimingJob() PrimingJobContent content = new PrimingJobContent("00000000000_0000000000"); await storageCache.StopPrimingJobAsync(WaitUntil.Completed, content: content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PausePrimingJob - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PausePrimingJob_PausePrimingJob() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/PausePrimingJob.json @@ -506,12 +495,11 @@ public async Task PausePrimingJob_PausePrimingJob() PrimingJobContent content = new PrimingJobContent("00000000000_0000000000"); await storageCache.PausePrimingJobAsync(WaitUntil.Completed, content: content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ResumePrimingJob - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResumePrimingJob_ResumePrimingJob() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/ResumePrimingJob.json @@ -534,12 +522,11 @@ public async Task ResumePrimingJob_ResumePrimingJob() PrimingJobContent content = new PrimingJobContent("00000000000_0000000000"); await storageCache.ResumePrimingJobAsync(WaitUntil.Completed, content: content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Caches_UpgradeFirmware - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpgradeFirmware_CachesUpgradeFirmware() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/Caches_UpgradeFirmware.json @@ -561,12 +548,11 @@ public async Task UpgradeFirmware_CachesUpgradeFirmware() // invoke the operation await storageCache.UpgradeFirmwareAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SpaceAllocation_Post - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateSpaceAllocation_SpaceAllocationPost() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/SpaceAllocation_Post.json @@ -604,7 +590,7 @@ public async Task UpdateSpaceAllocation_SpaceAllocationPost() }; await storageCache.UpdateSpaceAllocationAsync(WaitUntil.Completed, spaceAllocation: spaceAllocation); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_StorageTargetCollection.cs b/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_StorageTargetCollection.cs index 70750986451f9..69e5e5358f756 100644 --- a/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_StorageTargetCollection.cs +++ b/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_StorageTargetCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.StorageCache.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StorageCache.Samples { public partial class Sample_StorageTargetCollection { - // StorageTargets_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_StorageTargetsList() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/StorageTargets_ListByCache.json @@ -49,12 +49,11 @@ public async Task GetAll_StorageTargetsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StorageTargets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageTargetsGet() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/StorageTargets_Get.json @@ -87,9 +86,8 @@ public async Task Get_StorageTargetsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageTargets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_StorageTargetsGet() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/StorageTargets_Get.json @@ -118,9 +116,8 @@ public async Task Exists_StorageTargetsGet() Console.WriteLine($"Succeeded: {result}"); } - // StorageTargets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_StorageTargetsGet() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/StorageTargets_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_StorageTargetsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_StorageTargetsGet() } } - // StorageTargets_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageTargetsCreateOrUpdate() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/StorageTargets_CreateOrUpdate.json @@ -223,9 +219,8 @@ public async Task CreateOrUpdate_StorageTargetsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageTargets_CreateOrUpdate_BlobNfs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageTargetsCreateOrUpdateBlobNfs() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/StorageTargets_CreateOrUpdate_BlobNfs.json @@ -277,9 +272,8 @@ public async Task CreateOrUpdate_StorageTargetsCreateOrUpdateBlobNfs() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageTargets_CreateOrUpdate_NoJunctions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageTargetsCreateOrUpdateNoJunctions() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/StorageTargets_CreateOrUpdate_NoJunctions.json diff --git a/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_StorageTargetResource.cs b/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_StorageTargetResource.cs index 03b7828ace00f..7577ab936ee36 100644 --- a/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_StorageTargetResource.cs +++ b/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_StorageTargetResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.StorageCache.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StorageCache.Samples { public partial class Sample_StorageTargetResource { - // Caches_DnsRefresh - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RefreshDns_CachesDnsRefresh() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/StorageTargets_DnsRefresh.json @@ -40,12 +40,11 @@ public async Task RefreshDns_CachesDnsRefresh() // invoke the operation await storageTarget.RefreshDnsAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StorageTargets_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_StorageTargetsDelete() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/StorageTargets_Delete.json @@ -68,12 +67,11 @@ public async Task Delete_StorageTargetsDelete() // invoke the operation await storageTarget.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StorageTargets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageTargetsGet() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/StorageTargets_Get.json @@ -103,9 +101,8 @@ public async Task Get_StorageTargetsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageTargets_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StorageTargetsCreateOrUpdate() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/StorageTargets_CreateOrUpdate.json @@ -162,9 +159,8 @@ public async Task Update_StorageTargetsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageTargets_CreateOrUpdate_BlobNfs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StorageTargetsCreateOrUpdateBlobNfs() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/StorageTargets_CreateOrUpdate_BlobNfs.json @@ -213,9 +209,8 @@ public async Task Update_StorageTargetsCreateOrUpdateBlobNfs() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageTargets_CreateOrUpdate_NoJunctions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StorageTargetsCreateOrUpdateNoJunctions() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/StorageTargets_CreateOrUpdate_NoJunctions.json @@ -256,9 +251,8 @@ public async Task Update_StorageTargetsCreateOrUpdateNoJunctions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageTargets_Flush - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Flush_StorageTargetsFlush() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/StorageTargets_Flush.json @@ -281,12 +275,11 @@ public async Task Flush_StorageTargetsFlush() // invoke the operation await storageTarget.FlushAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StorageTargets_Suspend - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Suspend_StorageTargetsSuspend() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/StorageTargets_Suspend.json @@ -309,12 +302,11 @@ public async Task Suspend_StorageTargetsSuspend() // invoke the operation await storageTarget.SuspendAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StorageTargets_Resume - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Resume_StorageTargetsResume() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/StorageTargets_Resume.json @@ -337,12 +329,11 @@ public async Task Resume_StorageTargetsResume() // invoke the operation await storageTarget.ResumeAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StorageTargets_Invalidate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Invalidate_StorageTargetsInvalidate() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/StorageTargets_Invalidate.json @@ -365,12 +356,11 @@ public async Task Invalidate_StorageTargetsInvalidate() // invoke the operation await storageTarget.InvalidateAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StorageTargets_RestoreDefaults - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RestoreDefaults_StorageTargetsRestoreDefaults() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/StorageTargets_RestoreDefaults.json @@ -393,7 +383,7 @@ public async Task RestoreDefaults_StorageTargetsRestoreDefaults() // invoke the operation await storageTarget.RestoreDefaultsAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index acdc691a226f5..8a6e85fc511b8 100644 --- a/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/storagecache/Azure.ResourceManager.StorageCache/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.StorageCache.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StorageCache.Samples { public partial class Sample_SubscriptionResourceExtensions { - // checkAmlFSSubnets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckAmlFSSubnets_CheckAmlFSSubnets() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/checkAmlFSSubnets.json @@ -44,12 +44,11 @@ public async Task CheckAmlFSSubnets_CheckAmlFSSubnets() }; await subscriptionResource.CheckAmlFSSubnetsAsync(content: content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // getRequiredAmlFilesystemSubnetsSize - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRequiredAmlFSSubnetsSize_GetRequiredAmlFilesystemSubnetsSize() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/getRequiredAmlFSSubnetsSize.json @@ -72,9 +71,8 @@ public async Task GetRequiredAmlFSSubnetsSize_GetRequiredAmlFilesystemSubnetsSiz Console.WriteLine($"Succeeded: {result}"); } - // Skus_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStorageCacheSkus_SkusList() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/Skus_List.json @@ -97,12 +95,11 @@ public async Task GetStorageCacheSkus_SkusList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // UsageModels_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsageModels_UsageModelsList() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/UsageModels_List.json @@ -125,12 +122,11 @@ public async Task GetUsageModels_UsageModelsList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AscUsages_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStorageCacheUsages_AscUsagesList() { // Generated from example definition: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-03-01/examples/AscResourceUsages_Get.json @@ -154,7 +150,7 @@ public async Task GetStorageCacheUsages_AscUsagesList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storagepool/Azure.ResourceManager.StoragePool/samples/Generated/Samples/Sample_DiskPoolCollection.cs b/sdk/storagepool/Azure.ResourceManager.StoragePool/samples/Generated/Samples/Sample_DiskPoolCollection.cs index 5b9caa0729f42..bf0ca94676734 100644 --- a/sdk/storagepool/Azure.ResourceManager.StoragePool/samples/Generated/Samples/Sample_DiskPoolCollection.cs +++ b/sdk/storagepool/Azure.ResourceManager.StoragePool/samples/Generated/Samples/Sample_DiskPoolCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; using Azure.ResourceManager.StoragePool.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StoragePool.Samples { public partial class Sample_DiskPoolCollection { - // List Disk Pools - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDiskPools() { // Generated from example definition: specification/storagepool/resource-manager/Microsoft.StoragePool/stable/2021-08-01/examples/DiskPools_ListByResourceGroup.json @@ -50,12 +50,11 @@ public async Task GetAll_ListDiskPools() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create or Update Disk pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateDiskPool() { // Generated from example definition: specification/storagepool/resource-manager/Microsoft.StoragePool/stable/2021-08-01/examples/DiskPools_Put.json @@ -112,9 +111,8 @@ public async Task CreateOrUpdate_CreateOrUpdateDiskPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Disk pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDiskPool() { // Generated from example definition: specification/storagepool/resource-manager/Microsoft.StoragePool/stable/2021-08-01/examples/DiskPools_Get.json @@ -146,9 +144,8 @@ public async Task Get_GetDiskPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Disk pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDiskPool() { // Generated from example definition: specification/storagepool/resource-manager/Microsoft.StoragePool/stable/2021-08-01/examples/DiskPools_Get.json @@ -176,9 +173,8 @@ public async Task Exists_GetDiskPool() Console.WriteLine($"Succeeded: {result}"); } - // Get Disk pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDiskPool() { // Generated from example definition: specification/storagepool/resource-manager/Microsoft.StoragePool/stable/2021-08-01/examples/DiskPools_Get.json @@ -206,7 +202,7 @@ public async Task GetIfExists_GetDiskPool() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/storagepool/Azure.ResourceManager.StoragePool/samples/Generated/Samples/Sample_DiskPoolIscsiTargetCollection.cs b/sdk/storagepool/Azure.ResourceManager.StoragePool/samples/Generated/Samples/Sample_DiskPoolIscsiTargetCollection.cs index 82590eac0a6fa..20c5f1730d00a 100644 --- a/sdk/storagepool/Azure.ResourceManager.StoragePool/samples/Generated/Samples/Sample_DiskPoolIscsiTargetCollection.cs +++ b/sdk/storagepool/Azure.ResourceManager.StoragePool/samples/Generated/Samples/Sample_DiskPoolIscsiTargetCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.StoragePool.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StoragePool.Samples { public partial class Sample_DiskPoolIscsiTargetCollection { - // List Disk Pools by Resource Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDiskPoolsByResourceGroup() { // Generated from example definition: specification/storagepool/resource-manager/Microsoft.StoragePool/stable/2021-08-01/examples/IscsiTargets_ListByDiskPool.json @@ -49,12 +49,11 @@ public async Task GetAll_ListDiskPoolsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create or Update iSCSI Target - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateISCSITarget() { // Generated from example definition: specification/storagepool/resource-manager/Microsoft.StoragePool/stable/2021-08-01/examples/IscsiTargets_Put.json @@ -96,9 +95,8 @@ public async Task CreateOrUpdate_CreateOrUpdateISCSITarget() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get iSCSI Target - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetISCSITarget() { // Generated from example definition: specification/storagepool/resource-manager/Microsoft.StoragePool/stable/2021-08-01/examples/IscsiTargets_Get.json @@ -131,9 +129,8 @@ public async Task Get_GetISCSITarget() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get iSCSI Target - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetISCSITarget() { // Generated from example definition: specification/storagepool/resource-manager/Microsoft.StoragePool/stable/2021-08-01/examples/IscsiTargets_Get.json @@ -162,9 +159,8 @@ public async Task Exists_GetISCSITarget() Console.WriteLine($"Succeeded: {result}"); } - // Get iSCSI Target - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetISCSITarget() { // Generated from example definition: specification/storagepool/resource-manager/Microsoft.StoragePool/stable/2021-08-01/examples/IscsiTargets_Get.json @@ -193,7 +189,7 @@ public async Task GetIfExists_GetISCSITarget() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/storagepool/Azure.ResourceManager.StoragePool/samples/Generated/Samples/Sample_DiskPoolIscsiTargetResource.cs b/sdk/storagepool/Azure.ResourceManager.StoragePool/samples/Generated/Samples/Sample_DiskPoolIscsiTargetResource.cs index 5b94d49096605..640890280c7ef 100644 --- a/sdk/storagepool/Azure.ResourceManager.StoragePool/samples/Generated/Samples/Sample_DiskPoolIscsiTargetResource.cs +++ b/sdk/storagepool/Azure.ResourceManager.StoragePool/samples/Generated/Samples/Sample_DiskPoolIscsiTargetResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.StoragePool.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StoragePool.Samples { public partial class Sample_DiskPoolIscsiTargetResource { - // Update iSCSI Target - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateISCSITarget() { // Generated from example definition: specification/storagepool/resource-manager/Microsoft.StoragePool/stable/2021-08-01/examples/IscsiTargets_Patch.json @@ -62,9 +62,8 @@ public async Task Update_UpdateISCSITarget() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete iSCSI Target - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteISCSITarget() { // Generated from example definition: specification/storagepool/resource-manager/Microsoft.StoragePool/stable/2021-08-01/examples/IscsiTargets_Delete.json @@ -87,12 +86,11 @@ public async Task Delete_DeleteISCSITarget() // invoke the operation await diskPoolIscsiTarget.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get iSCSI Target - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetISCSITarget() { // Generated from example definition: specification/storagepool/resource-manager/Microsoft.StoragePool/stable/2021-08-01/examples/IscsiTargets_Get.json diff --git a/sdk/storagepool/Azure.ResourceManager.StoragePool/samples/Generated/Samples/Sample_DiskPoolResource.cs b/sdk/storagepool/Azure.ResourceManager.StoragePool/samples/Generated/Samples/Sample_DiskPoolResource.cs index 1c4eb5a854b4d..24fe3f661468c 100644 --- a/sdk/storagepool/Azure.ResourceManager.StoragePool/samples/Generated/Samples/Sample_DiskPoolResource.cs +++ b/sdk/storagepool/Azure.ResourceManager.StoragePool/samples/Generated/Samples/Sample_DiskPoolResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; using Azure.ResourceManager.StoragePool.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StoragePool.Samples { public partial class Sample_DiskPoolResource { - // List Disk Pools by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDiskPools_ListDiskPoolsBySubscription() { // Generated from example definition: specification/storagepool/resource-manager/Microsoft.StoragePool/stable/2021-08-01/examples/DiskPools_ListBySubscription.json @@ -46,12 +46,11 @@ public async Task GetDiskPools_ListDiskPoolsBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update Disk pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateDiskPool() { // Generated from example definition: specification/storagepool/resource-manager/Microsoft.StoragePool/stable/2021-08-01/examples/DiskPools_Patch.json @@ -102,9 +101,8 @@ public async Task Update_UpdateDiskPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Disk pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteDiskPool() { // Generated from example definition: specification/storagepool/resource-manager/Microsoft.StoragePool/stable/2021-08-01/examples/DiskPools_Delete.json @@ -126,12 +124,11 @@ public async Task Delete_DeleteDiskPool() // invoke the operation await diskPool.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Disk pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDiskPool() { // Generated from example definition: specification/storagepool/resource-manager/Microsoft.StoragePool/stable/2021-08-01/examples/DiskPools_Get.json @@ -160,9 +157,8 @@ public async Task Get_GetDiskPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Disk Pool outbound network dependencies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOutboundNetworkDependenciesEndpoints_GetDiskPoolOutboundNetworkDependencies() { // Generated from example definition: specification/storagepool/resource-manager/Microsoft.StoragePool/stable/2021-08-01/examples/DiskPools_GetOutboundNetworkDependencies.json @@ -187,12 +183,11 @@ public async Task GetOutboundNetworkDependenciesEndpoints_GetDiskPoolOutboundNet Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Start Disk Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_StartDiskPool() { // Generated from example definition: specification/storagepool/resource-manager/Microsoft.StoragePool/stable/2021-08-01/examples/DiskPools_Start.json @@ -214,12 +209,11 @@ public async Task Start_StartDiskPool() // invoke the operation await diskPool.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Deallocate Disk Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Deallocate_DeallocateDiskPool() { // Generated from example definition: specification/storagepool/resource-manager/Microsoft.StoragePool/stable/2021-08-01/examples/DiskPools_Deallocate.json @@ -241,12 +235,11 @@ public async Task Deallocate_DeallocateDiskPool() // invoke the operation await diskPool.DeallocateAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Upgrade Disk Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Upgrade_UpgradeDiskPool() { // Generated from example definition: specification/storagepool/resource-manager/Microsoft.StoragePool/stable/2021-08-01/examples/DiskPools_Upgrade.json @@ -268,7 +261,7 @@ public async Task Upgrade_UpgradeDiskPool() // invoke the operation await diskPool.UpgradeAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storagepool/Azure.ResourceManager.StoragePool/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/storagepool/Azure.ResourceManager.StoragePool/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index dcaf118cb4997..b387a031845d0 100644 --- a/sdk/storagepool/Azure.ResourceManager.StoragePool/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/storagepool/Azure.ResourceManager.StoragePool/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.StoragePool.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StoragePool.Samples { public partial class Sample_SubscriptionResourceExtensions { - // List Disk Pool Zones - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDiskPoolZones_ListDiskPoolZones() { // Generated from example definition: specification/storagepool/resource-manager/Microsoft.StoragePool/stable/2021-08-01/examples/DiskPoolZones_List.json @@ -42,12 +42,11 @@ public async Task GetDiskPoolZones_ListDiskPoolZones() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Disk Pool Skus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResourceSkus_ListDiskPoolSkus() { // Generated from example definition: specification/storagepool/resource-manager/Microsoft.StoragePool/stable/2021-08-01/examples/Skus_List.json @@ -71,7 +70,7 @@ public async Task GetResourceSkus_ListDiskPoolSkus() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_CloudEndpointCollection.cs b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_CloudEndpointCollection.cs index 153b66471f0c7..66ce744fcc0de 100644 --- a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_CloudEndpointCollection.cs +++ b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_CloudEndpointCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.StorageSync.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StorageSync.Samples { public partial class Sample_CloudEndpointCollection { - // CloudEndpoints_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CloudEndpointsCreate() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/CloudEndpoints_Create.json @@ -59,9 +59,8 @@ public async Task CreateOrUpdate_CloudEndpointsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CloudEndpoints_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CloudEndpointsGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/CloudEndpoints_Get.json @@ -95,9 +94,8 @@ public async Task Get_CloudEndpointsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CloudEndpoints_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CloudEndpointsGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/CloudEndpoints_Get.json @@ -127,9 +125,8 @@ public async Task Exists_CloudEndpointsGet() Console.WriteLine($"Succeeded: {result}"); } - // CloudEndpoints_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CloudEndpointsGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/CloudEndpoints_Get.json @@ -159,7 +156,7 @@ public async Task GetIfExists_CloudEndpointsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -171,9 +168,8 @@ public async Task GetIfExists_CloudEndpointsGet() } } - // CloudEndpoints_ListBySyncGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CloudEndpointsListBySyncGroup() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/CloudEndpoints_ListBySyncGroup.json @@ -206,7 +202,7 @@ public async Task GetAll_CloudEndpointsListBySyncGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_CloudEndpointResource.cs b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_CloudEndpointResource.cs index f82f47cf41fc3..9869660eea46b 100644 --- a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_CloudEndpointResource.cs +++ b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_CloudEndpointResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.StorageSync.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StorageSync.Samples { public partial class Sample_CloudEndpointResource { - // CloudEndpoints_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CloudEndpointsCreate() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/CloudEndpoints_Create.json @@ -56,9 +56,8 @@ public async Task Update_CloudEndpointsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CloudEndpoints_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CloudEndpointsGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/CloudEndpoints_Get.json @@ -89,9 +88,8 @@ public async Task Get_CloudEndpointsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CloudEndpoints_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CloudEndpointsDelete() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/CloudEndpoints_Delete.json @@ -115,12 +113,11 @@ public async Task Delete_CloudEndpointsDelete() // invoke the operation await cloudEndpoint.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CloudEndpoints_PreBackup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PreBackup_CloudEndpointsPreBackup() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/CloudEndpoints_PreBackup.json @@ -148,12 +145,11 @@ public async Task PreBackup_CloudEndpointsPreBackup() }; await cloudEndpoint.PreBackupAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CloudEndpoints_PostBackup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PostBackup_CloudEndpointsPostBackup() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/CloudEndpoints_PostBackup.json @@ -185,9 +181,8 @@ public async Task PostBackup_CloudEndpointsPostBackup() Console.WriteLine($"Succeeded: {result}"); } - // CloudEndpoints_PreRestore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PreRestore_CloudEndpointsPreRestore() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/CloudEndpoints_PreRestore.json @@ -235,12 +230,11 @@ public async Task PreRestore_CloudEndpointsPreRestore() }; await cloudEndpoint.PreRestoreAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CloudEndpoints_restoreheartbeat - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RestoreHeartbeat_CloudEndpointsRestoreheartbeat() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/CloudEndpoints_RestoreHeatbeat.json @@ -264,12 +258,11 @@ public async Task RestoreHeartbeat_CloudEndpointsRestoreheartbeat() // invoke the operation await cloudEndpoint.RestoreHeartbeatAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CloudEndpoints_PostRestore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PostRestore_CloudEndpointsPostRestore() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/CloudEndpoints_PostRestore.json @@ -319,12 +312,11 @@ public async Task PostRestore_CloudEndpointsPostRestore() }; await cloudEndpoint.PostRestoreAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CloudEndpoints_TriggerChangeDetection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TriggerChangeDetection_CloudEndpointsTriggerChangeDetection() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/CloudEndpoints_TriggerChangeDetection.json @@ -353,12 +345,11 @@ public async Task TriggerChangeDetection_CloudEndpointsTriggerChangeDetection() }; await cloudEndpoint.TriggerChangeDetectionAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CloudEndpoints_AfsShareMetadataCertificatePublicKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AfsShareMetadataCertificatePublicKeys_CloudEndpointsAfsShareMetadataCertificatePublicKeys() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/CloudEndpoints_AfsShareMetadataCertificatePublicKeys.json diff --git a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncGroupCollection.cs b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncGroupCollection.cs index 8b5bf5baf98d2..72dd9e257d86f 100644 --- a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncGroupCollection.cs +++ b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncGroupCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.StorageSync.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StorageSync.Samples { public partial class Sample_StorageSyncGroupCollection { - // SyncGroups_ListByStorageSyncService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SyncGroupsListByStorageSyncService() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/SyncGroups_ListByStorageSyncService.json @@ -50,12 +50,11 @@ public async Task GetAll_SyncGroupsListByStorageSyncService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SyncGroups_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SyncGroupsCreate() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/SyncGroups_Create.json @@ -95,9 +94,8 @@ public async Task CreateOrUpdate_SyncGroupsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SyncGroups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SyncGroupsGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/SyncGroups_Get.json @@ -130,9 +128,8 @@ public async Task Get_SyncGroupsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SyncGroups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SyncGroupsGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/SyncGroups_Get.json @@ -161,9 +158,8 @@ public async Task Exists_SyncGroupsGet() Console.WriteLine($"Succeeded: {result}"); } - // SyncGroups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SyncGroupsGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/SyncGroups_Get.json @@ -192,7 +188,7 @@ public async Task GetIfExists_SyncGroupsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncGroupResource.cs b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncGroupResource.cs index f5353ad2ad1b9..4a6f73a0be88e 100644 --- a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncGroupResource.cs +++ b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncGroupResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.StorageSync.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StorageSync.Samples { public partial class Sample_StorageSyncGroupResource { - // SyncGroups_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SyncGroupsCreate() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/SyncGroups_Create.json @@ -55,9 +55,8 @@ public async Task Update_SyncGroupsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SyncGroups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SyncGroupsGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/SyncGroups_Get.json @@ -87,9 +86,8 @@ public async Task Get_SyncGroupsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SyncGroups_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SyncGroupsDelete() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/SyncGroups_Delete.json @@ -112,7 +110,7 @@ public async Task Delete_SyncGroupsDelete() // invoke the operation await storageSyncGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncPrivateEndpointConnectionCollection.cs b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncPrivateEndpointConnectionCollection.cs index d342f7c043378..7455d9829a5f8 100644 --- a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncPrivateEndpointConnectionCollection.cs +++ b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.StorageSync.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StorageSync.Samples { public partial class Sample_StorageSyncPrivateEndpointConnectionCollection { - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/PrivateEndpointConnections_Get.json @@ -50,9 +50,8 @@ public async Task Get_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/PrivateEndpointConnections_Get.json @@ -81,9 +80,8 @@ public async Task Exists_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/PrivateEndpointConnections_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_PrivateEndpointConnectionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_PrivateEndpointConnectionsGet() } } - // PrivateEndpointConnections_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateEndpointConnectionsCreate() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/PrivateEndpointConnections_Create.json @@ -168,9 +165,8 @@ public async Task CreateOrUpdate_PrivateEndpointConnectionsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_ListByStorageSyncService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndpointConnectionsListByStorageSyncService() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/PrivateEndpointConnections_ListByStorageSyncService.json @@ -202,7 +198,7 @@ public async Task GetAll_PrivateEndpointConnectionsListByStorageSyncService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncPrivateEndpointConnectionResource.cs b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncPrivateEndpointConnectionResource.cs index 4d64c2f17f338..635658ad67b7c 100644 --- a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncPrivateEndpointConnectionResource.cs +++ b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.StorageSync.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StorageSync.Samples { public partial class Sample_StorageSyncPrivateEndpointConnectionResource { - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/PrivateEndpointConnections_Get.json @@ -47,9 +47,8 @@ public async Task Get_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateEndpointConnectionsCreate() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/PrivateEndpointConnections_Create.json @@ -88,9 +87,8 @@ public async Task Update_PrivateEndpointConnectionsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateEndpointConnectionsDelete() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/PrivateEndpointConnections_Delete.json @@ -113,7 +111,7 @@ public async Task Delete_PrivateEndpointConnectionsDelete() // invoke the operation await storageSyncPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncRegisteredServerCollection.cs b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncRegisteredServerCollection.cs index 01fed08ad03de..1eef068f58804 100644 --- a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncRegisteredServerCollection.cs +++ b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncRegisteredServerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.StorageSync.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StorageSync.Samples { public partial class Sample_StorageSyncRegisteredServerCollection { - // RegisteredServers_ListByStorageSyncService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RegisteredServersListByStorageSyncService() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/RegisteredServers_ListByStorageSyncService.json @@ -49,12 +49,11 @@ public async Task GetAll_RegisteredServersListByStorageSyncService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RegisteredServers_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RegisteredServersGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/RegisteredServers_Get.json @@ -87,9 +86,8 @@ public async Task Get_RegisteredServersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RegisteredServers_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RegisteredServersGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/RegisteredServers_Get.json @@ -118,9 +116,8 @@ public async Task Exists_RegisteredServersGet() Console.WriteLine($"Succeeded: {result}"); } - // RegisteredServers_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RegisteredServersGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/RegisteredServers_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_RegisteredServersGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_RegisteredServersGet() } } - // RegisteredServers_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RegisteredServersCreate() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/RegisteredServers_Create.json diff --git a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncRegisteredServerResource.cs b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncRegisteredServerResource.cs index 0297560a81168..ee3af389551ff 100644 --- a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncRegisteredServerResource.cs +++ b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncRegisteredServerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.StorageSync.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StorageSync.Samples { public partial class Sample_StorageSyncRegisteredServerResource { - // RegisteredServers_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RegisteredServersGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/RegisteredServers_Get.json @@ -47,9 +47,8 @@ public async Task Get_RegisteredServersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RegisteredServers_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RegisteredServersCreate() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/RegisteredServers_Create.json @@ -89,9 +88,8 @@ public async Task Update_RegisteredServersCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RegisteredServers_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RegisteredServersDelete() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/RegisteredServers_Delete.json @@ -114,12 +112,11 @@ public async Task Delete_RegisteredServersDelete() // invoke the operation await storageSyncRegisteredServer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RegisteredServers_triggerRollover - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TriggerRollover_RegisteredServersTriggerRollover() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/RegisteredServers_TriggerRollover.json @@ -146,7 +143,7 @@ public async Task TriggerRollover_RegisteredServersTriggerRollover() }; await storageSyncRegisteredServer.TriggerRolloverAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncServerEndpointCollection.cs b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncServerEndpointCollection.cs index 82b64bc0a5e20..1407adbf6673e 100644 --- a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncServerEndpointCollection.cs +++ b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncServerEndpointCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.StorageSync.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StorageSync.Samples { public partial class Sample_StorageSyncServerEndpointCollection { - // ServerEndpoints_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ServerEndpointsCreate() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/ServerEndpoints_Create.json @@ -65,9 +65,8 @@ public async Task CreateOrUpdate_ServerEndpointsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerEndpoints_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServerEndpointsGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/ServerEndpoints_Get.json @@ -101,9 +100,8 @@ public async Task Get_ServerEndpointsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerEndpoints_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ServerEndpointsGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/ServerEndpoints_Get.json @@ -133,9 +131,8 @@ public async Task Exists_ServerEndpointsGet() Console.WriteLine($"Succeeded: {result}"); } - // ServerEndpoints_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ServerEndpointsGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/ServerEndpoints_Get.json @@ -165,7 +162,7 @@ public async Task GetIfExists_ServerEndpointsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -177,9 +174,8 @@ public async Task GetIfExists_ServerEndpointsGet() } } - // ServerEndpoints_ListBySyncGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ServerEndpointsListBySyncGroup() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/ServerEndpoints_ListBySyncGroup.json @@ -212,7 +208,7 @@ public async Task GetAll_ServerEndpointsListBySyncGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncServerEndpointResource.cs b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncServerEndpointResource.cs index 9bf78022f8b31..a02ae725914cf 100644 --- a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncServerEndpointResource.cs +++ b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncServerEndpointResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.StorageSync.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StorageSync.Samples { public partial class Sample_StorageSyncServerEndpointResource { - // ServerEndpoints_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ServerEndpointsUpdate() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/ServerEndpoints_Update.json @@ -57,9 +57,8 @@ public async Task Update_ServerEndpointsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerEndpoints_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServerEndpointsGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/ServerEndpoints_Get.json @@ -90,9 +89,8 @@ public async Task Get_ServerEndpointsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerEndpoints_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ServerEndpointsDelete() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/ServerEndpoints_Delete.json @@ -116,12 +114,11 @@ public async Task Delete_ServerEndpointsDelete() // invoke the operation await storageSyncServerEndpoint.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ServerEndpoints_recallAction - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RecallAction_ServerEndpointsRecallAction() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/ServerEndpoints_Recall.json @@ -150,7 +147,7 @@ public async Task RecallAction_ServerEndpointsRecallAction() }; await storageSyncServerEndpoint.RecallActionAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncServiceCollection.cs b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncServiceCollection.cs index b632454ed07c2..6d9d81c245cf1 100644 --- a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncServiceCollection.cs +++ b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncServiceCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.StorageSync.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StorageSync.Samples { public partial class Sample_StorageSyncServiceCollection { - // StorageSyncServices_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageSyncServicesCreate() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/StorageSyncServices_Create.json @@ -58,9 +58,8 @@ public async Task CreateOrUpdate_StorageSyncServicesCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageSyncServices_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageSyncServicesGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/StorageSyncServices_Get.json @@ -92,9 +91,8 @@ public async Task Get_StorageSyncServicesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageSyncServices_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_StorageSyncServicesGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/StorageSyncServices_Get.json @@ -122,9 +120,8 @@ public async Task Exists_StorageSyncServicesGet() Console.WriteLine($"Succeeded: {result}"); } - // StorageSyncServices_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_StorageSyncServicesGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/StorageSyncServices_Get.json @@ -152,7 +149,7 @@ public async Task GetIfExists_StorageSyncServicesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_StorageSyncServicesGet() } } - // StorageSyncServices_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_StorageSyncServicesListByResourceGroup() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/StorageSyncServices_ListByResourceGroup.json @@ -197,7 +193,7 @@ public async Task GetAll_StorageSyncServicesListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncServiceResource.cs b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncServiceResource.cs index e8e9867280063..1ed0211181f73 100644 --- a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncServiceResource.cs +++ b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncServiceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.StorageSync.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StorageSync.Samples { public partial class Sample_StorageSyncServiceResource { - // StorageSyncServiceCheckNameAvailability_AlreadyExists - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckStorageSyncNameAvailability_StorageSyncServiceCheckNameAvailabilityAlreadyExists() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json @@ -43,9 +43,8 @@ public async Task CheckStorageSyncNameAvailability_StorageSyncServiceCheckNameAv Console.WriteLine($"Succeeded: {result}"); } - // StorageSyncServiceCheckNameAvailability_Available - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckStorageSyncNameAvailability_StorageSyncServiceCheckNameAvailabilityAvailable() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/StorageSyncServiceCheckNameAvailability_Available.json @@ -70,9 +69,8 @@ public async Task CheckStorageSyncNameAvailability_StorageSyncServiceCheckNameAv Console.WriteLine($"Succeeded: {result}"); } - // StorageSyncServices_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageSyncServicesGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/StorageSyncServices_Get.json @@ -101,9 +99,8 @@ public async Task Get_StorageSyncServicesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageSyncServices_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StorageSyncServicesUpdate() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/StorageSyncServices_Update.json @@ -142,9 +139,8 @@ public async Task Update_StorageSyncServicesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageSyncServices_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_StorageSyncServicesDelete() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/StorageSyncServices_Delete.json @@ -166,12 +162,11 @@ public async Task Delete_StorageSyncServicesDelete() // invoke the operation await storageSyncService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StorageSyncServices_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStorageSyncServices_StorageSyncServicesListBySubscription() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/StorageSyncServices_ListBySubscription.json @@ -198,12 +193,11 @@ public async Task GetStorageSyncServices_StorageSyncServicesListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateLinkResources_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinkResources_PrivateLinkResourcesList() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/PrivateLinkResources_List.json @@ -228,7 +222,7 @@ public async Task GetPrivateLinkResources_PrivateLinkResourcesList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncWorkflowCollection.cs b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncWorkflowCollection.cs index f047d2aa2a6bf..30832f0a8a0b8 100644 --- a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncWorkflowCollection.cs +++ b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncWorkflowCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.StorageSync.Samples { public partial class Sample_StorageSyncWorkflowCollection { - // Workflows_ListByStorageSyncService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WorkflowsListByStorageSyncService() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/Workflows_ListByStorageSyncService.json @@ -48,12 +48,11 @@ public async Task GetAll_WorkflowsListByStorageSyncService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Workflows_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkflowsGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/Workflows_Get.json @@ -86,9 +85,8 @@ public async Task Get_WorkflowsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Workflows_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WorkflowsGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/Workflows_Get.json @@ -117,9 +115,8 @@ public async Task Exists_WorkflowsGet() Console.WriteLine($"Succeeded: {result}"); } - // Workflows_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WorkflowsGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/Workflows_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_WorkflowsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncWorkflowResource.cs b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncWorkflowResource.cs index ea1105e8f4016..0bb7fb6489138 100644 --- a/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncWorkflowResource.cs +++ b/sdk/storagesync/Azure.ResourceManager.StorageSync/samples/Generated/Samples/Sample_StorageSyncWorkflowResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.StorageSync.Samples { public partial class Sample_StorageSyncWorkflowResource { - // Workflows_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkflowsGet() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/Workflows_Get.json @@ -46,9 +46,8 @@ public async Task Get_WorkflowsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Workflows_Abort - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Abort_WorkflowsAbort() { // Generated from example definition: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2022-06-01/examples/Workflows_Abort.json @@ -71,7 +70,7 @@ public async Task Abort_WorkflowsAbort() // invoke the operation await storageSyncWorkflow.AbortAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamAnalyticsClusterCollection.cs b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamAnalyticsClusterCollection.cs index 2fae8b7600bc2..3b16bb46e8cb8 100644 --- a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamAnalyticsClusterCollection.cs +++ b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamAnalyticsClusterCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.StreamAnalytics.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StreamAnalytics.Samples { public partial class Sample_StreamAnalyticsClusterCollection { - // Create a new cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateANewCluster() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2020-03-01-preview/examples/Cluster_Create.json @@ -63,9 +63,8 @@ public async Task CreateOrUpdate_CreateANewCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACluster() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2020-03-01-preview/examples/Cluster_Get.json @@ -97,9 +96,8 @@ public async Task Get_GetACluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetACluster() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2020-03-01-preview/examples/Cluster_Get.json @@ -127,9 +125,8 @@ public async Task Exists_GetACluster() Console.WriteLine($"Succeeded: {result}"); } - // Get a cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetACluster() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2020-03-01-preview/examples/Cluster_Get.json @@ -157,7 +154,7 @@ public async Task GetIfExists_GetACluster() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_GetACluster() } } - // List clusters in resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListClustersInResourceGroup() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2020-03-01-preview/examples/Cluster_ListByResourceGroup.json @@ -202,7 +198,7 @@ public async Task GetAll_ListClustersInResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamAnalyticsClusterResource.cs b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamAnalyticsClusterResource.cs index a73dce2ee523c..dd0f26ac9c586 100644 --- a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamAnalyticsClusterResource.cs +++ b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamAnalyticsClusterResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.StreamAnalytics.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StreamAnalytics.Samples { public partial class Sample_StreamAnalyticsClusterResource { - // Update a cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateACluster() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2020-03-01-preview/examples/Cluster_Update.json @@ -55,9 +55,8 @@ public async Task Update_UpdateACluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACluster() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2020-03-01-preview/examples/Cluster_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetACluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteACluster() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2020-03-01-preview/examples/Cluster_Delete.json @@ -110,12 +108,11 @@ public async Task Delete_DeleteACluster() // invoke the operation await streamAnalyticsCluster.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List the clusters in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStreamAnalyticsClusters_ListTheClustersInASubscription() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2020-03-01-preview/examples/Cluster_ListBySubscription.json @@ -142,12 +139,11 @@ public async Task GetStreamAnalyticsClusters_ListTheClustersInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List all streaming jobs in cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStreamingJobs_ListAllStreamingJobsInCluster() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2020-03-01-preview/examples/Cluster_ListStreamingJobs.json @@ -172,7 +168,7 @@ public async Task GetStreamingJobs_ListAllStreamingJobsInCluster() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamAnalyticsPrivateEndpointCollection.cs b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamAnalyticsPrivateEndpointCollection.cs index 59b660a7e0a92..c99e5d64945d2 100644 --- a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamAnalyticsPrivateEndpointCollection.cs +++ b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamAnalyticsPrivateEndpointCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.StreamAnalytics.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StreamAnalytics.Samples { public partial class Sample_StreamAnalyticsPrivateEndpointCollection { - // Create a private endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAPrivateEndpoint() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2020-03-01-preview/examples/PrivateEndpoint_Create.json @@ -68,9 +68,8 @@ public async Task CreateOrUpdate_CreateAPrivateEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a private endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPrivateEndpoint() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2020-03-01-preview/examples/PrivateEndpoint_Get.json @@ -103,9 +102,8 @@ public async Task Get_GetAPrivateEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a private endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAPrivateEndpoint() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2020-03-01-preview/examples/PrivateEndpoint_Get.json @@ -134,9 +132,8 @@ public async Task Exists_GetAPrivateEndpoint() Console.WriteLine($"Succeeded: {result}"); } - // Get a private endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAPrivateEndpoint() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2020-03-01-preview/examples/PrivateEndpoint_Get.json @@ -165,7 +162,7 @@ public async Task GetIfExists_GetAPrivateEndpoint() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -177,9 +174,8 @@ public async Task GetIfExists_GetAPrivateEndpoint() } } - // Get the private endpoints in a cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetThePrivateEndpointsInACluster() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2020-03-01-preview/examples/PrivateEndpoint_ListByCluster.json @@ -211,7 +207,7 @@ public async Task GetAll_GetThePrivateEndpointsInACluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamAnalyticsPrivateEndpointResource.cs b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamAnalyticsPrivateEndpointResource.cs index 0aa3ae0417465..484d60eb69177 100644 --- a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamAnalyticsPrivateEndpointResource.cs +++ b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamAnalyticsPrivateEndpointResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.StreamAnalytics.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StreamAnalytics.Samples { public partial class Sample_StreamAnalyticsPrivateEndpointResource { - // Create a private endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAPrivateEndpoint() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2020-03-01-preview/examples/PrivateEndpoint_Create.json @@ -65,9 +65,8 @@ public async Task Update_CreateAPrivateEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a private endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPrivateEndpoint() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2020-03-01-preview/examples/PrivateEndpoint_Get.json @@ -97,9 +96,8 @@ public async Task Get_GetAPrivateEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a private endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAPrivateEndpoint() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2020-03-01-preview/examples/PrivateEndpoint_Delete.json @@ -122,7 +120,7 @@ public async Task Delete_DeleteAPrivateEndpoint() // invoke the operation await streamAnalyticsPrivateEndpoint.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobCollection.cs b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobCollection.cs index 87b81a8af9c84..db6ef4fca04da 100644 --- a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobCollection.cs +++ b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.StreamAnalytics.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StreamAnalytics.Samples { public partial class Sample_StreamingJobCollection { - // Create a complete streaming job (a streaming job with a transformation, at least 1 input and at least 1 output) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateACompleteStreamingJobAStreamingJobWithATransformationAtLeast1InputAndAtLeast1Output() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Create_CompleteJob.json @@ -136,9 +136,8 @@ public async Task CreateOrUpdate_CreateACompleteStreamingJobAStreamingJobWithATr Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a streaming job shell (a streaming job with no inputs, outputs, transformation, or functions) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAStreamingJobShellAStreamingJobWithNoInputsOutputsTransformationOrFunctions() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Create_JobShell.json @@ -196,9 +195,8 @@ public async Task CreateOrUpdate_CreateAStreamingJobShellAStreamingJobWithNoInpu Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a streaming job and do not use the $expand OData query parameter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAStreamingJobAndDoNotUseTheExpandODataQueryParameter() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Get_NoExpand.json @@ -230,9 +228,8 @@ public async Task Get_GetAStreamingJobAndDoNotUseTheExpandODataQueryParameter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a streaming job and do not use the $expand OData query parameter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAStreamingJobAndDoNotUseTheExpandODataQueryParameter() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Get_NoExpand.json @@ -260,9 +257,8 @@ public async Task Exists_GetAStreamingJobAndDoNotUseTheExpandODataQueryParameter Console.WriteLine($"Succeeded: {result}"); } - // Get a streaming job and do not use the $expand OData query parameter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAStreamingJobAndDoNotUseTheExpandODataQueryParameter() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Get_NoExpand.json @@ -290,7 +286,7 @@ public async Task GetIfExists_GetAStreamingJobAndDoNotUseTheExpandODataQueryPara if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -302,9 +298,8 @@ public async Task GetIfExists_GetAStreamingJobAndDoNotUseTheExpandODataQueryPara } } - // Get a streaming job and use the $expand OData query parameter to expand inputs, outputs, transformation, and functions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAStreamingJobAndUseTheExpandODataQueryParameterToExpandInputsOutputsTransformationAndFunctions() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Get_Expand.json @@ -337,9 +332,8 @@ public async Task Get_GetAStreamingJobAndUseTheExpandODataQueryParameterToExpand Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a streaming job and use the $expand OData query parameter to expand inputs, outputs, transformation, and functions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAStreamingJobAndUseTheExpandODataQueryParameterToExpandInputsOutputsTransformationAndFunctions() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Get_Expand.json @@ -368,9 +362,8 @@ public async Task Exists_GetAStreamingJobAndUseTheExpandODataQueryParameterToExp Console.WriteLine($"Succeeded: {result}"); } - // Get a streaming job and use the $expand OData query parameter to expand inputs, outputs, transformation, and functions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAStreamingJobAndUseTheExpandODataQueryParameterToExpandInputsOutputsTransformationAndFunctions() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Get_Expand.json @@ -399,7 +392,7 @@ public async Task GetIfExists_GetAStreamingJobAndUseTheExpandODataQueryParameter if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -411,9 +404,8 @@ public async Task GetIfExists_GetAStreamingJobAndUseTheExpandODataQueryParameter } } - // List all streaming jobs in a resource group and do not use the $expand OData query parameter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllStreamingJobsInAResourceGroupAndDoNotUseTheExpandODataQueryParameter() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_List_ByResourceGroup_NoExpand.json @@ -444,12 +436,11 @@ public async Task GetAll_ListAllStreamingJobsInAResourceGroupAndDoNotUseTheExpan Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List all streaming jobs in a resource group and use the $expand OData query parameter to expand inputs, outputs, transformation, and functions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllStreamingJobsInAResourceGroupAndUseTheExpandODataQueryParameterToExpandInputsOutputsTransformationAndFunctions() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_List_ByResourceGroup_Expand.json @@ -481,7 +472,7 @@ public async Task GetAll_ListAllStreamingJobsInAResourceGroupAndUseTheExpandODat Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobFunctionCollection.cs b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobFunctionCollection.cs index 62e247965b929..18efa5af42a09 100644 --- a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobFunctionCollection.cs +++ b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobFunctionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.StreamAnalytics.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StreamAnalytics.Samples { public partial class Sample_StreamingJobFunctionCollection { - // Create a CLRUdf function - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateACLRUdfFunction() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_Create_CSharp.json @@ -72,9 +72,8 @@ public async Task CreateOrUpdate_CreateACLRUdfFunction() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a JavaScript function - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAJavaScriptFunction() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_Create_JavaScript.json @@ -126,9 +125,8 @@ public async Task CreateOrUpdate_CreateAJavaScriptFunction() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an Azure ML Service function - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnAzureMLServiceFunction() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_Create_AzureMLService.json @@ -202,9 +200,8 @@ public async Task CreateOrUpdate_CreateAnAzureMLServiceFunction() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an Azure ML function - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnAzureMLFunction() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_Create_AzureML.json @@ -279,9 +276,8 @@ public async Task CreateOrUpdate_CreateAnAzureMLFunction() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a JavaScript function - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAJavaScriptFunction() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_Get_JavaScript.json @@ -314,9 +310,8 @@ public async Task Get_GetAJavaScriptFunction() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a JavaScript function - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAJavaScriptFunction() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_Get_JavaScript.json @@ -345,9 +340,8 @@ public async Task Exists_GetAJavaScriptFunction() Console.WriteLine($"Succeeded: {result}"); } - // Get a JavaScript function - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAJavaScriptFunction() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_Get_JavaScript.json @@ -376,7 +370,7 @@ public async Task GetIfExists_GetAJavaScriptFunction() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -388,9 +382,8 @@ public async Task GetIfExists_GetAJavaScriptFunction() } } - // Get an Azure ML function - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAzureMLFunction() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_Get_AzureML.json @@ -423,9 +416,8 @@ public async Task Get_GetAnAzureMLFunction() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an Azure ML function - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnAzureMLFunction() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_Get_AzureML.json @@ -454,9 +446,8 @@ public async Task Exists_GetAnAzureMLFunction() Console.WriteLine($"Succeeded: {result}"); } - // Get an Azure ML function - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnAzureMLFunction() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_Get_AzureML.json @@ -485,7 +476,7 @@ public async Task GetIfExists_GetAnAzureMLFunction() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -497,9 +488,8 @@ public async Task GetIfExists_GetAnAzureMLFunction() } } - // List all functions in a streaming job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllFunctionsInAStreamingJob() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_ListByStreamingJob.json @@ -531,7 +521,7 @@ public async Task GetAll_ListAllFunctionsInAStreamingJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobFunctionResource.cs b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobFunctionResource.cs index 098d14936bdba..ff2770fd02c4b 100644 --- a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobFunctionResource.cs +++ b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobFunctionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.StreamAnalytics.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StreamAnalytics.Samples { public partial class Sample_StreamingJobFunctionResource { - // Update a JavaScript function - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAJavaScriptFunction() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_Update_JavaScript.json @@ -57,9 +57,8 @@ public async Task Update_UpdateAJavaScriptFunction() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update an Azure ML function - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAnAzureMLFunction() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_Update_AzureML.json @@ -99,9 +98,8 @@ public async Task Update_UpdateAnAzureMLFunction() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a function - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAFunction() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_Delete.json @@ -124,12 +122,11 @@ public async Task Delete_DeleteAFunction() // invoke the operation await streamingJobFunction.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a JavaScript function - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAJavaScriptFunction() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_Get_JavaScript.json @@ -159,9 +156,8 @@ public async Task Get_GetAJavaScriptFunction() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an Azure ML function - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAzureMLFunction() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_Get_AzureML.json @@ -191,9 +187,8 @@ public async Task Get_GetAnAzureMLFunction() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Test the connection for a JavaScript function - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Test_TestTheConnectionForAJavaScriptFunction() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_Test_JavaScript.json @@ -220,9 +215,8 @@ public async Task Test_TestTheConnectionForAJavaScriptFunction() Console.WriteLine($"Succeeded: {result}"); } - // Test the connection for an Azure ML function - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Test_TestTheConnectionForAnAzureMLFunction() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_Test_AzureML.json @@ -249,9 +243,8 @@ public async Task Test_TestTheConnectionForAnAzureMLFunction() Console.WriteLine($"Succeeded: {result}"); } - // Retrieve the default definition for an Azure ML function - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RetrieveDefaultDefinition_RetrieveTheDefaultDefinitionForAnAzureMLFunction() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Function_RetrieveDefaultDefinition_AzureML.json diff --git a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobInputCollection.cs b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobInputCollection.cs index 337d4ab708bd3..0ee47d2f4cf00 100644 --- a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobInputCollection.cs +++ b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobInputCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.StreamAnalytics.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StreamAnalytics.Samples { public partial class Sample_StreamingJobInputCollection { - // Create a Gateway Message Bus input - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAGatewayMessageBusInput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Create_GatewayMessageBus.json @@ -61,9 +61,8 @@ public async Task CreateOrUpdate_CreateAGatewayMessageBusInput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a reference blob input with CSV serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAReferenceBlobInputWithCSVSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Create_Reference_Blob_CSV.json @@ -128,9 +127,8 @@ public async Task CreateOrUpdate_CreateAReferenceBlobInputWithCSVSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a stream Event Hub input with JSON serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAStreamEventHubInputWithJSONSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Create_Stream_EventHub_JSON.json @@ -183,9 +181,8 @@ public async Task CreateOrUpdate_CreateAStreamEventHubInputWithJSONSerialization Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a stream IoT Hub input with Avro serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAStreamIoTHubInputWithAvroSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Create_Stream_IoTHub_Avro.json @@ -234,9 +231,8 @@ public async Task CreateOrUpdate_CreateAStreamIoTHubInputWithAvroSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a stream blob input with CSV serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAStreamBlobInputWithCSVSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Create_Stream_Blob_CSV.json @@ -297,9 +293,8 @@ public async Task CreateOrUpdate_CreateAStreamBlobInputWithCSVSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an Event Grid input - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnEventGridInput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Create_EventGrid.json @@ -366,9 +361,8 @@ public async Task CreateOrUpdate_CreateAnEventGridInput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a reference blob input with CSV serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAReferenceBlobInputWithCSVSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Get_Reference_Blob_CSV.json @@ -401,9 +395,8 @@ public async Task Get_GetAReferenceBlobInputWithCSVSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a reference blob input with CSV serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAReferenceBlobInputWithCSVSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Get_Reference_Blob_CSV.json @@ -432,9 +425,8 @@ public async Task Exists_GetAReferenceBlobInputWithCSVSerialization() Console.WriteLine($"Succeeded: {result}"); } - // Get a reference blob input with CSV serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAReferenceBlobInputWithCSVSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Get_Reference_Blob_CSV.json @@ -463,7 +455,7 @@ public async Task GetIfExists_GetAReferenceBlobInputWithCSVSerialization() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -475,9 +467,8 @@ public async Task GetIfExists_GetAReferenceBlobInputWithCSVSerialization() } } - // Get a stream Event Hub input with JSON serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAStreamEventHubInputWithJSONSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Get_Stream_EventHub_JSON.json @@ -510,9 +501,8 @@ public async Task Get_GetAStreamEventHubInputWithJSONSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a stream Event Hub input with JSON serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAStreamEventHubInputWithJSONSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Get_Stream_EventHub_JSON.json @@ -541,9 +531,8 @@ public async Task Exists_GetAStreamEventHubInputWithJSONSerialization() Console.WriteLine($"Succeeded: {result}"); } - // Get a stream Event Hub input with JSON serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAStreamEventHubInputWithJSONSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Get_Stream_EventHub_JSON.json @@ -572,7 +561,7 @@ public async Task GetIfExists_GetAStreamEventHubInputWithJSONSerialization() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -584,9 +573,8 @@ public async Task GetIfExists_GetAStreamEventHubInputWithJSONSerialization() } } - // Get a stream IoT Hub input with Avro serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAStreamIoTHubInputWithAvroSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Get_Stream_IoTHub_Avro.json @@ -619,9 +607,8 @@ public async Task Get_GetAStreamIoTHubInputWithAvroSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a stream IoT Hub input with Avro serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAStreamIoTHubInputWithAvroSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Get_Stream_IoTHub_Avro.json @@ -650,9 +637,8 @@ public async Task Exists_GetAStreamIoTHubInputWithAvroSerialization() Console.WriteLine($"Succeeded: {result}"); } - // Get a stream IoT Hub input with Avro serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAStreamIoTHubInputWithAvroSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Get_Stream_IoTHub_Avro.json @@ -681,7 +667,7 @@ public async Task GetIfExists_GetAStreamIoTHubInputWithAvroSerialization() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -693,9 +679,8 @@ public async Task GetIfExists_GetAStreamIoTHubInputWithAvroSerialization() } } - // Get a stream blob input with CSV serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAStreamBlobInputWithCSVSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Get_Stream_Blob_CSV.json @@ -728,9 +713,8 @@ public async Task Get_GetAStreamBlobInputWithCSVSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a stream blob input with CSV serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAStreamBlobInputWithCSVSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Get_Stream_Blob_CSV.json @@ -759,9 +743,8 @@ public async Task Exists_GetAStreamBlobInputWithCSVSerialization() Console.WriteLine($"Succeeded: {result}"); } - // Get a stream blob input with CSV serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAStreamBlobInputWithCSVSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Get_Stream_Blob_CSV.json @@ -790,7 +773,7 @@ public async Task GetIfExists_GetAStreamBlobInputWithCSVSerialization() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -802,9 +785,8 @@ public async Task GetIfExists_GetAStreamBlobInputWithCSVSerialization() } } - // List all inputs in a streaming job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllInputsInAStreamingJob() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_ListByStreamingJob.json @@ -836,12 +818,11 @@ public async Task GetAll_ListAllInputsInAStreamingJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List all inputs in a streaming job and include diagnostic information using the $select OData query parameter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllInputsInAStreamingJobAndIncludeDiagnosticInformationUsingTheSelectODataQueryParameter() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_ListByStreamingJob_Diagnostics.json @@ -874,7 +855,7 @@ public async Task GetAll_ListAllInputsInAStreamingJobAndIncludeDiagnosticInforma Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobInputResource.cs b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobInputResource.cs index 6c51acecf6dea..098ecb52e96a6 100644 --- a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobInputResource.cs +++ b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobInputResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.StreamAnalytics.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StreamAnalytics.Samples { public partial class Sample_StreamingJobInputResource { - // Update a reference blob input - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAReferenceBlobInput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Update_Reference_Blob.json @@ -62,9 +62,8 @@ public async Task Update_UpdateAReferenceBlobInput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a stream Event Hub input - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAStreamEventHubInput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Update_Stream_EventHub.json @@ -105,9 +104,8 @@ public async Task Update_UpdateAStreamEventHubInput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a stream IoT Hub input - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAStreamIoTHubInput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Update_Stream_IoTHub.json @@ -152,9 +150,8 @@ public async Task Update_UpdateAStreamIoTHubInput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a stream blob input - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAStreamBlobInput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Update_Stream_Blob.json @@ -199,9 +196,8 @@ public async Task Update_UpdateAStreamBlobInput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an input - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnInput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Delete.json @@ -224,12 +220,11 @@ public async Task Delete_DeleteAnInput() // invoke the operation await streamingJobInput.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a reference blob input with CSV serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAReferenceBlobInputWithCSVSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Get_Reference_Blob_CSV.json @@ -259,9 +254,8 @@ public async Task Get_GetAReferenceBlobInputWithCSVSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a stream Event Hub input with JSON serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAStreamEventHubInputWithJSONSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Get_Stream_EventHub_JSON.json @@ -291,9 +285,8 @@ public async Task Get_GetAStreamEventHubInputWithJSONSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a stream IoT Hub input with Avro serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAStreamIoTHubInputWithAvroSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Get_Stream_IoTHub_Avro.json @@ -323,9 +316,8 @@ public async Task Get_GetAStreamIoTHubInputWithAvroSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a stream blob input with CSV serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAStreamBlobInputWithCSVSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Get_Stream_Blob_CSV.json @@ -355,9 +347,8 @@ public async Task Get_GetAStreamBlobInputWithCSVSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Test the connection for an input - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Test_TestTheConnectionForAnInput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Input_Test.json diff --git a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobOutputCollection.cs b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobOutputCollection.cs index b8c5c42fd706b..9070cfa870339 100644 --- a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobOutputCollection.cs +++ b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobOutputCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.StreamAnalytics.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StreamAnalytics.Samples { public partial class Sample_StreamingJobOutputCollection { - // Create a DocumentDB output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADocumentDBOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Create_DocumentDB.json @@ -64,9 +64,8 @@ public async Task CreateOrUpdate_CreateADocumentDBOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a Gateway Message Bus output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAGatewayMessageBusOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Create_GatewayMessageBus.json @@ -107,9 +106,8 @@ public async Task CreateOrUpdate_CreateAGatewayMessageBusOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a PostgreSQL output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAPostgreSQLOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Create_PostgreSQL.json @@ -156,9 +154,8 @@ public async Task CreateOrUpdate_CreateAPostgreSQLOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a Power BI output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAPowerBIOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Create_PowerBI.json @@ -205,9 +202,8 @@ public async Task CreateOrUpdate_CreateAPowerBIOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a Service Bus Queue output with Avro serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAServiceBusQueueOutputWithAvroSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Create_ServiceBusQueue_Avro.json @@ -261,9 +257,8 @@ public async Task CreateOrUpdate_CreateAServiceBusQueueOutputWithAvroSerializati Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a Service Bus Topic output with CSV serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAServiceBusTopicOutputWithCSVSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Create_ServiceBusTopic_CSV.json @@ -316,9 +311,8 @@ public async Task CreateOrUpdate_CreateAServiceBusTopicOutputWithCSVSerializatio Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a blob output with CSV serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateABlobOutputWithCSVSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Create_Blob_CSV.json @@ -377,9 +371,8 @@ public async Task CreateOrUpdate_CreateABlobOutputWithCSVSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an Azure Data Lake Store output with JSON serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnAzureDataLakeStoreOutputWithJSONSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Create_AzureDataLakeStore_JSON.json @@ -432,9 +425,8 @@ public async Task CreateOrUpdate_CreateAnAzureDataLakeStoreOutputWithJSONSeriali Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an Azure Data Warehouse output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnAzureDataWarehouseOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Create_DataWarehouse.json @@ -480,9 +472,8 @@ public async Task CreateOrUpdate_CreateAnAzureDataWarehouseOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an Azure Function output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnAzureFunctionOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Create_AzureFunction.json @@ -527,9 +518,8 @@ public async Task CreateOrUpdate_CreateAnAzureFunctionOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an Azure SQL database output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnAzureSQLDatabaseOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Create_AzureSQL.json @@ -574,9 +564,8 @@ public async Task CreateOrUpdate_CreateAnAzureSQLDatabaseOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an Azure Table output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnAzureTableOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Create_AzureTable.json @@ -626,9 +615,8 @@ public async Task CreateOrUpdate_CreateAnAzureTableOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an Event Hub output with JSON serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnEventHubOutputWithJSONSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Create_EventHub_JSON.json @@ -683,9 +671,8 @@ public async Task CreateOrUpdate_CreateAnEventHubOutputWithJSONSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a DocumentDB output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADocumentDBOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_DocumentDB.json @@ -718,9 +705,8 @@ public async Task Get_GetADocumentDBOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a DocumentDB output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADocumentDBOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_DocumentDB.json @@ -749,9 +735,8 @@ public async Task Exists_GetADocumentDBOutput() Console.WriteLine($"Succeeded: {result}"); } - // Get a DocumentDB output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADocumentDBOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_DocumentDB.json @@ -780,7 +765,7 @@ public async Task GetIfExists_GetADocumentDBOutput() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -792,9 +777,8 @@ public async Task GetIfExists_GetADocumentDBOutput() } } - // Get a Power BI output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPowerBIOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_PowerBI.json @@ -827,9 +811,8 @@ public async Task Get_GetAPowerBIOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Power BI output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAPowerBIOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_PowerBI.json @@ -858,9 +841,8 @@ public async Task Exists_GetAPowerBIOutput() Console.WriteLine($"Succeeded: {result}"); } - // Get a Power BI output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAPowerBIOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_PowerBI.json @@ -889,7 +871,7 @@ public async Task GetIfExists_GetAPowerBIOutput() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -901,9 +883,8 @@ public async Task GetIfExists_GetAPowerBIOutput() } } - // Get a Service Bus Queue output with Avro serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServiceBusQueueOutputWithAvroSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_ServiceBusQueue_Avro.json @@ -936,9 +917,8 @@ public async Task Get_GetAServiceBusQueueOutputWithAvroSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Service Bus Queue output with Avro serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAServiceBusQueueOutputWithAvroSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_ServiceBusQueue_Avro.json @@ -967,9 +947,8 @@ public async Task Exists_GetAServiceBusQueueOutputWithAvroSerialization() Console.WriteLine($"Succeeded: {result}"); } - // Get a Service Bus Queue output with Avro serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAServiceBusQueueOutputWithAvroSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_ServiceBusQueue_Avro.json @@ -998,7 +977,7 @@ public async Task GetIfExists_GetAServiceBusQueueOutputWithAvroSerialization() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1010,9 +989,8 @@ public async Task GetIfExists_GetAServiceBusQueueOutputWithAvroSerialization() } } - // Get a Service Bus Topic output with CSV serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServiceBusTopicOutputWithCSVSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_ServiceBusTopic_CSV.json @@ -1045,9 +1023,8 @@ public async Task Get_GetAServiceBusTopicOutputWithCSVSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Service Bus Topic output with CSV serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAServiceBusTopicOutputWithCSVSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_ServiceBusTopic_CSV.json @@ -1076,9 +1053,8 @@ public async Task Exists_GetAServiceBusTopicOutputWithCSVSerialization() Console.WriteLine($"Succeeded: {result}"); } - // Get a Service Bus Topic output with CSV serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAServiceBusTopicOutputWithCSVSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_ServiceBusTopic_CSV.json @@ -1107,7 +1083,7 @@ public async Task GetIfExists_GetAServiceBusTopicOutputWithCSVSerialization() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1119,9 +1095,8 @@ public async Task GetIfExists_GetAServiceBusTopicOutputWithCSVSerialization() } } - // Get a blob output with CSV serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetABlobOutputWithCSVSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_Blob_CSV.json @@ -1154,9 +1129,8 @@ public async Task Get_GetABlobOutputWithCSVSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a blob output with CSV serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetABlobOutputWithCSVSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_Blob_CSV.json @@ -1185,9 +1159,8 @@ public async Task Exists_GetABlobOutputWithCSVSerialization() Console.WriteLine($"Succeeded: {result}"); } - // Get a blob output with CSV serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetABlobOutputWithCSVSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_Blob_CSV.json @@ -1216,7 +1189,7 @@ public async Task GetIfExists_GetABlobOutputWithCSVSerialization() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1228,9 +1201,8 @@ public async Task GetIfExists_GetABlobOutputWithCSVSerialization() } } - // Get an Azure Data Lake Store output with JSON serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAzureDataLakeStoreOutputWithJSONSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_AzureDataLakeStore_JSON.json @@ -1263,9 +1235,8 @@ public async Task Get_GetAnAzureDataLakeStoreOutputWithJSONSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an Azure Data Lake Store output with JSON serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnAzureDataLakeStoreOutputWithJSONSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_AzureDataLakeStore_JSON.json @@ -1294,9 +1265,8 @@ public async Task Exists_GetAnAzureDataLakeStoreOutputWithJSONSerialization() Console.WriteLine($"Succeeded: {result}"); } - // Get an Azure Data Lake Store output with JSON serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnAzureDataLakeStoreOutputWithJSONSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_AzureDataLakeStore_JSON.json @@ -1325,7 +1295,7 @@ public async Task GetIfExists_GetAnAzureDataLakeStoreOutputWithJSONSerialization if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1337,9 +1307,8 @@ public async Task GetIfExists_GetAnAzureDataLakeStoreOutputWithJSONSerialization } } - // Get an Azure Data Warehouse output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAzureDataWarehouseOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_DataWarehouse.json @@ -1372,9 +1341,8 @@ public async Task Get_GetAnAzureDataWarehouseOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an Azure Data Warehouse output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnAzureDataWarehouseOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_DataWarehouse.json @@ -1403,9 +1371,8 @@ public async Task Exists_GetAnAzureDataWarehouseOutput() Console.WriteLine($"Succeeded: {result}"); } - // Get an Azure Data Warehouse output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnAzureDataWarehouseOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_DataWarehouse.json @@ -1434,7 +1401,7 @@ public async Task GetIfExists_GetAnAzureDataWarehouseOutput() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1446,9 +1413,8 @@ public async Task GetIfExists_GetAnAzureDataWarehouseOutput() } } - // Get an Azure Function output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAzureFunctionOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_AzureFunction.json @@ -1481,9 +1447,8 @@ public async Task Get_GetAnAzureFunctionOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an Azure Function output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnAzureFunctionOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_AzureFunction.json @@ -1512,9 +1477,8 @@ public async Task Exists_GetAnAzureFunctionOutput() Console.WriteLine($"Succeeded: {result}"); } - // Get an Azure Function output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnAzureFunctionOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_AzureFunction.json @@ -1543,7 +1507,7 @@ public async Task GetIfExists_GetAnAzureFunctionOutput() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1555,9 +1519,8 @@ public async Task GetIfExists_GetAnAzureFunctionOutput() } } - // Get an Azure SQL database output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAzureSQLDatabaseOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_AzureSQL.json @@ -1590,9 +1553,8 @@ public async Task Get_GetAnAzureSQLDatabaseOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an Azure SQL database output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnAzureSQLDatabaseOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_AzureSQL.json @@ -1621,9 +1583,8 @@ public async Task Exists_GetAnAzureSQLDatabaseOutput() Console.WriteLine($"Succeeded: {result}"); } - // Get an Azure SQL database output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnAzureSQLDatabaseOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_AzureSQL.json @@ -1652,7 +1613,7 @@ public async Task GetIfExists_GetAnAzureSQLDatabaseOutput() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1664,9 +1625,8 @@ public async Task GetIfExists_GetAnAzureSQLDatabaseOutput() } } - // Get an Azure Table output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAzureTableOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_AzureTable.json @@ -1699,9 +1659,8 @@ public async Task Get_GetAnAzureTableOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an Azure Table output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnAzureTableOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_AzureTable.json @@ -1730,9 +1689,8 @@ public async Task Exists_GetAnAzureTableOutput() Console.WriteLine($"Succeeded: {result}"); } - // Get an Azure Table output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnAzureTableOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_AzureTable.json @@ -1761,7 +1719,7 @@ public async Task GetIfExists_GetAnAzureTableOutput() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1773,9 +1731,8 @@ public async Task GetIfExists_GetAnAzureTableOutput() } } - // Get an Event Hub output with JSON serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnEventHubOutputWithJSONSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_EventHub_JSON.json @@ -1808,9 +1765,8 @@ public async Task Get_GetAnEventHubOutputWithJSONSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an Event Hub output with JSON serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnEventHubOutputWithJSONSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_EventHub_JSON.json @@ -1839,9 +1795,8 @@ public async Task Exists_GetAnEventHubOutputWithJSONSerialization() Console.WriteLine($"Succeeded: {result}"); } - // Get an Event Hub output with JSON serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnEventHubOutputWithJSONSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_EventHub_JSON.json @@ -1870,7 +1825,7 @@ public async Task GetIfExists_GetAnEventHubOutputWithJSONSerialization() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1882,9 +1837,8 @@ public async Task GetIfExists_GetAnEventHubOutputWithJSONSerialization() } } - // List all outputs in a streaming job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllOutputsInAStreamingJob() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_ListByStreamingJob.json @@ -1916,7 +1870,7 @@ public async Task GetAll_ListAllOutputsInAStreamingJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobOutputResource.cs b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobOutputResource.cs index de7cf799641bf..206bca4bfa9b2 100644 --- a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobOutputResource.cs +++ b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobOutputResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.StreamAnalytics.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StreamAnalytics.Samples { public partial class Sample_StreamingJobOutputResource { - // Update a DocumentDB output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateADocumentDBOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Update_DocumentDB.json @@ -54,9 +54,8 @@ public async Task Update_UpdateADocumentDBOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a Power BI output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAPowerBIOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Update_PowerBI.json @@ -93,9 +92,8 @@ public async Task Update_UpdateAPowerBIOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a Service Bus Queue output with Avro serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAServiceBusQueueOutputWithAvroSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Update_ServiceBusQueue.json @@ -137,9 +135,8 @@ public async Task Update_UpdateAServiceBusQueueOutputWithAvroSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a Service Bus Topic output with CSV serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAServiceBusTopicOutputWithCSVSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Update_ServiceBusTopic.json @@ -181,9 +178,8 @@ public async Task Update_UpdateAServiceBusTopicOutputWithCSVSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a blob output with CSV serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateABlobOutputWithCSVSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Update_Blob.json @@ -225,9 +221,8 @@ public async Task Update_UpdateABlobOutputWithCSVSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update an Azure Data Lake Store output with JSON serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAnAzureDataLakeStoreOutputWithJSONSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Update_AzureDataLakeStore.json @@ -269,9 +264,8 @@ public async Task Update_UpdateAnAzureDataLakeStoreOutputWithJSONSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update an Azure Data Warehouse output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAnAzureDataWarehouseOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Update_DataWarehouse.json @@ -308,9 +302,8 @@ public async Task Update_UpdateAnAzureDataWarehouseOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update an Azure Function output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAnAzureFunctionOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Update_AzureFunction.json @@ -347,9 +340,8 @@ public async Task Update_UpdateAnAzureFunctionOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update an Azure SQL database output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAnAzureSQLDatabaseOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Update_AzureSQL.json @@ -386,9 +378,8 @@ public async Task Update_UpdateAnAzureSQLDatabaseOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update an Azure Table output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAnAzureTableOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Update_AzureTable.json @@ -425,9 +416,8 @@ public async Task Update_UpdateAnAzureTableOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update an Event Hub output with JSON serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAnEventHubOutputWithJSONSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Update_EventHub.json @@ -469,9 +459,8 @@ public async Task Update_UpdateAnEventHubOutputWithJSONSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Delete.json @@ -494,12 +483,11 @@ public async Task Delete_DeleteAnOutput() // invoke the operation await streamingJobOutput.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a DocumentDB output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADocumentDBOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_DocumentDB.json @@ -529,9 +517,8 @@ public async Task Get_GetADocumentDBOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Power BI output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPowerBIOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_PowerBI.json @@ -561,9 +548,8 @@ public async Task Get_GetAPowerBIOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Service Bus Queue output with Avro serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServiceBusQueueOutputWithAvroSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_ServiceBusQueue_Avro.json @@ -593,9 +579,8 @@ public async Task Get_GetAServiceBusQueueOutputWithAvroSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Service Bus Topic output with CSV serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServiceBusTopicOutputWithCSVSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_ServiceBusTopic_CSV.json @@ -625,9 +610,8 @@ public async Task Get_GetAServiceBusTopicOutputWithCSVSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a blob output with CSV serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetABlobOutputWithCSVSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_Blob_CSV.json @@ -657,9 +641,8 @@ public async Task Get_GetABlobOutputWithCSVSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an Azure Data Lake Store output with JSON serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAzureDataLakeStoreOutputWithJSONSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_AzureDataLakeStore_JSON.json @@ -689,9 +672,8 @@ public async Task Get_GetAnAzureDataLakeStoreOutputWithJSONSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an Azure Data Warehouse output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAzureDataWarehouseOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_DataWarehouse.json @@ -721,9 +703,8 @@ public async Task Get_GetAnAzureDataWarehouseOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an Azure Function output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAzureFunctionOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_AzureFunction.json @@ -753,9 +734,8 @@ public async Task Get_GetAnAzureFunctionOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an Azure SQL database output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAzureSQLDatabaseOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_AzureSQL.json @@ -785,9 +765,8 @@ public async Task Get_GetAnAzureSQLDatabaseOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an Azure Table output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAzureTableOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_AzureTable.json @@ -817,9 +796,8 @@ public async Task Get_GetAnAzureTableOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an Event Hub output with JSON serialization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnEventHubOutputWithJSONSerialization() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Get_EventHub_JSON.json @@ -849,9 +827,8 @@ public async Task Get_GetAnEventHubOutputWithJSONSerialization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Test the connection for an output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Test_TestTheConnectionForAnOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Output_Test.json diff --git a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobResource.cs b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobResource.cs index 58ccf5cf1a7ab..a82459fa38624 100644 --- a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobResource.cs +++ b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.StreamAnalytics.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StreamAnalytics.Samples { public partial class Sample_StreamingJobResource { - // Update a streaming job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAStreamingJob() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Update.json @@ -52,9 +52,8 @@ public async Task Update_UpdateAStreamingJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a streaming job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAStreamingJob() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Delete.json @@ -76,12 +75,11 @@ public async Task Delete_DeleteAStreamingJob() // invoke the operation await streamingJob.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a streaming job and do not use the $expand OData query parameter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAStreamingJobAndDoNotUseTheExpandODataQueryParameter() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Get_NoExpand.json @@ -110,9 +108,8 @@ public async Task Get_GetAStreamingJobAndDoNotUseTheExpandODataQueryParameter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a streaming job and use the $expand OData query parameter to expand inputs, outputs, transformation, and functions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAStreamingJobAndUseTheExpandODataQueryParameterToExpandInputsOutputsTransformationAndFunctions() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Get_Expand.json @@ -142,9 +139,8 @@ public async Task Get_GetAStreamingJobAndUseTheExpandODataQueryParameterToExpand Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all streaming jobs in a subscription and do not use the $expand OData query parameter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStreamingJobs_ListAllStreamingJobsInASubscriptionAndDoNotUseTheExpandODataQueryParameter() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_List_BySubscription_NoExpand.json @@ -171,12 +167,11 @@ public async Task GetStreamingJobs_ListAllStreamingJobsInASubscriptionAndDoNotUs Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List all streaming jobs in a subscription and use the $expand OData query parameter to expand inputs, outputs, transformation, and functions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStreamingJobs_ListAllStreamingJobsInASubscriptionAndUseTheExpandODataQueryParameterToExpandInputsOutputsTransformationAndFunctions() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_List_BySubscription_Expand.json @@ -204,12 +199,11 @@ public async Task GetStreamingJobs_ListAllStreamingJobsInASubscriptionAndUseTheE Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Start a streaming job with CustomTime output start mode - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_StartAStreamingJobWithCustomTimeOutputStartMode() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Start_CustomTime.json @@ -236,12 +230,11 @@ public async Task Start_StartAStreamingJobWithCustomTimeOutputStartMode() }; await streamingJob.StartAsync(WaitUntil.Completed, content: content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Start a streaming job with JobStartTime output start mode - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_StartAStreamingJobWithJobStartTimeOutputStartMode() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Start_JobStartTime.json @@ -267,12 +260,11 @@ public async Task Start_StartAStreamingJobWithJobStartTimeOutputStartMode() }; await streamingJob.StartAsync(WaitUntil.Completed, content: content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Start a streaming job with LastOutputEventTime output start mode - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_StartAStreamingJobWithLastOutputEventTimeOutputStartMode() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Start_LastOutputEventTime.json @@ -298,12 +290,11 @@ public async Task Start_StartAStreamingJobWithLastOutputEventTimeOutputStartMode }; await streamingJob.StartAsync(WaitUntil.Completed, content: content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Stop a streaming job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_StopAStreamingJob() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Stop.json @@ -325,12 +316,11 @@ public async Task Stop_StopAStreamingJob() // invoke the operation await streamingJob.StopAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Scale a streaming job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Scale_ScaleAStreamingJob() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/StreamingJob_Scale.json @@ -356,7 +346,7 @@ public async Task Scale_ScaleAStreamingJob() }; await streamingJob.ScaleAsync(WaitUntil.Completed, content: content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobTransformationCollection.cs b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobTransformationCollection.cs index 5f475ef2c9dd5..db84cae7b9100 100644 --- a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobTransformationCollection.cs +++ b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobTransformationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.StreamAnalytics.Samples { public partial class Sample_StreamingJobTransformationCollection { - // Create a transformation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateATransformation() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Transformation_Create.json @@ -55,9 +55,8 @@ public async Task CreateOrUpdate_CreateATransformation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a transformation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetATransformation() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Transformation_Get.json @@ -90,9 +89,8 @@ public async Task Get_GetATransformation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a transformation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetATransformation() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Transformation_Get.json @@ -121,9 +119,8 @@ public async Task Exists_GetATransformation() Console.WriteLine($"Succeeded: {result}"); } - // Get a transformation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetATransformation() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Transformation_Get.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetATransformation() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobTransformationResource.cs b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobTransformationResource.cs index e90dfa325de27..2fb90fac633e5 100644 --- a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobTransformationResource.cs +++ b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_StreamingJobTransformationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.StreamAnalytics.Samples { public partial class Sample_StreamingJobTransformationResource { - // Update a transformation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateATransformation() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Transformation_Update.json @@ -50,9 +50,8 @@ public async Task Update_UpdateATransformation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a transformation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetATransformation() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Transformation_Get.json diff --git a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 4aca641ff4272..e316be32f7b18 100644 --- a/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/streamanalytics/Azure.ResourceManager.StreamAnalytics/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.StreamAnalytics.Models; +using NUnit.Framework; namespace Azure.ResourceManager.StreamAnalytics.Samples { public partial class Sample_SubscriptionResourceExtensions { - // List subscription quota information in West US - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetQuotasSubscriptions_ListSubscriptionQuotaInformationInWestUS() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Subscription_ListQuotas.json @@ -42,12 +42,11 @@ public async Task GetQuotasSubscriptions_ListSubscriptionQuotaInformationInWestU Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Test the Stream Analytics query - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TestQuerySubscription_TestTheStreamAnalyticsQuery() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Subscription_TestQuery.json @@ -131,9 +130,8 @@ public async Task TestQuerySubscription_TestTheStreamAnalyticsQuery() Console.WriteLine($"Succeeded: {result}"); } - // Compile the Stream Analytics query - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CompileQuerySubscription_CompileTheStreamAnalyticsQuery() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Subscription_CompileQuery.json @@ -179,9 +177,8 @@ public async Task CompileQuerySubscription_CompileTheStreamAnalyticsQuery() Console.WriteLine($"Succeeded: {result}"); } - // Sample the Stream Analytics input data - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SampleInputSubscription_SampleTheStreamAnalyticsInputData() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Subscription_SampleInput.json @@ -239,9 +236,8 @@ public async Task SampleInputSubscription_SampleTheStreamAnalyticsInputData() Console.WriteLine($"Succeeded: {result}"); } - // Test the Stream Analytics input - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TestInputSubscription_TestTheStreamAnalyticsInput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Subscription_TestInput.json @@ -293,9 +289,8 @@ public async Task TestInputSubscription_TestTheStreamAnalyticsInput() Console.WriteLine($"Succeeded: {result}"); } - // Test the Stream Analytics output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TestOutputSubscription_TestTheStreamAnalyticsOutput() { // Generated from example definition: specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/preview/2021-10-01-preview/examples/Subscription_TestOutput.json diff --git a/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_BillingAccountPolicyCollection.cs b/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_BillingAccountPolicyCollection.cs index fb67896e5fb40..4e75a3213859b 100644 --- a/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_BillingAccountPolicyCollection.cs +++ b/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_BillingAccountPolicyCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Subscription.Samples { public partial class Sample_BillingAccountPolicyCollection { - // GetBillingAccountPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetBillingAccountPolicy() { // Generated from example definition: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getBillingAccountPolicy.json @@ -45,9 +45,8 @@ public async Task Get_GetBillingAccountPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetBillingAccountPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetBillingAccountPolicy() { // Generated from example definition: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getBillingAccountPolicy.json @@ -72,9 +71,8 @@ public async Task Exists_GetBillingAccountPolicy() Console.WriteLine($"Succeeded: {result}"); } - // GetBillingAccountPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetBillingAccountPolicy() { // Generated from example definition: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getBillingAccountPolicy.json @@ -99,7 +97,7 @@ public async Task GetIfExists_GetBillingAccountPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_BillingAccountPolicyResource.cs b/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_BillingAccountPolicyResource.cs index ec5b01dede41e..7995500e4bf59 100644 --- a/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_BillingAccountPolicyResource.cs +++ b/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_BillingAccountPolicyResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Subscription.Samples { public partial class Sample_BillingAccountPolicyResource { - // GetBillingAccountPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetBillingAccountPolicy() { // Generated from example definition: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getBillingAccountPolicy.json diff --git a/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_SubscriptionAliasCollection.cs b/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_SubscriptionAliasCollection.cs index 1567a5d7feff4..1e8326917f9f8 100644 --- a/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_SubscriptionAliasCollection.cs +++ b/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_SubscriptionAliasCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Subscription.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Subscription.Samples { public partial class Sample_SubscriptionAliasCollection { - // CreateAlias - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAlias() { // Generated from example definition: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/createAlias.json @@ -66,9 +66,8 @@ public async Task CreateOrUpdate_CreateAlias() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetAlias - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAlias() { // Generated from example definition: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getAlias.json @@ -97,9 +96,8 @@ public async Task Get_GetAlias() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetAlias - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAlias() { // Generated from example definition: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getAlias.json @@ -124,9 +122,8 @@ public async Task Exists_GetAlias() Console.WriteLine($"Succeeded: {result}"); } - // GetAlias - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAlias() { // Generated from example definition: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getAlias.json @@ -151,7 +148,7 @@ public async Task GetIfExists_GetAlias() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -163,9 +160,8 @@ public async Task GetIfExists_GetAlias() } } - // ListAlias - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAlias() { // Generated from example definition: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/listAlias.json @@ -193,7 +189,7 @@ public async Task GetAll_ListAlias() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_SubscriptionAliasResource.cs b/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_SubscriptionAliasResource.cs index b662a0a926112..c61fc4bd41106 100644 --- a/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_SubscriptionAliasResource.cs +++ b/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_SubscriptionAliasResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Subscription.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Subscription.Samples { public partial class Sample_SubscriptionAliasResource { - // CreateAlias - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAlias() { // Generated from example definition: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/createAlias.json @@ -64,9 +64,8 @@ public async Task Update_CreateAlias() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetAlias - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAlias() { // Generated from example definition: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getAlias.json @@ -93,9 +92,8 @@ public async Task Get_GetAlias() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteAlias - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAlias() { // Generated from example definition: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/deleteAlias.json @@ -115,7 +113,7 @@ public async Task Delete_DeleteAlias() // invoke the operation await subscriptionAlias.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index febefb3d3ef9e..001aeeb166456 100644 --- a/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Subscription.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Subscription.Samples { public partial class Sample_SubscriptionResourceExtensions { - // cancelSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CancelSubscription_CancelSubscription() { // Generated from example definition: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/cancelSubscription.json @@ -41,9 +41,8 @@ public async Task CancelSubscription_CancelSubscription() Console.WriteLine($"Succeeded: {result}"); } - // renameSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RenameSubscription_RenameSubscription() { // Generated from example definition: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/renameSubscription.json @@ -70,9 +69,8 @@ public async Task RenameSubscription_RenameSubscription() Console.WriteLine($"Succeeded: {result}"); } - // enableSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task EnableSubscription_EnableSubscription() { // Generated from example definition: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/enableSubscription.json diff --git a/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_TenantPolicyResource.cs b/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_TenantPolicyResource.cs index cc356e14dd2d1..bc37cd2de5e4a 100644 --- a/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_TenantPolicyResource.cs +++ b/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_TenantPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Subscription.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Subscription.Samples { public partial class Sample_TenantPolicyResource { - // TenantPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TenantPolicy() { // Generated from example definition: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/changeTenantPolicy.json @@ -53,9 +53,8 @@ public async Task CreateOrUpdate_TenantPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // getTenantPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTenantPolicy() { // Generated from example definition: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/getTenantPolicy.json diff --git a/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_TenantResourceExtensions.cs b/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_TenantResourceExtensions.cs index 8ec60a0fa4117..a035b5ee9fc99 100644 --- a/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_TenantResourceExtensions.cs +++ b/sdk/subscription/Azure.ResourceManager.Subscription/samples/Generated/Samples/Sample_TenantResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Subscription.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Subscription.Samples { public partial class Sample_TenantResourceExtensions { - // AcceptOwnership - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AcceptSubscriptionOwnership_AcceptOwnership() { // Generated from example definition: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/acceptSubscriptionOwnership.json @@ -49,12 +49,11 @@ public async Task AcceptSubscriptionOwnership_AcceptOwnership() }; await tenantResource.AcceptSubscriptionOwnershipAsync(WaitUntil.Completed, subscriptionId, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AcceptOwnershipStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAcceptOwnershipStatus_AcceptOwnershipStatus() { // Generated from example definition: specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/examples/acceptOwnershipStatus.json diff --git a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_ProblemClassificationCollection.cs b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_ProblemClassificationCollection.cs index f5818d89acf4e..88c14591c221d 100644 --- a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_ProblemClassificationCollection.cs +++ b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_ProblemClassificationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Support.Samples { public partial class Sample_ProblemClassificationCollection { - // Gets list of problemClassifications for a service for which a support ticket can be created - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsListOfProblemClassificationsForAServiceForWhichASupportTicketCanBeCreated() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListProblemClassifications.json @@ -46,12 +46,11 @@ public async Task GetAll_GetsListOfProblemClassificationsForAServiceForWhichASup Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets details of problemClassification for Azure service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsDetailsOfProblemClassificationForAzureService() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetProblemClassification.json @@ -82,9 +81,8 @@ public async Task Get_GetsDetailsOfProblemClassificationForAzureService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets details of problemClassification for Azure service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsDetailsOfProblemClassificationForAzureService() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetProblemClassification.json @@ -111,9 +109,8 @@ public async Task Exists_GetsDetailsOfProblemClassificationForAzureService() Console.WriteLine($"Succeeded: {result}"); } - // Gets details of problemClassification for Azure service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsDetailsOfProblemClassificationForAzureService() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetProblemClassification.json @@ -140,7 +137,7 @@ public async Task GetIfExists_GetsDetailsOfProblemClassificationForAzureService( if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_ProblemClassificationResource.cs b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_ProblemClassificationResource.cs index bc0b07b7e6eca..d4215054ee643 100644 --- a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_ProblemClassificationResource.cs +++ b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_ProblemClassificationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Support.Samples { public partial class Sample_ProblemClassificationResource { - // Gets details of problemClassification for Azure service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsDetailsOfProblemClassificationForAzureService() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetProblemClassification.json diff --git a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SubscriptionFileWorkspaceCollection.cs b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SubscriptionFileWorkspaceCollection.cs index e6b5d39e7ac81..d9d1b225b5819 100644 --- a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SubscriptionFileWorkspaceCollection.cs +++ b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SubscriptionFileWorkspaceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Support.Samples { public partial class Sample_SubscriptionFileWorkspaceCollection { - // Get details of a subscription file workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfASubscriptionFileWorkspace() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileWorkspaceDetailsForSubscription.json @@ -48,9 +48,8 @@ public async Task Get_GetDetailsOfASubscriptionFileWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get details of a subscription file workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDetailsOfASubscriptionFileWorkspace() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileWorkspaceDetailsForSubscription.json @@ -77,9 +76,8 @@ public async Task Exists_GetDetailsOfASubscriptionFileWorkspace() Console.WriteLine($"Succeeded: {result}"); } - // Get details of a subscription file workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDetailsOfASubscriptionFileWorkspace() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileWorkspaceDetailsForSubscription.json @@ -106,7 +104,7 @@ public async Task GetIfExists_GetDetailsOfASubscriptionFileWorkspace() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -118,9 +116,8 @@ public async Task GetIfExists_GetDetailsOfASubscriptionFileWorkspace() } } - // Create a file workspace for a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAFileWorkspaceForASubscription() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileWorkspaceForSubscription.json diff --git a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SubscriptionFileWorkspaceResource.cs b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SubscriptionFileWorkspaceResource.cs index 6a0aecced7f12..ca2aa4c2c40e1 100644 --- a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SubscriptionFileWorkspaceResource.cs +++ b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SubscriptionFileWorkspaceResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Support.Samples { public partial class Sample_SubscriptionFileWorkspaceResource { - // Get details of a subscription file workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfASubscriptionFileWorkspace() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileWorkspaceDetailsForSubscription.json @@ -44,9 +44,8 @@ public async Task Get_GetDetailsOfASubscriptionFileWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a file workspace for a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAFileWorkspaceForASubscription() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileWorkspaceForSubscription.json diff --git a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SubscriptionSupportTicketCollection.cs b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SubscriptionSupportTicketCollection.cs index 639bc7dee98bb..293369fa6a311 100644 --- a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SubscriptionSupportTicketCollection.cs +++ b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SubscriptionSupportTicketCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Support.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Support.Samples { public partial class Sample_SubscriptionSupportTicketCollection { - // List support tickets created on or after a certain date and in open state for a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSupportTicketsCreatedOnOrAfterACertainDateAndInOpenStateForASubscription() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenStateBySubscription.json @@ -49,12 +49,11 @@ public async Task GetAll_ListSupportTicketsCreatedOnOrAfterACertainDateAndInOpen Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List support tickets created on or after a certain date and in updating state for a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSupportTicketsCreatedOnOrAfterACertainDateAndInUpdatingStateForASubscription() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingStateBySubscription.json @@ -85,12 +84,11 @@ public async Task GetAll_ListSupportTicketsCreatedOnOrAfterACertainDateAndInUpda Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List support tickets for a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSupportTicketsForASubscription() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsBySubscription.json @@ -120,12 +118,11 @@ public async Task GetAll_ListSupportTicketsForASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List support tickets in open state for a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSupportTicketsInOpenStateForASubscription() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInOpenStateBySubscription.json @@ -156,12 +153,11 @@ public async Task GetAll_ListSupportTicketsInOpenStateForASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List support tickets in updating state for a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSupportTicketsInUpdatingStateForASubscription() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInUpdatingStateBySubscription.json @@ -192,12 +188,11 @@ public async Task GetAll_ListSupportTicketsInUpdatingStateForASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List support tickets with a certain problem classification id for a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSupportTicketsWithACertainProblemClassificationIdForASubscription() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsProblemClassificationIdEqualsForSubscription.json @@ -228,12 +223,11 @@ public async Task GetAll_ListSupportTicketsWithACertainProblemClassificationIdFo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List support tickets with a certain service id for a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSupportTicketsWithACertainServiceIdForASubscription() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEqualsForSubscription.json @@ -264,12 +258,11 @@ public async Task GetAll_ListSupportTicketsWithACertainServiceIdForASubscription Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get details of a subscription ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfASubscriptionTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetSubscriptionSupportTicketDetails.json @@ -300,9 +293,8 @@ public async Task Get_GetDetailsOfASubscriptionTicket() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get details of a subscription ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDetailsOfASubscriptionTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetSubscriptionSupportTicketDetails.json @@ -329,9 +321,8 @@ public async Task Exists_GetDetailsOfASubscriptionTicket() Console.WriteLine($"Succeeded: {result}"); } - // Get details of a subscription ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDetailsOfASubscriptionTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetSubscriptionSupportTicketDetails.json @@ -358,7 +349,7 @@ public async Task GetIfExists_GetDetailsOfASubscriptionTicket() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -370,9 +361,8 @@ public async Task GetIfExists_GetDetailsOfASubscriptionTicket() } } - // Create a ticket for Billing related issues - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateATicketForBillingRelatedIssues() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBillingSupportTicketForSubscription.json @@ -409,9 +399,8 @@ public async Task CreateOrUpdate_CreateATicketForBillingRelatedIssues() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a ticket for Subscription Management related issues for a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateATicketForSubscriptionManagementRelatedIssuesForASubscription() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSubMgmtSupportTicketForSubscription.json @@ -448,9 +437,8 @@ public async Task CreateOrUpdate_CreateATicketForSubscriptionManagementRelatedIs Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a ticket for Technical issue related to a specific resource for a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateATicketForTechnicalIssueRelatedToASpecificResourceForASubscription() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateTechnicalSupportTicketForSubscription.json @@ -497,9 +485,8 @@ public async Task CreateOrUpdate_CreateATicketForTechnicalIssueRelatedToASpecifi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a ticket to request Quota increase for Active Jobs and Job Schedules for a Batch account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForActiveJobsAndJobSchedulesForABatchAccount() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForActiveJobs.json @@ -548,9 +535,8 @@ public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForActiveJob Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a ticket to request Quota increase for Azure SQL managed instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForAzureSQLManagedInstance() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlManagedInstanceQuotaTicket.json @@ -603,9 +589,8 @@ public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForAzureSQLM Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a ticket to request Quota increase for Batch accounts for a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForBatchAccountsForASubscription() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSubscription.json @@ -654,9 +639,8 @@ public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForBatchAcco Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a ticket to request Quota increase for Compute VM Cores - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForComputeVMCores() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateCoresQuotaTicketForSubscription.json @@ -704,9 +688,8 @@ public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForComputeVM Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a ticket to request Quota increase for DTUs for Azure Synapse Analytics - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForDTUsForAzureSynapseAnalytics() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatawarehouseQuotaTicketForDTUs.json @@ -755,9 +738,8 @@ public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForDTUsForAz Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a ticket to request Quota increase for DTUs for SQL Database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForDTUsForSQLDatabase() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatabaseQuotaTicketForDTUs.json @@ -806,9 +788,8 @@ public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForDTUsForSQ Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a ticket to request Quota increase for Low-priority cores for Machine Learning service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateMachineLearningQuotaTicketForLowPriorityCores.json @@ -857,9 +838,8 @@ public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForLowPriori Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a ticket to request Quota increase for Low-priority cores for a Batch account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForLowPriorityCores.json @@ -908,9 +888,8 @@ public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForLowPriori Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a ticket to request Quota increase for Pools for a Batch account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForPoolsForABatchAccount() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForPools.json @@ -959,9 +938,8 @@ public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForPoolsForA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a ticket to request Quota increase for Servers for Azure Synapse Analytics - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatawarehouseQuotaTicketForServers.json @@ -1010,9 +988,8 @@ public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForServersFo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a ticket to request Quota increase for Servers for SQL Database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForServersForSQLDatabase() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSqlDatabaseQuotaTicketForServers.json @@ -1061,9 +1038,8 @@ public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForServersFo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a ticket to request Quota increase for services that do not require additional details in the quotaTicketDetails object - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateGenericQuotaTicket.json @@ -1096,9 +1072,8 @@ public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForServicesT Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a ticket to request Quota increase for specific VM family cores for Machine Learning service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForMachineLearningService() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateMachineLearningQuotaTicketForDedicatedCores.json @@ -1147,9 +1122,8 @@ public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForSpecificV Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a ticket to request Quota increase for specific VM family cores for a Batch account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBatchQuotaTicketForSpecificBatchAccountForDedicatedCores.json diff --git a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SubscriptionSupportTicketResource.cs b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SubscriptionSupportTicketResource.cs index 03e8e9a882f5c..450f1a66bf75c 100644 --- a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SubscriptionSupportTicketResource.cs +++ b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SubscriptionSupportTicketResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Support.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Support.Samples { public partial class Sample_SubscriptionSupportTicketResource { - // Checks whether name is available for a subscription support ticket resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckSupportTicketNameAvailability_ChecksWhetherNameIsAvailableForASubscriptionSupportTicketResource() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityWithSubscription.json @@ -42,9 +42,8 @@ public async Task CheckSupportTicketNameAvailability_ChecksWhetherNameIsAvailabl Console.WriteLine($"Succeeded: {result}"); } - // Get details of a subscription ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfASubscriptionTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetSubscriptionSupportTicketDetails.json @@ -72,9 +71,8 @@ public async Task Get_GetDetailsOfASubscriptionTicket() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update advanced diagnostic consent of a subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAdvancedDiagnosticConsentOfASubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateAdvancedDiagnosticConsentOfSupportTicketForSubscription.json @@ -106,9 +104,8 @@ public async Task Update_UpdateAdvancedDiagnosticConsentOfASubscriptionSupportTi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update contact details of a subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateContactDetailsOfASubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateContactDetailsOfSupportTicketForSubscription.json @@ -154,9 +151,8 @@ public async Task Update_UpdateContactDetailsOfASubscriptionSupportTicket() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update severity of a subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateSeverityOfASubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateSeverityOfSupportTicketForSubscription.json @@ -188,9 +184,8 @@ public async Task Update_UpdateSeverityOfASubscriptionSupportTicket() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update status of a subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateStatusOfASubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateStatusOfSupportTicketForSubscription.json @@ -222,9 +217,8 @@ public async Task Update_UpdateStatusOfASubscriptionSupportTicket() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Checks whether name is available for Communication resource for a subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckCommunicationNameAvailability_ChecksWhetherNameIsAvailableForCommunicationResourceForASubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityForSupportTicketCommunication.json diff --git a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportAzureServiceCollection.cs b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportAzureServiceCollection.cs index fff040d45420e..ff3edeab8020c 100644 --- a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportAzureServiceCollection.cs +++ b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportAzureServiceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Support.Samples { public partial class Sample_SupportAzureServiceCollection { - // Gets list of services for which a support ticket can be created - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsListOfServicesForWhichASupportTicketCanBeCreated() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListServices.json @@ -44,12 +44,11 @@ public async Task GetAll_GetsListOfServicesForWhichASupportTicketCanBeCreated() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets details of the Azure service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsDetailsOfTheAzureService() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetService.json @@ -78,9 +77,8 @@ public async Task Get_GetsDetailsOfTheAzureService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets details of the Azure service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsDetailsOfTheAzureService() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetService.json @@ -105,9 +103,8 @@ public async Task Exists_GetsDetailsOfTheAzureService() Console.WriteLine($"Succeeded: {result}"); } - // Gets details of the Azure service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsDetailsOfTheAzureService() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetService.json @@ -132,7 +129,7 @@ public async Task GetIfExists_GetsDetailsOfTheAzureService() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportAzureServiceResource.cs b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportAzureServiceResource.cs index f89647472372a..fd346f7867d28 100644 --- a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportAzureServiceResource.cs +++ b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportAzureServiceResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Support.Samples { public partial class Sample_SupportAzureServiceResource { - // Gets details of the Azure service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsDetailsOfTheAzureService() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetService.json diff --git a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketChatTranscriptCollection.cs b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketChatTranscriptCollection.cs index 1be5def6724ab..3d2f781c2c672 100644 --- a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketChatTranscriptCollection.cs +++ b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketChatTranscriptCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Support.Samples { public partial class Sample_SupportTicketChatTranscriptCollection { - // List chat transcripts for a subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListChatTranscriptsForASubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListChatTranscriptsForSubscriptionSupportTicket.json @@ -47,12 +47,11 @@ public async Task GetAll_ListChatTranscriptsForASubscriptionSupportTicket() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get chat transcript details for a subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetChatTranscriptDetailsForASubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json @@ -84,9 +83,8 @@ public async Task Get_GetChatTranscriptDetailsForASubscriptionSupportTicket() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get chat transcript details for a subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetChatTranscriptDetailsForASubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json @@ -114,9 +112,8 @@ public async Task Exists_GetChatTranscriptDetailsForASubscriptionSupportTicket() Console.WriteLine($"Succeeded: {result}"); } - // Get chat transcript details for a subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetChatTranscriptDetailsForASubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json @@ -144,7 +141,7 @@ public async Task GetIfExists_GetChatTranscriptDetailsForASubscriptionSupportTic if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketChatTranscriptResource.cs b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketChatTranscriptResource.cs index 81494b02de5d9..643f6d61c37eb 100644 --- a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketChatTranscriptResource.cs +++ b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketChatTranscriptResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Support.Samples { public partial class Sample_SupportTicketChatTranscriptResource { - // Get chat transcript details for a subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetChatTranscriptDetailsForASubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetchatTranscriptDetailsForSubscriptionSupportTicket.json diff --git a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketCommunicationCollection.cs b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketCommunicationCollection.cs index a7c4a7b958357..ebb9736fd71b0 100644 --- a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketCommunicationCollection.cs +++ b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketCommunicationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Support.Samples { public partial class Sample_SupportTicketCommunicationCollection { - // List communications for a subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCommunicationsForASubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListCommunicationsForSubscriptionSupportTicket.json @@ -47,12 +47,11 @@ public async Task GetAll_ListCommunicationsForASubscriptionSupportTicket() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List web communication created on or after a specific date for a subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicketCreatedOnOrAfter.json @@ -84,12 +83,11 @@ public async Task GetAll_ListWebCommunicationCreatedOnOrAfterASpecificDateForASu Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List web communications for a subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWebCommunicationsForASubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSubscriptionSupportTicket.json @@ -121,12 +119,11 @@ public async Task GetAll_ListWebCommunicationsForASubscriptionSupportTicket() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get communication details for a subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCommunicationDetailsForASubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json @@ -158,9 +155,8 @@ public async Task Get_GetCommunicationDetailsForASubscriptionSupportTicket() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get communication details for a subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCommunicationDetailsForASubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json @@ -188,9 +184,8 @@ public async Task Exists_GetCommunicationDetailsForASubscriptionSupportTicket() Console.WriteLine($"Succeeded: {result}"); } - // Get communication details for a subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCommunicationDetailsForASubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json @@ -218,7 +213,7 @@ public async Task GetIfExists_GetCommunicationDetailsForASubscriptionSupportTick if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -230,9 +225,8 @@ public async Task GetIfExists_GetCommunicationDetailsForASubscriptionSupportTick } } - // AddCommunicationToSubscriptionTicket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AddCommunicationToSubscriptionTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSupportTicketCommunication.json diff --git a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketCommunicationResource.cs b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketCommunicationResource.cs index 151fe1d9977bb..486d9c0e9cd13 100644 --- a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketCommunicationResource.cs +++ b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketCommunicationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Support.Samples { public partial class Sample_SupportTicketCommunicationResource { - // Get communication details for a subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCommunicationDetailsForASubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetCommunicationDetailsForSubscriptionSupportTicket.json @@ -45,9 +45,8 @@ public async Task Get_GetCommunicationDetailsForASubscriptionSupportTicket() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AddCommunicationToSubscriptionTicket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AddCommunicationToSubscriptionTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSupportTicketCommunication.json diff --git a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketFileCollection.cs b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketFileCollection.cs index be68f933fa04c..8f63181116493 100644 --- a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketFileCollection.cs +++ b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketFileCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Support.Samples { public partial class Sample_SupportTicketFileCollection { - // List files under a workspace for a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListFilesUnderAWorkspaceForASubscription() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListFilesForSubscriptionUnderFileWorkspace.json @@ -47,12 +47,11 @@ public async Task GetAll_ListFilesUnderAWorkspaceForASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get details of a subscription file - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfASubscriptionFile() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileDetailsForSubscription.json @@ -84,9 +83,8 @@ public async Task Get_GetDetailsOfASubscriptionFile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get details of a subscription file - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDetailsOfASubscriptionFile() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileDetailsForSubscription.json @@ -114,9 +112,8 @@ public async Task Exists_GetDetailsOfASubscriptionFile() Console.WriteLine($"Succeeded: {result}"); } - // Get details of a subscription file - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDetailsOfASubscriptionFile() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileDetailsForSubscription.json @@ -144,7 +141,7 @@ public async Task GetIfExists_GetDetailsOfASubscriptionFile() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -156,9 +153,8 @@ public async Task GetIfExists_GetDetailsOfASubscriptionFile() } } - // Create a file under a subscription workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAFileUnderASubscriptionWorkspace() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileForSubscription.json diff --git a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketFileResource.cs b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketFileResource.cs index 70ebcd9b77b8a..535d560502a8b 100644 --- a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketFileResource.cs +++ b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketFileResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Support.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Support.Samples { public partial class Sample_SupportTicketFileResource { - // Get details of a subscription file - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfASubscriptionFile() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileDetailsForSubscription.json @@ -46,9 +46,8 @@ public async Task Get_GetDetailsOfASubscriptionFile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a file under a subscription workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAFileUnderASubscriptionWorkspace() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileForSubscription.json @@ -84,9 +83,8 @@ public async Task Update_CreateAFileUnderASubscriptionWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UploadFileForSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Upload_UploadFileForSubscription() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UploadFileForSubscription.json @@ -113,7 +111,7 @@ public async Task Upload_UploadFileForSubscription() }; await supportTicketFile.UploadAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketNoSubChatTranscriptCollection.cs b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketNoSubChatTranscriptCollection.cs index 5f3a8636bc1dd..3ac0a0a5535f6 100644 --- a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketNoSubChatTranscriptCollection.cs +++ b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketNoSubChatTranscriptCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Support.Samples { public partial class Sample_SupportTicketNoSubChatTranscriptCollection { - // List chat transcripts for a no-subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListChatTranscriptsForANoSubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListChatTranscriptsForSupportTicket.json @@ -46,12 +46,11 @@ public async Task GetAll_ListChatTranscriptsForANoSubscriptionSupportTicket() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get chat transcript details for a subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetChatTranscriptDetailsForASubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetchatTranscriptDetailsForSupportTicket.json @@ -82,9 +81,8 @@ public async Task Get_GetChatTranscriptDetailsForASubscriptionSupportTicket() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get chat transcript details for a subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetChatTranscriptDetailsForASubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetchatTranscriptDetailsForSupportTicket.json @@ -111,9 +109,8 @@ public async Task Exists_GetChatTranscriptDetailsForASubscriptionSupportTicket() Console.WriteLine($"Succeeded: {result}"); } - // Get chat transcript details for a subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetChatTranscriptDetailsForASubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetchatTranscriptDetailsForSupportTicket.json @@ -140,7 +137,7 @@ public async Task GetIfExists_GetChatTranscriptDetailsForASubscriptionSupportTic if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketNoSubChatTranscriptResource.cs b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketNoSubChatTranscriptResource.cs index 36837595a69ca..09811e9eaffd1 100644 --- a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketNoSubChatTranscriptResource.cs +++ b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketNoSubChatTranscriptResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Support.Samples { public partial class Sample_SupportTicketNoSubChatTranscriptResource { - // Get chat transcript details for a subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetChatTranscriptDetailsForASubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetchatTranscriptDetailsForSupportTicket.json diff --git a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketNoSubCommunicationCollection.cs b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketNoSubCommunicationCollection.cs index 98ecf03878787..6a97d007ee71c 100644 --- a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketNoSubCommunicationCollection.cs +++ b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketNoSubCommunicationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Support.Samples { public partial class Sample_SupportTicketNoSubCommunicationCollection { - // List communications for a no-subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCommunicationsForANoSubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListCommunicationsForSupportTicket.json @@ -46,12 +46,11 @@ public async Task GetAll_ListCommunicationsForANoSubscriptionSupportTicket() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List web communication created on or after a specific date for a no-subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWebCommunicationCreatedOnOrAfterASpecificDateForANoSubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSupportTicketCreatedOnOrAfter.json @@ -82,12 +81,11 @@ public async Task GetAll_ListWebCommunicationCreatedOnOrAfterASpecificDateForANo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List web communications for a no-subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWebCommunicationsForANoSubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListWebCommunicationsForSupportTicket.json @@ -118,12 +116,11 @@ public async Task GetAll_ListWebCommunicationsForANoSubscriptionSupportTicket() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get communication details for a no-subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCommunicationDetailsForANoSubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetCommunicationDetailsForSupportTicket.json @@ -154,9 +151,8 @@ public async Task Get_GetCommunicationDetailsForANoSubscriptionSupportTicket() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get communication details for a no-subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCommunicationDetailsForANoSubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetCommunicationDetailsForSupportTicket.json @@ -183,9 +179,8 @@ public async Task Exists_GetCommunicationDetailsForANoSubscriptionSupportTicket( Console.WriteLine($"Succeeded: {result}"); } - // Get communication details for a no-subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCommunicationDetailsForANoSubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetCommunicationDetailsForSupportTicket.json @@ -212,7 +207,7 @@ public async Task GetIfExists_GetCommunicationDetailsForANoSubscriptionSupportTi if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -224,9 +219,8 @@ public async Task GetIfExists_GetCommunicationDetailsForANoSubscriptionSupportTi } } - // AddCommunicationToNoSubscriptionTicket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AddCommunicationToNoSubscriptionTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateNoSubscriptionSupportTicketCommunication.json diff --git a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketNoSubCommunicationResource.cs b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketNoSubCommunicationResource.cs index 7a5db63f4aaa3..19ffbec29ddbb 100644 --- a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketNoSubCommunicationResource.cs +++ b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketNoSubCommunicationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Support.Samples { public partial class Sample_SupportTicketNoSubCommunicationResource { - // Get communication details for a no-subscription support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCommunicationDetailsForANoSubscriptionSupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetCommunicationDetailsForSupportTicket.json @@ -44,9 +44,8 @@ public async Task Get_GetCommunicationDetailsForANoSubscriptionSupportTicket() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AddCommunicationToNoSubscriptionTicket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AddCommunicationToNoSubscriptionTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateNoSubscriptionSupportTicketCommunication.json diff --git a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketNoSubFileCollection.cs b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketNoSubFileCollection.cs index 59d992b887fa9..64a1346ea1ac0 100644 --- a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketNoSubFileCollection.cs +++ b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketNoSubFileCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Support.Samples { public partial class Sample_SupportTicketNoSubFileCollection { - // List files under a workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListFilesUnderAWorkspace() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListFilesUnderFileWorkspace.json @@ -46,12 +46,11 @@ public async Task GetAll_ListFilesUnderAWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get details of a subscription file - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfASubscriptionFile() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileDetails.json @@ -82,9 +81,8 @@ public async Task Get_GetDetailsOfASubscriptionFile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get details of a subscription file - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDetailsOfASubscriptionFile() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileDetails.json @@ -111,9 +109,8 @@ public async Task Exists_GetDetailsOfASubscriptionFile() Console.WriteLine($"Succeeded: {result}"); } - // Get details of a subscription file - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDetailsOfASubscriptionFile() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileDetails.json @@ -140,7 +137,7 @@ public async Task GetIfExists_GetDetailsOfASubscriptionFile() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -152,9 +149,8 @@ public async Task GetIfExists_GetDetailsOfASubscriptionFile() } } - // Create a file workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAFileWorkspace() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFile.json diff --git a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketNoSubFileResource.cs b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketNoSubFileResource.cs index 9c1e7738e9d63..1b9f35e8bf051 100644 --- a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketNoSubFileResource.cs +++ b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_SupportTicketNoSubFileResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Support.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Support.Samples { public partial class Sample_SupportTicketNoSubFileResource { - // Get details of a subscription file - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfASubscriptionFile() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileDetails.json @@ -45,9 +45,8 @@ public async Task Get_GetDetailsOfASubscriptionFile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a file workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAFileWorkspace() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFile.json @@ -82,9 +81,8 @@ public async Task Update_CreateAFileWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UploadFile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Upload_UploadFile() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UploadFile.json @@ -110,7 +108,7 @@ public async Task Upload_UploadFile() }; await supportTicketNoSubFile.UploadAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_TenantFileWorkspaceCollection.cs b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_TenantFileWorkspaceCollection.cs index f079972167161..c80aaf7dc9ec4 100644 --- a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_TenantFileWorkspaceCollection.cs +++ b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_TenantFileWorkspaceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Support.Samples { public partial class Sample_TenantFileWorkspaceCollection { - // Get details of a file workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfAFileWorkspace() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileWorkspaceDetails.json @@ -45,9 +45,8 @@ public async Task Get_GetDetailsOfAFileWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get details of a file workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDetailsOfAFileWorkspace() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileWorkspaceDetails.json @@ -72,9 +71,8 @@ public async Task Exists_GetDetailsOfAFileWorkspace() Console.WriteLine($"Succeeded: {result}"); } - // Get details of a file workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDetailsOfAFileWorkspace() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileWorkspaceDetails.json @@ -99,7 +97,7 @@ public async Task GetIfExists_GetDetailsOfAFileWorkspace() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -111,9 +109,8 @@ public async Task GetIfExists_GetDetailsOfAFileWorkspace() } } - // Create a file workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAFileWorkspace() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileWorkspace.json diff --git a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_TenantFileWorkspaceResource.cs b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_TenantFileWorkspaceResource.cs index 5152d7f332f10..4d9f171094899 100644 --- a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_TenantFileWorkspaceResource.cs +++ b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_TenantFileWorkspaceResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Support.Samples { public partial class Sample_TenantFileWorkspaceResource { - // Get details of a file workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfAFileWorkspace() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetFileWorkspaceDetails.json @@ -43,9 +43,8 @@ public async Task Get_GetDetailsOfAFileWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a file workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAFileWorkspace() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateFileWorkspace.json diff --git a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_TenantSupportTicketCollection.cs b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_TenantSupportTicketCollection.cs index 810ed4aac294c..29ba90f511fef 100644 --- a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_TenantSupportTicketCollection.cs +++ b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_TenantSupportTicketCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Support.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Support.Samples { public partial class Sample_TenantSupportTicketCollection { - // List support tickets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSupportTickets() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTickets.json @@ -45,12 +45,11 @@ public async Task GetAll_ListSupportTickets() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List support tickets created on or after a certain date and in open state - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSupportTicketsCreatedOnOrAfterACertainDateAndInOpenState() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInOpenState.json @@ -79,12 +78,11 @@ public async Task GetAll_ListSupportTicketsCreatedOnOrAfterACertainDateAndInOpen Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List support tickets created on or after a certain date and in updating state - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSupportTicketsCreatedOnOrAfterACertainDateAndInUpdatingState() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsCreatedOnOrAfterAndInUpdatingState.json @@ -113,12 +111,11 @@ public async Task GetAll_ListSupportTicketsCreatedOnOrAfterACertainDateAndInUpda Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List support tickets in open state - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSupportTicketsInOpenState() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInOpenState.json @@ -147,12 +144,11 @@ public async Task GetAll_ListSupportTicketsInOpenState() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List support tickets in updating state - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSupportTicketsInUpdatingState() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsInUpdatingState.json @@ -181,12 +177,11 @@ public async Task GetAll_ListSupportTicketsInUpdatingState() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List support tickets with a certain problem classification id - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSupportTicketsWithACertainProblemClassificationId() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsProblemClassificationIdEquals.json @@ -215,12 +210,11 @@ public async Task GetAll_ListSupportTicketsWithACertainProblemClassificationId() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List support tickets with a certain service id - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSupportTicketsWithACertainServiceId() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/ListSupportTicketsServiceIdEquals.json @@ -249,12 +243,11 @@ public async Task GetAll_ListSupportTicketsWithACertainServiceId() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get details of a ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfATicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetSupportTicketDetails.json @@ -283,9 +276,8 @@ public async Task Get_GetDetailsOfATicket() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get details of a ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDetailsOfATicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetSupportTicketDetails.json @@ -310,9 +302,8 @@ public async Task Exists_GetDetailsOfATicket() Console.WriteLine($"Succeeded: {result}"); } - // Get details of a ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDetailsOfATicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetSupportTicketDetails.json @@ -337,7 +328,7 @@ public async Task GetIfExists_GetDetailsOfATicket() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -349,9 +340,8 @@ public async Task GetIfExists_GetDetailsOfATicket() } } - // Create a ticket for Billing related issues - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateATicketForBillingRelatedIssues() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateBillingSupportTicket.json @@ -386,9 +376,8 @@ public async Task CreateOrUpdate_CreateATicketForBillingRelatedIssues() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a ticket for Subscription Management related issues - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateATicketForSubscriptionManagementRelatedIssues() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateSubMgmtSupportTicket.json @@ -423,9 +412,8 @@ public async Task CreateOrUpdate_CreateATicketForSubscriptionManagementRelatedIs Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a ticket for Technical issue related to a specific resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateATicketForTechnicalIssueRelatedToASpecificResource() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CreateTechnicalSupportTicket.json diff --git a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_TenantSupportTicketResource.cs b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_TenantSupportTicketResource.cs index f50e3d37b631c..a82390bc2890b 100644 --- a/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_TenantSupportTicketResource.cs +++ b/sdk/support/Azure.ResourceManager.Support/samples/Generated/Samples/Sample_TenantSupportTicketResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Support.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Support.Samples { public partial class Sample_TenantSupportTicketResource { - // Checks whether name is available for SupportTicket resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckNameAvailabilitySupportTicketsNoSubscription_ChecksWhetherNameIsAvailableForSupportTicketResource() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailability.json @@ -39,9 +39,8 @@ public async Task CheckNameAvailabilitySupportTicketsNoSubscription_ChecksWhethe Console.WriteLine($"Succeeded: {result}"); } - // Get details of a ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfATicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/GetSupportTicketDetails.json @@ -68,9 +67,8 @@ public async Task Get_GetDetailsOfATicket() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update advanced diagnostic consent of a support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAdvancedDiagnosticConsentOfASupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateAdvancedDiagnosticConsentOfSupportTicket.json @@ -101,9 +99,8 @@ public async Task Update_UpdateAdvancedDiagnosticConsentOfASupportTicket() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update contact details of a support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateContactDetailsOfASupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateContactDetailsOfSupportTicket.json @@ -148,9 +145,8 @@ public async Task Update_UpdateContactDetailsOfASupportTicket() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update severity of a support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateSeverityOfASupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateSeverityOfSupportTicket.json @@ -181,9 +177,8 @@ public async Task Update_UpdateSeverityOfASupportTicket() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update status of a support ticket - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateStatusOfASupportTicket() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/UpdateStatusOfSupportTicket.json @@ -214,9 +209,8 @@ public async Task Update_UpdateStatusOfASupportTicket() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Checks whether name is available for Communication resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckNameAvailabilityCommunicationsNoSubscription_ChecksWhetherNameIsAvailableForCommunicationResource() { // Generated from example definition: specification/support/resource-manager/Microsoft.Support/stable/2024-04-01/examples/CheckNameAvailabilityForNoSubscriptionSupportTicketCommunication.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseAadOnlyAuthenticationCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseAadOnlyAuthenticationCollection.cs index 14b92223517c4..91e51030899a9 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseAadOnlyAuthenticationCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseAadOnlyAuthenticationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseAadOnlyAuthenticationCollection { - // Get Azure Active Directory Only Authentication property - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureActiveDirectoryOnlyAuthenticationProperty() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetAzureADOnlyAuthentication.json @@ -50,9 +50,8 @@ public async Task Get_GetAzureActiveDirectoryOnlyAuthenticationProperty() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Azure Active Directory Only Authentication property - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAzureActiveDirectoryOnlyAuthenticationProperty() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetAzureADOnlyAuthentication.json @@ -81,9 +80,8 @@ public async Task Exists_GetAzureActiveDirectoryOnlyAuthenticationProperty() Console.WriteLine($"Succeeded: {result}"); } - // Get Azure Active Directory Only Authentication property - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAzureActiveDirectoryOnlyAuthenticationProperty() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetAzureADOnlyAuthentication.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetAzureActiveDirectoryOnlyAuthenticationProperty( if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetAzureActiveDirectoryOnlyAuthenticationProperty( } } - // Create or Update Azure Active Directory Only Authentication property - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAzureActiveDirectoryOnlyAuthenticationProperty() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateAzureADOnlyAuthentication.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAzureActiveDirectoryOnlyAuthentic Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a list of Azure Active Directory Only Authentication property - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAListOfAzureActiveDirectoryOnlyAuthenticationProperty() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListAzureADOnlyAuthentication.json @@ -198,7 +194,7 @@ public async Task GetAll_GetAListOfAzureActiveDirectoryOnlyAuthenticationPropert Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseAadOnlyAuthenticationResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseAadOnlyAuthenticationResource.cs index 0e7f72dba49e1..62673529a68f4 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseAadOnlyAuthenticationResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseAadOnlyAuthenticationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseAadOnlyAuthenticationResource { - // Get Azure Active Directory Only Authentication property - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureActiveDirectoryOnlyAuthenticationProperty() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetAzureADOnlyAuthentication.json @@ -47,9 +47,8 @@ public async Task Get_GetAzureActiveDirectoryOnlyAuthenticationProperty() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Azure Active Directory Only Authentication property - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAzureActiveDirectoryOnlyAuthenticationProperty() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateAzureADOnlyAuthentication.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseAttachedDatabaseConfigurationCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseAttachedDatabaseConfigurationCollection.cs index 9870b9a257b97..17b36cb46cfdc 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseAttachedDatabaseConfigurationCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseAttachedDatabaseConfigurationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseAttachedDatabaseConfigurationCollection { - // KustoPoolAttachedDatabaseConfigurationsListByKustoPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_KustoPoolAttachedDatabaseConfigurationsListByKustoPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolAttachedDatabaseConfigurationsListByKustoPool.json @@ -50,12 +50,11 @@ public async Task GetAll_KustoPoolAttachedDatabaseConfigurationsListByKustoPool( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoPoolAttachedDatabaseConfigurationsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoPoolAttachedDatabaseConfigurationsGet() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolAttachedDatabaseConfigurationsGet.json @@ -89,9 +88,8 @@ public async Task Get_KustoPoolAttachedDatabaseConfigurationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoPoolAttachedDatabaseConfigurationsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_KustoPoolAttachedDatabaseConfigurationsGet() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolAttachedDatabaseConfigurationsGet.json @@ -121,9 +119,8 @@ public async Task Exists_KustoPoolAttachedDatabaseConfigurationsGet() Console.WriteLine($"Succeeded: {result}"); } - // KustoPoolAttachedDatabaseConfigurationsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_KustoPoolAttachedDatabaseConfigurationsGet() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolAttachedDatabaseConfigurationsGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_KustoPoolAttachedDatabaseConfigurationsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_KustoPoolAttachedDatabaseConfigurationsGet() } } - // KustoPoolAttachedDatabaseConfigurationsCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_KustoPoolAttachedDatabaseConfigurationsCreateOrUpdate() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolAttachedDatabaseConfigurationsCreateOrUpdate.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseAttachedDatabaseConfigurationResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseAttachedDatabaseConfigurationResource.cs index a13d5090f3260..24c45f2511e48 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseAttachedDatabaseConfigurationResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseAttachedDatabaseConfigurationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseAttachedDatabaseConfigurationResource { - // KustoPoolAttachedDatabaseConfigurationsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoPoolAttachedDatabaseConfigurationsGet() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolAttachedDatabaseConfigurationsGet.json @@ -48,9 +48,8 @@ public async Task Get_KustoPoolAttachedDatabaseConfigurationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoPoolAttachedDatabaseConfigurationsCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_KustoPoolAttachedDatabaseConfigurationsCreateOrUpdate() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolAttachedDatabaseConfigurationsCreateOrUpdate.json @@ -116,9 +115,8 @@ public async Task Update_KustoPoolAttachedDatabaseConfigurationsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoPoolAttachedDatabaseConfigurationsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_KustoPoolAttachedDatabaseConfigurationsDelete() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolAttachedDatabaseConfigurationsDelete.json @@ -142,7 +140,7 @@ public async Task Delete_KustoPoolAttachedDatabaseConfigurationsDelete() // invoke the operation await synapseAttachedDatabaseConfiguration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseBigDataPoolInfoCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseBigDataPoolInfoCollection.cs index 6560b472dc3ed..ff8ac4b897e4d 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseBigDataPoolInfoCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseBigDataPoolInfoCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseBigDataPoolInfoCollection { - // Get a Big Data pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetABigDataPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetBigDataPool.json @@ -50,9 +50,8 @@ public async Task Get_GetABigDataPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Big Data pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetABigDataPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetBigDataPool.json @@ -81,9 +80,8 @@ public async Task Exists_GetABigDataPool() Console.WriteLine($"Succeeded: {result}"); } - // Get a Big Data pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetABigDataPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetBigDataPool.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetABigDataPool() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetABigDataPool() } } - // Create or update a Big Data pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateABigDataPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/CreateOrUpdateBigDataPool.json @@ -190,9 +187,8 @@ public async Task CreateOrUpdate_CreateOrUpdateABigDataPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List Big Data pools in a workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListBigDataPoolsInAWorkspace() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/ListBigDataPoolsInWorkspace.json @@ -224,7 +220,7 @@ public async Task GetAll_ListBigDataPoolsInAWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseBigDataPoolInfoResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseBigDataPoolInfoResource.cs index 394a8b13dc1e0..f6043377e8bb6 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseBigDataPoolInfoResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseBigDataPoolInfoResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseBigDataPoolInfoResource { - // Get a Big Data pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetABigDataPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetBigDataPool.json @@ -47,9 +47,8 @@ public async Task Get_GetABigDataPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a Big Data pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateABigDataPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/UpdateBigDataPool.json @@ -86,9 +85,8 @@ public async Task Update_UpdateABigDataPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a Big Data pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteABigDataPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/DeleteBigDataPool.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseClusterPrincipalAssignmentCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseClusterPrincipalAssignmentCollection.cs index 8f012c98cc789..a78d76b26cc50 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseClusterPrincipalAssignmentCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseClusterPrincipalAssignmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseClusterPrincipalAssignmentCollection { - // KustoPoolPrincipalAssignmentsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_KustoPoolPrincipalAssignmentsList() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolPrincipalAssignmentsList.json @@ -50,12 +50,11 @@ public async Task GetAll_KustoPoolPrincipalAssignmentsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoPoolPrincipalAssignmentsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoPoolPrincipalAssignmentsGet() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolPrincipalAssignmentsGet.json @@ -89,9 +88,8 @@ public async Task Get_KustoPoolPrincipalAssignmentsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoPoolPrincipalAssignmentsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_KustoPoolPrincipalAssignmentsGet() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolPrincipalAssignmentsGet.json @@ -121,9 +119,8 @@ public async Task Exists_KustoPoolPrincipalAssignmentsGet() Console.WriteLine($"Succeeded: {result}"); } - // KustoPoolPrincipalAssignmentsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_KustoPoolPrincipalAssignmentsGet() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolPrincipalAssignmentsGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_KustoPoolPrincipalAssignmentsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_KustoPoolPrincipalAssignmentsGet() } } - // KustoPoolPrincipalAssignmentsCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_KustoPoolPrincipalAssignmentsCreateOrUpdate() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolPrincipalAssignmentsCreateOrUpdate.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseClusterPrincipalAssignmentResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseClusterPrincipalAssignmentResource.cs index 9a9542064c7bc..76225b4df9017 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseClusterPrincipalAssignmentResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseClusterPrincipalAssignmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseClusterPrincipalAssignmentResource { - // KustoPoolPrincipalAssignmentsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoPoolPrincipalAssignmentsGet() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolPrincipalAssignmentsGet.json @@ -48,9 +48,8 @@ public async Task Get_KustoPoolPrincipalAssignmentsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoPoolPrincipalAssignmentsCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_KustoPoolPrincipalAssignmentsCreateOrUpdate() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolPrincipalAssignmentsCreateOrUpdate.json @@ -89,9 +88,8 @@ public async Task Update_KustoPoolPrincipalAssignmentsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoPoolPrincipalAssignmentsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_KustoPoolPrincipalAssignmentsDelete() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolPrincipalAssignmentsDelete.json @@ -115,7 +113,7 @@ public async Task Delete_KustoPoolPrincipalAssignmentsDelete() // invoke the operation await synapseClusterPrincipalAssignment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataConnectionCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataConnectionCollection.cs index 38261c0b7e980..d5de8a06a8108 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataConnectionCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseDataConnectionCollection { - // KustoPoolDataConnectionsListByDatabase - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_KustoPoolDataConnectionsListByDatabase() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDataConnectionsListByDatabase.json @@ -51,12 +51,11 @@ public async Task GetAll_KustoPoolDataConnectionsListByDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoPoolDataConnectionsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoPoolDataConnectionsGet() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDataConnectionsGet.json @@ -91,9 +90,8 @@ public async Task Get_KustoPoolDataConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoPoolDataConnectionsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_KustoPoolDataConnectionsGet() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDataConnectionsGet.json @@ -124,9 +122,8 @@ public async Task Exists_KustoPoolDataConnectionsGet() Console.WriteLine($"Succeeded: {result}"); } - // KustoPoolDataConnectionsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_KustoPoolDataConnectionsGet() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDataConnectionsGet.json @@ -157,7 +154,7 @@ public async Task GetIfExists_KustoPoolDataConnectionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_KustoPoolDataConnectionsGet() } } - // KustoPoolDataConnectionsCreateOrUpdate.json - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_KustoPoolDataConnectionsCreateOrUpdateJson() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDataConnectionsCreateOrUpdate.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataConnectionResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataConnectionResource.cs index 68cab62128264..4005891d176dd 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataConnectionResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseDataConnectionResource { - // KustoPoolDataConnectionsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoPoolDataConnectionsGet() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDataConnectionsGet.json @@ -49,9 +49,8 @@ public async Task Get_KustoPoolDataConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoPoolDataConnectionsUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_KustoPoolDataConnectionsUpdate() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDataConnectionsUpdate.json @@ -90,9 +89,8 @@ public async Task Update_KustoPoolDataConnectionsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoPoolDataConnectionsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_KustoPoolDataConnectionsDelete() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDataConnectionsDelete.json @@ -117,7 +115,7 @@ public async Task Delete_KustoPoolDataConnectionsDelete() // invoke the operation await synapseDataConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataMaskingPolicyResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataMaskingPolicyResource.cs index b0719f2c94e52..746874352712f 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataMaskingPolicyResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataMaskingPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseDataMaskingPolicyResource { - // Create or update data masking policy max - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateDataMaskingPolicyMax() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DataMaskingPolicyCreateOrUpdateMax.json @@ -53,9 +53,8 @@ public async Task CreateOrUpdate_CreateOrUpdateDataMaskingPolicyMax() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update data masking policy min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateDataMaskingPolicyMin() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DataMaskingPolicyCreateOrUpdateMin.json @@ -90,9 +89,8 @@ public async Task CreateOrUpdate_CreateOrUpdateDataMaskingPolicyMin() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get data masking policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDataMaskingPolicy() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DataMaskingPolicyGet.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataMaskingRuleCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataMaskingRuleCollection.cs index fe600cabb59c4..578f9d18113bd 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataMaskingRuleCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataMaskingRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseDataMaskingRuleCollection { - // Create/Update data masking rule for default max - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateUpdateDataMaskingRuleForDefaultMax() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DataMaskingRuleCreateOrUpdateDefaultMax.json @@ -61,9 +61,8 @@ public async Task CreateOrUpdate_CreateUpdateDataMaskingRuleForDefaultMax() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create/Update data masking rule for default min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateUpdateDataMaskingRuleForDefaultMin() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DataMaskingRuleCreateOrUpdateDefaultMin.json @@ -105,9 +104,8 @@ public async Task CreateOrUpdate_CreateUpdateDataMaskingRuleForDefaultMin() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create/Update data masking rule for numbers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateUpdateDataMaskingRuleForNumbers() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DataMaskingRuleCreateOrUpdateNumber.json @@ -151,9 +149,8 @@ public async Task CreateOrUpdate_CreateUpdateDataMaskingRuleForNumbers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create/Update data masking rule for text - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateUpdateDataMaskingRuleForText() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DataMaskingRuleCreateOrUpdateText.json @@ -198,9 +195,8 @@ public async Task CreateOrUpdate_CreateUpdateDataMaskingRuleForText() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get data masking rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDataMaskingRule() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DataMaskingRuleGet.json @@ -234,9 +230,8 @@ public async Task Get_GetDataMaskingRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get data masking rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDataMaskingRule() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DataMaskingRuleGet.json @@ -266,9 +261,8 @@ public async Task Exists_GetDataMaskingRule() Console.WriteLine($"Succeeded: {result}"); } - // Get data masking rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDataMaskingRule() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DataMaskingRuleGet.json @@ -298,7 +292,7 @@ public async Task GetIfExists_GetDataMaskingRule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -310,9 +304,8 @@ public async Task GetIfExists_GetDataMaskingRule() } } - // List data masking rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDataMaskingRules() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DataMaskingRuleList.json @@ -345,7 +338,7 @@ public async Task GetAll_ListDataMaskingRules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataMaskingRuleResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataMaskingRuleResource.cs index b2ea0b786556e..2ea8922b23978 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataMaskingRuleResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataMaskingRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseDataMaskingRuleResource { - // Create/Update data masking rule for default max - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateUpdateDataMaskingRuleForDefaultMax() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DataMaskingRuleCreateOrUpdateDefaultMax.json @@ -58,9 +58,8 @@ public async Task Update_CreateUpdateDataMaskingRuleForDefaultMax() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create/Update data masking rule for default min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateUpdateDataMaskingRuleForDefaultMin() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DataMaskingRuleCreateOrUpdateDefaultMin.json @@ -99,9 +98,8 @@ public async Task Update_CreateUpdateDataMaskingRuleForDefaultMin() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create/Update data masking rule for numbers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateUpdateDataMaskingRuleForNumbers() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DataMaskingRuleCreateOrUpdateNumber.json @@ -142,9 +140,8 @@ public async Task Update_CreateUpdateDataMaskingRuleForNumbers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create/Update data masking rule for text - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateUpdateDataMaskingRuleForText() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DataMaskingRuleCreateOrUpdateText.json @@ -186,9 +183,8 @@ public async Task Update_CreateUpdateDataMaskingRuleForText() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get data masking rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDataMaskingRule() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DataMaskingRuleGet.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataWarehouseUserActivityCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataWarehouseUserActivityCollection.cs index b3bb9864c385b..e1884917d9df3 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataWarehouseUserActivityCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataWarehouseUserActivityCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseDataWarehouseUserActivityCollection { - // Get a SQL Analytics pool user activity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASQLAnalyticsPoolUserActivity() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolUserActivity.json @@ -51,9 +51,8 @@ public async Task Get_GetASQLAnalyticsPoolUserActivity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a SQL Analytics pool user activity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetASQLAnalyticsPoolUserActivity() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolUserActivity.json @@ -83,9 +82,8 @@ public async Task Exists_GetASQLAnalyticsPoolUserActivity() Console.WriteLine($"Succeeded: {result}"); } - // Get a SQL Analytics pool user activity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetASQLAnalyticsPoolUserActivity() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolUserActivity.json @@ -115,7 +113,7 @@ public async Task GetIfExists_GetASQLAnalyticsPoolUserActivity() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataWarehouseUserActivityResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataWarehouseUserActivityResource.cs index 0aef13fe2a082..9d083dc10e7b4 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataWarehouseUserActivityResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDataWarehouseUserActivityResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseDataWarehouseUserActivityResource { - // Get a SQL Analytics pool user activity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASQLAnalyticsPoolUserActivity() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolUserActivity.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDatabaseCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDatabaseCollection.cs index 7f2a128e40846..41f67264e9225 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDatabaseCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDatabaseCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseDatabaseCollection { - // KustoDatabasesListByKustoPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_KustoDatabasesListByKustoPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoDatabasesListByKustoPool.json @@ -51,12 +51,11 @@ public async Task GetAll_KustoDatabasesListByKustoPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoPoolDatabasesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoPoolDatabasesGet() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDatabasesGet.json @@ -90,9 +89,8 @@ public async Task Get_KustoPoolDatabasesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoPoolDatabasesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_KustoPoolDatabasesGet() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDatabasesGet.json @@ -122,9 +120,8 @@ public async Task Exists_KustoPoolDatabasesGet() Console.WriteLine($"Succeeded: {result}"); } - // KustoPoolDatabasesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_KustoPoolDatabasesGet() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDatabasesGet.json @@ -154,7 +151,7 @@ public async Task GetIfExists_KustoPoolDatabasesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -166,9 +163,8 @@ public async Task GetIfExists_KustoPoolDatabasesGet() } } - // KustoPoolDatabasesCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_KustoPoolDatabasesCreateOrUpdate() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDatabasesCreateOrUpdate.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDatabasePrincipalAssignmentCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDatabasePrincipalAssignmentCollection.cs index 55687ab47195d..4b5fae9b7e5ef 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDatabasePrincipalAssignmentCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDatabasePrincipalAssignmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseDatabasePrincipalAssignmentCollection { - // KustoPoolDatabasePrincipalAssignmentsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_KustoPoolDatabasePrincipalAssignmentsList() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDatabasePrincipalAssignmentsList.json @@ -51,12 +51,11 @@ public async Task GetAll_KustoPoolDatabasePrincipalAssignmentsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoPoolDatabasePrincipalAssignmentsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoPoolDatabasePrincipalAssignmentsGet() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDatabasePrincipalAssignmentsGet.json @@ -91,9 +90,8 @@ public async Task Get_KustoPoolDatabasePrincipalAssignmentsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoPoolDatabasePrincipalAssignmentsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_KustoPoolDatabasePrincipalAssignmentsGet() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDatabasePrincipalAssignmentsGet.json @@ -124,9 +122,8 @@ public async Task Exists_KustoPoolDatabasePrincipalAssignmentsGet() Console.WriteLine($"Succeeded: {result}"); } - // KustoPoolDatabasePrincipalAssignmentsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_KustoPoolDatabasePrincipalAssignmentsGet() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDatabasePrincipalAssignmentsGet.json @@ -157,7 +154,7 @@ public async Task GetIfExists_KustoPoolDatabasePrincipalAssignmentsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_KustoPoolDatabasePrincipalAssignmentsGet() } } - // KustoPoolDatabasePrincipalAssignmentsCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_KustoPoolDatabasePrincipalAssignmentsCreateOrUpdate() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDatabasePrincipalAssignmentsCreateOrUpdate.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDatabasePrincipalAssignmentResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDatabasePrincipalAssignmentResource.cs index 7eb3505df1aec..b6694e0ef35b1 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDatabasePrincipalAssignmentResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDatabasePrincipalAssignmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseDatabasePrincipalAssignmentResource { - // KustoPoolDatabasePrincipalAssignmentsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoPoolDatabasePrincipalAssignmentsGet() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDatabasePrincipalAssignmentsGet.json @@ -49,9 +49,8 @@ public async Task Get_KustoPoolDatabasePrincipalAssignmentsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoPoolDatabasePrincipalAssignmentsCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_KustoPoolDatabasePrincipalAssignmentsCreateOrUpdate() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDatabasePrincipalAssignmentsCreateOrUpdate.json @@ -91,9 +90,8 @@ public async Task Update_KustoPoolDatabasePrincipalAssignmentsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoPoolDatabasePrincipalAssignmentsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_KustoPoolDatabasePrincipalAssignmentsDelete() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDatabasePrincipalAssignmentsDelete.json @@ -118,7 +116,7 @@ public async Task Delete_KustoPoolDatabasePrincipalAssignmentsDelete() // invoke the operation await synapseDatabasePrincipalAssignment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDatabaseResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDatabaseResource.cs index 80fa6292d5253..5c0de03efba96 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDatabaseResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDatabaseResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseDatabaseResource { - // KustoPoolDatabasesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoPoolDatabasesGet() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDatabasesGet.json @@ -49,9 +49,8 @@ public async Task Get_KustoPoolDatabasesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoPoolDatabasesUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_KustoPoolDatabasesUpdate() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDatabasesUpdate.json @@ -87,9 +86,8 @@ public async Task Update_KustoPoolDatabasesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KustoPoolDatabasesDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_KustoPoolDatabasesDelete() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDatabasesDelete.json @@ -113,12 +111,11 @@ public async Task Delete_KustoPoolDatabasesDelete() // invoke the operation await synapseDatabase.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoPoolDataConnectionsCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckKustoPoolDataConnectionNameAvailability_KustoPoolDataConnectionsCheckNameAvailability() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDataConnectionsCheckNameAvailability.json @@ -146,9 +143,8 @@ public async Task CheckKustoPoolDataConnectionNameAvailability_KustoPoolDataConn Console.WriteLine($"Succeeded: {result}"); } - // KustoPoolDataConnectionValidation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateDataConnection_KustoPoolDataConnectionValidation() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDataConnectionValidation.json @@ -181,9 +177,8 @@ public async Task ValidateDataConnection_KustoPoolDataConnectionValidation() Console.WriteLine($"Succeeded: {result}"); } - // KustoPoolDatabasePrincipalAssignmentsCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckKustoPoolDatabasePrincipalAssignmentNameAvailability_KustoPoolDatabasePrincipalAssignmentsCheckNameAvailability() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDatabasePrincipalAssignmentsCheckNameAvailability.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDedicatedSqlMinimalTlsSettingCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDedicatedSqlMinimalTlsSettingCollection.cs index b036c93591326..da497d6134070 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDedicatedSqlMinimalTlsSettingCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDedicatedSqlMinimalTlsSettingCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseDedicatedSqlMinimalTlsSettingCollection { - // Get workspace managed sql server dedicated sql minimal tls settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettings() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -49,9 +49,8 @@ public async Task Get_GetWorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettings Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get workspace managed sql server dedicated sql minimal tls settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettings() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -80,9 +79,8 @@ public async Task Exists_GetWorkspaceManagedSqlServerDedicatedSqlMinimalTlsSetti Console.WriteLine($"Succeeded: {result}"); } - // Get workspace managed sql server dedicated sql minimal tls settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettings() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetWorkspaceManagedSqlServerDedicatedSqlMinimalTls if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetWorkspaceManagedSqlServerDedicatedSqlMinimalTls } } - // List dedicated sql minimal tls settings of the workspace managed sql server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDedicatedSqlMinimalTlsSettingsOfTheWorkspaceManagedSqlServer() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json @@ -157,7 +154,7 @@ public async Task GetAll_ListDedicatedSqlMinimalTlsSettingsOfTheWorkspaceManaged Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDedicatedSqlMinimalTlsSettingResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDedicatedSqlMinimalTlsSettingResource.cs index 1b813b8b92ba5..f61e22b33c760 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDedicatedSqlMinimalTlsSettingResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseDedicatedSqlMinimalTlsSettingResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseDedicatedSqlMinimalTlsSettingResource { - // Get workspace managed sql server dedicated sql minimal tls settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceManagedSqlServerDedicatedSqlMinimalTlsSettings() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseEncryptionProtectorCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseEncryptionProtectorCollection.cs index 9c288165ebf8d..602417359188f 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseEncryptionProtectorCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseEncryptionProtectorCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseEncryptionProtectorCollection { - // Get workspace managed sql Server's encryption protector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceManagedSqlServerSEncryptionProtector() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerEncryptionProtector.json @@ -50,9 +50,8 @@ public async Task Get_GetWorkspaceManagedSqlServerSEncryptionProtector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get workspace managed sql Server's encryption protector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWorkspaceManagedSqlServerSEncryptionProtector() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerEncryptionProtector.json @@ -81,9 +80,8 @@ public async Task Exists_GetWorkspaceManagedSqlServerSEncryptionProtector() Console.WriteLine($"Succeeded: {result}"); } - // Get workspace managed sql Server's encryption protector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWorkspaceManagedSqlServerSEncryptionProtector() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerEncryptionProtector.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetWorkspaceManagedSqlServerSEncryptionProtector() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetWorkspaceManagedSqlServerSEncryptionProtector() } } - // Update the encryption protector to key vault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateTheEncryptionProtectorToKeyVault() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/WorkspaceManagedSqlServerEncryptionProtectorCreateOrUpdateKeyVault.json @@ -165,9 +162,8 @@ public async Task CreateOrUpdate_UpdateTheEncryptionProtectorToKeyVault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update the encryption protector to service managed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateTheEncryptionProtectorToServiceManaged() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/WorkspaceManagedSqlServerEncryptionProtectorCreateOrUpdateServiceManaged.json @@ -206,9 +202,8 @@ public async Task CreateOrUpdate_UpdateTheEncryptionProtectorToServiceManaged() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get workspace managed sql Server's encryption protectors - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetWorkspaceManagedSqlServerSEncryptionProtectors() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerEncryptionProtectorList.json @@ -240,7 +235,7 @@ public async Task GetAll_GetWorkspaceManagedSqlServerSEncryptionProtectors() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseEncryptionProtectorResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseEncryptionProtectorResource.cs index e387b393083bb..33db9e595c89c 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseEncryptionProtectorResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseEncryptionProtectorResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseEncryptionProtectorResource { - // Get workspace managed sql Server's encryption protector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceManagedSqlServerSEncryptionProtector() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerEncryptionProtector.json @@ -47,9 +47,8 @@ public async Task Get_GetWorkspaceManagedSqlServerSEncryptionProtector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update the encryption protector to key vault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateTheEncryptionProtectorToKeyVault() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/WorkspaceManagedSqlServerEncryptionProtectorCreateOrUpdateKeyVault.json @@ -85,9 +84,8 @@ public async Task Update_UpdateTheEncryptionProtectorToKeyVault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update the encryption protector to service managed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateTheEncryptionProtectorToServiceManaged() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/WorkspaceManagedSqlServerEncryptionProtectorCreateOrUpdateServiceManaged.json @@ -123,9 +121,8 @@ public async Task Update_UpdateTheEncryptionProtectorToServiceManaged() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Revalidates the encryption protector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Revalidate_RevalidatesTheEncryptionProtector() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/WorkspaceManagedSqlServerEncryptionProtectorRevalidate.json @@ -148,7 +145,7 @@ public async Task Revalidate_RevalidatesTheEncryptionProtector() // invoke the operation await synapseEncryptionProtector.RevalidateAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseExtendedServerBlobAuditingPolicyCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseExtendedServerBlobAuditingPolicyCollection.cs index e57c7de95ad4d..5f22b725692df 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseExtendedServerBlobAuditingPolicyCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseExtendedServerBlobAuditingPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseExtendedServerBlobAuditingPolicyCollection { - // Get workspace managed sql servers' extended blob auditing settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceManagedSqlServersExtendedBlobAuditingSettings() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlExtendedServerBlobAuditingSettings.json @@ -50,9 +50,8 @@ public async Task Get_GetWorkspaceManagedSqlServersExtendedBlobAuditingSettings( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get workspace managed sql servers' extended blob auditing settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWorkspaceManagedSqlServersExtendedBlobAuditingSettings() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlExtendedServerBlobAuditingSettings.json @@ -81,9 +80,8 @@ public async Task Exists_GetWorkspaceManagedSqlServersExtendedBlobAuditingSettin Console.WriteLine($"Succeeded: {result}"); } - // Get workspace managed sql servers' extended blob auditing settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWorkspaceManagedSqlServersExtendedBlobAuditingSettings() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlExtendedServerBlobAuditingSettings.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetWorkspaceManagedSqlServersExtendedBlobAuditingS if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetWorkspaceManagedSqlServersExtendedBlobAuditingS } } - // Create or update workspace managed sql server's extended blob auditing policy of with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWorkspaceManagedSqlServerSExtendedBlobAuditingPolicyOfWithAllParameters() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateWorkspaceManagedSqlServerExtendedBlobAuditingSettingsWithAllParameters.json @@ -175,9 +172,8 @@ public async Task CreateOrUpdate_CreateOrUpdateWorkspaceManagedSqlServerSExtende Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update workspace managed sql server's extended blob auditing policy of with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWorkspaceManagedSqlServerSExtendedBlobAuditingPolicyOfWithMinimalParameters() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateWorkspaceManagedSqlServerExetendedBlobAuditingSettingsWithMinParameters.json @@ -217,9 +213,8 @@ public async Task CreateOrUpdate_CreateOrUpdateWorkspaceManagedSqlServerSExtende Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get workspace managed sql server's extended blob auditing settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetWorkspaceManagedSqlServerSExtendedBlobAuditingSettings() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListWorkspaceManagedSqlServerExtendedBlobAuditingSettings.json @@ -251,7 +246,7 @@ public async Task GetAll_GetWorkspaceManagedSqlServerSExtendedBlobAuditingSettin Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseExtendedServerBlobAuditingPolicyResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseExtendedServerBlobAuditingPolicyResource.cs index 1db74b3c3507b..c77017417392f 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseExtendedServerBlobAuditingPolicyResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseExtendedServerBlobAuditingPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseExtendedServerBlobAuditingPolicyResource { - // Get workspace managed sql servers' extended blob auditing settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceManagedSqlServersExtendedBlobAuditingSettings() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlExtendedServerBlobAuditingSettings.json @@ -47,9 +47,8 @@ public async Task Get_GetWorkspaceManagedSqlServersExtendedBlobAuditingSettings( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update workspace managed sql server's extended blob auditing policy of with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateWorkspaceManagedSqlServerSExtendedBlobAuditingPolicyOfWithAllParameters() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateWorkspaceManagedSqlServerExtendedBlobAuditingSettingsWithAllParameters.json @@ -95,9 +94,8 @@ public async Task Update_CreateOrUpdateWorkspaceManagedSqlServerSExtendedBlobAud Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update workspace managed sql server's extended blob auditing policy of with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateWorkspaceManagedSqlServerSExtendedBlobAuditingPolicyOfWithMinimalParameters() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateWorkspaceManagedSqlServerExetendedBlobAuditingSettingsWithMinParameters.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseExtendedSqlPoolBlobAuditingPolicyResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseExtendedSqlPoolBlobAuditingPolicyResource.cs index fe496f23e68bf..47258a3224e8d 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseExtendedSqlPoolBlobAuditingPolicyResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseExtendedSqlPoolBlobAuditingPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseExtendedSqlPoolBlobAuditingPolicyResource { - // Get an extended database's blob auditing policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnExtendedDatabaseSBlobAuditingPolicy() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ExtendedSqlPoolBlobAuditingGet.json @@ -47,9 +47,8 @@ public async Task Get_GetAnExtendedDatabaseSBlobAuditingPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update an extended SQL pool's azure monitor auditing policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnExtendedSQLPoolSAzureMonitorAuditingPolicyWithMinimalParameters() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ExtendedSqlPoolAzureMonitorAuditingCreateMin.json @@ -85,9 +84,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAnExtendedSQLPoolSAzureMonitorAud Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update an extended Sql pool's blob auditing policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnExtendedSqlPoolSBlobAuditingPolicyWithAllParameters() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ExtendedSqlPoolBlobAuditingCreateMax.json @@ -133,9 +131,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAnExtendedSqlPoolSBlobAuditingPol Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update an extended Sql pool's blob auditing policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnExtendedSqlPoolSBlobAuditingPolicyWithMinimalParameters() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ExtendedSqlPoolBlobAuditingCreateMin.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseGeoBackupPolicyCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseGeoBackupPolicyCollection.cs index e91918ac5645d..7ad6ef747a3fd 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseGeoBackupPolicyCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseGeoBackupPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseGeoBackupPolicyCollection { - // Get Sql pool geo backup policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetSqlPoolGeoBackupPolicy() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolGeoBackupPolicies_List.json @@ -50,12 +50,11 @@ public async Task GetAll_GetSqlPoolGeoBackupPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create geo backup policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateGeoBackupPolicy() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateGeoBackupPolicies.json @@ -91,9 +90,8 @@ public async Task CreateOrUpdate_CreateGeoBackupPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Sql pool geo backup policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSqlPoolGeoBackupPolicy() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolGeoBackupPolicy.json @@ -127,9 +125,8 @@ public async Task Get_GetSqlPoolGeoBackupPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Sql pool geo backup policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSqlPoolGeoBackupPolicy() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolGeoBackupPolicy.json @@ -159,9 +156,8 @@ public async Task Exists_GetSqlPoolGeoBackupPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Get Sql pool geo backup policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSqlPoolGeoBackupPolicy() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolGeoBackupPolicy.json @@ -191,7 +187,7 @@ public async Task GetIfExists_GetSqlPoolGeoBackupPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseGeoBackupPolicyResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseGeoBackupPolicyResource.cs index c9e5b252aa62b..71c1d8cc2fa3c 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseGeoBackupPolicyResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseGeoBackupPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseGeoBackupPolicyResource { - // Create geo backup policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateGeoBackupPolicy() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateGeoBackupPolicies.json @@ -50,9 +50,8 @@ public async Task Update_CreateGeoBackupPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Sql pool geo backup policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSqlPoolGeoBackupPolicy() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolGeoBackupPolicy.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseIPFirewallRuleInfoCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseIPFirewallRuleInfoCollection.cs index 66e514be5156a..e1fa2ac19e3a1 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseIPFirewallRuleInfoCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseIPFirewallRuleInfoCollection.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseIPFirewallRuleInfoCollection { - // List IP firewall rules in a workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListIPFirewallRulesInAWorkspace() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListIpFirewallRules.json @@ -49,12 +49,11 @@ public async Task GetAll_ListIPFirewallRulesInAWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create an IP firewall rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnIPFirewallRule() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateIpFirewallRule.json @@ -93,9 +92,8 @@ public async Task CreateOrUpdate_CreateAnIPFirewallRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get IP firewall rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetIPFirewallRule() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetIpFirewallRule.json @@ -128,9 +126,8 @@ public async Task Get_GetIPFirewallRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get IP firewall rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetIPFirewallRule() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetIpFirewallRule.json @@ -159,9 +156,8 @@ public async Task Exists_GetIPFirewallRule() Console.WriteLine($"Succeeded: {result}"); } - // Get IP firewall rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetIPFirewallRule() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetIpFirewallRule.json @@ -190,7 +186,7 @@ public async Task GetIfExists_GetIPFirewallRule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseIPFirewallRuleInfoResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseIPFirewallRuleInfoResource.cs index 6e6134022dd54..1071c0d266c68 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseIPFirewallRuleInfoResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseIPFirewallRuleInfoResource.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseIPFirewallRuleInfoResource { - // Create an IP firewall rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAnIPFirewallRule() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateIpFirewallRule.json @@ -53,9 +53,8 @@ public async Task Update_CreateAnIPFirewallRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an IP firewall rule from a workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnIPFirewallRuleFromAWorkspace() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DeleteIpFirewallRule.json @@ -82,9 +81,8 @@ public async Task Delete_DeleteAnIPFirewallRuleFromAWorkspace() Console.WriteLine($"Succeeded: {result}"); } - // Get IP firewall rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetIPFirewallRule() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetIpFirewallRule.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseIntegrationRuntimeCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseIntegrationRuntimeCollection.cs index d721a9efc4e39..5aa34bf83b2b1 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseIntegrationRuntimeCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseIntegrationRuntimeCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseIntegrationRuntimeCollection { - // Get integration runtime - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetIntegrationRuntime() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_Get.json @@ -50,9 +50,8 @@ public async Task Get_GetIntegrationRuntime() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get integration runtime - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetIntegrationRuntime() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_Get.json @@ -81,9 +80,8 @@ public async Task Exists_GetIntegrationRuntime() Console.WriteLine($"Succeeded: {result}"); } - // Get integration runtime - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetIntegrationRuntime() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetIntegrationRuntime() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetIntegrationRuntime() } } - // Create integration runtime - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateIntegrationRuntime() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_Create.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_CreateIntegrationRuntime() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List integration runtimes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListIntegrationRuntimes() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_ListByWorkspace.json @@ -198,7 +194,7 @@ public async Task GetAll_ListIntegrationRuntimes() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseIntegrationRuntimeResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseIntegrationRuntimeResource.cs index b952121b446d2..1c63df3726d64 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseIntegrationRuntimeResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseIntegrationRuntimeResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseIntegrationRuntimeResource { - // Update integration runtime - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateIntegrationRuntime() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_Update.json @@ -52,9 +52,8 @@ public async Task Update_UpdateIntegrationRuntime() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get integration runtime - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetIntegrationRuntime() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_Get.json @@ -84,9 +83,8 @@ public async Task Get_GetIntegrationRuntime() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete integration runtime - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteIntegrationRuntime() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_Delete.json @@ -109,12 +107,11 @@ public async Task Delete_DeleteIntegrationRuntime() // invoke the operation await synapseIntegrationRuntime.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Upgrade integration runtime - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Upgrade_UpgradeIntegrationRuntime() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_Upgrade.json @@ -137,12 +134,11 @@ public async Task Upgrade_UpgradeIntegrationRuntime() // invoke the operation await synapseIntegrationRuntime.UpgradeAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Start integration runtime - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_StartIntegrationRuntime() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_Start.json @@ -169,9 +165,8 @@ public async Task Start_StartIntegrationRuntime() Console.WriteLine($"Succeeded: {result}"); } - // Stop integration runtime - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_StopIntegrationRuntime() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_Stop.json @@ -194,12 +189,11 @@ public async Task Stop_StopIntegrationRuntime() // invoke the operation await synapseIntegrationRuntime.StopAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get outbound network dependency endpoints - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOutboundNetworkDependenciesEndpoints_GetOutboundNetworkDependencyEndpoints() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_ListOutboundNetworkDependenciesEndpoints.json @@ -225,12 +219,11 @@ public async Task GetOutboundNetworkDependenciesEndpoints_GetOutboundNetworkDepe Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Stop integration runtime - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task EnableInteractiveQuery_StopIntegrationRuntime() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_EnableInteractiveQuery.json @@ -253,12 +246,11 @@ public async Task EnableInteractiveQuery_StopIntegrationRuntime() // invoke the operation await synapseIntegrationRuntime.EnableInteractiveQueryAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Stop integration runtime - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DisableInteractiveQuery_StopIntegrationRuntime() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_DisableInteractiveQuery.json @@ -281,12 +273,11 @@ public async Task DisableInteractiveQuery_StopIntegrationRuntime() // invoke the operation await synapseIntegrationRuntime.DisableInteractiveQueryAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get integration runtime node IP address - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIntegrationRuntimeNodeIPAddress_GetIntegrationRuntimeNodeIPAddress() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimeNodes_GetIpAddress.json @@ -313,9 +304,8 @@ public async Task GetIntegrationRuntimeNodeIPAddress_GetIntegrationRuntimeNodeIP Console.WriteLine($"Succeeded: {result}"); } - // Get integration runtime object metadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllIntegrationRuntimeObjectMetadata_GetIntegrationRuntimeObjectMetadata() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimeObjectMetadata_List.json @@ -345,12 +335,11 @@ public async Task GetAllIntegrationRuntimeObjectMetadata_GetIntegrationRuntimeOb Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Refresh object metadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RefreshIntegrationRuntimeObjectMetadata_RefreshObjectMetadata() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimeObjectMetadata_Refresh.json @@ -377,9 +366,8 @@ public async Task RefreshIntegrationRuntimeObjectMetadata_RefreshObjectMetadata( Console.WriteLine($"Succeeded: {result}"); } - // Get integration runtime node - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIntegrationRuntimeNode_GetIntegrationRuntimeNode() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimeNodes_Get.json @@ -406,9 +394,8 @@ public async Task GetIntegrationRuntimeNode_GetIntegrationRuntimeNode() Console.WriteLine($"Succeeded: {result}"); } - // Update integration runtime node - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateIntegrationRuntimeNode_UpdateIntegrationRuntimeNode() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimeNodes_Update.json @@ -439,9 +426,8 @@ public async Task UpdateIntegrationRuntimeNode_UpdateIntegrationRuntimeNode() Console.WriteLine($"Succeeded: {result}"); } - // Delete integration runtime node - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteIntegrationRuntimeNode_DeleteIntegrationRuntimeNode() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimeNodes_Delete.json @@ -465,12 +451,11 @@ public async Task DeleteIntegrationRuntimeNode_DeleteIntegrationRuntimeNode() string nodeName = "Node_1"; await synapseIntegrationRuntime.DeleteIntegrationRuntimeNodeAsync(nodeName); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Sync credentials - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SyncIntegrationRuntimeCredential_SyncCredentials() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_SyncCredentials.json @@ -493,12 +478,11 @@ public async Task SyncIntegrationRuntimeCredential_SyncCredentials() // invoke the operation await synapseIntegrationRuntime.SyncIntegrationRuntimeCredentialAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get connection info - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIntegrationRuntimeConnectionInfo_GetConnectionInfo() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_GetConnectionInfo.json @@ -524,9 +508,8 @@ public async Task GetIntegrationRuntimeConnectionInfo_GetConnectionInfo() Console.WriteLine($"Succeeded: {result}"); } - // Regenerate auth key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateIntegrationRuntimeAuthKey_RegenerateAuthKey() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_RegenerateAuthKey.json @@ -556,9 +539,8 @@ public async Task RegenerateIntegrationRuntimeAuthKey_RegenerateAuthKey() Console.WriteLine($"Succeeded: {result}"); } - // List auth keys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIntegrationRuntimeAuthKey_ListAuthKeys() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_ListAuthKeys.json @@ -584,9 +566,8 @@ public async Task GetIntegrationRuntimeAuthKey_ListAuthKeys() Console.WriteLine($"Succeeded: {result}"); } - // Get monitoring data - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIntegrationRuntimeMonitoringData_GetMonitoringData() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimeMonitoringData_List.json @@ -612,9 +593,8 @@ public async Task GetIntegrationRuntimeMonitoringData_GetMonitoringData() Console.WriteLine($"Succeeded: {result}"); } - // Get status - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIntegrationRuntimeStatus_GetStatus() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_GetStatus.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseKeyCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseKeyCollection.cs index bff038d6a0d8c..6052cc512452e 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseKeyCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseKeyCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseKeyCollection { - // List keys in workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListKeysInWorkspace() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListKeysInWorkspace.json @@ -48,12 +48,11 @@ public async Task GetAll_ListKeysInWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a workspace key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkspaceKey() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetKey.json @@ -86,9 +85,8 @@ public async Task Get_GetAWorkspaceKey() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a workspace key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAWorkspaceKey() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetKey.json @@ -117,9 +115,8 @@ public async Task Exists_GetAWorkspaceKey() Console.WriteLine($"Succeeded: {result}"); } - // Get a workspace key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAWorkspaceKey() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetKey.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetAWorkspaceKey() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GetAWorkspaceKey() } } - // Create or update a workspace key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAWorkspaceKey() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateKey.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseKeyResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseKeyResource.cs index 9e88c311570c3..73a0c8377a891 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseKeyResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseKeyResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseKeyResource { - // Get a workspace key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkspaceKey() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetKey.json @@ -46,9 +46,8 @@ public async Task Get_GetAWorkspaceKey() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a workspace key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAWorkspaceKey() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateKey.json @@ -84,9 +83,8 @@ public async Task Update_CreateOrUpdateAWorkspaceKey() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a workspace key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAWorkspaceKey() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DeleteKey.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseKustoPoolCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseKustoPoolCollection.cs index 13effb5cf0625..2ccddb5ce10fc 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseKustoPoolCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseKustoPoolCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseKustoPoolCollection { - // List Kusto pools in a workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListKustoPoolsInAWorkspace() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolsListByWorkspace.json @@ -49,12 +49,11 @@ public async Task GetAll_ListKustoPoolsInAWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // kustoPoolsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoPoolsGet() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolsGet.json @@ -87,9 +86,8 @@ public async Task Get_KustoPoolsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // kustoPoolsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_KustoPoolsGet() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolsGet.json @@ -118,9 +116,8 @@ public async Task Exists_KustoPoolsGet() Console.WriteLine($"Succeeded: {result}"); } - // kustoPoolsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_KustoPoolsGet() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolsGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_KustoPoolsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_KustoPoolsGet() } } - // kustoPoolsCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_KustoPoolsCreateOrUpdate() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolsCreateOrUpdate.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseKustoPoolResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseKustoPoolResource.cs index b67112b8ba0fc..df1d43f8eb5b7 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseKustoPoolResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseKustoPoolResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseKustoPoolResource { - // KustoPoolsListSkus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSkusKustoPools_KustoPoolsListSkus() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolsListSkus.json @@ -41,12 +41,11 @@ public async Task GetSkusKustoPools_KustoPoolsListSkus() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoPoolsCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckKustoPoolNameAvailability_KustoPoolsCheckNameAvailability() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolsCheckNameAvailability.json @@ -71,9 +70,8 @@ public async Task CheckKustoPoolNameAvailability_KustoPoolsCheckNameAvailability Console.WriteLine($"Succeeded: {result}"); } - // kustoPoolsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KustoPoolsGet() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolsGet.json @@ -103,9 +101,8 @@ public async Task Get_KustoPoolsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // kustoPoolsUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_KustoPoolsUpdate() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolsUpdate.json @@ -146,9 +143,8 @@ public async Task Update_KustoPoolsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // kustoPoolsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_KustoPoolsDelete() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolsDelete.json @@ -171,12 +167,11 @@ public async Task Delete_KustoPoolsDelete() // invoke the operation await synapseKustoPool.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // kustoPoolsStop - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_KustoPoolsStop() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolsStop.json @@ -199,12 +194,11 @@ public async Task Stop_KustoPoolsStop() // invoke the operation await synapseKustoPool.StopAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // kustoPoolsStop - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_KustoPoolsStop() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolsStart.json @@ -227,12 +221,11 @@ public async Task Start_KustoPoolsStop() // invoke the operation await synapseKustoPool.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoPoolsListResourceSkus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSkusByResource_KustoPoolsListResourceSkus() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolsListResourceSkus.json @@ -258,12 +251,11 @@ public async Task GetSkusByResource_KustoPoolsListResourceSkus() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoPoolListLanguageExtensions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLanguageExtensions_KustoPoolListLanguageExtensions() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolLanguageExtensionsList.json @@ -289,12 +281,11 @@ public async Task GetLanguageExtensions_KustoPoolListLanguageExtensions() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoPoolAddLanguageExtensions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AddLanguageExtensions_KustoPoolAddLanguageExtensions() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolLanguageExtensionsAdd.json @@ -330,12 +321,11 @@ public async Task AddLanguageExtensions_KustoPoolAddLanguageExtensions() }; await synapseKustoPool.AddLanguageExtensionsAsync(WaitUntil.Completed, languageExtensionsToAdd); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoPoolRemoveLanguageExtensions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RemoveLanguageExtensions_KustoPoolRemoveLanguageExtensions() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolLanguageExtensionsRemove.json @@ -371,12 +361,11 @@ public async Task RemoveLanguageExtensions_KustoPoolRemoveLanguageExtensions() }; await synapseKustoPool.RemoveLanguageExtensionsAsync(WaitUntil.Completed, languageExtensionsToRemove); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoPoolListFollowerDatabases - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFollowerDatabases_KustoPoolListFollowerDatabases() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolFollowerDatabasesList.json @@ -402,12 +391,11 @@ public async Task GetFollowerDatabases_KustoPoolListFollowerDatabases() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoPoolDetachFollowerDatabases - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DetachFollowerDatabases_KustoPoolDetachFollowerDatabases() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolFollowerDatabasesDetach.json @@ -431,12 +419,11 @@ public async Task DetachFollowerDatabases_KustoPoolDetachFollowerDatabases() SynapseFollowerDatabaseDefinition followerDatabaseToRemove = new SynapseFollowerDatabaseDefinition(new ResourceIdentifier("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Synapse/workspaces/kustorptest/kustoPools/leader4"), "myAttachedDatabaseConfiguration"); await synapseKustoPool.DetachFollowerDatabasesAsync(WaitUntil.Completed, followerDatabaseToRemove); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KustoPoolAttachedDatabaseConfigurationCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckKustoPoolChildResourceNameAvailability_KustoPoolAttachedDatabaseConfigurationCheckNameAvailability() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolAttachedDatabaseConfigurationCheckNameAvailability.json @@ -463,9 +450,8 @@ public async Task CheckKustoPoolChildResourceNameAvailability_KustoPoolAttachedD Console.WriteLine($"Succeeded: {result}"); } - // KustoPoolDatabasesCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckKustoPoolChildResourceNameAvailability_KustoPoolDatabasesCheckNameAvailability() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolDatabasesCheckNameAvailability.json @@ -492,9 +478,8 @@ public async Task CheckKustoPoolChildResourceNameAvailability_KustoPoolDatabases Console.WriteLine($"Succeeded: {result}"); } - // KustoPoolPrincipalAssignmentsCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckKustoPoolPrincipalAssignmentNameAvailability_KustoPoolPrincipalAssignmentsCheckNameAvailability() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolPrincipalAssignmentsCheckNameAvailability.json @@ -521,9 +506,8 @@ public async Task CheckKustoPoolPrincipalAssignmentNameAvailability_KustoPoolPri Console.WriteLine($"Succeeded: {result}"); } - // KustoPoolPrivateLinkResourcesList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllKustoPoolPrivateLinkData_KustoPoolPrivateLinkResourcesList() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/KustoPoolPrivateLinkResourcesList.json @@ -549,7 +533,7 @@ public async Task GetAllKustoPoolPrivateLinkData_KustoPoolPrivateLinkResourcesLi Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseLibraryCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseLibraryCollection.cs index 1d4d36677042e..34891bae27985 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseLibraryCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseLibraryCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseLibraryCollection { - // Get Library by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetLibraryByName() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/Library_Get.json @@ -49,9 +49,8 @@ public async Task Get_GetLibraryByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Library by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetLibraryByName() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/Library_Get.json @@ -80,9 +79,8 @@ public async Task Exists_GetLibraryByName() Console.WriteLine($"Succeeded: {result}"); } - // Get Library by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetLibraryByName() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/Library_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetLibraryByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetLibraryByName() } } - // List libraries in a workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListLibrariesInAWorkspace() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/Libraries_ListByWorkspace.json @@ -157,7 +154,7 @@ public async Task GetAll_ListLibrariesInAWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseLibraryResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseLibraryResource.cs index b7b4e89bf6d53..f08941a5afb14 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseLibraryResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseLibraryResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseLibraryResource { - // Get Library by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetLibraryByName() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/Library_Get.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseMaintenanceWindowOptionResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseMaintenanceWindowOptionResource.cs index 33f7ec06d6bf4..c4b4a41424370 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseMaintenanceWindowOptionResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseMaintenanceWindowOptionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseMaintenanceWindowOptionResource { - // Get list of transparent data encryption configurations of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetListOfTransparentDataEncryptionConfigurationsOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetMaintenanceWindowOptions.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseMaintenanceWindowResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseMaintenanceWindowResource.cs index ae4824b1faa58..a794ce4b1f2ff 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseMaintenanceWindowResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseMaintenanceWindowResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseMaintenanceWindowResource { - // Gets maintenance window settings for a selected SQL Analytics pool. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsMaintenanceWindowSettingsForASelectedSQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetMaintenanceWindows.json @@ -49,9 +49,8 @@ public async Task Get_GetsMaintenanceWindowSettingsForASelectedSQLAnalyticsPool( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sets maintenance window settings for a selected SQL Analytics Pool. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SetsMaintenanceWindowSettingsForASelectedSQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateMaintenanceWindows.json @@ -87,7 +86,7 @@ public async Task CreateOrUpdate_SetsMaintenanceWindowSettingsForASelectedSQLAna }; await synapseMaintenanceWindow.CreateOrUpdateAsync(WaitUntil.Completed, maintenanceWindowName, data); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseManagedIdentitySqlControlSettingResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseManagedIdentitySqlControlSettingResource.cs index b398cff67f4d7..9a0561649d485 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseManagedIdentitySqlControlSettingResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseManagedIdentitySqlControlSettingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseManagedIdentitySqlControlSettingResource { - // Get managed identity sql control settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagedIdentitySqlControlSettings() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetManagedIdentitySqlControlSettings.json @@ -46,9 +46,8 @@ public async Task Get_GetManagedIdentitySqlControlSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update managed identity sql control settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateManagedIdentitySqlControlSettings() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateManagedIdentitySqlControlSettings.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseMetadataSyncConfigurationResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseMetadataSyncConfigurationResource.cs index b87bd6634a360..fd697ea16c3e9 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseMetadataSyncConfigurationResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseMetadataSyncConfigurationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseMetadataSyncConfigurationResource { - // Get metadata sync config for a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMetadataSyncConfigForASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolMetadataSyncConfig.json @@ -46,9 +46,8 @@ public async Task Get_GetMetadataSyncConfigForASQLAnalyticsPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Set metadata sync config for a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SetMetadataSyncConfigForASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateSqlPoolMetadataSyncConfig.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateEndpointConnectionCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateEndpointConnectionCollection.cs index 94b60876faa48..aa5dd0f69ed9e 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateEndpointConnectionCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapsePrivateEndpointConnectionCollection { - // Get private endpoint connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateEndpointConnection() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetPrivateEndpointConnection.json @@ -50,9 +50,8 @@ public async Task Get_GetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get private endpoint connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPrivateEndpointConnection() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetPrivateEndpointConnection.json @@ -81,9 +80,8 @@ public async Task Exists_GetPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // Get private endpoint connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPrivateEndpointConnection() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetPrivateEndpointConnection.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetPrivateEndpointConnection() } } - // Approve private endpoint connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApprovePrivateEndpointConnection() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ApprovePrivateEndpointConnection.json @@ -168,9 +165,8 @@ public async Task CreateOrUpdate_ApprovePrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List private endpoint connections in workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPrivateEndpointConnectionsInWorkspace() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListPrivateEndpointConnections.json @@ -202,7 +198,7 @@ public async Task GetAll_ListPrivateEndpointConnectionsInWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateEndpointConnectionForPrivateLinkHubCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateEndpointConnectionForPrivateLinkHubCollection.cs index c59c4c8f03afb..cf8a434c93dea 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateEndpointConnectionForPrivateLinkHubCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateEndpointConnectionForPrivateLinkHubCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapsePrivateEndpointConnectionForPrivateLinkHubCollection { - // Get a privateLinkHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAPrivateLinkHub() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/PrivateEndpointConnectionsPrivateLinkHub_List.json @@ -48,12 +48,11 @@ public async Task GetAll_GetAPrivateLinkHub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a privateLinkHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPrivateLinkHub() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/PrivateEndpointConnectionsPrivateLinkHub_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetAPrivateLinkHub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a privateLinkHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAPrivateLinkHub() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/PrivateEndpointConnectionsPrivateLinkHub_Get.json @@ -117,9 +115,8 @@ public async Task Exists_GetAPrivateLinkHub() Console.WriteLine($"Succeeded: {result}"); } - // Get a privateLinkHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAPrivateLinkHub() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/PrivateEndpointConnectionsPrivateLinkHub_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetAPrivateLinkHub() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateEndpointConnectionForPrivateLinkHubResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateEndpointConnectionForPrivateLinkHubResource.cs index 1f5c8e020312d..c98daae6e1749 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateEndpointConnectionForPrivateLinkHubResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateEndpointConnectionForPrivateLinkHubResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapsePrivateEndpointConnectionForPrivateLinkHubResource { - // Get a privateLinkHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPrivateLinkHub() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/PrivateEndpointConnectionsPrivateLinkHub_Get.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateEndpointConnectionResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateEndpointConnectionResource.cs index 9fbfb0c127627..79d6a6e85291e 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateEndpointConnectionResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapsePrivateEndpointConnectionResource { - // Get private endpoint connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateEndpointConnection() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetPrivateEndpointConnection.json @@ -47,9 +47,8 @@ public async Task Get_GetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Approve private endpoint connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApprovePrivateEndpointConnection() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ApprovePrivateEndpointConnection.json @@ -88,9 +87,8 @@ public async Task Update_ApprovePrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete private endpoint connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletePrivateEndpointConnection() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DeletePrivateEndpointConnection.json @@ -113,7 +111,7 @@ public async Task Delete_DeletePrivateEndpointConnection() // invoke the operation await synapsePrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateLinkHubCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateLinkHubCollection.cs index f3d4dbb732531..dda4386d8c61b 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateLinkHubCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateLinkHubCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapsePrivateLinkHubCollection { - // List privateLinkHubs in resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPrivateLinkHubsInResourceGroup() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListPrivateLinkHubsInResourceGroup.json @@ -48,12 +48,11 @@ public async Task GetAll_ListPrivateLinkHubsInResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a privateLinkHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPrivateLinkHub() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetPrivateLinkHub.json @@ -85,9 +84,8 @@ public async Task Get_GetAPrivateLinkHub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a privateLinkHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAPrivateLinkHub() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetPrivateLinkHub.json @@ -115,9 +113,8 @@ public async Task Exists_GetAPrivateLinkHub() Console.WriteLine($"Succeeded: {result}"); } - // Get a privateLinkHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAPrivateLinkHub() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetPrivateLinkHub.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetAPrivateLinkHub() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -157,9 +154,8 @@ public async Task GetIfExists_GetAPrivateLinkHub() } } - // Create or update a privateLinkHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAPrivateLinkHub() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdatePrivateLinkHub.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateLinkHubResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateLinkHubResource.cs index 4a26de806a638..75b88ea18ba58 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateLinkHubResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateLinkHubResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapsePrivateLinkHubResource { - // Get a privateLinkHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPrivateLinkHub() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetPrivateLinkHub.json @@ -47,9 +47,8 @@ public async Task Get_GetAPrivateLinkHub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a privateLinkHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAPrivateLinkHub() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdatePrivateLinkHub.json @@ -85,9 +84,8 @@ public async Task Update_UpdateAPrivateLinkHub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a privateLinkHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAPrivateLinkHub() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DeletePrivateLinkHub.json @@ -109,12 +107,11 @@ public async Task Delete_DeleteAPrivateLinkHub() // invoke the operation await synapsePrivateLinkHub.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List privateLinkHubs in subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSynapsePrivateLinkHubs_ListPrivateLinkHubsInSubscription() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListPrivateLinkHubsInSubscription.json @@ -141,7 +138,7 @@ public async Task GetSynapsePrivateLinkHubs_ListPrivateLinkHubsInSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateLinkResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateLinkResource.cs index 5446da149abfe..7d60c0a7cb580 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateLinkResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapsePrivateLinkResource { - // Get private link resources for private link hub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateLinkResourcesForPrivateLinkHub() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetPrivateLinkHubPrivateLinkResource.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateLinkResourceCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateLinkResourceCollection.cs index b08069483b692..b1a97790b7012 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateLinkResourceCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapsePrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapsePrivateLinkResourceCollection { - // Get private link resources for private link hub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetPrivateLinkResourcesForPrivateLinkHub() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListPrivateLinkHubPrivateLinkResources.json @@ -48,12 +48,11 @@ public async Task GetAll_GetPrivateLinkResourcesForPrivateLinkHub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get private link resources for private link hub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateLinkResourcesForPrivateLinkHub() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetPrivateLinkHubPrivateLinkResource.json @@ -86,9 +85,8 @@ public async Task Get_GetPrivateLinkResourcesForPrivateLinkHub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get private link resources for private link hub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPrivateLinkResourcesForPrivateLinkHub() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetPrivateLinkHubPrivateLinkResource.json @@ -117,9 +115,8 @@ public async Task Exists_GetPrivateLinkResourcesForPrivateLinkHub() Console.WriteLine($"Succeeded: {result}"); } - // Get private link resources for private link hub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPrivateLinkResourcesForPrivateLinkHub() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetPrivateLinkHubPrivateLinkResource.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetPrivateLinkResourcesForPrivateLinkHub() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseRecoverableSqlPoolCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseRecoverableSqlPoolCollection.cs index ce09e580bc59a..648d4ab8796d6 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseRecoverableSqlPoolCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseRecoverableSqlPoolCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseRecoverableSqlPoolCollection { - // List recoverable sql pools for the server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRecoverableSqlPoolsForTheServer() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListWorkspaceManagedSqlServerRecoverableSqlPool.json @@ -48,12 +48,11 @@ public async Task GetAll_ListRecoverableSqlPoolsForTheServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get recoverable sql pools for the server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRecoverableSqlPoolsForTheServer() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerRecoverableSqlPool.json @@ -86,9 +85,8 @@ public async Task Get_GetRecoverableSqlPoolsForTheServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get recoverable sql pools for the server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRecoverableSqlPoolsForTheServer() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerRecoverableSqlPool.json @@ -117,9 +115,8 @@ public async Task Exists_GetRecoverableSqlPoolsForTheServer() Console.WriteLine($"Succeeded: {result}"); } - // Get recoverable sql pools for the server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRecoverableSqlPoolsForTheServer() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerRecoverableSqlPool.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetRecoverableSqlPoolsForTheServer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseRecoverableSqlPoolResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseRecoverableSqlPoolResource.cs index 6648f2fadcf69..cc7a5fdbad288 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseRecoverableSqlPoolResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseRecoverableSqlPoolResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseRecoverableSqlPoolResource { - // Get recoverable sql pools for the server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRecoverableSqlPoolsForTheServer() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerRecoverableSqlPool.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseReplicationLinkCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseReplicationLinkCollection.cs index 077f7b297110c..e9382b60be8b3 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseReplicationLinkCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseReplicationLinkCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseReplicationLinkCollection { - // Lists a Sql Analytic pool's replication links - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsASqlAnalyticPoolSReplicationLinks() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListSqlPoolReplicationLinks.json @@ -49,12 +49,11 @@ public async Task GetAll_ListsASqlAnalyticPoolSReplicationLinks() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Lists a Sql Analytic pool's replication links - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ListsASqlAnalyticPoolSReplicationLinks() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolReplicationLinks_GetByName.json @@ -88,9 +87,8 @@ public async Task Get_ListsASqlAnalyticPoolSReplicationLinks() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Lists a Sql Analytic pool's replication links - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ListsASqlAnalyticPoolSReplicationLinks() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolReplicationLinks_GetByName.json @@ -120,9 +118,8 @@ public async Task Exists_ListsASqlAnalyticPoolSReplicationLinks() Console.WriteLine($"Succeeded: {result}"); } - // Lists a Sql Analytic pool's replication links - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ListsASqlAnalyticPoolSReplicationLinks() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolReplicationLinks_GetByName.json @@ -152,7 +149,7 @@ public async Task GetIfExists_ListsASqlAnalyticPoolSReplicationLinks() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseReplicationLinkResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseReplicationLinkResource.cs index 70e246e3cc029..92969bb2dba96 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseReplicationLinkResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseReplicationLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseReplicationLinkResource { - // Lists a Sql Analytic pool's replication links - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ListsASqlAnalyticPoolSReplicationLinks() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolReplicationLinks_GetByName.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseRestorableDroppedSqlPoolCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseRestorableDroppedSqlPoolCollection.cs index eaa4f7b98a362..9a8bb43250c12 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseRestorableDroppedSqlPoolCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseRestorableDroppedSqlPoolCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseRestorableDroppedSqlPoolCollection { - // Get a restorable dropped Sql pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARestorableDroppedSqlPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/RestorableDroppedSqlPoolGet.json @@ -49,9 +49,8 @@ public async Task Get_GetARestorableDroppedSqlPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a restorable dropped Sql pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetARestorableDroppedSqlPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/RestorableDroppedSqlPoolGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetARestorableDroppedSqlPool() Console.WriteLine($"Succeeded: {result}"); } - // Get a restorable dropped Sql pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetARestorableDroppedSqlPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/RestorableDroppedSqlPoolGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetARestorableDroppedSqlPool() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetARestorableDroppedSqlPool() } } - // Get list of restorable dropped Sql pools - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetListOfRestorableDroppedSqlPools() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/RestorableDroppedSqlpoolList.json @@ -157,7 +154,7 @@ public async Task GetAll_GetListOfRestorableDroppedSqlPools() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseRestorableDroppedSqlPoolResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseRestorableDroppedSqlPoolResource.cs index a0ff8b35989c6..cdca74d42d7d3 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseRestorableDroppedSqlPoolResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseRestorableDroppedSqlPoolResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseRestorableDroppedSqlPoolResource { - // Get a restorable dropped Sql pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARestorableDroppedSqlPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/RestorableDroppedSqlPoolGet.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseRestorePointCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseRestorePointCollection.cs index ec3b073f715e7..74c4c773c09ab 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseRestorePointCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseRestorePointCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseRestorePointCollection { - // Get a list of restore points of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAListOfRestorePointsOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListSqlPoolRestorePoints.json @@ -49,12 +49,11 @@ public async Task GetAll_GetAListOfRestorePointsOfASQLAnalyticsPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a Sql pool restore point. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsASqlPoolRestorePoint() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolRestorePointsGet.json @@ -88,9 +87,8 @@ public async Task Get_GetsASqlPoolRestorePoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a Sql pool restore point. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsASqlPoolRestorePoint() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolRestorePointsGet.json @@ -120,9 +118,8 @@ public async Task Exists_GetsASqlPoolRestorePoint() Console.WriteLine($"Succeeded: {result}"); } - // Gets a Sql pool restore point. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsASqlPoolRestorePoint() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolRestorePointsGet.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetsASqlPoolRestorePoint() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseRestorePointResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseRestorePointResource.cs index 6cd2c89cf56da..23dea188a8b50 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseRestorePointResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseRestorePointResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseRestorePointResource { - // Gets a Sql pool restore point. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsASqlPoolRestorePoint() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolRestorePointsGet.json @@ -47,9 +47,8 @@ public async Task Get_GetsASqlPoolRestorePoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a restore point. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesARestorePoint() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolRestorePointsDelete.json @@ -73,7 +72,7 @@ public async Task Delete_DeletesARestorePoint() // invoke the operation await synapseRestorePoint.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSensitivityLabelCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSensitivityLabelCollection.cs index 09f44e0005392..cf79ff3968628 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSensitivityLabelCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSensitivityLabelCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseSensitivityLabelCollection { - // Gets the sensitivity label of a given column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheSensitivityLabelOfAGivenColumn() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolColumnSensitivityLabelGet.json @@ -54,9 +54,8 @@ public async Task Get_GetsTheSensitivityLabelOfAGivenColumn() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the sensitivity label of a given column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheSensitivityLabelOfAGivenColumn() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolColumnSensitivityLabelGet.json @@ -89,9 +88,8 @@ public async Task Exists_GetsTheSensitivityLabelOfAGivenColumn() Console.WriteLine($"Succeeded: {result}"); } - // Gets the sensitivity label of a given column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheSensitivityLabelOfAGivenColumn() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolColumnSensitivityLabelGet.json @@ -124,7 +122,7 @@ public async Task GetIfExists_GetsTheSensitivityLabelOfAGivenColumn() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSensitivityLabelResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSensitivityLabelResource.cs index 3f26b12e4f5a9..3ece3c5d43cb4 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSensitivityLabelResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSensitivityLabelResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseSensitivityLabelResource { - // Gets the sensitivity label of a given column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheSensitivityLabelOfAGivenColumn() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolColumnSensitivityLabelGet.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseServerBlobAuditingPolicyCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseServerBlobAuditingPolicyCollection.cs index e81ef902d807c..d05f2535ed3e7 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseServerBlobAuditingPolicyCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseServerBlobAuditingPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseServerBlobAuditingPolicyCollection { - // Get blob auditing setting of workspace managed sql Server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetBlobAuditingSettingOfWorkspaceManagedSqlServer() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerBlobAuditingSettings.json @@ -50,9 +50,8 @@ public async Task Get_GetBlobAuditingSettingOfWorkspaceManagedSqlServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get blob auditing setting of workspace managed sql Server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetBlobAuditingSettingOfWorkspaceManagedSqlServer() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerBlobAuditingSettings.json @@ -81,9 +80,8 @@ public async Task Exists_GetBlobAuditingSettingOfWorkspaceManagedSqlServer() Console.WriteLine($"Succeeded: {result}"); } - // Get blob auditing setting of workspace managed sql Server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetBlobAuditingSettingOfWorkspaceManagedSqlServer() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerBlobAuditingSettings.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetBlobAuditingSettingOfWorkspaceManagedSqlServer( if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetBlobAuditingSettingOfWorkspaceManagedSqlServer( } } - // Create or update blob auditing policy of workspace SQL Server with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateBlobAuditingPolicyOfWorkspaceSQLServerWithAllParameters() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateWorkspaceManagedSqlServerBlobAuditingSettingsWithAllParameters.json @@ -175,9 +172,8 @@ public async Task CreateOrUpdate_CreateOrUpdateBlobAuditingPolicyOfWorkspaceSQLS Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update blob auditing policy of workspace managed Sql Server with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateBlobAuditingPolicyOfWorkspaceManagedSqlServerWithMinimalParameters() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateWorkspaceManagedSqlServerBlobAuditingSettingsWithMinParameters.json @@ -217,9 +213,8 @@ public async Task CreateOrUpdate_CreateOrUpdateBlobAuditingPolicyOfWorkspaceMana Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get blob auditing policy of workspace manged sql Server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetBlobAuditingPolicyOfWorkspaceMangedSqlServer() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListWorkspaceManagedSqlServerBlobAuditingSettings.json @@ -251,7 +246,7 @@ public async Task GetAll_GetBlobAuditingPolicyOfWorkspaceMangedSqlServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseServerBlobAuditingPolicyResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseServerBlobAuditingPolicyResource.cs index 6bc228daea2b9..e643c5e0c6c47 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseServerBlobAuditingPolicyResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseServerBlobAuditingPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseServerBlobAuditingPolicyResource { - // Get blob auditing setting of workspace managed sql Server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetBlobAuditingSettingOfWorkspaceManagedSqlServer() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerBlobAuditingSettings.json @@ -47,9 +47,8 @@ public async Task Get_GetBlobAuditingSettingOfWorkspaceManagedSqlServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update blob auditing policy of workspace SQL Server with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateBlobAuditingPolicyOfWorkspaceSQLServerWithAllParameters() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateWorkspaceManagedSqlServerBlobAuditingSettingsWithAllParameters.json @@ -95,9 +94,8 @@ public async Task Update_CreateOrUpdateBlobAuditingPolicyOfWorkspaceSQLServerWit Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update blob auditing policy of workspace managed Sql Server with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateBlobAuditingPolicyOfWorkspaceManagedSqlServerWithMinimalParameters() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateWorkspaceManagedSqlServerBlobAuditingSettingsWithMinParameters.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseServerSecurityAlertPolicyCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseServerSecurityAlertPolicyCollection.cs index 452f1df53fdba..1c8542e4de4b8 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseServerSecurityAlertPolicyCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseServerSecurityAlertPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseServerSecurityAlertPolicyCollection { - // Get workspace managed sql Server's security alert policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceManagedSqlServerSSecurityAlertPolicy() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerSecurityAlertPolicy.json @@ -50,9 +50,8 @@ public async Task Get_GetWorkspaceManagedSqlServerSSecurityAlertPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get workspace managed sql Server's security alert policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWorkspaceManagedSqlServerSSecurityAlertPolicy() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerSecurityAlertPolicy.json @@ -81,9 +80,8 @@ public async Task Exists_GetWorkspaceManagedSqlServerSSecurityAlertPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Get workspace managed sql Server's security alert policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWorkspaceManagedSqlServerSSecurityAlertPolicy() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerSecurityAlertPolicy.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetWorkspaceManagedSqlServerSSecurityAlertPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetWorkspaceManagedSqlServerSSecurityAlertPolicy() } } - // Update a workspace managed sql server's threat detection policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAWorkspaceManagedSqlServerSThreatDetectionPolicyWithAllParameters() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/WorkspaceManagedSqlServerSecurityAlertWithAllParameters.json @@ -176,9 +173,8 @@ public async Task CreateOrUpdate_UpdateAWorkspaceManagedSqlServerSThreatDetectio Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a workspace managed sql server's threat detection policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAWorkspaceManagedSqlServerSThreatDetectionPolicyWithMinimalParameters() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/WorkspaceManagedSqlServerSecurityAlertCreateWithMinParameters.json @@ -219,9 +215,8 @@ public async Task CreateOrUpdate_UpdateAWorkspaceManagedSqlServerSThreatDetectio Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get workspace managed sql server's security alert policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetWorkspaceManagedSqlServerSSecurityAlertPolicy() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListWorkspaceManagedSqlServerSecurityAlertPolicies.json @@ -253,7 +248,7 @@ public async Task GetAll_GetWorkspaceManagedSqlServerSSecurityAlertPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseServerSecurityAlertPolicyResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseServerSecurityAlertPolicyResource.cs index 0d0185d14142b..a06a40b00abf7 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseServerSecurityAlertPolicyResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseServerSecurityAlertPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseServerSecurityAlertPolicyResource { - // Get workspace managed sql Server's security alert policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceManagedSqlServerSSecurityAlertPolicy() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerSecurityAlertPolicy.json @@ -47,9 +47,8 @@ public async Task Get_GetWorkspaceManagedSqlServerSSecurityAlertPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a workspace managed sql server's threat detection policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAWorkspaceManagedSqlServerSThreatDetectionPolicyWithAllParameters() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/WorkspaceManagedSqlServerSecurityAlertWithAllParameters.json @@ -96,9 +95,8 @@ public async Task Update_UpdateAWorkspaceManagedSqlServerSThreatDetectionPolicyW Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a workspace managed sql server's threat detection policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAWorkspaceManagedSqlServerSThreatDetectionPolicyWithMinimalParameters() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/WorkspaceManagedSqlServerSecurityAlertCreateWithMinParameters.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseServerVulnerabilityAssessmentCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseServerVulnerabilityAssessmentCollection.cs index 8750d9fa6132c..63fdd96fbb351 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseServerVulnerabilityAssessmentCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseServerVulnerabilityAssessmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseServerVulnerabilityAssessmentCollection { - // Get workspace managed sql Server's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceManagedSqlServerSVulnerabilityAssessment() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerVulnerabilityAssessment.json @@ -50,9 +50,8 @@ public async Task Get_GetWorkspaceManagedSqlServerSVulnerabilityAssessment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get workspace managed sql Server's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWorkspaceManagedSqlServerSVulnerabilityAssessment() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerVulnerabilityAssessment.json @@ -81,9 +80,8 @@ public async Task Exists_GetWorkspaceManagedSqlServerSVulnerabilityAssessment() Console.WriteLine($"Succeeded: {result}"); } - // Get workspace managed sql Server's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWorkspaceManagedSqlServerSVulnerabilityAssessment() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerVulnerabilityAssessment.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetWorkspaceManagedSqlServerSVulnerabilityAssessme if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetWorkspaceManagedSqlServerSVulnerabilityAssessme } } - // Create or Update a workspace managed sql server's vulnerability assessment with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAWorkspaceManagedSqlServerSVulnerabilityAssessmentWithAllParameters() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/PutWorkspaceManagedSqlServerVulnerabilityAssessmentWithAllParameters.json @@ -175,9 +172,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAWorkspaceManagedSqlServerSVulner Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update a workspace managed sql server's vulnerability assessment with minimal parameters, when storageAccountAccessKey is specified - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAWorkspaceManagedSqlServerSVulnerabilityAssessmentWithMinimalParametersWhenStorageAccountAccessKeyIsSpecified() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/PutWorkspaceMangedSqlServerVulnerabilityAssessmentCreateStorageAccessKeyMin.json @@ -216,9 +212,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAWorkspaceManagedSqlServerSVulner Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update a workspace managed sql server's vulnerability assessment with minimal parameters, when storageContainerSasKey is specified - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAWorkspaceManagedSqlServerSVulnerabilityAssessmentWithMinimalParametersWhenStorageContainerSasKeyIsSpecified() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/PutWorkspaceMangedSqlServerVulnerabilityAssessmentCreateContainerSasKeyMin.json @@ -257,9 +252,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAWorkspaceManagedSqlServerSVulner Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get workspace managed sql Server's vulnerability assessment policies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetWorkspaceManagedSqlServerSVulnerabilityAssessmentPolicies() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListWorkspaceManagedSqlServerVulnerabilityAssessmentPolicies.json @@ -291,7 +285,7 @@ public async Task GetAll_GetWorkspaceManagedSqlServerSVulnerabilityAssessmentPol Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseServerVulnerabilityAssessmentResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseServerVulnerabilityAssessmentResource.cs index 3461bdf3a1d4a..541f61a438aa2 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseServerVulnerabilityAssessmentResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseServerVulnerabilityAssessmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseServerVulnerabilityAssessmentResource { - // Get workspace managed sql Server's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceManagedSqlServerSVulnerabilityAssessment() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceManagedSqlServerVulnerabilityAssessment.json @@ -47,9 +47,8 @@ public async Task Get_GetWorkspaceManagedSqlServerSVulnerabilityAssessment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update a workspace managed sql server's vulnerability assessment with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAWorkspaceManagedSqlServerSVulnerabilityAssessmentWithAllParameters() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/PutWorkspaceManagedSqlServerVulnerabilityAssessmentWithAllParameters.json @@ -95,9 +94,8 @@ public async Task Update_CreateOrUpdateAWorkspaceManagedSqlServerSVulnerabilityA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update a workspace managed sql server's vulnerability assessment with minimal parameters, when storageAccountAccessKey is specified - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAWorkspaceManagedSqlServerSVulnerabilityAssessmentWithMinimalParametersWhenStorageAccountAccessKeyIsSpecified() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/PutWorkspaceMangedSqlServerVulnerabilityAssessmentCreateStorageAccessKeyMin.json @@ -133,9 +131,8 @@ public async Task Update_CreateOrUpdateAWorkspaceManagedSqlServerSVulnerabilityA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update a workspace managed sql server's vulnerability assessment with minimal parameters, when storageContainerSasKey is specified - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAWorkspaceManagedSqlServerSVulnerabilityAssessmentWithMinimalParametersWhenStorageContainerSasKeyIsSpecified() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/PutWorkspaceMangedSqlServerVulnerabilityAssessmentCreateContainerSasKeyMin.json @@ -171,9 +168,8 @@ public async Task Update_CreateOrUpdateAWorkspaceManagedSqlServerSVulnerabilityA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Remove workspace managed sql Server's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RemoveWorkspaceManagedSqlServerSVulnerabilityAssessment() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DeleteWorkspaceManagedSqlServerVulnerabilityAssessment.json @@ -196,7 +192,7 @@ public async Task Delete_RemoveWorkspaceManagedSqlServerSVulnerabilityAssessment // invoke the operation await synapseServerVulnerabilityAssessment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSparkConfigurationCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSparkConfigurationCollection.cs index fddfad8163473..8c7bc59f2fdf3 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSparkConfigurationCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSparkConfigurationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseSparkConfigurationCollection { - // Get SparkConfiguration by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSparkConfigurationByName() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/SparkConfiguration_Get.json @@ -49,9 +49,8 @@ public async Task Get_GetSparkConfigurationByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get SparkConfiguration by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSparkConfigurationByName() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/SparkConfiguration_Get.json @@ -80,9 +79,8 @@ public async Task Exists_GetSparkConfigurationByName() Console.WriteLine($"Succeeded: {result}"); } - // Get SparkConfiguration by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSparkConfigurationByName() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/SparkConfiguration_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetSparkConfigurationByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetSparkConfigurationByName() } } - // List sparkConfigurations in a workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSparkConfigurationsInAWorkspace() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/SparkConfigurations_ListByWorkspace.json @@ -157,7 +154,7 @@ public async Task GetAll_ListSparkConfigurationsInAWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSparkConfigurationResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSparkConfigurationResource.cs index d0dbe5b07e11e..5fabd6884786b 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSparkConfigurationResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSparkConfigurationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseSparkConfigurationResource { - // Get SparkConfiguration by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSparkConfigurationByName() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/SparkConfiguration_Get.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolBlobAuditingPolicyResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolBlobAuditingPolicyResource.cs index 0dd8224386073..252af16501b04 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolBlobAuditingPolicyResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolBlobAuditingPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseSqlPoolBlobAuditingPolicyResource { - // Get blob auditing policy of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetBlobAuditingPolicyOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolBlobAuditing.json @@ -47,9 +47,8 @@ public async Task Get_GetBlobAuditingPolicyOfASQLAnalyticsPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a database's blob auditing policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateADatabaseSBlobAuditingPolicyWithAllParameters() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateSqlPoolBlobAuditingWithAllParameters.json @@ -94,9 +93,8 @@ public async Task CreateOrUpdate_CreateOrUpdateADatabaseSBlobAuditingPolicyWithA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a database's blob auditing policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateADatabaseSBlobAuditingPolicyWithMinimalParameters() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateSqlPoolBlobAuditingWithMinParameters.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolCollection.cs index dea66e9048fbd..7638b6632185f 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseSqlPoolCollection { - // Get a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPool.json @@ -50,9 +50,8 @@ public async Task Get_GetASQLAnalyticsPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPool.json @@ -81,9 +80,8 @@ public async Task Exists_GetASQLAnalyticsPool() Console.WriteLine($"Succeeded: {result}"); } - // Get a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPool.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetASQLAnalyticsPool() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetASQLAnalyticsPool() } } - // Create a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateSqlPool.json @@ -177,9 +174,8 @@ public async Task CreateOrUpdate_CreateASQLAnalyticsPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List SQL Analytics pools in a workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSQLAnalyticsPoolsInAWorkspace() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListSqlPoolsInWorkspace.json @@ -211,12 +207,11 @@ public async Task GetAll_ListSQLAnalyticsPoolsInAWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List SQL Analytics pools in a workspace with filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSQLAnalyticsPoolsInAWorkspaceWithFilter() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListSqlPoolsInWorkspaceWithFilter.json @@ -248,7 +243,7 @@ public async Task GetAll_ListSQLAnalyticsPoolsInAWorkspaceWithFilter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolColumnCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolColumnCollection.cs index 99043e780f476..c472dfeeba10f 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolColumnCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolColumnCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseSqlPoolColumnCollection { - // List the columns in a table of a given schema in a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTheColumnsInATableOfAGivenSchemaInASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListSqlPoolColumns.json @@ -51,12 +51,11 @@ public async Task GetAll_ListTheColumnsInATableOfAGivenSchemaInASQLAnalyticsPool Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get database column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDatabaseColumn() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolColumnGet.json @@ -92,9 +91,8 @@ public async Task Get_GetDatabaseColumn() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get database column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDatabaseColumn() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolColumnGet.json @@ -126,9 +124,8 @@ public async Task Exists_GetDatabaseColumn() Console.WriteLine($"Succeeded: {result}"); } - // Get database column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDatabaseColumn() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolColumnGet.json @@ -160,7 +157,7 @@ public async Task GetIfExists_GetDatabaseColumn() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolColumnResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolColumnResource.cs index 4e8787069516c..b86b743e6e7fb 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolColumnResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolColumnResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseSqlPoolColumnResource { - // Enables sensitivity recommendations on a given column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task EnableRecommendationSqlPoolSensitivityLabel_EnablesSensitivityRecommendationsOnAGivenColumn() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/RecommendedColumnSensitivityLabelEnable.json @@ -42,12 +42,11 @@ public async Task EnableRecommendationSqlPoolSensitivityLabel_EnablesSensitivity // invoke the operation await synapseSqlPoolColumn.EnableRecommendationSqlPoolSensitivityLabelAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Disables sensitivity recommendations on a given column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DisableRecommendationSqlPoolSensitivityLabel_DisablesSensitivityRecommendationsOnAGivenColumn() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/RecommendedColumnSensitivityLabelDisable.json @@ -73,12 +72,11 @@ public async Task DisableRecommendationSqlPoolSensitivityLabel_DisablesSensitivi // invoke the operation await synapseSqlPoolColumn.DisableRecommendationSqlPoolSensitivityLabelAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get database column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDatabaseColumn() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolColumnGet.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolConnectionPolicyCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolConnectionPolicyCollection.cs index 4734d1677b309..5e711db27bbea 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolConnectionPolicyCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolConnectionPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseSqlPoolConnectionPolicyCollection { - // Get a connection policy of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAConnectionPolicyOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolConnectionPolicy.json @@ -51,9 +51,8 @@ public async Task Get_GetAConnectionPolicyOfASQLAnalyticsPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a connection policy of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAConnectionPolicyOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolConnectionPolicy.json @@ -83,9 +82,8 @@ public async Task Exists_GetAConnectionPolicyOfASQLAnalyticsPool() Console.WriteLine($"Succeeded: {result}"); } - // Get a connection policy of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAConnectionPolicyOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolConnectionPolicy.json @@ -115,7 +113,7 @@ public async Task GetIfExists_GetAConnectionPolicyOfASQLAnalyticsPool() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolConnectionPolicyResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolConnectionPolicyResource.cs index 0b22a506e1130..79fb15ff668ef 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolConnectionPolicyResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolConnectionPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseSqlPoolConnectionPolicyResource { - // Get a connection policy of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAConnectionPolicyOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolConnectionPolicy.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolResource.cs index caad932bc2985..612ee2af1fd8a 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseSqlPoolResource { - // Get a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPool.json @@ -47,9 +47,8 @@ public async Task Get_GetASQLAnalyticsPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateSqlPool.json @@ -95,9 +94,8 @@ public async Task Update_UpdateASQLAnalyticsPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DeleteSqlPool.json @@ -124,9 +122,8 @@ public async Task Delete_DeleteASQLAnalyticsPool() Console.WriteLine($"Succeeded: {result}"); } - // Pause a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Pause_PauseASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/PauseSqlPool.json @@ -153,9 +150,8 @@ public async Task Pause_PauseASQLAnalyticsPool() Console.WriteLine($"Succeeded: {result}"); } - // Resume a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Resume_ResumeASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ResumeSqlPool.json @@ -182,9 +178,8 @@ public async Task Resume_ResumeASQLAnalyticsPool() Console.WriteLine($"Succeeded: {result}"); } - // Rename a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Rename_RenameASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/RenameSqlPool.json @@ -208,12 +203,11 @@ public async Task Rename_RenameASQLAnalyticsPool() SynapseResourceMoveDefinition synapseResourceMoveDefinition = new SynapseResourceMoveDefinition(new ResourceIdentifier("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Synapse/workspaces/testsvr/sqlPools/newtestdb")); await synapseSqlPool.RenameAsync(synapseResourceMoveDefinition); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Creates Sql pool restore point. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateSqlPoolRestorePoint_CreatesSqlPoolRestorePoint() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateSqlPoolRestorePoints.json @@ -245,9 +239,8 @@ public async Task CreateSqlPoolRestorePoint_CreatesSqlPoolRestorePoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List the usages of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSqlPoolUsages_ListTheUsagesOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolUsageMetricsList.json @@ -273,12 +266,11 @@ public async Task GetSqlPoolUsages_ListTheUsagesOfASQLAnalyticsPool() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the current sensitivity labels of a given SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCurrentSqlPoolSensitivityLabels_GetsTheCurrentSensitivityLabelsOfAGivenSQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListSqlPoolsSensitivityLabelsWithSourceCurrent.json @@ -308,12 +300,11 @@ public async Task GetCurrentSqlPoolSensitivityLabels_GetsTheCurrentSensitivityLa Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update sensitivity labels of a given database using an operations batch. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateSqlPoolSensitivityLabel_UpdateSensitivityLabelsOfAGivenDatabaseUsingAnOperationsBatch() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SensitivityLabelsCurrentUpdate.json @@ -377,12 +368,11 @@ public async Task UpdateSqlPoolSensitivityLabel_UpdateSensitivityLabelsOfAGivenD }; await synapseSqlPool.UpdateSqlPoolSensitivityLabelAsync(synapseSensitivityLabelUpdateListResult); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the recommended sensitivity labels of a given SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRecommendedSqlPoolSensitivityLabels_GetsTheRecommendedSensitivityLabelsOfAGivenSQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListSqlPoolSensitivityLabelsWithSourceRecommended.json @@ -412,12 +402,11 @@ public async Task GetRecommendedSqlPoolSensitivityLabels_GetsTheRecommendedSensi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update recommended sensitivity labels of a given SQL Pool using an operations batch. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateSqlPoolRecommendedSensitivityLabel_UpdateRecommendedSensitivityLabelsOfAGivenSQLPoolUsingAnOperationsBatch() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SensitivityLabelsRecommendedUpdate.json @@ -465,7 +454,7 @@ public async Task UpdateSqlPoolRecommendedSensitivityLabel_UpdateRecommendedSens }; await synapseSqlPool.UpdateSqlPoolRecommendedSensitivityLabelAsync(synapseRecommendedSensitivityLabelUpdateOperationListResult); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolSchemaCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolSchemaCollection.cs index 12bea92b69ffd..1b84dd117cd55 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolSchemaCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolSchemaCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseSqlPoolSchemaCollection { - // List the schema in a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTheSchemaInASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListSqlPoolSchema.json @@ -49,12 +49,11 @@ public async Task GetAll_ListTheSchemaInASQLAnalyticsPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get database schema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDatabaseSchema() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolSchemaGet.json @@ -88,9 +87,8 @@ public async Task Get_GetDatabaseSchema() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get database schema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDatabaseSchema() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolSchemaGet.json @@ -120,9 +118,8 @@ public async Task Exists_GetDatabaseSchema() Console.WriteLine($"Succeeded: {result}"); } - // Get database schema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDatabaseSchema() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolSchemaGet.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetDatabaseSchema() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolSchemaResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolSchemaResource.cs index 10cace0c7ab95..820f45e290f94 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolSchemaResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolSchemaResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseSqlPoolSchemaResource { - // Get database schema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDatabaseSchema() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolSchemaGet.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolSecurityAlertPolicyCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolSecurityAlertPolicyCollection.cs index db6ec35dc7192..83f144e39ce40 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolSecurityAlertPolicyCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolSecurityAlertPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseSqlPoolSecurityAlertPolicyCollection { - // Get a security alert of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetASecurityAlertOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolSecurityAlertPolicies_List.json @@ -50,12 +50,11 @@ public async Task GetAll_GetASecurityAlertOfASQLAnalyticsPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a security alert of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASecurityAlertOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolSecurityAlert.json @@ -89,9 +88,8 @@ public async Task Get_GetASecurityAlertOfASQLAnalyticsPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a security alert of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetASecurityAlertOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolSecurityAlert.json @@ -121,9 +119,8 @@ public async Task Exists_GetASecurityAlertOfASQLAnalyticsPool() Console.WriteLine($"Succeeded: {result}"); } - // Get a security alert of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetASecurityAlertOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolSecurityAlert.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetASecurityAlertOfASQLAnalyticsPool() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_GetASecurityAlertOfASQLAnalyticsPool() } } - // Update a Sql pool's threat detection policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateASqlPoolSThreatDetectionPolicyWithAllParameters() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateSqlPoolSecurityAlertWithAllParameters.json @@ -218,9 +214,8 @@ public async Task CreateOrUpdate_UpdateASqlPoolSThreatDetectionPolicyWithAllPara Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a Sql pool's threat detection policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateASqlPoolSThreatDetectionPolicyWithMinimalParameters() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateSqlPoolSecurityAlertWithMinParameters.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolSecurityAlertPolicyResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolSecurityAlertPolicyResource.cs index d11da89730395..6eff29b56d90a 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolSecurityAlertPolicyResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolSecurityAlertPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseSqlPoolSecurityAlertPolicyResource { - // Get a security alert of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASecurityAlertOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolSecurityAlert.json @@ -48,9 +48,8 @@ public async Task Get_GetASecurityAlertOfASQLAnalyticsPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a Sql pool's threat detection policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateASqlPoolSThreatDetectionPolicyWithAllParameters() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateSqlPoolSecurityAlertWithAllParameters.json @@ -98,9 +97,8 @@ public async Task Update_UpdateASqlPoolSThreatDetectionPolicyWithAllParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a Sql pool's threat detection policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateASqlPoolSThreatDetectionPolicyWithMinimalParameters() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateSqlPoolSecurityAlertWithMinParameters.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolTableCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolTableCollection.cs index 50b809825aa38..6f835d70ae5fa 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolTableCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolTableCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseSqlPoolTableCollection { - // List the tables of a given schema in a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTheTablesOfAGivenSchemaInASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListSqlPoolTables.json @@ -50,12 +50,11 @@ public async Task GetAll_ListTheTablesOfAGivenSchemaInASQLAnalyticsPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get database table - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDatabaseTable() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolTableGet.json @@ -90,9 +89,8 @@ public async Task Get_GetDatabaseTable() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get database table - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDatabaseTable() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolTableGet.json @@ -123,9 +121,8 @@ public async Task Exists_GetDatabaseTable() Console.WriteLine($"Succeeded: {result}"); } - // Get database table - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDatabaseTable() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolTableGet.json @@ -156,7 +153,7 @@ public async Task GetIfExists_GetDatabaseTable() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolTableResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolTableResource.cs index b18b8d4c42588..354e0b11d4ea1 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolTableResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolTableResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseSqlPoolTableResource { - // Get database table - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDatabaseTable() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolTableGet.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolVulnerabilityAssessmentCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolVulnerabilityAssessmentCollection.cs index 598f89133db83..9dff246a257c0 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolVulnerabilityAssessmentCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolVulnerabilityAssessmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseSqlPoolVulnerabilityAssessmentCollection { - // Get a vulnerability assessment of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAVulnerabilityAssessmentOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListSqlPoolVulnerabilityAssessments.json @@ -50,12 +50,11 @@ public async Task GetAll_GetAVulnerabilityAssessmentOfASQLAnalyticsPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a Sql pool's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASqlPoolSVulnerabilityAssessment() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolVulnerabilityAssessment.json @@ -89,9 +88,8 @@ public async Task Get_GetASqlPoolSVulnerabilityAssessment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Sql pool's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetASqlPoolSVulnerabilityAssessment() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolVulnerabilityAssessment.json @@ -121,9 +119,8 @@ public async Task Exists_GetASqlPoolSVulnerabilityAssessment() Console.WriteLine($"Succeeded: {result}"); } - // Get a Sql pool's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetASqlPoolSVulnerabilityAssessment() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolVulnerabilityAssessment.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetASqlPoolSVulnerabilityAssessment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_GetASqlPoolSVulnerabilityAssessment() } } - // Create a database's vulnerability assessment with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADatabaseSVulnerabilityAssessmentWithAllParameters() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateSqlPoolVulnerabilityAssessmentWithAllParameters.json @@ -217,9 +213,8 @@ public async Task CreateOrUpdate_CreateADatabaseSVulnerabilityAssessmentWithAllP Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a database's vulnerability assessment with minimal parameters, when storageAccountAccessKey is specified - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADatabaseSVulnerabilityAssessmentWithMinimalParametersWhenStorageAccountAccessKeyIsSpecified() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateVulnerabilityAssessmentWithStorageAccessKeyAndMinParameters.json @@ -259,9 +254,8 @@ public async Task CreateOrUpdate_CreateADatabaseSVulnerabilityAssessmentWithMini Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a database's vulnerability assessment with minimal parameters, when storageContainerSasKey is specified - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADatabaseSVulnerabilityAssessmentWithMinimalParametersWhenStorageContainerSasKeyIsSpecified() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateSqlPoolVulnerabilityAssessmentWithContainerSasKeyAndMinParameters.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolVulnerabilityAssessmentResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolVulnerabilityAssessmentResource.cs index f80ea0e79026b..cb2c57ef2f15e 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolVulnerabilityAssessmentResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolVulnerabilityAssessmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseSqlPoolVulnerabilityAssessmentResource { - // Get a Sql pool's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASqlPoolSVulnerabilityAssessment() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolVulnerabilityAssessment.json @@ -48,9 +48,8 @@ public async Task Get_GetASqlPoolSVulnerabilityAssessment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a database's vulnerability assessment with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateADatabaseSVulnerabilityAssessmentWithAllParameters() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateSqlPoolVulnerabilityAssessmentWithAllParameters.json @@ -97,9 +96,8 @@ public async Task Update_CreateADatabaseSVulnerabilityAssessmentWithAllParameter Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a database's vulnerability assessment with minimal parameters, when storageAccountAccessKey is specified - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateADatabaseSVulnerabilityAssessmentWithMinimalParametersWhenStorageAccountAccessKeyIsSpecified() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateVulnerabilityAssessmentWithStorageAccessKeyAndMinParameters.json @@ -136,9 +134,8 @@ public async Task Update_CreateADatabaseSVulnerabilityAssessmentWithMinimalParam Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a database's vulnerability assessment with minimal parameters, when storageContainerSasKey is specified - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateADatabaseSVulnerabilityAssessmentWithMinimalParametersWhenStorageContainerSasKeyIsSpecified() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateSqlPoolVulnerabilityAssessmentWithContainerSasKeyAndMinParameters.json @@ -175,9 +172,8 @@ public async Task Update_CreateADatabaseSVulnerabilityAssessmentWithMinimalParam Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Remove a database's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RemoveADatabaseSVulnerabilityAssessment() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DeleteSqlPoolVulnerabilityAssessment.json @@ -201,7 +197,7 @@ public async Task Delete_RemoveADatabaseSVulnerabilityAssessment() // invoke the operation await synapseSqlPoolVulnerabilityAssessment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolVulnerabilityAssessmentRuleBaselineCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolVulnerabilityAssessmentRuleBaselineCollection.cs index 669eb72019386..836012f873399 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolVulnerabilityAssessmentRuleBaselineCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolVulnerabilityAssessmentRuleBaselineCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseSqlPoolVulnerabilityAssessmentRuleBaselineCollection { - // Creates or updates a database's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesADatabaseSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateSqlPoolVulnerabilityAssessmentRuleBaseline.json @@ -70,9 +70,8 @@ public async Task CreateOrUpdate_CreatesOrUpdatesADatabaseSVulnerabilityAssessme Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a Sql pool's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsASqlPoolSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolVulnerabilityAssessmentRuleBaselineGet.json @@ -108,9 +107,8 @@ public async Task Get_GetsASqlPoolSVulnerabilityAssessmentRuleBaseline() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a Sql pool's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsASqlPoolSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolVulnerabilityAssessmentRuleBaselineGet.json @@ -142,9 +140,8 @@ public async Task Exists_GetsASqlPoolSVulnerabilityAssessmentRuleBaseline() Console.WriteLine($"Succeeded: {result}"); } - // Gets a Sql pool's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsASqlPoolSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolVulnerabilityAssessmentRuleBaselineGet.json @@ -176,7 +173,7 @@ public async Task GetIfExists_GetsASqlPoolSVulnerabilityAssessmentRuleBaseline() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolVulnerabilityAssessmentRuleBaselineResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolVulnerabilityAssessmentRuleBaselineResource.cs index 79b27d77f807f..30610e88a259c 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolVulnerabilityAssessmentRuleBaselineResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseSqlPoolVulnerabilityAssessmentRuleBaselineResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseSqlPoolVulnerabilityAssessmentRuleBaselineResource { - // Creates or updates a database's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesOrUpdatesADatabaseSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateSqlPoolVulnerabilityAssessmentRuleBaseline.json @@ -67,9 +67,8 @@ public async Task Update_CreatesOrUpdatesADatabaseSVulnerabilityAssessmentRuleBa Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Removes a database's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RemovesADatabaseSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DeleteSqlPoolVulnerabilityAssessmentRuleBaseline.json @@ -95,12 +94,11 @@ public async Task Delete_RemovesADatabaseSVulnerabilityAssessmentRuleBaseline() // invoke the operation await synapseSqlPoolVulnerabilityAssessmentRuleBaseline.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a Sql pool's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsASqlPoolSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolVulnerabilityAssessmentRuleBaselineGet.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseTransparentDataEncryptionCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseTransparentDataEncryptionCollection.cs index cc31e31b9920c..e60505e0c5c00 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseTransparentDataEncryptionCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseTransparentDataEncryptionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseTransparentDataEncryptionCollection { - // Get transparent data encryption configuration of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTransparentDataEncryptionConfigurationOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolTransparentDataEncryption.json @@ -51,9 +51,8 @@ public async Task Get_GetTransparentDataEncryptionConfigurationOfASQLAnalyticsPo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get transparent data encryption configuration of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTransparentDataEncryptionConfigurationOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolTransparentDataEncryption.json @@ -83,9 +82,8 @@ public async Task Exists_GetTransparentDataEncryptionConfigurationOfASQLAnalytic Console.WriteLine($"Succeeded: {result}"); } - // Get transparent data encryption configuration of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTransparentDataEncryptionConfigurationOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolTransparentDataEncryption.json @@ -115,7 +113,7 @@ public async Task GetIfExists_GetTransparentDataEncryptionConfigurationOfASQLAna if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_GetTransparentDataEncryptionConfigurationOfASQLAna } } - // Create or update a Sql pool's transparent data encryption configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateASqlPoolSTransparentDataEncryptionConfiguration() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateSqlPoolTransparentDataEncryption.json @@ -168,9 +165,8 @@ public async Task CreateOrUpdate_CreateOrUpdateASqlPoolSTransparentDataEncryptio Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get list of transparent data encryption configurations of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetListOfTransparentDataEncryptionConfigurationsOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolTransparentDataEncryptionList.json @@ -203,7 +199,7 @@ public async Task GetAll_GetListOfTransparentDataEncryptionConfigurationsOfASQLA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseTransparentDataEncryptionResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseTransparentDataEncryptionResource.cs index 1e75c6347a3e5..c17aaa301c462 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseTransparentDataEncryptionResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseTransparentDataEncryptionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseTransparentDataEncryptionResource { - // Get transparent data encryption configuration of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTransparentDataEncryptionConfigurationOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolTransparentDataEncryption.json @@ -48,9 +48,8 @@ public async Task Get_GetTransparentDataEncryptionConfigurationOfASQLAnalyticsPo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a Sql pool's transparent data encryption configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateASqlPoolSTransparentDataEncryptionConfiguration() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateSqlPoolTransparentDataEncryption.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseVulnerabilityAssessmentScanRecordCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseVulnerabilityAssessmentScanRecordCollection.cs index 8d263652b0bd3..f039a36ccee9c 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseVulnerabilityAssessmentScanRecordCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseVulnerabilityAssessmentScanRecordCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseVulnerabilityAssessmentScanRecordCollection { - // Get a vulnerability scan record of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAVulnerabilityScanRecordOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListSqlPoolVulnerabilityAssessmentScanRecords.json @@ -51,12 +51,11 @@ public async Task GetAll_GetAVulnerabilityScanRecordOfASQLAnalyticsPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a database vulnerability assessment scan record by scan ID - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatabaseVulnerabilityAssessmentScanRecordByScanID() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolVulnerabilityAssessmentScanRecordsGet.json @@ -91,9 +90,8 @@ public async Task Get_GetsADatabaseVulnerabilityAssessmentScanRecordByScanID() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a database vulnerability assessment scan record by scan ID - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsADatabaseVulnerabilityAssessmentScanRecordByScanID() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolVulnerabilityAssessmentScanRecordsGet.json @@ -124,9 +122,8 @@ public async Task Exists_GetsADatabaseVulnerabilityAssessmentScanRecordByScanID( Console.WriteLine($"Succeeded: {result}"); } - // Gets a database vulnerability assessment scan record by scan ID - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsADatabaseVulnerabilityAssessmentScanRecordByScanID() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolVulnerabilityAssessmentScanRecordsGet.json @@ -157,7 +154,7 @@ public async Task GetIfExists_GetsADatabaseVulnerabilityAssessmentScanRecordBySc if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseVulnerabilityAssessmentScanRecordResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseVulnerabilityAssessmentScanRecordResource.cs index 01cc138dca84a..06ab39b7908d2 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseVulnerabilityAssessmentScanRecordResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseVulnerabilityAssessmentScanRecordResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseVulnerabilityAssessmentScanRecordResource { - // Executes a Sql pool's vulnerability assessment scan. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task InitiateScan_ExecutesASqlPoolSVulnerabilityAssessmentScan() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ExecuteSqlPoolVulnerabilityAssessmentScans.json @@ -42,12 +42,11 @@ public async Task InitiateScan_ExecutesASqlPoolSVulnerabilityAssessmentScan() // invoke the operation await synapseVulnerabilityAssessmentScanRecord.InitiateScanAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Export a database's vulnerability assessment scan results. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Export_ExportADatabaseSVulnerabilityAssessmentScanResults() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ExportSqlPoolVulnerabilityAssessmentScan.json @@ -75,9 +74,8 @@ public async Task Export_ExportADatabaseSVulnerabilityAssessmentScanResults() Console.WriteLine($"Succeeded: {result}"); } - // Gets a database vulnerability assessment scan record by scan ID - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatabaseVulnerabilityAssessmentScanRecordByScanID() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/SqlPoolVulnerabilityAssessmentScanRecordsGet.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkloadClassifierCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkloadClassifierCollection.cs index 9239dca183b3d..3ba5887242567 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkloadClassifierCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkloadClassifierCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseWorkloadClassifierCollection { - // Get a workload classifier for SQL Analytics pool's workload group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkloadClassifierForSQLAnalyticsPoolSWorkloadGroup() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolWorkloadGroupWorkloadClassifier.json @@ -51,9 +51,8 @@ public async Task Get_GetAWorkloadClassifierForSQLAnalyticsPoolSWorkloadGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a workload classifier for SQL Analytics pool's workload group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAWorkloadClassifierForSQLAnalyticsPoolSWorkloadGroup() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolWorkloadGroupWorkloadClassifier.json @@ -84,9 +83,8 @@ public async Task Exists_GetAWorkloadClassifierForSQLAnalyticsPoolSWorkloadGroup Console.WriteLine($"Succeeded: {result}"); } - // Get a workload classifier for SQL Analytics pool's workload group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAWorkloadClassifierForSQLAnalyticsPoolSWorkloadGroup() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolWorkloadGroupWorkloadClassifier.json @@ -117,7 +115,7 @@ public async Task GetIfExists_GetAWorkloadClassifierForSQLAnalyticsPoolSWorkload if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -129,9 +127,8 @@ public async Task GetIfExists_GetAWorkloadClassifierForSQLAnalyticsPoolSWorkload } } - // Create a workload classifier with all properties specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAWorkloadClassifierWithAllPropertiesSpecified() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateSqlPoolWorkloadClassifierMax.json @@ -176,9 +173,8 @@ public async Task CreateOrUpdate_CreateAWorkloadClassifierWithAllPropertiesSpeci Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a workload classifier with the required properties specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAWorkloadClassifierWithTheRequiredPropertiesSpecified() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateSqlPoolWorkloadClassifierMin.json @@ -218,9 +214,8 @@ public async Task CreateOrUpdate_CreateAWorkloadClassifierWithTheRequiredPropert Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the list of workload classifiers of a SQL Analytics pool's workload group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetTheListOfWorkloadClassifiersOfASQLAnalyticsPoolSWorkloadGroup() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolWorkloadGroupWorkloadClassifierList.json @@ -254,7 +249,7 @@ public async Task GetAll_GetTheListOfWorkloadClassifiersOfASQLAnalyticsPoolSWork Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkloadClassifierResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkloadClassifierResource.cs index 4f6d201d71938..7191d2943d208 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkloadClassifierResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkloadClassifierResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseWorkloadClassifierResource { - // Get a workload classifier for SQL Analytics pool's workload group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkloadClassifierForSQLAnalyticsPoolSWorkloadGroup() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolWorkloadGroupWorkloadClassifier.json @@ -48,9 +48,8 @@ public async Task Get_GetAWorkloadClassifierForSQLAnalyticsPoolSWorkloadGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a workload classifier with all properties specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAWorkloadClassifierWithAllPropertiesSpecified() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateSqlPoolWorkloadClassifierMax.json @@ -92,9 +91,8 @@ public async Task Update_CreateAWorkloadClassifierWithAllPropertiesSpecified() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a workload classifier with the required properties specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAWorkloadClassifierWithTheRequiredPropertiesSpecified() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateSqlPoolWorkloadClassifierMin.json @@ -131,9 +129,8 @@ public async Task Update_CreateAWorkloadClassifierWithTheRequiredPropertiesSpeci Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a workload classifier of a SQL Analytics pool's workload group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAWorkloadClassifierOfASQLAnalyticsPoolSWorkloadGroup() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DeleteSqlPoolWorkloadGroupWorkloadClassifer.json @@ -158,7 +155,7 @@ public async Task Delete_DeleteAWorkloadClassifierOfASQLAnalyticsPoolSWorkloadGr // invoke the operation await synapseWorkloadClassifier.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkloadGroupCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkloadGroupCollection.cs index 752a17b70b542..7ba2eb3f9b1b9 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkloadGroupCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkloadGroupCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseWorkloadGroupCollection { - // Get a a workload group of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAAWorkloadGroupOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolWorkloadGroup.json @@ -50,9 +50,8 @@ public async Task Get_GetAAWorkloadGroupOfASQLAnalyticsPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a a workload group of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAAWorkloadGroupOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolWorkloadGroup.json @@ -82,9 +81,8 @@ public async Task Exists_GetAAWorkloadGroupOfASQLAnalyticsPool() Console.WriteLine($"Succeeded: {result}"); } - // Get a a workload group of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAAWorkloadGroupOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolWorkloadGroup.json @@ -114,7 +112,7 @@ public async Task GetIfExists_GetAAWorkloadGroupOfASQLAnalyticsPool() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -126,9 +124,8 @@ public async Task GetIfExists_GetAAWorkloadGroupOfASQLAnalyticsPool() } } - // Create a workload group with all properties specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAWorkloadGroupWithAllPropertiesSpecified() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateSqlPoolWorkloadGroupMax.json @@ -172,9 +169,8 @@ public async Task CreateOrUpdate_CreateAWorkloadGroupWithAllPropertiesSpecified( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a workload group with the required properties specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAWorkloadGroupWithTheRequiredPropertiesSpecified() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateSqlPoolWorkloadGroupMin.json @@ -215,9 +211,8 @@ public async Task CreateOrUpdate_CreateAWorkloadGroupWithTheRequiredPropertiesSp Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the list of workload groups of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetTheListOfWorkloadGroupsOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolWorkloadGroupList.json @@ -250,7 +245,7 @@ public async Task GetAll_GetTheListOfWorkloadGroupsOfASQLAnalyticsPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkloadGroupResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkloadGroupResource.cs index 91d768610f9dd..f1bc61ee5ea77 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkloadGroupResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkloadGroupResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseWorkloadGroupResource { - // Get a a workload group of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAAWorkloadGroupOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetSqlPoolWorkloadGroup.json @@ -47,9 +47,8 @@ public async Task Get_GetAAWorkloadGroupOfASQLAnalyticsPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a workload group with all properties specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAWorkloadGroupWithAllPropertiesSpecified() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateSqlPoolWorkloadGroupMax.json @@ -90,9 +89,8 @@ public async Task Update_CreateAWorkloadGroupWithAllPropertiesSpecified() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a workload group with the required properties specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAWorkloadGroupWithTheRequiredPropertiesSpecified() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateSqlPoolWorkloadGroupMin.json @@ -130,9 +128,8 @@ public async Task Update_CreateAWorkloadGroupWithTheRequiredPropertiesSpecified( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a workload group of a SQL Analytics pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAWorkloadGroupOfASQLAnalyticsPool() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DeleteSqlPoolWorkloadGroup.json @@ -156,7 +153,7 @@ public async Task Delete_DeleteAWorkloadGroupOfASQLAnalyticsPool() // invoke the operation await synapseWorkloadGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkspaceAdministratorResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkspaceAdministratorResource.cs index 2b36c236d99dc..b596b4b13a688 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkspaceAdministratorResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkspaceAdministratorResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseWorkspaceAdministratorResource { - // Get workspace active directory admin - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceActiveDirectoryAdmin() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceAadAdmin.json @@ -45,9 +45,8 @@ public async Task Get_GetWorkspaceActiveDirectoryAdmin() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update workspace active directory admin - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWorkspaceActiveDirectoryAdmin() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateWorkspaceAadAdmin.json @@ -84,9 +83,8 @@ public async Task CreateOrUpdate_CreateOrUpdateWorkspaceActiveDirectoryAdmin() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete workspace active directory admin - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWorkspaceActiveDirectoryAdmin() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DeleteWorkspaceAadAdmin.json @@ -108,7 +106,7 @@ public async Task Delete_DeleteWorkspaceActiveDirectoryAdmin() // invoke the operation await synapseWorkspaceAdministratorResource.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkspaceCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkspaceCollection.cs index 1ac1e0c07a534..1d3961ac31022 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkspaceCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkspaceCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseWorkspaceCollection { - // List workspaces in resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWorkspacesInResourceGroup() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListWorkspacesInResourceGroup.json @@ -50,12 +50,11 @@ public async Task GetAll_ListWorkspacesInResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkspace() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspace.json @@ -87,9 +86,8 @@ public async Task Get_GetAWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAWorkspace() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspace.json @@ -117,9 +115,8 @@ public async Task Exists_GetAWorkspace() Console.WriteLine($"Succeeded: {result}"); } - // Get a workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAWorkspace() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspace.json @@ -147,7 +144,7 @@ public async Task GetIfExists_GetAWorkspace() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_GetAWorkspace() } } - // Create or update a workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAWorkspace() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateWorkspace.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkspacePrivateLinkResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkspacePrivateLinkResource.cs index 7efb7aa4ac731..96250593b69a4 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkspacePrivateLinkResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkspacePrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseWorkspacePrivateLinkResource { - // Get private link resources for workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateLinkResourcesForWorkspace() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetPrivateLinkResource.json diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkspacePrivateLinkResourceCollection.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkspacePrivateLinkResourceCollection.cs index 8ae2fb7dfdb82..4bef4de705198 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkspacePrivateLinkResourceCollection.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkspacePrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseWorkspacePrivateLinkResourceCollection { - // Get private link resources for workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetPrivateLinkResourcesForWorkspace() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListPrivateLinkResources.json @@ -48,12 +48,11 @@ public async Task GetAll_GetPrivateLinkResourcesForWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get private link resources for workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateLinkResourcesForWorkspace() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetPrivateLinkResource.json @@ -86,9 +85,8 @@ public async Task Get_GetPrivateLinkResourcesForWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get private link resources for workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPrivateLinkResourcesForWorkspace() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetPrivateLinkResource.json @@ -117,9 +115,8 @@ public async Task Exists_GetPrivateLinkResourcesForWorkspace() Console.WriteLine($"Succeeded: {result}"); } - // Get private link resources for workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPrivateLinkResourcesForWorkspace() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetPrivateLinkResource.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetPrivateLinkResourcesForWorkspace() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkspaceResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkspaceResource.cs index 0a2fdf34297eb..8be3ab744872f 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkspaceResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkspaceResource.cs @@ -13,14 +13,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Synapse.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseWorkspaceResource { - // Replace all IP firewall rules in a workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ReplaceAllIpFirewallRule_ReplaceAllIPFirewallRulesInAWorkspace() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ReplaceAllIpFirewallRules.json @@ -62,9 +62,8 @@ public async Task ReplaceAllIpFirewallRule_ReplaceAllIPFirewallRulesInAWorkspace Console.WriteLine($"Succeeded: {result}"); } - // List usages metric for the workspace managed sql server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetWorkspaceManagedSqlServerUsages_ListUsagesMetricForTheWorkspaceManagedSqlServer() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListWorkspaceManagedSqlServerUsages.json @@ -89,12 +88,11 @@ public async Task GetWorkspaceManagedSqlServerUsages_ListUsagesMetricForTheWorks Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkspace() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspace.json @@ -123,9 +121,8 @@ public async Task Get_GetAWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAWorkspace() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/UpdateWorkspace.json @@ -196,9 +193,8 @@ public async Task Update_UpdateAWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAWorkspace() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DeleteWorkspace.json @@ -228,9 +224,8 @@ public async Task Delete_DeleteAWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List workspaces in subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSynapseWorkspaces_ListWorkspacesInSubscription() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/ListWorkspacesInSubscription.json @@ -257,7 +252,7 @@ public async Task GetSynapseWorkspaces_ListWorkspacesInSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkspaceSqlAdministratorResource.cs b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkspaceSqlAdministratorResource.cs index 8e3524fd9653b..9adde19be424f 100644 --- a/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkspaceSqlAdministratorResource.cs +++ b/sdk/synapse/Azure.ResourceManager.Synapse/samples/Generated/Samples/Sample_SynapseWorkspaceSqlAdministratorResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Synapse.Samples { public partial class Sample_SynapseWorkspaceSqlAdministratorResource { - // Get workspace active directory admin - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWorkspaceActiveDirectoryAdmin() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/GetWorkspaceAadAdmin.json @@ -45,9 +45,8 @@ public async Task Get_GetWorkspaceActiveDirectoryAdmin() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update workspace active directory admin - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWorkspaceActiveDirectoryAdmin() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/CreateOrUpdateWorkspaceAadAdmin.json @@ -84,9 +83,8 @@ public async Task CreateOrUpdate_CreateOrUpdateWorkspaceActiveDirectoryAdmin() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete workspace active directory admin - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWorkspaceActiveDirectoryAdmin() { // Generated from example definition: specification/synapse/resource-manager/Microsoft.Synapse/stable/2021-06-01/examples/DeleteWorkspaceAadAdmin.json @@ -108,7 +106,7 @@ public async Task Delete_DeleteWorkspaceActiveDirectoryAdmin() // invoke the operation await synapseWorkspaceSqlAdministratorResource.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/terraform/Azure.ResourceManager.Terraform/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/terraform/Azure.ResourceManager.Terraform/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index ac302321fa08c..b9cacd29a5925 100644 --- a/sdk/terraform/Azure.ResourceManager.Terraform/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/terraform/Azure.ResourceManager.Terraform/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Terraform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Terraform.Samples { public partial class Sample_SubscriptionResourceExtensions { - // ExportTerraform - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExportTerraform_ExportTerraform() { // Generated from example definition: 2023-07-01-preview/ExportTerraform.json diff --git a/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerEndpointCollection.cs b/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerEndpointCollection.cs index 6573a4e276f79..aa90e7e3753a3 100644 --- a/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerEndpointCollection.cs +++ b/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerEndpointCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.TrafficManager.Models; +using NUnit.Framework; namespace Azure.ResourceManager.TrafficManager.Samples { public partial class Sample_TrafficManagerEndpointCollection { - // Endpoint-GET-External-WithGeoMapping - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EndpointGETExternalWithGeoMapping() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Endpoint-GET-External-WithGeoMapping.json @@ -52,9 +52,8 @@ public async Task Get_EndpointGETExternalWithGeoMapping() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Endpoint-GET-External-WithGeoMapping - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EndpointGETExternalWithGeoMapping() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Endpoint-GET-External-WithGeoMapping.json @@ -84,9 +83,8 @@ public async Task Exists_EndpointGETExternalWithGeoMapping() Console.WriteLine($"Succeeded: {result}"); } - // Endpoint-GET-External-WithGeoMapping - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EndpointGETExternalWithGeoMapping() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Endpoint-GET-External-WithGeoMapping.json @@ -116,7 +114,7 @@ public async Task GetIfExists_EndpointGETExternalWithGeoMapping() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -128,9 +126,8 @@ public async Task GetIfExists_EndpointGETExternalWithGeoMapping() } } - // Endpoint-GET-External-WithLocation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EndpointGETExternalWithLocation() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Endpoint-GET-External-WithLocation.json @@ -164,9 +161,8 @@ public async Task Get_EndpointGETExternalWithLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Endpoint-GET-External-WithLocation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EndpointGETExternalWithLocation() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Endpoint-GET-External-WithLocation.json @@ -196,9 +192,8 @@ public async Task Exists_EndpointGETExternalWithLocation() Console.WriteLine($"Succeeded: {result}"); } - // Endpoint-GET-External-WithLocation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EndpointGETExternalWithLocation() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Endpoint-GET-External-WithLocation.json @@ -228,7 +223,7 @@ public async Task GetIfExists_EndpointGETExternalWithLocation() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -240,9 +235,8 @@ public async Task GetIfExists_EndpointGETExternalWithLocation() } } - // Endpoint-GET-External-WithSubnetMapping - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EndpointGETExternalWithSubnetMapping() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Endpoint-GET-External-WithSubnetMapping.json @@ -276,9 +270,8 @@ public async Task Get_EndpointGETExternalWithSubnetMapping() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Endpoint-GET-External-WithSubnetMapping - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EndpointGETExternalWithSubnetMapping() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Endpoint-GET-External-WithSubnetMapping.json @@ -308,9 +301,8 @@ public async Task Exists_EndpointGETExternalWithSubnetMapping() Console.WriteLine($"Succeeded: {result}"); } - // Endpoint-GET-External-WithSubnetMapping - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EndpointGETExternalWithSubnetMapping() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Endpoint-GET-External-WithSubnetMapping.json @@ -340,7 +332,7 @@ public async Task GetIfExists_EndpointGETExternalWithSubnetMapping() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -352,9 +344,8 @@ public async Task GetIfExists_EndpointGETExternalWithSubnetMapping() } } - // Endpoint-PUT-External-WithAlwaysServe - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EndpointPUTExternalWithAlwaysServe() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Endpoint-PUT-External-WithAlwaysServe.json @@ -398,9 +389,8 @@ public async Task CreateOrUpdate_EndpointPUTExternalWithAlwaysServe() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Endpoint-PUT-External-WithCustomHeaders - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EndpointPUTExternalWithCustomHeaders() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Endpoint-PUT-External-WithCustomHeaders.json @@ -455,9 +445,8 @@ public async Task CreateOrUpdate_EndpointPUTExternalWithCustomHeaders() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Endpoint-PUT-External-WithGeoMapping - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EndpointPUTExternalWithGeoMapping() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Endpoint-PUT-External-WithGeoMapping.json @@ -503,9 +492,8 @@ public async Task CreateOrUpdate_EndpointPUTExternalWithGeoMapping() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Endpoint-PUT-External-WithLocation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EndpointPUTExternalWithLocation() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Endpoint-PUT-External-WithLocation.json @@ -548,9 +536,8 @@ public async Task CreateOrUpdate_EndpointPUTExternalWithLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Endpoint-PUT-External-WithSubnetMapping - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EndpointPUTExternalWithSubnetMapping() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Endpoint-PUT-External-WithSubnetMapping.json diff --git a/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerEndpointResource.cs b/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerEndpointResource.cs index 4e3bf5e4b78ec..bf3bb0fd451e4 100644 --- a/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerEndpointResource.cs +++ b/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerEndpointResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.TrafficManager.Samples { public partial class Sample_TrafficManagerEndpointResource { - // Endpoint-PATCH-External-Target - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_EndpointPATCHExternalTarget() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Endpoint-PATCH-External-Target.json @@ -54,9 +54,8 @@ public async Task Update_EndpointPATCHExternalTarget() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Endpoint-GET-External-WithGeoMapping - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EndpointGETExternalWithGeoMapping() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Endpoint-GET-External-WithGeoMapping.json @@ -87,9 +86,8 @@ public async Task Get_EndpointGETExternalWithGeoMapping() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Endpoint-GET-External-WithLocation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EndpointGETExternalWithLocation() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Endpoint-GET-External-WithLocation.json @@ -120,9 +118,8 @@ public async Task Get_EndpointGETExternalWithLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Endpoint-GET-External-WithSubnetMapping - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EndpointGETExternalWithSubnetMapping() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Endpoint-GET-External-WithSubnetMapping.json @@ -153,9 +150,8 @@ public async Task Get_EndpointGETExternalWithSubnetMapping() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Endpoint-DELETE-External - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_EndpointDELETEExternal() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Endpoint-DELETE-External.json @@ -179,7 +175,7 @@ public async Task Delete_EndpointDELETEExternal() // invoke the operation await trafficManagerEndpoint.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerGeographicHierarchyResource.cs b/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerGeographicHierarchyResource.cs index 72003b90a54ee..4c2a34b932a66 100644 --- a/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerGeographicHierarchyResource.cs +++ b/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerGeographicHierarchyResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.TrafficManager.Samples { public partial class Sample_TrafficManagerGeographicHierarchyResource { - // GeographicHierarchy-GET-default - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GeographicHierarchyGETDefault() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/GeographicHierarchy-GET-default.json diff --git a/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerHeatMapCollection.cs b/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerHeatMapCollection.cs index 13c360aca6744..1c6426e9a1547 100644 --- a/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerHeatMapCollection.cs +++ b/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerHeatMapCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.TrafficManager.Models; +using NUnit.Framework; namespace Azure.ResourceManager.TrafficManager.Samples { public partial class Sample_TrafficManagerHeatMapCollection { - // HeatMap-GET - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_HeatMapGET() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/HeatMap-GET.json @@ -51,9 +51,8 @@ public async Task Get_HeatMapGET() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HeatMap-GET - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_HeatMapGET() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/HeatMap-GET.json @@ -82,9 +81,8 @@ public async Task Exists_HeatMapGET() Console.WriteLine($"Succeeded: {result}"); } - // HeatMap-GET - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_HeatMapGET() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/HeatMap-GET.json @@ -113,7 +111,7 @@ public async Task GetIfExists_HeatMapGET() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -125,9 +123,8 @@ public async Task GetIfExists_HeatMapGET() } } - // HeatMap-GET-With-Null-Values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_HeatMapGETWithNullValues() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/HeatMap-GET-With-Null-Values.json @@ -160,9 +157,8 @@ public async Task Get_HeatMapGETWithNullValues() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HeatMap-GET-With-Null-Values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_HeatMapGETWithNullValues() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/HeatMap-GET-With-Null-Values.json @@ -191,9 +187,8 @@ public async Task Exists_HeatMapGETWithNullValues() Console.WriteLine($"Succeeded: {result}"); } - // HeatMap-GET-With-Null-Values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_HeatMapGETWithNullValues() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/HeatMap-GET-With-Null-Values.json @@ -222,7 +217,7 @@ public async Task GetIfExists_HeatMapGETWithNullValues() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -234,9 +229,8 @@ public async Task GetIfExists_HeatMapGETWithNullValues() } } - // HeatMap-GET-With-TopLeft-BotRight - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_HeatMapGETWithTopLeftBotRight() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/HeatMap-GET-With-TopLeft-BotRight.json @@ -277,9 +271,8 @@ public async Task Get_HeatMapGETWithTopLeftBotRight() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HeatMap-GET-With-TopLeft-BotRight - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_HeatMapGETWithTopLeftBotRight() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/HeatMap-GET-With-TopLeft-BotRight.json @@ -316,9 +309,8 @@ public async Task Exists_HeatMapGETWithTopLeftBotRight() Console.WriteLine($"Succeeded: {result}"); } - // HeatMap-GET-With-TopLeft-BotRight - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_HeatMapGETWithTopLeftBotRight() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/HeatMap-GET-With-TopLeft-BotRight.json @@ -355,7 +347,7 @@ public async Task GetIfExists_HeatMapGETWithTopLeftBotRight() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerHeatMapResource.cs b/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerHeatMapResource.cs index 7dfcea5f92c50..285125f3074a3 100644 --- a/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerHeatMapResource.cs +++ b/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerHeatMapResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.TrafficManager.Models; +using NUnit.Framework; namespace Azure.ResourceManager.TrafficManager.Samples { public partial class Sample_TrafficManagerHeatMapResource { - // HeatMap-GET - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_HeatMapGET() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/HeatMap-GET.json @@ -48,9 +48,8 @@ public async Task Get_HeatMapGET() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HeatMap-GET-With-Null-Values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_HeatMapGETWithNullValues() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/HeatMap-GET-With-Null-Values.json @@ -80,9 +79,8 @@ public async Task Get_HeatMapGETWithNullValues() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HeatMap-GET-With-TopLeft-BotRight - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_HeatMapGETWithTopLeftBotRight() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/HeatMap-GET-With-TopLeft-BotRight.json diff --git a/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerProfileCollection.cs b/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerProfileCollection.cs index 9b07222de0685..b981eb98959a2 100644 --- a/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerProfileCollection.cs +++ b/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerProfileCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.TrafficManager.Models; +using NUnit.Framework; namespace Azure.ResourceManager.TrafficManager.Samples { public partial class Sample_TrafficManagerProfileCollection { - // ListProfilesByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListProfilesByResourceGroup() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Profile-GET-ByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListProfilesByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Profile-GET-WithEndpoints - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProfileGETWithEndpoints() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Profile-GET-WithEndpoints.json @@ -86,9 +85,8 @@ public async Task Get_ProfileGETWithEndpoints() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Profile-GET-WithEndpoints - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ProfileGETWithEndpoints() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Profile-GET-WithEndpoints.json @@ -116,9 +114,8 @@ public async Task Exists_ProfileGETWithEndpoints() Console.WriteLine($"Succeeded: {result}"); } - // Profile-GET-WithEndpoints - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ProfileGETWithEndpoints() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Profile-GET-WithEndpoints.json @@ -146,7 +143,7 @@ public async Task GetIfExists_ProfileGETWithEndpoints() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_ProfileGETWithEndpoints() } } - // Profile-GET-WithTrafficViewDisabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProfileGETWithTrafficViewDisabled() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Profile-GET-WithTrafficViewDisabled.json @@ -192,9 +188,8 @@ public async Task Get_ProfileGETWithTrafficViewDisabled() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Profile-GET-WithTrafficViewDisabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ProfileGETWithTrafficViewDisabled() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Profile-GET-WithTrafficViewDisabled.json @@ -222,9 +217,8 @@ public async Task Exists_ProfileGETWithTrafficViewDisabled() Console.WriteLine($"Succeeded: {result}"); } - // Profile-GET-WithTrafficViewDisabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ProfileGETWithTrafficViewDisabled() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Profile-GET-WithTrafficViewDisabled.json @@ -252,7 +246,7 @@ public async Task GetIfExists_ProfileGETWithTrafficViewDisabled() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -264,9 +258,8 @@ public async Task GetIfExists_ProfileGETWithTrafficViewDisabled() } } - // Profile-GET-WithTrafficViewEnabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProfileGETWithTrafficViewEnabled() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Profile-GET-WithTrafficViewEnabled.json @@ -298,9 +291,8 @@ public async Task Get_ProfileGETWithTrafficViewEnabled() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Profile-GET-WithTrafficViewEnabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ProfileGETWithTrafficViewEnabled() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Profile-GET-WithTrafficViewEnabled.json @@ -328,9 +320,8 @@ public async Task Exists_ProfileGETWithTrafficViewEnabled() Console.WriteLine($"Succeeded: {result}"); } - // Profile-GET-WithTrafficViewEnabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ProfileGETWithTrafficViewEnabled() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Profile-GET-WithTrafficViewEnabled.json @@ -358,7 +349,7 @@ public async Task GetIfExists_ProfileGETWithTrafficViewEnabled() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -370,9 +361,8 @@ public async Task GetIfExists_ProfileGETWithTrafficViewEnabled() } } - // Profile-PUT-MultiValue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ProfilePUTMultiValue() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Profile-PUT-MultiValue.json @@ -424,9 +414,8 @@ public async Task CreateOrUpdate_ProfilePUTMultiValue() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Profile-PUT-NoEndpoints - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ProfilePUTNoEndpoints() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Profile-PUT-NoEndpoints.json @@ -476,9 +465,8 @@ public async Task CreateOrUpdate_ProfilePUTNoEndpoints() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Profile-PUT-WithAliasing - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ProfilePUTWithAliasing() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Profile-PUT-WithAliasing.json @@ -546,9 +534,8 @@ public async Task CreateOrUpdate_ProfilePUTWithAliasing() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Profile-PUT-WithCustomHeaders - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ProfilePUTWithCustomHeaders() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Profile-PUT-WithCustomHeaders.json @@ -645,9 +632,8 @@ public async Task CreateOrUpdate_ProfilePUTWithCustomHeaders() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Profile-PUT-WithEndpoints - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ProfilePUTWithEndpoints() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Profile-PUT-WithEndpoints.json @@ -711,9 +697,8 @@ public async Task CreateOrUpdate_ProfilePUTWithEndpoints() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Profile-PUT-WithNestedEndpoints - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ProfilePUTWithNestedEndpoints() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Profile-PUT-WithNestedEndpoints.json diff --git a/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerProfileResource.cs b/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerProfileResource.cs index 6b9f5a6b73087..f650afaa206d3 100644 --- a/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerProfileResource.cs +++ b/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerProfileResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.TrafficManager.Models; +using NUnit.Framework; namespace Azure.ResourceManager.TrafficManager.Samples { public partial class Sample_TrafficManagerProfileResource { - // NameAvailabilityTest_NameAvailablePOST21 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckTrafficManagerRelativeDnsNameAvailability_NameAvailabilityTestNameAvailablePOST21() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json @@ -44,9 +44,8 @@ public async Task CheckTrafficManagerRelativeDnsNameAvailability_NameAvailabilit Console.WriteLine($"Succeeded: {result}"); } - // NameAvailabilityTest_NameNotAvailablePOST23 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckTrafficManagerRelativeDnsNameAvailability_NameAvailabilityTestNameNotAvailablePOST23() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json @@ -72,9 +71,8 @@ public async Task CheckTrafficManagerRelativeDnsNameAvailability_NameAvailabilit Console.WriteLine($"Succeeded: {result}"); } - // NameAvailabilityV2Test_NameAvailablePOST21 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckTrafficManagerNameAvailabilityV2_NameAvailabilityV2TestNameAvailablePOST21() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/NameAvailabilityV2Test_NameAvailable-POST-example-21.json @@ -102,9 +100,8 @@ public async Task CheckTrafficManagerNameAvailabilityV2_NameAvailabilityV2TestNa Console.WriteLine($"Succeeded: {result}"); } - // NameAvailabilityV2Test_NameNotAvailablePOST23 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckTrafficManagerNameAvailabilityV2_NameAvailabilityV2TestNameNotAvailablePOST23() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/NameAvailabilityV2Test_NameNotAvailable-POST-example-23.json @@ -132,9 +129,8 @@ public async Task CheckTrafficManagerNameAvailabilityV2_NameAvailabilityV2TestNa Console.WriteLine($"Succeeded: {result}"); } - // ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTrafficManagerProfiles_ListBySubscription() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Profile-GET-BySubscription.json @@ -161,12 +157,11 @@ public async Task GetTrafficManagerProfiles_ListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Profile-GET-WithEndpoints - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProfileGETWithEndpoints() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Profile-GET-WithEndpoints.json @@ -195,9 +190,8 @@ public async Task Get_ProfileGETWithEndpoints() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Profile-GET-WithTrafficViewDisabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProfileGETWithTrafficViewDisabled() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Profile-GET-WithTrafficViewDisabled.json @@ -226,9 +220,8 @@ public async Task Get_ProfileGETWithTrafficViewDisabled() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Profile-GET-WithTrafficViewEnabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProfileGETWithTrafficViewEnabled() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Profile-GET-WithTrafficViewEnabled.json @@ -257,9 +250,8 @@ public async Task Get_ProfileGETWithTrafficViewEnabled() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Profile-DELETE - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ProfileDELETE() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Profile-DELETE.json @@ -281,12 +273,11 @@ public async Task Delete_ProfileDELETE() // invoke the operation await trafficManagerProfile.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Profile-PATCH-MonitorConfig - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ProfilePATCHMonitorConfig() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/Profile-PATCH-MonitorConfig.json diff --git a/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerUserMetricsResource.cs b/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerUserMetricsResource.cs index 0454eb53cd89b..0b160839101a0 100644 --- a/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerUserMetricsResource.cs +++ b/sdk/trafficmanager/Azure.ResourceManager.TrafficManager/samples/Generated/Samples/Sample_TrafficManagerUserMetricsResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.TrafficManager.Samples { public partial class Sample_TrafficManagerUserMetricsResource { - // TrafficManagerUserMetricsKeys-GET - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TrafficManagerUserMetricsKeysGET() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/TrafficManagerUserMetricsKeys-GET.json @@ -43,9 +43,8 @@ public async Task Get_TrafficManagerUserMetricsKeysGET() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TrafficManagerUserMetricsKeys-PUT - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TrafficManagerUserMetricsKeysPUT() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/TrafficManagerUserMetricsKeys-PUT.json @@ -73,9 +72,8 @@ public async Task CreateOrUpdate_TrafficManagerUserMetricsKeysPUT() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TrafficManagerUserMetricsKeys-DELETE - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_TrafficManagerUserMetricsKeysDELETE() { // Generated from example definition: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2022-04-01/examples/TrafficManagerUserMetricsKeys-DELETE.json @@ -95,7 +93,7 @@ public async Task Delete_TrafficManagerUserMetricsKeysDELETE() // invoke the operation await trafficManagerUserMetrics.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/samples/Generated/Samples/Sample_TrustedSigningAccountCollection.cs b/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/samples/Generated/Samples/Sample_TrustedSigningAccountCollection.cs index 5f50e049a6164..f8dcabd0d3067 100644 --- a/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/samples/Generated/Samples/Sample_TrustedSigningAccountCollection.cs +++ b/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/samples/Generated/Samples/Sample_TrustedSigningAccountCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.TrustedSigning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.TrustedSigning.Samples { public partial class Sample_TrustedSigningAccountCollection { - // Lists trusted signing accounts within a resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsTrustedSigningAccountsWithinAResourceGroup() { // Generated from example definition: specification/codesigning/resource-manager/Microsoft.CodeSigning/preview/2024-02-05-preview/examples/CodeSigningAccounts_ListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListsTrustedSigningAccountsWithinAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a Trusted Signing Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetATrustedSigningAccount() { // Generated from example definition: specification/codesigning/resource-manager/Microsoft.CodeSigning/preview/2024-02-05-preview/examples/CodeSigningAccounts_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetATrustedSigningAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Trusted Signing Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetATrustedSigningAccount() { // Generated from example definition: specification/codesigning/resource-manager/Microsoft.CodeSigning/preview/2024-02-05-preview/examples/CodeSigningAccounts_Get.json @@ -116,9 +114,8 @@ public async Task Exists_GetATrustedSigningAccount() Console.WriteLine($"Succeeded: {result}"); } - // Get a Trusted Signing Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetATrustedSigningAccount() { // Generated from example definition: specification/codesigning/resource-manager/Microsoft.CodeSigning/preview/2024-02-05-preview/examples/CodeSigningAccounts_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetATrustedSigningAccount() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetATrustedSigningAccount() } } - // Create a trusted Signing Account. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateATrustedSigningAccount() { // Generated from example definition: specification/codesigning/resource-manager/Microsoft.CodeSigning/preview/2024-02-05-preview/examples/CodeSigningAccounts_Create.json diff --git a/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/samples/Generated/Samples/Sample_TrustedSigningAccountResource.cs b/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/samples/Generated/Samples/Sample_TrustedSigningAccountResource.cs index bf7b824bc2019..12c9679d4fee9 100644 --- a/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/samples/Generated/Samples/Sample_TrustedSigningAccountResource.cs +++ b/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/samples/Generated/Samples/Sample_TrustedSigningAccountResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.TrustedSigning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.TrustedSigning.Samples { public partial class Sample_TrustedSigningAccountResource { - // Checks that the trusted signing account name is available. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckTrustedSigningAccountNameAvailability_ChecksThatTheTrustedSigningAccountNameIsAvailable() { // Generated from example definition: specification/codesigning/resource-manager/Microsoft.CodeSigning/preview/2024-02-05-preview/examples/CodeSigningAccounts_CheckNameAvailability.json @@ -42,9 +42,8 @@ public async Task CheckTrustedSigningAccountNameAvailability_ChecksThatTheTruste Console.WriteLine($"Succeeded: {result}"); } - // Lists trusted signing accounts within a subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTrustedSigningAccounts_ListsTrustedSigningAccountsWithinASubscription() { // Generated from example definition: specification/codesigning/resource-manager/Microsoft.CodeSigning/preview/2024-02-05-preview/examples/CodeSigningAccounts_ListBySubscription.json @@ -71,12 +70,11 @@ public async Task GetTrustedSigningAccounts_ListsTrustedSigningAccountsWithinASu Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a Trusted Signing Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetATrustedSigningAccount() { // Generated from example definition: specification/codesigning/resource-manager/Microsoft.CodeSigning/preview/2024-02-05-preview/examples/CodeSigningAccounts_Get.json @@ -105,9 +103,8 @@ public async Task Get_GetATrustedSigningAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a trusted signing account. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateATrustedSigningAccount() { // Generated from example definition: specification/codesigning/resource-manager/Microsoft.CodeSigning/preview/2024-02-05-preview/examples/CodeSigningAccounts_Update.json @@ -144,9 +141,8 @@ public async Task Update_UpdateATrustedSigningAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a trusted signing account. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteATrustedSigningAccount() { // Generated from example definition: specification/codesigning/resource-manager/Microsoft.CodeSigning/preview/2024-02-05-preview/examples/CodeSigningAccounts_Delete.json @@ -168,7 +164,7 @@ public async Task Delete_DeleteATrustedSigningAccount() // invoke the operation await trustedSigningAccount.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/samples/Generated/Samples/Sample_TrustedSigningCertificateProfileCollection.cs b/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/samples/Generated/Samples/Sample_TrustedSigningCertificateProfileCollection.cs index dd66b702f9aed..df694ce902be2 100644 --- a/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/samples/Generated/Samples/Sample_TrustedSigningCertificateProfileCollection.cs +++ b/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/samples/Generated/Samples/Sample_TrustedSigningCertificateProfileCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.TrustedSigning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.TrustedSigning.Samples { public partial class Sample_TrustedSigningCertificateProfileCollection { - // List certificate profiles under a trusted signing account. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCertificateProfilesUnderATrustedSigningAccount() { // Generated from example definition: specification/codesigning/resource-manager/Microsoft.CodeSigning/preview/2024-02-05-preview/examples/CertificateProfiles_ListByCodeSigningAccount.json @@ -49,12 +49,11 @@ public async Task GetAll_ListCertificateProfilesUnderATrustedSigningAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get details of a certificate profile. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfACertificateProfile() { // Generated from example definition: specification/codesigning/resource-manager/Microsoft.CodeSigning/preview/2024-02-05-preview/examples/CertificateProfiles_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetDetailsOfACertificateProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get details of a certificate profile. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDetailsOfACertificateProfile() { // Generated from example definition: specification/codesigning/resource-manager/Microsoft.CodeSigning/preview/2024-02-05-preview/examples/CertificateProfiles_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetDetailsOfACertificateProfile() Console.WriteLine($"Succeeded: {result}"); } - // Get details of a certificate profile. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDetailsOfACertificateProfile() { // Generated from example definition: specification/codesigning/resource-manager/Microsoft.CodeSigning/preview/2024-02-05-preview/examples/CertificateProfiles_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetDetailsOfACertificateProfile() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetDetailsOfACertificateProfile() } } - // Create a certificate profile. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateACertificateProfile() { // Generated from example definition: specification/codesigning/resource-manager/Microsoft.CodeSigning/preview/2024-02-05-preview/examples/CertificateProfiles_Create.json diff --git a/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/samples/Generated/Samples/Sample_TrustedSigningCertificateProfileResource.cs b/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/samples/Generated/Samples/Sample_TrustedSigningCertificateProfileResource.cs index e0d74d1f52d4d..792f9ed374e8f 100644 --- a/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/samples/Generated/Samples/Sample_TrustedSigningCertificateProfileResource.cs +++ b/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/samples/Generated/Samples/Sample_TrustedSigningCertificateProfileResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.TrustedSigning.Models; +using NUnit.Framework; namespace Azure.ResourceManager.TrustedSigning.Samples { public partial class Sample_TrustedSigningCertificateProfileResource { - // Get details of a certificate profile. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfACertificateProfile() { // Generated from example definition: specification/codesigning/resource-manager/Microsoft.CodeSigning/preview/2024-02-05-preview/examples/CertificateProfiles_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetDetailsOfACertificateProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a certificate profile. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateACertificateProfile() { // Generated from example definition: specification/codesigning/resource-manager/Microsoft.CodeSigning/preview/2024-02-05-preview/examples/CertificateProfiles_Create.json @@ -87,9 +86,8 @@ public async Task Update_CreateACertificateProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a certificate profile. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteACertificateProfile() { // Generated from example definition: specification/codesigning/resource-manager/Microsoft.CodeSigning/preview/2024-02-05-preview/examples/CertificateProfiles_Delete.json @@ -112,12 +110,11 @@ public async Task Delete_DeleteACertificateProfile() // invoke the operation await trustedSigningCertificateProfile.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Revoke a certificate under a certificate profile. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RevokeCertificate_RevokeACertificateUnderACertificateProfile() { // Generated from example definition: specification/codesigning/resource-manager/Microsoft.CodeSigning/preview/2024-02-05-preview/examples/CertificateProfiles_RevokeCertificate.json @@ -144,7 +141,7 @@ public async Task RevokeCertificate_RevokeACertificateUnderACertificateProfile() }; await trustedSigningCertificateProfile.RevokeCertificateAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/voiceservices/Azure.ResourceManager.VoiceServices/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/voiceservices/Azure.ResourceManager.VoiceServices/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 99e9ff01bc4b4..c94e2f9c56443 100644 --- a/sdk/voiceservices/Azure.ResourceManager.VoiceServices/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/voiceservices/Azure.ResourceManager.VoiceServices/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.VoiceServices.Models; +using NUnit.Framework; namespace Azure.ResourceManager.VoiceServices.Samples { public partial class Sample_SubscriptionResourceExtensions { - // CheckLocalNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckVoiceServicesNameAvailability_CheckLocalNameAvailability() { // Generated from example definition: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/NameAvailability_CheckLocal.json diff --git a/sdk/voiceservices/Azure.ResourceManager.VoiceServices/samples/Generated/Samples/Sample_VoiceServicesCommunicationsGatewayCollection.cs b/sdk/voiceservices/Azure.ResourceManager.VoiceServices/samples/Generated/Samples/Sample_VoiceServicesCommunicationsGatewayCollection.cs index a676b78a3e7f6..fa0d7d215fcf2 100644 --- a/sdk/voiceservices/Azure.ResourceManager.VoiceServices/samples/Generated/Samples/Sample_VoiceServicesCommunicationsGatewayCollection.cs +++ b/sdk/voiceservices/Azure.ResourceManager.VoiceServices/samples/Generated/Samples/Sample_VoiceServicesCommunicationsGatewayCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.VoiceServices.Models; +using NUnit.Framework; namespace Azure.ResourceManager.VoiceServices.Samples { public partial class Sample_VoiceServicesCommunicationsGatewayCollection { - // ListCommunicationsGatewayResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCommunicationsGatewayResource() { // Generated from example definition: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/CommunicationsGateways_ListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListCommunicationsGatewayResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetCommunicationsGatewayResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCommunicationsGatewayResource() { // Generated from example definition: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/CommunicationsGateways_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetCommunicationsGatewayResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetCommunicationsGatewayResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCommunicationsGatewayResource() { // Generated from example definition: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/CommunicationsGateways_Get.json @@ -116,9 +114,8 @@ public async Task Exists_GetCommunicationsGatewayResource() Console.WriteLine($"Succeeded: {result}"); } - // GetCommunicationsGatewayResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCommunicationsGatewayResource() { // Generated from example definition: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/CommunicationsGateways_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetCommunicationsGatewayResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetCommunicationsGatewayResource() } } - // CreateCommunicationsGatewayResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateCommunicationsGatewayResource() { // Generated from example definition: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/CommunicationsGateways_CreateOrUpdate.json diff --git a/sdk/voiceservices/Azure.ResourceManager.VoiceServices/samples/Generated/Samples/Sample_VoiceServicesCommunicationsGatewayResource.cs b/sdk/voiceservices/Azure.ResourceManager.VoiceServices/samples/Generated/Samples/Sample_VoiceServicesCommunicationsGatewayResource.cs index a7c24b6a328f1..dd34ce6d1799a 100644 --- a/sdk/voiceservices/Azure.ResourceManager.VoiceServices/samples/Generated/Samples/Sample_VoiceServicesCommunicationsGatewayResource.cs +++ b/sdk/voiceservices/Azure.ResourceManager.VoiceServices/samples/Generated/Samples/Sample_VoiceServicesCommunicationsGatewayResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.VoiceServices.Models; +using NUnit.Framework; namespace Azure.ResourceManager.VoiceServices.Samples { public partial class Sample_VoiceServicesCommunicationsGatewayResource { - // ListCommunicationsGatewayResourceSub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVoiceServicesCommunicationsGateways_ListCommunicationsGatewayResourceSub() { // Generated from example definition: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/CommunicationsGateways_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetVoiceServicesCommunicationsGateways_ListCommunicationsGatew Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetCommunicationsGatewayResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCommunicationsGatewayResource() { // Generated from example definition: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/CommunicationsGateways_Get.json @@ -79,9 +78,8 @@ public async Task Get_GetCommunicationsGatewayResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteCommunicationsGatewayResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteCommunicationsGatewayResource() { // Generated from example definition: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/CommunicationsGateways_Delete.json @@ -103,12 +101,11 @@ public async Task Delete_DeleteCommunicationsGatewayResource() // invoke the operation await voiceServicesCommunicationsGateway.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // UpdateCommunicationsGatewayResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateCommunicationsGatewayResource() { // Generated from example definition: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/CommunicationsGateways_Update.json diff --git a/sdk/voiceservices/Azure.ResourceManager.VoiceServices/samples/Generated/Samples/Sample_VoiceServicesTestLineCollection.cs b/sdk/voiceservices/Azure.ResourceManager.VoiceServices/samples/Generated/Samples/Sample_VoiceServicesTestLineCollection.cs index f2291b763117f..d34172d27b703 100644 --- a/sdk/voiceservices/Azure.ResourceManager.VoiceServices/samples/Generated/Samples/Sample_VoiceServicesTestLineCollection.cs +++ b/sdk/voiceservices/Azure.ResourceManager.VoiceServices/samples/Generated/Samples/Sample_VoiceServicesTestLineCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.VoiceServices.Models; +using NUnit.Framework; namespace Azure.ResourceManager.VoiceServices.Samples { public partial class Sample_VoiceServicesTestLineCollection { - // ListTestLineResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTestLineResource() { // Generated from example definition: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/TestLines_ListByCommunicationsGateway.json @@ -49,12 +49,11 @@ public async Task GetAll_ListTestLineResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetTestLineResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTestLineResource() { // Generated from example definition: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/TestLines_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetTestLineResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetTestLineResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTestLineResource() { // Generated from example definition: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/TestLines_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetTestLineResource() Console.WriteLine($"Succeeded: {result}"); } - // GetTestLineResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTestLineResource() { // Generated from example definition: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/TestLines_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetTestLineResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetTestLineResource() } } - // CreateTestLineResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateTestLineResource() { // Generated from example definition: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/TestLines_CreateOrUpdate.json diff --git a/sdk/voiceservices/Azure.ResourceManager.VoiceServices/samples/Generated/Samples/Sample_VoiceServicesTestLineResource.cs b/sdk/voiceservices/Azure.ResourceManager.VoiceServices/samples/Generated/Samples/Sample_VoiceServicesTestLineResource.cs index 6b8965db8edc1..26676f099f082 100644 --- a/sdk/voiceservices/Azure.ResourceManager.VoiceServices/samples/Generated/Samples/Sample_VoiceServicesTestLineResource.cs +++ b/sdk/voiceservices/Azure.ResourceManager.VoiceServices/samples/Generated/Samples/Sample_VoiceServicesTestLineResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.VoiceServices.Models; +using NUnit.Framework; namespace Azure.ResourceManager.VoiceServices.Samples { public partial class Sample_VoiceServicesTestLineResource { - // GetTestLineResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTestLineResource() { // Generated from example definition: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/TestLines_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetTestLineResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteTestLineResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteTestLineResource() { // Generated from example definition: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/TestLines_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_DeleteTestLineResource() // invoke the operation await voiceServicesTestLine.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // UpdateTestLineResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateTestLineResource() { // Generated from example definition: specification/voiceservices/resource-manager/Microsoft.VoiceServices/stable/2023-01-31/examples/TestLines_Update.json diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index d958f1b39ad32..6a6b3043f2fcc 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.WebPubSub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.WebPubSub.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Usages_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsages_UsagesList() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/Usages_List.json @@ -42,7 +42,7 @@ public async Task GetUsages_UsagesList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubCollection.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubCollection.cs index d915d3e064cd9..ab2af150eb21a 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubCollection.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.WebPubSub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.WebPubSub.Samples { public partial class Sample_WebPubSubCollection { - // WebPubSub_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WebPubSubListByResourceGroup() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSub_ListByResourceGroup.json @@ -50,12 +50,11 @@ public async Task GetAll_WebPubSubListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WebPubSub_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WebPubSubGet() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSub_Get.json @@ -87,9 +86,8 @@ public async Task Get_WebPubSubGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WebPubSub_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WebPubSubGet() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSub_Get.json @@ -117,9 +115,8 @@ public async Task Exists_WebPubSubGet() Console.WriteLine($"Succeeded: {result}"); } - // WebPubSub_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WebPubSubGet() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSub_Get.json @@ -147,7 +144,7 @@ public async Task GetIfExists_WebPubSubGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_WebPubSubGet() } } - // WebPubSub_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_WebPubSubCreateOrUpdate() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSub_CreateOrUpdate.json diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubHubCollection.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubHubCollection.cs index 05ae1ee2a625f..be720b7e366b0 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubHubCollection.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubHubCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.WebPubSub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.WebPubSub.Samples { public partial class Sample_WebPubSubHubCollection { - // WebPubSubHubs_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WebPubSubHubsList() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSubHubs_List.json @@ -49,12 +49,11 @@ public async Task GetAll_WebPubSubHubsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WebPubSubHubs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WebPubSubHubsGet() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSubHubs_Get.json @@ -87,9 +86,8 @@ public async Task Get_WebPubSubHubsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WebPubSubHubs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WebPubSubHubsGet() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSubHubs_Get.json @@ -118,9 +116,8 @@ public async Task Exists_WebPubSubHubsGet() Console.WriteLine($"Succeeded: {result}"); } - // WebPubSubHubs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WebPubSubHubsGet() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSubHubs_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_WebPubSubHubsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_WebPubSubHubsGet() } } - // WebPubSubHubs_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_WebPubSubHubsCreateOrUpdate() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSubHubs_CreateOrUpdate.json diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubHubResource.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubHubResource.cs index c7f9fd4388f61..5c65687627a70 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubHubResource.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubHubResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.WebPubSub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.WebPubSub.Samples { public partial class Sample_WebPubSubHubResource { - // WebPubSubHubs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WebPubSubHubsGet() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSubHubs_Get.json @@ -47,9 +47,8 @@ public async Task Get_WebPubSubHubsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WebPubSubHubs_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_WebPubSubHubsCreateOrUpdate() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSubHubs_CreateOrUpdate.json @@ -99,9 +98,8 @@ public async Task Update_WebPubSubHubsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WebPubSubHubs_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_WebPubSubHubsDelete() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSubHubs_Delete.json @@ -124,7 +122,7 @@ public async Task Delete_WebPubSubHubsDelete() // invoke the operation await webPubSubHub.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubPrivateEndpointConnectionCollection.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubPrivateEndpointConnectionCollection.cs index 7f9c5a12a017b..4eb53b593444c 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubPrivateEndpointConnectionCollection.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.WebPubSub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.WebPubSub.Samples { public partial class Sample_WebPubSubPrivateEndpointConnectionCollection { - // WebPubSubPrivateEndpointConnections_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WebPubSubPrivateEndpointConnectionsList() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSubPrivateEndpointConnections_List.json @@ -49,12 +49,11 @@ public async Task GetAll_WebPubSubPrivateEndpointConnectionsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WebPubSubPrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WebPubSubPrivateEndpointConnectionsGet() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSubPrivateEndpointConnections_Get.json @@ -87,9 +86,8 @@ public async Task Get_WebPubSubPrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WebPubSubPrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WebPubSubPrivateEndpointConnectionsGet() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSubPrivateEndpointConnections_Get.json @@ -118,9 +116,8 @@ public async Task Exists_WebPubSubPrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded: {result}"); } - // WebPubSubPrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WebPubSubPrivateEndpointConnectionsGet() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSubPrivateEndpointConnections_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_WebPubSubPrivateEndpointConnectionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_WebPubSubPrivateEndpointConnectionsGet() } } - // WebPubSubPrivateEndpointConnections_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_WebPubSubPrivateEndpointConnectionsUpdate() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSubPrivateEndpointConnections_Update.json diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubPrivateEndpointConnectionResource.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubPrivateEndpointConnectionResource.cs index 9003cee252b24..8682579191a69 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubPrivateEndpointConnectionResource.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.WebPubSub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.WebPubSub.Samples { public partial class Sample_WebPubSubPrivateEndpointConnectionResource { - // WebPubSubPrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WebPubSubPrivateEndpointConnectionsGet() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSubPrivateEndpointConnections_Get.json @@ -47,9 +47,8 @@ public async Task Get_WebPubSubPrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WebPubSubPrivateEndpointConnections_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_WebPubSubPrivateEndpointConnectionsUpdate() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSubPrivateEndpointConnections_Update.json @@ -89,9 +88,8 @@ public async Task Update_WebPubSubPrivateEndpointConnectionsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WebPubSubPrivateEndpointConnections_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_WebPubSubPrivateEndpointConnectionsDelete() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSubPrivateEndpointConnections_Delete.json @@ -114,7 +112,7 @@ public async Task Delete_WebPubSubPrivateEndpointConnectionsDelete() // invoke the operation await webPubSubPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubResource.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubResource.cs index 103c4497b6ec6..081c4bb20475e 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubResource.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.WebPubSub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.WebPubSub.Samples { public partial class Sample_WebPubSubResource { - // WebPubSub_CheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckWebPubSubNameAvailability_WebPubSubCheckNameAvailability() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSub_CheckNameAvailability.json @@ -44,9 +44,8 @@ public async Task CheckWebPubSubNameAvailability_WebPubSubCheckNameAvailability( Console.WriteLine($"Succeeded: {result}"); } - // WebPubSub_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetWebPubSubs_WebPubSubListBySubscription() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSub_ListBySubscription.json @@ -73,12 +72,11 @@ public async Task GetWebPubSubs_WebPubSubListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WebPubSub_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WebPubSubGet() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSub_Get.json @@ -107,9 +105,8 @@ public async Task Get_WebPubSubGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WebPubSub_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_WebPubSubDelete() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSub_Delete.json @@ -131,12 +128,11 @@ public async Task Delete_WebPubSubDelete() // invoke the operation await webPubSub.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WebPubSub_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_WebPubSubUpdate() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSub_Update.json @@ -214,9 +210,8 @@ public async Task Update_WebPubSubUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WebPubSub_ListKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_WebPubSubListKeys() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSub_ListKeys.json @@ -241,9 +236,8 @@ public async Task GetKeys_WebPubSubListKeys() Console.WriteLine($"Succeeded: {result}"); } - // WebPubSub_RegenerateKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKey_WebPubSubRegenerateKey() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSub_RegenerateKey.json @@ -273,9 +267,8 @@ public async Task RegenerateKey_WebPubSubRegenerateKey() Console.WriteLine($"Succeeded: {result}"); } - // WebPubSub_Restart - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_WebPubSubRestart() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSub_Restart.json @@ -297,12 +290,11 @@ public async Task Restart_WebPubSubRestart() // invoke the operation await webPubSub.RestartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WebPubSub_ListSkus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSkus_WebPubSubListSkus() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSub_ListSkus.json @@ -327,12 +319,11 @@ public async Task GetSkus_WebPubSubListSkus() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WebPubSubPrivateLinkResources_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetWebPubSubPrivateLinkResources_WebPubSubPrivateLinkResourcesList() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSubPrivateLinkResources_List.json @@ -357,7 +348,7 @@ public async Task GetWebPubSubPrivateLinkResources_WebPubSubPrivateLinkResources Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubSharedPrivateLinkCollection.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubSharedPrivateLinkCollection.cs index c4be591eac5ce..836c6b306a108 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubSharedPrivateLinkCollection.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubSharedPrivateLinkCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.WebPubSub.Samples { public partial class Sample_WebPubSubSharedPrivateLinkCollection { - // WebPubSubSharedPrivateLinkResources_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WebPubSubSharedPrivateLinkResourcesList() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSubSharedPrivateLinkResources_List.json @@ -48,12 +48,11 @@ public async Task GetAll_WebPubSubSharedPrivateLinkResourcesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WebPubSubSharedPrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WebPubSubSharedPrivateLinkResourcesGet() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSubSharedPrivateLinkResources_Get.json @@ -86,9 +85,8 @@ public async Task Get_WebPubSubSharedPrivateLinkResourcesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WebPubSubSharedPrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WebPubSubSharedPrivateLinkResourcesGet() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSubSharedPrivateLinkResources_Get.json @@ -117,9 +115,8 @@ public async Task Exists_WebPubSubSharedPrivateLinkResourcesGet() Console.WriteLine($"Succeeded: {result}"); } - // WebPubSubSharedPrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WebPubSubSharedPrivateLinkResourcesGet() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSubSharedPrivateLinkResources_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_WebPubSubSharedPrivateLinkResourcesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_WebPubSubSharedPrivateLinkResourcesGet() } } - // WebPubSubSharedPrivateLinkResources_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_WebPubSubSharedPrivateLinkResourcesCreateOrUpdate() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSubSharedPrivateLinkResources_CreateOrUpdate.json diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubSharedPrivateLinkResource.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubSharedPrivateLinkResource.cs index 43b76072975cb..3330d31011f22 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubSharedPrivateLinkResource.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/samples/Generated/Samples/Sample_WebPubSubSharedPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.WebPubSub.Samples { public partial class Sample_WebPubSubSharedPrivateLinkResource { - // WebPubSubSharedPrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WebPubSubSharedPrivateLinkResourcesGet() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSubSharedPrivateLinkResources_Get.json @@ -46,9 +46,8 @@ public async Task Get_WebPubSubSharedPrivateLinkResourcesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WebPubSubSharedPrivateLinkResources_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_WebPubSubSharedPrivateLinkResourcesCreateOrUpdate() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSubSharedPrivateLinkResources_CreateOrUpdate.json @@ -85,9 +84,8 @@ public async Task Update_WebPubSubSharedPrivateLinkResourcesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WebPubSubSharedPrivateLinkResources_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_WebPubSubSharedPrivateLinkResourcesDelete() { // Generated from example definition: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2021-10-01/examples/WebPubSubSharedPrivateLinkResources_Delete.json @@ -110,7 +108,7 @@ public async Task Delete_WebPubSubSharedPrivateLinkResourcesDelete() // invoke the operation await webPubSubSharedPrivateLink.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppCertificateCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppCertificateCollection.cs index f34738037776c..d4498340e1bcb 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppCertificateCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppCertificateCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_AppCertificateCollection { - // List Certificates by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCertificatesByResourceGroup() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListCertificatesByResourceGroup.json @@ -48,12 +48,11 @@ public async Task GetAll_ListCertificatesByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCertificate() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetCertificate.json @@ -85,9 +84,8 @@ public async Task Get_GetCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCertificate() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetCertificate.json @@ -115,9 +113,8 @@ public async Task Exists_GetCertificate() Console.WriteLine($"Succeeded: {result}"); } - // Get Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCertificate() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetCertificate.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetCertificate() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -157,9 +154,8 @@ public async Task GetIfExists_GetCertificate() } } - // Create Or Update Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateCertificate() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateCertificate.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppCertificateResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppCertificateResource.cs index 303daaeeb802d..7df7ef5974e4c 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppCertificateResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppCertificateResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppService.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_AppCertificateResource { - // List Certificates for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAppCertificates_ListCertificatesForSubscription() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListCertificates.json @@ -45,12 +45,11 @@ public async Task GetAppCertificates_ListCertificatesForSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCertificate() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetCertificate.json @@ -79,9 +78,8 @@ public async Task Get_GetCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteCertificate() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteCertificate.json @@ -103,12 +101,11 @@ public async Task Delete_DeleteCertificate() // invoke the operation await appCertificate.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Patch Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchCertificate() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/PatchCertificate.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceCertificateCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceCertificateCollection.cs index 09600eaf308c4..73d3508c36a91 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceCertificateCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceCertificateCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_AppServiceCertificateCollection { - // List certificates by App Service Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCertificatesByAppServiceCertificate() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/ListCertificatesByAppServiceCertificateOrder.json @@ -48,12 +48,11 @@ public async Task GetAll_ListCertificatesByAppServiceCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get App Service Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppServiceCertificate() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/GetAppServiceCertificate.json @@ -86,9 +85,8 @@ public async Task Get_GetAppServiceCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Service Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAppServiceCertificate() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/GetAppServiceCertificate.json @@ -117,9 +115,8 @@ public async Task Exists_GetAppServiceCertificate() Console.WriteLine($"Succeeded: {result}"); } - // Get App Service Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAppServiceCertificate() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/GetAppServiceCertificate.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetAppServiceCertificate() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GetAppServiceCertificate() } } - // Create Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateCertificate() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/CreateAppServiceCertificate.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceCertificateOrderCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceCertificateOrderCollection.cs index cd522972e0f27..5c50fbc803da9 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceCertificateOrderCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceCertificateOrderCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppService.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_AppServiceCertificateOrderCollection { - // List App Service Certificate orders by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAppServiceCertificateOrdersByResourceGroup() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/ListAppServiceCertificateOrdersByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAppServiceCertificateOrdersByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get App Service Certificate Order - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppServiceCertificateOrder() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/GetAppServiceCertificateOrder.json @@ -86,9 +85,8 @@ public async Task Get_GetAppServiceCertificateOrder() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Service Certificate Order - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAppServiceCertificateOrder() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/GetAppServiceCertificateOrder.json @@ -116,9 +114,8 @@ public async Task Exists_GetAppServiceCertificateOrder() Console.WriteLine($"Succeeded: {result}"); } - // Get App Service Certificate Order - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAppServiceCertificateOrder() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/GetAppServiceCertificateOrder.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetAppServiceCertificateOrder() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetAppServiceCertificateOrder() } } - // Create Certificate order - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateCertificateOrder() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/CreateAppServiceCertificateOrder.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceCertificateOrderResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceCertificateOrderResource.cs index c75bbdfd42232..5842f3d32d62c 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceCertificateOrderResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceCertificateOrderResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppService.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_AppServiceCertificateOrderResource { - // List App Service Certificate orders by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAppServiceCertificateOrders_ListAppServiceCertificateOrdersBySubscription() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/ListAppServiceCertificateOrdersBySubscription.json @@ -45,12 +45,11 @@ public async Task GetAppServiceCertificateOrders_ListAppServiceCertificateOrders Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get App Service Certificate Order - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppServiceCertificateOrder() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/GetAppServiceCertificateOrder.json @@ -79,9 +78,8 @@ public async Task Get_GetAppServiceCertificateOrder() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete App Service Certificate Order - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAppServiceCertificateOrder() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/DeleteAppServiceCertificateOrder.json @@ -103,12 +101,11 @@ public async Task Delete_DeleteAppServiceCertificateOrder() // invoke the operation await appServiceCertificateOrder.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update Certificate order - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateCertificateOrder() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/UpdateAppServiceCertificateOrder.json @@ -158,9 +155,8 @@ public async Task Update_UpdateCertificateOrder() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Reissue App Service Certificate Order - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reissue_ReissueAppServiceCertificateOrder() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/ReissueAppServiceCertificateOrder.json @@ -189,12 +185,11 @@ public async Task Reissue_ReissueAppServiceCertificateOrder() }; await appServiceCertificateOrder.ReissueAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Renew App Service Certificate Order - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Renew_RenewAppServiceCertificateOrder() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/RenewAppServiceCertificateOrder.json @@ -222,12 +217,11 @@ public async Task Renew_RenewAppServiceCertificateOrder() }; await appServiceCertificateOrder.RenewAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Resend App Service Certificate Order email - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResendEmail_ResendAppServiceCertificateOrderEmail() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/ResendAppServiceCertificateOrderEmail.json @@ -249,12 +243,11 @@ public async Task ResendEmail_ResendAppServiceCertificateOrderEmail() // invoke the operation await appServiceCertificateOrder.ResendEmailAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Resend Domain Ownership verification email - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResendRequestEmails_ResendDomainOwnershipVerificationEmail() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/ResendDomainOwnershipVerificationEmail.json @@ -280,12 +273,11 @@ public async Task ResendRequestEmails_ResendDomainOwnershipVerificationEmail() }; await appServiceCertificateOrder.ResendRequestEmailsAsync(nameIdentifier); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Retrieve Site Seal - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RetrieveSiteSeal_RetrieveSiteSeal() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/RetrieveSiteSeal.json @@ -315,9 +307,8 @@ public async Task RetrieveSiteSeal_RetrieveSiteSeal() Console.WriteLine($"Succeeded: {result}"); } - // Verify Domain Ownership - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task VerifyDomainOwnership_VerifyDomainOwnership() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/VerifyDomainOwnership.json @@ -339,12 +330,11 @@ public async Task VerifyDomainOwnership_VerifyDomainOwnership() // invoke the operation await appServiceCertificateOrder.VerifyDomainOwnershipAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Retrieve Certificate Order Actions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RetrieveCertificateActions_RetrieveCertificateOrderActions() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/RetrieveCertificateOrderActions.json @@ -369,12 +359,11 @@ public async Task RetrieveCertificateActions_RetrieveCertificateOrderActions() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Retrieve Certificate Email History - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RetrieveCertificateEmailHistory_RetrieveCertificateEmailHistory() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/RetrieveCertificateEmailHistory.json @@ -399,7 +388,7 @@ public async Task RetrieveCertificateEmailHistory_RetrieveCertificateEmailHistor Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceCertificateResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceCertificateResource.cs index 8731fb76e4e26..9cdae983c8627 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceCertificateResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceCertificateResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_AppServiceCertificateResource { - // Get App Service Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppServiceCertificate() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/GetAppServiceCertificate.json @@ -47,9 +47,8 @@ public async Task Get_GetAppServiceCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete App Service Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAppServiceCertificate() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/DeleteAppServiceCertificate.json @@ -72,12 +71,11 @@ public async Task Delete_DeleteAppServiceCertificate() // invoke the operation await appServiceCertificate.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateCertificate() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/UpdateAppServiceCertificate.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceDomainCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceDomainCollection.cs index c0763248e1b70..bbff6bd71526c 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceDomainCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceDomainCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppService.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_AppServiceDomainCollection { - // List domains by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDomainsByResourceGroup() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/ListDomainsByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListDomainsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Domain - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDomain() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/GetDomain.json @@ -86,9 +85,8 @@ public async Task Get_GetDomain() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Domain - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDomain() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/GetDomain.json @@ -116,9 +114,8 @@ public async Task Exists_GetDomain() Console.WriteLine($"Succeeded: {result}"); } - // Get Domain - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDomain() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/GetDomain.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetDomain() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetDomain() } } - // Create App Service Domain - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAppServiceDomain() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/CreateAppServiceDomain.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceDomainResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceDomainResource.cs index 1aa38cb29c0f4..184b008ba4695 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceDomainResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceDomainResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppService.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_AppServiceDomainResource { - // List domains by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAppServiceDomains_ListDomainsBySubscription() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/ListDomainsBySubscription.json @@ -45,12 +45,11 @@ public async Task GetAppServiceDomains_ListDomainsBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Domain - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDomain() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/GetDomain.json @@ -79,9 +78,8 @@ public async Task Get_GetDomain() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete App Service Domain - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAppServiceDomain() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/DeleteAppServiceDomain.json @@ -104,12 +102,11 @@ public async Task Delete_DeleteAppServiceDomain() bool? forceHardDeleteDomain = true; await appServiceDomain.DeleteAsync(WaitUntil.Completed, forceHardDeleteDomain: forceHardDeleteDomain); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update App Service Domain - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAppServiceDomain() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/UpdateAppServiceDomain.json @@ -186,9 +183,8 @@ public async Task Update_UpdateAppServiceDomain() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Renew an existing domain - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Renew_RenewAnExistingDomain() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/RenewDomain.json @@ -210,12 +206,11 @@ public async Task Renew_RenewAnExistingDomain() // invoke the operation await appServiceDomain.RenewAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Transfer out domain - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TransferOut_TransferOutDomain() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/TransferOutDomain.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceEnvironmentCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceEnvironmentCollection.cs index c631dbd9c6bdf..2ca3081bad8dc 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceEnvironmentCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceEnvironmentCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppService.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_AppServiceEnvironmentCollection { - // Get all App Service Environments in a resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllAppServiceEnvironmentsInAResourceGroup() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_GetAllAppServiceEnvironmentsInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the properties of an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetThePropertiesOfAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetThePropertiesOfAnAppServiceEnvironment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the properties of an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetThePropertiesOfAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_Get.json @@ -116,9 +114,8 @@ public async Task Exists_GetThePropertiesOfAnAppServiceEnvironment() Console.WriteLine($"Succeeded: {result}"); } - // Get the properties of an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetThePropertiesOfAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetThePropertiesOfAnAppServiceEnvironment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetThePropertiesOfAnAppServiceEnvironment() } } - // Create or update an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_CreateOrUpdate.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceEnvironmentResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceEnvironmentResource.cs index 884e49036dd01..0bc307d74fb70 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceEnvironmentResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServiceEnvironmentResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppService.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_AppServiceEnvironmentResource { - // Get all App Service Environments for a subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAppServiceEnvironments_GetAllAppServiceEnvironmentsForASubscription() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_List.json @@ -45,12 +45,11 @@ public async Task GetAppServiceEnvironments_GetAllAppServiceEnvironmentsForASubs Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the properties of an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetThePropertiesOfAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_Get.json @@ -79,9 +78,8 @@ public async Task Get_GetThePropertiesOfAnAppServiceEnvironment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_Delete.json @@ -103,12 +101,11 @@ public async Task Delete_DeleteAnAppServiceEnvironment() // invoke the operation await appServiceEnvironment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create or update an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_Update.json @@ -142,9 +139,8 @@ public async Task Update_CreateOrUpdateAnAppServiceEnvironment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the used, available, and total worker capacity an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCapacities_GetTheUsedAvailableAndTotalWorkerCapacityAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListCapacities.json @@ -169,12 +165,11 @@ public async Task GetCapacities_GetTheUsedAvailableAndTotalWorkerCapacityAnAppSe Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get IP addresses assigned to an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVipInfo_GetIPAddressesAssignedToAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_GetVipInfo.json @@ -199,9 +194,8 @@ public async Task GetVipInfo_GetIPAddressesAssignedToAnAppServiceEnvironment() Console.WriteLine($"Succeeded: {result}"); } - // Get diagnostic information for an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDiagnostics_GetDiagnosticInformationForAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListDiagnostics.json @@ -226,12 +220,11 @@ public async Task GetDiagnostics_GetDiagnosticInformationForAnAppServiceEnvironm Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a diagnostics item for an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDiagnosticsItem_GetADiagnosticsItemForAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_GetDiagnosticsItem.json @@ -257,9 +250,8 @@ public async Task GetDiagnosticsItem_GetADiagnosticsItemForAnAppServiceEnvironme Console.WriteLine($"Succeeded: {result}"); } - // Get the network endpoints of all inbound dependencies of an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetInboundNetworkDependenciesEndpoints_GetTheNetworkEndpointsOfAllInboundDependenciesOfAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetInboundNetworkDependenciesEndpoints.json @@ -284,12 +276,11 @@ public async Task GetInboundNetworkDependenciesEndpoints_GetTheNetworkEndpointsO Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Send a test notification that an upgrade is available for this App Service Environment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TestUpgradeAvailableNotification_SendATestNotificationThatAnUpgradeIsAvailableForThisAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_TestUpgradeAvailableNotification.json @@ -311,12 +302,11 @@ public async Task TestUpgradeAvailableNotification_SendATestNotificationThatAnUp // invoke the operation await appServiceEnvironment.TestUpgradeAvailableNotificationAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Initiate an upgrade on an App Service Environment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Upgrade_InitiateAnUpgradeOnAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_Upgrade.json @@ -338,12 +328,11 @@ public async Task Upgrade_InitiateAnUpgradeOnAnAppServiceEnvironment() // invoke the operation await appServiceEnvironment.UpgradeAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List all currently running operations on the App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOperations_ListAllCurrentlyRunningOperationsOnTheAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListOperations.json @@ -368,12 +357,11 @@ public async Task GetOperations_ListAllCurrentlyRunningOperationsOnTheAppService Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the network endpoints of all outbound dependencies of an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOutboundNetworkDependenciesEndpoints_GetTheNetworkEndpointsOfAllOutboundDependenciesOfAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetOutboundNetworkDependenciesEndpoints.json @@ -398,12 +386,11 @@ public async Task GetOutboundNetworkDependenciesEndpoints_GetTheNetworkEndpoints Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the private link resources. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinkResources_GetsThePrivateLinkResources() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_GetPrivateLinkResources.json @@ -428,12 +415,11 @@ public async Task GetPrivateLinkResources_GetsThePrivateLinkResources() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Reboot all machines in an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reboot_RebootAllMachinesInAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_Reboot.json @@ -455,12 +441,11 @@ public async Task Reboot_RebootAllMachinesInAnAppServiceEnvironment() // invoke the operation await appServiceEnvironment.RebootAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get all App Service plans in an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAppServicePlans_GetAllAppServicePlansInAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListAppServicePlans.json @@ -489,12 +474,11 @@ public async Task GetAppServicePlans_GetAllAppServicePlansInAnAppServiceEnvironm Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get all apps in an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllWebAppData_GetAllAppsInAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListWebApps.json @@ -520,12 +504,11 @@ public async Task GetAllWebAppData_GetAllAppsInAnAppServiceEnvironment() Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get global usage metrics of an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsages_GetGlobalUsageMetricsOfAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListUsages.json @@ -550,7 +533,7 @@ public async Task GetUsages_GetGlobalUsageMetricsOfAnAppServiceEnvironment() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServicePlanCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServicePlanCollection.cs index 06f5a3eed8115..ec1c03d311ee0 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServicePlanCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServicePlanCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppService.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_AppServicePlanCollection { - // List App Service plans by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAppServicePlansByResourceGroup() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListAppServicePlansByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAppServicePlansByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get App Service plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppServicePlan() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetAppServicePlan.json @@ -86,9 +85,8 @@ public async Task Get_GetAppServicePlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Service plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAppServicePlan() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetAppServicePlan.json @@ -116,9 +114,8 @@ public async Task Exists_GetAppServicePlan() Console.WriteLine($"Succeeded: {result}"); } - // Get App Service plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAppServicePlan() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetAppServicePlan.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetAppServicePlan() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetAppServicePlan() } } - // Create Or Update App Service plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAppServicePlan() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateAppServicePlan.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServicePlanResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServicePlanResource.cs index 653713dbc8753..b19ecfb481fc5 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServicePlanResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AppServicePlanResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppService.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_AppServicePlanResource { - // List App Service plans - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAppServicePlans_ListAppServicePlans() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListAppServicePlans.json @@ -45,12 +45,11 @@ public async Task GetAppServicePlans_ListAppServicePlans() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get App Service plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppServicePlan() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetAppServicePlan.json @@ -79,9 +78,8 @@ public async Task Get_GetAppServicePlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete App Service plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAppServicePlan() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteAppServicePlan.json @@ -103,12 +101,11 @@ public async Task Delete_DeleteAppServicePlan() // invoke the operation await appServicePlan.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Patch Service plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchServicePlan() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/PatchAppServicePlan.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AseV3NetworkingConfigurationResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AseV3NetworkingConfigurationResource.cs index 08757dd3e2025..d65fca9092ea8 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AseV3NetworkingConfigurationResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_AseV3NetworkingConfigurationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_AseV3NetworkingConfigurationResource { - // Get networking configuration of an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkingConfigurationOfAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_GetAseV3NetworkingConfiguration.json @@ -45,9 +45,8 @@ public async Task Get_GetNetworkingConfigurationOfAnAppServiceEnvironment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update networking configuration of an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateNetworkingConfigurationOfAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_UpdateAseNetworkingConfiguration.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_CertificateOrderDetectorCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_CertificateOrderDetectorCollection.cs index 266a3bba1bd6b..51a77c2c46f30 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_CertificateOrderDetectorCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_CertificateOrderDetectorCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_CertificateOrderDetectorCollection { - // List app service certificate detector response - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAppServiceCertificateDetectorResponse() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/Diagnostics_ListAppServiceCertificateOrderDetectorResponse.json @@ -48,12 +48,11 @@ public async Task GetAll_ListAppServiceCertificateDetectorResponse() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get app service certificate order detector response - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppServiceCertificateOrderDetectorResponse() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/Diagnostics_GetAppServiceCertificateOrderDetectorResponse.json @@ -86,9 +85,8 @@ public async Task Get_GetAppServiceCertificateOrderDetectorResponse() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get app service certificate order detector response - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAppServiceCertificateOrderDetectorResponse() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/Diagnostics_GetAppServiceCertificateOrderDetectorResponse.json @@ -117,9 +115,8 @@ public async Task Exists_GetAppServiceCertificateOrderDetectorResponse() Console.WriteLine($"Succeeded: {result}"); } - // Get app service certificate order detector response - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAppServiceCertificateOrderDetectorResponse() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/Diagnostics_GetAppServiceCertificateOrderDetectorResponse.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetAppServiceCertificateOrderDetectorResponse() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_CertificateOrderDetectorResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_CertificateOrderDetectorResource.cs index dbb1a1a101ecc..3a72b2dea08e8 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_CertificateOrderDetectorResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_CertificateOrderDetectorResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_CertificateOrderDetectorResource { - // Get app service certificate order detector response - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppServiceCertificateOrderDetectorResponse() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/Diagnostics_GetAppServiceCertificateOrderDetectorResponse.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_CustomDnsSuffixConfigurationResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_CustomDnsSuffixConfigurationResource.cs index 3dec6239065bc..7effe3cc19d5a 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_CustomDnsSuffixConfigurationResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_CustomDnsSuffixConfigurationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_CustomDnsSuffixConfigurationResource { - // Get ASE custom DNS suffix configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASECustomDNSSuffixConfiguration() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetAseCustomDnsSuffixConfiguration.json @@ -45,9 +45,8 @@ public async Task Get_GetASECustomDNSSuffixConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update ASE custom DNS suffix configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateASECustomDNSSuffixConfiguration() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdateAseCustomDnsSuffixConfiguration.json @@ -83,9 +82,8 @@ public async Task CreateOrUpdate_UpdateASECustomDNSSuffixConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete ASE custom DNS suffix configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteASECustomDNSSuffixConfiguration() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteAseCustomDnsSuffixConfiguration.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_DeletedSiteCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_DeletedSiteCollection.cs index 7d8e3a3e3e1a5..9b448c6dd12fa 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_DeletedSiteCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_DeletedSiteCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_DeletedSiteCollection { - // Get Deleted Web App - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDeletedWebApp() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetDeletedWebApp.json @@ -48,9 +48,8 @@ public async Task Get_GetDeletedWebApp() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Deleted Web App - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDeletedWebApp() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetDeletedWebApp.json @@ -77,9 +76,8 @@ public async Task Exists_GetDeletedWebApp() Console.WriteLine($"Succeeded: {result}"); } - // Get Deleted Web App - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDeletedWebApp() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetDeletedWebApp.json @@ -106,7 +104,7 @@ public async Task GetIfExists_GetDeletedWebApp() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_DeletedSiteResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_DeletedSiteResource.cs index 8b5719debc9b8..407bf9caf3594 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_DeletedSiteResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_DeletedSiteResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppService.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_DeletedSiteResource { - // List Deleted Web App by Location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeletedSitesByLocation_ListDeletedWebAppByLocation() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListDeletedWebAppsByLocation.json @@ -46,12 +46,11 @@ public async Task GetDeletedSitesByLocation_ListDeletedWebAppByLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Deleted Web App by Location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeletedWebAppByLocationDeletedWebApp_GetDeletedWebAppByLocation() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetDeletedWebAppByLocation.json @@ -80,9 +79,8 @@ public async Task GetDeletedWebAppByLocationDeletedWebApp_GetDeletedWebAppByLoca Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Deleted Web App - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDeletedWebApp() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetDeletedWebApp.json @@ -110,9 +108,8 @@ public async Task Get_GetDeletedWebApp() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Deleted Web App Snapshots - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeletedWebAppSnapshots_GetDeletedWebAppSnapshots() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetDeletedWebAppSnapshots.json @@ -136,7 +133,7 @@ public async Task GetDeletedWebAppSnapshots_GetDeletedWebAppSnapshots() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_DomainOwnershipIdentifierCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_DomainOwnershipIdentifierCollection.cs index 8c77d30b7a4f4..7f435ccf556d1 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_DomainOwnershipIdentifierCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_DomainOwnershipIdentifierCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_DomainOwnershipIdentifierCollection { - // List Domain Ownership Identifiers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDomainOwnershipIdentifiers() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/ListDomainOwnershipIdentifiers.json @@ -48,12 +48,11 @@ public async Task GetAll_ListDomainOwnershipIdentifiers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Domain Ownership Identifier - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDomainOwnershipIdentifier() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/GetDomainOwnershipIdentifier.json @@ -86,9 +85,8 @@ public async Task Get_GetDomainOwnershipIdentifier() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Domain Ownership Identifier - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDomainOwnershipIdentifier() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/GetDomainOwnershipIdentifier.json @@ -117,9 +115,8 @@ public async Task Exists_GetDomainOwnershipIdentifier() Console.WriteLine($"Succeeded: {result}"); } - // Get Domain Ownership Identifier - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDomainOwnershipIdentifier() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/GetDomainOwnershipIdentifier.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetDomainOwnershipIdentifier() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GetDomainOwnershipIdentifier() } } - // Create App Service Domain OwnershipIdentifier - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAppServiceDomainOwnershipIdentifier() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/CreateAppServiceDomainOwnershipIdentifier.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_DomainOwnershipIdentifierResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_DomainOwnershipIdentifierResource.cs index e1b5e3793b58a..4db54690ad5e3 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_DomainOwnershipIdentifierResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_DomainOwnershipIdentifierResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_DomainOwnershipIdentifierResource { - // Get Domain Ownership Identifier - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDomainOwnershipIdentifier() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/GetDomainOwnershipIdentifier.json @@ -46,9 +46,8 @@ public async Task Get_GetDomainOwnershipIdentifier() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete App Service Domain Ownership Identifier - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAppServiceDomainOwnershipIdentifier() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/DeleteAppServiceDomainOwnershipIdentifier.json @@ -71,12 +70,11 @@ public async Task Delete_DeleteAppServiceDomainOwnershipIdentifier() // invoke the operation await domainOwnershipIdentifier.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update App Service Domain OwnershipIdentifier - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAppServiceDomainOwnershipIdentifier() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/UpdateAppServiceDomainOwnershipIdentifier.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentDetectorCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentDetectorCollection.cs index 7bb311252d9e6..74f81f73bef03 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentDetectorCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentDetectorCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_HostingEnvironmentDetectorCollection { - // Get App Service Environment Detector Responses - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAppServiceEnvironmentDetectorResponses() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListHostingEnvironmentDetectorResponses.json @@ -48,12 +48,11 @@ public async Task GetAll_GetAppServiceEnvironmentDetectorResponses() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get App Service Environment Detector Responses - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppServiceEnvironmentDetectorResponses() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetHostingEnvironmentDetectorResponse.json @@ -86,9 +85,8 @@ public async Task Get_GetAppServiceEnvironmentDetectorResponses() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Service Environment Detector Responses - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAppServiceEnvironmentDetectorResponses() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetHostingEnvironmentDetectorResponse.json @@ -117,9 +115,8 @@ public async Task Exists_GetAppServiceEnvironmentDetectorResponses() Console.WriteLine($"Succeeded: {result}"); } - // Get App Service Environment Detector Responses - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAppServiceEnvironmentDetectorResponses() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetHostingEnvironmentDetectorResponse.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetAppServiceEnvironmentDetectorResponses() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentDetectorResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentDetectorResource.cs index d0defde492e5b..e5de513a55b21 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentDetectorResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentDetectorResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_HostingEnvironmentDetectorResource { - // Get App Service Environment Detector Responses - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppServiceEnvironmentDetectorResponses() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetHostingEnvironmentDetectorResponse.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentMultiRolePoolResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentMultiRolePoolResource.cs index 7b3ef7f036969..408272941740e 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentMultiRolePoolResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentMultiRolePoolResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_HostingEnvironmentMultiRolePoolResource { - // Get properties of a multi-role pool. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPropertiesOfAMultiRolePool() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_GetMultiRolePool.json @@ -46,9 +46,8 @@ public async Task Get_GetPropertiesOfAMultiRolePool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a multi-role pool. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAMultiRolePool() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_CreateOrUpdateMultiRolePool.json @@ -83,9 +82,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAMultiRolePool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a multi-role pool. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAMultiRolePool() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_CreateOrUpdateMultiRolePool.json @@ -119,9 +117,8 @@ public async Task Update_CreateOrUpdateAMultiRolePool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get metric definitions for a specific instance of a multi-role pool of an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMultiRolePoolInstanceMetricDefinitions_GetMetricDefinitionsForASpecificInstanceOfAMultiRolePoolOfAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListMultiRolePoolInstanceMetricDefinitions.json @@ -147,12 +144,11 @@ public async Task GetMultiRolePoolInstanceMetricDefinitions_GetMetricDefinitions Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get metric definitions for a multi-role pool of an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMultiRoleMetricDefinitions_GetMetricDefinitionsForAMultiRolePoolOfAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListMultiRoleMetricDefinitions.json @@ -177,12 +173,11 @@ public async Task GetMultiRoleMetricDefinitions_GetMetricDefinitionsForAMultiRol Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get available SKUs for scaling a multi-role pool. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMultiRolePoolSkus_GetAvailableSKUsForScalingAMultiRolePool() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListMultiRolePoolSkus.json @@ -207,12 +202,11 @@ public async Task GetMultiRolePoolSkus_GetAvailableSKUsForScalingAMultiRolePool( Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get usage metrics for a multi-role pool of an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMultiRoleUsages_GetUsageMetricsForAMultiRolePoolOfAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListMultiRoleUsages.json @@ -237,7 +231,7 @@ public async Task GetMultiRoleUsages_GetUsageMetricsForAMultiRolePoolOfAnAppServ Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentPrivateEndpointConnectionCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentPrivateEndpointConnectionCollection.cs index 5c4d3fc020bd5..6b5ad4019a768 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentPrivateEndpointConnectionCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_HostingEnvironmentPrivateEndpointConnectionCollection { - // Gets the list of private endpoints associated with a hosting environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfPrivateEndpointsAssociatedWithAHostingEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_GetPrivateEndpointConnectionList.json @@ -49,12 +49,11 @@ public async Task GetAll_GetsTheListOfPrivateEndpointsAssociatedWithAHostingEnvi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAPrivateEndpointConnection() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_GetPrivateEndpointConnection.json @@ -87,9 +86,8 @@ public async Task Get_GetsAPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAPrivateEndpointConnection() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_GetPrivateEndpointConnection.json @@ -118,9 +116,8 @@ public async Task Exists_GetsAPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // Gets a private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAPrivateEndpointConnection() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_GetPrivateEndpointConnection.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetsAPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetsAPrivateEndpointConnection() } } - // Approves or rejects a private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApprovesOrRejectsAPrivateEndpointConnection() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ApproveOrRejectPrivateEndpointConnection.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentPrivateEndpointConnectionResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentPrivateEndpointConnectionResource.cs index 89da0d5a1e019..3510f1985f466 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentPrivateEndpointConnectionResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_HostingEnvironmentPrivateEndpointConnectionResource { - // Gets a private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAPrivateEndpointConnection() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_GetPrivateEndpointConnection.json @@ -47,9 +47,8 @@ public async Task Get_GetsAPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Approves or rejects a private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApprovesOrRejectsAPrivateEndpointConnection() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ApproveOrRejectPrivateEndpointConnection.json @@ -88,9 +87,8 @@ public async Task Update_ApprovesOrRejectsAPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAPrivateEndpointConnection() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_DeletePrivateEndpointConnection.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentWorkerPoolCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentWorkerPoolCollection.cs index 7396b3db2faa3..3a893284b13cf 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentWorkerPoolCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentWorkerPoolCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_HostingEnvironmentWorkerPoolCollection { - // Get all worker pools of an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllWorkerPoolsOfAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListWorkerPools.json @@ -48,12 +48,11 @@ public async Task GetAll_GetAllWorkerPoolsOfAnAppServiceEnvironment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get properties of a worker pool. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPropertiesOfAWorkerPool() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_GetWorkerPool.json @@ -86,9 +85,8 @@ public async Task Get_GetPropertiesOfAWorkerPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get properties of a worker pool. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPropertiesOfAWorkerPool() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_GetWorkerPool.json @@ -117,9 +115,8 @@ public async Task Exists_GetPropertiesOfAWorkerPool() Console.WriteLine($"Succeeded: {result}"); } - // Get properties of a worker pool. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPropertiesOfAWorkerPool() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_GetWorkerPool.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetPropertiesOfAWorkerPool() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GetPropertiesOfAWorkerPool() } } - // Get properties of a worker pool. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_GetPropertiesOfAWorkerPool() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_CreateOrUpdateWorkerPool.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentWorkerPoolResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentWorkerPoolResource.cs index f4b460ae2698f..535086a28e155 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentWorkerPoolResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_HostingEnvironmentWorkerPoolResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_HostingEnvironmentWorkerPoolResource { - // Get properties of a worker pool. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPropertiesOfAWorkerPool() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_GetWorkerPool.json @@ -47,9 +47,8 @@ public async Task Get_GetPropertiesOfAWorkerPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get properties of a worker pool. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_GetPropertiesOfAWorkerPool() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_CreateOrUpdateWorkerPool.json @@ -84,9 +83,8 @@ public async Task Update_GetPropertiesOfAWorkerPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get metric definitions for a specific instance of a worker pool of an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetWorkerPoolInstanceMetricDefinitions_GetMetricDefinitionsForASpecificInstanceOfAWorkerPoolOfAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListWorkerPoolInstanceMetricDefinitions.json @@ -113,12 +111,11 @@ public async Task GetWorkerPoolInstanceMetricDefinitions_GetMetricDefinitionsFor Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get metric definitions for a worker pool of an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetWebWorkerMetricDefinitions_GetMetricDefinitionsForAWorkerPoolOfAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListWebWorkerMetricDefinitions.json @@ -144,12 +141,11 @@ public async Task GetWebWorkerMetricDefinitions_GetMetricDefinitionsForAWorkerPo Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get available SKUs for scaling a worker pool. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetWorkerPoolSkus_GetAvailableSKUsForScalingAWorkerPool() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListWorkerPoolSkus.json @@ -175,12 +171,11 @@ public async Task GetWorkerPoolSkus_GetAvailableSKUsForScalingAWorkerPool() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get usage metrics for a worker pool of an App Service Environment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetWebWorkerUsages_GetUsageMetricsForAWorkerPoolOfAnAppServiceEnvironment() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AppServiceEnvironments_ListWebWorkerUsages.json @@ -206,7 +201,7 @@ public async Task GetWebWorkerUsages_GetUsageMetricsForAWorkerPoolOfAnAppService Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_KubeEnvironmentCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_KubeEnvironmentCollection.cs index f17ba3903342f..a3447d5f58b47 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_KubeEnvironmentCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_KubeEnvironmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_KubeEnvironmentCollection { - // List kube environments by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListKubeEnvironmentsByResourceGroup() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/KubeEnvironments_ListByResourceGroup.json @@ -48,12 +48,11 @@ public async Task GetAll_ListKubeEnvironmentsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get kube environments by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetKubeEnvironmentsByName() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/KubeEnvironments_Get.json @@ -85,9 +84,8 @@ public async Task Get_GetKubeEnvironmentsByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get kube environments by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetKubeEnvironmentsByName() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/KubeEnvironments_Get.json @@ -115,9 +113,8 @@ public async Task Exists_GetKubeEnvironmentsByName() Console.WriteLine($"Succeeded: {result}"); } - // Get kube environments by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetKubeEnvironmentsByName() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/KubeEnvironments_Get.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetKubeEnvironmentsByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -157,9 +154,8 @@ public async Task GetIfExists_GetKubeEnvironmentsByName() } } - // Create kube environments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateKubeEnvironments() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/KubeEnvironments_CreateOrUpdate.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_KubeEnvironmentResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_KubeEnvironmentResource.cs index b711c90418dce..39144d63f53dd 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_KubeEnvironmentResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_KubeEnvironmentResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppService.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_KubeEnvironmentResource { - // List kube environments by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKubeEnvironments_ListKubeEnvironmentsBySubscription() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/KubeEnvironments_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetKubeEnvironments_ListKubeEnvironmentsBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get kube environments by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetKubeEnvironmentsByName() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/KubeEnvironments_Get.json @@ -79,9 +78,8 @@ public async Task Get_GetKubeEnvironmentsByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete kube environment by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteKubeEnvironmentByName() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/KubeEnvironments_Delete.json @@ -103,12 +101,11 @@ public async Task Delete_DeleteKubeEnvironmentByName() // invoke the operation await kubeEnvironment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update kube environments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateKubeEnvironments() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/KubeEnvironments_Update.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs index 1d5f77a046579..e34ad92144925 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_ResourceGroupResourceExtensions { - // List ResourceHealthMetadata for a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllResourceHealthMetadataData_ListResourceHealthMetadataForAResourceGroup() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListResourceHealthMetadataByResourceGroup.json @@ -42,7 +42,7 @@ public async Task GetAllResourceHealthMetadataData_ListResourceHealthMetadataFor Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_ScmSiteBasicPublishingCredentialsPolicyResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_ScmSiteBasicPublishingCredentialsPolicyResource.cs index dbc539394344c..5597992a9de8a 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_ScmSiteBasicPublishingCredentialsPolicyResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_ScmSiteBasicPublishingCredentialsPolicyResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_ScmSiteBasicPublishingCredentialsPolicyResource { - // Get SCM Allowed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSCMAllowed() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetPublishingCredentialsPolicy.json @@ -45,9 +45,8 @@ public async Task Get_GetSCMAllowed() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update SCM Allowed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateSCMAllowed() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdatePublishingCredentialsPolicy.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_ScmSiteSlotBasicPublishingCredentialsPolicyResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_ScmSiteSlotBasicPublishingCredentialsPolicyResource.cs index a628b6049a3a0..e18f905dda15a 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_ScmSiteSlotBasicPublishingCredentialsPolicyResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_ScmSiteSlotBasicPublishingCredentialsPolicyResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_ScmSiteSlotBasicPublishingCredentialsPolicyResource { - // Get SCM Allowed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSCMAllowed() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetPublishingCredentialsPolicySlot.json @@ -46,9 +46,8 @@ public async Task Get_GetSCMAllowed() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update SCM Allowed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateSCMAllowed() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdatePublishingCredentialsPolicySlot.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteBackupCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteBackupCollection.cs index d3119738bd2b9..b448ccf8e95c0 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteBackupCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteBackupCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteBackupCollection { - // List web app backups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWebAppBackups() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListWebAppBackups.json @@ -48,12 +48,11 @@ public async Task GetAll_ListWebAppBackups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get web app backup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWebAppBackup() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebAppBackup.json @@ -86,9 +85,8 @@ public async Task Get_GetWebAppBackup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get web app backup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWebAppBackup() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebAppBackup.json @@ -117,9 +115,8 @@ public async Task Exists_GetWebAppBackup() Console.WriteLine($"Succeeded: {result}"); } - // Get web app backup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWebAppBackup() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebAppBackup.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetWebAppBackup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteBackupResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteBackupResource.cs index 156a605d1aa4e..626d66231125c 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteBackupResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteBackupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteBackupResource { - // Get web app backup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWebAppBackup() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebAppBackup.json @@ -47,9 +47,8 @@ public async Task Get_GetWebAppBackup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete web app backup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWebAppBackup() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteWebAppBackup.json @@ -72,12 +71,11 @@ public async Task Delete_DeleteWebAppBackup() // invoke the operation await siteBackup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get web app backup with secrets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBackupStatusSecrets_GetWebAppBackupWithSecrets() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebAppBackupWithSecrets.json @@ -131,9 +129,8 @@ public async Task GetBackupStatusSecrets_GetWebAppBackupWithSecrets() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Restore web app from backup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restore_RestoreWebAppFromBackup() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/RestoreWebAppBackup.json @@ -176,7 +173,7 @@ public async Task Restore_RestoreWebAppFromBackup() }; await siteBackup.RestoreAsync(WaitUntil.Completed, info); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteConfigAppsettingCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteConfigAppsettingCollection.cs index 94420b9951802..0594cb51844d2 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteConfigAppsettingCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteConfigAppsettingCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteConfigAppsettingCollection { - // Get Azure Key Vault references for app settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAzureKeyVaultReferencesForAppSettings() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetKeyVaultReferencesForAppSettings.json @@ -48,12 +48,11 @@ public async Task GetAll_GetAzureKeyVaultReferencesForAppSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Azure Key Vault app setting reference - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureKeyVaultAppSettingReference() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetKeyVaultReferencesForAppSetting.json @@ -86,9 +85,8 @@ public async Task Get_GetAzureKeyVaultAppSettingReference() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Azure Key Vault app setting reference - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAzureKeyVaultAppSettingReference() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetKeyVaultReferencesForAppSetting.json @@ -117,9 +115,8 @@ public async Task Exists_GetAzureKeyVaultAppSettingReference() Console.WriteLine($"Succeeded: {result}"); } - // Get Azure Key Vault app setting reference - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAzureKeyVaultAppSettingReference() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetKeyVaultReferencesForAppSetting.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetAzureKeyVaultAppSettingReference() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteConfigAppsettingResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteConfigAppsettingResource.cs index 95f020252ae1e..9cb2f7f90666b 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteConfigAppsettingResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteConfigAppsettingResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteConfigAppsettingResource { - // Get Azure Key Vault app setting reference - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureKeyVaultAppSettingReference() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetKeyVaultReferencesForAppSetting.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDetectorCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDetectorCollection.cs index 98f8d08df3cc0..97ec7d57aa8bd 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDetectorCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDetectorCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteDetectorCollection { - // Get App Detector Responses - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAppDetectorResponses() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteDetectorResponses.json @@ -48,12 +48,11 @@ public async Task GetAll_GetAppDetectorResponses() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get App Slot Detector Responses - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAppSlotDetectorResponses() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteDetectorResponsesSlot.json @@ -85,12 +84,11 @@ public async Task GetAll_GetAppSlotDetectorResponses() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get App Detector Response - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppDetectorResponse() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorResponse.json @@ -123,9 +121,8 @@ public async Task Get_GetAppDetectorResponse() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Detector Response - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAppDetectorResponse() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorResponse.json @@ -154,9 +151,8 @@ public async Task Exists_GetAppDetectorResponse() Console.WriteLine($"Succeeded: {result}"); } - // Get App Detector Response - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAppDetectorResponse() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorResponse.json @@ -185,7 +181,7 @@ public async Task GetIfExists_GetAppDetectorResponse() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -197,9 +193,8 @@ public async Task GetIfExists_GetAppDetectorResponse() } } - // Get App Slot Detector Response - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppSlotDetectorResponse() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorResponseSlot.json @@ -232,9 +227,8 @@ public async Task Get_GetAppSlotDetectorResponse() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Slot Detector Response - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAppSlotDetectorResponse() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorResponseSlot.json @@ -263,9 +257,8 @@ public async Task Exists_GetAppSlotDetectorResponse() Console.WriteLine($"Succeeded: {result}"); } - // Get App Slot Detector Response - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAppSlotDetectorResponse() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorResponseSlot.json @@ -294,7 +287,7 @@ public async Task GetIfExists_GetAppSlotDetectorResponse() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDetectorResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDetectorResource.cs index cf9c52a03a4f6..e7ae2839f53c7 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDetectorResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDetectorResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteDetectorResource { - // Get App Detector Response - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppDetectorResponse() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorResponse.json @@ -46,9 +46,8 @@ public async Task Get_GetAppDetectorResponse() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Slot Detector Response - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppSlotDetectorResponse() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorResponseSlot.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDiagnosticAnalysisCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDiagnosticAnalysisCollection.cs index 321f6c07873ab..1642ad8d385b1 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDiagnosticAnalysisCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDiagnosticAnalysisCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteDiagnosticAnalysisCollection { - // List App Analyses - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAppAnalyses() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteAnalyses.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAppAnalyses() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List App Slot Analyses - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAppSlotAnalyses() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteAnalysesSlot.json @@ -87,12 +86,11 @@ public async Task GetAll_ListAppSlotAnalyses() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get App Analysis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppAnalysis() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteAnalysis.json @@ -126,9 +124,8 @@ public async Task Get_GetAppAnalysis() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Analysis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAppAnalysis() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteAnalysis.json @@ -158,9 +155,8 @@ public async Task Exists_GetAppAnalysis() Console.WriteLine($"Succeeded: {result}"); } - // Get App Analysis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAppAnalysis() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteAnalysis.json @@ -190,7 +186,7 @@ public async Task GetIfExists_GetAppAnalysis() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -202,9 +198,8 @@ public async Task GetIfExists_GetAppAnalysis() } } - // Get App Slot Analysis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppSlotAnalysis() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteAnalysisSlot.json @@ -238,9 +233,8 @@ public async Task Get_GetAppSlotAnalysis() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Slot Analysis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAppSlotAnalysis() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteAnalysisSlot.json @@ -270,9 +264,8 @@ public async Task Exists_GetAppSlotAnalysis() Console.WriteLine($"Succeeded: {result}"); } - // Get App Slot Analysis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAppSlotAnalysis() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteAnalysisSlot.json @@ -302,7 +295,7 @@ public async Task GetIfExists_GetAppSlotAnalysis() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDiagnosticAnalysisResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDiagnosticAnalysisResource.cs index 025efedc3dd43..f8f116c89c1d1 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDiagnosticAnalysisResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDiagnosticAnalysisResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteDiagnosticAnalysisResource { - // Get App Analysis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppAnalysis() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteAnalysis.json @@ -48,9 +48,8 @@ public async Task Get_GetAppAnalysis() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Slot Analysis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppSlotAnalysis() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteAnalysisSlot.json @@ -81,9 +80,8 @@ public async Task Get_GetAppSlotAnalysis() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Execute site analysis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Execute_ExecuteSiteAnalysis() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ExecuteSiteAnalysis.json @@ -110,9 +108,8 @@ public async Task Execute_ExecuteSiteAnalysis() Console.WriteLine($"Succeeded: {result}"); } - // Execute site slot analysis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Execute_ExecuteSiteSlotAnalysis() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ExecuteSiteAnalysisSlot.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDiagnosticCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDiagnosticCollection.cs index 4a26e6680fc54..42290556e485d 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDiagnosticCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDiagnosticCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteDiagnosticCollection { - // List App Diagnostic Categories - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAppDiagnosticCategories() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteDiagnosticCategories.json @@ -48,12 +48,11 @@ public async Task GetAll_ListAppDiagnosticCategories() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List App Slot Diagnostic Categories - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAppSlotDiagnosticCategories() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteDiagnosticCategoriesSlot.json @@ -85,12 +84,11 @@ public async Task GetAll_ListAppSlotDiagnosticCategories() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get App Diagnostic Category - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppDiagnosticCategory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDiagnosticCategory.json @@ -123,9 +121,8 @@ public async Task Get_GetAppDiagnosticCategory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Diagnostic Category - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAppDiagnosticCategory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDiagnosticCategory.json @@ -154,9 +151,8 @@ public async Task Exists_GetAppDiagnosticCategory() Console.WriteLine($"Succeeded: {result}"); } - // Get App Diagnostic Category - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAppDiagnosticCategory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDiagnosticCategory.json @@ -185,7 +181,7 @@ public async Task GetIfExists_GetAppDiagnosticCategory() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -197,9 +193,8 @@ public async Task GetIfExists_GetAppDiagnosticCategory() } } - // Get App Slot Diagnostic Category - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppSlotDiagnosticCategory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot.json @@ -232,9 +227,8 @@ public async Task Get_GetAppSlotDiagnosticCategory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Slot Diagnostic Category - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAppSlotDiagnosticCategory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot.json @@ -263,9 +257,8 @@ public async Task Exists_GetAppSlotDiagnosticCategory() Console.WriteLine($"Succeeded: {result}"); } - // Get App Slot Diagnostic Category - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAppSlotDiagnosticCategory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot.json @@ -294,7 +287,7 @@ public async Task GetIfExists_GetAppSlotDiagnosticCategory() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDiagnosticDetectorCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDiagnosticDetectorCollection.cs index 6f21149580ef6..62cbb32511c3e 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDiagnosticDetectorCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDiagnosticDetectorCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteDiagnosticDetectorCollection { - // List App Detectors - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAppDetectors() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteDetectors.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAppDetectors() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List App Slot Detectors - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAppSlotDetectors() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteDetectorsSlot.json @@ -87,12 +86,11 @@ public async Task GetAll_ListAppSlotDetectors() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get App Detector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppDetector() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetector.json @@ -126,9 +124,8 @@ public async Task Get_GetAppDetector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Detector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAppDetector() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetector.json @@ -158,9 +155,8 @@ public async Task Exists_GetAppDetector() Console.WriteLine($"Succeeded: {result}"); } - // Get App Detector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAppDetector() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetector.json @@ -190,7 +186,7 @@ public async Task GetIfExists_GetAppDetector() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -202,9 +198,8 @@ public async Task GetIfExists_GetAppDetector() } } - // Get App Slot Detector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppSlotDetector() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorSlot.json @@ -238,9 +233,8 @@ public async Task Get_GetAppSlotDetector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Slot Detector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAppSlotDetector() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorSlot.json @@ -270,9 +264,8 @@ public async Task Exists_GetAppSlotDetector() Console.WriteLine($"Succeeded: {result}"); } - // Get App Slot Detector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAppSlotDetector() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorSlot.json @@ -302,7 +295,7 @@ public async Task GetIfExists_GetAppSlotDetector() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDiagnosticDetectorResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDiagnosticDetectorResource.cs index d9f6ea5703869..dd79c8928c201 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDiagnosticDetectorResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDiagnosticDetectorResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteDiagnosticDetectorResource { - // Get App Detector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppDetector() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetector.json @@ -48,9 +48,8 @@ public async Task Get_GetAppDetector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Slot Detector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppSlotDetector() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorSlot.json @@ -81,9 +80,8 @@ public async Task Get_GetAppSlotDetector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Execute site detector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Execute_ExecuteSiteDetector() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ExecuteSiteDetector.json @@ -110,9 +108,8 @@ public async Task Execute_ExecuteSiteDetector() Console.WriteLine($"Succeeded: {result}"); } - // Execute site slot detector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Execute_ExecuteSiteSlotDetector() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ExecuteSiteDetectorSlot.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDiagnosticResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDiagnosticResource.cs index 4cf8daf8596e0..c417ccf97e538 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDiagnosticResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteDiagnosticResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteDiagnosticResource { - // Get App Diagnostic Category - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppDiagnosticCategory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDiagnosticCategory.json @@ -46,9 +46,8 @@ public async Task Get_GetAppDiagnosticCategory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Slot Diagnostic Category - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppSlotDiagnosticCategory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteInstanceCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteInstanceCollection.cs index 681bea8753000..1c9218953eb2f 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteInstanceCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteInstanceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteInstanceCollection { - // Get site instance info - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSiteInstanceInfo() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSiteInstanceInfo.json @@ -49,9 +49,8 @@ public async Task Get_GetSiteInstanceInfo() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get site instance info - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSiteInstanceInfo() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSiteInstanceInfo.json @@ -80,9 +79,8 @@ public async Task Exists_GetSiteInstanceInfo() Console.WriteLine($"Succeeded: {result}"); } - // Get site instance info - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSiteInstanceInfo() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSiteInstanceInfo.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetSiteInstanceInfo() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteInstanceResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteInstanceResource.cs index 198a5b40de52c..b48975a200ecb 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteInstanceResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteInstanceResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteInstanceResource { - // Get site instance info - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSiteInstanceInfo() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSiteInstanceInfo.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SitePrivateEndpointConnectionCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SitePrivateEndpointConnectionCollection.cs index 2886837a6753c..bd37aca15d5b1 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SitePrivateEndpointConnectionCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SitePrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SitePrivateEndpointConnectionCollection { - // Get a private endpoint connection for a site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPrivateEndpointConnectionForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSitePrivateEndpointConnection.json @@ -50,9 +50,8 @@ public async Task Get_GetAPrivateEndpointConnectionForASite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a private endpoint connection for a site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAPrivateEndpointConnectionForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSitePrivateEndpointConnection.json @@ -81,9 +80,8 @@ public async Task Exists_GetAPrivateEndpointConnectionForASite() Console.WriteLine($"Succeeded: {result}"); } - // Get a private endpoint connection for a site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAPrivateEndpointConnectionForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSitePrivateEndpointConnection.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetAPrivateEndpointConnectionForASite() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetAPrivateEndpointConnectionForASite() } } - // Approves or rejects a private endpoint connection for a site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApprovesOrRejectsAPrivateEndpointConnectionForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ApproveRejectSitePrivateEndpointConnection.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SitePrivateEndpointConnectionResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SitePrivateEndpointConnectionResource.cs index 16be95e108895..c40605b66092b 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SitePrivateEndpointConnectionResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SitePrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SitePrivateEndpointConnectionResource { - // Get a private endpoint connection for a site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPrivateEndpointConnectionForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSitePrivateEndpointConnection.json @@ -47,9 +47,8 @@ public async Task Get_GetAPrivateEndpointConnectionForASite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Approves or rejects a private endpoint connection for a site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApprovesOrRejectsAPrivateEndpointConnectionForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ApproveRejectSitePrivateEndpointConnection.json @@ -89,9 +88,8 @@ public async Task Update_ApprovesOrRejectsAPrivateEndpointConnectionForASite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a private endpoint connection for a site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAPrivateEndpointConnectionForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteSitePrivateEndpointConnection.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDetectorCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDetectorCollection.cs index e160856bc7aea..6743565b7503f 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDetectorCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDetectorCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteSlotDetectorCollection { - // Get App Detector Responses - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAppDetectorResponses() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteDetectorResponses.json @@ -49,12 +49,11 @@ public async Task GetAll_GetAppDetectorResponses() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get App Slot Detector Responses - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAppSlotDetectorResponses() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteDetectorResponsesSlot.json @@ -87,12 +86,11 @@ public async Task GetAll_GetAppSlotDetectorResponses() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get App Detector Response - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppDetectorResponse() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorResponse.json @@ -126,9 +124,8 @@ public async Task Get_GetAppDetectorResponse() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Detector Response - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAppDetectorResponse() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorResponse.json @@ -158,9 +155,8 @@ public async Task Exists_GetAppDetectorResponse() Console.WriteLine($"Succeeded: {result}"); } - // Get App Detector Response - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAppDetectorResponse() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorResponse.json @@ -190,7 +186,7 @@ public async Task GetIfExists_GetAppDetectorResponse() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -202,9 +198,8 @@ public async Task GetIfExists_GetAppDetectorResponse() } } - // Get App Slot Detector Response - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppSlotDetectorResponse() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorResponseSlot.json @@ -238,9 +233,8 @@ public async Task Get_GetAppSlotDetectorResponse() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Slot Detector Response - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAppSlotDetectorResponse() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorResponseSlot.json @@ -270,9 +264,8 @@ public async Task Exists_GetAppSlotDetectorResponse() Console.WriteLine($"Succeeded: {result}"); } - // Get App Slot Detector Response - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAppSlotDetectorResponse() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorResponseSlot.json @@ -302,7 +295,7 @@ public async Task GetIfExists_GetAppSlotDetectorResponse() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDetectorResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDetectorResource.cs index aca8b51904ff8..9715dc28fd2da 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDetectorResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDetectorResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteSlotDetectorResource { - // Get App Detector Response - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppDetectorResponse() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorResponse.json @@ -47,9 +47,8 @@ public async Task Get_GetAppDetectorResponse() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Slot Detector Response - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppSlotDetectorResponse() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorResponseSlot.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDiagnosticAnalysisCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDiagnosticAnalysisCollection.cs index 398447faf86a7..cc13f9f3ae181 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDiagnosticAnalysisCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDiagnosticAnalysisCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteSlotDiagnosticAnalysisCollection { - // List App Analyses - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAppAnalyses() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteAnalyses.json @@ -50,12 +50,11 @@ public async Task GetAll_ListAppAnalyses() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List App Slot Analyses - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAppSlotAnalyses() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteAnalysesSlot.json @@ -89,12 +88,11 @@ public async Task GetAll_ListAppSlotAnalyses() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get App Analysis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppAnalysis() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteAnalysis.json @@ -129,9 +127,8 @@ public async Task Get_GetAppAnalysis() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Analysis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAppAnalysis() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteAnalysis.json @@ -162,9 +159,8 @@ public async Task Exists_GetAppAnalysis() Console.WriteLine($"Succeeded: {result}"); } - // Get App Analysis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAppAnalysis() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteAnalysis.json @@ -195,7 +191,7 @@ public async Task GetIfExists_GetAppAnalysis() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -207,9 +203,8 @@ public async Task GetIfExists_GetAppAnalysis() } } - // Get App Slot Analysis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppSlotAnalysis() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteAnalysisSlot.json @@ -244,9 +239,8 @@ public async Task Get_GetAppSlotAnalysis() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Slot Analysis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAppSlotAnalysis() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteAnalysisSlot.json @@ -277,9 +271,8 @@ public async Task Exists_GetAppSlotAnalysis() Console.WriteLine($"Succeeded: {result}"); } - // Get App Slot Analysis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAppSlotAnalysis() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteAnalysisSlot.json @@ -310,7 +303,7 @@ public async Task GetIfExists_GetAppSlotAnalysis() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDiagnosticAnalysisResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDiagnosticAnalysisResource.cs index 6237c2a1816d4..0836c25192baa 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDiagnosticAnalysisResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDiagnosticAnalysisResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteSlotDiagnosticAnalysisResource { - // Get App Analysis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppAnalysis() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteAnalysis.json @@ -49,9 +49,8 @@ public async Task Get_GetAppAnalysis() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Slot Analysis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppSlotAnalysis() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteAnalysisSlot.json @@ -83,9 +82,8 @@ public async Task Get_GetAppSlotAnalysis() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Execute site analysis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExecuteSiteAnalysisSlot_ExecuteSiteAnalysis() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ExecuteSiteAnalysis.json @@ -113,9 +111,8 @@ public async Task ExecuteSiteAnalysisSlot_ExecuteSiteAnalysis() Console.WriteLine($"Succeeded: {result}"); } - // Execute site slot analysis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExecuteSiteAnalysisSlot_ExecuteSiteSlotAnalysis() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ExecuteSiteAnalysisSlot.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDiagnosticCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDiagnosticCollection.cs index 840eaee88734c..203ee8656c161 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDiagnosticCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDiagnosticCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteSlotDiagnosticCollection { - // List App Diagnostic Categories - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAppDiagnosticCategories() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteDiagnosticCategories.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAppDiagnosticCategories() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List App Slot Diagnostic Categories - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAppSlotDiagnosticCategories() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteDiagnosticCategoriesSlot.json @@ -87,12 +86,11 @@ public async Task GetAll_ListAppSlotDiagnosticCategories() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get App Diagnostic Category - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppDiagnosticCategory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDiagnosticCategory.json @@ -126,9 +124,8 @@ public async Task Get_GetAppDiagnosticCategory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Diagnostic Category - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAppDiagnosticCategory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDiagnosticCategory.json @@ -158,9 +155,8 @@ public async Task Exists_GetAppDiagnosticCategory() Console.WriteLine($"Succeeded: {result}"); } - // Get App Diagnostic Category - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAppDiagnosticCategory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDiagnosticCategory.json @@ -190,7 +186,7 @@ public async Task GetIfExists_GetAppDiagnosticCategory() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -202,9 +198,8 @@ public async Task GetIfExists_GetAppDiagnosticCategory() } } - // Get App Slot Diagnostic Category - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppSlotDiagnosticCategory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot.json @@ -238,9 +233,8 @@ public async Task Get_GetAppSlotDiagnosticCategory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Slot Diagnostic Category - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAppSlotDiagnosticCategory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot.json @@ -270,9 +264,8 @@ public async Task Exists_GetAppSlotDiagnosticCategory() Console.WriteLine($"Succeeded: {result}"); } - // Get App Slot Diagnostic Category - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAppSlotDiagnosticCategory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot.json @@ -302,7 +295,7 @@ public async Task GetIfExists_GetAppSlotDiagnosticCategory() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDiagnosticDetectorCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDiagnosticDetectorCollection.cs index 7fcb9296e6faf..41a94c55a325d 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDiagnosticDetectorCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDiagnosticDetectorCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteSlotDiagnosticDetectorCollection { - // List App Detectors - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAppDetectors() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteDetectors.json @@ -50,12 +50,11 @@ public async Task GetAll_ListAppDetectors() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List App Slot Detectors - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAppSlotDetectors() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ListSiteDetectorsSlot.json @@ -89,12 +88,11 @@ public async Task GetAll_ListAppSlotDetectors() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get App Detector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppDetector() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetector.json @@ -129,9 +127,8 @@ public async Task Get_GetAppDetector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Detector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAppDetector() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetector.json @@ -162,9 +159,8 @@ public async Task Exists_GetAppDetector() Console.WriteLine($"Succeeded: {result}"); } - // Get App Detector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAppDetector() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetector.json @@ -195,7 +191,7 @@ public async Task GetIfExists_GetAppDetector() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -207,9 +203,8 @@ public async Task GetIfExists_GetAppDetector() } } - // Get App Slot Detector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppSlotDetector() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorSlot.json @@ -244,9 +239,8 @@ public async Task Get_GetAppSlotDetector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Slot Detector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAppSlotDetector() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorSlot.json @@ -277,9 +271,8 @@ public async Task Exists_GetAppSlotDetector() Console.WriteLine($"Succeeded: {result}"); } - // Get App Slot Detector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAppSlotDetector() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorSlot.json @@ -310,7 +303,7 @@ public async Task GetIfExists_GetAppSlotDetector() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDiagnosticDetectorResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDiagnosticDetectorResource.cs index 9e5534c1a4e06..5a5bcfd2045ea 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDiagnosticDetectorResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDiagnosticDetectorResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteSlotDiagnosticDetectorResource { - // Get App Detector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppDetector() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetector.json @@ -49,9 +49,8 @@ public async Task Get_GetAppDetector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Slot Detector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppSlotDetector() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDetectorSlot.json @@ -83,9 +82,8 @@ public async Task Get_GetAppSlotDetector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Execute site detector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExecuteSiteDetectorSlot_ExecuteSiteDetector() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ExecuteSiteDetector.json @@ -113,9 +111,8 @@ public async Task ExecuteSiteDetectorSlot_ExecuteSiteDetector() Console.WriteLine($"Succeeded: {result}"); } - // Execute site slot detector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExecuteSiteDetectorSlot_ExecuteSiteSlotDetector() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_ExecuteSiteDetectorSlot.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDiagnosticResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDiagnosticResource.cs index 547510bb2e001..778a1793fe396 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDiagnosticResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotDiagnosticResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteSlotDiagnosticResource { - // Get App Diagnostic Category - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppDiagnosticCategory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDiagnosticCategory.json @@ -47,9 +47,8 @@ public async Task Get_GetAppDiagnosticCategory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get App Slot Diagnostic Category - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppSlotDiagnosticCategory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Diagnostics_GetSiteDiagnosticCategorySlot.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotInstanceCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotInstanceCollection.cs index efe70c8d2239c..a41f860bd79c8 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotInstanceCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotInstanceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteSlotInstanceCollection { - // Get site instance info - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSiteInstanceInfo() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSiteInstanceInfo.json @@ -50,9 +50,8 @@ public async Task Get_GetSiteInstanceInfo() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get site instance info - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSiteInstanceInfo() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSiteInstanceInfo.json @@ -82,9 +81,8 @@ public async Task Exists_GetSiteInstanceInfo() Console.WriteLine($"Succeeded: {result}"); } - // Get site instance info - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSiteInstanceInfo() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSiteInstanceInfo.json @@ -114,7 +112,7 @@ public async Task GetIfExists_GetSiteInstanceInfo() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotInstanceResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotInstanceResource.cs index c0a7b79d34c4b..9ea62333ce8c5 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotInstanceResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotInstanceResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteSlotInstanceResource { - // Get site instance info - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSiteInstanceInfo() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSiteInstanceInfo.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotPrivateEndpointConnectionCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotPrivateEndpointConnectionCollection.cs index b564b969e5155..3877904282e0b 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotPrivateEndpointConnectionCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteSlotPrivateEndpointConnectionCollection { - // Get a private endpoint connection for a site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPrivateEndpointConnectionForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSitePrivateEndpointConnectionSlot.json @@ -51,9 +51,8 @@ public async Task Get_GetAPrivateEndpointConnectionForASite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a private endpoint connection for a site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAPrivateEndpointConnectionForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSitePrivateEndpointConnectionSlot.json @@ -83,9 +82,8 @@ public async Task Exists_GetAPrivateEndpointConnectionForASite() Console.WriteLine($"Succeeded: {result}"); } - // Get a private endpoint connection for a site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAPrivateEndpointConnectionForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSitePrivateEndpointConnectionSlot.json @@ -115,7 +113,7 @@ public async Task GetIfExists_GetAPrivateEndpointConnectionForASite() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_GetAPrivateEndpointConnectionForASite() } } - // Approves or rejects a private endpoint connection for a site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApprovesOrRejectsAPrivateEndpointConnectionForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ApproveRejectSitePrivateEndpointConnectionSlot.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotPrivateEndpointConnectionResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotPrivateEndpointConnectionResource.cs index 90b7d67b8a62a..b5b85928c88db 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotPrivateEndpointConnectionResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteSlotPrivateEndpointConnectionResource { - // Get a private endpoint connection for a site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPrivateEndpointConnectionForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSitePrivateEndpointConnectionSlot.json @@ -48,9 +48,8 @@ public async Task Get_GetAPrivateEndpointConnectionForASite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Approves or rejects a private endpoint connection for a site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApprovesOrRejectsAPrivateEndpointConnectionForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ApproveRejectSitePrivateEndpointConnectionSlot.json @@ -91,9 +90,8 @@ public async Task Update_ApprovesOrRejectsAPrivateEndpointConnectionForASite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a private endpoint connection for a site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAPrivateEndpointConnectionForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteSitePrivateEndpointConnectionSlot.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotWorkflowCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotWorkflowCollection.cs index 8e76353ade46f..e50d9f5b0c856 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotWorkflowCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotWorkflowCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteSlotWorkflowCollection { - // List the workflows Slot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTheWorkflowsSlot() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListWorkflows.json @@ -49,12 +49,11 @@ public async Task GetAll_ListTheWorkflowsSlot() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GET a workflow Slot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GETAWorkflowSlot() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWorkflow.json @@ -88,9 +87,8 @@ public async Task Get_GETAWorkflowSlot() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GET a workflow Slot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GETAWorkflowSlot() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWorkflow.json @@ -120,9 +118,8 @@ public async Task Exists_GETAWorkflowSlot() Console.WriteLine($"Succeeded: {result}"); } - // GET a workflow Slot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GETAWorkflowSlot() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWorkflow.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GETAWorkflowSlot() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotWorkflowResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotWorkflowResource.cs index ea1154da9880f..970afa7f35543 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotWorkflowResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteSlotWorkflowResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteSlotWorkflowResource { - // GET a workflow Slot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GETAWorkflowSlot() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWorkflow.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteWorkflowCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteWorkflowCollection.cs index ad5834a0b0528..71da91f698f43 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteWorkflowCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteWorkflowCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteWorkflowCollection { - // List the workflows - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTheWorkflows() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListWorkflows.json @@ -48,12 +48,11 @@ public async Task GetAll_ListTheWorkflows() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GET a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GETAWorkflow() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWorkflow.json @@ -86,9 +85,8 @@ public async Task Get_GETAWorkflow() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GET a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GETAWorkflow() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWorkflow.json @@ -117,9 +115,8 @@ public async Task Exists_GETAWorkflow() Console.WriteLine($"Succeeded: {result}"); } - // GET a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GETAWorkflow() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWorkflow.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GETAWorkflow() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteWorkflowResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteWorkflowResource.cs index daf75b2bb2ff0..befa72cb1b066 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteWorkflowResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SiteWorkflowResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SiteWorkflowResource { - // GET a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GETAWorkflow() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWorkflow.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBasicAuthPropertyCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBasicAuthPropertyCollection.cs index 4bc0ba825051f..5ca47d84e04e2 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBasicAuthPropertyCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBasicAuthPropertyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_StaticSiteBasicAuthPropertyCollection { - // Lists the basic auth properties for a static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsTheBasicAuthPropertiesForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListStaticSiteBasicAuth.json @@ -49,12 +49,11 @@ public async Task GetAll_ListsTheBasicAuthPropertiesForAStaticSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the basic auth properties for a static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheBasicAuthPropertiesForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteBasicAuth.json @@ -87,9 +86,8 @@ public async Task Get_GetsTheBasicAuthPropertiesForAStaticSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the basic auth properties for a static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheBasicAuthPropertiesForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteBasicAuth.json @@ -118,9 +116,8 @@ public async Task Exists_GetsTheBasicAuthPropertiesForAStaticSite() Console.WriteLine($"Succeeded: {result}"); } - // Gets the basic auth properties for a static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheBasicAuthPropertiesForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteBasicAuth.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetsTheBasicAuthPropertiesForAStaticSite() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetsTheBasicAuthPropertiesForAStaticSite() } } - // Creates or updates basic auth properties for a static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesBasicAuthPropertiesForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateStaticSiteBasicAuth.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBasicAuthPropertyResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBasicAuthPropertyResource.cs index ef70639557cfa..a8219c649ed3d 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBasicAuthPropertyResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBasicAuthPropertyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_StaticSiteBasicAuthPropertyResource { - // Gets the basic auth properties for a static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheBasicAuthPropertiesForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteBasicAuth.json @@ -47,9 +47,8 @@ public async Task Get_GetsTheBasicAuthPropertiesForAStaticSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates basic auth properties for a static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesOrUpdatesBasicAuthPropertiesForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateStaticSiteBasicAuth.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildCollection.cs index bb22cbcdccb7d..1cd48c59160d5 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_StaticSiteBuildCollection { - // Get all builds for a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllBuildsForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteBuilds.json @@ -48,12 +48,11 @@ public async Task GetAll_GetAllBuildsForAStaticSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a static site build - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteBuild.json @@ -86,9 +85,8 @@ public async Task Get_GetAStaticSiteBuild() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a static site build - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteBuild.json @@ -117,9 +115,8 @@ public async Task Exists_GetAStaticSiteBuild() Console.WriteLine($"Succeeded: {result}"); } - // Get a static site build - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteBuild.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetAStaticSiteBuild() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildDatabaseConnectionCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildDatabaseConnectionCollection.cs index b590ced193deb..a4e3c0ba8d898 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildDatabaseConnectionCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildDatabaseConnectionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_StaticSiteBuildDatabaseConnectionCollection { - // List overviews of database connections for the static site build. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListOverviewsOfDatabaseConnectionsForTheStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteBuildDatabaseConnections.json @@ -49,12 +49,11 @@ public async Task GetAll_ListOverviewsOfDatabaseConnectionsForTheStaticSiteBuild Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get overview of database connections for the static site build. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetOverviewOfDatabaseConnectionsForTheStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteBuildDatabaseConnection.json @@ -88,9 +87,8 @@ public async Task Get_GetOverviewOfDatabaseConnectionsForTheStaticSiteBuild() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get overview of database connections for the static site build. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetOverviewOfDatabaseConnectionsForTheStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteBuildDatabaseConnection.json @@ -120,9 +118,8 @@ public async Task Exists_GetOverviewOfDatabaseConnectionsForTheStaticSiteBuild() Console.WriteLine($"Succeeded: {result}"); } - // Get overview of database connections for the static site build. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetOverviewOfDatabaseConnectionsForTheStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteBuildDatabaseConnection.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetOverviewOfDatabaseConnectionsForTheStaticSiteBu if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_GetOverviewOfDatabaseConnectionsForTheStaticSiteBu } } - // Create or update a database connection for a static site build - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateADatabaseConnectionForAStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateStaticSiteBuildDatabaseConnection.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildDatabaseConnectionResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildDatabaseConnectionResource.cs index 275fe096b82d2..ab8d7945bd754 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildDatabaseConnectionResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildDatabaseConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_StaticSiteBuildDatabaseConnectionResource { - // Get overview of database connections for the static site build. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetOverviewOfDatabaseConnectionsForTheStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteBuildDatabaseConnection.json @@ -48,9 +48,8 @@ public async Task Get_GetOverviewOfDatabaseConnectionsForTheStaticSiteBuild() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a database connection from a static site build. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteADatabaseConnectionFromAStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteStaticSiteBuildDatabaseConnection.json @@ -74,12 +73,11 @@ public async Task Delete_DeleteADatabaseConnectionFromAStaticSiteBuild() // invoke the operation await staticSiteBuildDatabaseConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Patch a database connection for a static site build - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchADatabaseConnectionForAStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/PatchStaticSiteBuildDatabaseConnection.json @@ -111,9 +109,8 @@ public async Task Update_PatchADatabaseConnectionForAStaticSiteBuild() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get details of database connections for the static site build. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBuildDatabaseConnectionWithDetails_GetDetailsOfDatabaseConnectionsForTheStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteBuildDatabaseConnectionWithDetails.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildLinkedBackendCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildLinkedBackendCollection.cs index 3b83e18064370..943ea090ebc2d 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildLinkedBackendCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildLinkedBackendCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_StaticSiteBuildLinkedBackendCollection { - // Get details of the linked backends registered with a static site build. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetDetailsOfTheLinkedBackendsRegisteredWithAStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetLinkedBackendsForStaticSiteBuild.json @@ -49,12 +49,11 @@ public async Task GetAll_GetDetailsOfTheLinkedBackendsRegisteredWithAStaticSiteB Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get details of the linked backend registered with a static site build by name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfTheLinkedBackendRegisteredWithAStaticSiteBuildByName() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetLinkedBackendForStaticSiteBuild.json @@ -88,9 +87,8 @@ public async Task Get_GetDetailsOfTheLinkedBackendRegisteredWithAStaticSiteBuild Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get details of the linked backend registered with a static site build by name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDetailsOfTheLinkedBackendRegisteredWithAStaticSiteBuildByName() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetLinkedBackendForStaticSiteBuild.json @@ -120,9 +118,8 @@ public async Task Exists_GetDetailsOfTheLinkedBackendRegisteredWithAStaticSiteBu Console.WriteLine($"Succeeded: {result}"); } - // Get details of the linked backend registered with a static site build by name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDetailsOfTheLinkedBackendRegisteredWithAStaticSiteBuildByName() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetLinkedBackendForStaticSiteBuild.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetDetailsOfTheLinkedBackendRegisteredWithAStaticS if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_GetDetailsOfTheLinkedBackendRegisteredWithAStaticS } } - // Link a backend to a static site build - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_LinkABackendToAStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/LinkBackendToStaticSiteBuild.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildLinkedBackendResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildLinkedBackendResource.cs index 3e928e49fa8e4..f722263723be5 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildLinkedBackendResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildLinkedBackendResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_StaticSiteBuildLinkedBackendResource { - // Validate if backend can be linked to static site build. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateBackendForBuild_ValidateIfBackendCanBeLinkedToStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ValidateLinkedBackendForStaticSiteBuild.json @@ -45,12 +45,11 @@ public async Task ValidateBackendForBuild_ValidateIfBackendCanBeLinkedToStaticSi }; await staticSiteBuildLinkedBackend.ValidateBackendForBuildAsync(WaitUntil.Completed, data); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get details of the linked backend registered with a static site build by name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfTheLinkedBackendRegisteredWithAStaticSiteBuildByName() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetLinkedBackendForStaticSiteBuild.json @@ -81,9 +80,8 @@ public async Task Get_GetDetailsOfTheLinkedBackendRegisteredWithAStaticSiteBuild Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Link a backend to a static site build - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_LinkABackendToAStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/LinkBackendToStaticSiteBuild.json @@ -120,9 +118,8 @@ public async Task Update_LinkABackendToAStaticSiteBuild() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Unlink a backend from a static site build. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_UnlinkABackendFromAStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UnlinkBackendFromStaticSiteBuild.json @@ -146,7 +143,7 @@ public async Task Delete_UnlinkABackendFromAStaticSiteBuild() // invoke the operation await staticSiteBuildLinkedBackend.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildResource.cs index f9e1ce6666e72..754df0b7accf2 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_StaticSiteBuildResource { - // Get a static site build - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteBuild.json @@ -47,9 +47,8 @@ public async Task Get_GetAStaticSiteBuild() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a static site build - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteStaticSiteBuild.json @@ -72,12 +71,11 @@ public async Task Delete_DeleteAStaticSiteBuild() // invoke the operation await staticSiteBuild.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Creates or updates the function app settings of a static site build. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateAppSettings_CreatesOrUpdatesTheFunctionAppSettingsOfAStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateStaticSiteBuildAppSettings.json @@ -111,9 +109,8 @@ public async Task CreateOrUpdateAppSettings_CreatesOrUpdatesTheFunctionAppSettin Console.WriteLine($"Succeeded: {result}"); } - // Creates or updates the function app settings of a static site build. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateFunctionAppSettings_CreatesOrUpdatesTheFunctionAppSettingsOfAStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateStaticSiteBuildFunctionAppSettings.json @@ -147,9 +144,8 @@ public async Task CreateOrUpdateFunctionAppSettings_CreatesOrUpdatesTheFunctionA Console.WriteLine($"Succeeded: {result}"); } - // Gets the functions of a particular static site build - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFunctions_GetsTheFunctionsOfAParticularStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListStaticSiteBuildFunctions.json @@ -175,12 +171,11 @@ public async Task GetFunctions_GetsTheFunctionsOfAParticularStaticSiteBuild() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get app settings of a static site build - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStaticSiteBuildAppSettings_GetAppSettingsOfAStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListStaticSiteBuildAppSettings.json @@ -206,9 +201,8 @@ public async Task GetStaticSiteBuildAppSettings_GetAppSettingsOfAStaticSiteBuild Console.WriteLine($"Succeeded: {result}"); } - // Get function app settings of a static site build - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFunctionAppSettings_GetFunctionAppSettingsOfAStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListStaticSiteBuildFunctionAppSettings.json @@ -234,9 +228,8 @@ public async Task GetFunctionAppSettings_GetFunctionAppSettingsOfAStaticSiteBuil Console.WriteLine($"Succeeded: {result}"); } - // List full details of database connections for the static site build. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBuildDatabaseConnectionsWithDetails_ListFullDetailsOfDatabaseConnectionsForTheStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteBuildDatabaseConnectionsWithDetails.json @@ -263,12 +256,11 @@ public async Task GetBuildDatabaseConnectionsWithDetails_ListFullDetailsOfDataba Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Deploy a site from a zipped package to a particular static site build - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateZipDeployment_DeployASiteFromAZippedPackageToAParticularStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/StaticSiteBuildZipDeploy.json @@ -299,7 +291,7 @@ public async Task CreateZipDeployment_DeployASiteFromAZippedPackageToAParticular }; await staticSiteBuild.CreateZipDeploymentAsync(WaitUntil.Completed, staticSiteZipDeploymentEnvelope); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildUserProvidedFunctionAppCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildUserProvidedFunctionAppCollection.cs index 7e92a4709e626..d5994851e717c 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildUserProvidedFunctionAppCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildUserProvidedFunctionAppCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_StaticSiteBuildUserProvidedFunctionAppCollection { - // Get details of the user provided function apps registered with a static site build. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetDetailsOfTheUserProvidedFunctionAppsRegisteredWithAStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetUserProvidedFunctionAppsForStaticSiteBuild.json @@ -49,12 +49,11 @@ public async Task GetAll_GetDetailsOfTheUserProvidedFunctionAppsRegisteredWithAS Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get details of the user provided function app registered with a static site build. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfTheUserProvidedFunctionAppRegisteredWithAStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetUserProvidedFunctionAppForStaticSiteBuild.json @@ -88,9 +87,8 @@ public async Task Get_GetDetailsOfTheUserProvidedFunctionAppRegisteredWithAStati Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get details of the user provided function app registered with a static site build. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDetailsOfTheUserProvidedFunctionAppRegisteredWithAStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetUserProvidedFunctionAppForStaticSiteBuild.json @@ -120,9 +118,8 @@ public async Task Exists_GetDetailsOfTheUserProvidedFunctionAppRegisteredWithASt Console.WriteLine($"Succeeded: {result}"); } - // Get details of the user provided function app registered with a static site build. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDetailsOfTheUserProvidedFunctionAppRegisteredWithAStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetUserProvidedFunctionAppForStaticSiteBuild.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetDetailsOfTheUserProvidedFunctionAppRegisteredWi if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_GetDetailsOfTheUserProvidedFunctionAppRegisteredWi } } - // Register a user provided function app with a static site build - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RegisterAUserProvidedFunctionAppWithAStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/RegisterUserProvidedFunctionAppWithStaticSiteBuild.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildUserProvidedFunctionAppResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildUserProvidedFunctionAppResource.cs index fa56ac81e6cab..d13de4ebd010c 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildUserProvidedFunctionAppResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteBuildUserProvidedFunctionAppResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_StaticSiteBuildUserProvidedFunctionAppResource { - // Get details of the user provided function app registered with a static site build. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfTheUserProvidedFunctionAppRegisteredWithAStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetUserProvidedFunctionAppForStaticSiteBuild.json @@ -47,9 +47,8 @@ public async Task Get_GetDetailsOfTheUserProvidedFunctionAppRegisteredWithAStati Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Register a user provided function app with a static site build - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RegisterAUserProvidedFunctionAppWithAStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/RegisterUserProvidedFunctionAppWithStaticSiteBuild.json @@ -87,9 +86,8 @@ public async Task Update_RegisterAUserProvidedFunctionAppWithAStaticSiteBuild() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Detach the user provided function app from the static site build. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DetachTheUserProvidedFunctionAppFromTheStaticSiteBuild() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DetachUserProvidedFunctionAppFromStaticSiteBuild.json @@ -113,7 +111,7 @@ public async Task Delete_DetachTheUserProvidedFunctionAppFromTheStaticSiteBuild( // invoke the operation await staticSiteBuildUserProvidedFunctionApp.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteCollection.cs index 09958f2ed2180..90c6e2a55e41d 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppService.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_StaticSiteCollection { - // Get static sites for a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetStaticSitesForAResourceGroup() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSites.json @@ -49,12 +49,11 @@ public async Task GetAll_GetStaticSitesForAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get details for a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSite.json @@ -86,9 +85,8 @@ public async Task Get_GetDetailsForAStaticSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get details for a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDetailsForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSite.json @@ -116,9 +114,8 @@ public async Task Exists_GetDetailsForAStaticSite() Console.WriteLine($"Succeeded: {result}"); } - // Get details for a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDetailsForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSite.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetDetailsForAStaticSite() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetDetailsForAStaticSite() } } - // Create or update a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateStaticSite.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteCustomDomainOverviewCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteCustomDomainOverviewCollection.cs index 245215f5b9567..bb2d59f69013e 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteCustomDomainOverviewCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteCustomDomainOverviewCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_StaticSiteCustomDomainOverviewCollection { - // List custom domains for a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCustomDomainsForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteCustomDomains.json @@ -49,12 +49,11 @@ public async Task GetAll_ListCustomDomainsForAStaticSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get custom domain for a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCustomDomainForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteCustomDomain.json @@ -87,9 +86,8 @@ public async Task Get_GetCustomDomainForAStaticSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get custom domain for a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCustomDomainForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteCustomDomain.json @@ -118,9 +116,8 @@ public async Task Exists_GetCustomDomainForAStaticSite() Console.WriteLine($"Succeeded: {result}"); } - // Get custom domain for a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCustomDomainForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteCustomDomain.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetCustomDomainForAStaticSite() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetCustomDomainForAStaticSite() } } - // Create or update a custom domain for a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateACustomDomainForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateStaticSiteCustomDomain.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteCustomDomainOverviewResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteCustomDomainOverviewResource.cs index 90e3d5720700e..878926c46cfcd 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteCustomDomainOverviewResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteCustomDomainOverviewResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_StaticSiteCustomDomainOverviewResource { - // Get custom domain for a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCustomDomainForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteCustomDomain.json @@ -47,9 +47,8 @@ public async Task Get_GetCustomDomainForAStaticSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a custom domain for a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateACustomDomainForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateStaticSiteCustomDomain.json @@ -81,9 +80,8 @@ public async Task Update_CreateOrUpdateACustomDomainForAStaticSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a custom domain for a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteACustomDomainForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteStaticSiteCustomDomain.json @@ -106,12 +104,11 @@ public async Task Delete_DeleteACustomDomainForAStaticSite() // invoke the operation await staticSiteCustomDomainOverview.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Validate a custom domain for a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateCustomDomainCanBeAddedToStaticSite_ValidateACustomDomainForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ValidateStaticSiteCustomDomain.json @@ -135,7 +132,7 @@ public async Task ValidateCustomDomainCanBeAddedToStaticSite_ValidateACustomDoma StaticSiteCustomDomainContent content = new StaticSiteCustomDomainContent(); await staticSiteCustomDomainOverview.ValidateCustomDomainCanBeAddedToStaticSiteAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteDatabaseConnectionCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteDatabaseConnectionCollection.cs index f3815b0690776..c18a5b896d333 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteDatabaseConnectionCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteDatabaseConnectionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_StaticSiteDatabaseConnectionCollection { - // List overviews of database connections for the static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListOverviewsOfDatabaseConnectionsForTheStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteDatabaseConnections.json @@ -48,12 +48,11 @@ public async Task GetAll_ListOverviewsOfDatabaseConnectionsForTheStaticSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get overview of database connections for the static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetOverviewOfDatabaseConnectionsForTheStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteDatabaseConnection.json @@ -86,9 +85,8 @@ public async Task Get_GetOverviewOfDatabaseConnectionsForTheStaticSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get overview of database connections for the static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetOverviewOfDatabaseConnectionsForTheStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteDatabaseConnection.json @@ -117,9 +115,8 @@ public async Task Exists_GetOverviewOfDatabaseConnectionsForTheStaticSite() Console.WriteLine($"Succeeded: {result}"); } - // Get overview of database connections for the static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetOverviewOfDatabaseConnectionsForTheStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteDatabaseConnection.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetOverviewOfDatabaseConnectionsForTheStaticSite() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GetOverviewOfDatabaseConnectionsForTheStaticSite() } } - // Create or update a database connection for a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateADatabaseConnectionForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateStaticSiteDatabaseConnection.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteDatabaseConnectionResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteDatabaseConnectionResource.cs index 969b9b17f48ac..93f05fd17851d 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteDatabaseConnectionResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteDatabaseConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_StaticSiteDatabaseConnectionResource { - // Get overview of database connections for the static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetOverviewOfDatabaseConnectionsForTheStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteDatabaseConnection.json @@ -47,9 +47,8 @@ public async Task Get_GetOverviewOfDatabaseConnectionsForTheStaticSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a database connection from a static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteADatabaseConnectionFromAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteStaticSiteDatabaseConnection.json @@ -72,12 +71,11 @@ public async Task Delete_DeleteADatabaseConnectionFromAStaticSite() // invoke the operation await staticSiteDatabaseConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Patch a database connection for a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchADatabaseConnectionForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/PatchStaticSiteDatabaseConnection.json @@ -108,9 +106,8 @@ public async Task Update_PatchADatabaseConnectionForAStaticSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get details of database connections for the static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDatabaseConnectionWithDetails_GetDetailsOfDatabaseConnectionsForTheStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteDatabaseConnectionWithDetails.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteLinkedBackendCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteLinkedBackendCollection.cs index a36f4640d4315..92fa05e0988d5 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteLinkedBackendCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteLinkedBackendCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_StaticSiteLinkedBackendCollection { - // Get details of the linked backends registered with a static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetDetailsOfTheLinkedBackendsRegisteredWithAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetLinkedBackendsForStaticSite.json @@ -48,12 +48,11 @@ public async Task GetAll_GetDetailsOfTheLinkedBackendsRegisteredWithAStaticSite( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get details of the linked backend registered with a static site by name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfTheLinkedBackendRegisteredWithAStaticSiteByName() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetLinkedBackendForStaticSite.json @@ -86,9 +85,8 @@ public async Task Get_GetDetailsOfTheLinkedBackendRegisteredWithAStaticSiteByNam Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get details of the linked backend registered with a static site by name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDetailsOfTheLinkedBackendRegisteredWithAStaticSiteByName() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetLinkedBackendForStaticSite.json @@ -117,9 +115,8 @@ public async Task Exists_GetDetailsOfTheLinkedBackendRegisteredWithAStaticSiteBy Console.WriteLine($"Succeeded: {result}"); } - // Get details of the linked backend registered with a static site by name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDetailsOfTheLinkedBackendRegisteredWithAStaticSiteByName() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetLinkedBackendForStaticSite.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetDetailsOfTheLinkedBackendRegisteredWithAStaticS if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GetDetailsOfTheLinkedBackendRegisteredWithAStaticS } } - // Link a backend to a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_LinkABackendToAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/LinkBackendToStaticSite.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteLinkedBackendResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteLinkedBackendResource.cs index a091f9a43bf0a..35d71f87a2132 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteLinkedBackendResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteLinkedBackendResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_StaticSiteLinkedBackendResource { - // Validate if backend can be linked to static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateBackend_ValidateIfBackendCanBeLinkedToStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ValidateLinkedBackendForStaticSite.json @@ -44,12 +44,11 @@ public async Task ValidateBackend_ValidateIfBackendCanBeLinkedToStaticSite() }; await staticSiteLinkedBackend.ValidateBackendAsync(WaitUntil.Completed, data); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get details of the linked backend registered with a static site by name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfTheLinkedBackendRegisteredWithAStaticSiteByName() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetLinkedBackendForStaticSite.json @@ -79,9 +78,8 @@ public async Task Get_GetDetailsOfTheLinkedBackendRegisteredWithAStaticSiteByNam Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Link a backend to a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_LinkABackendToAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/LinkBackendToStaticSite.json @@ -117,9 +115,8 @@ public async Task Update_LinkABackendToAStaticSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Unlink a backend from a static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_UnlinkABackendFromAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UnlinkBackendFromStaticSite.json @@ -142,7 +139,7 @@ public async Task Delete_UnlinkABackendFromAStaticSite() // invoke the operation await staticSiteLinkedBackend.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSitePrivateEndpointConnectionCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSitePrivateEndpointConnectionCollection.cs index a1ecd59ccc82c..3272005b4edec 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSitePrivateEndpointConnectionCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSitePrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_StaticSitePrivateEndpointConnectionCollection { - // Get a list of private endpoint connections associated with a site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAListOfPrivateEndpointConnectionsAssociatedWithASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSitePrivateEndpointConnectionList.json @@ -49,12 +49,11 @@ public async Task GetAll_GetAListOfPrivateEndpointConnectionsAssociatedWithASite Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a private endpoint connection for a site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPrivateEndpointConnectionForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSitePrivateEndpointConnection.json @@ -87,9 +86,8 @@ public async Task Get_GetAPrivateEndpointConnectionForASite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a private endpoint connection for a site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAPrivateEndpointConnectionForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSitePrivateEndpointConnection.json @@ -118,9 +116,8 @@ public async Task Exists_GetAPrivateEndpointConnectionForASite() Console.WriteLine($"Succeeded: {result}"); } - // Get a private endpoint connection for a site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAPrivateEndpointConnectionForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSitePrivateEndpointConnection.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetAPrivateEndpointConnectionForASite() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetAPrivateEndpointConnectionForASite() } } - // Approves or rejects a private endpoint connection for a site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApprovesOrRejectsAPrivateEndpointConnectionForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ApproveRejectSitePrivateEndpointConnection.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSitePrivateEndpointConnectionResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSitePrivateEndpointConnectionResource.cs index 60cf3e583ad63..7c056c0bb3c8a 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSitePrivateEndpointConnectionResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSitePrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_StaticSitePrivateEndpointConnectionResource { - // Get a private endpoint connection for a site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPrivateEndpointConnectionForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSitePrivateEndpointConnection.json @@ -47,9 +47,8 @@ public async Task Get_GetAPrivateEndpointConnectionForASite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Approves or rejects a private endpoint connection for a site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApprovesOrRejectsAPrivateEndpointConnectionForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ApproveRejectSitePrivateEndpointConnection.json @@ -89,9 +88,8 @@ public async Task Update_ApprovesOrRejectsAPrivateEndpointConnectionForASite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a private endpoint connection for a site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAPrivateEndpointConnectionForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteSitePrivateEndpointConnection.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteResource.cs index c88eef37badd5..e94449b0f9897 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppService.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_StaticSiteResource { - // Get all static sites in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStaticSites_GetAllStaticSitesInASubscription() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetAllStaticSites.json @@ -45,12 +45,11 @@ public async Task GetStaticSites_GetAllStaticSitesInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get details for a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSite.json @@ -79,9 +78,8 @@ public async Task Get_GetDetailsForAStaticSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteStaticSite.json @@ -103,12 +101,11 @@ public async Task Delete_DeleteAStaticSite() // invoke the operation await staticSite.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Patch a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/PatchStaticSite.json @@ -138,9 +135,8 @@ public async Task Update_PatchAStaticSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List users for a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsers_ListUsersForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListStaticSiteUsers.json @@ -166,12 +162,11 @@ public async Task GetUsers_ListUsersForAStaticSite() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Delete a user for a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteUser_DeleteAUserForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteStaticSiteUser.json @@ -195,12 +190,11 @@ public async Task DeleteUser_DeleteAUserForAStaticSite() string userid = "1234"; await staticSite.DeleteUserAsync(authprovider, userid); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create or update a user for a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateUser_CreateOrUpdateAUserForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdateStaticSiteUser.json @@ -231,9 +225,8 @@ public async Task UpdateUser_CreateOrUpdateAUserForAStaticSite() Console.WriteLine($"Succeeded: {result}"); } - // Creates or updates the app settings of a static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateAppSettings_CreatesOrUpdatesTheAppSettingsOfAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateStaticSiteAppSettings.json @@ -266,9 +259,8 @@ public async Task CreateOrUpdateAppSettings_CreatesOrUpdatesTheAppSettingsOfASta Console.WriteLine($"Succeeded: {result}"); } - // Creates or updates the function app settings of a static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateFunctionAppSettings_CreatesOrUpdatesTheFunctionAppSettingsOfAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateStaticSiteFunctionAppSettings.json @@ -301,9 +293,8 @@ public async Task CreateOrUpdateFunctionAppSettings_CreatesOrUpdatesTheFunctionA Console.WriteLine($"Succeeded: {result}"); } - // Create an invitation link for a user for a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateUserRolesInvitationLink_CreateAnInvitationLinkForAUserForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateUserRolesInvitationLink.json @@ -336,9 +327,8 @@ public async Task CreateUserRolesInvitationLink_CreateAnInvitationLinkForAUserFo Console.WriteLine($"Succeeded: {result}"); } - // Detach a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Detach_DetachAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DetachStaticSite.json @@ -360,12 +350,11 @@ public async Task Detach_DetachAStaticSite() // invoke the operation await staticSite.DetachAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the functions of a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStaticSiteFunctions_GetsTheFunctionsOfAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListStaticSiteFunctions.json @@ -390,12 +379,11 @@ public async Task GetStaticSiteFunctions_GetsTheFunctionsOfAStaticSite() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get app settings of a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAppSettings_GetAppSettingsOfAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListStaticSiteAppSettings.json @@ -420,9 +408,8 @@ public async Task GetAppSettings_GetAppSettingsOfAStaticSite() Console.WriteLine($"Succeeded: {result}"); } - // Lists the configured roles for a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConfiguredRoles_ListsTheConfiguredRolesForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListStaticSiteConfiguredRoles.json @@ -447,9 +434,8 @@ public async Task GetConfiguredRoles_ListsTheConfiguredRolesForAStaticSite() Console.WriteLine($"Succeeded: {result}"); } - // Get function app settings of a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFunctionAppSettings_GetFunctionAppSettingsOfAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListStaticSiteFunctionAppSettings.json @@ -474,9 +460,8 @@ public async Task GetFunctionAppSettings_GetFunctionAppSettingsOfAStaticSite() Console.WriteLine($"Succeeded: {result}"); } - // List secrets for a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStaticSiteSecrets_ListSecretsForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListStaticSiteSecrets.json @@ -501,9 +486,8 @@ public async Task GetStaticSiteSecrets_ListSecretsForAStaticSite() Console.WriteLine($"Succeeded: {result}"); } - // Get private link resources of a site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinkResources_GetPrivateLinkResourcesOfASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSitePrivateLinkResources.json @@ -528,12 +512,11 @@ public async Task GetPrivateLinkResources_GetPrivateLinkResourcesOfASite() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Reset the api key for a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResetApiKey_ResetTheApiKeyForAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ResetStaticSiteApiKey.json @@ -560,12 +543,11 @@ public async Task ResetApiKey_ResetTheApiKeyForAStaticSite() }; await staticSite.ResetApiKeyAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List full details of database connections for the static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDatabaseConnectionsWithDetails_ListFullDetailsOfDatabaseConnectionsForTheStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetStaticSiteDatabaseConnectionsWithDetails.json @@ -591,12 +573,11 @@ public async Task GetDatabaseConnectionsWithDetails_ListFullDetailsOfDatabaseCon Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Deploy a site from a zipped package - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateZipDeploymentForStaticSite_DeployASiteFromAZippedPackage() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/StaticSiteZipDeploy.json @@ -626,7 +607,7 @@ public async Task CreateZipDeploymentForStaticSite_DeployASiteFromAZippedPackage }; await staticSite.CreateZipDeploymentForStaticSiteAsync(WaitUntil.Completed, staticSiteZipDeploymentEnvelope); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteUserProvidedFunctionAppCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteUserProvidedFunctionAppCollection.cs index fe182a4f46223..885a0bb411908 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteUserProvidedFunctionAppCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteUserProvidedFunctionAppCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_StaticSiteUserProvidedFunctionAppCollection { - // Get details of the user provided function apps registered with a static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetDetailsOfTheUserProvidedFunctionAppsRegisteredWithAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetUserProvidedFunctionAppsForStaticSite.json @@ -48,12 +48,11 @@ public async Task GetAll_GetDetailsOfTheUserProvidedFunctionAppsRegisteredWithAS Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get details of the user provided function app registered with a static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfTheUserProvidedFunctionAppRegisteredWithAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetUserProvidedFunctionAppForStaticSite.json @@ -86,9 +85,8 @@ public async Task Get_GetDetailsOfTheUserProvidedFunctionAppRegisteredWithAStati Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get details of the user provided function app registered with a static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDetailsOfTheUserProvidedFunctionAppRegisteredWithAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetUserProvidedFunctionAppForStaticSite.json @@ -117,9 +115,8 @@ public async Task Exists_GetDetailsOfTheUserProvidedFunctionAppRegisteredWithASt Console.WriteLine($"Succeeded: {result}"); } - // Get details of the user provided function app registered with a static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDetailsOfTheUserProvidedFunctionAppRegisteredWithAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetUserProvidedFunctionAppForStaticSite.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetDetailsOfTheUserProvidedFunctionAppRegisteredWi if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GetDetailsOfTheUserProvidedFunctionAppRegisteredWi } } - // Register a user provided function app with a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RegisterAUserProvidedFunctionAppWithAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/RegisterUserProvidedFunctionAppWithStaticSite.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteUserProvidedFunctionAppResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteUserProvidedFunctionAppResource.cs index 829ecea369c12..5784b4e5e61b3 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteUserProvidedFunctionAppResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_StaticSiteUserProvidedFunctionAppResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_StaticSiteUserProvidedFunctionAppResource { - // Get details of the user provided function app registered with a static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfTheUserProvidedFunctionAppRegisteredWithAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetUserProvidedFunctionAppForStaticSite.json @@ -46,9 +46,8 @@ public async Task Get_GetDetailsOfTheUserProvidedFunctionAppRegisteredWithAStati Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Register a user provided function app with a static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RegisterAUserProvidedFunctionAppWithAStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/RegisterUserProvidedFunctionAppWithStaticSite.json @@ -85,9 +84,8 @@ public async Task Update_RegisterAUserProvidedFunctionAppWithAStaticSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Detach the user provided function app from the static site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DetachTheUserProvidedFunctionAppFromTheStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DetachUserProvidedFunctionAppFromStaticSite.json @@ -110,7 +108,7 @@ public async Task Delete_DetachTheUserProvidedFunctionAppFromTheStaticSite() // invoke the operation await staticSiteUserProvidedFunctionApp.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 05152db06f55c..44c0446e7daba 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppService.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Validate App Service Certificate purchase information by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateAppServiceCertificateOrderPurchaseInformation_ValidateAppServiceCertificatePurchaseInformationBySubscription() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/ValidateAppServiceCertificatePurchaseInformationBySubscription.json @@ -59,12 +59,11 @@ public async Task ValidateAppServiceCertificateOrderPurchaseInformation_Validate }; await subscriptionResource.ValidateAppServiceCertificateOrderPurchaseInformationAsync(data); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Check domain availability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckAppServiceDomainRegistrationAvailability_CheckDomainAvailability() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/CheckDomainAvailability.json @@ -91,9 +90,8 @@ public async Task CheckAppServiceDomainRegistrationAvailability_CheckDomainAvail Console.WriteLine($"Succeeded: {result}"); } - // Get Domain Control Center Sso Request - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetControlCenterSsoRequestDomain_GetDomainControlCenterSsoRequest() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/GetDomainControlCenterSsoRequest.json @@ -116,9 +114,8 @@ public async Task GetControlCenterSsoRequestDomain_GetDomainControlCenterSsoRequ Console.WriteLine($"Succeeded: {result}"); } - // List domain recommendations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAppServiceDomainRecommendations_ListDomainRecommendations() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/ListDomainRecommendations.json @@ -146,12 +143,11 @@ public async Task GetAppServiceDomainRecommendations_ListDomainRecommendations() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List ResourceHealthMetadata for a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllResourceHealthMetadata_ListResourceHealthMetadataForASubscription() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListResourceHealthMetadataBySubscription.json @@ -175,12 +171,11 @@ public async Task GetAllResourceHealthMetadata_ListResourceHealthMetadataForASub Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get custom hostnames under subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCustomHostNameSites_GetCustomHostnamesUnderSubscription() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListCustomHostNameSites.json @@ -203,12 +198,11 @@ public async Task GetCustomHostNameSites_GetCustomHostnamesUnderSubscription() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get specific custom hostname under subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCustomHostNameSites_GetSpecificCustomHostnameUnderSubscription() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListCustomSpecificHostNameSites.json @@ -232,12 +226,11 @@ public async Task GetCustomHostNameSites_GetSpecificCustomHostnameUnderSubscript Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List aseregions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAseRegions_ListAseregions() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListAseRegions.json @@ -260,12 +253,11 @@ public async Task GetAseRegions_ListAseregions() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VerifyHostingEnvironmentVnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task VerifyHostingEnvironmentVnet_VerifyHostingEnvironmentVnet() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/VerifyHostingEnvironmentVnet.json @@ -294,9 +286,8 @@ public async Task VerifyHostingEnvironmentVnet_VerifyHostingEnvironmentVnet() Console.WriteLine($"Succeeded: {result}"); } - // Get usages in location for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetGetUsagesInLocations_GetUsagesInLocationForSubscription() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetUsagesInLocation.json @@ -320,12 +311,11 @@ public async Task GetGetUsagesInLocations_GetUsagesInLocationForSubscription() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Generates a preview workflow file for the static site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PreviewStaticSiteWorkflow_GeneratesAPreviewWorkflowFileForTheStaticSite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GenerateStaticSiteWorkflowPreview.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_TenantResourceExtensions.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_TenantResourceExtensions.cs index 787f296339e8c..b21b6c62046d6 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_TenantResourceExtensions.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_TenantResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_TenantResourceExtensions { - // List operations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOperationsCertificateRegistrationProviders_ListOperations() { // Generated from example definition: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2023-12-01/examples/ListOperations.json @@ -38,12 +38,11 @@ public async Task GetOperationsCertificateRegistrationProviders_ListOperations() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List operations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOperationsDomainRegistrationProviders_ListOperations() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/ListOperations.json @@ -64,12 +63,11 @@ public async Task GetOperationsDomainRegistrationProviders_ListOperations() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Function App Stacks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFunctionAppStacksProviders_GetFunctionAppStacks() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetFunctionAppStacks.json @@ -90,12 +88,11 @@ public async Task GetFunctionAppStacksProviders_GetFunctionAppStacks() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Locations Function App Stacks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFunctionAppStacksForLocationProviders_GetLocationsFunctionAppStacks() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetFunctionAppStacksForLocation.json @@ -117,12 +114,11 @@ public async Task GetFunctionAppStacksForLocationProviders_GetLocationsFunctionA Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Locations Web App Stacks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetWebAppStacksByLocation_GetLocationsWebAppStacks() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebAppStacksForLocation.json @@ -144,12 +140,11 @@ public async Task GetWebAppStacksByLocation_GetLocationsWebAppStacks() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List operations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOperationsProviders_ListOperations() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListOperations.json @@ -170,12 +165,11 @@ public async Task GetOperationsProviders_ListOperations() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Web App Stacks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetWebAppStacksProviders_GetWebAppStacks() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebAppStacks.json @@ -196,7 +190,7 @@ public async Task GetWebAppStacksProviders_GetWebAppStacks() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_TopLevelDomainCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_TopLevelDomainCollection.cs index fa1d506447de6..1174401c447b9 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_TopLevelDomainCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_TopLevelDomainCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_TopLevelDomainCollection { - // List Top Level Domains - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTopLevelDomains() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/ListTopLevelDomains.json @@ -47,12 +47,11 @@ public async Task GetAll_ListTopLevelDomains() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Top Level Domain - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTopLevelDomain() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/GetTopLevelDomain.json @@ -83,9 +82,8 @@ public async Task Get_GetTopLevelDomain() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Top Level Domain - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTopLevelDomain() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/GetTopLevelDomain.json @@ -112,9 +110,8 @@ public async Task Exists_GetTopLevelDomain() Console.WriteLine($"Succeeded: {result}"); } - // Get Top Level Domain - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTopLevelDomain() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/GetTopLevelDomain.json @@ -141,7 +138,7 @@ public async Task GetIfExists_GetTopLevelDomain() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_TopLevelDomainResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_TopLevelDomainResource.cs index 840c7e08a18ec..a420fe35b046b 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_TopLevelDomainResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_TopLevelDomainResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_TopLevelDomainResource { - // Get Top Level Domain - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTopLevelDomain() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/GetTopLevelDomain.json @@ -45,9 +45,8 @@ public async Task Get_GetTopLevelDomain() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List Top Level Domain Agreements - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAgreements_ListTopLevelDomainAgreements() { // Generated from example definition: specification/web/resource-manager/Microsoft.DomainRegistration/stable/2023-12-01/examples/ListTopLevelDomainAgreements.json @@ -76,7 +75,7 @@ public async Task GetAgreements_ListTopLevelDomainAgreements() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebAppRequestHistoryCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebAppRequestHistoryCollection.cs index 40ed24c5c37e4..4cdf70b59aa26 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebAppRequestHistoryCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebAppRequestHistoryCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WebAppRequestHistoryCollection { - // List repetition request history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRepetitionRequestHistory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActionRepetitionsRequestHistories_List.json @@ -52,12 +52,11 @@ public async Task GetAll_ListRepetitionRequestHistory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a repetition request history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARepetitionRequestHistory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json @@ -94,9 +93,8 @@ public async Task Get_GetARepetitionRequestHistory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a repetition request history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetARepetitionRequestHistory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json @@ -129,9 +127,8 @@ public async Task Exists_GetARepetitionRequestHistory() Console.WriteLine($"Succeeded: {result}"); } - // Get a repetition request history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetARepetitionRequestHistory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json @@ -164,7 +161,7 @@ public async Task GetIfExists_GetARepetitionRequestHistory() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebAppRequestHistoryResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebAppRequestHistoryResource.cs index 7e3ba305cdb75..63dd00b9345fd 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebAppRequestHistoryResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebAppRequestHistoryResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WebAppRequestHistoryResource { - // Get a repetition request history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARepetitionRequestHistory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteCollection.cs index d112cdb6df3be..fa7d7a1c3c193 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppService.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WebSiteCollection { - // List Web Apps by Resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWebAppsByResourceGroup() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListWebAppsByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListWebAppsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Web App - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWebApp() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebApp.json @@ -86,9 +85,8 @@ public async Task Get_GetWebApp() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Web App - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWebApp() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebApp.json @@ -116,9 +114,8 @@ public async Task Exists_GetWebApp() Console.WriteLine($"Succeeded: {result}"); } - // Get Web App - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWebApp() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebApp.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetWebApp() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetWebApp() } } - // Clone web app - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CloneWebApp() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CloneWebApp.json @@ -211,9 +207,8 @@ public async Task CreateOrUpdate_CloneWebApp() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Flex Consumption function app - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateFlexConsumptionFunctionApp() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateFunctionAppFlexConsumption.json @@ -288,9 +283,8 @@ public async Task CreateOrUpdate_CreateOrUpdateFlexConsumptionFunctionApp() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Flex Consumption function app with details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateFlexConsumptionFunctionAppWithDetails() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateFunctionAppFlexConsumptionWithDetails.json @@ -374,9 +368,8 @@ public async Task CreateOrUpdate_CreateOrUpdateFlexConsumptionFunctionAppWithDet Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update web app - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWebApp() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateWebApp.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteConfigResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteConfigResource.cs index 079e2ef73bc15..8dd5edef4ab26 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteConfigResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteConfigResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WebSiteConfigResource { - // Get Site Config - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSiteConfig() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSiteConfig.json @@ -46,9 +46,8 @@ public async Task Get_GetSiteConfig() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Site Config - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateSiteConfig() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdateSiteConfig.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteFtpPublishingCredentialsPolicyResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteFtpPublishingCredentialsPolicyResource.cs index 4dfc7654a27b9..6a6091f89ae02 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteFtpPublishingCredentialsPolicyResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteFtpPublishingCredentialsPolicyResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WebSiteFtpPublishingCredentialsPolicyResource { - // Get FTP Allowed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFTPAllowed() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetPublishingCredentialsPolicy.json @@ -45,9 +45,8 @@ public async Task Get_GetFTPAllowed() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update FTP Allowed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateFTPAllowed() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdatePublishingCredentialsPolicy.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteResource.cs index d5d6b3a204fb0..f8d9989a11ab1 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteResource.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.AppService.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WebSiteResource { - // List Web apps for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetWebSites_ListWebAppsForSubscription() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListWebApps.json @@ -46,12 +46,11 @@ public async Task GetWebSites_ListWebAppsForSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Web App - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWebApp() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebApp.json @@ -80,9 +79,8 @@ public async Task Get_GetWebApp() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Web app - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWebApp() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteWebApp.json @@ -104,12 +102,11 @@ public async Task Delete_DeleteWebApp() // invoke the operation await webSite.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update web app - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateWebApp() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdateWebApp.json @@ -142,9 +139,8 @@ public async Task Update_UpdateWebApp() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Analyze custom hostname for webapp. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AnalyzeCustomHostname_AnalyzeCustomHostnameForWebapp() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AnalyzeCustomHostName.json @@ -169,9 +165,8 @@ public async Task AnalyzeCustomHostname_AnalyzeCustomHostnameForWebapp() Console.WriteLine($"Succeeded: {result}"); } - // Apply web app slot config - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ApplySlotConfigToProduction_ApplyWebAppSlotConfig() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ApplySlotConfig.json @@ -194,12 +189,11 @@ public async Task ApplySlotConfigToProduction_ApplyWebAppSlotConfig() CsmSlotEntity slotSwapEntity = new CsmSlotEntity("staging", true); await webSite.ApplySlotConfigToProductionAsync(slotSwapEntity); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Backup web app - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Backup_BackupWebApp() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/BackupWebApp.json @@ -249,9 +243,8 @@ public async Task Backup_BackupWebApp() Console.WriteLine($"Succeeded on id: {result.Id}"); } - // List web app configurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllConfigurationData_ListWebAppConfigurations() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListWebAppConfigurations.json @@ -277,12 +270,11 @@ public async Task GetAllConfigurationData_ListWebAppConfigurations() Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update App Settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateApplicationSettings_UpdateAppSettings() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdateAppSettings.json @@ -315,9 +307,8 @@ public async Task UpdateApplicationSettings_UpdateAppSettings() Console.WriteLine($"Succeeded: {result}"); } - // List App Settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApplicationSettings_ListAppSettings() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListAppSettings.json @@ -342,9 +333,8 @@ public async Task GetApplicationSettings_ListAppSettings() Console.WriteLine($"Succeeded: {result}"); } - // Update Auth Settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateAuthSettings_UpdateAuthSettings() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdateAuthSettings.json @@ -383,9 +373,8 @@ public async Task UpdateAuthSettings_UpdateAuthSettings() Console.WriteLine($"Succeeded: {result}"); } - // List Auth Settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAuthSettings_ListAuthSettings() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListAuthSettings.json @@ -410,9 +399,8 @@ public async Task GetAuthSettings_ListAuthSettings() Console.WriteLine($"Succeeded: {result}"); } - // List Auth Settings without Secrets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAuthSettingsV2WithoutSecrets_ListAuthSettingsWithoutSecrets() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetAuthSettingsV2WithoutSecrets.json @@ -437,9 +425,8 @@ public async Task GetAuthSettingsV2WithoutSecrets_ListAuthSettingsWithoutSecrets Console.WriteLine($"Succeeded: {result}"); } - // Update Auth Settings V2 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateAuthSettingsV2_UpdateAuthSettingsV2() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdateAuthSettingsV2.json @@ -537,9 +524,8 @@ public async Task UpdateAuthSettingsV2_UpdateAuthSettingsV2() Console.WriteLine($"Succeeded: {result}"); } - // List Auth Settings V2 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAuthSettingsV2_ListAuthSettingsV2() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListAuthSettingsV2.json @@ -564,9 +550,8 @@ public async Task GetAuthSettingsV2_ListAuthSettingsV2() Console.WriteLine($"Succeeded: {result}"); } - // Update Azure Storage Accounts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateAzureStorageAccounts_UpdateAzureStorageAccounts() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdateAzureStorageAccounts.json @@ -605,9 +590,8 @@ public async Task UpdateAzureStorageAccounts_UpdateAzureStorageAccounts() Console.WriteLine($"Succeeded: {result}"); } - // List Deployment Status - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetProductionSiteDeploymentStatuses_ListDeploymentStatus() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListSiteDeploymentStatus.json @@ -632,12 +616,11 @@ public async Task GetProductionSiteDeploymentStatuses_ListDeploymentStatus() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Deployment Status - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetProductionSiteDeploymentStatus_GetDeploymentStatus() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSiteDeploymentStatus.json @@ -664,9 +647,8 @@ public async Task GetProductionSiteDeploymentStatus_GetDeploymentStatus() Console.WriteLine($"Succeeded: {result}"); } - // List backups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllSiteBackupData_ListBackups() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListSlotBackups.json @@ -692,12 +674,11 @@ public async Task GetAllSiteBackupData_ListBackups() Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the current status of a network trace operation for a site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkTraceOperation_GetTheCurrentStatusOfANetworkTraceOperationForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebSiteNetworkTraceOperation.json @@ -723,12 +704,11 @@ public async Task GetNetworkTraceOperation_GetTheCurrentStatusOfANetworkTraceOpe Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Start a new network trace operation for a site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartWebSiteNetworkTraceOperation_StartANewNetworkTraceOperationForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/StartWebSiteNetworkTraceOperation.json @@ -755,9 +735,8 @@ public async Task StartWebSiteNetworkTraceOperation_StartANewNetworkTraceOperati Console.WriteLine($"Succeeded: {result}"); } - // Stop a currently running network trace operation for a site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StopWebSiteNetworkTrace_StopACurrentlyRunningNetworkTraceOperationForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/StopWebSiteNetworkTrace.json @@ -779,12 +758,11 @@ public async Task StopWebSiteNetworkTrace_StopACurrentlyRunningNetworkTraceOpera // invoke the operation await webSite.StopWebSiteNetworkTraceAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get NetworkTraces for a site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkTraces_GetNetworkTracesForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebSiteNetworkTraces.json @@ -810,12 +788,11 @@ public async Task GetNetworkTraces_GetNetworkTracesForASite() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the current status of a network trace operation for a site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkTraceOperationV2_GetTheCurrentStatusOfANetworkTraceOperationForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebSiteNetworkTraceOperation.json @@ -841,12 +818,11 @@ public async Task GetNetworkTraceOperationV2_GetTheCurrentStatusOfANetworkTraceO Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get NetworkTraces for a site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkTracesV2_GetNetworkTracesForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebSiteNetworkTraces.json @@ -872,12 +848,11 @@ public async Task GetNetworkTracesV2_GetNetworkTracesForASite() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get private link resources of a site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinkResources_GetPrivateLinkResourcesOfASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSitePrivateLinkResources.json @@ -902,12 +877,11 @@ public async Task GetPrivateLinkResources_GetPrivateLinkResourcesOfASite() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Start a new network trace operation for a site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartNetworkTrace_StartANewNetworkTraceOperationForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/StartWebSiteNetworkTraceOperation.json @@ -934,9 +908,8 @@ public async Task StartNetworkTrace_StartANewNetworkTraceOperationForASite() Console.WriteLine($"Succeeded: {result}"); } - // Stop a currently running network trace operation for a site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StopNetworkTrace_StopACurrentlyRunningNetworkTraceOperationForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/StopWebSiteNetworkTrace.json @@ -958,12 +931,11 @@ public async Task StopNetworkTrace_StopACurrentlyRunningNetworkTraceOperationFor // invoke the operation await webSite.StopNetworkTraceAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Delete workflow artifacts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeployWorkflowArtifacts_DeleteWorkflowArtifacts() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteDeployWorkflowArtifacts.json @@ -992,12 +964,11 @@ public async Task DeployWorkflowArtifacts_DeleteWorkflowArtifacts() }; await webSite.DeployWorkflowArtifactsAsync(workflowArtifacts: workflowArtifacts); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Deploys workflow artifacts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeployWorkflowArtifacts_DeploysWorkflowArtifacts() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/PostDeployWorkflowArtifacts.json @@ -1074,12 +1045,11 @@ public async Task DeployWorkflowArtifacts_DeploysWorkflowArtifacts() }; await webSite.DeployWorkflowArtifactsAsync(workflowArtifacts: workflowArtifacts); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List the Instance Workflows Configuration Connections - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetWorkflowsConnections_ListTheInstanceWorkflowsConfigurationConnections() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListWorkflowsConfigurationConnections.json @@ -1105,9 +1075,8 @@ public async Task GetWorkflowsConnections_ListTheInstanceWorkflowsConfigurationC Console.WriteLine($"Succeeded on id: {result.Id}"); } - // Regenerate the callback URL access key for request triggers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateAccessKeyWorkflow_RegenerateTheCallbackURLAccessKeyForRequestTriggers() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Workflows_RegenerateAccessKey.json @@ -1134,12 +1103,11 @@ public async Task RegenerateAccessKeyWorkflow_RegenerateTheCallbackURLAccessKeyF }; await webSite.RegenerateAccessKeyWorkflowAsync(workflowName, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Validate a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateWorkflow_ValidateAWorkflow() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/Workflows_Validate.json @@ -1183,7 +1151,7 @@ public async Task ValidateWorkflow_ValidateAWorkflow() }; await webSite.ValidateWorkflowAsync(workflowName, data); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteResourceHealthMetadataResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteResourceHealthMetadataResource.cs index 2706f6aeb4c78..1a3b117a3dd4b 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteResourceHealthMetadataResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteResourceHealthMetadataResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WebSiteResourceHealthMetadataResource { - // Get ResourceHealthMetadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetResourceHealthMetadata() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetResourceHealthMetadataBySite.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteSlotCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteSlotCollection.cs index 9100ae8990c97..997545825f723 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteSlotCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteSlotCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WebSiteSlotCollection { - // List Web App Slots - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWebAppSlots() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListWebAppSlots.json @@ -49,12 +49,11 @@ public async Task GetAll_ListWebAppSlots() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Web App Slot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWebAppSlot() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebAppSlot.json @@ -87,9 +86,8 @@ public async Task Get_GetWebAppSlot() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Web App Slot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWebAppSlot() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebAppSlot.json @@ -118,9 +116,8 @@ public async Task Exists_GetWebAppSlot() Console.WriteLine($"Succeeded: {result}"); } - // Get Web App Slot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWebAppSlot() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebAppSlot.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetWebAppSlot() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetWebAppSlot() } } - // Clone web app slot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CloneWebAppSlot() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CloneWebAppSlot.json @@ -215,9 +211,8 @@ public async Task CreateOrUpdate_CloneWebAppSlot() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Web App Slot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWebAppSlot() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/CreateOrUpdateWebAppSlot.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteSlotConfigAppSettingCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteSlotConfigAppSettingCollection.cs index 53c072a7d5108..424bd97c76dfb 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteSlotConfigAppSettingCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteSlotConfigAppSettingCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WebSiteSlotConfigAppSettingCollection { - // Get Azure Key Vault references for app settings for slot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAzureKeyVaultReferencesForAppSettingsForSlot() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetKeyVaultReferencesForAppSettingsSlot.json @@ -49,12 +49,11 @@ public async Task GetAll_GetAzureKeyVaultReferencesForAppSettingsForSlot() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Azure Key Vault slot app setting reference - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureKeyVaultSlotAppSettingReference() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetKeyVaultReferencesForAppSettingSlot.json @@ -88,9 +87,8 @@ public async Task Get_GetAzureKeyVaultSlotAppSettingReference() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Azure Key Vault slot app setting reference - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAzureKeyVaultSlotAppSettingReference() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetKeyVaultReferencesForAppSettingSlot.json @@ -120,9 +118,8 @@ public async Task Exists_GetAzureKeyVaultSlotAppSettingReference() Console.WriteLine($"Succeeded: {result}"); } - // Get Azure Key Vault slot app setting reference - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAzureKeyVaultSlotAppSettingReference() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetKeyVaultReferencesForAppSettingSlot.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetAzureKeyVaultSlotAppSettingReference() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteSlotConfigAppSettingResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteSlotConfigAppSettingResource.cs index bdf388da8441d..6be6c6ec16610 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteSlotConfigAppSettingResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteSlotConfigAppSettingResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WebSiteSlotConfigAppSettingResource { - // Get Azure Key Vault slot app setting reference - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureKeyVaultSlotAppSettingReference() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetKeyVaultReferencesForAppSettingSlot.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteSlotFtpPublishingCredentialsPolicyResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteSlotFtpPublishingCredentialsPolicyResource.cs index 371021097930a..9509dfb9f979a 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteSlotFtpPublishingCredentialsPolicyResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteSlotFtpPublishingCredentialsPolicyResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WebSiteSlotFtpPublishingCredentialsPolicyResource { - // Get FTP Allowed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFTPAllowed() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetPublishingCredentialsPolicySlot.json @@ -46,9 +46,8 @@ public async Task Get_GetFTPAllowed() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update FTP Allowed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateFTPAllowed() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdatePublishingCredentialsPolicySlot.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteSlotResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteSlotResource.cs index b719c908b435a..cdb4fc6b19b75 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteSlotResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteSlotResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WebSiteSlotResource { - // Get Web App Slot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWebAppSlot() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebAppSlot.json @@ -48,9 +48,8 @@ public async Task Get_GetWebAppSlot() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Web App Slot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWebAppSlot() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/DeleteWebAppSlot.json @@ -73,12 +72,11 @@ public async Task Delete_DeleteWebAppSlot() // invoke the operation await webSiteSlot.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update Web App Slot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateWebAppSlot() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/UpdateWebAppSlot.json @@ -112,9 +110,8 @@ public async Task Update_UpdateWebAppSlot() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Analyze custom hostname for slot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AnalyzeCustomHostnameSlot_AnalyzeCustomHostnameForSlot() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/AnalyzeCustomHostNameSlot.json @@ -140,9 +137,8 @@ public async Task AnalyzeCustomHostnameSlot_AnalyzeCustomHostnameForSlot() Console.WriteLine($"Succeeded: {result}"); } - // List Deployment Status Slot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSlotSiteDeploymentStatusesSlot_ListDeploymentStatusSlot() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListSiteDeploymentStatusSlot.json @@ -168,12 +164,11 @@ public async Task GetSlotSiteDeploymentStatusesSlot_ListDeploymentStatusSlot() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Deployment Status Slot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSlotSiteDeploymentStatusSlot_GetDeploymentStatusSlot() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSiteDeploymentStatusSlot.json @@ -201,9 +196,8 @@ public async Task GetSlotSiteDeploymentStatusSlot_GetDeploymentStatusSlot() Console.WriteLine($"Succeeded: {result}"); } - // List backups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllSiteBackupSlotData_ListBackups() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListSlotBackups.json @@ -230,12 +224,11 @@ public async Task GetAllSiteBackupSlotData_ListBackups() Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the current status of a network trace operation for a site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkTraceOperationSlot_GetTheCurrentStatusOfANetworkTraceOperationForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebSiteNetworkTraceOperation.json @@ -262,12 +255,11 @@ public async Task GetNetworkTraceOperationSlot_GetTheCurrentStatusOfANetworkTrac Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Start a new network trace operation for a site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartWebSiteNetworkTraceOperationSlot_StartANewNetworkTraceOperationForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/StartWebSiteNetworkTraceOperation.json @@ -295,9 +287,8 @@ public async Task StartWebSiteNetworkTraceOperationSlot_StartANewNetworkTraceOpe Console.WriteLine($"Succeeded: {result}"); } - // Stop a currently running network trace operation for a site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StopWebSiteNetworkTraceSlot_StopACurrentlyRunningNetworkTraceOperationForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/StopWebSiteNetworkTrace.json @@ -320,12 +311,11 @@ public async Task StopWebSiteNetworkTraceSlot_StopACurrentlyRunningNetworkTraceO // invoke the operation await webSiteSlot.StopWebSiteNetworkTraceSlotAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get NetworkTraces for a site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkTracesSlot_GetNetworkTracesForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebSiteNetworkTraces.json @@ -352,12 +342,11 @@ public async Task GetNetworkTracesSlot_GetNetworkTracesForASite() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the current status of a network trace operation for a site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkTraceOperationSlotV2_GetTheCurrentStatusOfANetworkTraceOperationForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebSiteNetworkTraceOperation.json @@ -384,12 +373,11 @@ public async Task GetNetworkTraceOperationSlotV2_GetTheCurrentStatusOfANetworkTr Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get NetworkTraces for a site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkTracesSlotV2_GetNetworkTracesForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetWebSiteNetworkTraces.json @@ -416,12 +404,11 @@ public async Task GetNetworkTracesSlotV2_GetNetworkTracesForASite() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get private link resources of a site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinkResourcesSlot_GetPrivateLinkResourcesOfASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetSitePrivateLinkResourcesSlot.json @@ -447,12 +434,11 @@ public async Task GetPrivateLinkResourcesSlot_GetPrivateLinkResourcesOfASite() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Start a new network trace operation for a site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartNetworkTraceSlot_StartANewNetworkTraceOperationForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/StartWebSiteNetworkTraceOperation.json @@ -480,9 +466,8 @@ public async Task StartNetworkTraceSlot_StartANewNetworkTraceOperationForASite() Console.WriteLine($"Succeeded: {result}"); } - // Stop a currently running network trace operation for a site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StopNetworkTraceSlot_StopACurrentlyRunningNetworkTraceOperationForASite() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/StopWebSiteNetworkTrace.json @@ -505,12 +490,11 @@ public async Task StopNetworkTraceSlot_StopACurrentlyRunningNetworkTraceOperatio // invoke the operation await webSiteSlot.StopNetworkTraceSlotAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Deploys workflow artifacts slot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeployWorkflowArtifactsSlot_DeploysWorkflowArtifactsSlot() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/PostDeployWorkflowArtifactsSlot.json @@ -588,12 +572,11 @@ public async Task DeployWorkflowArtifactsSlot_DeploysWorkflowArtifactsSlot() }; await webSiteSlot.DeployWorkflowArtifactsSlotAsync(workflowArtifacts: workflowArtifacts); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List the Instance Workflows Configuration Connections Slot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetWorkflowsConnectionsSlot_ListTheInstanceWorkflowsConfigurationConnectionsSlot() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/ListWorkflowsConfigurationConnections.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteSlotResourceHealthMetadataResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteSlotResourceHealthMetadataResource.cs index f0605f2e90055..0403a0c54c53e 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteSlotResourceHealthMetadataResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WebSiteSlotResourceHealthMetadataResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WebSiteSlotResourceHealthMetadataResource { - // Get ResourceHealthMetadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetResourceHealthMetadata() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/GetResourceHealthMetadataBySite.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunActionCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunActionCollection.cs index a9de422257c11..3ebda3f5dd010 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunActionCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunActionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WorkflowRunActionCollection { - // List a workflow run actions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAWorkflowRunActions() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActions_List.json @@ -50,12 +50,11 @@ public async Task GetAll_ListAWorkflowRunActions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a workflow run action - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkflowRunAction() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActions_Get.json @@ -90,9 +89,8 @@ public async Task Get_GetAWorkflowRunAction() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a workflow run action - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAWorkflowRunAction() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActions_Get.json @@ -123,9 +121,8 @@ public async Task Exists_GetAWorkflowRunAction() Console.WriteLine($"Succeeded: {result}"); } - // Get a workflow run action - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAWorkflowRunAction() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActions_Get.json @@ -156,7 +153,7 @@ public async Task GetIfExists_GetAWorkflowRunAction() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunActionRepetitionCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunActionRepetitionCollection.cs index b95f12d9267fa..8d9c98b157f55 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunActionRepetitionCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunActionRepetitionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WorkflowRunActionRepetitionCollection { - // List repetitions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRepetitions() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActionRepetitions_List.json @@ -51,12 +51,11 @@ public async Task GetAll_ListRepetitions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a repetition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARepetition() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActionRepetitions_Get.json @@ -92,9 +91,8 @@ public async Task Get_GetARepetition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a repetition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetARepetition() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActionRepetitions_Get.json @@ -126,9 +124,8 @@ public async Task Exists_GetARepetition() Console.WriteLine($"Succeeded: {result}"); } - // Get a repetition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetARepetition() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActionRepetitions_Get.json @@ -160,7 +157,7 @@ public async Task GetIfExists_GetARepetition() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunActionRepetitionResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunActionRepetitionResource.cs index 31eb2602b1e11..23a68ed5be462 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunActionRepetitionResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunActionRepetitionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WorkflowRunActionRepetitionResource { - // Get a repetition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARepetition() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActionRepetitions_Get.json @@ -50,9 +50,8 @@ public async Task Get_GetARepetition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List expression traces for a repetition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExpressionTraces_ListExpressionTracesForARepetition() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActionRepetitions_ListExpressionTraces.json @@ -81,7 +80,7 @@ public async Task GetExpressionTraces_ListExpressionTracesForARepetition() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunActionResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunActionResource.cs index 4da1db2251126..8656a0e063bf7 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunActionResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunActionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WorkflowRunActionResource { - // Get a workflow run action - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkflowRunAction() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActions_Get.json @@ -49,9 +49,8 @@ public async Task Get_GetAWorkflowRunAction() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List expression traces - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExpressionTraces_ListExpressionTraces() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActions_ListExpressionTraces.json @@ -79,7 +78,7 @@ public async Task GetExpressionTraces_ListExpressionTraces() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunActionScopeRepetitionCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunActionScopeRepetitionCollection.cs index 381c93ad67442..c58fed77ff891 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunActionScopeRepetitionCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunActionScopeRepetitionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WorkflowRunActionScopeRepetitionCollection { - // List the scoped repetitions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTheScopedRepetitions() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActionScopeRepetitions_List.json @@ -51,12 +51,11 @@ public async Task GetAll_ListTheScopedRepetitions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a scoped repetition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAScopedRepetition() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActionScopeRepetitions_Get.json @@ -92,9 +91,8 @@ public async Task Get_GetAScopedRepetition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a scoped repetition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAScopedRepetition() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActionScopeRepetitions_Get.json @@ -126,9 +124,8 @@ public async Task Exists_GetAScopedRepetition() Console.WriteLine($"Succeeded: {result}"); } - // Get a scoped repetition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAScopedRepetition() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActionScopeRepetitions_Get.json @@ -160,7 +157,7 @@ public async Task GetIfExists_GetAScopedRepetition() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunActionScopeRepetitionResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunActionScopeRepetitionResource.cs index e29adf7ab3859..4ed20ec692eb5 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunActionScopeRepetitionResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunActionScopeRepetitionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WorkflowRunActionScopeRepetitionResource { - // Get a scoped repetition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAScopedRepetition() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRunActionScopeRepetitions_Get.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunCollection.cs index 81f3e81574bf3..e50047fbd9b4e 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WorkflowRunCollection { - // List workflow runs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWorkflowRuns() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRuns_List.json @@ -49,12 +49,11 @@ public async Task GetAll_ListWorkflowRuns() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a run for a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARunForAWorkflow() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRuns_Get.json @@ -88,9 +87,8 @@ public async Task Get_GetARunForAWorkflow() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a run for a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetARunForAWorkflow() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRuns_Get.json @@ -120,9 +118,8 @@ public async Task Exists_GetARunForAWorkflow() Console.WriteLine($"Succeeded: {result}"); } - // Get a run for a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetARunForAWorkflow() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRuns_Get.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetARunForAWorkflow() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunResource.cs index 5b619006d1d0a..61283d1528f03 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowRunResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WorkflowRunResource { - // Get a run for a workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARunForAWorkflow() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRuns_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetARunForAWorkflow() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Cancel a workflow run - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cancel_CancelAWorkflowRun() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowRuns_Cancel.json @@ -73,7 +72,7 @@ public async Task Cancel_CancelAWorkflowRun() // invoke the operation await workflowRun.CancelAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowTriggerCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowTriggerCollection.cs index 502c17035643c..0e44791973e7e 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowTriggerCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowTriggerCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WorkflowTriggerCollection { - // List workflow triggers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWorkflowTriggers() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowTriggers_List.json @@ -49,12 +49,11 @@ public async Task GetAll_ListWorkflowTriggers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a workflow trigger - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkflowTrigger() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowTriggers_Get.json @@ -88,9 +87,8 @@ public async Task Get_GetAWorkflowTrigger() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a workflow trigger - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAWorkflowTrigger() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowTriggers_Get.json @@ -120,9 +118,8 @@ public async Task Exists_GetAWorkflowTrigger() Console.WriteLine($"Succeeded: {result}"); } - // Get a workflow trigger - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAWorkflowTrigger() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowTriggers_Get.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetAWorkflowTrigger() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowTriggerHistoryCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowTriggerHistoryCollection.cs index 7dec98f6fdb7e..a5a1bb2f41e1c 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowTriggerHistoryCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowTriggerHistoryCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WorkflowTriggerHistoryCollection { - // List a workflow trigger history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAWorkflowTriggerHistory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowTriggerHistories_List.json @@ -50,12 +50,11 @@ public async Task GetAll_ListAWorkflowTriggerHistory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a workflow trigger history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkflowTriggerHistory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowTriggerHistories_Get.json @@ -90,9 +89,8 @@ public async Task Get_GetAWorkflowTriggerHistory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a workflow trigger history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAWorkflowTriggerHistory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowTriggerHistories_Get.json @@ -123,9 +121,8 @@ public async Task Exists_GetAWorkflowTriggerHistory() Console.WriteLine($"Succeeded: {result}"); } - // Get a workflow trigger history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAWorkflowTriggerHistory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowTriggerHistories_Get.json @@ -156,7 +153,7 @@ public async Task GetIfExists_GetAWorkflowTriggerHistory() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowTriggerHistoryResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowTriggerHistoryResource.cs index 76ce4b7bc4534..1c9acafe2a30a 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowTriggerHistoryResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowTriggerHistoryResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WorkflowTriggerHistoryResource { - // Get a workflow trigger history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkflowTriggerHistory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowTriggerHistories_Get.json @@ -48,9 +48,8 @@ public async Task Get_GetAWorkflowTriggerHistory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Resubmit a workflow run based on the trigger history - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Resubmit_ResubmitAWorkflowRunBasedOnTheTriggerHistory() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowTriggerHistories_Resubmit.json @@ -75,7 +74,7 @@ public async Task Resubmit_ResubmitAWorkflowRunBasedOnTheTriggerHistory() // invoke the operation await workflowTriggerHistory.ResubmitAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowTriggerResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowTriggerResource.cs index 79536e1265a47..afba1291ee4ca 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowTriggerResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowTriggerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WorkflowTriggerResource { - // Get a workflow trigger - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkflowTrigger() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowTriggers_Get.json @@ -48,9 +48,8 @@ public async Task Get_GetAWorkflowTrigger() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the callback URL for a trigger - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCallbackUrl_GetTheCallbackURLForATrigger() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowTriggers_ListCallbackUrl.json @@ -77,9 +76,8 @@ public async Task GetCallbackUrl_GetTheCallbackURLForATrigger() Console.WriteLine($"Succeeded: {result}"); } - // Run a workflow trigger - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Run_RunAWorkflowTrigger() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowTriggers_Run.json @@ -103,12 +101,11 @@ public async Task Run_RunAWorkflowTrigger() // invoke the operation await workflowTrigger.RunAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get trigger schema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSchemaJson_GetTriggerSchema() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowTriggers_GetSchemaJson.json diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowVersionCollection.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowVersionCollection.cs index a38139e4fc125..6e03a5dc9ec73 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowVersionCollection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowVersionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WorkflowVersionCollection { - // List a workflows versions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAWorkflowsVersions() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowVersions_List.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAWorkflowsVersions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a workflow version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkflowVersion() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowVersions_Get.json @@ -88,9 +87,8 @@ public async Task Get_GetAWorkflowVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a workflow version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAWorkflowVersion() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowVersions_Get.json @@ -120,9 +118,8 @@ public async Task Exists_GetAWorkflowVersion() Console.WriteLine($"Succeeded: {result}"); } - // Get a workflow version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAWorkflowVersion() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowVersions_Get.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetAWorkflowVersion() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowVersionResource.cs b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowVersionResource.cs index 4bd08632619a7..32b7d2b2f79fb 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowVersionResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/samples/Generated/Samples/Sample_WorkflowVersionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppService.Samples { public partial class Sample_WorkflowVersionResource { - // Get a workflow version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkflowVersion() { // Generated from example definition: specification/web/resource-manager/Microsoft.Web/stable/2023-12-01/examples/WorkflowVersions_Get.json diff --git a/sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/samples/Generated/Samples/Sample_HealthMonitorCollection.cs b/sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/samples/Generated/Samples/Sample_HealthMonitorCollection.cs index 1ff06e125e138..a1d9913988f1f 100644 --- a/sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/samples/Generated/Samples/Sample_HealthMonitorCollection.cs +++ b/sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/samples/Generated/Samples/Sample_HealthMonitorCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.WorkloadMonitor.Samples { public partial class Sample_HealthMonitorCollection { - // Get monitor list with default values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetMonitorListWithDefaultValues() { // Generated from example definition: specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2020-01-13-preview/examples/MonitorList_GetDefault.json @@ -51,12 +51,11 @@ public async Task GetAll_GetMonitorListWithDefaultValues() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get monitor list with expanded values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetMonitorListWithExpandedValues() { // Generated from example definition: specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2020-01-13-preview/examples/MonitorList_GetExpanded.json @@ -91,12 +90,11 @@ public async Task GetAll_GetMonitorListWithExpandedValues() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get monitor list with filtered values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetMonitorListWithFilteredValues() { // Generated from example definition: specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2020-01-13-preview/examples/MonitorList_GetFiltered.json @@ -131,12 +129,11 @@ public async Task GetAll_GetMonitorListWithFilteredValues() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get monitor with default values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMonitorWithDefaultValues() { // Generated from example definition: specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2020-01-13-preview/examples/Monitor_GetDefault.json @@ -171,9 +168,8 @@ public async Task Get_GetMonitorWithDefaultValues() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get monitor with default values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetMonitorWithDefaultValues() { // Generated from example definition: specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2020-01-13-preview/examples/Monitor_GetDefault.json @@ -204,9 +200,8 @@ public async Task Exists_GetMonitorWithDefaultValues() Console.WriteLine($"Succeeded: {result}"); } - // Get monitor with default values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetMonitorWithDefaultValues() { // Generated from example definition: specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2020-01-13-preview/examples/Monitor_GetDefault.json @@ -237,7 +232,7 @@ public async Task GetIfExists_GetMonitorWithDefaultValues() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -249,9 +244,8 @@ public async Task GetIfExists_GetMonitorWithDefaultValues() } } - // Get monitor with expanded values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMonitorWithExpandedValues() { // Generated from example definition: specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2020-01-13-preview/examples/Monitor_GetExpanded.json @@ -287,9 +281,8 @@ public async Task Get_GetMonitorWithExpandedValues() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get monitor with expanded values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetMonitorWithExpandedValues() { // Generated from example definition: specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2020-01-13-preview/examples/Monitor_GetExpanded.json @@ -321,9 +314,8 @@ public async Task Exists_GetMonitorWithExpandedValues() Console.WriteLine($"Succeeded: {result}"); } - // Get monitor with expanded values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetMonitorWithExpandedValues() { // Generated from example definition: specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2020-01-13-preview/examples/Monitor_GetExpanded.json @@ -355,7 +347,7 @@ public async Task GetIfExists_GetMonitorWithExpandedValues() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/samples/Generated/Samples/Sample_HealthMonitorResource.cs b/sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/samples/Generated/Samples/Sample_HealthMonitorResource.cs index 98bb4ffb1b071..4f380d229695b 100644 --- a/sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/samples/Generated/Samples/Sample_HealthMonitorResource.cs +++ b/sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/samples/Generated/Samples/Sample_HealthMonitorResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.WorkloadMonitor.Samples { public partial class Sample_HealthMonitorResource { - // Get monitor with default values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMonitorWithDefaultValues() { // Generated from example definition: specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2020-01-13-preview/examples/Monitor_GetDefault.json @@ -48,9 +48,8 @@ public async Task Get_GetMonitorWithDefaultValues() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get monitor with expanded values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMonitorWithExpandedValues() { // Generated from example definition: specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2020-01-13-preview/examples/Monitor_GetExpanded.json diff --git a/sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/samples/Generated/Samples/Sample_HealthMonitorStateChangeCollection.cs b/sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/samples/Generated/Samples/Sample_HealthMonitorStateChangeCollection.cs index b5dd7e4a3b646..76375f1882760 100644 --- a/sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/samples/Generated/Samples/Sample_HealthMonitorStateChangeCollection.cs +++ b/sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/samples/Generated/Samples/Sample_HealthMonitorStateChangeCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.WorkloadMonitor.Samples { public partial class Sample_HealthMonitorStateChangeCollection { - // Get monitor state changes with default values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetMonitorStateChangesWithDefaultValues() { // Generated from example definition: specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2020-01-13-preview/examples/MonitorHistory_GetDefault.json @@ -53,12 +53,11 @@ public async Task GetAll_GetMonitorStateChangesWithDefaultValues() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get monitor state changes with expanded values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetMonitorStateChangesWithExpandedValues() { // Generated from example definition: specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2020-01-13-preview/examples/MonitorHistory_GetExpanded.json @@ -96,12 +95,11 @@ public async Task GetAll_GetMonitorStateChangesWithExpandedValues() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get monitor state changes with filtered values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetMonitorStateChangesWithFilteredValues() { // Generated from example definition: specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2020-01-13-preview/examples/MonitorHistory_GetFiltered.json @@ -139,12 +137,11 @@ public async Task GetAll_GetMonitorStateChangesWithFilteredValues() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get monitor state change with default values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMonitorStateChangeWithDefaultValues() { // Generated from example definition: specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2020-01-13-preview/examples/MonitorStateChange_GetDefault.json @@ -180,9 +177,8 @@ public async Task Get_GetMonitorStateChangeWithDefaultValues() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get monitor state change with default values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetMonitorStateChangeWithDefaultValues() { // Generated from example definition: specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2020-01-13-preview/examples/MonitorStateChange_GetDefault.json @@ -214,9 +210,8 @@ public async Task Exists_GetMonitorStateChangeWithDefaultValues() Console.WriteLine($"Succeeded: {result}"); } - // Get monitor state change with default values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetMonitorStateChangeWithDefaultValues() { // Generated from example definition: specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2020-01-13-preview/examples/MonitorStateChange_GetDefault.json @@ -248,7 +243,7 @@ public async Task GetIfExists_GetMonitorStateChangeWithDefaultValues() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -260,9 +255,8 @@ public async Task GetIfExists_GetMonitorStateChangeWithDefaultValues() } } - // Get monitor state change with expanded values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMonitorStateChangeWithExpandedValues() { // Generated from example definition: specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2020-01-13-preview/examples/MonitorStateChange_GetExpanded.json @@ -299,9 +293,8 @@ public async Task Get_GetMonitorStateChangeWithExpandedValues() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get monitor state change with expanded values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetMonitorStateChangeWithExpandedValues() { // Generated from example definition: specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2020-01-13-preview/examples/MonitorStateChange_GetExpanded.json @@ -334,9 +327,8 @@ public async Task Exists_GetMonitorStateChangeWithExpandedValues() Console.WriteLine($"Succeeded: {result}"); } - // Get monitor state change with expanded values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetMonitorStateChangeWithExpandedValues() { // Generated from example definition: specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2020-01-13-preview/examples/MonitorStateChange_GetExpanded.json @@ -369,7 +361,7 @@ public async Task GetIfExists_GetMonitorStateChangeWithExpandedValues() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/samples/Generated/Samples/Sample_HealthMonitorStateChangeResource.cs b/sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/samples/Generated/Samples/Sample_HealthMonitorStateChangeResource.cs index 11c42432998fa..801aa38101700 100644 --- a/sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/samples/Generated/Samples/Sample_HealthMonitorStateChangeResource.cs +++ b/sdk/workloadmonitor/Azure.ResourceManager.WorkloadMonitor/samples/Generated/Samples/Sample_HealthMonitorStateChangeResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.WorkloadMonitor.Samples { public partial class Sample_HealthMonitorStateChangeResource { - // Get monitor state change with default values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMonitorStateChangeWithDefaultValues() { // Generated from example definition: specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2020-01-13-preview/examples/MonitorStateChange_GetDefault.json @@ -49,9 +49,8 @@ public async Task Get_GetMonitorStateChangeWithDefaultValues() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get monitor state change with expanded values - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMonitorStateChangeWithExpandedValues() { // Generated from example definition: specification/workloadmonitor/resource-manager/Microsoft.WorkloadMonitor/preview/2020-01-13-preview/examples/MonitorStateChange_GetExpanded.json diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapApplicationServerInstanceCollection.cs b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapApplicationServerInstanceCollection.cs index 011360fd4ee29..c9184587eb29c 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapApplicationServerInstanceCollection.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapApplicationServerInstanceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Workloads.Samples { public partial class Sample_SapApplicationServerInstanceCollection { - // SAPApplicationServerInstances_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SAPApplicationServerInstancesGet() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json @@ -49,9 +49,8 @@ public async Task Get_SAPApplicationServerInstancesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SAPApplicationServerInstances_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SAPApplicationServerInstancesGet() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json @@ -80,9 +79,8 @@ public async Task Exists_SAPApplicationServerInstancesGet() Console.WriteLine($"Succeeded: {result}"); } - // SAPApplicationServerInstances_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SAPApplicationServerInstancesGet() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_SAPApplicationServerInstancesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_SAPApplicationServerInstancesGet() } } - // Create SAP Application Server Instances for HA System with Availability Set - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSAPApplicationServerInstancesForHASystemWithAvailabilitySet() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPApplicationServerInstances_Create_HA_AvSet.json @@ -165,9 +162,8 @@ public async Task CreateOrUpdate_CreateSAPApplicationServerInstancesForHASystemW Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SAPApplicationServerInstances_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SAPApplicationServerInstancesCreate() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPApplicationServerInstances_Create.json @@ -207,9 +203,8 @@ public async Task CreateOrUpdate_SAPApplicationServerInstancesCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SAPApplicationServerInstances_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SAPApplicationServerInstancesList() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPApplicationServerInstances_List.json @@ -241,7 +236,7 @@ public async Task GetAll_SAPApplicationServerInstancesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapApplicationServerInstanceResource.cs b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapApplicationServerInstanceResource.cs index 70e17c9f7905a..7f008b5b0a9ce 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapApplicationServerInstanceResource.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapApplicationServerInstanceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Models; using Azure.ResourceManager.Workloads.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Workloads.Samples { public partial class Sample_SapApplicationServerInstanceResource { - // SAPApplicationServerInstances_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SAPApplicationServerInstancesGet() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json @@ -48,9 +48,8 @@ public async Task Get_SAPApplicationServerInstancesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SAPApplicationServerInstances_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SAPApplicationServerInstancesUpdate() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPApplicationServerInstances_Update.json @@ -88,9 +87,8 @@ public async Task Update_SAPApplicationServerInstancesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SAPApplicationServerInstances_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SAPApplicationServerInstancesDelete() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json @@ -117,9 +115,8 @@ public async Task Delete_SAPApplicationServerInstancesDelete() Console.WriteLine($"Succeeded: {result}"); } - // Start the SAP Application Server Instance. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartInstance_StartTheSAPApplicationServerInstance() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPApplicationServerInstances_StartInstance.json @@ -146,9 +143,8 @@ public async Task StartInstance_StartTheSAPApplicationServerInstance() Console.WriteLine($"Succeeded: {result}"); } - // Stop the SAP Application Server Instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StopInstance_StopTheSAPApplicationServerInstance() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPApplicationServerInstances_StopInstance.json diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapCentralServerInstanceCollection.cs b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapCentralServerInstanceCollection.cs index 8699ff7fa188c..d99c9f4b99392 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapCentralServerInstanceCollection.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapCentralServerInstanceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Workloads.Samples { public partial class Sample_SapCentralServerInstanceCollection { - // SAPCentralInstances_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SAPCentralInstancesGet() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPCentralInstances_Get.json @@ -49,9 +49,8 @@ public async Task Get_SAPCentralInstancesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SAPCentralInstances_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SAPCentralInstancesGet() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPCentralInstances_Get.json @@ -80,9 +79,8 @@ public async Task Exists_SAPCentralInstancesGet() Console.WriteLine($"Succeeded: {result}"); } - // SAPCentralInstances_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SAPCentralInstancesGet() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPCentralInstances_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_SAPCentralInstancesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_SAPCentralInstancesGet() } } - // Create SAP Central Instances for HA System with Availability Set - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSAPCentralInstancesForHASystemWithAvailabilitySet() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPCentralInstances_Create_HA_AvSet.json @@ -165,9 +162,8 @@ public async Task CreateOrUpdate_CreateSAPCentralInstancesForHASystemWithAvailab Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SAPCentralInstances_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SAPCentralInstancesCreate() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPCentralInstances_Create.json @@ -207,9 +203,8 @@ public async Task CreateOrUpdate_SAPCentralInstancesCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SAPCentralInstances_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SAPCentralInstancesList() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPCentralInstances_List.json @@ -241,7 +236,7 @@ public async Task GetAll_SAPCentralInstancesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapCentralServerInstanceResource.cs b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapCentralServerInstanceResource.cs index dac0bbfbbe80a..3ed772c2a633e 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapCentralServerInstanceResource.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapCentralServerInstanceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Models; using Azure.ResourceManager.Workloads.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Workloads.Samples { public partial class Sample_SapCentralServerInstanceResource { - // SAPCentralInstances_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SAPCentralInstancesGet() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPCentralInstances_Get.json @@ -48,9 +48,8 @@ public async Task Get_SAPCentralInstancesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SAPCentralInstances_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SAPCentralInstancesUpdate() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPCentralInstances_Update.json @@ -88,9 +87,8 @@ public async Task Update_SAPCentralInstancesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SAPCentralInstances_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SAPCentralInstancesDelete() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPCentralInstances_Delete.json @@ -117,9 +115,8 @@ public async Task Delete_SAPCentralInstancesDelete() Console.WriteLine($"Succeeded: {result}"); } - // Start the SAP Central Services Instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartInstance_StartTheSAPCentralServicesInstance() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPCentralInstances_StartInstance.json @@ -146,9 +143,8 @@ public async Task StartInstance_StartTheSAPCentralServicesInstance() Console.WriteLine($"Succeeded: {result}"); } - // Stop the SAP Central Services Instance. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StopInstance_StopTheSAPCentralServicesInstance() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPCentralInstances_StopInstance.json diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapDatabaseInstanceCollection.cs b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapDatabaseInstanceCollection.cs index 9644510045ba3..5f97503c9c6b4 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapDatabaseInstanceCollection.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapDatabaseInstanceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Workloads.Samples { public partial class Sample_SapDatabaseInstanceCollection { - // SAPDatabaseInstances_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SAPDatabaseInstancesGet() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPDatabaseInstances_Get.json @@ -49,9 +49,8 @@ public async Task Get_SAPDatabaseInstancesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SAPDatabaseInstances_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SAPDatabaseInstancesGet() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPDatabaseInstances_Get.json @@ -80,9 +79,8 @@ public async Task Exists_SAPDatabaseInstancesGet() Console.WriteLine($"Succeeded: {result}"); } - // SAPDatabaseInstances_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SAPDatabaseInstancesGet() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPDatabaseInstances_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_SAPDatabaseInstancesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_SAPDatabaseInstancesGet() } } - // Create SAP Database Instances for HA System with Availability Set - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSAPDatabaseInstancesForHASystemWithAvailabilitySet() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPDatabaseInstances_Create_HA_AvSet.json @@ -165,9 +162,8 @@ public async Task CreateOrUpdate_CreateSAPDatabaseInstancesForHASystemWithAvaila Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SAPDatabaseInstances_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SAPDatabaseInstancesCreate() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPDatabaseInstances_Create.json @@ -207,9 +203,8 @@ public async Task CreateOrUpdate_SAPDatabaseInstancesCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SAPDatabaseInstances_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SAPDatabaseInstancesList() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPDatabaseInstances_List.json @@ -241,7 +236,7 @@ public async Task GetAll_SAPDatabaseInstancesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapDatabaseInstanceResource.cs b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapDatabaseInstanceResource.cs index df026bf3edb93..2eff5302889c1 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapDatabaseInstanceResource.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapDatabaseInstanceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Models; using Azure.ResourceManager.Workloads.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Workloads.Samples { public partial class Sample_SapDatabaseInstanceResource { - // SAPDatabaseInstances_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SAPDatabaseInstancesGet() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPDatabaseInstances_Get.json @@ -48,9 +48,8 @@ public async Task Get_SAPDatabaseInstancesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SAPDatabaseInstances_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SAPDatabaseInstancesUpdate() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPDatabaseInstances_Update.json @@ -88,9 +87,8 @@ public async Task Update_SAPDatabaseInstancesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SAPDatabaseInstances_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SAPDatabaseInstancesDelete() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json @@ -117,9 +115,8 @@ public async Task Delete_SAPDatabaseInstancesDelete() Console.WriteLine($"Succeeded: {result}"); } - // Start the database instance of the SAP system. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartInstance_StartTheDatabaseInstanceOfTheSAPSystem() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPDatabaseInstances_StartInstance.json @@ -146,9 +143,8 @@ public async Task StartInstance_StartTheDatabaseInstanceOfTheSAPSystem() Console.WriteLine($"Succeeded: {result}"); } - // Stop the database instance of the SAP system. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StopInstance_StopTheDatabaseInstanceOfTheSAPSystem() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPDatabaseInstances_StopInstance.json diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapLandscapeMonitorResource.cs b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapLandscapeMonitorResource.cs index 28611b1100347..a9f813d2b4967 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapLandscapeMonitorResource.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapLandscapeMonitorResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Workloads.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Workloads.Samples { public partial class Sample_SapLandscapeMonitorResource { - // Get properties of a SAP monitor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPropertiesOfASAPMonitor() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/SapLandscapeMonitor_Get.json @@ -46,9 +46,8 @@ public async Task Get_GetPropertiesOfASAPMonitor() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create for SAP Landscape monitor Dashboard - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateForSAPLandscapeMonitorDashboard() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/SapLandscapeMonitor_Create.json @@ -116,9 +115,8 @@ public async Task CreateOrUpdate_CreateForSAPLandscapeMonitorDashboard() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes SAP monitor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesSAPMonitor() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/SapLandscapeMonitor_Delete.json @@ -140,12 +138,11 @@ public async Task Delete_DeletesSAPMonitor() // invoke the operation await sapLandscapeMonitor.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update SAP monitor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateSAPMonitor() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/SapLandscapeMonitor_Update.json diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapMonitorCollection.cs b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapMonitorCollection.cs index 54c1d28fbc5c5..e1cfc673490b4 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapMonitorCollection.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapMonitorCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Workloads.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Workloads.Samples { public partial class Sample_SapMonitorCollection { - // List all SAP monitors in a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllSAPMonitorsInAResourceGroup() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/monitors_ListByRG.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAllSAPMonitorsInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get properties of a SAP monitor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPropertiesOfASAPMonitor() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/monitors_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetPropertiesOfASAPMonitor() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get properties of a SAP monitor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPropertiesOfASAPMonitor() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/monitors_Get.json @@ -116,9 +114,8 @@ public async Task Exists_GetPropertiesOfASAPMonitor() Console.WriteLine($"Succeeded: {result}"); } - // Get properties of a SAP monitor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPropertiesOfASAPMonitor() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/monitors_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetPropertiesOfASAPMonitor() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetPropertiesOfASAPMonitor() } } - // Create a SAP monitor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateASAPMonitor() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/monitors_Create.json diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapMonitorResource.cs b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapMonitorResource.cs index 2d5fa56d7bb31..68ace281f1940 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapMonitorResource.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapMonitorResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Workloads.Samples { public partial class Sample_SapMonitorResource { - // List all SAP monitors in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSapMonitors_ListAllSAPMonitorsInASubscription() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/monitors_List.json @@ -45,12 +45,11 @@ public async Task GetSapMonitors_ListAllSAPMonitorsInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get properties of a SAP monitor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPropertiesOfASAPMonitor() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/monitors_Get.json @@ -79,9 +78,8 @@ public async Task Get_GetPropertiesOfASAPMonitor() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a SAP monitor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesASAPMonitor() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/monitors_Delete.json diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapProviderInstanceCollection.cs b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapProviderInstanceCollection.cs index 47677c6c481b7..88b493e6c0503 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapProviderInstanceCollection.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapProviderInstanceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Workloads.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Workloads.Samples { public partial class Sample_SapProviderInstanceCollection { - // List all SAP monitors providers in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllSAPMonitorsProvidersInASubscription() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/ProviderInstances_List.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAllSAPMonitorsProvidersInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get properties of a Db2 provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPropertiesOfADb2Provider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/Db2ProviderInstances_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetPropertiesOfADb2Provider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get properties of a Db2 provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPropertiesOfADb2Provider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/Db2ProviderInstances_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetPropertiesOfADb2Provider() Console.WriteLine($"Succeeded: {result}"); } - // Get properties of a Db2 provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPropertiesOfADb2Provider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/Db2ProviderInstances_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetPropertiesOfADb2Provider() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetPropertiesOfADb2Provider() } } - // Get properties of a MsSqlServer provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPropertiesOfAMsSqlServerProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/MsSqlServerProviderInstance_Get.json @@ -196,9 +192,8 @@ public async Task Get_GetPropertiesOfAMsSqlServerProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get properties of a MsSqlServer provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPropertiesOfAMsSqlServerProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/MsSqlServerProviderInstance_Get.json @@ -227,9 +222,8 @@ public async Task Exists_GetPropertiesOfAMsSqlServerProvider() Console.WriteLine($"Succeeded: {result}"); } - // Get properties of a MsSqlServer provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPropertiesOfAMsSqlServerProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/MsSqlServerProviderInstance_Get.json @@ -258,7 +252,7 @@ public async Task GetIfExists_GetPropertiesOfAMsSqlServerProvider() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -270,9 +264,8 @@ public async Task GetIfExists_GetPropertiesOfAMsSqlServerProvider() } } - // Get properties of a OS provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPropertiesOfAOSProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/PrometheusOSProviderInstances_Get.json @@ -305,9 +298,8 @@ public async Task Get_GetPropertiesOfAOSProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get properties of a OS provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPropertiesOfAOSProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/PrometheusOSProviderInstances_Get.json @@ -336,9 +328,8 @@ public async Task Exists_GetPropertiesOfAOSProvider() Console.WriteLine($"Succeeded: {result}"); } - // Get properties of a OS provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPropertiesOfAOSProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/PrometheusOSProviderInstances_Get.json @@ -367,7 +358,7 @@ public async Task GetIfExists_GetPropertiesOfAOSProvider() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -379,9 +370,8 @@ public async Task GetIfExists_GetPropertiesOfAOSProvider() } } - // Get properties of a PrometheusHaCluster provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPropertiesOfAPrometheusHaClusterProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Get.json @@ -414,9 +404,8 @@ public async Task Get_GetPropertiesOfAPrometheusHaClusterProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get properties of a PrometheusHaCluster provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPropertiesOfAPrometheusHaClusterProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Get.json @@ -445,9 +434,8 @@ public async Task Exists_GetPropertiesOfAPrometheusHaClusterProvider() Console.WriteLine($"Succeeded: {result}"); } - // Get properties of a PrometheusHaCluster provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPropertiesOfAPrometheusHaClusterProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Get.json @@ -476,7 +464,7 @@ public async Task GetIfExists_GetPropertiesOfAPrometheusHaClusterProvider() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -488,9 +476,8 @@ public async Task GetIfExists_GetPropertiesOfAPrometheusHaClusterProvider() } } - // Get properties of a SAP monitor Hana provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPropertiesOfASAPMonitorHanaProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/ProviderInstances_Get.json @@ -523,9 +510,8 @@ public async Task Get_GetPropertiesOfASAPMonitorHanaProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get properties of a SAP monitor Hana provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPropertiesOfASAPMonitorHanaProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/ProviderInstances_Get.json @@ -554,9 +540,8 @@ public async Task Exists_GetPropertiesOfASAPMonitorHanaProvider() Console.WriteLine($"Succeeded: {result}"); } - // Get properties of a SAP monitor Hana provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPropertiesOfASAPMonitorHanaProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/ProviderInstances_Get.json @@ -585,7 +570,7 @@ public async Task GetIfExists_GetPropertiesOfASAPMonitorHanaProvider() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -597,9 +582,8 @@ public async Task GetIfExists_GetPropertiesOfASAPMonitorHanaProvider() } } - // Get properties of a SAP monitor NetWeaver provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPropertiesOfASAPMonitorNetWeaverProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/NetWeaverProviderInstances_Get.json @@ -632,9 +616,8 @@ public async Task Get_GetPropertiesOfASAPMonitorNetWeaverProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get properties of a SAP monitor NetWeaver provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPropertiesOfASAPMonitorNetWeaverProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/NetWeaverProviderInstances_Get.json @@ -663,9 +646,8 @@ public async Task Exists_GetPropertiesOfASAPMonitorNetWeaverProvider() Console.WriteLine($"Succeeded: {result}"); } - // Get properties of a SAP monitor NetWeaver provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPropertiesOfASAPMonitorNetWeaverProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/NetWeaverProviderInstances_Get.json @@ -694,7 +676,7 @@ public async Task GetIfExists_GetPropertiesOfASAPMonitorNetWeaverProvider() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -706,9 +688,8 @@ public async Task GetIfExists_GetPropertiesOfASAPMonitorNetWeaverProvider() } } - // Create a Db2 provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADb2Provider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/Db2ProviderInstances_Create.json @@ -757,9 +738,8 @@ public async Task CreateOrUpdate_CreateADb2Provider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a Db2 provider with Root Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADb2ProviderWithRootCertificate() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/Db2ProviderInstances_Create_Root_Certificate.json @@ -807,9 +787,8 @@ public async Task CreateOrUpdate_CreateADb2ProviderWithRootCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a MsSqlServer provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAMsSqlServerProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/MsSqlServerProviderInstance_Create.json @@ -857,9 +836,8 @@ public async Task CreateOrUpdate_CreateAMsSqlServerProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a MsSqlServer provider with Root Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAMsSqlServerProviderWithRootCertificate() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/MsSqlServerProviderInstance_Create_Root_Certificate.json @@ -906,9 +884,8 @@ public async Task CreateOrUpdate_CreateAMsSqlServerProviderWithRootCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a OS provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAOSProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/PrometheusOSProviderInstances_Create.json @@ -952,9 +929,8 @@ public async Task CreateOrUpdate_CreateAOSProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a OS provider with Root Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAOSProviderWithRootCertificate() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/PrometheusOSProviderInstances_Create_Root_Certificate.json @@ -997,9 +973,8 @@ public async Task CreateOrUpdate_CreateAOSProviderWithRootCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a PrometheusHaCluster provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAPrometheusHaClusterProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create.json @@ -1045,9 +1020,8 @@ public async Task CreateOrUpdate_CreateAPrometheusHaClusterProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a PrometheusHaCluster provider with Root Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAPrometheusHaClusterProviderWithRootCertificate() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create_Root_Certificate.json @@ -1092,9 +1066,8 @@ public async Task CreateOrUpdate_CreateAPrometheusHaClusterProviderWithRootCerti Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a SAP monitor Hana provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateASAPMonitorHanaProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/ProviderInstances_Create.json @@ -1145,9 +1118,8 @@ public async Task CreateOrUpdate_CreateASAPMonitorHanaProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a SAP monitor Hana provider with Root Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateASAPMonitorHanaProviderWithRootCertificate() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/ProviderInstances_Create_Root_Certificate.json @@ -1197,9 +1169,8 @@ public async Task CreateOrUpdate_CreateASAPMonitorHanaProviderWithRootCertificat Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a SAP monitor NetWeaver provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateASAPMonitorNetWeaverProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/NetWeaverProviderInstances_Create.json @@ -1253,9 +1224,8 @@ public async Task CreateOrUpdate_CreateASAPMonitorNetWeaverProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a SAP monitor NetWeaver provider with Root Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateASAPMonitorNetWeaverProviderWithRootCertificate() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/NetWeaverProviderInstances_Create_Root_Certificate.json diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapProviderInstanceResource.cs b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapProviderInstanceResource.cs index 23d5d46f42b86..c9ba2b90f112a 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapProviderInstanceResource.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapProviderInstanceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Models; using Azure.ResourceManager.Workloads.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Workloads.Samples { public partial class Sample_SapProviderInstanceResource { - // Get properties of a Db2 provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPropertiesOfADb2Provider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/Db2ProviderInstances_Get.json @@ -48,9 +48,8 @@ public async Task Get_GetPropertiesOfADb2Provider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get properties of a MsSqlServer provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPropertiesOfAMsSqlServerProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/MsSqlServerProviderInstance_Get.json @@ -80,9 +79,8 @@ public async Task Get_GetPropertiesOfAMsSqlServerProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get properties of a OS provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPropertiesOfAOSProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/PrometheusOSProviderInstances_Get.json @@ -112,9 +110,8 @@ public async Task Get_GetPropertiesOfAOSProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get properties of a PrometheusHaCluster provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPropertiesOfAPrometheusHaClusterProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Get.json @@ -144,9 +141,8 @@ public async Task Get_GetPropertiesOfAPrometheusHaClusterProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get properties of a SAP monitor Hana provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPropertiesOfASAPMonitorHanaProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/ProviderInstances_Get.json @@ -176,9 +172,8 @@ public async Task Get_GetPropertiesOfASAPMonitorHanaProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get properties of a SAP monitor NetWeaver provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPropertiesOfASAPMonitorNetWeaverProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/NetWeaverProviderInstances_Get.json @@ -208,9 +203,8 @@ public async Task Get_GetPropertiesOfASAPMonitorNetWeaverProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a Db2 provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateADb2Provider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/Db2ProviderInstances_Create.json @@ -256,9 +250,8 @@ public async Task Update_CreateADb2Provider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a Db2 provider with Root Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateADb2ProviderWithRootCertificate() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/Db2ProviderInstances_Create_Root_Certificate.json @@ -303,9 +296,8 @@ public async Task Update_CreateADb2ProviderWithRootCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a MsSqlServer provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAMsSqlServerProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/MsSqlServerProviderInstance_Create.json @@ -350,9 +342,8 @@ public async Task Update_CreateAMsSqlServerProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a MsSqlServer provider with Root Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAMsSqlServerProviderWithRootCertificate() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/MsSqlServerProviderInstance_Create_Root_Certificate.json @@ -396,9 +387,8 @@ public async Task Update_CreateAMsSqlServerProviderWithRootCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a OS provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAOSProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/PrometheusOSProviderInstances_Create.json @@ -439,9 +429,8 @@ public async Task Update_CreateAOSProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a OS provider with Root Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAOSProviderWithRootCertificate() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/PrometheusOSProviderInstances_Create_Root_Certificate.json @@ -481,9 +470,8 @@ public async Task Update_CreateAOSProviderWithRootCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a PrometheusHaCluster provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAPrometheusHaClusterProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create.json @@ -526,9 +514,8 @@ public async Task Update_CreateAPrometheusHaClusterProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a PrometheusHaCluster provider with Root Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAPrometheusHaClusterProviderWithRootCertificate() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create_Root_Certificate.json @@ -570,9 +557,8 @@ public async Task Update_CreateAPrometheusHaClusterProviderWithRootCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a SAP monitor Hana provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateASAPMonitorHanaProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/ProviderInstances_Create.json @@ -620,9 +606,8 @@ public async Task Update_CreateASAPMonitorHanaProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a SAP monitor Hana provider with Root Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateASAPMonitorHanaProviderWithRootCertificate() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/ProviderInstances_Create_Root_Certificate.json @@ -669,9 +654,8 @@ public async Task Update_CreateASAPMonitorHanaProviderWithRootCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a SAP monitor NetWeaver provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateASAPMonitorNetWeaverProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/NetWeaverProviderInstances_Create.json @@ -722,9 +706,8 @@ public async Task Update_CreateASAPMonitorNetWeaverProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a SAP monitor NetWeaver provider with Root Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateASAPMonitorNetWeaverProviderWithRootCertificate() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/NetWeaverProviderInstances_Create_Root_Certificate.json @@ -774,9 +757,8 @@ public async Task Update_CreateASAPMonitorNetWeaverProviderWithRootCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a SAP monitor provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesASAPMonitorProvider() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/workloadmonitor/ProviderInstances_Delete.json diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapVirtualInstanceCollection.cs b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapVirtualInstanceCollection.cs index 0b8a0f1702243..f120982d61aa1 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapVirtualInstanceCollection.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapVirtualInstanceCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Workloads.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Workloads.Samples { public partial class Sample_SapVirtualInstanceCollection { - // Create Infrastructure (with OS configuration) with custom resource names for Distributed System - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateInfrastructureWithOSConfigurationWithCustomResourceNamesForDistributedSystem() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_Distributed.json @@ -242,9 +242,8 @@ public async Task CreateOrUpdate_CreateInfrastructureWithOSConfigurationWithCust Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Infrastructure (with OS configuration) with custom resource names for HA System with Availability Set - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateInfrastructureWithOSConfigurationWithCustomResourceNamesForHASystemWithAvailabilitySet() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_HA_AvSet.json @@ -539,9 +538,8 @@ public async Task CreateOrUpdate_CreateInfrastructureWithOSConfigurationWithCust Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Infrastructure (with OS configuration) with custom resource names for HA system with Availability Zone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateInfrastructureWithOSConfigurationWithCustomResourceNamesForHASystemWithAvailabilityZone() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_HA_AvZone.json @@ -833,9 +831,8 @@ public async Task CreateOrUpdate_CreateInfrastructureWithOSConfigurationWithCust Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Infrastructure (with OS configuration) with custom resource names for Single Server System - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateInfrastructureWithOSConfigurationWithCustomResourceNamesForSingleServerSystem() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_SingleServer.json @@ -904,9 +901,8 @@ public async Task CreateOrUpdate_CreateInfrastructureWithOSConfigurationWithCust Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Infrastructure only for Distributed System - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateInfrastructureOnlyForDistributedSystem() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed.json @@ -1012,9 +1008,8 @@ public async Task CreateOrUpdate_CreateInfrastructureOnlyForDistributedSystem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Infrastructure only for HA System with Availability Set - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateInfrastructureOnlyForHASystemWithAvailabilitySet() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvSet.json @@ -1123,9 +1118,8 @@ public async Task CreateOrUpdate_CreateInfrastructureOnlyForHASystemWithAvailabi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Infrastructure only for HA System with Availability Zone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateInfrastructureOnlyForHASystemWithAvailabilityZone() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvZone.json @@ -1234,9 +1228,8 @@ public async Task CreateOrUpdate_CreateInfrastructureOnlyForHASystemWithAvailabi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Infrastructure only for Single Server System - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateInfrastructureOnlyForSingleServerSystem() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Create_SingleServer.json @@ -1303,9 +1296,8 @@ public async Task CreateOrUpdate_CreateInfrastructureOnlyForSingleServerSystem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Infrastructure with Disk and OS configuration for Distributed System (Recommended) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateInfrastructureWithDiskAndOSConfigurationForDistributedSystemRecommended() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json @@ -1448,9 +1440,8 @@ public async Task CreateOrUpdate_CreateInfrastructureWithDiskAndOSConfigurationF Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Infrastructure with Disk and OS configuration for HA System with Availability Set (Recommended) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateInfrastructureWithDiskAndOSConfigurationForHASystemWithAvailabilitySetRecommended() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvSet.json @@ -1596,9 +1587,8 @@ public async Task CreateOrUpdate_CreateInfrastructureWithDiskAndOSConfigurationF Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Infrastructure with Disk and OS configuration for HA System with Availability Zone (Recommended) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateInfrastructureWithDiskAndOSConfigurationForHASystemWithAvailabilityZoneRecommended() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvZone.json @@ -1744,9 +1734,8 @@ public async Task CreateOrUpdate_CreateInfrastructureWithDiskAndOSConfigurationF Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Infrastructure with Disk and OS configurations for Single Server System (Recommended) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateInfrastructureWithDiskAndOSConfigurationsForSingleServerSystemRecommended() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json @@ -1854,9 +1843,8 @@ public async Task CreateOrUpdate_CreateInfrastructureWithDiskAndOSConfigurations Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Infrastructure with OS configuration for Distributed System (Recommended) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateInfrastructureWithOSConfigurationForDistributedSystemRecommended() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json @@ -1960,9 +1948,8 @@ public async Task CreateOrUpdate_CreateInfrastructureWithOSConfigurationForDistr Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Infrastructure with OS configuration for HA System with Availability Set (Recommended) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateInfrastructureWithOSConfigurationForHASystemWithAvailabilitySetRecommended() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json @@ -2069,9 +2056,8 @@ public async Task CreateOrUpdate_CreateInfrastructureWithOSConfigurationForHASys Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Infrastructure with OS configuration for HA System with Availability Zone (Recommended) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateInfrastructureWithOSConfigurationForHASystemWithAvailabilityZoneRecommended() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json @@ -2178,9 +2164,8 @@ public async Task CreateOrUpdate_CreateInfrastructureWithOSConfigurationForHASys Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Infrastructure with OS configuration for Single Server System (Recommended) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateInfrastructureWithOSConfigurationForSingleServerSystemRecommended() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json @@ -2249,9 +2234,8 @@ public async Task CreateOrUpdate_CreateInfrastructureWithOSConfigurationForSingl Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Infrastructure with a new SAP Transport Directory Fileshare - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateInfrastructureWithANewSAPTransportDirectoryFileshare() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTransport.json @@ -2362,9 +2346,8 @@ public async Task CreateOrUpdate_CreateInfrastructureWithANewSAPTransportDirecto Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Infrastructure with an existing SAP Transport Directory Fileshare - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateInfrastructureWithAnExistingSAPTransportDirectoryFileshare() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTransport.json @@ -2471,9 +2454,8 @@ public async Task CreateOrUpdate_CreateInfrastructureWithAnExistingSAPTransportD Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Infrastructure without a SAP Transport Directory Fileshare - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateInfrastructureWithoutASAPTransportDirectoryFileshare() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransport.json @@ -2580,9 +2562,8 @@ public async Task CreateOrUpdate_CreateInfrastructureWithoutASAPTransportDirecto Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Detect SAP Software Installation on a Distributed System - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DetectSAPSoftwareInstallationOnADistributedSystem() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_Distributed.json @@ -2691,9 +2672,8 @@ public async Task CreateOrUpdate_DetectSAPSoftwareInstallationOnADistributedSyst Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Detect SAP Software Installation on a Single Server System - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DetectSAPSoftwareInstallationOnASingleServerSystem() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_SingleServer.json @@ -2766,9 +2746,8 @@ public async Task CreateOrUpdate_DetectSAPSoftwareInstallationOnASingleServerSys Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Detect SAP Software Installation on an HA System with Availability Set - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DetectSAPSoftwareInstallationOnAnHASystemWithAvailabilitySet() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvSet.json @@ -2879,9 +2858,8 @@ public async Task CreateOrUpdate_DetectSAPSoftwareInstallationOnAnHASystemWithAv Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Detect SAP Software Installation on an HA System with Availability Zone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DetectSAPSoftwareInstallationOnAnHASystemWithAvailabilityZone() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvZone.json @@ -2992,9 +2970,8 @@ public async Task CreateOrUpdate_DetectSAPSoftwareInstallationOnAnHASystemWithAv Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Install SAP Software on Distributed System - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_InstallSAPSoftwareOnDistributedSystem() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Install_Distributed.json @@ -3100,9 +3077,8 @@ public async Task CreateOrUpdate_InstallSAPSoftwareOnDistributedSystem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Install SAP Software on Single Server System - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_InstallSAPSoftwareOnSingleServerSystem() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Install_SingleServer.json @@ -3168,9 +3144,8 @@ public async Task CreateOrUpdate_InstallSAPSoftwareOnSingleServerSystem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Register existing SAP system as Virtual Instance for SAP solutions with optional customizations. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RegisterExistingSAPSystemAsVirtualInstanceForSAPSolutionsWithOptionalCustomizations() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover_CustomMrgStorageAccountName.json @@ -3215,9 +3190,8 @@ public async Task CreateOrUpdate_RegisterExistingSAPSystemAsVirtualInstanceForSA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Register existing SAP system as Virtual Instance for SAP solutions. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RegisterExistingSAPSystemAsVirtualInstanceForSAPSolutions() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover.json @@ -3261,9 +3235,8 @@ public async Task CreateOrUpdate_RegisterExistingSAPSystemAsVirtualInstanceForSA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SAPVirtualInstances_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SAPVirtualInstancesGet() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Get.json @@ -3295,9 +3268,8 @@ public async Task Get_SAPVirtualInstancesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SAPVirtualInstances_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SAPVirtualInstancesGet() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Get.json @@ -3325,9 +3297,8 @@ public async Task Exists_SAPVirtualInstancesGet() Console.WriteLine($"Succeeded: {result}"); } - // SAPVirtualInstances_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SAPVirtualInstancesGet() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Get.json @@ -3355,7 +3326,7 @@ public async Task GetIfExists_SAPVirtualInstancesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -3367,9 +3338,8 @@ public async Task GetIfExists_SAPVirtualInstancesGet() } } - // SAPVirtualInstances_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SAPVirtualInstancesListByResourceGroup() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json @@ -3400,7 +3370,7 @@ public async Task GetAll_SAPVirtualInstancesListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapVirtualInstanceResource.cs b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapVirtualInstanceResource.cs index 069f5196685bd..fcdaba7b1c308 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapVirtualInstanceResource.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SapVirtualInstanceResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Workloads.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Workloads.Samples { public partial class Sample_SapVirtualInstanceResource { - // SAPVirtualInstances_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SAPVirtualInstancesGet() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Get.json @@ -48,9 +48,8 @@ public async Task Get_SAPVirtualInstancesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SAPVirtualInstances_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SAPVirtualInstancesDelete() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Delete.json @@ -76,9 +75,8 @@ public async Task Delete_SAPVirtualInstancesDelete() Console.WriteLine($"Succeeded: {result}"); } - // SAPVirtualInstances_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSapVirtualInstances_SAPVirtualInstancesListBySubscription() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json @@ -105,12 +103,11 @@ public async Task GetSapVirtualInstances_SAPVirtualInstancesListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SAPVirtualInstances_Start - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_SAPVirtualInstancesStart() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Start.json @@ -136,9 +133,8 @@ public async Task Start_SAPVirtualInstancesStart() Console.WriteLine($"Succeeded: {result}"); } - // SAPVirtualInstances_Stop - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_SAPVirtualInstancesStop() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPVirtualInstances_Stop.json diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 338f6aabc2081..5ac27266bc352 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Workloads.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Workloads.Samples { public partial class Sample_SubscriptionResourceExtensions { - // SAPSizingRecommendations_S4HANA_Distributed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SapSizingRecommendations_SAPSizingRecommendationsS4HANADistributed() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_Distributed.json @@ -42,9 +42,8 @@ public async Task SapSizingRecommendations_SAPSizingRecommendationsS4HANADistrib Console.WriteLine($"Succeeded: {result}"); } - // SAPSizingRecommendations_S4HANA_DistributedHA_AvSet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SapSizingRecommendations_SAPSizingRecommendationsS4HANADistributedHAAvSet() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvSet.json @@ -68,9 +67,8 @@ public async Task SapSizingRecommendations_SAPSizingRecommendationsS4HANADistrib Console.WriteLine($"Succeeded: {result}"); } - // SAPSizingRecommendations_S4HANA_DistributedHA_AvZone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SapSizingRecommendations_SAPSizingRecommendationsS4HANADistributedHAAvZone() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvZone.json @@ -94,9 +92,8 @@ public async Task SapSizingRecommendations_SAPSizingRecommendationsS4HANADistrib Console.WriteLine($"Succeeded: {result}"); } - // SAPSizingRecommendations_S4HANA_SingleServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SapSizingRecommendations_SAPSizingRecommendationsS4HANASingleServer() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_SingleServer.json @@ -120,9 +117,8 @@ public async Task SapSizingRecommendations_SAPSizingRecommendationsS4HANASingleS Console.WriteLine($"Succeeded: {result}"); } - // SAPSupportedSkus_Distributed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SapSupportedSku_SAPSupportedSkusDistributed() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPSupportedSkus_Distributed.json @@ -146,9 +142,8 @@ public async Task SapSupportedSku_SAPSupportedSkusDistributed() Console.WriteLine($"Succeeded: {result}"); } - // SAPSupportedSkus_DistributedHA_AvSet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SapSupportedSku_SAPSupportedSkusDistributedHAAvSet() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvSet.json @@ -172,9 +167,8 @@ public async Task SapSupportedSku_SAPSupportedSkusDistributedHAAvSet() Console.WriteLine($"Succeeded: {result}"); } - // SAPSupportedSkus_DistributedHA_AvZone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SapSupportedSku_SAPSupportedSkusDistributedHAAvZone() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvZone.json @@ -198,9 +192,8 @@ public async Task SapSupportedSku_SAPSupportedSkusDistributedHAAvZone() Console.WriteLine($"Succeeded: {result}"); } - // SAPSupportedSkus_SingleServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SapSupportedSku_SAPSupportedSkusSingleServer() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPSupportedSkus_SingleServer.json @@ -224,9 +217,8 @@ public async Task SapSupportedSku_SAPSupportedSkusSingleServer() Console.WriteLine($"Succeeded: {result}"); } - // SAPDiskConfigurations_NonProd - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SapDiskConfigurations_SAPDiskConfigurationsNonProd() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPDiskConfigurations_NonProd.json @@ -250,9 +242,8 @@ public async Task SapDiskConfigurations_SAPDiskConfigurationsNonProd() Console.WriteLine($"Succeeded: {result}"); } - // SAPDiskConfigurations_Prod - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SapDiskConfigurations_SAPDiskConfigurationsProd() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPDiskConfigurations_Prod.json @@ -276,9 +267,8 @@ public async Task SapDiskConfigurations_SAPDiskConfigurationsProd() Console.WriteLine($"Succeeded: {result}"); } - // SAPAvailabilityZoneDetails_eastus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SapAvailabilityZoneDetails_SAPAvailabilityZoneDetailsEastus() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_eastus.json @@ -302,9 +292,8 @@ public async Task SapAvailabilityZoneDetails_SAPAvailabilityZoneDetailsEastus() Console.WriteLine($"Succeeded: {result}"); } - // SAPAvailabilityZoneDetails_northeurope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SapAvailabilityZoneDetails_SAPAvailabilityZoneDetailsNortheurope() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/stable/2023-04-01/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_northeurope.json From 147e1f8848cc82ed62f0e3d544571e6a866b43d5 Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Tue, 12 Nov 2024 03:45:03 +0000 Subject: [PATCH 5/8] Update SDK codes ad_co_0 --- .../Sample_MetadataEntityCollection.cs | 25 +- .../Samples/Sample_MetadataEntityResource.cs | 6 +- .../Sample_ResourceGroupResourceExtensions.cs | 13 +- ...le_ResourceRecommendationBaseCollection.cs | 25 +- ...mple_ResourceRecommendationBaseResource.cs | 20 +- .../Sample_SubscriptionResourceExtensions.cs | 13 +- .../Sample_SuppressionContractCollection.cs | 23 +- .../Sample_SuppressionContractResource.cs | 25 +- ...formPrivateEndpointConnectionCollection.cs | 30 +- ...atformPrivateEndpointConnectionResource.cs | 18 +- ...ample_AgFoodPlatformPrivateLinkResource.cs | 6 +- ...odPlatformPrivateLinkResourceCollection.cs | 25 +- .../Samples/Sample_ExtensionCollection.cs | 30 +- .../Samples/Sample_ExtensionResource.cs | 18 +- .../Samples/Sample_FarmBeatCollection.cs | 30 +- .../Samples/Sample_FarmBeatResource.cs | 35 +- .../Sample_FarmBeatsExtensionCollection.cs | 25 +- .../Sample_FarmBeatsExtensionResource.cs | 6 +- .../Sample_SubscriptionResourceExtensions.cs | 11 +- .../Sample_AlertProcessingRuleCollection.cs | 55 ++- .../Sample_AlertProcessingRuleResource.cs | 25 +- .../Samples/Sample_ServiceAlertCollection.cs | 25 +- .../Samples/Sample_ServiceAlertResource.cs | 26 +- .../Samples/Sample_SmartGroupCollection.cs | 25 +- .../Samples/Sample_SmartGroupResource.cs | 16 +- .../Sample_ApiCenterServiceCollection.cs | 30 +- .../Sample_ApiCenterServiceResource.cs | 25 +- .../Generated/Samples/Sample_ApiCollection.cs | 127 +++---- .../Samples/Sample_ApiDiagnosticCollection.cs | 30 +- .../Samples/Sample_ApiDiagnosticResource.cs | 23 +- .../Sample_ApiIssueAttachmentCollection.cs | 30 +- .../Sample_ApiIssueAttachmentResource.cs | 23 +- .../Samples/Sample_ApiIssueCollection.cs | 30 +- .../Sample_ApiIssueCommentCollection.cs | 30 +- .../Samples/Sample_ApiIssueCommentResource.cs | 23 +- .../Samples/Sample_ApiIssueResource.cs | 23 +- ...ManagementAuthorizationServerCollection.cs | 30 +- ...piManagementAuthorizationServerResource.cs | 28 +- .../Sample_ApiManagementBackendCollection.cs | 35 +- .../Sample_ApiManagementBackendResource.cs | 30 +- .../Sample_ApiManagementCacheCollection.cs | 30 +- .../Sample_ApiManagementCacheResource.cs | 23 +- ...mple_ApiManagementCertificateCollection.cs | 52 ++- ...Sample_ApiManagementCertificateResource.cs | 38 +- ...e_ApiManagementDeletedServiceCollection.cs | 18 +- ...ple_ApiManagementDeletedServiceResource.cs | 20 +- ...ample_ApiManagementDiagnosticCollection.cs | 30 +- .../Sample_ApiManagementDiagnosticResource.cs | 23 +- ...le_ApiManagementEmailTemplateCollection.cs | 30 +- ...mple_ApiManagementEmailTemplateResource.cs | 23 +- ...ntGatewayCertificateAuthorityCollection.cs | 30 +- ...mentGatewayCertificateAuthorityResource.cs | 23 +- .../Sample_ApiManagementGatewayCollection.cs | 30 +- ...tGatewayHostnameConfigurationCollection.cs | 30 +- ...entGatewayHostnameConfigurationResource.cs | 23 +- .../Sample_ApiManagementGatewayResource.cs | 81 ++--- ...ple_ApiManagementGlobalSchemaCollection.cs | 52 ++- ...ample_ApiManagementGlobalSchemaResource.cs | 33 +- .../Sample_ApiManagementGroupCollection.cs | 35 +- .../Sample_ApiManagementGroupResource.cs | 47 ++- ...ApiManagementIdentityProviderCollection.cs | 30 +- ...e_ApiManagementIdentityProviderResource.cs | 28 +- .../Sample_ApiManagementIssueCollection.cs | 25 +- .../Sample_ApiManagementIssueResource.cs | 6 +- .../Sample_ApiManagementLoggerCollection.cs | 35 +- .../Sample_ApiManagementLoggerResource.cs | 23 +- ...ample_ApiManagementNamedValueCollection.cs | 52 ++- .../Sample_ApiManagementNamedValueResource.cs | 38 +- ...ple_ApiManagementNotificationCollection.cs | 30 +- ...ample_ApiManagementNotificationResource.cs | 59 ++-- ...nagementOpenIdConnectProviderCollection.cs | 30 +- ...ManagementOpenIdConnectProviderResource.cs | 28 +- .../Sample_ApiManagementPolicyCollection.cs | 47 ++- .../Sample_ApiManagementPolicyResource.cs | 28 +- ...nagementPortalDelegationSettingResource.cs | 28 +- ...e_ApiManagementPortalRevisionCollection.cs | 30 +- ...ple_ApiManagementPortalRevisionResource.cs | 16 +- ...piManagementPortalSignInSettingResource.cs | 23 +- ...piManagementPortalSignUpSettingResource.cs | 23 +- ...mentPrivateEndpointConnectionCollection.cs | 30 +- ...gementPrivateEndpointConnectionResource.cs | 18 +- ...Sample_ApiManagementPrivateLinkResource.cs | 6 +- ...ManagementPrivateLinkResourceCollection.cs | 25 +- .../Sample_ApiManagementProductCollection.cs | 30 +- ...le_ApiManagementProductPolicyCollection.cs | 30 +- ...mple_ApiManagementProductPolicyResource.cs | 23 +- .../Sample_ApiManagementProductResource.cs | 78 ++--- ...ample_ApiManagementProductTagCollection.cs | 30 +- .../Sample_ApiManagementProductTagResource.cs | 23 +- .../Sample_ApiManagementServiceCollection.cs | 119 +++---- .../Sample_ApiManagementServiceResource.cs | 328 ++++++++---------- ...ple_ApiManagementSubscriptionCollection.cs | 30 +- ...ample_ApiManagementSubscriptionResource.cs | 42 +-- .../Sample_ApiManagementTagCollection.cs | 30 +- .../Sample_ApiManagementTagResource.cs | 23 +- ...le_ApiManagementTenantSettingCollection.cs | 25 +- ...mple_ApiManagementTenantSettingResource.cs | 6 +- .../Sample_ApiManagementUserCollection.cs | 30 +- .../Sample_ApiManagementUserResource.cs | 47 ++- ...ApiManagementUserSubscriptionCollection.cs | 25 +- ...e_ApiManagementUserSubscriptionResource.cs | 6 +- .../Samples/Sample_ApiOperationCollection.cs | 47 ++- .../Sample_ApiOperationPolicyCollection.cs | 30 +- .../Sample_ApiOperationPolicyResource.cs | 23 +- .../Samples/Sample_ApiOperationResource.cs | 28 +- .../Sample_ApiOperationTagCollection.cs | 30 +- .../Samples/Sample_ApiOperationTagResource.cs | 23 +- .../Samples/Sample_ApiPolicyCollection.cs | 35 +- .../Samples/Sample_ApiPolicyResource.cs | 28 +- .../Samples/Sample_ApiReleaseCollection.cs | 30 +- .../Samples/Sample_ApiReleaseResource.cs | 23 +- .../Generated/Samples/Sample_ApiResource.cs | 42 +-- .../Samples/Sample_ApiSchemaCollection.cs | 30 +- .../Samples/Sample_ApiSchemaResource.cs | 23 +- .../Samples/Sample_ApiTagCollection.cs | 30 +- .../Sample_ApiTagDescriptionCollection.cs | 30 +- .../Sample_ApiTagDescriptionResource.cs | 23 +- .../Samples/Sample_ApiTagResource.cs | 23 +- .../Samples/Sample_ApiVersionSetCollection.cs | 30 +- .../Samples/Sample_ApiVersionSetResource.cs | 23 +- ...orizationAccessPolicyContractCollection.cs | 30 +- ...thorizationAccessPolicyContractResource.cs | 18 +- .../Sample_AuthorizationContractCollection.cs | 42 +-- .../Sample_AuthorizationContractResource.cs | 35 +- ...AuthorizationProviderContractCollection.cs | 45 +-- ...e_AuthorizationProviderContractResource.cs | 33 +- .../Sample_DocumentationContractCollection.cs | 30 +- .../Sample_DocumentationContractResource.cs | 23 +- ...Sample_PolicyFragmentContractCollection.cs | 47 ++- .../Sample_PolicyFragmentContractResource.cs | 35 +- .../Sample_PortalConfigContractCollection.cs | 30 +- .../Sample_PortalConfigContractResource.cs | 16 +- .../Sample_ResolverContractCollection.cs | 30 +- .../Sample_ResolverContractResource.cs | 23 +- ...mple_ServiceApiResolverPolicyCollection.cs | 30 +- ...Sample_ServiceApiResolverPolicyResource.cs | 23 +- .../Samples/Sample_ServiceApiWikiResource.cs | 28 +- .../Sample_ServiceProductApiLinkCollection.cs | 30 +- .../Sample_ServiceProductApiLinkResource.cs | 18 +- ...ample_ServiceProductGroupLinkCollection.cs | 30 +- .../Sample_ServiceProductGroupLinkResource.cs | 18 +- .../Sample_ServiceProductWikiResource.cs | 28 +- .../Sample_ServiceTagApiLinkCollection.cs | 30 +- .../Sample_ServiceTagApiLinkResource.cs | 18 +- ...ample_ServiceTagOperationLinkCollection.cs | 30 +- .../Sample_ServiceTagOperationLinkResource.cs | 18 +- .../Sample_ServiceTagProductLinkCollection.cs | 30 +- .../Sample_ServiceTagProductLinkResource.cs | 18 +- .../Sample_ServiceWorkspaceApiCollection.cs | 47 ++- ..._ServiceWorkspaceApiOperationCollection.cs | 30 +- ...ceWorkspaceApiOperationPolicyCollection.cs | 30 +- ...viceWorkspaceApiOperationPolicyResource.cs | 23 +- ...le_ServiceWorkspaceApiOperationResource.cs | 23 +- ...ple_ServiceWorkspaceApiPolicyCollection.cs | 30 +- ...ample_ServiceWorkspaceApiPolicyResource.cs | 23 +- ...le_ServiceWorkspaceApiReleaseCollection.cs | 30 +- ...mple_ServiceWorkspaceApiReleaseResource.cs | 23 +- .../Sample_ServiceWorkspaceApiResource.cs | 35 +- ...ple_ServiceWorkspaceApiSchemaCollection.cs | 30 +- ...ample_ServiceWorkspaceApiSchemaResource.cs | 23 +- ...ServiceWorkspaceApiVersionSetCollection.cs | 30 +- ...e_ServiceWorkspaceApiVersionSetResource.cs | 23 +- .../Sample_ServiceWorkspaceGroupCollection.cs | 35 +- .../Sample_ServiceWorkspaceGroupResource.cs | 47 ++- ...le_ServiceWorkspaceNamedValueCollection.cs | 52 ++- ...mple_ServiceWorkspaceNamedValueResource.cs | 38 +- ..._ServiceWorkspaceNotificationCollection.cs | 30 +- ...le_ServiceWorkspaceNotificationResource.cs | 59 ++-- ...Sample_ServiceWorkspacePolicyCollection.cs | 35 +- ...erviceWorkspacePolicyFragmentCollection.cs | 47 ++- ..._ServiceWorkspacePolicyFragmentResource.cs | 35 +- .../Sample_ServiceWorkspacePolicyResource.cs | 28 +- ...erviceWorkspaceProductApiLinkCollection.cs | 30 +- ..._ServiceWorkspaceProductApiLinkResource.cs | 18 +- ...ample_ServiceWorkspaceProductCollection.cs | 30 +- ...viceWorkspaceProductGroupLinkCollection.cs | 30 +- ...erviceWorkspaceProductGroupLinkResource.cs | 18 +- ...ServiceWorkspaceProductPolicyCollection.cs | 30 +- ...e_ServiceWorkspaceProductPolicyResource.cs | 23 +- .../Sample_ServiceWorkspaceProductResource.cs | 23 +- ...Sample_ServiceWorkspaceSchemaCollection.cs | 30 +- .../Sample_ServiceWorkspaceSchemaResource.cs | 23 +- ..._ServiceWorkspaceSubscriptionCollection.cs | 30 +- ...le_ServiceWorkspaceSubscriptionResource.cs | 42 +-- ...le_ServiceWorkspaceTagApiLinkCollection.cs | 30 +- ...mple_ServiceWorkspaceTagApiLinkResource.cs | 18 +- .../Sample_ServiceWorkspaceTagCollection.cs | 30 +- ...viceWorkspaceTagOperationLinkCollection.cs | 30 +- ...erviceWorkspaceTagOperationLinkResource.cs | 18 +- ...erviceWorkspaceTagProductLinkCollection.cs | 30 +- ..._ServiceWorkspaceTagProductLinkResource.cs | 18 +- .../Sample_ServiceWorkspaceTagResource.cs | 23 +- .../Sample_SubscriptionResourceExtensions.cs | 8 +- .../Sample_TenantAccessInfoCollection.cs | 47 ++- .../Sample_TenantAccessInfoResource.cs | 54 ++- .../Sample_WorkspaceContractCollection.cs | 30 +- .../Sample_WorkspaceContractResource.cs | 23 +- .../Sample_AppComplianceReportCollection.cs | 25 +- ...e_AppComplianceReportEvidenceCollection.cs | 25 +- ...ple_AppComplianceReportEvidenceResource.cs | 18 +- .../Sample_AppComplianceReportResource.cs | 48 ++- ...nceReportScopingConfigurationCollection.cs | 25 +- ...ianceReportScopingConfigurationResource.cs | 13 +- ...e_AppComplianceReportSnapshotCollection.cs | 25 +- ...ple_AppComplianceReportSnapshotResource.cs | 6 +- ...le_AppComplianceReportWebhookCollection.cs | 25 +- ...mple_AppComplianceReportWebhookResource.cs | 18 +- .../Sample_TenantResourceExtensions.cs | 36 +- ...mple_AppConfigurationKeyValueCollection.cs | 23 +- ...Sample_AppConfigurationKeyValueResource.cs | 18 +- ...tionPrivateEndpointConnectionCollection.cs | 30 +- ...rationPrivateEndpointConnectionResource.cs | 18 +- ...ple_AppConfigurationPrivateLinkResource.cs | 6 +- ...figurationPrivateLinkResourceCollection.cs | 25 +- ...ample_AppConfigurationReplicaCollection.cs | 30 +- .../Sample_AppConfigurationReplicaResource.cs | 18 +- .../Sample_AppConfigurationStoreCollection.cs | 40 +-- .../Sample_AppConfigurationStoreResource.cs | 47 ++- ..._DeletedAppConfigurationStoreCollection.cs | 25 +- ...le_DeletedAppConfigurationStoreResource.cs | 13 +- .../Sample_SubscriptionResourceExtensions.cs | 11 +- ..._ApplicationInsightsComponentCollection.cs | 35 +- ...le_ApplicationInsightsComponentResource.cs | 247 ++++++------- ...le_ApplicationInsightsWebTestCollection.cs | 40 +-- ...mple_ApplicationInsightsWebTestResource.cs | 25 +- ...e_ApplicationInsightsWorkbookCollection.cs | 76 ++-- ...ple_ApplicationInsightsWorkbookResource.cs | 47 ++- ...ationInsightsWorkbookRevisionCollection.cs | 25 +- ...icationInsightsWorkbookRevisionResource.cs | 6 +- ...ationInsightsWorkbookTemplateCollection.cs | 30 +- ...icationInsightsWorkbookTemplateResource.cs | 18 +- .../Sample_AppPlatformApiPortalCollection.cs | 30 +- ...PlatformApiPortalCustomDomainCollection.cs | 30 +- ...ppPlatformApiPortalCustomDomainResource.cs | 18 +- .../Sample_AppPlatformApiPortalResource.cs | 23 +- .../Sample_AppPlatformAppCollection.cs | 59 ++-- .../Samples/Sample_AppPlatformAppResource.cs | 43 +-- .../Sample_AppPlatformBindingCollection.cs | 30 +- .../Sample_AppPlatformBindingResource.cs | 18 +- .../Sample_AppPlatformBuildCollection.cs | 30 +- .../Sample_AppPlatformBuildResource.cs | 11 +- ...Sample_AppPlatformBuildResultCollection.cs | 25 +- .../Sample_AppPlatformBuildResultResource.cs | 11 +- ...PlatformBuildServiceAgentPoolCollection.cs | 30 +- ...ppPlatformBuildServiceAgentPoolResource.cs | 11 +- ...ample_AppPlatformBuildServiceCollection.cs | 25 +- .../Sample_AppPlatformBuildServiceResource.cs | 11 +- .../Sample_AppPlatformBuilderCollection.cs | 30 +- .../Sample_AppPlatformBuilderResource.cs | 25 +- ...e_AppPlatformBuildpackBindingCollection.cs | 30 +- ...ple_AppPlatformBuildpackBindingResource.cs | 18 +- ...Sample_AppPlatformCertificateCollection.cs | 30 +- .../Sample_AppPlatformCertificateResource.cs | 18 +- .../Sample_AppPlatformConfigServerResource.cs | 16 +- ...pPlatformConfigurationServiceCollection.cs | 30 +- ...AppPlatformConfigurationServiceResource.cs | 23 +- ...ample_AppPlatformCustomDomainCollection.cs | 30 +- .../Sample_AppPlatformCustomDomainResource.cs | 18 +- .../Sample_AppPlatformDeploymentCollection.cs | 52 ++- .../Sample_AppPlatformDeploymentResource.cs | 90 ++--- .../Sample_AppPlatformGatewayCollection.cs | 30 +- ...ppPlatformGatewayCustomDomainCollection.cs | 30 +- ..._AppPlatformGatewayCustomDomainResource.cs | 18 +- .../Sample_AppPlatformGatewayResource.cs | 23 +- ...AppPlatformGatewayRouteConfigCollection.cs | 30 +- ...e_AppPlatformGatewayRouteConfigResource.cs | 18 +- ...le_AppPlatformMonitoringSettingResource.cs | 16 +- .../Sample_AppPlatformServiceCollection.cs | 40 +-- ...le_AppPlatformServiceRegistryCollection.cs | 30 +- ...mple_AppPlatformServiceRegistryResource.cs | 18 +- .../Sample_AppPlatformServiceResource.cs | 78 ++--- .../Sample_AppPlatformStorageCollection.cs | 30 +- .../Sample_AppPlatformStorageResource.cs | 18 +- ...AppPlatformSupportedBuildpackCollection.cs | 25 +- ...e_AppPlatformSupportedBuildpackResource.cs | 6 +- ...ple_AppPlatformSupportedStackCollection.cs | 25 +- ...ample_AppPlatformSupportedStackResource.cs | 6 +- .../Sample_SubscriptionResourceExtensions.cs | 8 +- .../Sample_TenantResourceExtensions.cs | 8 +- .../Sample_ScVmmAvailabilitySetCollection.cs | 30 +- .../Sample_ScVmmAvailabilitySetResource.cs | 25 +- .../Samples/Sample_ScVmmCloudCollection.cs | 30 +- .../Samples/Sample_ScVmmCloudResource.cs | 25 +- .../Samples/Sample_ScVmmGuestAgentResource.cs | 18 +- ...ple_ScVmmHybridIdentityMetadataResource.cs | 6 +- .../Sample_ScVmmInventoryItemCollection.cs | 30 +- .../Sample_ScVmmInventoryItemResource.cs | 18 +- .../Samples/Sample_ScVmmServerCollection.cs | 30 +- .../Samples/Sample_ScVmmServerResource.cs | 25 +- ...ple_ScVmmVirtualMachineInstanceResource.cs | 65 ++-- ...e_ScVmmVirtualMachineTemplateCollection.cs | 30 +- ...ple_ScVmmVirtualMachineTemplateResource.cs | 25 +- .../Sample_ScVmmVirtualNetworkCollection.cs | 30 +- .../Sample_ScVmmVirtualNetworkResource.cs | 25 +- .../Sample_AstroOrganizationCollection.cs | 30 +- .../Sample_AstroOrganizationResource.cs | 25 +- ...tionPrivateEndpointConnectionCollection.cs | 30 +- ...tationPrivateEndpointConnectionResource.cs | 18 +- .../Sample_AttestationProviderCollection.cs | 30 +- .../Sample_AttestationProviderResource.cs | 44 +-- ...ionProviderOperationsMetadataCollection.cs | 25 +- ...ationProviderOperationsMetadataResource.cs | 6 +- ...e_AuthorizationRoleDefinitionCollection.cs | 30 +- ...ple_AuthorizationRoleDefinitionResource.cs | 16 +- .../Sample_DenyAssignmentCollection.cs | 25 +- .../Samples/Sample_DenyAssignmentResource.cs | 6 +- .../Sample_ResourceGroupResourceExtensions.cs | 15 +- .../Sample_RoleAssignmentCollection.cs | 40 +-- .../Samples/Sample_RoleAssignmentResource.cs | 26 +- ...Sample_RoleAssignmentScheduleCollection.cs | 25 +- ...oleAssignmentScheduleInstanceCollection.cs | 25 +- ..._RoleAssignmentScheduleInstanceResource.cs | 6 +- ...RoleAssignmentScheduleRequestCollection.cs | 30 +- ...e_RoleAssignmentScheduleRequestResource.cs | 23 +- .../Sample_RoleAssignmentScheduleResource.cs | 6 +- ...ample_RoleEligibilityScheduleCollection.cs | 25 +- ...leEligibilityScheduleInstanceCollection.cs | 25 +- ...RoleEligibilityScheduleInstanceResource.cs | 6 +- ...oleEligibilityScheduleRequestCollection.cs | 30 +- ..._RoleEligibilityScheduleRequestResource.cs | 23 +- .../Sample_RoleEligibilityScheduleResource.cs | 6 +- ...oleManagementPolicyAssignmentCollection.cs | 30 +- ..._RoleManagementPolicyAssignmentResource.cs | 11 +- .../Sample_RoleManagementPolicyCollection.cs | 25 +- .../Sample_RoleManagementPolicyResource.cs | 16 +- .../Sample_SubscriptionResourceExtensions.cs | 8 +- .../Sample_TenantResourceExtensions.cs | 8 +- ...Sample_AutomanageBestPracticeCollection.cs | 25 +- .../Sample_AutomanageBestPracticeResource.cs | 6 +- ...utomanageConfigurationProfileCollection.cs | 30 +- ..._AutomanageConfigurationProfileResource.cs | 25 +- ...geConfigurationProfileVersionCollection.cs | 30 +- ...nageConfigurationProfileVersionResource.cs | 18 +- ...onfigurationProfileAssignmentCollection.cs | 30 +- ...rationProfileAssignmentReportCollection.cs | 25 +- ...gurationProfileAssignmentReportResource.cs | 6 +- ...rConfigurationProfileAssignmentResource.cs | 18 +- ...onfigurationProfileAssignmentCollection.cs | 30 +- ...rationProfileAssignmentReportCollection.cs | 25 +- ...gurationProfileAssignmentReportResource.cs | 6 +- ...pConfigurationProfileAssignmentResource.cs | 18 +- ...onfigurationProfileAssignmentCollection.cs | 30 +- ...rationProfileAssignmentReportCollection.cs | 25 +- ...gurationProfileAssignmentReportResource.cs | 6 +- ...mConfigurationProfileAssignmentResource.cs | 18 +- .../Sample_SubscriptionResourceExtensions.cs | 13 +- .../Sample_AutomationAccountCollection.cs | 30 +- ...ample_AutomationAccountModuleCollection.cs | 30 +- .../Sample_AutomationAccountModuleResource.cs | 44 +-- ...tomationAccountPython2PackageCollection.cs | 30 +- ...AutomationAccountPython2PackageResource.cs | 18 +- .../Sample_AutomationAccountResource.cs | 154 ++++---- .../Sample_AutomationCertificateCollection.cs | 30 +- .../Sample_AutomationCertificateResource.cs | 18 +- .../Sample_AutomationConnectionCollection.cs | 37 +- .../Sample_AutomationConnectionResource.cs | 18 +- ...mple_AutomationConnectionTypeCollection.cs | 37 +- ...Sample_AutomationConnectionTypeResource.cs | 18 +- .../Sample_AutomationCredentialCollection.cs | 37 +- .../Sample_AutomationCredentialResource.cs | 18 +- .../Samples/Sample_AutomationJobCollection.cs | 30 +- .../Samples/Sample_AutomationJobResource.cs | 54 ++- .../Sample_AutomationJobScheduleCollection.cs | 30 +- .../Sample_AutomationJobScheduleResource.cs | 18 +- ...tionPrivateEndpointConnectionCollection.cs | 30 +- ...mationPrivateEndpointConnectionResource.cs | 18 +- .../Sample_AutomationRunbookCollection.cs | 35 +- .../Sample_AutomationRunbookResource.cs | 88 ++--- .../Sample_AutomationScheduleCollection.cs | 37 +- .../Sample_AutomationScheduleResource.cs | 18 +- ...ample_AutomationSourceControlCollection.cs | 30 +- .../Sample_AutomationSourceControlResource.cs | 47 ++- .../Sample_AutomationVariableCollection.cs | 37 +- .../Sample_AutomationVariableResource.cs | 18 +- .../Sample_AutomationWatcherCollection.cs | 30 +- .../Sample_AutomationWatcherResource.cs | 32 +- .../Sample_AutomationWebhookCollection.cs | 30 +- .../Sample_AutomationWebhookResource.cs | 18 +- .../Sample_DscCompilationJobCollection.cs | 30 +- .../Sample_DscCompilationJobResource.cs | 11 +- .../Sample_DscConfigurationCollection.cs | 44 +-- .../Sample_DscConfigurationResource.cs | 23 +- .../Samples/Sample_DscNodeCollection.cs | 74 ++-- .../Sample_DscNodeConfigurationCollection.cs | 46 ++- .../Sample_DscNodeConfigurationResource.cs | 20 +- .../Samples/Sample_DscNodeResource.cs | 42 +-- .../Sample_HybridRunbookWorkerCollection.cs | 30 +- ...mple_HybridRunbookWorkerGroupCollection.cs | 30 +- ...Sample_HybridRunbookWorkerGroupResource.cs | 18 +- .../Sample_HybridRunbookWorkerResource.cs | 25 +- ...e_SoftwareUpdateConfigurationCollection.cs | 37 +- ...ple_SoftwareUpdateConfigurationResource.cs | 18 +- .../Sample_SubscriptionResourceExtensions.cs | 8 +- .../Samples/Sample_AvsCloudLinkCollection.cs | 30 +- .../Samples/Sample_AvsCloudLinkResource.cs | 18 +- .../Sample_AvsPrivateCloudAddonCollection.cs | 96 +++-- .../Sample_AvsPrivateCloudAddonResource.cs | 48 ++- ...Sample_AvsPrivateCloudClusterCollection.cs | 30 +- .../Sample_AvsPrivateCloudClusterResource.cs | 32 +- ...ateCloudClusterVirtualMachineCollection.cs | 25 +- ...ivateCloudClusterVirtualMachineResource.cs | 13 +- .../Sample_AvsPrivateCloudCollection.cs | 59 ++-- ...mple_AvsPrivateCloudDatastoreCollection.cs | 30 +- ...Sample_AvsPrivateCloudDatastoreResource.cs | 18 +- .../Samples/Sample_AvsPrivateCloudResource.cs | 61 ++-- ...ple_ExpressRouteAuthorizationCollection.cs | 30 +- ...ample_ExpressRouteAuthorizationResource.cs | 18 +- .../Sample_GlobalReachConnectionCollection.cs | 30 +- .../Sample_GlobalReachConnectionResource.cs | 18 +- .../Sample_HcxEnterpriseSiteCollection.cs | 30 +- .../Sample_HcxEnterpriseSiteResource.cs | 18 +- .../Samples/Sample_IscsiPathResource.cs | 18 +- .../Sample_PlacementPolicyCollection.cs | 30 +- .../Samples/Sample_PlacementPolicyResource.cs | 18 +- .../Samples/Sample_ScriptCmdletCollection.cs | 25 +- .../Samples/Sample_ScriptCmdletResource.cs | 6 +- .../Sample_ScriptExecutionCollection.cs | 30 +- .../Samples/Sample_ScriptExecutionResource.cs | 23 +- .../Samples/Sample_ScriptPackageCollection.cs | 25 +- .../Samples/Sample_ScriptPackageResource.cs | 6 +- .../Sample_SubscriptionResourceExtensions.cs | 16 +- .../Sample_WorkloadNetworkDhcpCollection.cs | 30 +- .../Sample_WorkloadNetworkDhcpResource.cs | 18 +- ...ple_WorkloadNetworkDnsServiceCollection.cs | 30 +- ...ample_WorkloadNetworkDnsServiceResource.cs | 18 +- ...Sample_WorkloadNetworkDnsZoneCollection.cs | 30 +- .../Sample_WorkloadNetworkDnsZoneResource.cs | 18 +- ...Sample_WorkloadNetworkGatewayCollection.cs | 25 +- .../Sample_WorkloadNetworkGatewayResource.cs | 6 +- ...adNetworkPortMirroringProfileCollection.cs | 30 +- ...loadNetworkPortMirroringProfileResource.cs | 18 +- ...ample_WorkloadNetworkPublicIPCollection.cs | 30 +- .../Sample_WorkloadNetworkPublicIPResource.cs | 18 +- .../Samples/Sample_WorkloadNetworkResource.cs | 6 +- ...Sample_WorkloadNetworkSegmentCollection.cs | 30 +- .../Sample_WorkloadNetworkSegmentResource.cs | 18 +- ...WorkloadNetworkVirtualMachineCollection.cs | 25 +- ...e_WorkloadNetworkVirtualMachineResource.cs | 6 +- ...Sample_WorkloadNetworkVmGroupCollection.cs | 30 +- .../Sample_WorkloadNetworkVmGroupResource.cs | 18 +- .../Samples/Sample_LargeInstanceCollection.cs | 25 +- .../Samples/Sample_LargeInstanceResource.cs | 38 +- .../Sample_LargeStorageInstanceCollection.cs | 25 +- .../Sample_LargeStorageInstanceResource.cs | 23 +- .../Samples/Sample_ArcExtensionCollection.cs | 30 +- .../Samples/Sample_ArcExtensionResource.cs | 25 +- .../Samples/Sample_ArcSettingCollection.cs | 30 +- .../Samples/Sample_ArcSettingResource.cs | 40 +-- .../Samples/Sample_HciClusterCollection.cs | 30 +- ...e_HciClusterDeploymentSettingCollection.cs | 30 +- ...ple_HciClusterDeploymentSettingResource.cs | 18 +- .../Sample_HciClusterOfferCollection.cs | 25 +- .../Samples/Sample_HciClusterOfferResource.cs | 6 +- .../Sample_HciClusterPublisherCollection.cs | 25 +- .../Sample_HciClusterPublisherResource.cs | 6 +- .../Samples/Sample_HciClusterResource.cs | 59 ++-- ...ple_HciClusterSecuritySettingCollection.cs | 30 +- ...ample_HciClusterSecuritySettingResource.cs | 18 +- .../Sample_HciClusterUpdateCollection.cs | 30 +- .../Sample_HciClusterUpdateResource.cs | 25 +- .../Sample_HciClusterUpdateRunCollection.cs | 30 +- .../Sample_HciClusterUpdateRunResource.cs | 18 +- .../Sample_HciClusterUpdateSummaryResource.cs | 18 +- .../Samples/Sample_HciEdgeDeviceCollection.cs | 30 +- .../Samples/Sample_HciEdgeDeviceResource.cs | 23 +- .../Samples/Sample_HciSkuCollection.cs | 25 +- .../Samples/Sample_HciSkuResource.cs | 6 +- ...ample_BatchAccountCertificateCollection.cs | 64 ++-- .../Sample_BatchAccountCertificateResource.cs | 28 +- .../Samples/Sample_BatchAccountCollection.cs | 67 ++-- .../Sample_BatchAccountDetectorCollection.cs | 25 +- .../Sample_BatchAccountDetectorResource.cs | 6 +- .../Sample_BatchAccountPoolCollection.cs | 204 +++++------ .../Sample_BatchAccountPoolResource.cs | 73 ++-- .../Samples/Sample_BatchAccountResource.cs | 54 ++- .../Sample_BatchApplicationCollection.cs | 30 +- ...ample_BatchApplicationPackageCollection.cs | 30 +- .../Sample_BatchApplicationPackageResource.cs | 23 +- .../Sample_BatchApplicationResource.cs | 18 +- ...atchPrivateEndpointConnectionCollection.cs | 25 +- ..._BatchPrivateEndpointConnectionResource.cs | 18 +- .../Sample_BatchPrivateLinkResource.cs | 6 +- ...mple_BatchPrivateLinkResourceCollection.cs | 25 +- ...ecurityPerimeterConfigurationCollection.cs | 25 +- ...kSecurityPerimeterConfigurationResource.cs | 13 +- .../Sample_SubscriptionResourceExtensions.cs | 23 +- .../Sample_BillingAccountCollection.cs | 124 +++---- ...e_BillingAccountPaymentMethodCollection.cs | 25 +- ...ple_BillingAccountPaymentMethodResource.cs | 6 +- .../Sample_BillingAccountPolicyResource.cs | 11 +- .../Samples/Sample_BillingAccountResource.cs | 128 +++---- .../Sample_BillingAgreementCollection.cs | 25 +- .../Sample_BillingAgreementResource.cs | 6 +- ...ample_BillingAssociatedTenantCollection.cs | 30 +- .../Sample_BillingAssociatedTenantResource.cs | 18 +- .../Sample_BillingCustomerCollection.cs | 32 +- .../Sample_BillingCustomerPolicyResource.cs | 11 +- .../Samples/Sample_BillingCustomerResource.cs | 27 +- ...BillingCustomerRoleAssignmentCollection.cs | 25 +- ...e_BillingCustomerRoleAssignmentResource.cs | 13 +- ...BillingCustomerRoleDefinitionCollection.cs | 25 +- ...e_BillingCustomerRoleDefinitionResource.cs | 6 +- .../Sample_BillingDepartmentCollection.cs | 25 +- ...ngDepartmentEnrollmentAccountCollection.cs | 25 +- ...lingDepartmentEnrollmentAccountResource.cs | 6 +- .../Sample_BillingDepartmentResource.cs | 20 +- ...llingDepartmentRoleAssignmentCollection.cs | 30 +- ...BillingDepartmentRoleAssignmentResource.cs | 18 +- ...llingDepartmentRoleDefinitionCollection.cs | 25 +- ...BillingDepartmentRoleDefinitionResource.cs | 6 +- ...mple_BillingEnrollmentAccountCollection.cs | 25 +- ...Sample_BillingEnrollmentAccountResource.cs | 27 +- ...rollmentAccountRoleAssignmentCollection.cs | 30 +- ...EnrollmentAccountRoleAssignmentResource.cs | 18 +- ...rollmentAccountRoleDefinitionCollection.cs | 25 +- ...EnrollmentAccountRoleDefinitionResource.cs | 6 +- .../Sample_BillingInvoiceCollection.cs | 25 +- .../Samples/Sample_BillingInvoiceResource.cs | 40 +-- .../Sample_BillingInvoiceSectionCollection.cs | 30 +- .../Sample_BillingInvoiceSectionResource.cs | 80 ++--- ...gInvoiceSectionRoleAssignmentCollection.cs | 25 +- ...ingInvoiceSectionRoleAssignmentResource.cs | 13 +- ...gInvoiceSectionRoleDefinitionCollection.cs | 25 +- ...ingInvoiceSectionRoleDefinitionResource.cs | 6 +- .../Sample_BillingPaymentMethodCollection.cs | 25 +- ...mple_BillingPaymentMethodLinkCollection.cs | 25 +- ...Sample_BillingPaymentMethodLinkResource.cs | 6 +- .../Sample_BillingPaymentMethodResource.cs | 13 +- .../Sample_BillingProductCollection.cs | 25 +- .../Samples/Sample_BillingProductResource.cs | 26 +- .../Sample_BillingProfileCollection.cs | 30 +- ...Sample_BillingProfileCustomerCollection.cs | 25 +- ..._BillingProfileCustomerPolicyCollection.cs | 18 +- ...le_BillingProfileCustomerPolicyResource.cs | 6 +- .../Sample_BillingProfileCustomerResource.cs | 56 ++- .../Sample_BillingProfilePolicyResource.cs | 11 +- .../Samples/Sample_BillingProfileResource.cs | 92 +++-- ..._BillingProfileRoleAssignmentCollection.cs | 25 +- ...le_BillingProfileRoleAssignmentResource.cs | 13 +- ..._BillingProfileRoleDefinitionCollection.cs | 25 +- ...le_BillingProfileRoleDefinitionResource.cs | 6 +- ...le_BillingProfileSubscriptionCollection.cs | 32 +- ...mple_BillingProfileSubscriptionResource.cs | 6 +- .../Samples/Sample_BillingPropertyResource.cs | 26 +- .../Sample_BillingRequestCollection.cs | 37 +- .../Samples/Sample_BillingRequestResource.cs | 11 +- .../Sample_BillingReservationCollection.cs | 76 ++-- ...ample_BillingReservationOrderCollection.cs | 42 +-- .../Sample_BillingReservationOrderResource.cs | 11 +- .../Sample_BillingReservationResource.cs | 26 +- .../Sample_BillingRoleAssignmentCollection.cs | 30 +- .../Sample_BillingRoleAssignmentResource.cs | 18 +- .../Sample_BillingRoleDefinitionCollection.cs | 25 +- .../Sample_BillingRoleDefinitionResource.cs | 6 +- ...ample_BillingSavingsPlanModelCollection.cs | 42 +-- .../Sample_BillingSavingsPlanModelResource.cs | 21 +- ...mple_BillingSubscriptionAliasCollection.cs | 30 +- ...Sample_BillingSubscriptionAliasResource.cs | 11 +- .../Sample_BillingSubscriptionCollection.cs | 25 +- .../Sample_BillingSubscriptionResource.cs | 50 ++- .../Sample_BillingTransferDetailCollection.cs | 30 +- .../Sample_BillingTransferDetailResource.cs | 16 +- .../Sample_DefaultBillingInvoiceCollection.cs | 18 +- .../Sample_DefaultBillingInvoiceResource.cs | 6 +- .../Sample_PartnerTransferDetailCollection.cs | 30 +- .../Sample_PartnerTransferDetailResource.cs | 16 +- ...ample_RecipientTransferDetailCollection.cs | 25 +- .../Sample_RecipientTransferDetailResource.cs | 23 +- .../Sample_SavingsPlanOrderModelCollection.cs | 42 +-- .../Sample_SavingsPlanOrderModelResource.cs | 11 +- ...le_SubscriptionBillingInvoiceCollection.cs | 25 +- ...mple_SubscriptionBillingInvoiceResource.cs | 11 +- .../Sample_SubscriptionPolicyResource.cs | 6 +- .../Sample_TenantResourceExtensions.cs | 16 +- .../Samples/Sample_AssignmentCollection.cs | 49 ++- .../Sample_AssignmentOperationCollection.cs | 49 ++- .../Sample_AssignmentOperationResource.cs | 11 +- .../Samples/Sample_AssignmentResource.cs | 41 +-- .../Sample_BlueprintArtifactCollection.cs | 147 ++++---- .../Sample_BlueprintArtifactResource.cs | 91 ++--- .../Samples/Sample_BlueprintCollection.cs | 64 ++-- .../Samples/Sample_BlueprintResource.cs | 50 ++- ...mple_BlueprintVersionArtifactCollection.cs | 117 +++---- ...Sample_BlueprintVersionArtifactResource.cs | 31 +- .../Sample_PublishedBlueprintCollection.cs | 45 +-- .../Sample_PublishedBlueprintResource.cs | 31 +- .../Samples/Sample_BotChannelCollection.cs | 101 +++--- .../Samples/Sample_BotChannelResource.cs | 60 ++-- .../Generated/Samples/Sample_BotCollection.cs | 30 +- .../Sample_BotConnectionSettingCollection.cs | 30 +- .../Sample_BotConnectionSettingResource.cs | 30 +- .../Generated/Samples/Sample_BotResource.cs | 52 ++- ...vicePrivateEndpointConnectionCollection.cs | 30 +- ...ervicePrivateEndpointConnectionResource.cs | 18 +- .../Sample_SubscriptionResourceExtensions.cs | 11 +- .../Sample_CdnCustomDomainCollection.cs | 30 +- .../Samples/Sample_CdnCustomDomainResource.cs | 33 +- .../Samples/Sample_CdnEndpointCollection.cs | 30 +- .../Samples/Sample_CdnEndpointResource.cs | 54 ++- .../Samples/Sample_CdnOriginCollection.cs | 30 +- .../Sample_CdnOriginGroupCollection.cs | 30 +- .../Samples/Sample_CdnOriginGroupResource.cs | 18 +- .../Samples/Sample_CdnOriginResource.cs | 18 +- ...nWebApplicationFirewallPolicyCollection.cs | 30 +- ...CdnWebApplicationFirewallPolicyResource.cs | 18 +- .../Sample_FrontDoorCustomDomainCollection.cs | 30 +- .../Sample_FrontDoorCustomDomainResource.cs | 25 +- .../Sample_FrontDoorEndpointCollection.cs | 30 +- .../Sample_FrontDoorEndpointResource.cs | 37 +- .../Sample_FrontDoorOriginCollection.cs | 30 +- .../Sample_FrontDoorOriginGroupCollection.cs | 30 +- .../Sample_FrontDoorOriginGroupResource.cs | 25 +- .../Samples/Sample_FrontDoorOriginResource.cs | 18 +- .../Sample_FrontDoorRouteCollection.cs | 30 +- .../Samples/Sample_FrontDoorRouteResource.cs | 18 +- .../Samples/Sample_FrontDoorRuleCollection.cs | 30 +- .../Samples/Sample_FrontDoorRuleResource.cs | 18 +- .../Sample_FrontDoorRuleSetCollection.cs | 30 +- .../Sample_FrontDoorRuleSetResource.cs | 25 +- .../Sample_FrontDoorSecretCollection.cs | 30 +- .../Samples/Sample_FrontDoorSecretResource.cs | 18 +- ...ample_FrontDoorSecurityPolicyCollection.cs | 30 +- .../Sample_FrontDoorSecurityPolicyResource.cs | 18 +- .../Samples/Sample_ProfileCollection.cs | 30 +- .../Samples/Sample_ProfileResource.cs | 106 +++--- .../Sample_ResourceGroupResourceExtensions.cs | 6 +- .../Sample_SubscriptionResourceExtensions.cs | 25 +- .../Sample_TenantResourceExtensions.cs | 13 +- .../Sample_ChaosCapabilityCollection.cs | 30 +- .../Samples/Sample_ChaosCapabilityResource.cs | 18 +- .../Sample_ChaosCapabilityTypeCollection.cs | 25 +- .../Sample_ChaosCapabilityTypeResource.cs | 6 +- .../Sample_ChaosExperimentCollection.cs | 30 +- ...mple_ChaosExperimentExecutionCollection.cs | 25 +- ...Sample_ChaosExperimentExecutionResource.cs | 11 +- .../Samples/Sample_ChaosExperimentResource.cs | 39 +-- .../Samples/Sample_ChaosTargetCollection.cs | 30 +- .../Samples/Sample_ChaosTargetResource.cs | 18 +- .../Sample_ChaosTargetTypeCollection.cs | 25 +- .../Samples/Sample_ChaosTargetTypeResource.cs | 6 +- ...mple_CognitiveServicesAccountCollection.cs | 35 +- ...tiveServicesAccountDeploymentCollection.cs | 30 +- ...nitiveServicesAccountDeploymentResource.cs | 18 +- ...Sample_CognitiveServicesAccountResource.cs | 63 ++-- ...gnitiveServicesCommitmentPlanCollection.cs | 30 +- ...CognitiveServicesCommitmentPlanResource.cs | 25 +- ...gnitiveServicesDeletedAccountCollection.cs | 18 +- ...CognitiveServicesDeletedAccountResource.cs | 20 +- ...icesPrivateEndpointConnectionCollection.cs | 25 +- ...rvicesPrivateEndpointConnectionResource.cs | 13 +- ...mitmentPlanAccountAssociationCollection.cs | 30 +- ...ommitmentPlanAccountAssociationResource.cs | 18 +- .../Sample_CommitmentPlanCollection.cs | 30 +- .../Samples/Sample_CommitmentPlanResource.cs | 18 +- .../Sample_SubscriptionResourceExtensions.cs | 41 +-- 655 files changed, 8324 insertions(+), 10913 deletions(-) diff --git a/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_MetadataEntityCollection.cs b/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_MetadataEntityCollection.cs index 72a98f1de8430..75f5108a0bb69 100644 --- a/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_MetadataEntityCollection.cs +++ b/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_MetadataEntityCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Advisor.Samples { public partial class Sample_MetadataEntityCollection { - // GetMetadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMetadata() { // Generated from example definition: specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GetRecommendationMetadataEntity.json @@ -45,9 +45,8 @@ public async Task Get_GetMetadata() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetMetadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetMetadata() { // Generated from example definition: specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GetRecommendationMetadataEntity.json @@ -72,9 +71,8 @@ public async Task Exists_GetMetadata() Console.WriteLine($"Succeeded: {result}"); } - // GetMetadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetMetadata() { // Generated from example definition: specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GetRecommendationMetadataEntity.json @@ -99,7 +97,7 @@ public async Task GetIfExists_GetMetadata() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -111,9 +109,8 @@ public async Task GetIfExists_GetMetadata() } } - // GetMetadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetMetadata() { // Generated from example definition: specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/ListRecommendationMetadata.json @@ -141,7 +138,7 @@ public async Task GetAll_GetMetadata() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_MetadataEntityResource.cs b/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_MetadataEntityResource.cs index 9a97bbb2524b6..8659e837c163c 100644 --- a/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_MetadataEntityResource.cs +++ b/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_MetadataEntityResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Advisor.Samples { public partial class Sample_MetadataEntityResource { - // GetMetadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMetadata() { // Generated from example definition: specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GetRecommendationMetadataEntity.json diff --git a/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs b/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs index aabf9a53b96fb..e1a479956fc02 100644 --- a/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs +++ b/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Advisor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Advisor.Samples { public partial class Sample_ResourceGroupResourceExtensions { - // GetConfigurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConfigurations_GetConfigurations() { // Generated from example definition: specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/ListConfigurations.json @@ -42,12 +42,11 @@ public async Task GetConfigurations_GetConfigurations() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PutConfigurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateConfiguration_PutConfigurations() { // Generated from example definition: specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/CreateConfiguration.json diff --git a/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_ResourceRecommendationBaseCollection.cs b/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_ResourceRecommendationBaseCollection.cs index 32e6a83cb8277..1897d5f9539cd 100644 --- a/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_ResourceRecommendationBaseCollection.cs +++ b/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_ResourceRecommendationBaseCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Advisor.Samples { public partial class Sample_ResourceRecommendationBaseCollection { - // ListRecommendations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRecommendations() { // Generated from example definition: specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/ListRecommendations.json @@ -46,12 +46,11 @@ public async Task GetAll_ListRecommendations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetRecommendationDetail - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRecommendationDetail() { // Generated from example definition: specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GetRecommendationDetail.json @@ -81,9 +80,8 @@ public async Task Get_GetRecommendationDetail() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetRecommendationDetail - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRecommendationDetail() { // Generated from example definition: specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GetRecommendationDetail.json @@ -109,9 +107,8 @@ public async Task Exists_GetRecommendationDetail() Console.WriteLine($"Succeeded: {result}"); } - // GetRecommendationDetail - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRecommendationDetail() { // Generated from example definition: specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GetRecommendationDetail.json @@ -137,7 +134,7 @@ public async Task GetIfExists_GetRecommendationDetail() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_ResourceRecommendationBaseResource.cs b/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_ResourceRecommendationBaseResource.cs index d478bce37e72b..38c55d0a5364f 100644 --- a/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_ResourceRecommendationBaseResource.cs +++ b/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_ResourceRecommendationBaseResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Advisor.Samples { public partial class Sample_ResourceRecommendationBaseResource { - // GenerateRecommendations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateRecommendation_GenerateRecommendations() { // Generated from example definition: specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GenerateRecommendations.json @@ -37,12 +37,11 @@ public async Task GenerateRecommendation_GenerateRecommendations() // invoke the operation await subscriptionResource.GenerateRecommendationAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetGenerateStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetGenerateStatusRecommendation_GetGenerateStatus() { // Generated from example definition: specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/EmptyResponse.json @@ -63,12 +62,11 @@ public async Task GetGenerateStatusRecommendation_GetGenerateStatus() Guid operationId = Guid.Parse("operationGUID"); await subscriptionResource.GetGenerateStatusRecommendationAsync(operationId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetRecommendationDetail - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRecommendationDetail() { // Generated from example definition: specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GetRecommendationDetail.json diff --git a/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 38e093f3f84f3..9a15d0c7415cc 100644 --- a/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Advisor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Advisor.Samples { public partial class Sample_SubscriptionResourceExtensions { - // GetConfigurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConfigurations_GetConfigurations() { // Generated from example definition: specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/ListConfigurations.json @@ -41,12 +41,11 @@ public async Task GetConfigurations_GetConfigurations() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PutConfigurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateConfiguration_PutConfigurations() { // Generated from example definition: specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/CreateConfiguration.json diff --git a/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_SuppressionContractCollection.cs b/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_SuppressionContractCollection.cs index ef74232986606..dac3676594403 100644 --- a/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_SuppressionContractCollection.cs +++ b/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_SuppressionContractCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Advisor.Samples { public partial class Sample_SuppressionContractCollection { - // GetSuppressionDetail - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSuppressionDetail() { // Generated from example definition: specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GetSuppressionDetail.json @@ -48,9 +48,8 @@ public async Task Get_GetSuppressionDetail() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetSuppressionDetail - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSuppressionDetail() { // Generated from example definition: specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GetSuppressionDetail.json @@ -78,9 +77,8 @@ public async Task Exists_GetSuppressionDetail() Console.WriteLine($"Succeeded: {result}"); } - // GetSuppressionDetail - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSuppressionDetail() { // Generated from example definition: specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GetSuppressionDetail.json @@ -108,7 +106,7 @@ public async Task GetIfExists_GetSuppressionDetail() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -120,9 +118,8 @@ public async Task GetIfExists_GetSuppressionDetail() } } - // CreateSuppression - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSuppression() { // Generated from example definition: specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/CreateSuppression.json diff --git a/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_SuppressionContractResource.cs b/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_SuppressionContractResource.cs index 9dc8a7af34cbc..626a50330cc81 100644 --- a/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_SuppressionContractResource.cs +++ b/sdk/advisor/Azure.ResourceManager.Advisor/samples/Generated/Samples/Sample_SuppressionContractResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Advisor.Samples { public partial class Sample_SuppressionContractResource { - // GetSuppressionDetail - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSuppressionDetail() { // Generated from example definition: specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/GetSuppressionDetail.json @@ -46,9 +46,8 @@ public async Task Get_GetSuppressionDetail() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateSuppression - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateSuppression() { // Generated from example definition: specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/CreateSuppression.json @@ -82,9 +81,8 @@ public async Task Update_CreateSuppression() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteSuppression - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSuppression() { // Generated from example definition: specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/DeleteSuppression.json @@ -106,12 +104,11 @@ public async Task Delete_DeleteSuppression() // invoke the operation await suppressionContract.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListSuppressions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSuppressionContracts_ListSuppressions() { // Generated from example definition: specification/advisor/resource-manager/Microsoft.Advisor/stable/2020-01-01/examples/ListSuppressions.json @@ -138,7 +135,7 @@ public async Task GetSuppressionContracts_ListSuppressions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_AgFoodPlatformPrivateEndpointConnectionCollection.cs b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_AgFoodPlatformPrivateEndpointConnectionCollection.cs index ecb9befbd1b3e..eb411a271a1f3 100644 --- a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_AgFoodPlatformPrivateEndpointConnectionCollection.cs +++ b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_AgFoodPlatformPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AgFoodPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AgFoodPlatform.Samples { public partial class Sample_AgFoodPlatformPrivateEndpointConnectionCollection { - // PrivateEndpointConnections_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateEndpointConnectionsCreateOrUpdate() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/PrivateEndpointConnections_CreateOrUpdate.json @@ -59,9 +59,8 @@ public async Task CreateOrUpdate_PrivateEndpointConnectionsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/PrivateEndpointConnections_Get.json @@ -94,9 +93,8 @@ public async Task Get_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/PrivateEndpointConnections_Get.json @@ -125,9 +123,8 @@ public async Task Exists_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/PrivateEndpointConnections_Get.json @@ -156,7 +153,7 @@ public async Task GetIfExists_PrivateEndpointConnectionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_PrivateEndpointConnectionsGet() } } - // PrivateEndpointConnections_ListByResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndpointConnectionsListByResource() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/PrivateEndpointConnections_ListByResource.json @@ -202,7 +198,7 @@ public async Task GetAll_PrivateEndpointConnectionsListByResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_AgFoodPlatformPrivateEndpointConnectionResource.cs b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_AgFoodPlatformPrivateEndpointConnectionResource.cs index 20ffcb77110de..19c98e661a1d1 100644 --- a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_AgFoodPlatformPrivateEndpointConnectionResource.cs +++ b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_AgFoodPlatformPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AgFoodPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AgFoodPlatform.Samples { public partial class Sample_AgFoodPlatformPrivateEndpointConnectionResource { - // PrivateEndpointConnections_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateEndpointConnectionsCreateOrUpdate() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/PrivateEndpointConnections_CreateOrUpdate.json @@ -56,9 +56,8 @@ public async Task Update_PrivateEndpointConnectionsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/PrivateEndpointConnections_Get.json @@ -88,9 +87,8 @@ public async Task Get_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateEndpointConnectionsDelete() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/PrivateEndpointConnections_Delete.json @@ -113,7 +111,7 @@ public async Task Delete_PrivateEndpointConnectionsDelete() // invoke the operation await agFoodPlatformPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_AgFoodPlatformPrivateLinkResource.cs b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_AgFoodPlatformPrivateLinkResource.cs index bdeb986f86bac..9e949a927bc98 100644 --- a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_AgFoodPlatformPrivateLinkResource.cs +++ b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_AgFoodPlatformPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AgFoodPlatform.Samples { public partial class Sample_AgFoodPlatformPrivateLinkResource { - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkResourcesGet() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/PrivateLinkResources_Get.json diff --git a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_AgFoodPlatformPrivateLinkResourceCollection.cs b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_AgFoodPlatformPrivateLinkResourceCollection.cs index 48a27a2e0941d..cd4fe9f22289f 100644 --- a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_AgFoodPlatformPrivateLinkResourceCollection.cs +++ b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_AgFoodPlatformPrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AgFoodPlatform.Samples { public partial class Sample_AgFoodPlatformPrivateLinkResourceCollection { - // PrivateLinkResources_ListByResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateLinkResourcesListByResource() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/PrivateLinkResources_ListByResource.json @@ -48,12 +48,11 @@ public async Task GetAll_PrivateLinkResourcesListByResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkResourcesGet() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/PrivateLinkResources_Get.json @@ -86,9 +85,8 @@ public async Task Get_PrivateLinkResourcesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateLinkResourcesGet() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/PrivateLinkResources_Get.json @@ -117,9 +115,8 @@ public async Task Exists_PrivateLinkResourcesGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateLinkResourcesGet() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/PrivateLinkResources_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_PrivateLinkResourcesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_ExtensionCollection.cs b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_ExtensionCollection.cs index 515b8f2f0f0f7..616859f9e725b 100644 --- a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_ExtensionCollection.cs +++ b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_ExtensionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AgFoodPlatform.Samples { public partial class Sample_ExtensionCollection { - // Extensions_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ExtensionsCreate() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/Extensions_Create.json @@ -50,9 +50,8 @@ public async Task CreateOrUpdate_ExtensionsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Extensions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExtensionsGet() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/Extensions_Get.json @@ -85,9 +84,8 @@ public async Task Get_ExtensionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Extensions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ExtensionsGet() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/Extensions_Get.json @@ -116,9 +114,8 @@ public async Task Exists_ExtensionsGet() Console.WriteLine($"Succeeded: {result}"); } - // Extensions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ExtensionsGet() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/Extensions_Get.json @@ -147,7 +144,7 @@ public async Task GetIfExists_ExtensionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_ExtensionsGet() } } - // Extensions_ListByFarmBeats - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ExtensionsListByFarmBeats() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/Extensions_ListByFarmBeats.json @@ -193,7 +189,7 @@ public async Task GetAll_ExtensionsListByFarmBeats() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_ExtensionResource.cs b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_ExtensionResource.cs index 6e48117caf438..21265da9301a0 100644 --- a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_ExtensionResource.cs +++ b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_ExtensionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AgFoodPlatform.Samples { public partial class Sample_ExtensionResource { - // Extensions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExtensionsGet() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/Extensions_Get.json @@ -46,9 +46,8 @@ public async Task Get_ExtensionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Extensions_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ExtensionsUpdate() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/Extensions_Update.json @@ -78,9 +77,8 @@ public async Task Update_ExtensionsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Extensions_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ExtensionsDelete() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/Extensions_Delete.json @@ -103,7 +101,7 @@ public async Task Delete_ExtensionsDelete() // invoke the operation await extension.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_FarmBeatCollection.cs b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_FarmBeatCollection.cs index 6ce7a77f94e9d..4c93ba1c98b0a 100644 --- a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_FarmBeatCollection.cs +++ b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_FarmBeatCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AgFoodPlatform.Samples { public partial class Sample_FarmBeatCollection { - // FarmBeatsModels_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FarmBeatsModelsGet() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/FarmBeatsModels_Get.json @@ -49,9 +49,8 @@ public async Task Get_FarmBeatsModelsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FarmBeatsModels_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_FarmBeatsModelsGet() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/FarmBeatsModels_Get.json @@ -79,9 +78,8 @@ public async Task Exists_FarmBeatsModelsGet() Console.WriteLine($"Succeeded: {result}"); } - // FarmBeatsModels_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_FarmBeatsModelsGet() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/FarmBeatsModels_Get.json @@ -109,7 +107,7 @@ public async Task GetIfExists_FarmBeatsModelsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_FarmBeatsModelsGet() } } - // FarmBeatsModels_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_FarmBeatsModelsCreateOrUpdate() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/FarmBeatsModels_CreateOrUpdate.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_FarmBeatsModelsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FarmBeatsModels_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_FarmBeatsModelsListByResourceGroup() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/FarmBeatsModels_ListByResourceGroup.json @@ -197,7 +193,7 @@ public async Task GetAll_FarmBeatsModelsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_FarmBeatResource.cs b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_FarmBeatResource.cs index 5e0deadd5baec..40b5eef44522d 100644 --- a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_FarmBeatResource.cs +++ b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_FarmBeatResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.AgFoodPlatform.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AgFoodPlatform.Samples { public partial class Sample_FarmBeatResource { - // FarmBeatsModels_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FarmBeatsModelsGet() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/FarmBeatsModels_Get.json @@ -48,9 +48,8 @@ public async Task Get_FarmBeatsModelsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FarmBeatsModels_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_FarmBeatsModelsUpdate() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/FarmBeatsModels_Update.json @@ -88,9 +87,8 @@ public async Task Update_FarmBeatsModelsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FarmBeatsModels_UpdateWithSensor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_FarmBeatsModelsUpdateWithSensor() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/FarmBeatsModels_UpdateWithSensor.json @@ -136,9 +134,8 @@ public async Task Update_FarmBeatsModelsUpdateWithSensor() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FarmBeatsModels_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_FarmBeatsModelsDelete() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/FarmBeatsModels_Delete.json @@ -160,12 +157,11 @@ public async Task Delete_FarmBeatsModelsDelete() // invoke the operation await farmBeat.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // FarmBeatsModels_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFarmBeats_FarmBeatsModelsListBySubscription() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/FarmBeatsModels_ListBySubscription.json @@ -192,12 +188,11 @@ public async Task GetFarmBeats_FarmBeatsModelsListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // FarmBeatsModels_GetOperationResult - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOperationResult_FarmBeatsModelsGetOperationResult() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/FarmBeatsModels_GetOperationResult.json diff --git a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_FarmBeatsExtensionCollection.cs b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_FarmBeatsExtensionCollection.cs index 29c1d8698caaa..418e08dbc0b6c 100644 --- a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_FarmBeatsExtensionCollection.cs +++ b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_FarmBeatsExtensionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AgFoodPlatform.Samples { public partial class Sample_FarmBeatsExtensionCollection { - // FarmBeatsExtensions_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_FarmBeatsExtensionsList() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/FarmBeatsExtensions_List.json @@ -44,12 +44,11 @@ public async Task GetAll_FarmBeatsExtensionsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // FarmBeatsExtensions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FarmBeatsExtensionsGet() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/FarmBeatsExtensions_Get.json @@ -78,9 +77,8 @@ public async Task Get_FarmBeatsExtensionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FarmBeatsExtensions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_FarmBeatsExtensionsGet() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/FarmBeatsExtensions_Get.json @@ -105,9 +103,8 @@ public async Task Exists_FarmBeatsExtensionsGet() Console.WriteLine($"Succeeded: {result}"); } - // FarmBeatsExtensions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_FarmBeatsExtensionsGet() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/FarmBeatsExtensions_Get.json @@ -132,7 +129,7 @@ public async Task GetIfExists_FarmBeatsExtensionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_FarmBeatsExtensionResource.cs b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_FarmBeatsExtensionResource.cs index 8ba82b9df091e..1f038cf849816 100644 --- a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_FarmBeatsExtensionResource.cs +++ b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_FarmBeatsExtensionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AgFoodPlatform.Samples { public partial class Sample_FarmBeatsExtensionResource { - // FarmBeatsExtensions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FarmBeatsExtensionsGet() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/FarmBeatsExtensions_Get.json diff --git a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 77c396529d819..1316581d803e1 100644 --- a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AgFoodPlatform.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AgFoodPlatform.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Locations_CheckNameAvailability_AlreadyExists - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckNameAvailabilityLocation_LocationsCheckNameAvailabilityAlreadyExists() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/Locations_CheckNameAvailability_AlreadyExists.json @@ -46,9 +46,8 @@ public async Task CheckNameAvailabilityLocation_LocationsCheckNameAvailabilityAl Console.WriteLine($"Succeeded: {result}"); } - // Locations_CheckNameAvailability_Available - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckNameAvailabilityLocation_LocationsCheckNameAvailabilityAvailable() { // Generated from example definition: specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2021-09-01-preview/examples/Locations_CheckNameAvailability_Available.json diff --git a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/Generated/Samples/Sample_AlertProcessingRuleCollection.cs b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/Generated/Samples/Sample_AlertProcessingRuleCollection.cs index 61d36269ab9a7..cc6ef2b038389 100644 --- a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/Generated/Samples/Sample_AlertProcessingRuleCollection.cs +++ b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/Generated/Samples/Sample_AlertProcessingRuleCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AlertsManagement.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AlertsManagement.Samples { public partial class Sample_AlertProcessingRuleCollection { - // GetAlertProcessingRulesResourceGroupWide - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAlertProcessingRulesResourceGroupWide() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2021-08-08/examples/AlertProcessingRules_List_ResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_GetAlertProcessingRulesResourceGroupWide() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetAlertProcessingRuleById - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAlertProcessingRuleById() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2021-08-08/examples/AlertProcessingRules_GetById.json @@ -86,9 +85,8 @@ public async Task Get_GetAlertProcessingRuleById() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetAlertProcessingRuleById - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAlertProcessingRuleById() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2021-08-08/examples/AlertProcessingRules_GetById.json @@ -116,9 +114,8 @@ public async Task Exists_GetAlertProcessingRuleById() Console.WriteLine($"Succeeded: {result}"); } - // GetAlertProcessingRuleById - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAlertProcessingRuleById() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2021-08-08/examples/AlertProcessingRules_GetById.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetAlertProcessingRuleById() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetAlertProcessingRuleById() } } - // Create or update a rule that adds an action group to all alerts in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateARuleThatAddsAnActionGroupToAllAlertsInASubscription() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2021-08-08/examples/AlertProcessingRules_Create_or_update_add_action_group_all_alerts_in_subscription.json @@ -213,9 +209,8 @@ public async Task CreateOrUpdate_CreateOrUpdateARuleThatAddsAnActionGroupToAllAl Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a rule that adds two action groups to all Sev0 and Sev1 alerts in two resource groups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateARuleThatAddsTwoActionGroupsToAllSev0AndSev1AlertsInTwoResourceGroups() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2021-08-08/examples/AlertProcessingRules_Create_or_update_add_two_action_groups_all_Sev0_Sev1_two_resource_groups.json @@ -280,9 +275,8 @@ public async Task CreateOrUpdate_CreateOrUpdateARuleThatAddsTwoActionGroupsToAll Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a rule that removes all action groups from alerts on a specific VM during a one-off maintenance window (1800-2000 at a specific date, Pacific Standard Time) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateARuleThatRemovesAllActionGroupsFromAlertsOnASpecificVMDuringAOneOffMaintenanceWindow18002000AtASpecificDatePacificStandardTime() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2021-08-08/examples/AlertProcessingRules_Create_or_update_remove_all_action_groups_specific_VM_one-off_maintenance_window.json @@ -338,9 +332,8 @@ public async Task CreateOrUpdate_CreateOrUpdateARuleThatRemovesAllActionGroupsFr Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a rule that removes all action groups from all alerts in a subscription coming from a specific alert rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateARuleThatRemovesAllActionGroupsFromAllAlertsInASubscriptionComingFromASpecificAlertRule() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2021-08-08/examples/AlertProcessingRules_Create_or_update_remove_all_action_groups_from_specific_alert_rule.json @@ -402,9 +395,8 @@ public async Task CreateOrUpdate_CreateOrUpdateARuleThatRemovesAllActionGroupsFr Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a rule that removes all action groups from all alerts on any VM in two resource groups during a recurring maintenance window (2200-0400 every Sat and Sun, India Standard Time) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateARuleThatRemovesAllActionGroupsFromAllAlertsOnAnyVMInTwoResourceGroupsDuringARecurringMaintenanceWindow22000400EverySatAndSunIndiaStandardTime() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2021-08-08/examples/AlertProcessingRules_Create_or_update_remove_all_action_groups_recurring_maintenance_window.json @@ -481,9 +473,8 @@ public async Task CreateOrUpdate_CreateOrUpdateARuleThatRemovesAllActionGroupsFr Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a rule that removes all action groups outside business hours (Mon-Fri 09:00-17:00, Eastern Standard Time) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateARuleThatRemovesAllActionGroupsOutsideBusinessHoursMonFri09001700EasternStandardTime() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2021-08-08/examples/AlertProcessingRules_Create_or_update_remove_all_action_groups_outside_business_hours.json diff --git a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/Generated/Samples/Sample_AlertProcessingRuleResource.cs b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/Generated/Samples/Sample_AlertProcessingRuleResource.cs index 91353cbc87d6c..3c7b356d3ac72 100644 --- a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/Generated/Samples/Sample_AlertProcessingRuleResource.cs +++ b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/Generated/Samples/Sample_AlertProcessingRuleResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AlertsManagement.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AlertsManagement.Samples { public partial class Sample_AlertProcessingRuleResource { - // GetAlertProcessingRulesSubscriptionWide - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAlertProcessingRules_GetAlertProcessingRulesSubscriptionWide() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2021-08-08/examples/AlertProcessingRules_List_Subscription.json @@ -45,12 +45,11 @@ public async Task GetAlertProcessingRules_GetAlertProcessingRulesSubscriptionWid Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetAlertProcessingRuleById - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAlertProcessingRuleById() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2021-08-08/examples/AlertProcessingRules_GetById.json @@ -79,9 +78,8 @@ public async Task Get_GetAlertProcessingRuleById() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteAlertProcessingRule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAlertProcessingRule() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2021-08-08/examples/AlertProcessingRules_Delete.json @@ -103,12 +101,11 @@ public async Task Delete_DeleteAlertProcessingRule() // invoke the operation await alertProcessingRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PatchAlertProcessingRule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchAlertProcessingRule() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2021-08-08/examples/AlertProcessingRules_Patch.json diff --git a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/Generated/Samples/Sample_ServiceAlertCollection.cs b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/Generated/Samples/Sample_ServiceAlertCollection.cs index f9472678afae3..3eacd73395d84 100644 --- a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/Generated/Samples/Sample_ServiceAlertCollection.cs +++ b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/Generated/Samples/Sample_ServiceAlertCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AlertsManagement.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AlertsManagement.Samples { public partial class Sample_ServiceAlertCollection { - // ListAlerts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAlerts() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_List.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAlerts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetById - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetById() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_GetById.json @@ -85,9 +84,8 @@ public async Task Get_GetById() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetById - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetById() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_GetById.json @@ -114,9 +112,8 @@ public async Task Exists_GetById() Console.WriteLine($"Succeeded: {result}"); } - // GetById - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetById() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_GetById.json @@ -143,7 +140,7 @@ public async Task GetIfExists_GetById() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/Generated/Samples/Sample_ServiceAlertResource.cs b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/Generated/Samples/Sample_ServiceAlertResource.cs index d380af8b7e6b3..8f0f2f837b417 100644 --- a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/Generated/Samples/Sample_ServiceAlertResource.cs +++ b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/Generated/Samples/Sample_ServiceAlertResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AlertsManagement.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AlertsManagement.Samples { public partial class Sample_ServiceAlertResource { - // MonService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetServiceAlertMetadata_MonService() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/AlertsMetaData_MonitorService.json @@ -40,9 +40,8 @@ public async Task GetServiceAlertMetadata_MonService() Console.WriteLine($"Succeeded: {result}"); } - // GetById - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetById() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_GetById.json @@ -70,9 +69,8 @@ public async Task Get_GetById() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Resolve - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ChangeState_Resolve() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_ChangeState.json @@ -101,9 +99,8 @@ public async Task ChangeState_Resolve() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Resolve - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetHistory_Resolve() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_History.json @@ -127,9 +124,8 @@ public async Task GetHistory_Resolve() Console.WriteLine($"Succeeded: {result}"); } - // Summary - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetServiceAlertSummary_Summary() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_Summary.json diff --git a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/Generated/Samples/Sample_SmartGroupCollection.cs b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/Generated/Samples/Sample_SmartGroupCollection.cs index 91c73cc0820c7..7f99821358901 100644 --- a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/Generated/Samples/Sample_SmartGroupCollection.cs +++ b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/Generated/Samples/Sample_SmartGroupCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AlertsManagement.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AlertsManagement.Samples { public partial class Sample_SmartGroupCollection { - // List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_List() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_List.json @@ -49,12 +49,11 @@ public async Task GetAll_List() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_Get() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_GetById.json @@ -85,9 +84,8 @@ public async Task Get_Get() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_Get() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_GetById.json @@ -114,9 +112,8 @@ public async Task Exists_Get() Console.WriteLine($"Succeeded: {result}"); } - // Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_Get() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_GetById.json @@ -143,7 +140,7 @@ public async Task GetIfExists_Get() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/Generated/Samples/Sample_SmartGroupResource.cs b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/Generated/Samples/Sample_SmartGroupResource.cs index 02bf097555442..50bcd3af95d90 100644 --- a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/Generated/Samples/Sample_SmartGroupResource.cs +++ b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/samples/Generated/Samples/Sample_SmartGroupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AlertsManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AlertsManagement.Samples { public partial class Sample_SmartGroupResource { - // Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_Get() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_GetById.json @@ -45,9 +45,8 @@ public async Task Get_Get() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // changestate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ChangeState_Changestate() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_ChangeState.json @@ -76,9 +75,8 @@ public async Task ChangeState_Changestate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Resolve - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetHistory_Resolve() { // Generated from example definition: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_History.json diff --git a/sdk/apicenter/Azure.ResourceManager.ApiCenter/samples/Generated/Samples/Sample_ApiCenterServiceCollection.cs b/sdk/apicenter/Azure.ResourceManager.ApiCenter/samples/Generated/Samples/Sample_ApiCenterServiceCollection.cs index 8a9bb7e7fd25a..8ac71f1cbf6e7 100644 --- a/sdk/apicenter/Azure.ResourceManager.ApiCenter/samples/Generated/Samples/Sample_ApiCenterServiceCollection.cs +++ b/sdk/apicenter/Azure.ResourceManager.ApiCenter/samples/Generated/Samples/Sample_ApiCenterServiceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ApiCenter.Samples { public partial class Sample_ApiCenterServiceCollection { - // Services_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ServicesListByResourceGroup() { // Generated from example definition: specification/apicenter/resource-manager/Microsoft.ApiCenter/preview/2023-07-01-preview/examples/Services_ListByResourceGroup.json @@ -48,12 +48,11 @@ public async Task GetAll_ServicesListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Services_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServicesGet() { // Generated from example definition: specification/apicenter/resource-manager/Microsoft.ApiCenter/preview/2023-07-01-preview/examples/Services_Get.json @@ -85,9 +84,8 @@ public async Task Get_ServicesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Services_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ServicesGet() { // Generated from example definition: specification/apicenter/resource-manager/Microsoft.ApiCenter/preview/2023-07-01-preview/examples/Services_Get.json @@ -115,9 +113,8 @@ public async Task Exists_ServicesGet() Console.WriteLine($"Succeeded: {result}"); } - // Services_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ServicesGet() { // Generated from example definition: specification/apicenter/resource-manager/Microsoft.ApiCenter/preview/2023-07-01-preview/examples/Services_Get.json @@ -145,7 +142,7 @@ public async Task GetIfExists_ServicesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -157,9 +154,8 @@ public async Task GetIfExists_ServicesGet() } } - // Services_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ServicesCreate() { // Generated from example definition: specification/apicenter/resource-manager/Microsoft.ApiCenter/preview/2023-07-01-preview/examples/Services_CreateOrUpdate.json diff --git a/sdk/apicenter/Azure.ResourceManager.ApiCenter/samples/Generated/Samples/Sample_ApiCenterServiceResource.cs b/sdk/apicenter/Azure.ResourceManager.ApiCenter/samples/Generated/Samples/Sample_ApiCenterServiceResource.cs index bac011821a65e..77026fbe2a8c6 100644 --- a/sdk/apicenter/Azure.ResourceManager.ApiCenter/samples/Generated/Samples/Sample_ApiCenterServiceResource.cs +++ b/sdk/apicenter/Azure.ResourceManager.ApiCenter/samples/Generated/Samples/Sample_ApiCenterServiceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ApiCenter.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ApiCenter.Samples { public partial class Sample_ApiCenterServiceResource { - // Services_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApiCenterServices_ServicesListBySubscription() { // Generated from example definition: specification/apicenter/resource-manager/Microsoft.ApiCenter/preview/2023-07-01-preview/examples/Services_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetApiCenterServices_ServicesListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Services_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServicesGet() { // Generated from example definition: specification/apicenter/resource-manager/Microsoft.ApiCenter/preview/2023-07-01-preview/examples/Services_Get.json @@ -79,9 +78,8 @@ public async Task Get_ServicesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Services_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ServicesUpdate() { // Generated from example definition: specification/apicenter/resource-manager/Microsoft.ApiCenter/preview/2023-07-01-preview/examples/Services_Update.json @@ -111,9 +109,8 @@ public async Task Update_ServicesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Services_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ServicesDelete() { // Generated from example definition: specification/apicenter/resource-manager/Microsoft.ApiCenter/preview/2023-07-01-preview/examples/Services_Delete.json @@ -135,7 +132,7 @@ public async Task Delete_ServicesDelete() // invoke the operation await apiCenterService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiCollection.cs index a5b9e824fe396..4207ac2458f6e 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiCollection { - // ApiManagementListApis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListApis() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListApis.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListApis() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetApiContract - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiContract() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiContract.json @@ -87,9 +86,8 @@ public async Task Get_ApiManagementGetApiContract() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetApiContract - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetApiContract() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiContract.json @@ -118,9 +116,8 @@ public async Task Exists_ApiManagementGetApiContract() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiContract - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetApiContract() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiContract.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ApiManagementGetApiContract() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ApiManagementGetApiContract() } } - // ApiManagementGetApiRevisionContract - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiRevisionContract() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiRevision.json @@ -196,9 +192,8 @@ public async Task Get_ApiManagementGetApiRevisionContract() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetApiRevisionContract - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetApiRevisionContract() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiRevision.json @@ -227,9 +222,8 @@ public async Task Exists_ApiManagementGetApiRevisionContract() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiRevisionContract - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetApiRevisionContract() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiRevision.json @@ -258,7 +252,7 @@ public async Task GetIfExists_ApiManagementGetApiRevisionContract() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -270,9 +264,8 @@ public async Task GetIfExists_ApiManagementGetApiRevisionContract() } } - // ApiManagementCreateApi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApi.json @@ -330,9 +323,8 @@ public async Task CreateOrUpdate_ApiManagementCreateApi() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateApiClone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiClone() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiClone.json @@ -380,9 +372,8 @@ public async Task CreateOrUpdate_ApiManagementCreateApiClone() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateApiNewVersionUsingExistingApi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiNewVersionUsingExistingApi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiNewVersionUsingExistingApi.json @@ -432,9 +423,8 @@ public async Task CreateOrUpdate_ApiManagementCreateApiNewVersionUsingExistingAp Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateApiRevisionFromExistingApi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiRevisionFromExistingApi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiRevisionFromExistingApi.json @@ -475,9 +465,8 @@ public async Task CreateOrUpdate_ApiManagementCreateApiRevisionFromExistingApi() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateApiUsingImportOverrideServiceUrl - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiUsingImportOverrideServiceUrl() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiUsingImportOverrideServiceUrl.json @@ -518,9 +507,8 @@ public async Task CreateOrUpdate_ApiManagementCreateApiUsingImportOverrideServic Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateApiUsingOai3Import - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiUsingOai3Import() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiUsingOai3Import.json @@ -560,9 +548,8 @@ public async Task CreateOrUpdate_ApiManagementCreateApiUsingOai3Import() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateApiUsingOai3ImportWithTranslateRequiredQueryParametersConduct - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiUsingOai3ImportWithTranslateRequiredQueryParametersConduct() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiUsingOai3ImportWithTranslateRequiredQueryParametersConduct.json @@ -603,9 +590,8 @@ public async Task CreateOrUpdate_ApiManagementCreateApiUsingOai3ImportWithTransl Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateApiUsingSwaggerImport - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiUsingSwaggerImport() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiUsingSwaggerImport.json @@ -645,9 +631,8 @@ public async Task CreateOrUpdate_ApiManagementCreateApiUsingSwaggerImport() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateApiUsingWadlImport - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiUsingWadlImport() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiUsingWadlImport.json @@ -687,9 +672,8 @@ public async Task CreateOrUpdate_ApiManagementCreateApiUsingWadlImport() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateApiWithMultipleAuthServers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiWithMultipleAuthServers() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiWithMultipleAuthServers.json @@ -754,9 +738,8 @@ public async Task CreateOrUpdate_ApiManagementCreateApiWithMultipleAuthServers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateApiWithMultipleOpenIdConnectProviders - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiWithMultipleOpenIdConnectProviders() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiWithMultipleOpenIdConnectProviders.json @@ -827,9 +810,8 @@ public async Task CreateOrUpdate_ApiManagementCreateApiWithMultipleOpenIdConnect Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateApiWithOpenIdConnect - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiWithOpenIdConnect() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiWithOpenIdConnect.json @@ -890,9 +872,8 @@ public async Task CreateOrUpdate_ApiManagementCreateApiWithOpenIdConnect() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateGraphQLApi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateGraphQLApi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateGraphQLApi.json @@ -938,9 +919,8 @@ public async Task CreateOrUpdate_ApiManagementCreateGraphQLApi() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateODataApi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateODataApi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateODataApi.json @@ -988,9 +968,8 @@ public async Task CreateOrUpdate_ApiManagementCreateODataApi() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateSoapPassThroughApiUsingWsdlImport - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateSoapPassThroughApiUsingWsdlImport() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateSoapPassThroughApiUsingWsdlImport.json @@ -1036,9 +1015,8 @@ public async Task CreateOrUpdate_ApiManagementCreateSoapPassThroughApiUsingWsdlI Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateSoapToRestApiUsingWsdlImport - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateSoapToRestApiUsingWsdlImport() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateSoapToRestApiUsingWsdlImport.json @@ -1083,9 +1061,8 @@ public async Task CreateOrUpdate_ApiManagementCreateSoapToRestApiUsingWsdlImport Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateWebSocketApi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWebSocketApi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWebsocketApi.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiDiagnosticCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiDiagnosticCollection.cs index 47a391f6e9b6d..1567d8d886df6 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiDiagnosticCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiDiagnosticCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiDiagnosticCollection { - // ApiManagementListApiDiagnostics - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListApiDiagnostics() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListApiDiagnostics.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListApiDiagnostics() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetApiDiagnostic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiDiagnostic() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiDiagnostic.json @@ -89,9 +88,8 @@ public async Task Get_ApiManagementGetApiDiagnostic() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetApiDiagnostic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetApiDiagnostic() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiDiagnostic.json @@ -121,9 +119,8 @@ public async Task Exists_ApiManagementGetApiDiagnostic() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiDiagnostic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetApiDiagnostic() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiDiagnostic.json @@ -153,7 +150,7 @@ public async Task GetIfExists_ApiManagementGetApiDiagnostic() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_ApiManagementGetApiDiagnostic() } } - // ApiManagementCreateApiDiagnostic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiDiagnostic() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiDiagnostic.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiDiagnosticResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiDiagnosticResource.cs index 84e5cdea81d00..da34bf5b992e8 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiDiagnosticResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiDiagnosticResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiDiagnosticResource { - // ApiManagementHeadApiDiagnostic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadApiDiagnostic() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadApiDiagnostic.json @@ -44,9 +44,8 @@ public async Task GetEntityTag_ApiManagementHeadApiDiagnostic() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiDiagnostic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiDiagnostic() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiDiagnostic.json @@ -77,9 +76,8 @@ public async Task Get_ApiManagementGetApiDiagnostic() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateApiDiagnostic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateApiDiagnostic() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateApiDiagnostic.json @@ -159,9 +157,8 @@ public async Task Update_ApiManagementUpdateApiDiagnostic() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteApiDiagnostic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteApiDiagnostic() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteApiDiagnostic.json @@ -186,7 +183,7 @@ public async Task Delete_ApiManagementDeleteApiDiagnostic() ETag ifMatch = new ETag("*"); await apiDiagnostic.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiIssueAttachmentCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiIssueAttachmentCollection.cs index bda783453e30d..8f9b056507b93 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiIssueAttachmentCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiIssueAttachmentCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiIssueAttachmentCollection { - // ApiManagementListApiIssueAttachments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListApiIssueAttachments() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListApiIssueAttachments.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListApiIssueAttachments() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetApiIssueAttachment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiIssueAttachment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiIssueAttachment.json @@ -90,9 +89,8 @@ public async Task Get_ApiManagementGetApiIssueAttachment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetApiIssueAttachment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetApiIssueAttachment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiIssueAttachment.json @@ -123,9 +121,8 @@ public async Task Exists_ApiManagementGetApiIssueAttachment() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiIssueAttachment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetApiIssueAttachment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiIssueAttachment.json @@ -156,7 +153,7 @@ public async Task GetIfExists_ApiManagementGetApiIssueAttachment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_ApiManagementGetApiIssueAttachment() } } - // ApiManagementCreateApiIssueAttachment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiIssueAttachment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiIssueAttachment.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiIssueAttachmentResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiIssueAttachmentResource.cs index 2ddbea63155a5..8b294bdf8c558 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiIssueAttachmentResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiIssueAttachmentResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiIssueAttachmentResource { - // ApiManagementHeadApiIssueAttachment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadApiIssueAttachment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadApiIssueAttachment.json @@ -44,9 +44,8 @@ public async Task GetEntityTag_ApiManagementHeadApiIssueAttachment() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiIssueAttachment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiIssueAttachment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiIssueAttachment.json @@ -78,9 +77,8 @@ public async Task Get_ApiManagementGetApiIssueAttachment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateApiIssueAttachment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateApiIssueAttachment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiIssueAttachment.json @@ -119,9 +117,8 @@ public async Task Update_ApiManagementCreateApiIssueAttachment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteApiIssueAttachment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteApiIssueAttachment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteApiIssueAttachment.json @@ -147,7 +144,7 @@ public async Task Delete_ApiManagementDeleteApiIssueAttachment() ETag ifMatch = new ETag("*"); await apiIssueAttachment.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiIssueCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiIssueCollection.cs index 01bba1b82a9a3..7a0e4040ac07c 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiIssueCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiIssueCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiIssueCollection { - // ApiManagementListApiIssues - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListApiIssues() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListApiIssues.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListApiIssues() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetApiIssue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiIssue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiIssue.json @@ -89,9 +88,8 @@ public async Task Get_ApiManagementGetApiIssue() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetApiIssue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetApiIssue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiIssue.json @@ -121,9 +119,8 @@ public async Task Exists_ApiManagementGetApiIssue() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiIssue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetApiIssue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiIssue.json @@ -153,7 +150,7 @@ public async Task GetIfExists_ApiManagementGetApiIssue() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_ApiManagementGetApiIssue() } } - // ApiManagementCreateApiIssue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiIssue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiIssue.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiIssueCommentCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiIssueCommentCollection.cs index b9d4377cf4230..e02318a7f662f 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiIssueCommentCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiIssueCommentCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiIssueCommentCollection { - // ApiManagementListApiIssueComments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListApiIssueComments() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListApiIssueComments.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListApiIssueComments() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetApiIssueComment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiIssueComment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiIssueComment.json @@ -90,9 +89,8 @@ public async Task Get_ApiManagementGetApiIssueComment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetApiIssueComment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetApiIssueComment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiIssueComment.json @@ -123,9 +121,8 @@ public async Task Exists_ApiManagementGetApiIssueComment() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiIssueComment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetApiIssueComment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiIssueComment.json @@ -156,7 +153,7 @@ public async Task GetIfExists_ApiManagementGetApiIssueComment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_ApiManagementGetApiIssueComment() } } - // ApiManagementCreateApiIssueComment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiIssueComment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiIssueComment.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiIssueCommentResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiIssueCommentResource.cs index 55a34c30696e3..9d71ae0336194 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiIssueCommentResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiIssueCommentResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiIssueCommentResource { - // ApiManagementHeadApiIssueComment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadApiIssueComment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadApiIssueComment.json @@ -44,9 +44,8 @@ public async Task GetEntityTag_ApiManagementHeadApiIssueComment() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiIssueComment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiIssueComment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiIssueComment.json @@ -78,9 +77,8 @@ public async Task Get_ApiManagementGetApiIssueComment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateApiIssueComment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateApiIssueComment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiIssueComment.json @@ -119,9 +117,8 @@ public async Task Update_ApiManagementCreateApiIssueComment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteApiIssueComment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteApiIssueComment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteApiIssueComment.json @@ -147,7 +144,7 @@ public async Task Delete_ApiManagementDeleteApiIssueComment() ETag ifMatch = new ETag("*"); await apiIssueComment.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiIssueResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiIssueResource.cs index a186febdf451d..f60bd1e92c6c2 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiIssueResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiIssueResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiIssueResource { - // ApiManagementHeadApiIssue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadApiIssue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadApiIssue.json @@ -44,9 +44,8 @@ public async Task GetEntityTag_ApiManagementHeadApiIssue() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiIssue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiIssue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiIssue.json @@ -77,9 +76,8 @@ public async Task Get_ApiManagementGetApiIssue() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateApiIssue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateApiIssue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateApiIssue.json @@ -115,9 +113,8 @@ public async Task Update_ApiManagementUpdateApiIssue() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteApiIssue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteApiIssue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteApiIssue.json @@ -142,7 +139,7 @@ public async Task Delete_ApiManagementDeleteApiIssue() ETag ifMatch = new ETag("*"); await apiIssue.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementAuthorizationServerCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementAuthorizationServerCollection.cs index 68f51fe7f142b..90cbfdc6cffc6 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementAuthorizationServerCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementAuthorizationServerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementAuthorizationServerCollection { - // ApiManagementListAuthorizationServers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListAuthorizationServers() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListAuthorizationServers.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListAuthorizationServers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetAuthorizationServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetAuthorizationServer() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetAuthorizationServer.json @@ -87,9 +86,8 @@ public async Task Get_ApiManagementGetAuthorizationServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetAuthorizationServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetAuthorizationServer() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetAuthorizationServer.json @@ -118,9 +116,8 @@ public async Task Exists_ApiManagementGetAuthorizationServer() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetAuthorizationServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetAuthorizationServer() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetAuthorizationServer.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ApiManagementGetAuthorizationServer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ApiManagementGetAuthorizationServer() } } - // ApiManagementCreateAuthorizationServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateAuthorizationServer() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateAuthorizationServer.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementAuthorizationServerResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementAuthorizationServerResource.cs index cad672e81dd85..d78493f3c8b44 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementAuthorizationServerResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementAuthorizationServerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementAuthorizationServerResource { - // ApiManagementHeadAuthorizationServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadAuthorizationServer() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadAuthorizationServer.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadAuthorizationServer() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetAuthorizationServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetAuthorizationServer() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetAuthorizationServer.json @@ -75,9 +74,8 @@ public async Task Get_ApiManagementGetAuthorizationServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateAuthorizationServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateAuthorizationServer() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateAuthorizationServer.json @@ -115,9 +113,8 @@ public async Task Update_ApiManagementUpdateAuthorizationServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteAuthorizationServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteAuthorizationServer() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteAuthorizationServer.json @@ -141,12 +138,11 @@ public async Task Delete_ApiManagementDeleteAuthorizationServer() ETag ifMatch = new ETag("*"); await apiManagementAuthorizationServer.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementAuthorizationServerListSecrets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecrets_ApiManagementAuthorizationServerListSecrets() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementAuthorizationServerListSecrets.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementBackendCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementBackendCollection.cs index e6eb35c182588..bed50e8c28900 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementBackendCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementBackendCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementBackendCollection { - // ApiManagementListBackends - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListBackends() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListBackends.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListBackends() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetBackend - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetBackend() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetBackend.json @@ -87,9 +86,8 @@ public async Task Get_ApiManagementGetBackend() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetBackend - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetBackend() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetBackend.json @@ -118,9 +116,8 @@ public async Task Exists_ApiManagementGetBackend() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetBackend - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetBackend() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetBackend.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ApiManagementGetBackend() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ApiManagementGetBackend() } } - // ApiManagementCreateBackendProxyBackend - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateBackendProxyBackend() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateBackendProxyBackend.json @@ -231,9 +227,8 @@ public async Task CreateOrUpdate_ApiManagementCreateBackendProxyBackend() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateBackendServiceFabric - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateBackendServiceFabric() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateBackendServiceFabric.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementBackendResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementBackendResource.cs index ff09c4591dab4..110bf5ab77532 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementBackendResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementBackendResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementBackendResource { - // ApiManagementHeadBackend - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadBackend() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadBackend.json @@ -44,9 +44,8 @@ public async Task GetEntityTag_ApiManagementHeadBackend() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetBackend - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetBackend() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetBackend.json @@ -76,9 +75,8 @@ public async Task Get_ApiManagementGetBackend() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateBackend - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateBackend() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateBackend.json @@ -118,9 +116,8 @@ public async Task Update_ApiManagementUpdateBackend() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteBackend - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteBackend() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteBackend.json @@ -144,12 +141,11 @@ public async Task Delete_ApiManagementDeleteBackend() ETag ifMatch = new ETag("*"); await apiManagementBackend.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementBackendReconnect - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reconnect_ApiManagementBackendReconnect() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementBackendReconnect.json @@ -176,7 +172,7 @@ public async Task Reconnect_ApiManagementBackendReconnect() }; await apiManagementBackend.ReconnectAsync(backendReconnectContract: backendReconnectContract); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementCacheCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementCacheCollection.cs index 3883d0b872543..b96cd32897900 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementCacheCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementCacheCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementCacheCollection { - // ApiManagementListCaches - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListCaches() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListCaches.json @@ -48,12 +48,11 @@ public async Task GetAll_ApiManagementListCaches() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetCache - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetCache() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetCache.json @@ -86,9 +85,8 @@ public async Task Get_ApiManagementGetCache() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetCache - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetCache() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetCache.json @@ -117,9 +115,8 @@ public async Task Exists_ApiManagementGetCache() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetCache - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetCache() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetCache.json @@ -148,7 +145,7 @@ public async Task GetIfExists_ApiManagementGetCache() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_ApiManagementGetCache() } } - // ApiManagementCreateCache - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateCache() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateCache.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementCacheResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementCacheResource.cs index 6f675a36f7b1a..1f9fc337a5df5 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementCacheResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementCacheResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementCacheResource { - // ApiManagementHeadCache - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadCache() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadCache.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadCache() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetCache - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetCache() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetCache.json @@ -75,9 +74,8 @@ public async Task Get_ApiManagementGetCache() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateCache - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateCache() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateCache.json @@ -112,9 +110,8 @@ public async Task Update_ApiManagementUpdateCache() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteCache - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteCache() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteCache.json @@ -138,7 +135,7 @@ public async Task Delete_ApiManagementDeleteCache() ETag ifMatch = new ETag("*"); await apiManagementCache.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementCertificateCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementCertificateCollection.cs index 9a62a3fd76f72..a47d220cdecb5 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementCertificateCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementCertificateCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementCertificateCollection { - // ApiManagementListCertificates - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListCertificates() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListCertificates.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListCertificates() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetCertificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetCertificate() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetCertificate.json @@ -87,9 +86,8 @@ public async Task Get_ApiManagementGetCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetCertificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetCertificate() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetCertificate.json @@ -118,9 +116,8 @@ public async Task Exists_ApiManagementGetCertificate() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetCertificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetCertificate() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetCertificate.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ApiManagementGetCertificate() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ApiManagementGetCertificate() } } - // ApiManagementGetCertificateWithKeyVault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetCertificateWithKeyVault() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetCertificateWithKeyVault.json @@ -196,9 +192,8 @@ public async Task Get_ApiManagementGetCertificateWithKeyVault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetCertificateWithKeyVault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetCertificateWithKeyVault() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetCertificateWithKeyVault.json @@ -227,9 +222,8 @@ public async Task Exists_ApiManagementGetCertificateWithKeyVault() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetCertificateWithKeyVault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetCertificateWithKeyVault() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetCertificateWithKeyVault.json @@ -258,7 +252,7 @@ public async Task GetIfExists_ApiManagementGetCertificateWithKeyVault() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -270,9 +264,8 @@ public async Task GetIfExists_ApiManagementGetCertificateWithKeyVault() } } - // ApiManagementCreateCertificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateCertificate() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateCertificate.json @@ -311,9 +304,8 @@ public async Task CreateOrUpdate_ApiManagementCreateCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateCertificateWithKeyVault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateCertificateWithKeyVault() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateCertificateWithKeyVault.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementCertificateResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementCertificateResource.cs index ef89444044ff4..eb6cf502dc3b1 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementCertificateResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementCertificateResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementCertificateResource { - // ApiManagementHeadCertificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadCertificate() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadCertificate.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadCertificate() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetCertificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetCertificate() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetCertificate.json @@ -75,9 +74,8 @@ public async Task Get_ApiManagementGetCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetCertificateWithKeyVault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetCertificateWithKeyVault() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetCertificateWithKeyVault.json @@ -107,9 +105,8 @@ public async Task Get_ApiManagementGetCertificateWithKeyVault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateCertificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateCertificate() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateCertificate.json @@ -145,9 +142,8 @@ public async Task Update_ApiManagementCreateCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateCertificateWithKeyVault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateCertificateWithKeyVault() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateCertificateWithKeyVault.json @@ -186,9 +182,8 @@ public async Task Update_ApiManagementCreateCertificateWithKeyVault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteCertificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteCertificate() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteCertificate.json @@ -212,12 +207,11 @@ public async Task Delete_ApiManagementDeleteCertificate() ETag ifMatch = new ETag("*"); await apiManagementCertificate.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementRefreshCertificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RefreshSecret_ApiManagementRefreshCertificate() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementRefreshCertificate.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementDeletedServiceCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementDeletedServiceCollection.cs index da2e840ff7d7e..b291a5d6ce964 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementDeletedServiceCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementDeletedServiceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementDeletedServiceCollection { - // ApiManagementGetDeletedServiceByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetDeletedServiceByName() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetDeletedServiceByName.json @@ -49,9 +49,8 @@ public async Task Get_ApiManagementGetDeletedServiceByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetDeletedServiceByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetDeletedServiceByName() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetDeletedServiceByName.json @@ -79,9 +78,8 @@ public async Task Exists_ApiManagementGetDeletedServiceByName() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetDeletedServiceByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetDeletedServiceByName() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetDeletedServiceByName.json @@ -109,7 +107,7 @@ public async Task GetIfExists_ApiManagementGetDeletedServiceByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementDeletedServiceResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementDeletedServiceResource.cs index 23d7c63ef2cba..fa9c3a0a1671f 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementDeletedServiceResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementDeletedServiceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementDeletedServiceResource { - // ApiManagementDeletedServicesListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApiManagementDeletedServices_ApiManagementDeletedServicesListBySubscription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeletedServicesListBySubscription.json @@ -44,12 +44,11 @@ public async Task GetApiManagementDeletedServices_ApiManagementDeletedServicesLi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetDeletedServiceByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetDeletedServiceByName() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetDeletedServiceByName.json @@ -78,9 +77,8 @@ public async Task Get_ApiManagementGetDeletedServiceByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeletedServicesPurge - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeletedServicesPurge() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeletedServicesPurge.json @@ -102,7 +100,7 @@ public async Task Delete_ApiManagementDeletedServicesPurge() // invoke the operation await apiManagementDeletedService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementDiagnosticCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementDiagnosticCollection.cs index 93f07d38cba6b..5036dda0ed06f 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementDiagnosticCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementDiagnosticCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementDiagnosticCollection { - // ApiManagementListDiagnostics - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListDiagnostics() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListDiagnostics.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListDiagnostics() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetDiagnostic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetDiagnostic() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetDiagnostic.json @@ -87,9 +86,8 @@ public async Task Get_ApiManagementGetDiagnostic() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetDiagnostic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetDiagnostic() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetDiagnostic.json @@ -118,9 +116,8 @@ public async Task Exists_ApiManagementGetDiagnostic() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetDiagnostic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetDiagnostic() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetDiagnostic.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ApiManagementGetDiagnostic() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ApiManagementGetDiagnostic() } } - // ApiManagementCreateDiagnostic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateDiagnostic() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateDiagnostic.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementDiagnosticResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementDiagnosticResource.cs index 0e263ca9553a4..2c21f25467f4e 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementDiagnosticResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementDiagnosticResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementDiagnosticResource { - // ApiManagementHeadDiagnostic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadDiagnostic() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadDiagnostic.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadDiagnostic() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetDiagnostic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetDiagnostic() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetDiagnostic.json @@ -75,9 +74,8 @@ public async Task Get_ApiManagementGetDiagnostic() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateDiagnostic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateDiagnostic() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateDiagnostic.json @@ -156,9 +154,8 @@ public async Task Update_ApiManagementUpdateDiagnostic() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteDiagnostic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteDiagnostic() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteDiagnostic.json @@ -182,7 +179,7 @@ public async Task Delete_ApiManagementDeleteDiagnostic() ETag ifMatch = new ETag("*"); await apiManagementDiagnostic.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementEmailTemplateCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementEmailTemplateCollection.cs index 527f2ac62bafb..6bdb611cf99ad 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementEmailTemplateCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementEmailTemplateCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementEmailTemplateCollection { - // ApiManagementListTemplates - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListTemplates() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListTemplates.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListTemplates() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetTemplate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetTemplate() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTemplate.json @@ -87,9 +86,8 @@ public async Task Get_ApiManagementGetTemplate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetTemplate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetTemplate() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTemplate.json @@ -118,9 +116,8 @@ public async Task Exists_ApiManagementGetTemplate() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetTemplate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetTemplate() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTemplate.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ApiManagementGetTemplate() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ApiManagementGetTemplate() } } - // ApiManagementCreateTemplate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateTemplate() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateTemplate.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementEmailTemplateResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementEmailTemplateResource.cs index 17fed473051af..ea075296285aa 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementEmailTemplateResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementEmailTemplateResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementEmailTemplateResource { - // ApiManagementHeadEmailTemplate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadEmailTemplate() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadEmailTemplate.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadEmailTemplate() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetTemplate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetTemplate() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTemplate.json @@ -75,9 +74,8 @@ public async Task Get_ApiManagementGetTemplate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateTemplate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateTemplate() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateTemplate.json @@ -113,9 +111,8 @@ public async Task Update_ApiManagementUpdateTemplate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteTemplate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteTemplate() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteTemplate.json @@ -139,7 +136,7 @@ public async Task Delete_ApiManagementDeleteTemplate() ETag ifMatch = new ETag("*"); await apiManagementEmailTemplate.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGatewayCertificateAuthorityCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGatewayCertificateAuthorityCollection.cs index d32fc7e995b0d..5f10bfdbf7f7b 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGatewayCertificateAuthorityCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGatewayCertificateAuthorityCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementGatewayCertificateAuthorityCollection { - // ApiManagementListGatewaycertificateAuthorities - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListGatewaycertificateAuthorities() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListGatewayCertificateAuthorities.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListGatewaycertificateAuthorities() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetGatewayCertificateAuthority - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetGatewayCertificateAuthority() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGatewayCertificateAuthority.json @@ -88,9 +87,8 @@ public async Task Get_ApiManagementGetGatewayCertificateAuthority() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetGatewayCertificateAuthority - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetGatewayCertificateAuthority() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGatewayCertificateAuthority.json @@ -120,9 +118,8 @@ public async Task Exists_ApiManagementGetGatewayCertificateAuthority() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetGatewayCertificateAuthority - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetGatewayCertificateAuthority() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGatewayCertificateAuthority.json @@ -152,7 +149,7 @@ public async Task GetIfExists_ApiManagementGetGatewayCertificateAuthority() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_ApiManagementGetGatewayCertificateAuthority() } } - // ApiManagementCreateGatewayCertificateAuthority - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateGatewayCertificateAuthority() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateGatewayCertificateAuthority.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGatewayCertificateAuthorityResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGatewayCertificateAuthorityResource.cs index d18161cc110de..ae8019be2f0f4 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGatewayCertificateAuthorityResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGatewayCertificateAuthorityResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementGatewayCertificateAuthorityResource { - // ApiManagementHeadGatewayCertificateAuthority - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadGatewayCertificateAuthority() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadGatewayCertificateAuthority.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadGatewayCertificateAuthority() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetGatewayCertificateAuthority - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetGatewayCertificateAuthority() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGatewayCertificateAuthority.json @@ -76,9 +75,8 @@ public async Task Get_ApiManagementGetGatewayCertificateAuthority() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateGatewayCertificateAuthority - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateGatewayCertificateAuthority() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateGatewayCertificateAuthority.json @@ -114,9 +112,8 @@ public async Task Update_ApiManagementCreateGatewayCertificateAuthority() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteGatewayCertificateAuthority - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteGatewayCertificateAuthority() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteGatewayCertificateAuthority.json @@ -141,7 +138,7 @@ public async Task Delete_ApiManagementDeleteGatewayCertificateAuthority() ETag ifMatch = new ETag("*"); await apiManagementGatewayCertificateAuthority.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGatewayCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGatewayCollection.cs index 1da65e24fa846..94edf0ad60faa 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGatewayCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGatewayCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementGatewayCollection { - // ApiManagementListGateways - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListGateways() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListGateways.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListGateways() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetGateway() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGateway.json @@ -87,9 +86,8 @@ public async Task Get_ApiManagementGetGateway() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetGateway() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGateway.json @@ -118,9 +116,8 @@ public async Task Exists_ApiManagementGetGateway() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetGateway() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGateway.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ApiManagementGetGateway() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ApiManagementGetGateway() } } - // ApiManagementCreateGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateGateway() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateGateway.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGatewayHostnameConfigurationCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGatewayHostnameConfigurationCollection.cs index e0cc02fd4dfc5..1ef6a38e55019 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGatewayHostnameConfigurationCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGatewayHostnameConfigurationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementGatewayHostnameConfigurationCollection { - // ApiManagementListGatewayHostnameConfigurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListGatewayHostnameConfigurations() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListGatewayHostnameConfigurations.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListGatewayHostnameConfigurations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetGatewayHostnameConfiguration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetGatewayHostnameConfiguration() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGatewayHostnameConfiguration.json @@ -88,9 +87,8 @@ public async Task Get_ApiManagementGetGatewayHostnameConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetGatewayHostnameConfiguration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetGatewayHostnameConfiguration() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGatewayHostnameConfiguration.json @@ -120,9 +118,8 @@ public async Task Exists_ApiManagementGetGatewayHostnameConfiguration() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetGatewayHostnameConfiguration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetGatewayHostnameConfiguration() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGatewayHostnameConfiguration.json @@ -152,7 +149,7 @@ public async Task GetIfExists_ApiManagementGetGatewayHostnameConfiguration() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_ApiManagementGetGatewayHostnameConfiguration() } } - // ApiManagementCreateGatewayHostnameConfiguration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateGatewayHostnameConfiguration() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateGatewayHostnameConfiguration.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGatewayHostnameConfigurationResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGatewayHostnameConfigurationResource.cs index a5cda72d79550..70dc56def41f5 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGatewayHostnameConfigurationResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGatewayHostnameConfigurationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementGatewayHostnameConfigurationResource { - // ApiManagementHeadGatewayHostnameConfiguration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadGatewayHostnameConfiguration() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadGatewayHostnameConfiguration.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadGatewayHostnameConfiguration() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetGatewayHostnameConfiguration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetGatewayHostnameConfiguration() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGatewayHostnameConfiguration.json @@ -76,9 +75,8 @@ public async Task Get_ApiManagementGetGatewayHostnameConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateGatewayHostnameConfiguration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateGatewayHostnameConfiguration() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateGatewayHostnameConfiguration.json @@ -119,9 +117,8 @@ public async Task Update_ApiManagementCreateGatewayHostnameConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteGatewayHostnameConfiguration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteGatewayHostnameConfiguration() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteGatewayHostnameConfiguration.json @@ -146,7 +143,7 @@ public async Task Delete_ApiManagementDeleteGatewayHostnameConfiguration() ETag ifMatch = new ETag("*"); await apiManagementGatewayHostnameConfiguration.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGatewayResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGatewayResource.cs index ef596d15e6e1a..3ad60afda258b 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGatewayResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGatewayResource.cs @@ -12,14 +12,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementGatewayResource { - // ApiManagementHeadGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadGateway() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadGateway.json @@ -45,9 +45,8 @@ public async Task GetEntityTag_ApiManagementHeadGateway() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetGateway() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGateway.json @@ -77,9 +76,8 @@ public async Task Get_ApiManagementGetGateway() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateGateway() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateGateway.json @@ -115,9 +113,8 @@ public async Task Update_ApiManagementUpdateGateway() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteGateway() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteGateway.json @@ -141,12 +138,11 @@ public async Task Delete_ApiManagementDeleteGateway() ETag ifMatch = new ETag("*"); await apiManagementGateway.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGatewayListKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_ApiManagementGatewayListKeys() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGatewayListKeys.json @@ -172,9 +168,8 @@ public async Task GetKeys_ApiManagementGatewayListKeys() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGatewayRegenerateKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKey_ApiManagementGatewayRegenerateKey() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGatewayRegenerateKey.json @@ -198,12 +193,11 @@ public async Task RegenerateKey_ApiManagementGatewayRegenerateKey() GatewayKeyRegenerateContent content = new GatewayKeyRegenerateContent(GatewayRegenerateKeyType.Primary); await apiManagementGateway.RegenerateKeyAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGatewayGenerateToken - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateToken_ApiManagementGatewayGenerateToken() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGatewayGenerateToken.json @@ -230,9 +224,8 @@ public async Task GenerateToken_ApiManagementGatewayGenerateToken() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGatewayInvalidateDebugCredentials - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task InvalidateDebugCredentials_ApiManagementGatewayInvalidateDebugCredentials() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGatewayInvalidateDebugCredentials.json @@ -255,12 +248,11 @@ public async Task InvalidateDebugCredentials_ApiManagementGatewayInvalidateDebug // invoke the operation await apiManagementGateway.InvalidateDebugCredentialsAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGatewayListDebugCredentials - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDebugCredentials_ApiManagementGatewayListDebugCredentials() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGatewayListDebugCredentials.json @@ -293,9 +285,8 @@ public async Task GetDebugCredentials_ApiManagementGatewayListDebugCredentials() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGatewayListTrace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTrace_ApiManagementGatewayListTrace() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGatewayListTrace.json @@ -326,9 +317,8 @@ public async Task GetTrace_ApiManagementGatewayListTrace() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementListGatewayApis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetGatewayApisByService_ApiManagementListGatewayApis() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListGatewayApis.json @@ -354,12 +344,11 @@ public async Task GetGatewayApisByService_ApiManagementListGatewayApis() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementHeadGatewayApi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetGatewayApiEntityTag_ApiManagementHeadGatewayApi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadGatewayApi.json @@ -386,9 +375,8 @@ public async Task GetGatewayApiEntityTag_ApiManagementHeadGatewayApi() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementCreateGatewayApi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateGatewayApi_ApiManagementCreateGatewayApi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateGatewayApi.json @@ -419,9 +407,8 @@ public async Task CreateOrUpdateGatewayApi_ApiManagementCreateGatewayApi() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementDeleteGatewayApi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteGatewayApi_ApiManagementDeleteGatewayApi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteGatewayApi.json @@ -445,7 +432,7 @@ public async Task DeleteGatewayApi_ApiManagementDeleteGatewayApi() string apiId = "echo-api"; await apiManagementGateway.DeleteGatewayApiAsync(apiId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGlobalSchemaCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGlobalSchemaCollection.cs index 8e550cb63ad73..569f43e396ccd 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGlobalSchemaCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGlobalSchemaCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementGlobalSchemaCollection { - // ApiManagementListSchemas - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListSchemas() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListGlobalSchemas.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListSchemas() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetSchema1 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetSchema1() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGlobalSchema1.json @@ -88,9 +87,8 @@ public async Task Get_ApiManagementGetSchema1() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetSchema1 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetSchema1() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGlobalSchema1.json @@ -119,9 +117,8 @@ public async Task Exists_ApiManagementGetSchema1() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetSchema1 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetSchema1() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGlobalSchema1.json @@ -150,7 +147,7 @@ public async Task GetIfExists_ApiManagementGetSchema1() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_ApiManagementGetSchema1() } } - // ApiManagementGetSchema2 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetSchema2() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGlobalSchema2.json @@ -197,9 +193,8 @@ public async Task Get_ApiManagementGetSchema2() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetSchema2 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetSchema2() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGlobalSchema2.json @@ -228,9 +223,8 @@ public async Task Exists_ApiManagementGetSchema2() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetSchema2 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetSchema2() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGlobalSchema2.json @@ -259,7 +253,7 @@ public async Task GetIfExists_ApiManagementGetSchema2() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -271,9 +265,8 @@ public async Task GetIfExists_ApiManagementGetSchema2() } } - // ApiManagementCreateSchema1 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateSchema1() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateGlobalSchema1.json @@ -313,9 +306,8 @@ public async Task CreateOrUpdate_ApiManagementCreateSchema1() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateSchema2 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateSchema2() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateGlobalSchema2.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGlobalSchemaResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGlobalSchemaResource.cs index 5abc21f89a3ac..e0cc3a1516f45 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGlobalSchemaResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGlobalSchemaResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementGlobalSchemaResource { - // ApiManagementHeadApi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadApi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadGlobalSchema.json @@ -44,9 +44,8 @@ public async Task GetEntityTag_ApiManagementHeadApi() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetSchema1 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetSchema1() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGlobalSchema1.json @@ -76,9 +75,8 @@ public async Task Get_ApiManagementGetSchema1() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetSchema2 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetSchema2() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGlobalSchema2.json @@ -108,9 +106,8 @@ public async Task Get_ApiManagementGetSchema2() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateSchema1 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateSchema1() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateGlobalSchema1.json @@ -147,9 +144,8 @@ public async Task Update_ApiManagementCreateSchema1() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateSchema2 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateSchema2() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateGlobalSchema2.json @@ -211,9 +207,8 @@ public async Task Update_ApiManagementCreateSchema2() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteSchema() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteGlobalSchema.json @@ -237,7 +232,7 @@ public async Task Delete_ApiManagementDeleteSchema() ETag ifMatch = new ETag("*"); await apiManagementGlobalSchema.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGroupCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGroupCollection.cs index c35c5ac356f5e..c587b27ff45ef 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGroupCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGroupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementGroupCollection { - // ApiManagementListGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListGroups() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListGroups.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetGroup() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGroup.json @@ -87,9 +86,8 @@ public async Task Get_ApiManagementGetGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetGroup() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGroup.json @@ -118,9 +116,8 @@ public async Task Exists_ApiManagementGetGroup() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetGroup() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGroup.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ApiManagementGetGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ApiManagementGetGroup() } } - // ApiManagementCreateGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateGroup() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateGroup.json @@ -201,9 +197,8 @@ public async Task CreateOrUpdate_ApiManagementCreateGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateGroupExternal - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateGroupExternal() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateGroupExternal.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGroupResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGroupResource.cs index 0e98c889f3013..8173c9e3dd176 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGroupResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementGroupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementGroupResource { - // ApiManagementHeadGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadGroup() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadGroup.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadGroup() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetGroup() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGroup.json @@ -75,9 +74,8 @@ public async Task Get_ApiManagementGetGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateGroup() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateGroup.json @@ -112,9 +110,8 @@ public async Task Update_ApiManagementUpdateGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteGroup() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteGroup.json @@ -138,12 +135,11 @@ public async Task Delete_ApiManagementDeleteGroup() ETag ifMatch = new ETag("*"); await apiManagementGroup.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementListGroupUsers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetGroupUsers_ApiManagementListGroupUsers() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListGroupUsers.json @@ -169,12 +165,11 @@ public async Task GetGroupUsers_ApiManagementListGroupUsers() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementHeadGroupUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckGroupUserEntityExists_ApiManagementHeadGroupUser() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadGroupUser.json @@ -201,9 +196,8 @@ public async Task CheckGroupUserEntityExists_ApiManagementHeadGroupUser() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementCreateGroupUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateGroupUser_ApiManagementCreateGroupUser() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateGroupUser.json @@ -230,9 +224,8 @@ public async Task CreateGroupUser_ApiManagementCreateGroupUser() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementDeleteGroupUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteGroupUser_ApiManagementDeleteGroupUser() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteGroupUser.json @@ -256,7 +249,7 @@ public async Task DeleteGroupUser_ApiManagementDeleteGroupUser() string userId = "59307d350af58404d8a26300"; await apiManagementGroup.DeleteGroupUserAsync(userId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementIdentityProviderCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementIdentityProviderCollection.cs index 95bc6ecceb837..9d5ffc591a9f7 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementIdentityProviderCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementIdentityProviderCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementIdentityProviderCollection { - // ApiManagementListIdentityProviders - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListIdentityProviders() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListIdentityProviders.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListIdentityProviders() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetIdentityProvider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetIdentityProvider() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetIdentityProvider.json @@ -87,9 +86,8 @@ public async Task Get_ApiManagementGetIdentityProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetIdentityProvider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetIdentityProvider() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetIdentityProvider.json @@ -118,9 +116,8 @@ public async Task Exists_ApiManagementGetIdentityProvider() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetIdentityProvider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetIdentityProvider() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetIdentityProvider.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ApiManagementGetIdentityProvider() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ApiManagementGetIdentityProvider() } } - // ApiManagementCreateIdentityProvider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateIdentityProvider() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateIdentityProvider.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementIdentityProviderResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementIdentityProviderResource.cs index 5b0efeb25727a..e400e56ee2c91 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementIdentityProviderResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementIdentityProviderResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementIdentityProviderResource { - // ApiManagementHeadIdentityProvider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadIdentityProvider() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadIdentityProvider.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadIdentityProvider() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetIdentityProvider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetIdentityProvider() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetIdentityProvider.json @@ -75,9 +74,8 @@ public async Task Get_ApiManagementGetIdentityProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateIdentityProvider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateIdentityProvider() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateIdentityProvider.json @@ -113,9 +111,8 @@ public async Task Update_ApiManagementUpdateIdentityProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteIdentityProvider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteIdentityProvider() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteIdentityProvider.json @@ -139,12 +136,11 @@ public async Task Delete_ApiManagementDeleteIdentityProvider() ETag ifMatch = new ETag("*"); await apiManagementIdentityProvider.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementIdentityProviderListSecrets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecrets_ApiManagementIdentityProviderListSecrets() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementIdentityProviderListSecrets.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementIssueCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementIssueCollection.cs index 0a9789e2ebfd2..ae9052183e0a7 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementIssueCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementIssueCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementIssueCollection { - // ApiManagementListIssues - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListIssues() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListIssues.json @@ -48,12 +48,11 @@ public async Task GetAll_ApiManagementListIssues() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetIssue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetIssue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetIssue.json @@ -86,9 +85,8 @@ public async Task Get_ApiManagementGetIssue() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetIssue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetIssue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetIssue.json @@ -117,9 +115,8 @@ public async Task Exists_ApiManagementGetIssue() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetIssue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetIssue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetIssue.json @@ -148,7 +145,7 @@ public async Task GetIfExists_ApiManagementGetIssue() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementIssueResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementIssueResource.cs index b16ade1bfa968..08e085becbda2 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementIssueResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementIssueResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementIssueResource { - // ApiManagementGetIssue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetIssue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetIssue.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementLoggerCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementLoggerCollection.cs index 23db9f2bbee0d..edd7e66046dcc 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementLoggerCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementLoggerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementLoggerCollection { - // ApiManagementListLoggers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListLoggers() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListLoggers.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListLoggers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetLogger - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetLogger() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetLogger.json @@ -87,9 +86,8 @@ public async Task Get_ApiManagementGetLogger() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetLogger - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetLogger() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetLogger.json @@ -118,9 +116,8 @@ public async Task Exists_ApiManagementGetLogger() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetLogger - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetLogger() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetLogger.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ApiManagementGetLogger() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ApiManagementGetLogger() } } - // ApiManagementCreateAILogger - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateAILogger() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateAILogger.json @@ -206,9 +202,8 @@ public async Task CreateOrUpdate_ApiManagementCreateAILogger() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateEHLogger - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateEHLogger() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateEHLogger.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementLoggerResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementLoggerResource.cs index a4346c5698718..603451ba359ad 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementLoggerResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementLoggerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementLoggerResource { - // ApiManagementHeadLogger - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadLogger() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadLogger.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadLogger() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetLogger - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetLogger() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetLogger.json @@ -75,9 +74,8 @@ public async Task Get_ApiManagementGetLogger() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateLogger - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateLogger() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateLogger.json @@ -113,9 +111,8 @@ public async Task Update_ApiManagementUpdateLogger() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteLogger - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteLogger() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteLogger.json @@ -139,7 +136,7 @@ public async Task Delete_ApiManagementDeleteLogger() ETag ifMatch = new ETag("*"); await apiManagementLogger.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementNamedValueCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementNamedValueCollection.cs index e63fcdd8cf6d5..09574adda82d5 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementNamedValueCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementNamedValueCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementNamedValueCollection { - // ApiManagementListNamedValues - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListNamedValues() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListNamedValues.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListNamedValues() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetNamedValue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetNamedValue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetNamedValue.json @@ -87,9 +86,8 @@ public async Task Get_ApiManagementGetNamedValue() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetNamedValue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetNamedValue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetNamedValue.json @@ -118,9 +116,8 @@ public async Task Exists_ApiManagementGetNamedValue() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetNamedValue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetNamedValue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetNamedValue.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ApiManagementGetNamedValue() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ApiManagementGetNamedValue() } } - // ApiManagementGetNamedValueWithKeyVault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetNamedValueWithKeyVault() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetNamedValueWithKeyVault.json @@ -196,9 +192,8 @@ public async Task Get_ApiManagementGetNamedValueWithKeyVault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetNamedValueWithKeyVault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetNamedValueWithKeyVault() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetNamedValueWithKeyVault.json @@ -227,9 +222,8 @@ public async Task Exists_ApiManagementGetNamedValueWithKeyVault() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetNamedValueWithKeyVault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetNamedValueWithKeyVault() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetNamedValueWithKeyVault.json @@ -258,7 +252,7 @@ public async Task GetIfExists_ApiManagementGetNamedValueWithKeyVault() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -270,9 +264,8 @@ public async Task GetIfExists_ApiManagementGetNamedValueWithKeyVault() } } - // ApiManagementCreateNamedValue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateNamedValue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateNamedValue.json @@ -316,9 +309,8 @@ public async Task CreateOrUpdate_ApiManagementCreateNamedValue() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateNamedValueWithKeyVault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateNamedValueWithKeyVault() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateNamedValueWithKeyVault.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementNamedValueResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementNamedValueResource.cs index ff5468cd442df..4de7ac9b5be61 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementNamedValueResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementNamedValueResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementNamedValueResource { - // ApiManagementHeadNamedValue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadNamedValue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadNamedValue.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadNamedValue() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetNamedValue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetNamedValue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetNamedValue.json @@ -75,9 +74,8 @@ public async Task Get_ApiManagementGetNamedValue() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetNamedValueWithKeyVault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetNamedValueWithKeyVault() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetNamedValueWithKeyVault.json @@ -107,9 +105,8 @@ public async Task Get_ApiManagementGetNamedValueWithKeyVault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateNamedValue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateNamedValue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateNamedValue.json @@ -151,9 +148,8 @@ public async Task Update_ApiManagementUpdateNamedValue() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteNamedValue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteNamedValue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteNamedValue.json @@ -177,12 +173,11 @@ public async Task Delete_ApiManagementDeleteNamedValue() ETag ifMatch = new ETag("*"); await apiManagementNamedValue.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementNamedValueListValue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetValue_ApiManagementNamedValueListValue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementNamedValueListValue.json @@ -208,9 +203,8 @@ public async Task GetValue_ApiManagementNamedValueListValue() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementRefreshNamedValue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RefreshSecret_ApiManagementRefreshNamedValue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementRefreshNamedValue.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementNotificationCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementNotificationCollection.cs index 815e2906f0ca6..393b345394f4c 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementNotificationCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementNotificationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementNotificationCollection { - // ApiManagementListNotifications - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListNotifications() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListNotifications.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListNotifications() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetNotification - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetNotification() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetNotification.json @@ -87,9 +86,8 @@ public async Task Get_ApiManagementGetNotification() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetNotification - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetNotification() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetNotification.json @@ -118,9 +116,8 @@ public async Task Exists_ApiManagementGetNotification() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetNotification - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetNotification() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetNotification.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ApiManagementGetNotification() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ApiManagementGetNotification() } } - // ApiManagementCreateNotification - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateNotification() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateNotification.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementNotificationResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementNotificationResource.cs index db9b17357112b..c2380197d6382 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementNotificationResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementNotificationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementNotificationResource { - // ApiManagementGetNotification - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetNotification() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetNotification.json @@ -47,9 +47,8 @@ public async Task Get_ApiManagementGetNotification() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateNotification - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateNotification() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateNotification.json @@ -80,9 +79,8 @@ public async Task Update_ApiManagementCreateNotification() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementListNotificationRecipientUsers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNotificationRecipientUsers_ApiManagementListNotificationRecipientUsers() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListNotificationRecipientUsers.json @@ -108,12 +106,11 @@ public async Task GetNotificationRecipientUsers_ApiManagementListNotificationRec Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementHeadNotificationRecipientUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckNotificationRecipientUserEntityExists_ApiManagementHeadNotificationRecipientUser() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadNotificationRecipientUser.json @@ -140,9 +137,8 @@ public async Task CheckNotificationRecipientUserEntityExists_ApiManagementHeadNo Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementCreateNotificationRecipientUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateNotificationRecipientUser_ApiManagementCreateNotificationRecipientUser() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateNotificationRecipientUser.json @@ -169,9 +165,8 @@ public async Task CreateOrUpdateNotificationRecipientUser_ApiManagementCreateNot Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementDeleteNotificationRecipientUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteNotificationRecipientUser_ApiManagementDeleteNotificationRecipientUser() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteNotificationRecipientUser.json @@ -195,12 +190,11 @@ public async Task DeleteNotificationRecipientUser_ApiManagementDeleteNotificatio string userId = "576823d0a40f7e74ec07d642"; await apiManagementNotification.DeleteNotificationRecipientUserAsync(userId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementListNotificationRecipientEmails - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNotificationRecipientEmails_ApiManagementListNotificationRecipientEmails() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListNotificationRecipientEmails.json @@ -226,12 +220,11 @@ public async Task GetNotificationRecipientEmails_ApiManagementListNotificationRe Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementHeadNotificationRecipientEmail - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckNotificationRecipientEmailEntityExists_ApiManagementHeadNotificationRecipientEmail() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadNotificationRecipientEmail.json @@ -258,9 +251,8 @@ public async Task CheckNotificationRecipientEmailEntityExists_ApiManagementHeadN Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementCreateNotificationRecipientEmail - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateNotificationRecipientEmail_ApiManagementCreateNotificationRecipientEmail() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateNotificationRecipientEmail.json @@ -287,9 +279,8 @@ public async Task CreateOrUpdateNotificationRecipientEmail_ApiManagementCreateNo Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementDeleteNotificationRecipientEmail - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteNotificationRecipientEmail_ApiManagementDeleteNotificationRecipientEmail() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteNotificationRecipientEmail.json @@ -313,7 +304,7 @@ public async Task DeleteNotificationRecipientEmail_ApiManagementDeleteNotificati string email = "contoso@live.com"; await apiManagementNotification.DeleteNotificationRecipientEmailAsync(email); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementOpenIdConnectProviderCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementOpenIdConnectProviderCollection.cs index 8d399713c6a8d..cf4fc40c1fbbc 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementOpenIdConnectProviderCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementOpenIdConnectProviderCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementOpenIdConnectProviderCollection { - // ApiManagementListOpenIdConnectProviders - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListOpenIdConnectProviders() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListOpenIdConnectProviders.json @@ -48,12 +48,11 @@ public async Task GetAll_ApiManagementListOpenIdConnectProviders() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetOpenIdConnectProvider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetOpenIdConnectProvider() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetOpenIdConnectProvider.json @@ -86,9 +85,8 @@ public async Task Get_ApiManagementGetOpenIdConnectProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetOpenIdConnectProvider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetOpenIdConnectProvider() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetOpenIdConnectProvider.json @@ -117,9 +115,8 @@ public async Task Exists_ApiManagementGetOpenIdConnectProvider() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetOpenIdConnectProvider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetOpenIdConnectProvider() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetOpenIdConnectProvider.json @@ -148,7 +145,7 @@ public async Task GetIfExists_ApiManagementGetOpenIdConnectProvider() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_ApiManagementGetOpenIdConnectProvider() } } - // ApiManagementCreateOpenIdConnectProvider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateOpenIdConnectProvider() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateOpenIdConnectProvider.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementOpenIdConnectProviderResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementOpenIdConnectProviderResource.cs index 0892fedc45c69..676037edc2b3a 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementOpenIdConnectProviderResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementOpenIdConnectProviderResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementOpenIdConnectProviderResource { - // ApiManagementHeadOpenIdConnectProvider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadOpenIdConnectProvider() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadOpenIdConnectProvider.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadOpenIdConnectProvider() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetOpenIdConnectProvider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetOpenIdConnectProvider() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetOpenIdConnectProvider.json @@ -75,9 +74,8 @@ public async Task Get_ApiManagementGetOpenIdConnectProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateOpenIdConnectProvider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateOpenIdConnectProvider() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateOpenIdConnectProvider.json @@ -114,9 +112,8 @@ public async Task Update_ApiManagementUpdateOpenIdConnectProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteOpenIdConnectProvider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteOpenIdConnectProvider() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteOpenIdConnectProvider.json @@ -140,12 +137,11 @@ public async Task Delete_ApiManagementDeleteOpenIdConnectProvider() ETag ifMatch = new ETag("*"); await apiManagementOpenIdConnectProvider.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementOpenidConnectProviderListSecrets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecrets_ApiManagementOpenidConnectProviderListSecrets() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementOpenidConnectProviderListSecrets.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPolicyCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPolicyCollection.cs index 6e07000013956..f5ce2881a97a2 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPolicyCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementPolicyCollection { - // ApiManagementListPolicies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListPolicies() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListPolicies.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPolicy.json @@ -87,9 +86,8 @@ public async Task Get_ApiManagementGetPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPolicy.json @@ -118,9 +116,8 @@ public async Task Exists_ApiManagementGetPolicy() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPolicy.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ApiManagementGetPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ApiManagementGetPolicy() } } - // ApiManagementGetPolicyFormat - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetPolicyFormat() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPolicyFormat.json @@ -197,9 +193,8 @@ public async Task Get_ApiManagementGetPolicyFormat() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetPolicyFormat - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetPolicyFormat() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPolicyFormat.json @@ -229,9 +224,8 @@ public async Task Exists_ApiManagementGetPolicyFormat() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetPolicyFormat - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetPolicyFormat() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPolicyFormat.json @@ -261,7 +255,7 @@ public async Task GetIfExists_ApiManagementGetPolicyFormat() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -273,9 +267,8 @@ public async Task GetIfExists_ApiManagementGetPolicyFormat() } } - // ApiManagementCreatePolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreatePolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreatePolicy.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPolicyResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPolicyResource.cs index 1889919d21375..39010212bb930 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPolicyResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementPolicyResource { - // ApiManagementHeadPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadPolicy.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadPolicy() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPolicy.json @@ -75,9 +74,8 @@ public async Task Get_ApiManagementGetPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetPolicyFormat - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetPolicyFormat() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPolicyFormat.json @@ -108,9 +106,8 @@ public async Task Get_ApiManagementGetPolicyFormat() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreatePolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreatePolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreatePolicy.json @@ -146,9 +143,8 @@ public async Task Update_ApiManagementCreatePolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeletePolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeletePolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeletePolicy.json @@ -172,7 +168,7 @@ public async Task Delete_ApiManagementDeletePolicy() ETag ifMatch = new ETag("*"); await apiManagementPolicy.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPortalDelegationSettingResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPortalDelegationSettingResource.cs index 0394d50581daf..873e9e5cdec95 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPortalDelegationSettingResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPortalDelegationSettingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementPortalDelegationSettingResource { - // ApiManagementHeadDelegationSettings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadDelegationSettings() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadDelegationSettings.json @@ -42,9 +42,8 @@ public async Task GetEntityTag_ApiManagementHeadDelegationSettings() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementPortalSettingsGetDelegation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementPortalSettingsGetDelegation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementPortalSettingsGetDelegation.json @@ -73,9 +72,8 @@ public async Task Get_ApiManagementPortalSettingsGetDelegation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementPortalSettingsUpdateDelegation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementPortalSettingsUpdateDelegation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementPortalSettingsUpdateDelegation.json @@ -105,12 +103,11 @@ public async Task Update_ApiManagementPortalSettingsUpdateDelegation() }; await apiManagementPortalDelegationSetting.UpdateAsync(ifMatch, data); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementPortalSettingsUpdateDelegation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementPortalSettingsUpdateDelegation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementPortalSettingsPutDelegation.json @@ -148,9 +145,8 @@ public async Task CreateOrUpdate_ApiManagementPortalSettingsUpdateDelegation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementListSecretsPortalSettings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecrets_ApiManagementListSecretsPortalSettings() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListSecretsPortalSettingsValidationKey.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPortalRevisionCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPortalRevisionCollection.cs index 30afb7d5d16e0..aeec55e9a6eab 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPortalRevisionCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPortalRevisionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementPortalRevisionCollection { - // ApiManagementListPortalRevisions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListPortalRevisions() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListPortalRevisions.json @@ -48,12 +48,11 @@ public async Task GetAll_ApiManagementListPortalRevisions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetPortalRevision - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetPortalRevision() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPortalRevision.json @@ -86,9 +85,8 @@ public async Task Get_ApiManagementGetPortalRevision() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetPortalRevision - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetPortalRevision() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPortalRevision.json @@ -117,9 +115,8 @@ public async Task Exists_ApiManagementGetPortalRevision() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetPortalRevision - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetPortalRevision() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPortalRevision.json @@ -148,7 +145,7 @@ public async Task GetIfExists_ApiManagementGetPortalRevision() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_ApiManagementGetPortalRevision() } } - // ApiManagementCreatePortalRevision - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreatePortalRevision() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreatePortalRevision.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPortalRevisionResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPortalRevisionResource.cs index d29e24bbc983d..6290e30c37be5 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPortalRevisionResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPortalRevisionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementPortalRevisionResource { - // ApiManagementHeadPortalRevision - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadPortalRevision() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadPortalRevision.json @@ -42,9 +42,8 @@ public async Task GetEntityTag_ApiManagementHeadPortalRevision() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetPortalRevision - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetPortalRevision() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPortalRevision.json @@ -74,9 +73,8 @@ public async Task Get_ApiManagementGetPortalRevision() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdatePortalRevision - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdatePortalRevision() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdatePortalRevision.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPortalSignInSettingResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPortalSignInSettingResource.cs index 7aa7755c07a93..dae89141817a7 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPortalSignInSettingResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPortalSignInSettingResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementPortalSignInSettingResource { - // ApiManagementHeadSignInSettings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadSignInSettings() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadSignInSettings.json @@ -41,9 +41,8 @@ public async Task GetEntityTag_ApiManagementHeadSignInSettings() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementPortalSettingsGetSignIn - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementPortalSettingsGetSignIn() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementPortalSettingsGetSignIn.json @@ -72,9 +71,8 @@ public async Task Get_ApiManagementPortalSettingsGetSignIn() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementPortalSettingsUpdateSignIn - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementPortalSettingsUpdateSignIn() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementPortalSettingsUpdateSignIn.json @@ -101,12 +99,11 @@ public async Task Update_ApiManagementPortalSettingsUpdateSignIn() }; await apiManagementPortalSignInSetting.UpdateAsync(ifMatch, data); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementPortalSettingsUpdateSignIn - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementPortalSettingsUpdateSignIn() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementPortalSettingsPutSignIn.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPortalSignUpSettingResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPortalSignUpSettingResource.cs index 10040d728eeb4..98490951fc69e 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPortalSignUpSettingResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPortalSignUpSettingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementPortalSignUpSettingResource { - // ApiManagementHeadSignUpSettings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadSignUpSettings() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadSignUpSettings.json @@ -42,9 +42,8 @@ public async Task GetEntityTag_ApiManagementHeadSignUpSettings() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementPortalSettingsGetSignUp - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementPortalSettingsGetSignUp() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementPortalSettingsGetSignUp.json @@ -73,9 +72,8 @@ public async Task Get_ApiManagementPortalSettingsGetSignUp() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementPortalSettingsUpdateSignUp - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementPortalSettingsUpdateSignUp() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementPortalSettingsUpdateSignUp.json @@ -108,12 +106,11 @@ public async Task Update_ApiManagementPortalSettingsUpdateSignUp() }; await apiManagementPortalSignUpSetting.UpdateAsync(ifMatch, data); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementPortalSettingsUpdateSignUp - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementPortalSettingsUpdateSignUp() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementPortalSettingsPutSignUp.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPrivateEndpointConnectionCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPrivateEndpointConnectionCollection.cs index af4f470ed7226..243a3cda992e0 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPrivateEndpointConnectionCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementPrivateEndpointConnectionCollection { - // ApiManagementListPrivateEndpointConnections - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListPrivateEndpointConnections() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListPrivateEndpointConnections.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListPrivateEndpointConnections() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetPrivateEndpointConnection() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPrivateEndpointConnection.json @@ -87,9 +86,8 @@ public async Task Get_ApiManagementGetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetPrivateEndpointConnection() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPrivateEndpointConnection.json @@ -118,9 +116,8 @@ public async Task Exists_ApiManagementGetPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetPrivateEndpointConnection() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPrivateEndpointConnection.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ApiManagementGetPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ApiManagementGetPrivateEndpointConnection() } } - // ApiManagementApproveOrRejectPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementApproveOrRejectPrivateEndpointConnection() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementApproveOrRejectPrivateEndpointConnection.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPrivateEndpointConnectionResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPrivateEndpointConnectionResource.cs index b15d7967b8a7d..72f73def91559 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPrivateEndpointConnectionResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementPrivateEndpointConnectionResource { - // ApiManagementGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetPrivateEndpointConnection() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPrivateEndpointConnection.json @@ -47,9 +47,8 @@ public async Task Get_ApiManagementGetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementApproveOrRejectPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementApproveOrRejectPrivateEndpointConnection() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementApproveOrRejectPrivateEndpointConnection.json @@ -89,9 +88,8 @@ public async Task Update_ApiManagementApproveOrRejectPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeletePrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeletePrivateEndpointConnection() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeletePrivateEndpointConnection.json @@ -114,7 +112,7 @@ public async Task Delete_ApiManagementDeletePrivateEndpointConnection() // invoke the operation await apiManagementPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPrivateLinkResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPrivateLinkResource.cs index 7fbc83137bbd0..e071ca0fa8c56 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPrivateLinkResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementPrivateLinkResource { - // ApiManagementGetPrivateLinkGroupResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetPrivateLinkGroupResource() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPrivateLinkGroupResource.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPrivateLinkResourceCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPrivateLinkResourceCollection.cs index 52657df6f0d07..013889d23915c 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPrivateLinkResourceCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementPrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementPrivateLinkResourceCollection { - // ApiManagementListPrivateLinkGroupResources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListPrivateLinkGroupResources() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListPrivateLinkGroupResources.json @@ -48,12 +48,11 @@ public async Task GetAll_ApiManagementListPrivateLinkGroupResources() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetPrivateLinkGroupResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetPrivateLinkGroupResource() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPrivateLinkGroupResource.json @@ -86,9 +85,8 @@ public async Task Get_ApiManagementGetPrivateLinkGroupResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetPrivateLinkGroupResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetPrivateLinkGroupResource() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPrivateLinkGroupResource.json @@ -117,9 +115,8 @@ public async Task Exists_ApiManagementGetPrivateLinkGroupResource() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetPrivateLinkGroupResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetPrivateLinkGroupResource() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPrivateLinkGroupResource.json @@ -148,7 +145,7 @@ public async Task GetIfExists_ApiManagementGetPrivateLinkGroupResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementProductCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementProductCollection.cs index bedd15c59c787..56bcab4f7c685 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementProductCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementProductCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementProductCollection { - // ApiManagementListProducts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListProducts() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListProducts.json @@ -48,12 +48,11 @@ public async Task GetAll_ApiManagementListProducts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetProduct - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetProduct() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetProduct.json @@ -86,9 +85,8 @@ public async Task Get_ApiManagementGetProduct() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetProduct - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetProduct() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetProduct.json @@ -117,9 +115,8 @@ public async Task Exists_ApiManagementGetProduct() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetProduct - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetProduct() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetProduct.json @@ -148,7 +145,7 @@ public async Task GetIfExists_ApiManagementGetProduct() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_ApiManagementGetProduct() } } - // ApiManagementCreateProduct - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateProduct() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateProduct.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementProductPolicyCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementProductPolicyCollection.cs index e8dea39e0ede2..9a2e84df40c23 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementProductPolicyCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementProductPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementProductPolicyCollection { - // ApiManagementListProductPolicies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListProductPolicies() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListProductPolicies.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListProductPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetProductPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetProductPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetProductPolicy.json @@ -89,9 +88,8 @@ public async Task Get_ApiManagementGetProductPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetProductPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetProductPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetProductPolicy.json @@ -121,9 +119,8 @@ public async Task Exists_ApiManagementGetProductPolicy() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetProductPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetProductPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetProductPolicy.json @@ -153,7 +150,7 @@ public async Task GetIfExists_ApiManagementGetProductPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_ApiManagementGetProductPolicy() } } - // ApiManagementCreateProductPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateProductPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateProductPolicy.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementProductPolicyResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementProductPolicyResource.cs index a347fdd2492e5..4448e1ace09b4 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementProductPolicyResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementProductPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementProductPolicyResource { - // ApiManagementHeadProductPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadProductPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadProductPolicy.json @@ -44,9 +44,8 @@ public async Task GetEntityTag_ApiManagementHeadProductPolicy() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetProductPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetProductPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetProductPolicy.json @@ -77,9 +76,8 @@ public async Task Get_ApiManagementGetProductPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateProductPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateProductPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateProductPolicy.json @@ -116,9 +114,8 @@ public async Task Update_ApiManagementCreateProductPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteProductPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteProductPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteProductPolicy.json @@ -143,7 +140,7 @@ public async Task Delete_ApiManagementDeleteProductPolicy() ETag ifMatch = new ETag("*"); await apiManagementProductPolicy.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementProductResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementProductResource.cs index 76e67b9b6e068..a6db97ff4cbbb 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementProductResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementProductResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementProductResource { - // ApiManagementHeadProduct - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadProduct() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadProduct.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadProduct() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetProduct - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetProduct() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetProduct.json @@ -75,9 +74,8 @@ public async Task Get_ApiManagementGetProduct() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateProduct - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateProduct() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateProduct.json @@ -112,9 +110,8 @@ public async Task Update_ApiManagementUpdateProduct() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteProduct - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteProduct() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteProduct.json @@ -139,12 +136,11 @@ public async Task Delete_ApiManagementDeleteProduct() bool? deleteSubscriptions = true; await apiManagementProduct.DeleteAsync(WaitUntil.Completed, ifMatch, deleteSubscriptions: deleteSubscriptions); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementListProductApis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetProductApis_ApiManagementListProductApis() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListProductApis.json @@ -170,12 +166,11 @@ public async Task GetProductApis_ApiManagementListProductApis() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementHeadProductApi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckProductApiEntityExists_ApiManagementHeadProductApi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadProductApi.json @@ -202,9 +197,8 @@ public async Task CheckProductApiEntityExists_ApiManagementHeadProductApi() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementCreateProductApi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateProductApi_ApiManagementCreateProductApi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateProductApi.json @@ -231,9 +225,8 @@ public async Task CreateOrUpdateProductApi_ApiManagementCreateProductApi() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementDeleteProductApi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteProductApi_ApiManagementDeleteProductApi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteProductApi.json @@ -257,12 +250,11 @@ public async Task DeleteProductApi_ApiManagementDeleteProductApi() string apiId = "echo-api"; await apiManagementProduct.DeleteProductApiAsync(apiId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementListProductGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetProductGroups_ApiManagementListProductGroups() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListProductGroups.json @@ -288,12 +280,11 @@ public async Task GetProductGroups_ApiManagementListProductGroups() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementHeadProductGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckProductGroupEntityExists_ApiManagementHeadProductGroup() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadProductGroup.json @@ -320,9 +311,8 @@ public async Task CheckProductGroupEntityExists_ApiManagementHeadProductGroup() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementCreateProductGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateProductGroup_ApiManagementCreateProductGroup() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateProductGroup.json @@ -349,9 +339,8 @@ public async Task CreateOrUpdateProductGroup_ApiManagementCreateProductGroup() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementDeleteProductGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteProductGroup_ApiManagementDeleteProductGroup() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteProductGroup.json @@ -375,12 +364,11 @@ public async Task DeleteProductGroup_ApiManagementDeleteProductGroup() string groupId = "templateGroup"; await apiManagementProduct.DeleteProductGroupAsync(groupId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementListProductSubscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllProductSubscriptionData_ApiManagementListProductSubscriptions() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListProductSubscriptions.json @@ -407,7 +395,7 @@ public async Task GetAllProductSubscriptionData_ApiManagementListProductSubscrip Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementProductTagCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementProductTagCollection.cs index 14f8dc50524b2..eb33a13bdce81 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementProductTagCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementProductTagCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementProductTagCollection { - // ApiManagementListProductTags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListProductTags() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListProductTags.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListProductTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetProductTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetProductTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetProductTag.json @@ -88,9 +87,8 @@ public async Task Get_ApiManagementGetProductTag() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetProductTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetProductTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetProductTag.json @@ -120,9 +118,8 @@ public async Task Exists_ApiManagementGetProductTag() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetProductTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetProductTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetProductTag.json @@ -152,7 +149,7 @@ public async Task GetIfExists_ApiManagementGetProductTag() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_ApiManagementGetProductTag() } } - // ApiManagementCreateProductTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateProductTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateProductTag.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementProductTagResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementProductTagResource.cs index 965aeca8c4830..5c851561c3d3a 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementProductTagResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementProductTagResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementProductTagResource { - // ApiManagementHeadProductTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityStateByProduct_ApiManagementHeadProductTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadProductTag.json @@ -43,9 +43,8 @@ public async Task GetEntityStateByProduct_ApiManagementHeadProductTag() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetProductTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetProductTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetProductTag.json @@ -76,9 +75,8 @@ public async Task Get_ApiManagementGetProductTag() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateProductTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateProductTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateProductTag.json @@ -110,9 +108,8 @@ public async Task Update_ApiManagementCreateProductTag() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteProductTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteProductTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteProductTag.json @@ -136,7 +133,7 @@ public async Task Delete_ApiManagementDeleteProductTag() // invoke the operation await apiManagementProductTag.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementServiceCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementServiceCollection.cs index 7a6ec02ab2bb4..e7484a41781b4 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementServiceCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementServiceCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.ApiManagement.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementServiceCollection { - // ApiManagementCreateMultiRegionServiceWithCustomHostname - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateMultiRegionServiceWithCustomHostname() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateMultiRegionServiceWithCustomHostname.json @@ -91,9 +91,8 @@ public async Task CreateOrUpdate_ApiManagementCreateMultiRegionServiceWithCustom Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateService() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateService.json @@ -134,9 +133,8 @@ public async Task CreateOrUpdate_ApiManagementCreateService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateServiceHavingMsi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateServiceHavingMsi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateServiceHavingMsi.json @@ -179,9 +177,8 @@ public async Task CreateOrUpdate_ApiManagementCreateServiceHavingMsi() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateServiceInVnetWithPublicIP - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateServiceInVnetWithPublicIP() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateServiceInVnetWithPublicIP.json @@ -233,9 +230,8 @@ public async Task CreateOrUpdate_ApiManagementCreateServiceInVnetWithPublicIP() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateServiceInZones - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateServiceInZones() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateServiceInZones.json @@ -281,9 +277,8 @@ public async Task CreateOrUpdate_ApiManagementCreateServiceInZones() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateServiceWithCustomHostnameKeyVault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateServiceWithCustomHostnameKeyVault() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateServiceWithCustomHostnameKeyVault.json @@ -355,9 +350,8 @@ public async Task CreateOrUpdate_ApiManagementCreateServiceWithCustomHostnameKey Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateServiceWithDeveloperPortal - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateServiceWithDeveloperPortal() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateServiceWithDeveloperPortal.json @@ -399,9 +393,8 @@ public async Task CreateOrUpdate_ApiManagementCreateServiceWithDeveloperPortal() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateServiceWithNatGatewayEnabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateServiceWithNatGatewayEnabled() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateServiceWithNatGatewayEnabled.json @@ -444,9 +437,8 @@ public async Task CreateOrUpdate_ApiManagementCreateServiceWithNatGatewayEnabled Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateServiceWithSystemCertificates - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateServiceWithSystemCertificates() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateServiceWithSystemCertificates.json @@ -496,9 +488,8 @@ public async Task CreateOrUpdate_ApiManagementCreateServiceWithSystemCertificate Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateServiceWithUserAssignedIdentity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateServiceWithUserAssignedIdentity() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateServiceWithUserAssignedIdentity.json @@ -547,9 +538,8 @@ public async Task CreateOrUpdate_ApiManagementCreateServiceWithUserAssignedIdent Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateServiceWithoutLegacyConfigurationApi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateServiceWithoutLegacyConfigurationApi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateServiceWithoutLegacyConfigurationApi.json @@ -592,9 +582,8 @@ public async Task CreateOrUpdate_ApiManagementCreateServiceWithoutLegacyConfigur Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUndelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementUndelete() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUndelete.json @@ -631,9 +620,8 @@ public async Task CreateOrUpdate_ApiManagementUndelete() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementServiceGetMultiRegionInternalVnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementServiceGetMultiRegionInternalVnet() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementServiceGetMultiRegionInternalVnet.json @@ -665,9 +653,8 @@ public async Task Get_ApiManagementServiceGetMultiRegionInternalVnet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementServiceGetMultiRegionInternalVnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementServiceGetMultiRegionInternalVnet() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementServiceGetMultiRegionInternalVnet.json @@ -695,9 +682,8 @@ public async Task Exists_ApiManagementServiceGetMultiRegionInternalVnet() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementServiceGetMultiRegionInternalVnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementServiceGetMultiRegionInternalVnet() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementServiceGetMultiRegionInternalVnet.json @@ -725,7 +711,7 @@ public async Task GetIfExists_ApiManagementServiceGetMultiRegionInternalVnet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -737,9 +723,8 @@ public async Task GetIfExists_ApiManagementServiceGetMultiRegionInternalVnet() } } - // ApiManagementServiceGetService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementServiceGetService() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementServiceGetService.json @@ -771,9 +756,8 @@ public async Task Get_ApiManagementServiceGetService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementServiceGetService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementServiceGetService() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementServiceGetService.json @@ -801,9 +785,8 @@ public async Task Exists_ApiManagementServiceGetService() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementServiceGetService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementServiceGetService() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementServiceGetService.json @@ -831,7 +814,7 @@ public async Task GetIfExists_ApiManagementServiceGetService() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -843,9 +826,8 @@ public async Task GetIfExists_ApiManagementServiceGetService() } } - // ApiManagementServiceGetServiceHavingMsi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementServiceGetServiceHavingMsi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementServiceGetServiceHavingMsi.json @@ -877,9 +859,8 @@ public async Task Get_ApiManagementServiceGetServiceHavingMsi() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementServiceGetServiceHavingMsi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementServiceGetServiceHavingMsi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementServiceGetServiceHavingMsi.json @@ -907,9 +888,8 @@ public async Task Exists_ApiManagementServiceGetServiceHavingMsi() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementServiceGetServiceHavingMsi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementServiceGetServiceHavingMsi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementServiceGetServiceHavingMsi.json @@ -937,7 +917,7 @@ public async Task GetIfExists_ApiManagementServiceGetServiceHavingMsi() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -949,9 +929,8 @@ public async Task GetIfExists_ApiManagementServiceGetServiceHavingMsi() } } - // ApiManagementListServiceBySubscriptionAndResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListServiceBySubscriptionAndResourceGroup() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListServiceBySubscriptionAndResourceGroup.json @@ -982,7 +961,7 @@ public async Task GetAll_ApiManagementListServiceBySubscriptionAndResourceGroup( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementServiceResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementServiceResource.cs index e5fcd962e87ea..c00431b6d8326 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementServiceResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementServiceResource.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementServiceResource { - // ApiManagementListApisByTags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApisByTags_ApiManagementListApisByTags() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListApisByTags.json @@ -44,12 +44,11 @@ public async Task GetApisByTags_ApiManagementListApisByTags() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // HTTP Connectivity Check - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PerformConnectivityCheckAsync_HTTPConnectivityCheck() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementPerformConnectivityCheckHttpConnect.json @@ -91,9 +90,8 @@ public async Task PerformConnectivityCheckAsync_HTTPConnectivityCheck() Console.WriteLine($"Succeeded: {result}"); } - // TCP Connectivity Check - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PerformConnectivityCheckAsync_TCPConnectivityCheck() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementPerformConnectivityCheck.json @@ -123,9 +121,8 @@ public async Task PerformConnectivityCheckAsync_TCPConnectivityCheck() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementListContentTypes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContentTypes_ApiManagementListContentTypes() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListContentTypes.json @@ -150,12 +147,11 @@ public async Task GetContentTypes_ApiManagementListContentTypes() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetContentType - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContentType_ApiManagementGetContentType() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetContentType.json @@ -181,9 +177,8 @@ public async Task GetContentType_ApiManagementGetContentType() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementCreateContentType - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateContentType_ApiManagementCreateContentType() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateContentType.json @@ -209,9 +204,8 @@ public async Task CreateOrUpdateContentType_ApiManagementCreateContentType() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementDeleteContentType - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteContentType_ApiManagementDeleteContentType() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteContentType.json @@ -235,12 +229,11 @@ public async Task DeleteContentType_ApiManagementDeleteContentType() ETag ifMatch = new ETag("*"); await apiManagementService.DeleteContentTypeAsync(contentTypeId, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementListContentTypeContentItems - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContentItems_ApiManagementListContentTypeContentItems() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListContentTypeContentItems.json @@ -266,12 +259,11 @@ public async Task GetContentItems_ApiManagementListContentTypeContentItems() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementHeadContentTypeContentItem - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContentItemEntityTag_ApiManagementHeadContentTypeContentItem() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadContentTypeContentItem.json @@ -298,9 +290,8 @@ public async Task GetContentItemEntityTag_ApiManagementHeadContentTypeContentIte Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetContentTypeContentItem - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContentItem_ApiManagementGetContentTypeContentItem() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetContentTypeContentItem.json @@ -327,9 +318,8 @@ public async Task GetContentItem_ApiManagementGetContentTypeContentItem() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementCreateContentTypeContentItem - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateContentItem_ApiManagementCreateContentTypeContentItem() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateContentTypeContentItem.json @@ -356,9 +346,8 @@ public async Task CreateOrUpdateContentItem_ApiManagementCreateContentTypeConten Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementDeleteContentTypeContentItem - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteContentItem_ApiManagementDeleteContentTypeContentItem() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteContentTypeContentItem.json @@ -383,12 +372,11 @@ public async Task DeleteContentItem_ApiManagementDeleteContentTypeContentItem() ETag ifMatch = new ETag("*"); await apiManagementService.DeleteContentItemAsync(contentTypeId, contentItemId, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementListSKUs-Consumption - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableApiManagementServiceSkus_ApiManagementListSKUsConsumption() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListSKUs-Consumption.json @@ -413,12 +401,11 @@ public async Task GetAvailableApiManagementServiceSkus_ApiManagementListSKUsCons Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementListSKUs-Dedicated - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableApiManagementServiceSkus_ApiManagementListSKUsDedicated() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListSKUs-Dedicated.json @@ -443,12 +430,11 @@ public async Task GetAvailableApiManagementServiceSkus_ApiManagementListSKUsDedi Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementRestoreService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restore_ApiManagementRestoreService() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementRestoreWithAccessKey.json @@ -483,9 +469,8 @@ public async Task Restore_ApiManagementRestoreService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementBackupWithAccessKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Backup_ApiManagementBackupWithAccessKey() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementBackupWithAccessKey.json @@ -520,9 +505,8 @@ public async Task Backup_ApiManagementBackupWithAccessKey() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementBackupWithSystemManagedIdentity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Backup_ApiManagementBackupWithSystemManagedIdentity() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementBackupWithSystemManagedIdentity.json @@ -556,9 +540,8 @@ public async Task Backup_ApiManagementBackupWithSystemManagedIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementBackupWithUserAssignedManagedIdentity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Backup_ApiManagementBackupWithUserAssignedManagedIdentity() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementBackupWithUserAssignedManagedIdentity.json @@ -593,9 +576,8 @@ public async Task Backup_ApiManagementBackupWithUserAssignedManagedIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateServiceDisableTls10 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateServiceDisableTls10() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateServiceDisableTls10.json @@ -632,9 +614,8 @@ public async Task Update_ApiManagementUpdateServiceDisableTls10() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateServicePublisherDetails - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateServicePublisherDetails() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateServicePublisherDetails.json @@ -669,9 +650,8 @@ public async Task Update_ApiManagementUpdateServicePublisherDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateServiceToNewVnetAndAvailabilityZones - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateServiceToNewVnetAndAvailabilityZones() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateServiceToNewVnetAndAZs.json @@ -730,9 +710,8 @@ public async Task Update_ApiManagementUpdateServiceToNewVnetAndAvailabilityZones Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementServiceGetMultiRegionInternalVnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementServiceGetMultiRegionInternalVnet() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementServiceGetMultiRegionInternalVnet.json @@ -761,9 +740,8 @@ public async Task Get_ApiManagementServiceGetMultiRegionInternalVnet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementServiceGetService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementServiceGetService() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementServiceGetService.json @@ -792,9 +770,8 @@ public async Task Get_ApiManagementServiceGetService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementServiceGetServiceHavingMsi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementServiceGetServiceHavingMsi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementServiceGetServiceHavingMsi.json @@ -823,9 +800,8 @@ public async Task Get_ApiManagementServiceGetServiceHavingMsi() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementServiceDeleteService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementServiceDeleteService() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementServiceDeleteService.json @@ -847,12 +823,11 @@ public async Task Delete_ApiManagementServiceDeleteService() // invoke the operation await apiManagementService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementMigrateService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateToStv2_ApiManagementMigrateService() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementServiceMigrateToStv2.json @@ -886,9 +861,8 @@ public async Task MigrateToStv2_ApiManagementMigrateService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementListServiceBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApiManagementServices_ApiManagementListServiceBySubscription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListServiceBySubscription.json @@ -915,12 +889,11 @@ public async Task GetApiManagementServices_ApiManagementListServiceBySubscriptio Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementServiceGetSsoToken - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSsoToken_ApiManagementServiceGetSsoToken() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementServiceGetSsoToken.json @@ -945,9 +918,8 @@ public async Task GetSsoToken_ApiManagementServiceGetSsoToken() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementServiceCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckApiManagementServiceNameAvailability_ApiManagementServiceCheckNameAvailability() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementServiceCheckNameAvailability.json @@ -971,9 +943,8 @@ public async Task CheckApiManagementServiceNameAvailability_ApiManagementService Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementServiceGetDomainOwnershipIdentifier - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApiManagementServiceDomainOwnershipIdentifier_ApiManagementServiceGetDomainOwnershipIdentifier() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementServiceGetDomainOwnershipIdentifier.json @@ -996,9 +967,8 @@ public async Task GetApiManagementServiceDomainOwnershipIdentifier_ApiManagement Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementApplyNetworkConfigurationUpdates - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ApplyNetworkConfigurationUpdates_ApiManagementApplyNetworkConfigurationUpdates() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementApplyNetworkConfigurationUpdates.json @@ -1032,9 +1002,8 @@ public async Task ApplyNetworkConfigurationUpdates_ApiManagementApplyNetworkConf Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementServiceGetNetworkStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkStatuses_ApiManagementServiceGetNetworkStatus() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementServiceGetNetworkStatus.json @@ -1059,12 +1028,11 @@ public async Task GetNetworkStatuses_ApiManagementServiceGetNetworkStatus() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementServiceGetNetworkStatusByLocation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkStatusByLocation_ApiManagementServiceGetNetworkStatusByLocation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementServiceGetNetworkStatusByLocation.json @@ -1090,9 +1058,8 @@ public async Task GetNetworkStatusByLocation_ApiManagementServiceGetNetworkStatu Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementServiceGetOutboundNetworkDependenciesEndpoints - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOutboundNetworkDependenciesEndpoints_ApiManagementServiceGetOutboundNetworkDependenciesEndpoints() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementServiceGetOutboundNetworkDependenciesEndpoints.json @@ -1117,12 +1084,11 @@ public async Task GetOutboundNetworkDependenciesEndpoints_ApiManagementServiceGe Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementListPolicyDescriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyDescriptions_ApiManagementListPolicyDescriptions() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListPolicyDescriptions.json @@ -1148,12 +1114,11 @@ public async Task GetPolicyDescriptions_ApiManagementListPolicyDescriptions() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementListPortalSettings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPortalSettings_ApiManagementListPortalSettings() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListPortalSettings.json @@ -1178,12 +1143,11 @@ public async Task GetPortalSettings_ApiManagementListPortalSettings() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementListProductsByTags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetProductsByTags_ApiManagementListProductsByTags() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListProductsByTags.json @@ -1208,12 +1172,11 @@ public async Task GetProductsByTags_ApiManagementListProductsByTags() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetQuotaCounterKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetQuotaByCounterKeys_ApiManagementGetQuotaCounterKeys() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetQuotaCounterKeys.json @@ -1239,12 +1202,11 @@ public async Task GetQuotaByCounterKeys_ApiManagementGetQuotaCounterKeys() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementUpdateQuotaCounterKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateQuotaByCounterKeys_ApiManagementUpdateQuotaCounterKey() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateQuotaCounterKey.json @@ -1275,12 +1237,11 @@ public async Task UpdateQuotaByCounterKeys_ApiManagementUpdateQuotaCounterKey() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetQuotaCounterKeysByQuotaPeriod - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetQuotaByPeriodKey_ApiManagementGetQuotaCounterKeysByQuotaPeriod() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetQuotaCounterKeysByQuotaPeriod.json @@ -1307,9 +1268,8 @@ public async Task GetQuotaByPeriodKey_ApiManagementGetQuotaCounterKeysByQuotaPer Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementUpdateQuotaCounterKeyByQuotaPeriod - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateQuotaByPeriodKey_ApiManagementUpdateQuotaCounterKeyByQuotaPeriod() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateQuotaCounterKeyByQuotaPeriod.json @@ -1341,9 +1301,8 @@ public async Task UpdateQuotaByPeriodKey_ApiManagementUpdateQuotaCounterKeyByQuo Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementListRegions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRegions_ApiManagementListRegions() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListRegions.json @@ -1368,12 +1327,11 @@ public async Task GetRegions_ApiManagementListRegions() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetReportsByApi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReportsByApi_ApiManagementGetReportsByApi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetReportsByApi.json @@ -1399,12 +1357,11 @@ public async Task GetReportsByApi_ApiManagementGetReportsByApi() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetReportsByUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReportsByUser_ApiManagementGetReportsByUser() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetReportsByUser.json @@ -1430,12 +1387,11 @@ public async Task GetReportsByUser_ApiManagementGetReportsByUser() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetReportsByOperation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReportsByOperation_ApiManagementGetReportsByOperation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetReportsByOperation.json @@ -1461,12 +1417,11 @@ public async Task GetReportsByOperation_ApiManagementGetReportsByOperation() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetReportsByProduct - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReportsByProduct_ApiManagementGetReportsByProduct() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetReportsByProduct.json @@ -1492,12 +1447,11 @@ public async Task GetReportsByProduct_ApiManagementGetReportsByProduct() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetReportsByGeo - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReportsByGeo_ApiManagementGetReportsByGeo() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetReportsByGeo.json @@ -1523,12 +1477,11 @@ public async Task GetReportsByGeo_ApiManagementGetReportsByGeo() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetReportsBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReportsBySubscription_ApiManagementGetReportsBySubscription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetReportsBySubscription.json @@ -1554,12 +1507,11 @@ public async Task GetReportsBySubscription_ApiManagementGetReportsBySubscription Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetReportsByTime - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReportsByTime_ApiManagementGetReportsByTime() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetReportsByTime.json @@ -1586,12 +1538,11 @@ public async Task GetReportsByTime_ApiManagementGetReportsByTime() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetReportsByRequest - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReportsByRequest_ApiManagementGetReportsByRequest() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetReportsByRequest.json @@ -1617,12 +1568,11 @@ public async Task GetReportsByRequest_ApiManagementGetReportsByRequest() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementListTagResources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTagResources_ApiManagementListTagResources() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListTagResources.json @@ -1647,12 +1597,11 @@ public async Task GetTagResources_ApiManagementListTagResources() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementTenantConfigurationDeploy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeployTenantConfiguration_ApiManagementTenantConfigurationDeploy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementTenantConfigurationDeploy.json @@ -1683,9 +1632,8 @@ public async Task DeployTenantConfiguration_ApiManagementTenantConfigurationDepl Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementTenantConfigurationSave - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SaveTenantConfiguration_ApiManagementTenantConfigurationSave() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementTenantConfigurationSave.json @@ -1716,9 +1664,8 @@ public async Task SaveTenantConfiguration_ApiManagementTenantConfigurationSave() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementTenantConfigurationValidate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateTenantConfiguration_ApiManagementTenantConfigurationValidate() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementTenantConfigurationValidate.json @@ -1749,9 +1696,8 @@ public async Task ValidateTenantConfiguration_ApiManagementTenantConfigurationVa Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementTenantAccessSyncState - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTenantConfigurationSyncState_ApiManagementTenantAccessSyncState() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementTenantAccessSyncState.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementSubscriptionCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementSubscriptionCollection.cs index c283bfafbbd0d..0d016761dcffd 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementSubscriptionCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementSubscriptionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementSubscriptionCollection { - // ApiManagementListSubscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListSubscriptions() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListSubscriptions.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListSubscriptions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetSubscription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetSubscription.json @@ -87,9 +86,8 @@ public async Task Get_ApiManagementGetSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetSubscription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetSubscription.json @@ -118,9 +116,8 @@ public async Task Exists_ApiManagementGetSubscription() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetSubscription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetSubscription.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ApiManagementGetSubscription() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ApiManagementGetSubscription() } } - // ApiManagementCreateSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateSubscription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateSubscription.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementSubscriptionResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementSubscriptionResource.cs index 49116d69d742b..cefef2ddb806b 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementSubscriptionResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementSubscriptionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementSubscriptionResource { - // ApiManagementHeadSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadSubscription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadSubscription.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadSubscription() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetSubscription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetSubscription.json @@ -75,9 +74,8 @@ public async Task Get_ApiManagementGetSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateSubscription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateSubscription.json @@ -112,9 +110,8 @@ public async Task Update_ApiManagementUpdateSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteSubscription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteSubscription.json @@ -138,12 +135,11 @@ public async Task Delete_ApiManagementDeleteSubscription() ETag ifMatch = new ETag("*"); await apiManagementSubscription.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementSubscriptionRegeneratePrimaryKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegeneratePrimaryKey_ApiManagementSubscriptionRegeneratePrimaryKey() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementSubscriptionRegeneratePrimaryKey.json @@ -166,12 +162,11 @@ public async Task RegeneratePrimaryKey_ApiManagementSubscriptionRegeneratePrimar // invoke the operation await apiManagementSubscription.RegeneratePrimaryKeyAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementSubscriptionRegenerateSecondaryKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateSecondaryKey_ApiManagementSubscriptionRegenerateSecondaryKey() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementSubscriptionRegenerateSecondaryKey.json @@ -194,12 +189,11 @@ public async Task RegenerateSecondaryKey_ApiManagementSubscriptionRegenerateSeco // invoke the operation await apiManagementSubscription.RegenerateSecondaryKeyAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementSubscriptionListSecrets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecrets_ApiManagementSubscriptionListSecrets() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementSubscriptionListSecrets.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementTagCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementTagCollection.cs index 7a6581bce937b..082c9af7466bb 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementTagCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementTagCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementTagCollection { - // ApiManagementListTags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListTags() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListTags.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTag.json @@ -87,9 +86,8 @@ public async Task Get_ApiManagementGetTag() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTag.json @@ -118,9 +116,8 @@ public async Task Exists_ApiManagementGetTag() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTag.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ApiManagementGetTag() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ApiManagementGetTag() } } - // ApiManagementCreateTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateTag.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementTagResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementTagResource.cs index 4985db3d5e1e6..3457166146125 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementTagResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementTagResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementTagResource { - // ApiManagementHeadTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityState_ApiManagementHeadTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadTag.json @@ -43,9 +43,8 @@ public async Task GetEntityState_ApiManagementHeadTag() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTag.json @@ -75,9 +74,8 @@ public async Task Get_ApiManagementGetTag() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateTag.json @@ -112,9 +110,8 @@ public async Task Update_ApiManagementUpdateTag() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteTag.json @@ -138,7 +135,7 @@ public async Task Delete_ApiManagementDeleteTag() ETag ifMatch = new ETag("*"); await apiManagementTag.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementTenantSettingCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementTenantSettingCollection.cs index 289a7e5d253a4..8f32e54e444b7 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementTenantSettingCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementTenantSettingCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementTenantSettingCollection { - // ApiManagementListTenantSettings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListTenantSettings() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListTenantSettings.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListTenantSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetTenantSettings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetTenantSettings() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTenantSettings.json @@ -87,9 +86,8 @@ public async Task Get_ApiManagementGetTenantSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetTenantSettings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetTenantSettings() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTenantSettings.json @@ -118,9 +116,8 @@ public async Task Exists_ApiManagementGetTenantSettings() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetTenantSettings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetTenantSettings() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTenantSettings.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ApiManagementGetTenantSettings() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementTenantSettingResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementTenantSettingResource.cs index ece87a4bf9442..7bb8224936805 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementTenantSettingResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementTenantSettingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementTenantSettingResource { - // ApiManagementGetTenantSettings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetTenantSettings() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTenantSettings.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementUserCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementUserCollection.cs index 9b9a69d1e5085..8b4d6bff1a0c2 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementUserCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementUserCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementUserCollection { - // ApiManagementListUsers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListUsers() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListUsers.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListUsers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetUser() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetUser.json @@ -87,9 +86,8 @@ public async Task Get_ApiManagementGetUser() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetUser() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetUser.json @@ -118,9 +116,8 @@ public async Task Exists_ApiManagementGetUser() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetUser() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetUser.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ApiManagementGetUser() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ApiManagementGetUser() } } - // ApiManagementCreateUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateUser() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateUser.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementUserResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementUserResource.cs index 76c227d8f09da..8bf0e521bc829 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementUserResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementUserResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementUserResource { - // ApiManagementHeadUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadUser() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadUser.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadUser() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetUser() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetUser.json @@ -75,9 +74,8 @@ public async Task Get_ApiManagementGetUser() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateUser() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateUser.json @@ -114,9 +112,8 @@ public async Task Update_ApiManagementUpdateUser() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteUser() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteUser.json @@ -140,12 +137,11 @@ public async Task Delete_ApiManagementDeleteUser() ETag ifMatch = new ETag("*"); await apiManagementUser.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementUserGenerateSsoUrl - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateSsoUri_ApiManagementUserGenerateSsoUrl() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUserGenerateSsoUrl.json @@ -171,9 +167,8 @@ public async Task GenerateSsoUri_ApiManagementUserGenerateSsoUrl() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementUserToken - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSharedAccessToken_ApiManagementUserToken() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUserToken.json @@ -204,9 +199,8 @@ public async Task GetSharedAccessToken_ApiManagementUserToken() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementListUserIdentities - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUserIdentities_ApiManagementListUserIdentities() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListUserIdentities.json @@ -232,12 +226,11 @@ public async Task GetUserIdentities_ApiManagementListUserIdentities() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementUserConfirmationPasswordSend - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SendUserConfirmationPassword_ApiManagementUserConfirmationPasswordSend() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUserConfirmationPasswordSend.json @@ -260,7 +253,7 @@ public async Task SendUserConfirmationPassword_ApiManagementUserConfirmationPass // invoke the operation await apiManagementUser.SendUserConfirmationPasswordAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementUserSubscriptionCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementUserSubscriptionCollection.cs index 9a2a3b20349db..9323265b0372e 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementUserSubscriptionCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementUserSubscriptionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementUserSubscriptionCollection { - // ApiManagementListUserSubscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListUserSubscriptions() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListUserSubscriptions.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListUserSubscriptions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetUserSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetUserSubscription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetUserSubscription.json @@ -88,9 +87,8 @@ public async Task Get_ApiManagementGetUserSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetUserSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetUserSubscription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetUserSubscription.json @@ -120,9 +118,8 @@ public async Task Exists_ApiManagementGetUserSubscription() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetUserSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetUserSubscription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetUserSubscription.json @@ -152,7 +149,7 @@ public async Task GetIfExists_ApiManagementGetUserSubscription() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementUserSubscriptionResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementUserSubscriptionResource.cs index 8acb059616957..7b8f3265f8b29 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementUserSubscriptionResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiManagementUserSubscriptionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiManagementUserSubscriptionResource { - // ApiManagementGetUserSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetUserSubscription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetUserSubscription.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiOperationCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiOperationCollection.cs index 9127b2ead0090..048675149ad68 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiOperationCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiOperationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiOperationCollection { - // ApiManagementListApiOperations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListApiOperations() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListApiOperations.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListApiOperations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetApiOperation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiOperation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiOperation.json @@ -89,9 +88,8 @@ public async Task Get_ApiManagementGetApiOperation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetApiOperation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetApiOperation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiOperation.json @@ -121,9 +119,8 @@ public async Task Exists_ApiManagementGetApiOperation() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiOperation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetApiOperation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiOperation.json @@ -153,7 +150,7 @@ public async Task GetIfExists_ApiManagementGetApiOperation() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_ApiManagementGetApiOperation() } } - // ApiManagementGetApiOperationPetStore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiOperationPetStore() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiOperationPetStore.json @@ -201,9 +197,8 @@ public async Task Get_ApiManagementGetApiOperationPetStore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetApiOperationPetStore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetApiOperationPetStore() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiOperationPetStore.json @@ -233,9 +228,8 @@ public async Task Exists_ApiManagementGetApiOperationPetStore() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiOperationPetStore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetApiOperationPetStore() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiOperationPetStore.json @@ -265,7 +259,7 @@ public async Task GetIfExists_ApiManagementGetApiOperationPetStore() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -277,9 +271,8 @@ public async Task GetIfExists_ApiManagementGetApiOperationPetStore() } } - // ApiManagementCreateApiOperation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiOperation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiOperation.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiOperationPolicyCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiOperationPolicyCollection.cs index 6563df6e85588..4016b49bdca28 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiOperationPolicyCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiOperationPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiOperationPolicyCollection { - // ApiManagementListApiOperationPolicies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListApiOperationPolicies() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListApiOperationPolicies.json @@ -51,12 +51,11 @@ public async Task GetAll_ApiManagementListApiOperationPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetApiOperationPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiOperationPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiOperationPolicy.json @@ -91,9 +90,8 @@ public async Task Get_ApiManagementGetApiOperationPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetApiOperationPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetApiOperationPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiOperationPolicy.json @@ -124,9 +122,8 @@ public async Task Exists_ApiManagementGetApiOperationPolicy() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiOperationPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetApiOperationPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiOperationPolicy.json @@ -157,7 +154,7 @@ public async Task GetIfExists_ApiManagementGetApiOperationPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_ApiManagementGetApiOperationPolicy() } } - // ApiManagementCreateApiOperationPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiOperationPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiOperationPolicy.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiOperationPolicyResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiOperationPolicyResource.cs index 85edcf71d49d0..eb12475445709 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiOperationPolicyResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiOperationPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiOperationPolicyResource { - // ApiManagementHeadApiOperationPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadApiOperationPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadApiOperationPolicy.json @@ -45,9 +45,8 @@ public async Task GetEntityTag_ApiManagementHeadApiOperationPolicy() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiOperationPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiOperationPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiOperationPolicy.json @@ -79,9 +78,8 @@ public async Task Get_ApiManagementGetApiOperationPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateApiOperationPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateApiOperationPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiOperationPolicy.json @@ -120,9 +118,8 @@ public async Task Update_ApiManagementCreateApiOperationPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteApiOperationPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteApiOperationPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteApiOperationPolicy.json @@ -148,7 +145,7 @@ public async Task Delete_ApiManagementDeleteApiOperationPolicy() ETag ifMatch = new ETag("*"); await apiOperationPolicy.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiOperationResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiOperationResource.cs index fa099b1e26b53..ce46e18a2c5b2 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiOperationResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiOperationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiOperationResource { - // ApiManagementHeadApiOperation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadApiOperation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadApiOperation.json @@ -44,9 +44,8 @@ public async Task GetEntityTag_ApiManagementHeadApiOperation() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiOperation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiOperation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiOperation.json @@ -77,9 +76,8 @@ public async Task Get_ApiManagementGetApiOperation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetApiOperationPetStore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiOperationPetStore() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiOperationPetStore.json @@ -110,9 +108,8 @@ public async Task Get_ApiManagementGetApiOperationPetStore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateApiOperation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateApiOperation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateApiOperation.json @@ -191,9 +188,8 @@ public async Task Update_ApiManagementUpdateApiOperation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteApiOperation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteApiOperation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteApiOperation.json @@ -218,7 +214,7 @@ public async Task Delete_ApiManagementDeleteApiOperation() ETag ifMatch = new ETag("*"); await apiOperation.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiOperationTagCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiOperationTagCollection.cs index cb2df2749e83b..b4f130307390d 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiOperationTagCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiOperationTagCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiOperationTagCollection { - // ApiManagementListApiOperationTags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListApiOperationTags() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListApiOperationTags.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListApiOperationTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetApiOperationTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiOperationTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiOperationTag.json @@ -90,9 +89,8 @@ public async Task Get_ApiManagementGetApiOperationTag() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetApiOperationTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetApiOperationTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiOperationTag.json @@ -123,9 +121,8 @@ public async Task Exists_ApiManagementGetApiOperationTag() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiOperationTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetApiOperationTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiOperationTag.json @@ -156,7 +153,7 @@ public async Task GetIfExists_ApiManagementGetApiOperationTag() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_ApiManagementGetApiOperationTag() } } - // ApiManagementCreateApiOperationTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiOperationTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiOperationTag.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiOperationTagResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiOperationTagResource.cs index 8ffabedafb953..ddf64151fbb3b 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiOperationTagResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiOperationTagResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiOperationTagResource { - // ApiManagementHeadApiOperationTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityStateByOperation_ApiManagementHeadApiOperationTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadApiOperationTag.json @@ -44,9 +44,8 @@ public async Task GetEntityStateByOperation_ApiManagementHeadApiOperationTag() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiOperationTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiOperationTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiOperationTag.json @@ -78,9 +77,8 @@ public async Task Get_ApiManagementGetApiOperationTag() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateApiOperationTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateApiOperationTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiOperationTag.json @@ -113,9 +111,8 @@ public async Task Update_ApiManagementCreateApiOperationTag() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteApiOperationTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteApiOperationTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteApiOperationTag.json @@ -140,7 +137,7 @@ public async Task Delete_ApiManagementDeleteApiOperationTag() // invoke the operation await apiOperationTag.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiPolicyCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiPolicyCollection.cs index 2eeebe61d524b..ac4f87fdcc59b 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiPolicyCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiPolicyCollection { - // ApiManagementListApiPolicies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListApiPolicies() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListApiPolicies.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListApiPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetApiPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiPolicy.json @@ -89,9 +88,8 @@ public async Task Get_ApiManagementGetApiPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetApiPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetApiPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiPolicy.json @@ -121,9 +119,8 @@ public async Task Exists_ApiManagementGetApiPolicy() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetApiPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiPolicy.json @@ -153,7 +150,7 @@ public async Task GetIfExists_ApiManagementGetApiPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_ApiManagementGetApiPolicy() } } - // ApiManagementCreateApiPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiPolicy.json @@ -208,9 +204,8 @@ public async Task CreateOrUpdate_ApiManagementCreateApiPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateApiPolicyNonXmlEncoded - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiPolicyNonXmlEncoded() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiPolicyNonXmlEncoded.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiPolicyResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiPolicyResource.cs index 52623d78a0f6e..3b5dd124b23b0 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiPolicyResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiPolicyResource { - // ApiManagementHeadApiPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadApiPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadApiPolicy.json @@ -44,9 +44,8 @@ public async Task GetEntityTag_ApiManagementHeadApiPolicy() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiPolicy.json @@ -77,9 +76,8 @@ public async Task Get_ApiManagementGetApiPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateApiPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateApiPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiPolicy.json @@ -117,9 +115,8 @@ public async Task Update_ApiManagementCreateApiPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateApiPolicyNonXmlEncoded - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateApiPolicyNonXmlEncoded() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiPolicyNonXmlEncoded.json @@ -157,9 +154,8 @@ public async Task Update_ApiManagementCreateApiPolicyNonXmlEncoded() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteApiPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteApiPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteApiPolicy.json @@ -184,7 +180,7 @@ public async Task Delete_ApiManagementDeleteApiPolicy() ETag ifMatch = new ETag("*"); await apiPolicy.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiReleaseCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiReleaseCollection.cs index e69273c4bcabd..16da79df30f2e 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiReleaseCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiReleaseCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiReleaseCollection { - // ApiManagementListApiReleases - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListApiReleases() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListApiReleases.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListApiReleases() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetApiRelease - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiRelease() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiRelease.json @@ -88,9 +87,8 @@ public async Task Get_ApiManagementGetApiRelease() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetApiRelease - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetApiRelease() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiRelease.json @@ -120,9 +118,8 @@ public async Task Exists_ApiManagementGetApiRelease() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiRelease - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetApiRelease() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiRelease.json @@ -152,7 +149,7 @@ public async Task GetIfExists_ApiManagementGetApiRelease() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_ApiManagementGetApiRelease() } } - // ApiManagementCreateApiRelease - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiRelease() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiRelease.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiReleaseResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiReleaseResource.cs index a2c218f862f16..033a7ebed200d 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiReleaseResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiReleaseResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiReleaseResource { - // ApiManagementHeadApiRelease - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadApiRelease() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadApiRelease.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadApiRelease() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiRelease - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiRelease() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiRelease.json @@ -76,9 +75,8 @@ public async Task Get_ApiManagementGetApiRelease() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateApiRelease - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateApiRelease() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateApiRelease.json @@ -115,9 +113,8 @@ public async Task Update_ApiManagementUpdateApiRelease() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteApiRelease - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteApiRelease() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteApiRelease.json @@ -142,7 +139,7 @@ public async Task Delete_ApiManagementDeleteApiRelease() ETag ifMatch = new ETag("*"); await apiRelease.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiResource.cs index 2ddbbc4173657..07f389b2abafc 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiResource { - // ApiManagementHeadApi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadApi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadApi.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadApi() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiContract - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiContract() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiContract.json @@ -75,9 +74,8 @@ public async Task Get_ApiManagementGetApiContract() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetApiRevisionContract - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiRevisionContract() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiRevision.json @@ -107,9 +105,8 @@ public async Task Get_ApiManagementGetApiRevisionContract() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateApi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateApi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateApi.json @@ -146,9 +143,8 @@ public async Task Update_ApiManagementUpdateApi() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteApi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteApi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteApi.json @@ -172,12 +168,11 @@ public async Task Delete_ApiManagementDeleteApi() ETag ifMatch = new ETag("*"); await api.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementListApiRevisions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApiRevisionsByService_ApiManagementListApiRevisions() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListApiRevisions.json @@ -203,12 +198,11 @@ public async Task GetApiRevisionsByService_ApiManagementListApiRevisions() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementListApiOperationsByTags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOperationsByTags_ApiManagementListApiOperationsByTags() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListApiOperationsByTags.json @@ -234,7 +228,7 @@ public async Task GetOperationsByTags_ApiManagementListApiOperationsByTags() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiSchemaCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiSchemaCollection.cs index 17933a88a3f72..d2c2947d2cba7 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiSchemaCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiSchemaCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiSchemaCollection { - // ApiManagementListApiSchemas - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListApiSchemas() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListApiSchemas.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListApiSchemas() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetApiSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiSchema() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiSchema.json @@ -88,9 +87,8 @@ public async Task Get_ApiManagementGetApiSchema() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetApiSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetApiSchema() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiSchema.json @@ -120,9 +118,8 @@ public async Task Exists_ApiManagementGetApiSchema() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetApiSchema() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiSchema.json @@ -152,7 +149,7 @@ public async Task GetIfExists_ApiManagementGetApiSchema() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_ApiManagementGetApiSchema() } } - // ApiManagementCreateApiSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiSchema() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiSchema.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiSchemaResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiSchemaResource.cs index 6680c156d8117..dcdd5226d1ff1 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiSchemaResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiSchemaResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiSchemaResource { - // ApiManagementHeadApiSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadApiSchema() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadApiSchema.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadApiSchema() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiSchema() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiSchema.json @@ -76,9 +75,8 @@ public async Task Get_ApiManagementGetApiSchema() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateApiSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateApiSchema() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiSchema.json @@ -115,9 +113,8 @@ public async Task Update_ApiManagementCreateApiSchema() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteApiSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteApiSchema() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteApiSchema.json @@ -142,7 +139,7 @@ public async Task Delete_ApiManagementDeleteApiSchema() ETag ifMatch = new ETag("*"); await apiSchema.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiTagCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiTagCollection.cs index a0b1e9d00efcd..0a9c0997b3856 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiTagCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiTagCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiTagCollection { - // ApiManagementListApiTags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListApiTags() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListApiTags.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListApiTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetApiTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiTag.json @@ -88,9 +87,8 @@ public async Task Get_ApiManagementGetApiTag() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetApiTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetApiTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiTag.json @@ -120,9 +118,8 @@ public async Task Exists_ApiManagementGetApiTag() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetApiTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiTag.json @@ -152,7 +149,7 @@ public async Task GetIfExists_ApiManagementGetApiTag() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_ApiManagementGetApiTag() } } - // ApiManagementCreateApiTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiTag.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiTagDescriptionCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiTagDescriptionCollection.cs index 94c000e1fc394..e9302b87ae270 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiTagDescriptionCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiTagDescriptionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiTagDescriptionCollection { - // ApiManagementListApiTagDescriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListApiTagDescriptions() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListApiTagDescriptions.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListApiTagDescriptions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetApiTagDescription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiTagDescription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiTagDescription.json @@ -89,9 +88,8 @@ public async Task Get_ApiManagementGetApiTagDescription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetApiTagDescription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetApiTagDescription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiTagDescription.json @@ -121,9 +119,8 @@ public async Task Exists_ApiManagementGetApiTagDescription() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiTagDescription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetApiTagDescription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiTagDescription.json @@ -153,7 +150,7 @@ public async Task GetIfExists_ApiManagementGetApiTagDescription() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_ApiManagementGetApiTagDescription() } } - // ApiManagementCreateApiTagDescription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiTagDescription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiTagDescription.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiTagDescriptionResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiTagDescriptionResource.cs index 88317a6f4f4e1..76b0b93bfb96c 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiTagDescriptionResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiTagDescriptionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiTagDescriptionResource { - // ApiManagementHeadApiTagDescription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadApiTagDescription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadApiTagDescription.json @@ -44,9 +44,8 @@ public async Task GetEntityTag_ApiManagementHeadApiTagDescription() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiTagDescription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiTagDescription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiTagDescription.json @@ -77,9 +76,8 @@ public async Task Get_ApiManagementGetApiTagDescription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateApiTagDescription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateApiTagDescription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiTagDescription.json @@ -117,9 +115,8 @@ public async Task Update_ApiManagementCreateApiTagDescription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteApiTagDescription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteApiTagDescription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteApiTagDescription.json @@ -144,7 +141,7 @@ public async Task Delete_ApiManagementDeleteApiTagDescription() ETag ifMatch = new ETag("*"); await apiTagDescription.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiTagResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiTagResource.cs index 0c78ff912d678..b609eec10b471 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiTagResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiTagResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiTagResource { - // ApiManagementHeadApiTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityStateByApi_ApiManagementHeadApiTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadApiTag.json @@ -43,9 +43,8 @@ public async Task GetEntityStateByApi_ApiManagementHeadApiTag() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiTag.json @@ -76,9 +75,8 @@ public async Task Get_ApiManagementGetApiTag() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateApiTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateApiTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiTag.json @@ -110,9 +108,8 @@ public async Task Update_ApiManagementCreateApiTag() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteApiTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteApiTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteApiTag.json @@ -136,7 +133,7 @@ public async Task Delete_ApiManagementDeleteApiTag() // invoke the operation await apiTag.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiVersionSetCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiVersionSetCollection.cs index 2e321ab0b739e..b6d45be230d86 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiVersionSetCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiVersionSetCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiVersionSetCollection { - // ApiManagementListApiVersionSets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListApiVersionSets() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListApiVersionSets.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListApiVersionSets() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetApiVersionSet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiVersionSet() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiVersionSet.json @@ -87,9 +86,8 @@ public async Task Get_ApiManagementGetApiVersionSet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetApiVersionSet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetApiVersionSet() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiVersionSet.json @@ -118,9 +116,8 @@ public async Task Exists_ApiManagementGetApiVersionSet() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiVersionSet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetApiVersionSet() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiVersionSet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ApiManagementGetApiVersionSet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ApiManagementGetApiVersionSet() } } - // ApiManagementCreateApiVersionSet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiVersionSet() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiVersionSet.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiVersionSetResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiVersionSetResource.cs index 0d8c7f1479de8..8ffd4e842d2f3 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiVersionSetResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ApiVersionSetResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ApiVersionSetResource { - // ApiManagementHeadApiVersionSet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadApiVersionSet() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadApiVersionSet.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadApiVersionSet() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiVersionSet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiVersionSet() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiVersionSet.json @@ -75,9 +74,8 @@ public async Task Get_ApiManagementGetApiVersionSet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateApiVersionSet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateApiVersionSet() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateApiVersionSet.json @@ -114,9 +112,8 @@ public async Task Update_ApiManagementUpdateApiVersionSet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteApiVersionSet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteApiVersionSet() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteApiVersionSet.json @@ -140,7 +137,7 @@ public async Task Delete_ApiManagementDeleteApiVersionSet() ETag ifMatch = new ETag("*"); await apiVersionSet.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_AuthorizationAccessPolicyContractCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_AuthorizationAccessPolicyContractCollection.cs index 0535731d74af3..2d6bd67ee7f28 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_AuthorizationAccessPolicyContractCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_AuthorizationAccessPolicyContractCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_AuthorizationAccessPolicyContractCollection { - // ApiManagementListAuthorizationAccessPolicies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListAuthorizationAccessPolicies() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListAuthorizationAccessPolicies.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListAuthorizationAccessPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetAuthorizationAccessPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetAuthorizationAccessPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetAuthorizationAccessPolicy.json @@ -90,9 +89,8 @@ public async Task Get_ApiManagementGetAuthorizationAccessPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetAuthorizationAccessPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetAuthorizationAccessPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetAuthorizationAccessPolicy.json @@ -123,9 +121,8 @@ public async Task Exists_ApiManagementGetAuthorizationAccessPolicy() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetAuthorizationAccessPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetAuthorizationAccessPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetAuthorizationAccessPolicy.json @@ -156,7 +153,7 @@ public async Task GetIfExists_ApiManagementGetAuthorizationAccessPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_ApiManagementGetAuthorizationAccessPolicy() } } - // ApiManagementCreateAuthorizationAccessPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateAuthorizationAccessPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateAuthorizationAccessPolicy.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_AuthorizationAccessPolicyContractResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_AuthorizationAccessPolicyContractResource.cs index be41f0c59c94a..ac05eb17d4be3 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_AuthorizationAccessPolicyContractResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_AuthorizationAccessPolicyContractResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_AuthorizationAccessPolicyContractResource { - // ApiManagementGetAuthorizationAccessPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetAuthorizationAccessPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetAuthorizationAccessPolicy.json @@ -48,9 +48,8 @@ public async Task Get_ApiManagementGetAuthorizationAccessPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateAuthorizationAccessPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateAuthorizationAccessPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateAuthorizationAccessPolicy.json @@ -88,9 +87,8 @@ public async Task Update_ApiManagementCreateAuthorizationAccessPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteAuthorizationAccessPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteAuthorizationAccessPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteAuthorizationAccessPolicy.json @@ -116,7 +114,7 @@ public async Task Delete_ApiManagementDeleteAuthorizationAccessPolicy() ETag ifMatch = new ETag("*"); await authorizationAccessPolicyContract.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_AuthorizationContractCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_AuthorizationContractCollection.cs index 1e2b95700de4d..9ced3a55de00f 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_AuthorizationContractCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_AuthorizationContractCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_AuthorizationContractCollection { - // ApiManagementListAuthorizationsAuthCode - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListAuthorizationsAuthCode() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListAuthorizationsAuthCode.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListAuthorizationsAuthCode() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementListAuthorizationsClientCred - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListAuthorizationsClientCred() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListAuthorizationsClientCred.json @@ -88,12 +87,11 @@ public async Task GetAll_ApiManagementListAuthorizationsClientCred() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetAuthorization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetAuthorization() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetAuthorization.json @@ -127,9 +125,8 @@ public async Task Get_ApiManagementGetAuthorization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetAuthorization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetAuthorization() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetAuthorization.json @@ -159,9 +156,8 @@ public async Task Exists_ApiManagementGetAuthorization() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetAuthorization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetAuthorization() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetAuthorization.json @@ -191,7 +187,7 @@ public async Task GetIfExists_ApiManagementGetAuthorization() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -203,9 +199,8 @@ public async Task GetIfExists_ApiManagementGetAuthorization() } } - // ApiManagementCreateAuthorizationAADAuthCode - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateAuthorizationAADAuthCode() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateAuthorizationAADAuthCode.json @@ -245,9 +240,8 @@ public async Task CreateOrUpdate_ApiManagementCreateAuthorizationAADAuthCode() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateAuthorizationAADClientCred - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateAuthorizationAADClientCred() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateAuthorizationAADClientCred.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_AuthorizationContractResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_AuthorizationContractResource.cs index 11b2c557f93a7..0a26e1c1b45ea 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_AuthorizationContractResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_AuthorizationContractResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_AuthorizationContractResource { - // ApiManagementGetAuthorization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetAuthorization() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetAuthorization.json @@ -48,9 +48,8 @@ public async Task Get_ApiManagementGetAuthorization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateAuthorizationAADAuthCode - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateAuthorizationAADAuthCode() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateAuthorizationAADAuthCode.json @@ -87,9 +86,8 @@ public async Task Update_ApiManagementCreateAuthorizationAADAuthCode() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateAuthorizationAADClientCred - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateAuthorizationAADClientCred() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateAuthorizationAADClientCred.json @@ -131,9 +129,8 @@ public async Task Update_ApiManagementCreateAuthorizationAADClientCred() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteAuthorization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteAuthorization() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteAuthorization.json @@ -158,12 +155,11 @@ public async Task Delete_ApiManagementDeleteAuthorization() ETag ifMatch = new ETag("*"); await authorizationContract.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementPostAuthorizationConfirmConsentCodeRequest - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ConfirmConsentCode_ApiManagementPostAuthorizationConfirmConsentCodeRequest() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementPostAuthorizationConfirmConsentCodeRequest.json @@ -191,12 +187,11 @@ public async Task ConfirmConsentCode_ApiManagementPostAuthorizationConfirmConsen }; await authorizationContract.ConfirmConsentCodeAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetAuthorizationLoginRequest - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PostAuthorizationLoginLink_ApiManagementGetAuthorizationLoginRequest() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetAuthorizationLoginRequest.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_AuthorizationProviderContractCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_AuthorizationProviderContractCollection.cs index c7204dfef178a..d75267d936662 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_AuthorizationProviderContractCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_AuthorizationProviderContractCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_AuthorizationProviderContractCollection { - // ApiManagementListAuthorizationProviders - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListAuthorizationProviders() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListAuthorizationProviders.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListAuthorizationProviders() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetAuthorizationProvider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetAuthorizationProvider() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetAuthorizationProvider.json @@ -87,9 +86,8 @@ public async Task Get_ApiManagementGetAuthorizationProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetAuthorizationProvider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetAuthorizationProvider() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetAuthorizationProvider.json @@ -118,9 +116,8 @@ public async Task Exists_ApiManagementGetAuthorizationProvider() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetAuthorizationProvider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetAuthorizationProvider() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetAuthorizationProvider.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ApiManagementGetAuthorizationProvider() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ApiManagementGetAuthorizationProvider() } } - // ApiManagementCreateAuthorizationProviderAADAuthCode - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateAuthorizationProviderAADAuthCode() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateAuthorizationProviderAADAuthCode.json @@ -216,9 +212,8 @@ public async Task CreateOrUpdate_ApiManagementCreateAuthorizationProviderAADAuth Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateAuthorizationProviderAADClientCred - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateAuthorizationProviderAADClientCred() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateAuthorizationProviderAADClientCred.json @@ -269,9 +264,8 @@ public async Task CreateOrUpdate_ApiManagementCreateAuthorizationProviderAADClie Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateAuthorizationProviderGenericOAuth2 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateAuthorizationProviderGenericOAuth2() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateAuthorizationProviderGenericOAuth2.json @@ -326,9 +320,8 @@ public async Task CreateOrUpdate_ApiManagementCreateAuthorizationProviderGeneric Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateAuthorizationProviderOOBGoogle - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateAuthorizationProviderOOBGoogle() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateAuthorizationProviderOOBGoogle.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_AuthorizationProviderContractResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_AuthorizationProviderContractResource.cs index 959f5ff49c670..33dfa5faa651b 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_AuthorizationProviderContractResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_AuthorizationProviderContractResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_AuthorizationProviderContractResource { - // ApiManagementGetAuthorizationProvider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetAuthorizationProvider() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetAuthorizationProvider.json @@ -47,9 +47,8 @@ public async Task Get_ApiManagementGetAuthorizationProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateAuthorizationProviderAADAuthCode - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateAuthorizationProviderAADAuthCode() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateAuthorizationProviderAADAuthCode.json @@ -99,9 +98,8 @@ public async Task Update_ApiManagementCreateAuthorizationProviderAADAuthCode() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateAuthorizationProviderAADClientCred - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateAuthorizationProviderAADClientCred() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateAuthorizationProviderAADClientCred.json @@ -149,9 +147,8 @@ public async Task Update_ApiManagementCreateAuthorizationProviderAADClientCred() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateAuthorizationProviderGenericOAuth2 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateAuthorizationProviderGenericOAuth2() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateAuthorizationProviderGenericOAuth2.json @@ -203,9 +200,8 @@ public async Task Update_ApiManagementCreateAuthorizationProviderGenericOAuth2() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateAuthorizationProviderOOBGoogle - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateAuthorizationProviderOOBGoogle() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateAuthorizationProviderOOBGoogle.json @@ -254,9 +250,8 @@ public async Task Update_ApiManagementCreateAuthorizationProviderOOBGoogle() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteAuthorizationProvider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteAuthorizationProvider() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteAuthorizationProvider.json @@ -280,7 +275,7 @@ public async Task Delete_ApiManagementDeleteAuthorizationProvider() ETag ifMatch = new ETag("*"); await authorizationProviderContract.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_DocumentationContractCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_DocumentationContractCollection.cs index 794e2525c847b..1922d8d9ff1e2 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_DocumentationContractCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_DocumentationContractCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_DocumentationContractCollection { - // ApiManagementListApis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListApis() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListDocumentations.json @@ -48,12 +48,11 @@ public async Task GetAll_ApiManagementListApis() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetDocumentation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetDocumentation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetDocumentation.json @@ -86,9 +85,8 @@ public async Task Get_ApiManagementGetDocumentation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetDocumentation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetDocumentation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetDocumentation.json @@ -117,9 +115,8 @@ public async Task Exists_ApiManagementGetDocumentation() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetDocumentation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetDocumentation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetDocumentation.json @@ -148,7 +145,7 @@ public async Task GetIfExists_ApiManagementGetDocumentation() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_ApiManagementGetDocumentation() } } - // ApiManagementCreateDocumentation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateDocumentation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateDocumentation.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_DocumentationContractResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_DocumentationContractResource.cs index 8b98769c596e1..3ab611f0eb560 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_DocumentationContractResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_DocumentationContractResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_DocumentationContractResource { - // ApiManagementHeadDocumentation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadDocumentation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadDocumentation.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadDocumentation() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetDocumentation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetDocumentation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetDocumentation.json @@ -75,9 +74,8 @@ public async Task Get_ApiManagementGetDocumentation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateDocumentation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateDocumentation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateDocumentation.json @@ -113,9 +111,8 @@ public async Task Update_ApiManagementUpdateDocumentation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteDocumentation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteDocumentation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteDocumentation.json @@ -139,7 +136,7 @@ public async Task Delete_ApiManagementDeleteDocumentation() ETag ifMatch = default /* Warning: No value is provided for ifMatch in example 'ApiManagementDeleteDocumentation'. Please consider adding a proper example value for it in swagger*/; await documentationContract.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_PolicyFragmentContractCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_PolicyFragmentContractCollection.cs index b440dc31a8d2b..3d0fc49a7c90d 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_PolicyFragmentContractCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_PolicyFragmentContractCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_PolicyFragmentContractCollection { - // ApiManagementListPolicyFragments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListPolicyFragments() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListPolicyFragments.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListPolicyFragments() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetPolicyFragment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetPolicyFragment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPolicyFragment.json @@ -87,9 +86,8 @@ public async Task Get_ApiManagementGetPolicyFragment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetPolicyFragment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetPolicyFragment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPolicyFragment.json @@ -118,9 +116,8 @@ public async Task Exists_ApiManagementGetPolicyFragment() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetPolicyFragment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetPolicyFragment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPolicyFragment.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ApiManagementGetPolicyFragment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ApiManagementGetPolicyFragment() } } - // ApiManagementGetPolicyFragmentFormat - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetPolicyFragmentFormat() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPolicyFragmentFormat.json @@ -197,9 +193,8 @@ public async Task Get_ApiManagementGetPolicyFragmentFormat() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetPolicyFragmentFormat - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetPolicyFragmentFormat() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPolicyFragmentFormat.json @@ -229,9 +224,8 @@ public async Task Exists_ApiManagementGetPolicyFragmentFormat() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetPolicyFragmentFormat - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetPolicyFragmentFormat() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPolicyFragmentFormat.json @@ -261,7 +255,7 @@ public async Task GetIfExists_ApiManagementGetPolicyFragmentFormat() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -273,9 +267,8 @@ public async Task GetIfExists_ApiManagementGetPolicyFragmentFormat() } } - // ApiManagementCreatePolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreatePolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreatePolicyFragment.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_PolicyFragmentContractResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_PolicyFragmentContractResource.cs index 445ea57583cad..b524f5ec0145a 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_PolicyFragmentContractResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_PolicyFragmentContractResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_PolicyFragmentContractResource { - // ApiManagementHeadPolicyFragment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadPolicyFragment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadPolicyFragment.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadPolicyFragment() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetPolicyFragment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetPolicyFragment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPolicyFragment.json @@ -75,9 +74,8 @@ public async Task Get_ApiManagementGetPolicyFragment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetPolicyFragmentFormat - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetPolicyFragmentFormat() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetPolicyFragmentFormat.json @@ -108,9 +106,8 @@ public async Task Get_ApiManagementGetPolicyFragmentFormat() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreatePolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreatePolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreatePolicyFragment.json @@ -147,9 +144,8 @@ public async Task Update_ApiManagementCreatePolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeletePolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeletePolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeletePolicyFragment.json @@ -173,12 +169,11 @@ public async Task Delete_ApiManagementDeletePolicy() ETag ifMatch = new ETag("*"); await policyFragmentContract.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementListPolicyFragmentReferences - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReferences_ApiManagementListPolicyFragmentReferences() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListPolicyFragmentReferences.json @@ -204,7 +199,7 @@ public async Task GetReferences_ApiManagementListPolicyFragmentReferences() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_PortalConfigContractCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_PortalConfigContractCollection.cs index 79f0d97f693a8..385f645590bf0 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_PortalConfigContractCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_PortalConfigContractCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_PortalConfigContractCollection { - // ApiManagementListPortalConfig - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListPortalConfig() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListPortalConfig.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListPortalConfig() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementPortalConfig - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementPortalConfig() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementPortalConfig.json @@ -87,9 +86,8 @@ public async Task Get_ApiManagementPortalConfig() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementPortalConfig - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementPortalConfig() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementPortalConfig.json @@ -118,9 +116,8 @@ public async Task Exists_ApiManagementPortalConfig() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementPortalConfig - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementPortalConfig() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementPortalConfig.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ApiManagementPortalConfig() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ApiManagementPortalConfig() } } - // ApiManagementCreatePortalConfig - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreatePortalConfig() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreatePortalConfig.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_PortalConfigContractResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_PortalConfigContractResource.cs index 47cd1a6297b79..5809cc8bdb7d0 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_PortalConfigContractResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_PortalConfigContractResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_PortalConfigContractResource { - // ApiManagementHeadPortalConfig - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadPortalConfig() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadPortalConfig.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadPortalConfig() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementPortalConfig - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementPortalConfig() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementPortalConfig.json @@ -75,9 +74,8 @@ public async Task Get_ApiManagementPortalConfig() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdatePortalConfig - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdatePortalConfig() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdatePortalConfig.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ResolverContractCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ResolverContractCollection.cs index f2aa7a5ae328e..a00d65eb40ec3 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ResolverContractCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ResolverContractCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ResolverContractCollection { - // ApiManagementListGraphQLApiResolvers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListGraphQLApiResolvers() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListGraphQLApiResolvers.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListGraphQLApiResolvers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetGraphQLApiResolver - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetGraphQLApiResolver() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGraphQLApiResolver.json @@ -88,9 +87,8 @@ public async Task Get_ApiManagementGetGraphQLApiResolver() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetGraphQLApiResolver - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetGraphQLApiResolver() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGraphQLApiResolver.json @@ -120,9 +118,8 @@ public async Task Exists_ApiManagementGetGraphQLApiResolver() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetGraphQLApiResolver - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetGraphQLApiResolver() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGraphQLApiResolver.json @@ -152,7 +149,7 @@ public async Task GetIfExists_ApiManagementGetGraphQLApiResolver() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_ApiManagementGetGraphQLApiResolver() } } - // ApiManagementCreateGraphQLApiResolver - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateGraphQLApiResolver() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateGraphQLApiResolver.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ResolverContractResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ResolverContractResource.cs index d4509be645444..df3690fb711e4 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ResolverContractResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ResolverContractResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ResolverContractResource { - // ApiManagementHeadGraphQLApiResolver - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadGraphQLApiResolver() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadGraphQLApiResolver.json @@ -44,9 +44,8 @@ public async Task GetEntityTag_ApiManagementHeadGraphQLApiResolver() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetGraphQLApiResolver - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetGraphQLApiResolver() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGraphQLApiResolver.json @@ -77,9 +76,8 @@ public async Task Get_ApiManagementGetGraphQLApiResolver() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateGraphQLApiResolver - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateGraphQLApiResolver() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateGraphQLApiResolver.json @@ -117,9 +115,8 @@ public async Task Update_ApiManagementUpdateGraphQLApiResolver() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteGraphQLApiResolver - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteGraphQLApiResolver() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteGraphQLApiResolver.json @@ -144,7 +141,7 @@ public async Task Delete_ApiManagementDeleteGraphQLApiResolver() ETag ifMatch = new ETag("*"); await resolverContract.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceApiResolverPolicyCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceApiResolverPolicyCollection.cs index 4a97ff4ebf4cd..5dc9327659313 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceApiResolverPolicyCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceApiResolverPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceApiResolverPolicyCollection { - // ApiManagementListGraphQLApiResolverPolicies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListGraphQLApiResolverPolicies() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListGraphQLApiResolverPolicies.json @@ -51,12 +51,11 @@ public async Task GetAll_ApiManagementListGraphQLApiResolverPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetGraphQLApiResolverPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetGraphQLApiResolverPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGraphQLApiResolverPolicy.json @@ -91,9 +90,8 @@ public async Task Get_ApiManagementGetGraphQLApiResolverPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetGraphQLApiResolverPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetGraphQLApiResolverPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGraphQLApiResolverPolicy.json @@ -124,9 +122,8 @@ public async Task Exists_ApiManagementGetGraphQLApiResolverPolicy() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetGraphQLApiResolverPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetGraphQLApiResolverPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGraphQLApiResolverPolicy.json @@ -157,7 +154,7 @@ public async Task GetIfExists_ApiManagementGetGraphQLApiResolverPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_ApiManagementGetGraphQLApiResolverPolicy() } } - // ApiManagementCreateGraphQLApiResolverPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateGraphQLApiResolverPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateGraphQLApiResolverPolicy.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceApiResolverPolicyResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceApiResolverPolicyResource.cs index af257dd164a91..17d39b98a53f4 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceApiResolverPolicyResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceApiResolverPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceApiResolverPolicyResource { - // ApiManagementHeadGraphQLApiResolverPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadGraphQLApiResolverPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadGraphQLApiResolverPolicy.json @@ -45,9 +45,8 @@ public async Task GetEntityTag_ApiManagementHeadGraphQLApiResolverPolicy() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetGraphQLApiResolverPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetGraphQLApiResolverPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetGraphQLApiResolverPolicy.json @@ -79,9 +78,8 @@ public async Task Get_ApiManagementGetGraphQLApiResolverPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateGraphQLApiResolverPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateGraphQLApiResolverPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateGraphQLApiResolverPolicy.json @@ -120,9 +118,8 @@ public async Task Update_ApiManagementCreateGraphQLApiResolverPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteGraphQLApiResolverPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteGraphQLApiResolverPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteGraphQLApiResolverPolicy.json @@ -148,7 +145,7 @@ public async Task Delete_ApiManagementDeleteGraphQLApiResolverPolicy() ETag ifMatch = new ETag("*"); await serviceApiResolverPolicy.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceApiWikiResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceApiWikiResource.cs index 72fffa9ba9038..8a43cf1475bd8 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceApiWikiResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceApiWikiResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceApiWikiResource { - // ApiManagementHeadApiWiki - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadApiWiki() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadApiWiki.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadApiWiki() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetApiWiki - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetApiWiki() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetApiWiki.json @@ -75,9 +74,8 @@ public async Task Get_ApiManagementGetApiWiki() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateApiWiki - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateApiWiki() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateApiWiki.json @@ -121,9 +119,8 @@ public async Task CreateOrUpdate_ApiManagementCreateApiWiki() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateApiWiki - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateApiWiki() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateApiWiki.json @@ -164,9 +161,8 @@ public async Task Update_ApiManagementUpdateApiWiki() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteApiWiki - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteApiWiki() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteApiWiki.json @@ -190,7 +186,7 @@ public async Task Delete_ApiManagementDeleteApiWiki() ETag ifMatch = new ETag("*"); await serviceApiWiki.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceProductApiLinkCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceProductApiLinkCollection.cs index 50ab93a3861d3..c8e8aa2c706d0 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceProductApiLinkCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceProductApiLinkCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceProductApiLinkCollection { - // ApiManagementListProductApiLinks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListProductApiLinks() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListProductApiLinks.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListProductApiLinks() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetProductApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetProductApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetProductApiLink.json @@ -88,9 +87,8 @@ public async Task Get_ApiManagementGetProductApiLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetProductApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetProductApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetProductApiLink.json @@ -120,9 +118,8 @@ public async Task Exists_ApiManagementGetProductApiLink() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetProductApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetProductApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetProductApiLink.json @@ -152,7 +149,7 @@ public async Task GetIfExists_ApiManagementGetProductApiLink() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_ApiManagementGetProductApiLink() } } - // ApiManagementCreateProductApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateProductApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateProductApiLink.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceProductApiLinkResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceProductApiLinkResource.cs index 97d28bdec2cce..942d48d35f09e 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceProductApiLinkResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceProductApiLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceProductApiLinkResource { - // ApiManagementGetProductApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetProductApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetProductApiLink.json @@ -47,9 +47,8 @@ public async Task Get_ApiManagementGetProductApiLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateProductApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateProductApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateProductApiLink.json @@ -85,9 +84,8 @@ public async Task Update_ApiManagementCreateProductApiLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteProductApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteProductApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteProductApiLink.json @@ -111,7 +109,7 @@ public async Task Delete_ApiManagementDeleteProductApiLink() // invoke the operation await serviceProductApiLink.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceProductGroupLinkCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceProductGroupLinkCollection.cs index 4447bae6d9b77..4f6a0e1955036 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceProductGroupLinkCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceProductGroupLinkCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceProductGroupLinkCollection { - // ApiManagementListProductGroupLinks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListProductGroupLinks() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListProductGroupLinks.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListProductGroupLinks() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetProductGroupLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetProductGroupLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetProductGroupLink.json @@ -88,9 +87,8 @@ public async Task Get_ApiManagementGetProductGroupLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetProductGroupLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetProductGroupLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetProductGroupLink.json @@ -120,9 +118,8 @@ public async Task Exists_ApiManagementGetProductGroupLink() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetProductGroupLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetProductGroupLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetProductGroupLink.json @@ -152,7 +149,7 @@ public async Task GetIfExists_ApiManagementGetProductGroupLink() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_ApiManagementGetProductGroupLink() } } - // ApiManagementCreateProductGroupLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateProductGroupLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateProductGroupLink.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceProductGroupLinkResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceProductGroupLinkResource.cs index 4f69eaa3064d0..003a9cad9e116 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceProductGroupLinkResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceProductGroupLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceProductGroupLinkResource { - // ApiManagementGetProductGroupLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetProductGroupLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetProductGroupLink.json @@ -47,9 +47,8 @@ public async Task Get_ApiManagementGetProductGroupLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateProductGroupLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateProductGroupLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateProductGroupLink.json @@ -85,9 +84,8 @@ public async Task Update_ApiManagementCreateProductGroupLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteProductGroupLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteProductGroupLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteProductGroupLink.json @@ -111,7 +109,7 @@ public async Task Delete_ApiManagementDeleteProductGroupLink() // invoke the operation await serviceProductGroupLink.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceProductWikiResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceProductWikiResource.cs index 7ccef6863f086..19a6d9c704cb3 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceProductWikiResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceProductWikiResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceProductWikiResource { - // ApiManagementHeadProductWiki - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadProductWiki() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadProductWiki.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadProductWiki() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetProductWiki - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetProductWiki() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetProductWiki.json @@ -75,9 +74,8 @@ public async Task Get_ApiManagementGetProductWiki() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateProductWiki - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateProductWiki() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateProductWiki.json @@ -121,9 +119,8 @@ public async Task CreateOrUpdate_ApiManagementCreateProductWiki() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateProductWiki - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateProductWiki() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateProductWiki.json @@ -164,9 +161,8 @@ public async Task Update_ApiManagementUpdateProductWiki() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteProductWiki - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteProductWiki() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteProductWiki.json @@ -190,7 +186,7 @@ public async Task Delete_ApiManagementDeleteProductWiki() ETag ifMatch = new ETag("*"); await serviceProductWiki.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceTagApiLinkCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceTagApiLinkCollection.cs index 82963666f52cb..0e154b0b89704 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceTagApiLinkCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceTagApiLinkCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceTagApiLinkCollection { - // ApiManagementListTagApiLinks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListTagApiLinks() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListTagApiLinks.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListTagApiLinks() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetTagApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetTagApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTagApiLink.json @@ -88,9 +87,8 @@ public async Task Get_ApiManagementGetTagApiLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetTagApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetTagApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTagApiLink.json @@ -120,9 +118,8 @@ public async Task Exists_ApiManagementGetTagApiLink() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetTagApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetTagApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTagApiLink.json @@ -152,7 +149,7 @@ public async Task GetIfExists_ApiManagementGetTagApiLink() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_ApiManagementGetTagApiLink() } } - // ApiManagementCreateTagApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateTagApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateTagApiLink.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceTagApiLinkResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceTagApiLinkResource.cs index 1df986e1c39fa..aec6d106a1951 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceTagApiLinkResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceTagApiLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceTagApiLinkResource { - // ApiManagementGetTagApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetTagApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTagApiLink.json @@ -47,9 +47,8 @@ public async Task Get_ApiManagementGetTagApiLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateTagApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateTagApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateTagApiLink.json @@ -85,9 +84,8 @@ public async Task Update_ApiManagementCreateTagApiLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteTagApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteTagApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteTagApiLink.json @@ -111,7 +109,7 @@ public async Task Delete_ApiManagementDeleteTagApiLink() // invoke the operation await serviceTagApiLink.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceTagOperationLinkCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceTagOperationLinkCollection.cs index b9184ad56381d..18079afb3808b 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceTagOperationLinkCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceTagOperationLinkCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceTagOperationLinkCollection { - // ApiManagementListTagOperationLinks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListTagOperationLinks() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListTagOperationLinks.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListTagOperationLinks() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetTagOperationLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetTagOperationLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTagOperationLink.json @@ -88,9 +87,8 @@ public async Task Get_ApiManagementGetTagOperationLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetTagOperationLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetTagOperationLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTagOperationLink.json @@ -120,9 +118,8 @@ public async Task Exists_ApiManagementGetTagOperationLink() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetTagOperationLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetTagOperationLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTagOperationLink.json @@ -152,7 +149,7 @@ public async Task GetIfExists_ApiManagementGetTagOperationLink() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_ApiManagementGetTagOperationLink() } } - // ApiManagementCreateTagOperationLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateTagOperationLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateTagOperationLink.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceTagOperationLinkResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceTagOperationLinkResource.cs index 040af5abe9cbc..7cd2ff946a958 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceTagOperationLinkResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceTagOperationLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceTagOperationLinkResource { - // ApiManagementGetTagOperationLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetTagOperationLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTagOperationLink.json @@ -47,9 +47,8 @@ public async Task Get_ApiManagementGetTagOperationLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateTagOperationLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateTagOperationLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateTagOperationLink.json @@ -85,9 +84,8 @@ public async Task Update_ApiManagementCreateTagOperationLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteTagOperationLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteTagOperationLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteTagOperationLink.json @@ -111,7 +109,7 @@ public async Task Delete_ApiManagementDeleteTagOperationLink() // invoke the operation await serviceTagOperationLink.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceTagProductLinkCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceTagProductLinkCollection.cs index 1d07acd3d6874..78d16b4936be3 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceTagProductLinkCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceTagProductLinkCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceTagProductLinkCollection { - // ApiManagementListTagProductLinks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListTagProductLinks() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListTagProductLinks.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListTagProductLinks() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetTagProductLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetTagProductLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTagProductLink.json @@ -88,9 +87,8 @@ public async Task Get_ApiManagementGetTagProductLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetTagProductLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetTagProductLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTagProductLink.json @@ -120,9 +118,8 @@ public async Task Exists_ApiManagementGetTagProductLink() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetTagProductLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetTagProductLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTagProductLink.json @@ -152,7 +149,7 @@ public async Task GetIfExists_ApiManagementGetTagProductLink() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_ApiManagementGetTagProductLink() } } - // ApiManagementCreateTagProductLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateTagProductLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateTagProductLink.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceTagProductLinkResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceTagProductLinkResource.cs index ee3e9c210d178..e405eb2d0615f 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceTagProductLinkResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceTagProductLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceTagProductLinkResource { - // ApiManagementGetTagProductLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetTagProductLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTagProductLink.json @@ -47,9 +47,8 @@ public async Task Get_ApiManagementGetTagProductLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateTagProductLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateTagProductLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateTagProductLink.json @@ -85,9 +84,8 @@ public async Task Update_ApiManagementCreateTagProductLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteTagProductLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteTagProductLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteTagProductLink.json @@ -111,7 +109,7 @@ public async Task Delete_ApiManagementDeleteTagProductLink() // invoke the operation await serviceTagProductLink.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiCollection.cs index 1224fb1f86f05..6a5cfb675f0b6 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceApiCollection { - // ApiManagementListWorkspaceApis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListWorkspaceApis() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspaceApis.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListWorkspaceApis() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetWorkspaceApiContract - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceApiContract() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiContract.json @@ -89,9 +88,8 @@ public async Task Get_ApiManagementGetWorkspaceApiContract() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspaceApiContract - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspaceApiContract() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiContract.json @@ -121,9 +119,8 @@ public async Task Exists_ApiManagementGetWorkspaceApiContract() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceApiContract - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspaceApiContract() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiContract.json @@ -153,7 +150,7 @@ public async Task GetIfExists_ApiManagementGetWorkspaceApiContract() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_ApiManagementGetWorkspaceApiContract() } } - // ApiManagementGetWorkspaceApiRevision - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceApiRevision() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiRevision.json @@ -201,9 +197,8 @@ public async Task Get_ApiManagementGetWorkspaceApiRevision() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspaceApiRevision - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspaceApiRevision() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiRevision.json @@ -233,9 +228,8 @@ public async Task Exists_ApiManagementGetWorkspaceApiRevision() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceApiRevision - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspaceApiRevision() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiRevision.json @@ -265,7 +259,7 @@ public async Task GetIfExists_ApiManagementGetWorkspaceApiRevision() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -277,9 +271,8 @@ public async Task GetIfExists_ApiManagementGetWorkspaceApiRevision() } } - // ApiManagementCreateWorkspaceApi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspaceApi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceApi.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiOperationCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiOperationCollection.cs index ea0968e839eb0..48f3ecb35f652 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiOperationCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiOperationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceApiOperationCollection { - // ApiManagementListWorkspaceApiOperations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListWorkspaceApiOperations() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspaceApiOperations.json @@ -51,12 +51,11 @@ public async Task GetAll_ApiManagementListWorkspaceApiOperations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetWorkspaceApiOperation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceApiOperation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiOperation.json @@ -91,9 +90,8 @@ public async Task Get_ApiManagementGetWorkspaceApiOperation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspaceApiOperation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspaceApiOperation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiOperation.json @@ -124,9 +122,8 @@ public async Task Exists_ApiManagementGetWorkspaceApiOperation() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceApiOperation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspaceApiOperation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiOperation.json @@ -157,7 +154,7 @@ public async Task GetIfExists_ApiManagementGetWorkspaceApiOperation() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_ApiManagementGetWorkspaceApiOperation() } } - // ApiManagementCreateWorkspaceApiOperation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspaceApiOperation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceApiOperation.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiOperationPolicyCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiOperationPolicyCollection.cs index 36de62cf6ae69..6f66f6a0e70a3 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiOperationPolicyCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiOperationPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceApiOperationPolicyCollection { - // ApiManagementListWorkspaceApiOperationPolicies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListWorkspaceApiOperationPolicies() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspaceApiOperationPolicies.json @@ -52,12 +52,11 @@ public async Task GetAll_ApiManagementListWorkspaceApiOperationPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetWorkspaceApiOperationPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceApiOperationPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiOperationPolicy.json @@ -93,9 +92,8 @@ public async Task Get_ApiManagementGetWorkspaceApiOperationPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspaceApiOperationPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspaceApiOperationPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiOperationPolicy.json @@ -127,9 +125,8 @@ public async Task Exists_ApiManagementGetWorkspaceApiOperationPolicy() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceApiOperationPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspaceApiOperationPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiOperationPolicy.json @@ -161,7 +158,7 @@ public async Task GetIfExists_ApiManagementGetWorkspaceApiOperationPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -173,9 +170,8 @@ public async Task GetIfExists_ApiManagementGetWorkspaceApiOperationPolicy() } } - // ApiManagementCreateWorkspaceApiOperationPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspaceApiOperationPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceApiOperationPolicy.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiOperationPolicyResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiOperationPolicyResource.cs index 4eef3a0fdbcdb..345e19a46f5de 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiOperationPolicyResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiOperationPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceApiOperationPolicyResource { - // ApiManagementHeadWorkspaceApiOperationPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadWorkspaceApiOperationPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadWorkspaceApiOperationPolicy.json @@ -46,9 +46,8 @@ public async Task GetEntityTag_ApiManagementHeadWorkspaceApiOperationPolicy() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceApiOperationPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceApiOperationPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiOperationPolicy.json @@ -81,9 +80,8 @@ public async Task Get_ApiManagementGetWorkspaceApiOperationPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateWorkspaceApiOperationPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateWorkspaceApiOperationPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceApiOperationPolicy.json @@ -123,9 +121,8 @@ public async Task Update_ApiManagementCreateWorkspaceApiOperationPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteWorkspaceApiOperationPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteWorkspaceApiOperationPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteWorkspaceApiOperationPolicy.json @@ -152,7 +149,7 @@ public async Task Delete_ApiManagementDeleteWorkspaceApiOperationPolicy() ETag ifMatch = new ETag("*"); await serviceWorkspaceApiOperationPolicy.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiOperationResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiOperationResource.cs index 28acb49c7f70d..1ce543d139dde 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiOperationResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiOperationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceApiOperationResource { - // ApiManagementHeadWorkspaceApiOperation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadWorkspaceApiOperation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadWorkspaceApiOperation.json @@ -45,9 +45,8 @@ public async Task GetEntityTag_ApiManagementHeadWorkspaceApiOperation() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceApiOperation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceApiOperation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiOperation.json @@ -79,9 +78,8 @@ public async Task Get_ApiManagementGetWorkspaceApiOperation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateWorkspaceApiOperation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateWorkspaceApiOperation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateWorkspaceApiOperation.json @@ -161,9 +159,8 @@ public async Task Update_ApiManagementUpdateWorkspaceApiOperation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteWorkspaceApiOperation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteWorkspaceApiOperation() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteWorkspaceApiOperation.json @@ -189,7 +186,7 @@ public async Task Delete_ApiManagementDeleteWorkspaceApiOperation() ETag ifMatch = new ETag("*"); await serviceWorkspaceApiOperation.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiPolicyCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiPolicyCollection.cs index c9c1397e8fcb7..dc7f9b2d858fc 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiPolicyCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceApiPolicyCollection { - // ApiManagementListWorkspaceApiPolicies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListWorkspaceApiPolicies() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspaceApiPolicies.json @@ -51,12 +51,11 @@ public async Task GetAll_ApiManagementListWorkspaceApiPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetWorkspaceApiPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceApiPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiPolicy.json @@ -91,9 +90,8 @@ public async Task Get_ApiManagementGetWorkspaceApiPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspaceApiPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspaceApiPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiPolicy.json @@ -124,9 +122,8 @@ public async Task Exists_ApiManagementGetWorkspaceApiPolicy() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceApiPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspaceApiPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiPolicy.json @@ -157,7 +154,7 @@ public async Task GetIfExists_ApiManagementGetWorkspaceApiPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_ApiManagementGetWorkspaceApiPolicy() } } - // ApiManagementCreateWorkspaceApiPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspaceApiPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceApiPolicy.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiPolicyResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiPolicyResource.cs index 2689dff6d3042..7a237cc6393bc 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiPolicyResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceApiPolicyResource { - // ApiManagementHeadWorkspaceApiPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadWorkspaceApiPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadWorkspaceApiPolicy.json @@ -45,9 +45,8 @@ public async Task GetEntityTag_ApiManagementHeadWorkspaceApiPolicy() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceApiPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceApiPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiPolicy.json @@ -79,9 +78,8 @@ public async Task Get_ApiManagementGetWorkspaceApiPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateWorkspaceApiPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateWorkspaceApiPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceApiPolicy.json @@ -120,9 +118,8 @@ public async Task Update_ApiManagementCreateWorkspaceApiPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteWorkspaceApiPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteWorkspaceApiPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteWorkspaceApiPolicy.json @@ -148,7 +145,7 @@ public async Task Delete_ApiManagementDeleteWorkspaceApiPolicy() ETag ifMatch = new ETag("*"); await serviceWorkspaceApiPolicy.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiReleaseCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiReleaseCollection.cs index 38a735ff82bc8..3828d1b7ba6ce 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiReleaseCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiReleaseCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceApiReleaseCollection { - // ApiManagementListWorkspaceApiReleases - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListWorkspaceApiReleases() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspaceApiReleases.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListWorkspaceApiReleases() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetWorkspaceApiRelease - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceApiRelease() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiRelease.json @@ -90,9 +89,8 @@ public async Task Get_ApiManagementGetWorkspaceApiRelease() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspaceApiRelease - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspaceApiRelease() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiRelease.json @@ -123,9 +121,8 @@ public async Task Exists_ApiManagementGetWorkspaceApiRelease() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceApiRelease - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspaceApiRelease() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiRelease.json @@ -156,7 +153,7 @@ public async Task GetIfExists_ApiManagementGetWorkspaceApiRelease() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_ApiManagementGetWorkspaceApiRelease() } } - // ApiManagementCreateWorkspaceApiRelease - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspaceApiRelease() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceApiRelease.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiReleaseResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiReleaseResource.cs index 8e84e7d68a218..e45755720ee27 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiReleaseResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiReleaseResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceApiReleaseResource { - // ApiManagementHeadWorkspaceApiRelease - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadWorkspaceApiRelease() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadWorkspaceApiRelease.json @@ -44,9 +44,8 @@ public async Task GetEntityTag_ApiManagementHeadWorkspaceApiRelease() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceApiRelease - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceApiRelease() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiRelease.json @@ -78,9 +77,8 @@ public async Task Get_ApiManagementGetWorkspaceApiRelease() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateWorkspaceApiRelease - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateWorkspaceApiRelease() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateWorkspaceApiRelease.json @@ -118,9 +116,8 @@ public async Task Update_ApiManagementUpdateWorkspaceApiRelease() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteWorkspaceApiRelease - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteWorkspaceApiRelease() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteWorkspaceApiRelease.json @@ -146,7 +143,7 @@ public async Task Delete_ApiManagementDeleteWorkspaceApiRelease() ETag ifMatch = new ETag("*"); await serviceWorkspaceApiRelease.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiResource.cs index eb97fd7b6d644..125bdbc4be890 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceApiResource { - // ApiManagementHeadWorkspaceApi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadWorkspaceApi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadWorkspaceApi.json @@ -44,9 +44,8 @@ public async Task GetEntityTag_ApiManagementHeadWorkspaceApi() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceApiContract - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceApiContract() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiContract.json @@ -77,9 +76,8 @@ public async Task Get_ApiManagementGetWorkspaceApiContract() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspaceApiRevision - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceApiRevision() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiRevision.json @@ -110,9 +108,8 @@ public async Task Get_ApiManagementGetWorkspaceApiRevision() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateWorkspaceApi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateWorkspaceApi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateWorkspaceApi.json @@ -150,9 +147,8 @@ public async Task Update_ApiManagementUpdateWorkspaceApi() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteWorkspaceApi - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteWorkspaceApi() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteWorkspaceApi.json @@ -177,12 +173,11 @@ public async Task Delete_ApiManagementDeleteWorkspaceApi() ETag ifMatch = new ETag("*"); await serviceWorkspaceApi.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementListWorkspaceApiRevisions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetWorkspaceApiRevisionsByService_ApiManagementListWorkspaceApiRevisions() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspaceApiRevisions.json @@ -209,7 +204,7 @@ public async Task GetWorkspaceApiRevisionsByService_ApiManagementListWorkspaceAp Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiSchemaCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiSchemaCollection.cs index 1792f62dba50b..37c2f76fb0a6a 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiSchemaCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiSchemaCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceApiSchemaCollection { - // ApiManagementListWorkspaceApiSchemas - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListWorkspaceApiSchemas() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspaceApiSchemas.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListWorkspaceApiSchemas() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetWorkspaceApiSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceApiSchema() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiSchema.json @@ -90,9 +89,8 @@ public async Task Get_ApiManagementGetWorkspaceApiSchema() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspaceApiSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspaceApiSchema() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiSchema.json @@ -123,9 +121,8 @@ public async Task Exists_ApiManagementGetWorkspaceApiSchema() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceApiSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspaceApiSchema() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiSchema.json @@ -156,7 +153,7 @@ public async Task GetIfExists_ApiManagementGetWorkspaceApiSchema() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_ApiManagementGetWorkspaceApiSchema() } } - // ApiManagementCreateWorkspaceApiSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspaceApiSchema() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceApiSchema.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiSchemaResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiSchemaResource.cs index 7b6c43f19ae5c..391c264b9a9b0 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiSchemaResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiSchemaResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceApiSchemaResource { - // ApiManagementHeadWorkspaceApiSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadWorkspaceApiSchema() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadWorkspaceApiSchema.json @@ -44,9 +44,8 @@ public async Task GetEntityTag_ApiManagementHeadWorkspaceApiSchema() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceApiSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceApiSchema() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiSchema.json @@ -78,9 +77,8 @@ public async Task Get_ApiManagementGetWorkspaceApiSchema() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateWorkspaceApiSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateWorkspaceApiSchema() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceApiSchema.json @@ -118,9 +116,8 @@ public async Task Update_ApiManagementCreateWorkspaceApiSchema() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteWorkspaceApiSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteWorkspaceApiSchema() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteWorkspaceApiSchema.json @@ -146,7 +143,7 @@ public async Task Delete_ApiManagementDeleteWorkspaceApiSchema() ETag ifMatch = new ETag("*"); await serviceWorkspaceApiSchema.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiVersionSetCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiVersionSetCollection.cs index 212788c979a80..5cc45bf02c5d2 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiVersionSetCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiVersionSetCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceApiVersionSetCollection { - // ApiManagementListWorkspaceApiVersionSets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListWorkspaceApiVersionSets() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspaceApiVersionSets.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListWorkspaceApiVersionSets() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetWorkspaceApiVersionSet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceApiVersionSet() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiVersionSet.json @@ -89,9 +88,8 @@ public async Task Get_ApiManagementGetWorkspaceApiVersionSet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspaceApiVersionSet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspaceApiVersionSet() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiVersionSet.json @@ -121,9 +119,8 @@ public async Task Exists_ApiManagementGetWorkspaceApiVersionSet() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceApiVersionSet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspaceApiVersionSet() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiVersionSet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_ApiManagementGetWorkspaceApiVersionSet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_ApiManagementGetWorkspaceApiVersionSet() } } - // ApiManagementCreateWorkspaceApiVersionSet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspaceApiVersionSet() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceApiVersionSet.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiVersionSetResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiVersionSetResource.cs index 61af9dc8113aa..44bdfc3511b67 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiVersionSetResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceApiVersionSetResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceApiVersionSetResource { - // ApiManagementHeadWorkspaceApiVersionSet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadWorkspaceApiVersionSet() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadWorkspaceApiVersionSet.json @@ -44,9 +44,8 @@ public async Task GetEntityTag_ApiManagementHeadWorkspaceApiVersionSet() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceApiVersionSet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceApiVersionSet() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceApiVersionSet.json @@ -77,9 +76,8 @@ public async Task Get_ApiManagementGetWorkspaceApiVersionSet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateWorkspaceApiVersionSet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateWorkspaceApiVersionSet() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateWorkspaceApiVersionSet.json @@ -117,9 +115,8 @@ public async Task Update_ApiManagementUpdateWorkspaceApiVersionSet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteWorkspaceApiVersionSet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteWorkspaceApiVersionSet() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteWorkspaceApiVersionSet.json @@ -144,7 +141,7 @@ public async Task Delete_ApiManagementDeleteWorkspaceApiVersionSet() ETag ifMatch = new ETag("*"); await serviceWorkspaceApiVersionSet.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceGroupCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceGroupCollection.cs index e74d985cbc3ca..ca2e00db5c377 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceGroupCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceGroupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceGroupCollection { - // ApiManagementListWorkspaceGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListWorkspaceGroups() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspaceGroups.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListWorkspaceGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetWorkspaceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceGroup() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceGroup.json @@ -89,9 +88,8 @@ public async Task Get_ApiManagementGetWorkspaceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspaceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspaceGroup() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceGroup.json @@ -121,9 +119,8 @@ public async Task Exists_ApiManagementGetWorkspaceGroup() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspaceGroup() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceGroup.json @@ -153,7 +150,7 @@ public async Task GetIfExists_ApiManagementGetWorkspaceGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_ApiManagementGetWorkspaceGroup() } } - // ApiManagementCreateWorkspaceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspaceGroup() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceGroup.json @@ -206,9 +202,8 @@ public async Task CreateOrUpdate_ApiManagementCreateWorkspaceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateWorkspaceGroupExternal - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspaceGroupExternal() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceGroupExternal.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceGroupResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceGroupResource.cs index 5f5171b90f662..184dbf2914936 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceGroupResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceGroupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceGroupResource { - // ApiManagementHeadWorkspaceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadWorkspaceGroup() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadWorkspaceGroup.json @@ -44,9 +44,8 @@ public async Task GetEntityTag_ApiManagementHeadWorkspaceGroup() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceGroup() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceGroup.json @@ -77,9 +76,8 @@ public async Task Get_ApiManagementGetWorkspaceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateWorkspaceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateWorkspaceGroup() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateWorkspaceGroup.json @@ -115,9 +113,8 @@ public async Task Update_ApiManagementUpdateWorkspaceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteWorkspaceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteWorkspaceGroup() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteWorkspaceGroup.json @@ -142,12 +139,11 @@ public async Task Delete_ApiManagementDeleteWorkspaceGroup() ETag ifMatch = new ETag("*"); await serviceWorkspaceGroup.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementListWorkspaceGroupUsers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetWorkspaceGroupUsers_ApiManagementListWorkspaceGroupUsers() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspaceGroupUsers.json @@ -178,12 +174,11 @@ public async Task GetWorkspaceGroupUsers_ApiManagementListWorkspaceGroupUsers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementHeadWorkspaceGroupUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckEntityExistsWorkspaceGroupUser_ApiManagementHeadWorkspaceGroupUser() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadWorkspaceGroupUser.json @@ -211,9 +206,8 @@ public async Task CheckEntityExistsWorkspaceGroupUser_ApiManagementHeadWorkspace Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementCreateWorkspaceGroupUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateWorkspaceGroupUser_ApiManagementCreateWorkspaceGroupUser() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceGroupUser.json @@ -245,9 +239,8 @@ public async Task CreateWorkspaceGroupUser_ApiManagementCreateWorkspaceGroupUser Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteWorkspaceGroupUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteWorkspaceGroupUser_ApiManagementDeleteWorkspaceGroupUser() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteWorkspaceGroupUser.json @@ -272,7 +265,7 @@ public async Task DeleteWorkspaceGroupUser_ApiManagementDeleteWorkspaceGroupUser string userId = "59307d350af58404d8a26300"; await serviceWorkspaceGroup.DeleteWorkspaceGroupUserAsync(userId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceNamedValueCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceNamedValueCollection.cs index 60c527506b939..134430fefd2d0 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceNamedValueCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceNamedValueCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceNamedValueCollection { - // ApiManagementListWorkspaceNamedValues - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListWorkspaceNamedValues() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspaceNamedValues.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListWorkspaceNamedValues() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetWorkspaceNamedValue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceNamedValue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceNamedValue.json @@ -89,9 +88,8 @@ public async Task Get_ApiManagementGetWorkspaceNamedValue() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspaceNamedValue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspaceNamedValue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceNamedValue.json @@ -121,9 +119,8 @@ public async Task Exists_ApiManagementGetWorkspaceNamedValue() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceNamedValue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspaceNamedValue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceNamedValue.json @@ -153,7 +150,7 @@ public async Task GetIfExists_ApiManagementGetWorkspaceNamedValue() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_ApiManagementGetWorkspaceNamedValue() } } - // ApiManagementGetWorkspaceNamedValueWithKeyVault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceNamedValueWithKeyVault() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceNamedValueWithKeyVault.json @@ -201,9 +197,8 @@ public async Task Get_ApiManagementGetWorkspaceNamedValueWithKeyVault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspaceNamedValueWithKeyVault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspaceNamedValueWithKeyVault() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceNamedValueWithKeyVault.json @@ -233,9 +228,8 @@ public async Task Exists_ApiManagementGetWorkspaceNamedValueWithKeyVault() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceNamedValueWithKeyVault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspaceNamedValueWithKeyVault() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceNamedValueWithKeyVault.json @@ -265,7 +259,7 @@ public async Task GetIfExists_ApiManagementGetWorkspaceNamedValueWithKeyVault() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -277,9 +271,8 @@ public async Task GetIfExists_ApiManagementGetWorkspaceNamedValueWithKeyVault() } } - // ApiManagementCreateWorkspaceNamedValue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspaceNamedValue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceNamedValue.json @@ -324,9 +317,8 @@ public async Task CreateOrUpdate_ApiManagementCreateWorkspaceNamedValue() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateWorkspaceNamedValueWithKeyVault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspaceNamedValueWithKeyVault() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceNamedValueWithKeyVault.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceNamedValueResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceNamedValueResource.cs index b730ca1173965..5b69e7b1babf5 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceNamedValueResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceNamedValueResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceNamedValueResource { - // ApiManagementHeadWorkspaceNamedValue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadWorkspaceNamedValue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadWorkspaceNamedValue.json @@ -44,9 +44,8 @@ public async Task GetEntityTag_ApiManagementHeadWorkspaceNamedValue() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceNamedValue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceNamedValue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceNamedValue.json @@ -77,9 +76,8 @@ public async Task Get_ApiManagementGetWorkspaceNamedValue() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspaceNamedValueWithKeyVault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceNamedValueWithKeyVault() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceNamedValueWithKeyVault.json @@ -110,9 +108,8 @@ public async Task Get_ApiManagementGetWorkspaceNamedValueWithKeyVault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateWorkspaceNamedValue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateWorkspaceNamedValue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateWorkspaceNamedValue.json @@ -155,9 +152,8 @@ public async Task Update_ApiManagementUpdateWorkspaceNamedValue() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteWorkspaceNamedValue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteWorkspaceNamedValue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteWorkspaceNamedValue.json @@ -182,12 +178,11 @@ public async Task Delete_ApiManagementDeleteWorkspaceNamedValue() ETag ifMatch = new ETag("*"); await serviceWorkspaceNamedValue.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementWorkspaceNamedValueListValue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetValue_ApiManagementWorkspaceNamedValueListValue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementWorkspaceNamedValueListValue.json @@ -214,9 +209,8 @@ public async Task GetValue_ApiManagementWorkspaceNamedValueListValue() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementRefreshWorkspaceNamedValue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RefreshSecret_ApiManagementRefreshWorkspaceNamedValue() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementRefreshWorkspaceNamedValue.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceNotificationCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceNotificationCollection.cs index e132dea2e0528..443d2c8b18454 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceNotificationCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceNotificationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceNotificationCollection { - // ApiManagementListWorkspaceNotifications - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListWorkspaceNotifications() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspaceNotifications.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListWorkspaceNotifications() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetWorkspaceNotification - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceNotification() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceNotification.json @@ -89,9 +88,8 @@ public async Task Get_ApiManagementGetWorkspaceNotification() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspaceNotification - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspaceNotification() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceNotification.json @@ -121,9 +119,8 @@ public async Task Exists_ApiManagementGetWorkspaceNotification() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceNotification - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspaceNotification() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceNotification.json @@ -153,7 +150,7 @@ public async Task GetIfExists_ApiManagementGetWorkspaceNotification() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_ApiManagementGetWorkspaceNotification() } } - // ApiManagementCreateWorkspaceNotification - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspaceNotification() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceNotification.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceNotificationResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceNotificationResource.cs index ae6a01a6ddb89..3969db2436cd3 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceNotificationResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceNotificationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceNotificationResource { - // ApiManagementGetWorkspaceNotification - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceNotification() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceNotification.json @@ -48,9 +48,8 @@ public async Task Get_ApiManagementGetWorkspaceNotification() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateWorkspaceNotification - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateWorkspaceNotification() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceNotification.json @@ -82,9 +81,8 @@ public async Task Update_ApiManagementCreateWorkspaceNotification() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementListWorkspaceNotificationRecipientUsers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetWorkspaceNotificationRecipientUsersByNotification_ApiManagementListWorkspaceNotificationRecipientUsers() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspaceNotificationRecipientUsers.json @@ -111,12 +109,11 @@ public async Task GetWorkspaceNotificationRecipientUsersByNotification_ApiManage Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementHeadWorkspaceNotificationRecipientUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckEntityExistsWorkspaceNotificationRecipientUser_ApiManagementHeadWorkspaceNotificationRecipientUser() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadWorkspaceNotificationRecipientUser.json @@ -144,9 +141,8 @@ public async Task CheckEntityExistsWorkspaceNotificationRecipientUser_ApiManagem Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementCreateWorkspaceNotificationRecipientUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateWorkspaceNotificationRecipientUser_ApiManagementCreateWorkspaceNotificationRecipientUser() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceNotificationRecipientUser.json @@ -174,9 +170,8 @@ public async Task CreateOrUpdateWorkspaceNotificationRecipientUser_ApiManagement Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementDeleteWorkspaceNotificationRecipientUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteWorkspaceNotificationRecipientUser_ApiManagementDeleteWorkspaceNotificationRecipientUser() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteWorkspaceNotificationRecipientUser.json @@ -201,12 +196,11 @@ public async Task DeleteWorkspaceNotificationRecipientUser_ApiManagementDeleteWo string userId = "576823d0a40f7e74ec07d642"; await serviceWorkspaceNotification.DeleteWorkspaceNotificationRecipientUserAsync(userId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementListWorkspaceNotificationRecipientEmails - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetWorkspaceNotificationRecipientEmailsByNotification_ApiManagementListWorkspaceNotificationRecipientEmails() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspaceNotificationRecipientEmails.json @@ -233,12 +227,11 @@ public async Task GetWorkspaceNotificationRecipientEmailsByNotification_ApiManag Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementHeadWorkspaceNotificationRecipientEmail - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckEntityExistsWorkspaceNotificationRecipientEmail_ApiManagementHeadWorkspaceNotificationRecipientEmail() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadWorkspaceNotificationRecipientEmail.json @@ -266,9 +259,8 @@ public async Task CheckEntityExistsWorkspaceNotificationRecipientEmail_ApiManage Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementCreateWorkspaceNotificationRecipientEmail - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateWorkspaceNotificationRecipientEmail_ApiManagementCreateWorkspaceNotificationRecipientEmail() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceNotificationRecipientEmail.json @@ -296,9 +288,8 @@ public async Task CreateOrUpdateWorkspaceNotificationRecipientEmail_ApiManagemen Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementDeleteWorkspaceNotificationRecipientEmail - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteWorkspaceNotificationRecipientEmail_ApiManagementDeleteWorkspaceNotificationRecipientEmail() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteWorkspaceNotificationRecipientEmail.json @@ -323,7 +314,7 @@ public async Task DeleteWorkspaceNotificationRecipientEmail_ApiManagementDeleteW string email = "contoso@live.com"; await serviceWorkspaceNotification.DeleteWorkspaceNotificationRecipientEmailAsync(email); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspacePolicyCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspacePolicyCollection.cs index 2788b33ebd730..201f439f40a76 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspacePolicyCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspacePolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspacePolicyCollection { - // ApiManagementListWorkspacePolicies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListWorkspacePolicies() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspacePolicies.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListWorkspacePolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetWorkspacePolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspacePolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspacePolicy.json @@ -89,9 +88,8 @@ public async Task Get_ApiManagementGetWorkspacePolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspacePolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspacePolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspacePolicy.json @@ -121,9 +119,8 @@ public async Task Exists_ApiManagementGetWorkspacePolicy() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspacePolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspacePolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspacePolicy.json @@ -153,7 +150,7 @@ public async Task GetIfExists_ApiManagementGetWorkspacePolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_ApiManagementGetWorkspacePolicy() } } - // ApiManagementCreateWorkspacePolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspacePolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspacePolicy.json @@ -208,9 +204,8 @@ public async Task CreateOrUpdate_ApiManagementCreateWorkspacePolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateWorkspacePolicyNonXmlEncoded - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspacePolicyNonXmlEncoded() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspacePolicyNonXmlEncoded.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspacePolicyFragmentCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspacePolicyFragmentCollection.cs index 4c518eb098320..2fcc46f48e7a2 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspacePolicyFragmentCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspacePolicyFragmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspacePolicyFragmentCollection { - // ApiManagementListWorkspacePolicyFragments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListWorkspacePolicyFragments() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspacePolicyFragments.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListWorkspacePolicyFragments() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetWorkspacePolicyFragment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspacePolicyFragment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspacePolicyFragment.json @@ -89,9 +88,8 @@ public async Task Get_ApiManagementGetWorkspacePolicyFragment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspacePolicyFragment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspacePolicyFragment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspacePolicyFragment.json @@ -121,9 +119,8 @@ public async Task Exists_ApiManagementGetWorkspacePolicyFragment() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspacePolicyFragment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspacePolicyFragment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspacePolicyFragment.json @@ -153,7 +150,7 @@ public async Task GetIfExists_ApiManagementGetWorkspacePolicyFragment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_ApiManagementGetWorkspacePolicyFragment() } } - // ApiManagementGetWorkspacePolicyFragmentFormat - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspacePolicyFragmentFormat() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspacePolicyFragmentFormat.json @@ -202,9 +198,8 @@ public async Task Get_ApiManagementGetWorkspacePolicyFragmentFormat() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspacePolicyFragmentFormat - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspacePolicyFragmentFormat() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspacePolicyFragmentFormat.json @@ -235,9 +230,8 @@ public async Task Exists_ApiManagementGetWorkspacePolicyFragmentFormat() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspacePolicyFragmentFormat - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspacePolicyFragmentFormat() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspacePolicyFragmentFormat.json @@ -268,7 +262,7 @@ public async Task GetIfExists_ApiManagementGetWorkspacePolicyFragmentFormat() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -280,9 +274,8 @@ public async Task GetIfExists_ApiManagementGetWorkspacePolicyFragmentFormat() } } - // ApiManagementCreateWorkspacePolicyFragment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspacePolicyFragment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspacePolicyFragment.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspacePolicyFragmentResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspacePolicyFragmentResource.cs index 0e1561a2bd8b9..bf82e4e63c871 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspacePolicyFragmentResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspacePolicyFragmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspacePolicyFragmentResource { - // ApiManagementHeadWorkspacePolicyFragment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadWorkspacePolicyFragment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadWorkspacePolicyFragment.json @@ -44,9 +44,8 @@ public async Task GetEntityTag_ApiManagementHeadWorkspacePolicyFragment() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspacePolicyFragment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspacePolicyFragment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspacePolicyFragment.json @@ -77,9 +76,8 @@ public async Task Get_ApiManagementGetWorkspacePolicyFragment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspacePolicyFragmentFormat - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspacePolicyFragmentFormat() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspacePolicyFragmentFormat.json @@ -111,9 +109,8 @@ public async Task Get_ApiManagementGetWorkspacePolicyFragmentFormat() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateWorkspacePolicyFragment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateWorkspacePolicyFragment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspacePolicyFragment.json @@ -151,9 +148,8 @@ public async Task Update_ApiManagementCreateWorkspacePolicyFragment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteWorkspacePolicyFragment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteWorkspacePolicyFragment() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteWorkspacePolicyFragment.json @@ -178,12 +174,11 @@ public async Task Delete_ApiManagementDeleteWorkspacePolicyFragment() ETag ifMatch = new ETag("*"); await serviceWorkspacePolicyFragment.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementListWorkspacePolicyFragmentReferences - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReferences_ApiManagementListWorkspacePolicyFragmentReferences() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspacePolicyFragmentReferences.json @@ -210,7 +205,7 @@ public async Task GetReferences_ApiManagementListWorkspacePolicyFragmentReferenc Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspacePolicyResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspacePolicyResource.cs index b09a9519a94c7..a10ceb8c0693d 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspacePolicyResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspacePolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspacePolicyResource { - // ApiManagementHeadWorkspacePolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadWorkspacePolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadWorkspacePolicy.json @@ -44,9 +44,8 @@ public async Task GetEntityTag_ApiManagementHeadWorkspacePolicy() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspacePolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspacePolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspacePolicy.json @@ -77,9 +76,8 @@ public async Task Get_ApiManagementGetWorkspacePolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateWorkspacePolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateWorkspacePolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspacePolicy.json @@ -117,9 +115,8 @@ public async Task Update_ApiManagementCreateWorkspacePolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateWorkspacePolicyNonXmlEncoded - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateWorkspacePolicyNonXmlEncoded() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspacePolicyNonXmlEncoded.json @@ -157,9 +154,8 @@ public async Task Update_ApiManagementCreateWorkspacePolicyNonXmlEncoded() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteWorkspacePolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteWorkspacePolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteWorkspacePolicy.json @@ -184,7 +180,7 @@ public async Task Delete_ApiManagementDeleteWorkspacePolicy() ETag ifMatch = new ETag("*"); await serviceWorkspacePolicy.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductApiLinkCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductApiLinkCollection.cs index 9f9dd3d468496..64044f7fd61cc 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductApiLinkCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductApiLinkCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceProductApiLinkCollection { - // ApiManagementListWorkspaceProductApiLinks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListWorkspaceProductApiLinks() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspaceProductApiLinks.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListWorkspaceProductApiLinks() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetWorkspaceProductApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceProductApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceProductApiLink.json @@ -90,9 +89,8 @@ public async Task Get_ApiManagementGetWorkspaceProductApiLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspaceProductApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspaceProductApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceProductApiLink.json @@ -123,9 +121,8 @@ public async Task Exists_ApiManagementGetWorkspaceProductApiLink() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceProductApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspaceProductApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceProductApiLink.json @@ -156,7 +153,7 @@ public async Task GetIfExists_ApiManagementGetWorkspaceProductApiLink() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_ApiManagementGetWorkspaceProductApiLink() } } - // ApiManagementCreateWorkspaceProductApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspaceProductApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceProductApiLink.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductApiLinkResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductApiLinkResource.cs index 7b832d2cd942b..7d2f04d483668 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductApiLinkResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductApiLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceProductApiLinkResource { - // ApiManagementGetWorkspaceProductApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceProductApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceProductApiLink.json @@ -48,9 +48,8 @@ public async Task Get_ApiManagementGetWorkspaceProductApiLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateWorkspaceProductApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateWorkspaceProductApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceProductApiLink.json @@ -87,9 +86,8 @@ public async Task Update_ApiManagementCreateWorkspaceProductApiLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteWorkspaceProductApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteWorkspaceProductApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteWorkspaceProductApiLink.json @@ -114,7 +112,7 @@ public async Task Delete_ApiManagementDeleteWorkspaceProductApiLink() // invoke the operation await serviceWorkspaceProductApiLink.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductCollection.cs index 1cb81159f01ce..64927b6ddd7f9 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceProductCollection { - // ApiManagementListWorkspaceProducts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListWorkspaceProducts() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspaceProducts.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListWorkspaceProducts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetWorkspaceProduct - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceProduct() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceProduct.json @@ -88,9 +87,8 @@ public async Task Get_ApiManagementGetWorkspaceProduct() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspaceProduct - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspaceProduct() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceProduct.json @@ -120,9 +118,8 @@ public async Task Exists_ApiManagementGetWorkspaceProduct() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceProduct - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspaceProduct() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceProduct.json @@ -152,7 +149,7 @@ public async Task GetIfExists_ApiManagementGetWorkspaceProduct() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_ApiManagementGetWorkspaceProduct() } } - // ApiManagementCreateWorkspaceProduct - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspaceProduct() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceProduct.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductGroupLinkCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductGroupLinkCollection.cs index 952019d45c0b7..8b46a7ff1172d 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductGroupLinkCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductGroupLinkCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceProductGroupLinkCollection { - // ApiManagementListWorkspaceProductGroupLinks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListWorkspaceProductGroupLinks() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspaceProductGroupLinks.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListWorkspaceProductGroupLinks() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetWorkspaceProductGroupLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceProductGroupLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceProductGroupLink.json @@ -90,9 +89,8 @@ public async Task Get_ApiManagementGetWorkspaceProductGroupLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspaceProductGroupLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspaceProductGroupLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceProductGroupLink.json @@ -123,9 +121,8 @@ public async Task Exists_ApiManagementGetWorkspaceProductGroupLink() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceProductGroupLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspaceProductGroupLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceProductGroupLink.json @@ -156,7 +153,7 @@ public async Task GetIfExists_ApiManagementGetWorkspaceProductGroupLink() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_ApiManagementGetWorkspaceProductGroupLink() } } - // ApiManagementCreateWorkspaceProductGroupLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspaceProductGroupLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceProductGroupLink.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductGroupLinkResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductGroupLinkResource.cs index 1b4f0dd1adb63..59b3bd8ec599b 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductGroupLinkResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductGroupLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceProductGroupLinkResource { - // ApiManagementGetWorkspaceProductGroupLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceProductGroupLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceProductGroupLink.json @@ -48,9 +48,8 @@ public async Task Get_ApiManagementGetWorkspaceProductGroupLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateWorkspaceProductGroupLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateWorkspaceProductGroupLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceProductGroupLink.json @@ -87,9 +86,8 @@ public async Task Update_ApiManagementCreateWorkspaceProductGroupLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteWorkspaceProductGroupLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteWorkspaceProductGroupLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteWorkspaceProductGroupLink.json @@ -114,7 +112,7 @@ public async Task Delete_ApiManagementDeleteWorkspaceProductGroupLink() // invoke the operation await serviceWorkspaceProductGroupLink.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductPolicyCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductPolicyCollection.cs index c6f478a434c70..20da651b864d3 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductPolicyCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceProductPolicyCollection { - // ApiManagementListWorkspaceProductPolicies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListWorkspaceProductPolicies() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspaceProductPolicies.json @@ -51,12 +51,11 @@ public async Task GetAll_ApiManagementListWorkspaceProductPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetWorkspaceProductPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceProductPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceProductPolicy.json @@ -91,9 +90,8 @@ public async Task Get_ApiManagementGetWorkspaceProductPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspaceProductPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspaceProductPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceProductPolicy.json @@ -124,9 +122,8 @@ public async Task Exists_ApiManagementGetWorkspaceProductPolicy() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceProductPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspaceProductPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceProductPolicy.json @@ -157,7 +154,7 @@ public async Task GetIfExists_ApiManagementGetWorkspaceProductPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_ApiManagementGetWorkspaceProductPolicy() } } - // ApiManagementCreateWorkspaceProductPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspaceProductPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceProductPolicy.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductPolicyResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductPolicyResource.cs index a376a6060c041..90f2638b24c50 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductPolicyResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceProductPolicyResource { - // ApiManagementHeadWorkspaceProductPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadWorkspaceProductPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadWorkspaceProductPolicy.json @@ -45,9 +45,8 @@ public async Task GetEntityTag_ApiManagementHeadWorkspaceProductPolicy() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceProductPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceProductPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceProductPolicy.json @@ -79,9 +78,8 @@ public async Task Get_ApiManagementGetWorkspaceProductPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateWorkspaceProductPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateWorkspaceProductPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceProductPolicy.json @@ -119,9 +117,8 @@ public async Task Update_ApiManagementCreateWorkspaceProductPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteWorkspaceProductPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteWorkspaceProductPolicy() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteWorkspaceProductPolicy.json @@ -147,7 +144,7 @@ public async Task Delete_ApiManagementDeleteWorkspaceProductPolicy() ETag ifMatch = new ETag("*"); await serviceWorkspaceProductPolicy.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductResource.cs index 07e05f5dc6591..f018c834f76eb 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceProductResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceProductResource { - // ApiManagementHeadWorkspaceProduct - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadWorkspaceProduct() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadWorkspaceProduct.json @@ -44,9 +44,8 @@ public async Task GetEntityTag_ApiManagementHeadWorkspaceProduct() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceProduct - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceProduct() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceProduct.json @@ -77,9 +76,8 @@ public async Task Get_ApiManagementGetWorkspaceProduct() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateWorkspaceProduct - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateWorkspaceProduct() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateWorkspaceProduct.json @@ -115,9 +113,8 @@ public async Task Update_ApiManagementUpdateWorkspaceProduct() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteWorkspaceProduct - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteWorkspaceProduct() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteWorkspaceProduct.json @@ -143,7 +140,7 @@ public async Task Delete_ApiManagementDeleteWorkspaceProduct() bool? deleteSubscriptions = true; await serviceWorkspaceProduct.DeleteAsync(WaitUntil.Completed, ifMatch, deleteSubscriptions: deleteSubscriptions); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceSchemaCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceSchemaCollection.cs index 62f9434b1bba6..8a1e1afe3d6b8 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceSchemaCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceSchemaCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceSchemaCollection { - // ApiManagementListWorkspaceSchemas - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListWorkspaceSchemas() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspaceSchemas.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListWorkspaceSchemas() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetWorkspaceSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceSchema() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceSchema.json @@ -89,9 +88,8 @@ public async Task Get_ApiManagementGetWorkspaceSchema() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspaceSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspaceSchema() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceSchema.json @@ -121,9 +119,8 @@ public async Task Exists_ApiManagementGetWorkspaceSchema() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspaceSchema() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceSchema.json @@ -153,7 +150,7 @@ public async Task GetIfExists_ApiManagementGetWorkspaceSchema() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_ApiManagementGetWorkspaceSchema() } } - // ApiManagementCreateWorkspaceSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspaceSchema() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceSchema.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceSchemaResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceSchemaResource.cs index ee2d3132b5efb..ad6651e8448b4 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceSchemaResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceSchemaResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceSchemaResource { - // ApiManagementHeadWorkspaceSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadWorkspaceSchema() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadWorkspaceSchema.json @@ -44,9 +44,8 @@ public async Task GetEntityTag_ApiManagementHeadWorkspaceSchema() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceSchema() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceSchema.json @@ -77,9 +76,8 @@ public async Task Get_ApiManagementGetWorkspaceSchema() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateWorkspaceSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateWorkspaceSchema() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceSchema.json @@ -117,9 +115,8 @@ public async Task Update_ApiManagementCreateWorkspaceSchema() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteWorkspaceSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteWorkspaceSchema() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteWorkspaceSchema.json @@ -144,7 +141,7 @@ public async Task Delete_ApiManagementDeleteWorkspaceSchema() ETag ifMatch = new ETag("*"); await serviceWorkspaceSchema.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceSubscriptionCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceSubscriptionCollection.cs index dba84c50600a1..8aece43b45a74 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceSubscriptionCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceSubscriptionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceSubscriptionCollection { - // ApiManagementListWorkspaceSubscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListWorkspaceSubscriptions() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspaceSubscriptions.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListWorkspaceSubscriptions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetWorkspaceSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceSubscription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceSubscription.json @@ -89,9 +88,8 @@ public async Task Get_ApiManagementGetWorkspaceSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspaceSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspaceSubscription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceSubscription.json @@ -121,9 +119,8 @@ public async Task Exists_ApiManagementGetWorkspaceSubscription() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspaceSubscription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceSubscription.json @@ -153,7 +150,7 @@ public async Task GetIfExists_ApiManagementGetWorkspaceSubscription() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_ApiManagementGetWorkspaceSubscription() } } - // ApiManagementCreateWorkspaceSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspaceSubscription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceSubscription.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceSubscriptionResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceSubscriptionResource.cs index 3328741bd8f49..e0ff8e0d208e4 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceSubscriptionResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceSubscriptionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceSubscriptionResource { - // ApiManagementHeadWorkspaceSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadWorkspaceSubscription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadWorkspaceSubscription.json @@ -44,9 +44,8 @@ public async Task GetEntityTag_ApiManagementHeadWorkspaceSubscription() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceSubscription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceSubscription.json @@ -77,9 +76,8 @@ public async Task Get_ApiManagementGetWorkspaceSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateWorkspaceSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateWorkspaceSubscription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateWorkspaceSubscription.json @@ -115,9 +113,8 @@ public async Task Update_ApiManagementUpdateWorkspaceSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteWorkspaceSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteWorkspaceSubscription() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteWorkspaceSubscription.json @@ -142,12 +139,11 @@ public async Task Delete_ApiManagementDeleteWorkspaceSubscription() ETag ifMatch = new ETag("*"); await serviceWorkspaceSubscription.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementWorkspaceSubscriptionRegeneratePrimaryKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegeneratePrimaryKey_ApiManagementWorkspaceSubscriptionRegeneratePrimaryKey() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementWorkspaceSubscriptionRegeneratePrimaryKey.json @@ -171,12 +167,11 @@ public async Task RegeneratePrimaryKey_ApiManagementWorkspaceSubscriptionRegener // invoke the operation await serviceWorkspaceSubscription.RegeneratePrimaryKeyAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementWorkspaceSubscriptionRegenerateSecondaryKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateSecondaryKey_ApiManagementWorkspaceSubscriptionRegenerateSecondaryKey() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementWorkspaceSubscriptionRegenerateSecondaryKey.json @@ -200,12 +195,11 @@ public async Task RegenerateSecondaryKey_ApiManagementWorkspaceSubscriptionRegen // invoke the operation await serviceWorkspaceSubscription.RegenerateSecondaryKeyAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementWorkspaceSubscriptionListSecrets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecrets_ApiManagementWorkspaceSubscriptionListSecrets() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementWorkspaceSubscriptionListSecrets.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagApiLinkCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagApiLinkCollection.cs index 235cef8dbb910..11ed70e2bdce9 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagApiLinkCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagApiLinkCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceTagApiLinkCollection { - // ApiManagementListWorkspaceTagApiLinks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListWorkspaceTagApiLinks() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspaceTagApiLinks.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListWorkspaceTagApiLinks() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetWorkspaceTagApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceTagApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceTagApiLink.json @@ -90,9 +89,8 @@ public async Task Get_ApiManagementGetWorkspaceTagApiLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspaceTagApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspaceTagApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceTagApiLink.json @@ -123,9 +121,8 @@ public async Task Exists_ApiManagementGetWorkspaceTagApiLink() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceTagApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspaceTagApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceTagApiLink.json @@ -156,7 +153,7 @@ public async Task GetIfExists_ApiManagementGetWorkspaceTagApiLink() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_ApiManagementGetWorkspaceTagApiLink() } } - // ApiManagementCreateWorkspaceTagApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspaceTagApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceTagApiLink.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagApiLinkResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagApiLinkResource.cs index 03c0102ec34de..7be0b35926987 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagApiLinkResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagApiLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceTagApiLinkResource { - // ApiManagementGetWorkspaceTagApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceTagApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceTagApiLink.json @@ -48,9 +48,8 @@ public async Task Get_ApiManagementGetWorkspaceTagApiLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateWorkspaceTagApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateWorkspaceTagApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceTagApiLink.json @@ -87,9 +86,8 @@ public async Task Update_ApiManagementCreateWorkspaceTagApiLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteWorkspaceTagApiLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteWorkspaceTagApiLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteWorkspaceTagApiLink.json @@ -114,7 +112,7 @@ public async Task Delete_ApiManagementDeleteWorkspaceTagApiLink() // invoke the operation await serviceWorkspaceTagApiLink.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagCollection.cs index f0cfb34a6e869..5537eac170f37 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceTagCollection { - // ApiManagementListWorkspaceTags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListWorkspaceTags() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspaceTags.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListWorkspaceTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetWorkspaceTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceTag.json @@ -89,9 +88,8 @@ public async Task Get_ApiManagementGetWorkspaceTag() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspaceTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspaceTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceTag.json @@ -121,9 +119,8 @@ public async Task Exists_ApiManagementGetWorkspaceTag() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspaceTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceTag.json @@ -153,7 +150,7 @@ public async Task GetIfExists_ApiManagementGetWorkspaceTag() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_ApiManagementGetWorkspaceTag() } } - // ApiManagementCreateWorkspaceTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspaceTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceTag.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagOperationLinkCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagOperationLinkCollection.cs index 504b7d533c18f..818e3aee68507 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagOperationLinkCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagOperationLinkCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceTagOperationLinkCollection { - // ApiManagementListWorkspaceTagOperationLinks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListWorkspaceTagOperationLinks() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspaceTagOperationLinks.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListWorkspaceTagOperationLinks() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetWorkspaceTagOperationLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceTagOperationLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceTagOperationLink.json @@ -90,9 +89,8 @@ public async Task Get_ApiManagementGetWorkspaceTagOperationLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspaceTagOperationLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspaceTagOperationLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceTagOperationLink.json @@ -123,9 +121,8 @@ public async Task Exists_ApiManagementGetWorkspaceTagOperationLink() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceTagOperationLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspaceTagOperationLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceTagOperationLink.json @@ -156,7 +153,7 @@ public async Task GetIfExists_ApiManagementGetWorkspaceTagOperationLink() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_ApiManagementGetWorkspaceTagOperationLink() } } - // ApiManagementCreateWorkspaceTagOperationLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspaceTagOperationLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceTagOperationLink.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagOperationLinkResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagOperationLinkResource.cs index ea265e11f0ef5..8e24074b4dfe7 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagOperationLinkResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagOperationLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceTagOperationLinkResource { - // ApiManagementGetWorkspaceTagOperationLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceTagOperationLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceTagOperationLink.json @@ -48,9 +48,8 @@ public async Task Get_ApiManagementGetWorkspaceTagOperationLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateWorkspaceTagOperationLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateWorkspaceTagOperationLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceTagOperationLink.json @@ -87,9 +86,8 @@ public async Task Update_ApiManagementCreateWorkspaceTagOperationLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteWorkspaceTagOperationLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteWorkspaceTagOperationLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteWorkspaceTagOperationLink.json @@ -114,7 +112,7 @@ public async Task Delete_ApiManagementDeleteWorkspaceTagOperationLink() // invoke the operation await serviceWorkspaceTagOperationLink.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagProductLinkCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagProductLinkCollection.cs index 4928284588c95..4baf780de3fe0 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagProductLinkCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagProductLinkCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceTagProductLinkCollection { - // ApiManagementListWorkspaceTagProductLinks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListWorkspaceTagProductLinks() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspaceTagProductLinks.json @@ -50,12 +50,11 @@ public async Task GetAll_ApiManagementListWorkspaceTagProductLinks() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetWorkspaceTagProductLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceTagProductLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceTagProductLink.json @@ -90,9 +89,8 @@ public async Task Get_ApiManagementGetWorkspaceTagProductLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspaceTagProductLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspaceTagProductLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceTagProductLink.json @@ -123,9 +121,8 @@ public async Task Exists_ApiManagementGetWorkspaceTagProductLink() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceTagProductLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspaceTagProductLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceTagProductLink.json @@ -156,7 +153,7 @@ public async Task GetIfExists_ApiManagementGetWorkspaceTagProductLink() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_ApiManagementGetWorkspaceTagProductLink() } } - // ApiManagementCreateWorkspaceTagProductLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspaceTagProductLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceTagProductLink.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagProductLinkResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagProductLinkResource.cs index a370cc7e1cd04..78e084f38f117 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagProductLinkResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagProductLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceTagProductLinkResource { - // ApiManagementGetWorkspaceTagProductLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceTagProductLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceTagProductLink.json @@ -48,9 +48,8 @@ public async Task Get_ApiManagementGetWorkspaceTagProductLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementCreateWorkspaceTagProductLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementCreateWorkspaceTagProductLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspaceTagProductLink.json @@ -87,9 +86,8 @@ public async Task Update_ApiManagementCreateWorkspaceTagProductLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteWorkspaceTagProductLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteWorkspaceTagProductLink() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteWorkspaceTagProductLink.json @@ -114,7 +112,7 @@ public async Task Delete_ApiManagementDeleteWorkspaceTagProductLink() // invoke the operation await serviceWorkspaceTagProductLink.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagResource.cs index bea33b4c4c10e..cfb0bbbcd8f40 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_ServiceWorkspaceTagResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_ServiceWorkspaceTagResource { - // ApiManagementHeadWorkspaceTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityState_ApiManagementHeadWorkspaceTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadWorkspaceTag.json @@ -44,9 +44,8 @@ public async Task GetEntityState_ApiManagementHeadWorkspaceTag() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspaceTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspaceTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspaceTag.json @@ -77,9 +76,8 @@ public async Task Get_ApiManagementGetWorkspaceTag() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateWorkspaceTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateWorkspaceTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateWorkspaceTag.json @@ -115,9 +113,8 @@ public async Task Update_ApiManagementUpdateWorkspaceTag() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteWorkspaceTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteWorkspaceTag() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteWorkspaceTag.json @@ -142,7 +139,7 @@ public async Task Delete_ApiManagementDeleteWorkspaceTag() ETag ifMatch = new ETag("*"); await serviceWorkspaceTag.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index a76eb279236fe..fea097ee85813 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Lists all available Resource SKUs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApiManagementSkus_ListsAllAvailableResourceSKUs() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListSku.json @@ -41,7 +41,7 @@ public async Task GetApiManagementSkus_ListsAllAvailableResourceSKUs() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_TenantAccessInfoCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_TenantAccessInfoCollection.cs index 40f2e2a6c3651..7b90f1c897fb8 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_TenantAccessInfoCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_TenantAccessInfoCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_TenantAccessInfoCollection { - // ApiManagementListTenantAccess - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListTenantAccess() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListTenantAccess.json @@ -49,12 +49,11 @@ public async Task GetAll_ApiManagementListTenantAccess() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetTenantAccess - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetTenantAccess() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTenantAccess.json @@ -87,9 +86,8 @@ public async Task Get_ApiManagementGetTenantAccess() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetTenantAccess - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetTenantAccess() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTenantAccess.json @@ -118,9 +116,8 @@ public async Task Exists_ApiManagementGetTenantAccess() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetTenantAccess - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetTenantAccess() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTenantAccess.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ApiManagementGetTenantAccess() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ApiManagementGetTenantAccess() } } - // ApiManagementGetTenantGitAccess - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetTenantGitAccess() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTenantGitAccess.json @@ -196,9 +192,8 @@ public async Task Get_ApiManagementGetTenantGitAccess() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetTenantGitAccess - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetTenantGitAccess() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTenantGitAccess.json @@ -227,9 +222,8 @@ public async Task Exists_ApiManagementGetTenantGitAccess() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetTenantGitAccess - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetTenantGitAccess() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTenantGitAccess.json @@ -258,7 +252,7 @@ public async Task GetIfExists_ApiManagementGetTenantGitAccess() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -270,9 +264,8 @@ public async Task GetIfExists_ApiManagementGetTenantGitAccess() } } - // ApiManagementCreateTenantAccess - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateTenantAccess() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateTenantAccess.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_TenantAccessInfoResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_TenantAccessInfoResource.cs index 44e2bd777b9eb..814c688723c9e 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_TenantAccessInfoResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_TenantAccessInfoResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApiManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_TenantAccessInfoResource { - // ApiManagementHeadTenantAccess - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadTenantAccess() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadTenantAccess.json @@ -43,9 +43,8 @@ public async Task GetEntityTag_ApiManagementHeadTenantAccess() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetTenantAccess - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetTenantAccess() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTenantAccess.json @@ -75,9 +74,8 @@ public async Task Get_ApiManagementGetTenantAccess() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetTenantGitAccess - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetTenantGitAccess() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetTenantGitAccess.json @@ -107,9 +105,8 @@ public async Task Get_ApiManagementGetTenantGitAccess() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateTenantAccess - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateTenantAccess() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateTenantAccess.json @@ -144,9 +141,8 @@ public async Task Update_ApiManagementUpdateTenantAccess() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementTenantAccessRegenerateKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegeneratePrimaryKey_ApiManagementTenantAccessRegenerateKey() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementTenantAccessRegenerateKey.json @@ -169,12 +165,11 @@ public async Task RegeneratePrimaryKey_ApiManagementTenantAccessRegenerateKey() // invoke the operation await tenantAccessInfo.RegeneratePrimaryKeyAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementTenantAccessRegenerateKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateSecondaryKey_ApiManagementTenantAccessRegenerateKey() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementTenantAccessRegenerateKey.json @@ -197,12 +192,11 @@ public async Task RegenerateSecondaryKey_ApiManagementTenantAccessRegenerateKey( // invoke the operation await tenantAccessInfo.RegenerateSecondaryKeyAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementListSecretsTenantAccess - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecrets_ApiManagementListSecretsTenantAccess() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListSecretsTenantAccess.json @@ -228,9 +222,8 @@ public async Task GetSecrets_ApiManagementListSecretsTenantAccess() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementTenantAccessRegenerateKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegeneratePrimaryKeyForGit_ApiManagementTenantAccessRegenerateKey() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementTenantAccessRegenerateKey.json @@ -253,12 +246,11 @@ public async Task RegeneratePrimaryKeyForGit_ApiManagementTenantAccessRegenerate // invoke the operation await tenantAccessInfo.RegeneratePrimaryKeyForGitAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementTenantAccessRegenerateKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateSecondaryKeyForGit_ApiManagementTenantAccessRegenerateKey() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementTenantAccessRegenerateKey.json @@ -281,7 +273,7 @@ public async Task RegenerateSecondaryKeyForGit_ApiManagementTenantAccessRegenera // invoke the operation await tenantAccessInfo.RegenerateSecondaryKeyForGitAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_WorkspaceContractCollection.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_WorkspaceContractCollection.cs index e1c4d6df00c20..97159edaa1edc 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_WorkspaceContractCollection.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_WorkspaceContractCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_WorkspaceContractCollection { - // ApiManagementListWorkspaces - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiManagementListWorkspaces() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementListWorkspaces.json @@ -48,12 +48,11 @@ public async Task GetAll_ApiManagementListWorkspaces() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiManagementGetWorkspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspace() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspace.json @@ -86,9 +85,8 @@ public async Task Get_ApiManagementGetWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementGetWorkspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiManagementGetWorkspace() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspace.json @@ -117,9 +115,8 @@ public async Task Exists_ApiManagementGetWorkspace() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiManagementGetWorkspace() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspace.json @@ -148,7 +145,7 @@ public async Task GetIfExists_ApiManagementGetWorkspace() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_ApiManagementGetWorkspace() } } - // ApiManagementCreateWorkspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiManagementCreateWorkspace() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementCreateWorkspace.json diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_WorkspaceContractResource.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_WorkspaceContractResource.cs index 48c3e7cef8699..b7a51b6e35a10 100644 --- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_WorkspaceContractResource.cs +++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/samples/Generated/Samples/Sample_WorkspaceContractResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApiManagement.Samples { public partial class Sample_WorkspaceContractResource { - // ApiManagementHeadWorkspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntityTag_ApiManagementHeadWorkspace() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementHeadWorkspace.json @@ -42,9 +42,8 @@ public async Task GetEntityTag_ApiManagementHeadWorkspace() Console.WriteLine($"Succeeded: {result}"); } - // ApiManagementGetWorkspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiManagementGetWorkspace() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementGetWorkspace.json @@ -74,9 +73,8 @@ public async Task Get_ApiManagementGetWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementUpdateWorkspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiManagementUpdateWorkspace() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementUpdateWorkspace.json @@ -112,9 +110,8 @@ public async Task Update_ApiManagementUpdateWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiManagementDeleteWorkspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiManagementDeleteWorkspace() { // Generated from example definition: specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2023-03-01-preview/examples/ApiManagementDeleteWorkspace.json @@ -138,7 +135,7 @@ public async Task Delete_ApiManagementDeleteWorkspace() ETag ifMatch = new ETag("*"); await workspaceContract.DeleteAsync(WaitUntil.Completed, ifMatch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportCollection.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportCollection.cs index d915be9e1dbf3..184475b401062 100644 --- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportCollection.cs +++ b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppComplianceAutomation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppComplianceAutomation.Samples { public partial class Sample_AppComplianceReportCollection { - // Report_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ReportList() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_List.json @@ -46,12 +46,11 @@ public async Task GetAll_ReportList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Report_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ReportGet() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Get.json @@ -80,9 +79,8 @@ public async Task Get_ReportGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Report_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ReportGet() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Get.json @@ -107,9 +105,8 @@ public async Task Exists_ReportGet() Console.WriteLine($"Succeeded: {result}"); } - // Report_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ReportGet() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Get.json @@ -134,7 +131,7 @@ public async Task GetIfExists_ReportGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportEvidenceCollection.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportEvidenceCollection.cs index 83b49b9387017..1c10bb247de46 100644 --- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportEvidenceCollection.cs +++ b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportEvidenceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppComplianceAutomation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppComplianceAutomation.Samples { public partial class Sample_AppComplianceReportEvidenceCollection { - // Evidence_ListByReport - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_EvidenceListByReport() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_ListByReport.json @@ -48,12 +48,11 @@ public async Task GetAll_EvidenceListByReport() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Evidence_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EvidenceGet() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Get.json @@ -84,9 +83,8 @@ public async Task Get_EvidenceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Evidence_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EvidenceGet() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Get.json @@ -113,9 +111,8 @@ public async Task Exists_EvidenceGet() Console.WriteLine($"Succeeded: {result}"); } - // Evidence_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EvidenceGet() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Get.json @@ -142,7 +139,7 @@ public async Task GetIfExists_EvidenceGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportEvidenceResource.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportEvidenceResource.cs index 5df00b4527f54..0ecd560a2f40f 100644 --- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportEvidenceResource.cs +++ b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportEvidenceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppComplianceAutomation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppComplianceAutomation.Samples { public partial class Sample_AppComplianceReportEvidenceResource { - // Evidence_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EvidenceGet() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Get.json @@ -45,9 +45,8 @@ public async Task Get_EvidenceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Evidence_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_EvidenceDelete() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Delete.json @@ -68,12 +67,11 @@ public async Task Delete_EvidenceDelete() // invoke the operation await appComplianceReportEvidence.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Evidence_Download - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Download_EvidenceDownload() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Download.json diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportResource.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportResource.cs index 1e17861dd07c3..4f39bd9a94252 100644 --- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportResource.cs +++ b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppComplianceAutomation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppComplianceAutomation.Samples { public partial class Sample_AppComplianceReportResource { - // Report_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ReportGet() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Get.json @@ -44,9 +44,8 @@ public async Task Get_ReportGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Report_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ReportUpdate() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Update.json @@ -75,9 +74,8 @@ public async Task Update_ReportUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Report_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ReportDelete() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Delete.json @@ -97,12 +95,11 @@ public async Task Delete_ReportDelete() // invoke the operation await appComplianceReport.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Report_EvidenceCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckAppComplianceReportNestedResourceNameAvailability_ReportEvidenceCheckNameAvailability() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_NestedResourceCheckNameAvailability_Report_Evidence_Check_Name_Availability.json @@ -126,9 +123,8 @@ public async Task CheckAppComplianceReportNestedResourceNameAvailability_ReportE Console.WriteLine($"Succeeded: {result}"); } - // Report_SnapshotCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckAppComplianceReportNestedResourceNameAvailability_ReportSnapshotCheckNameAvailability() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_NestedResourceCheckNameAvailability_Report_Snapshot_Check_Name_Availability.json @@ -152,9 +148,8 @@ public async Task CheckAppComplianceReportNestedResourceNameAvailability_ReportS Console.WriteLine($"Succeeded: {result}"); } - // Report_WebhookCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckAppComplianceReportNestedResourceNameAvailability_ReportWebhookCheckNameAvailability() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_NestedResourceCheckNameAvailability_Report_Webhook_Check_Name_Availability.json @@ -178,9 +173,8 @@ public async Task CheckAppComplianceReportNestedResourceNameAvailability_ReportW Console.WriteLine($"Succeeded: {result}"); } - // Report_Fix - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Fix_ReportFix() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Fix.json @@ -204,9 +198,8 @@ public async Task Fix_ReportFix() Console.WriteLine($"Succeeded: {result}"); } - // Report_GetScopingQuestions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetScopingQuestions_ReportGetScopingQuestions() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_GetScopingQuestions.json @@ -229,9 +222,8 @@ public async Task GetScopingQuestions_ReportGetScopingQuestions() Console.WriteLine($"Succeeded: {result}"); } - // Report_Verify - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Verify_ReportVerify() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Verify.json diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportScopingConfigurationCollection.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportScopingConfigurationCollection.cs index 7bf82fde837f4..28a8349a82f14 100644 --- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportScopingConfigurationCollection.cs +++ b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportScopingConfigurationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppComplianceAutomation.Samples { public partial class Sample_AppComplianceReportScopingConfigurationCollection { - // ScopingConfiguration_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ScopingConfigurationList() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_List.json @@ -46,12 +46,11 @@ public async Task GetAll_ScopingConfigurationList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ScopingConfiguration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ScopingConfiguration() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_Get.json @@ -82,9 +81,8 @@ public async Task Get_ScopingConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScopingConfiguration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ScopingConfiguration() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_Get.json @@ -111,9 +109,8 @@ public async Task Exists_ScopingConfiguration() Console.WriteLine($"Succeeded: {result}"); } - // ScopingConfiguration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ScopingConfiguration() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_Get.json @@ -140,7 +137,7 @@ public async Task GetIfExists_ScopingConfiguration() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportScopingConfigurationResource.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportScopingConfigurationResource.cs index 976405aed30fa..e4d31b396c17e 100644 --- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportScopingConfigurationResource.cs +++ b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportScopingConfigurationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppComplianceAutomation.Samples { public partial class Sample_AppComplianceReportScopingConfigurationResource { - // ScopingConfiguration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ScopingConfiguration() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_Get.json @@ -44,9 +44,8 @@ public async Task Get_ScopingConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScopingConfiguration_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ScopingConfigurationDelete() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_Delete.json @@ -67,7 +66,7 @@ public async Task Delete_ScopingConfigurationDelete() // invoke the operation await appComplianceReportScopingConfiguration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportSnapshotCollection.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportSnapshotCollection.cs index aab5cc68c0ad9..dde17efb40731 100644 --- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportSnapshotCollection.cs +++ b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportSnapshotCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppComplianceAutomation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppComplianceAutomation.Samples { public partial class Sample_AppComplianceReportSnapshotCollection { - // Snapshot_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SnapshotList() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_List.json @@ -48,12 +48,11 @@ public async Task GetAll_SnapshotList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Snapshot_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SnapshotGet() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Get.json @@ -84,9 +83,8 @@ public async Task Get_SnapshotGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Snapshot_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SnapshotGet() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Get.json @@ -113,9 +111,8 @@ public async Task Exists_SnapshotGet() Console.WriteLine($"Succeeded: {result}"); } - // Snapshot_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SnapshotGet() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Get.json @@ -142,7 +139,7 @@ public async Task GetIfExists_SnapshotGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportSnapshotResource.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportSnapshotResource.cs index eb18c8130ed71..f41b885abe3b2 100644 --- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportSnapshotResource.cs +++ b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportSnapshotResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppComplianceAutomation.Samples { public partial class Sample_AppComplianceReportSnapshotResource { - // Snapshot_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SnapshotGet() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Get.json diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportWebhookCollection.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportWebhookCollection.cs index 3c20de376b439..d780bbf6be770 100644 --- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportWebhookCollection.cs +++ b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportWebhookCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppComplianceAutomation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppComplianceAutomation.Samples { public partial class Sample_AppComplianceReportWebhookCollection { - // Webhook_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WebhookList() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_List.json @@ -48,12 +48,11 @@ public async Task GetAll_WebhookList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Webhook_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WebhookGet() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Get.json @@ -84,9 +83,8 @@ public async Task Get_WebhookGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Webhook_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WebhookGet() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Get.json @@ -113,9 +111,8 @@ public async Task Exists_WebhookGet() Console.WriteLine($"Succeeded: {result}"); } - // Webhook_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WebhookGet() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Get.json @@ -142,7 +139,7 @@ public async Task GetIfExists_WebhookGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportWebhookResource.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportWebhookResource.cs index deb744435a342..4a3837f368f15 100644 --- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportWebhookResource.cs +++ b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportWebhookResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppComplianceAutomation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppComplianceAutomation.Samples { public partial class Sample_AppComplianceReportWebhookResource { - // Webhook_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WebhookGet() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Get.json @@ -45,9 +45,8 @@ public async Task Get_WebhookGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Webhook_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_WebhookUpdate() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Update.json @@ -76,9 +75,8 @@ public async Task Update_WebhookUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Webhook_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_WebhookDelete() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Delete.json @@ -99,7 +97,7 @@ public async Task Delete_WebhookDelete() // invoke the operation await appComplianceReportWebhook.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_TenantResourceExtensions.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_TenantResourceExtensions.cs index 9f4eaaf2dbb6b..a3d332d07dde6 100644 --- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_TenantResourceExtensions.cs +++ b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_TenantResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppComplianceAutomation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppComplianceAutomation.Samples { public partial class Sample_TenantResourceExtensions { - // Report_CheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckAppComplianceReportNameAvailability_ReportCheckNameAvailability() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_CheckNameAvailability.json @@ -39,9 +39,8 @@ public async Task CheckAppComplianceReportNameAvailability_ReportCheckNameAvaila Console.WriteLine($"Succeeded: {result}"); } - // Report_GetCollectionCount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCollectionCountProviderAction_ReportGetCollectionCount() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_GetCollectionCount.json @@ -63,9 +62,8 @@ public async Task GetCollectionCountProviderAction_ReportGetCollectionCount() Console.WriteLine($"Succeeded: {result}"); } - // Report_GetOverviewStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOverviewStatusProviderAction_ReportGetOverviewStatus() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_GetOverviewStatus.json @@ -87,9 +85,8 @@ public async Task GetOverviewStatusProviderAction_ReportGetOverviewStatus() Console.WriteLine($"Succeeded: {result}"); } - // ListInUseStorageAccountsWithSubscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetInUseStorageAccountsProviderAction_ListInUseStorageAccountsWithSubscriptions() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ListInUseStorageAccountsWithSubscriptions.json @@ -111,9 +108,8 @@ public async Task GetInUseStorageAccountsProviderAction_ListInUseStorageAccounts Console.WriteLine($"Succeeded: {result}"); } - // ListInUseStorageAccountsWithoutSubscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetInUseStorageAccountsProviderAction_ListInUseStorageAccountsWithoutSubscriptions() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ListInUseStorageAccountsWithoutSubscriptions.json @@ -135,9 +131,8 @@ public async Task GetInUseStorageAccountsProviderAction_ListInUseStorageAccounts Console.WriteLine($"Succeeded: {result}"); } - // Onboard - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task OnboardProviderAction_Onboard() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Onboard.json @@ -162,9 +157,8 @@ public async Task OnboardProviderAction_Onboard() Console.WriteLine($"Succeeded: {result}"); } - // TriggerEvaluation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TriggerEvaluationProviderAction_TriggerEvaluation() { // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/TriggerEvaluation.json diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationKeyValueCollection.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationKeyValueCollection.cs index 2bbe39c06ba95..609f3e0862c93 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationKeyValueCollection.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationKeyValueCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppConfiguration.Samples { public partial class Sample_AppConfigurationKeyValueCollection { - // KeyValues_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KeyValuesGet() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresGetKeyValue.json @@ -49,9 +49,8 @@ public async Task Get_KeyValuesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KeyValues_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_KeyValuesGet() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresGetKeyValue.json @@ -80,9 +79,8 @@ public async Task Exists_KeyValuesGet() Console.WriteLine($"Succeeded: {result}"); } - // KeyValues_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_KeyValuesGet() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresGetKeyValue.json @@ -111,7 +109,7 @@ public async Task GetIfExists_KeyValuesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_KeyValuesGet() } } - // KeyValues_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_KeyValuesCreateOrUpdate() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresCreateKeyValue.json diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationKeyValueResource.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationKeyValueResource.cs index bd6c6680d48ac..784ff39b8605b 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationKeyValueResource.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationKeyValueResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppConfiguration.Samples { public partial class Sample_AppConfigurationKeyValueResource { - // KeyValues_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KeyValuesGet() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresGetKeyValue.json @@ -46,9 +46,8 @@ public async Task Get_KeyValuesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KeyValues_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_KeyValuesCreateOrUpdate() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresCreateKeyValue.json @@ -88,9 +87,8 @@ public async Task Update_KeyValuesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KeyValues_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_KeyValuesDelete() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresDeleteKeyValue.json @@ -113,7 +111,7 @@ public async Task Delete_KeyValuesDelete() // invoke the operation await appConfigurationKeyValue.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateEndpointConnectionCollection.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateEndpointConnectionCollection.cs index efe4f48648793..382eba9538394 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateEndpointConnectionCollection.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppConfiguration.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppConfiguration.Samples { public partial class Sample_AppConfigurationPrivateEndpointConnectionCollection { - // PrivateEndpointConnection_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndpointConnectionList() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresListPrivateEndpointConnections.json @@ -49,12 +49,11 @@ public async Task GetAll_PrivateEndpointConnectionList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateEndpointConnection_GetConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionGetConnection() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresGetPrivateEndpointConnection.json @@ -87,9 +86,8 @@ public async Task Get_PrivateEndpointConnectionGetConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnection_GetConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateEndpointConnectionGetConnection() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresGetPrivateEndpointConnection.json @@ -118,9 +116,8 @@ public async Task Exists_PrivateEndpointConnectionGetConnection() Console.WriteLine($"Succeeded: {result}"); } - // PrivateEndpointConnection_GetConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateEndpointConnectionGetConnection() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresGetPrivateEndpointConnection.json @@ -149,7 +146,7 @@ public async Task GetIfExists_PrivateEndpointConnectionGetConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_PrivateEndpointConnectionGetConnection() } } - // PrivateEndpointConnection_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateEndpointConnectionUpdate() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresUpdatePrivateEndpointConnection.json diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateEndpointConnectionResource.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateEndpointConnectionResource.cs index 5f71053617e9a..b479656dbee73 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateEndpointConnectionResource.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppConfiguration.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppConfiguration.Samples { public partial class Sample_AppConfigurationPrivateEndpointConnectionResource { - // PrivateEndpointConnection_GetConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionGetConnection() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresGetPrivateEndpointConnection.json @@ -47,9 +47,8 @@ public async Task Get_PrivateEndpointConnectionGetConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnection_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateEndpointConnectionUpdate() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresUpdatePrivateEndpointConnection.json @@ -88,9 +87,8 @@ public async Task Update_PrivateEndpointConnectionUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateEndpointConnectionsDelete() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresDeletePrivateEndpointConnection.json @@ -113,7 +111,7 @@ public async Task Delete_PrivateEndpointConnectionsDelete() // invoke the operation await appConfigurationPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateLinkResource.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateLinkResource.cs index 4bdc110ba9ee4..f91c006912598 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateLinkResource.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppConfiguration.Samples { public partial class Sample_AppConfigurationPrivateLinkResource { - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkResourcesGet() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/PrivateLinkResourceGet.json diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateLinkResourceCollection.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateLinkResourceCollection.cs index 2b1176ef735a5..3d1314b2fd5f3 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateLinkResourceCollection.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppConfiguration.Samples { public partial class Sample_AppConfigurationPrivateLinkResourceCollection { - // PrivateLinkResources_ListGroupIds - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateLinkResourcesListGroupIds() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/PrivateLinkResourcesListByConfigurationStore.json @@ -48,12 +48,11 @@ public async Task GetAll_PrivateLinkResourcesListGroupIds() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkResourcesGet() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/PrivateLinkResourceGet.json @@ -86,9 +85,8 @@ public async Task Get_PrivateLinkResourcesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateLinkResourcesGet() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/PrivateLinkResourceGet.json @@ -117,9 +115,8 @@ public async Task Exists_PrivateLinkResourcesGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateLinkResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateLinkResourcesGet() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/PrivateLinkResourceGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_PrivateLinkResourcesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationReplicaCollection.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationReplicaCollection.cs index 41782cba055f6..7de757bfc2481 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationReplicaCollection.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationReplicaCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppConfiguration.Samples { public partial class Sample_AppConfigurationReplicaCollection { - // Replicas_ListByConfigurationStore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ReplicasListByConfigurationStore() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresListReplicas.json @@ -48,12 +48,11 @@ public async Task GetAll_ReplicasListByConfigurationStore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Replicas_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ReplicasGet() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresGetReplica.json @@ -86,9 +85,8 @@ public async Task Get_ReplicasGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Replicas_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ReplicasGet() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresGetReplica.json @@ -117,9 +115,8 @@ public async Task Exists_ReplicasGet() Console.WriteLine($"Succeeded: {result}"); } - // Replicas_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ReplicasGet() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresGetReplica.json @@ -148,7 +145,7 @@ public async Task GetIfExists_ReplicasGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_ReplicasGet() } } - // Replicas_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ReplicasCreate() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresCreateReplica.json diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationReplicaResource.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationReplicaResource.cs index 28e8534af8ff9..178db1aeb796c 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationReplicaResource.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationReplicaResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppConfiguration.Samples { public partial class Sample_AppConfigurationReplicaResource { - // Replicas_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ReplicasGet() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresGetReplica.json @@ -46,9 +46,8 @@ public async Task Get_ReplicasGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Replicas_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ReplicasCreate() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresCreateReplica.json @@ -83,9 +82,8 @@ public async Task Update_ReplicasCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Replicas_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ReplicasDelete() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresDeleteReplica.json @@ -108,7 +106,7 @@ public async Task Delete_ReplicasDelete() // invoke the operation await appConfigurationReplica.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationStoreCollection.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationStoreCollection.cs index 718f3a79dafec..7ef0ddb23ba9f 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationStoreCollection.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationStoreCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.AppConfiguration.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppConfiguration.Samples { public partial class Sample_AppConfigurationStoreCollection { - // ConfigurationStores_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ConfigurationStoresListByResourceGroup() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresListByResourceGroup.json @@ -50,12 +50,11 @@ public async Task GetAll_ConfigurationStoresListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ConfigurationStores_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConfigurationStoresGet() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresGet.json @@ -87,9 +86,8 @@ public async Task Get_ConfigurationStoresGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfigurationStores_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ConfigurationStoresGet() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresGet.json @@ -117,9 +115,8 @@ public async Task Exists_ConfigurationStoresGet() Console.WriteLine($"Succeeded: {result}"); } - // ConfigurationStores_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ConfigurationStoresGet() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresGet.json @@ -147,7 +144,7 @@ public async Task GetIfExists_ConfigurationStoresGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_ConfigurationStoresGet() } } - // ConfigurationStores_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ConfigurationStoresCreate() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresCreate.json @@ -201,9 +197,8 @@ public async Task CreateOrUpdate_ConfigurationStoresCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfigurationStores_Create_With_Identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ConfigurationStoresCreateWithIdentity() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresCreateWithIdentity.json @@ -250,9 +245,8 @@ public async Task CreateOrUpdate_ConfigurationStoresCreateWithIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfigurationStores_Create_With_Local_Auth_Disabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ConfigurationStoresCreateWithLocalAuthDisabled() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationStoreResource.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationStoreResource.cs index c0cb3ddef8427..4086fc3f65e4e 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationStoreResource.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationStoreResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.AppConfiguration.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppConfiguration.Samples { public partial class Sample_AppConfigurationStoreResource { - // ConfigurationStores_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAppConfigurationStores_ConfigurationStoresList() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresList.json @@ -46,12 +46,11 @@ public async Task GetAppConfigurationStores_ConfigurationStoresList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ConfigurationStores_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConfigurationStoresGet() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresGet.json @@ -80,9 +79,8 @@ public async Task Get_ConfigurationStoresGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfigurationStores_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ConfigurationStoresDelete() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresDelete.json @@ -104,12 +102,11 @@ public async Task Delete_ConfigurationStoresDelete() // invoke the operation await appConfigurationStore.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ConfigurationStores_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ConfigurationStoresUpdate() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresUpdate.json @@ -147,9 +144,8 @@ public async Task Update_ConfigurationStoresUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfigurationStores_Update_Disable_Local_Auth - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ConfigurationStoresUpdateDisableLocalAuth() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresUpdateDisableLocalAuth.json @@ -184,9 +180,8 @@ public async Task Update_ConfigurationStoresUpdateDisableLocalAuth() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfigurationStores_Update_With_Identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ConfigurationStoresUpdateWithIdentity() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresUpdateWithIdentity.json @@ -231,9 +226,8 @@ public async Task Update_ConfigurationStoresUpdateWithIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfigurationStores_ListKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_ConfigurationStoresListKeys() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresListKeys.json @@ -258,12 +252,11 @@ public async Task GetKeys_ConfigurationStoresListKeys() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ConfigurationStores_RegenerateKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKey_ConfigurationStoresRegenerateKey() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/ConfigurationStoresRegenerateKey.json diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_DeletedAppConfigurationStoreCollection.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_DeletedAppConfigurationStoreCollection.cs index 147ee1976bd2f..9e0e026005b1c 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_DeletedAppConfigurationStoreCollection.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_DeletedAppConfigurationStoreCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppConfiguration.Samples { public partial class Sample_DeletedAppConfigurationStoreCollection { - // DeletedConfigurationStores_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DeletedConfigurationStoresList() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/DeletedConfigurationStoresList.json @@ -47,12 +47,11 @@ public async Task GetAll_DeletedConfigurationStoresList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DeletedConfigurationStores_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DeletedConfigurationStoresGet() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/DeletedConfigurationStoresGet.json @@ -84,9 +83,8 @@ public async Task Get_DeletedConfigurationStoresGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeletedConfigurationStores_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DeletedConfigurationStoresGet() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/DeletedConfigurationStoresGet.json @@ -114,9 +112,8 @@ public async Task Exists_DeletedConfigurationStoresGet() Console.WriteLine($"Succeeded: {result}"); } - // DeletedConfigurationStores_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DeletedConfigurationStoresGet() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/DeletedConfigurationStoresGet.json @@ -144,7 +141,7 @@ public async Task GetIfExists_DeletedConfigurationStoresGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_DeletedAppConfigurationStoreResource.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_DeletedAppConfigurationStoreResource.cs index 62af0bce90e79..c4a18ff620312 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_DeletedAppConfigurationStoreResource.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_DeletedAppConfigurationStoreResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppConfiguration.Samples { public partial class Sample_DeletedAppConfigurationStoreResource { - // DeletedConfigurationStores_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DeletedConfigurationStoresGet() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/DeletedConfigurationStoresGet.json @@ -45,9 +45,8 @@ public async Task Get_DeletedConfigurationStoresGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Purge a deleted configuration store - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PurgeDeleted_PurgeADeletedConfigurationStore() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/DeletedConfigurationStoresPurge.json @@ -69,7 +68,7 @@ public async Task PurgeDeleted_PurgeADeletedConfigurationStore() // invoke the operation await deletedAppConfigurationStore.PurgeDeletedAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index f5a6582879b41..b8ac42fb46b7e 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppConfiguration.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppConfiguration.Samples { public partial class Sample_SubscriptionResourceExtensions { - // ConfigurationStores_CheckNameAvailable - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckAppConfigurationNameAvailability_ConfigurationStoresCheckNameAvailable() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/CheckNameAvailable.json @@ -42,9 +42,8 @@ public async Task CheckAppConfigurationNameAvailability_ConfigurationStoresCheck Console.WriteLine($"Succeeded: {result}"); } - // ConfigurationStores_CheckNameNotAvailable - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckAppConfigurationNameAvailability_ConfigurationStoresCheckNameNotAvailable() { // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2023-03-01/examples/CheckNameNotAvailable.json diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsComponentCollection.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsComponentCollection.cs index 43c7924843fd1..57e139690d7d8 100644 --- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsComponentCollection.cs +++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsComponentCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ApplicationInsights.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ApplicationInsights.Samples { public partial class Sample_ApplicationInsightsComponentCollection { - // ComponentListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ComponentListByResourceGroup() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ComponentListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ComponentGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ComponentGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsGet.json @@ -86,9 +85,8 @@ public async Task Get_ComponentGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ComponentGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ComponentGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsGet.json @@ -116,9 +114,8 @@ public async Task Exists_ComponentGet() Console.WriteLine($"Succeeded: {result}"); } - // ComponentGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ComponentGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsGet.json @@ -146,7 +143,7 @@ public async Task GetIfExists_ComponentGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_ComponentGet() } } - // ComponentCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ComponentCreate() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsCreate.json @@ -200,9 +196,8 @@ public async Task CreateOrUpdate_ComponentCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ComponentUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ComponentUpdate() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsUpdate.json diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsComponentResource.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsComponentResource.cs index af6f16f8dfaa0..487b345982840 100644 --- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsComponentResource.cs +++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsComponentResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ApplicationInsights.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ApplicationInsights.Samples { public partial class Sample_ApplicationInsightsComponentResource { - // ComponentsList.json - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApplicationInsightsComponents_ComponentsListJson() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsList.json @@ -45,12 +45,11 @@ public async Task GetApplicationInsightsComponents_ComponentsListJson() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ComponentsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ComponentsDelete() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsDelete.json @@ -72,12 +71,11 @@ public async Task Delete_ComponentsDelete() // invoke the operation await applicationInsightsComponent.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ComponentGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ComponentGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsGet.json @@ -106,9 +104,8 @@ public async Task Get_ComponentGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ComponentUpdateTagsOnly - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ComponentUpdateTagsOnly() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsUpdateTagsOnly.json @@ -148,9 +145,8 @@ public async Task Update_ComponentUpdateTagsOnly() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ComponentPurge - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Purge_ComponentPurge() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsPurge.json @@ -184,9 +180,8 @@ public async Task Purge_ComponentPurge() Console.WriteLine($"Succeeded: {result}"); } - // ComponentPurge - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPurgeStatus_ComponentPurge() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsPurgeStatus.json @@ -212,9 +207,8 @@ public async Task GetPurgeStatus_ComponentPurge() Console.WriteLine($"Succeeded: {result}"); } - // AnnotationsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAnnotations_AnnotationsList() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnnotationsList.json @@ -241,12 +235,11 @@ public async Task GetAnnotations_AnnotationsList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AnnotationsCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateAnnotations_AnnotationsCreate() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnnotationsCreate.json @@ -279,12 +272,11 @@ public async Task CreateAnnotations_AnnotationsCreate() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AnnotationsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteAnnotation_AnnotationsDelete() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnnotationsDelete.json @@ -307,12 +299,11 @@ public async Task DeleteAnnotation_AnnotationsDelete() string annotationId = "bb820f1b-3110-4a8b-ba2c-8c1129d7eb6a"; await applicationInsightsComponent.DeleteAnnotationAsync(annotationId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AnnotationsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAnnotations_AnnotationsGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnnotationsGet.json @@ -338,12 +329,11 @@ public async Task GetAnnotations_AnnotationsGet() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // APIKeysList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApiKeys_APIKeysList() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/APIKeysList.json @@ -368,12 +358,11 @@ public async Task GetApiKeys_APIKeysList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // APIKeyCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateApiKey_APIKeyCreate() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/APIKeysCreate.json @@ -410,9 +399,8 @@ public async Task CreateApiKey_APIKeyCreate() Console.WriteLine($"Succeeded: {result}"); } - // APIKeyDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteApiKey_APIKeyDelete() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/APIKeysDelete.json @@ -438,9 +426,8 @@ public async Task DeleteApiKey_APIKeyDelete() Console.WriteLine($"Succeeded: {result}"); } - // APIKeysGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApiKey_APIKeysGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/APIKeysGet.json @@ -466,9 +453,8 @@ public async Task GetApiKey_APIKeysGet() Console.WriteLine($"Succeeded: {result}"); } - // ExportConfigurationsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExportConfigurations_ExportConfigurationsList() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationsList.json @@ -493,12 +479,11 @@ public async Task GetExportConfigurations_ExportConfigurationsList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExportConfigurationPost - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateExportConfigurations_ExportConfigurationPost() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationsPost.json @@ -535,12 +520,11 @@ public async Task CreateExportConfigurations_ExportConfigurationPost() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExportConfigurationDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteExportConfiguration_ExportConfigurationDelete() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationDelete.json @@ -566,9 +550,8 @@ public async Task DeleteExportConfiguration_ExportConfigurationDelete() Console.WriteLine($"Succeeded: {result}"); } - // ExportConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExportConfiguration_ExportConfigurationGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationGet.json @@ -594,9 +577,8 @@ public async Task GetExportConfiguration_ExportConfigurationGet() Console.WriteLine($"Succeeded: {result}"); } - // ExportConfigurationUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateExportConfiguration_ExportConfigurationUpdate() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ExportConfigurationUpdate.json @@ -634,9 +616,8 @@ public async Task UpdateExportConfiguration_ExportConfigurationUpdate() Console.WriteLine($"Succeeded: {result}"); } - // ComponentCurrentBillingFeaturesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetComponentCurrentBillingFeature_ComponentCurrentBillingFeaturesGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/CurrentBillingFeaturesGet.json @@ -661,9 +642,8 @@ public async Task GetComponentCurrentBillingFeature_ComponentCurrentBillingFeatu Console.WriteLine($"Succeeded: {result}"); } - // ComponentCurrentBillingFeaturesUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateComponentCurrentBillingFeature_ComponentCurrentBillingFeaturesUpdate() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/CurrentBillingFeaturesUpdate.json @@ -700,9 +680,8 @@ public async Task UpdateComponentCurrentBillingFeature_ComponentCurrentBillingFe Console.WriteLine($"Succeeded: {result}"); } - // ComponentCurrentBillingFeaturesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetComponentQuotaStatus_ComponentCurrentBillingFeaturesGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/QuotaStatusGet.json @@ -727,9 +706,8 @@ public async Task GetComponentQuotaStatus_ComponentCurrentBillingFeaturesGet() Console.WriteLine($"Succeeded: {result}"); } - // ComponentCurrentBillingFeaturesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetComponentFeatureCapability_ComponentCurrentBillingFeaturesGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FeatureCapabilitiesGet.json @@ -754,9 +732,8 @@ public async Task GetComponentFeatureCapability_ComponentCurrentBillingFeaturesG Console.WriteLine($"Succeeded: {result}"); } - // ComponentCurrentBillingFeaturesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetComponentAvailableFeature_ComponentCurrentBillingFeaturesGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AvailableBillingFeaturesGet.json @@ -781,9 +758,8 @@ public async Task GetComponentAvailableFeature_ComponentCurrentBillingFeaturesGe Console.WriteLine($"Succeeded: {result}"); } - // ProactiveDetectionConfigurationsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetProactiveDetectionConfigurations_ProactiveDetectionConfigurationsList() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ProactiveDetectionConfigurationsList.json @@ -808,12 +784,11 @@ public async Task GetProactiveDetectionConfigurations_ProactiveDetectionConfigur Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ProactiveDetectionConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetProactiveDetectionConfiguration_ProactiveDetectionConfigurationGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ProactiveDetectionConfigurationGet.json @@ -839,9 +814,8 @@ public async Task GetProactiveDetectionConfiguration_ProactiveDetectionConfigura Console.WriteLine($"Succeeded: {result}"); } - // ProactiveDetectionConfigurationUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateProactiveDetectionConfiguration_ProactiveDetectionConfigurationUpdate() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/ProactiveDetectionConfigurationUpdate.json @@ -889,9 +863,8 @@ public async Task UpdateProactiveDetectionConfiguration_ProactiveDetectionConfig Console.WriteLine($"Succeeded: {result}"); } - // WorkItemConfigurationsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetWorkItemConfigurations_WorkItemConfigurationsList() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigsGet.json @@ -916,12 +889,11 @@ public async Task GetWorkItemConfigurations_WorkItemConfigurationsList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkItemConfigurationsGetDefault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDefaultWorkItemConfiguration_WorkItemConfigurationsGetDefault() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigDefaultGet.json @@ -946,9 +918,8 @@ public async Task GetDefaultWorkItemConfiguration_WorkItemConfigurationsGetDefau Console.WriteLine($"Succeeded: {result}"); } - // WorkItemConfigurationDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteWorkItemConfiguration_WorkItemConfigurationDelete() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigDelete.json @@ -971,12 +942,11 @@ public async Task DeleteWorkItemConfiguration_WorkItemConfigurationDelete() string workItemConfigId = "Visual Studio Team Services"; await applicationInsightsComponent.DeleteWorkItemConfigurationAsync(workItemConfigId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkItemConfigurationsGetDefault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetItemWorkItemConfiguration_WorkItemConfigurationsGetDefault() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WorkItemConfigGet.json @@ -1002,9 +972,8 @@ public async Task GetItemWorkItemConfiguration_WorkItemConfigurationsGetDefault( Console.WriteLine($"Succeeded: {result}"); } - // FavoritesList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFavorites_FavoritesList() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoritesList.json @@ -1029,12 +998,11 @@ public async Task GetFavorites_FavoritesList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // FavoriteGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFavorite_FavoriteGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoriteGet.json @@ -1060,9 +1028,8 @@ public async Task GetFavorite_FavoriteGet() Console.WriteLine($"Succeeded: {result}"); } - // FavoriteAdd - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AddFavorite_FavoriteAdd() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoriteAdd.json @@ -1102,9 +1069,8 @@ public async Task AddFavorite_FavoriteAdd() Console.WriteLine($"Succeeded: {result}"); } - // FavoriteList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateFavorite_FavoriteList() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoriteUpdate.json @@ -1144,9 +1110,8 @@ public async Task UpdateFavorite_FavoriteList() Console.WriteLine($"Succeeded: {result}"); } - // FavoriteList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteFavorite_FavoriteList() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/FavoriteDelete.json @@ -1169,12 +1134,11 @@ public async Task DeleteFavorite_FavoriteList() string favoriteId = "deadb33f-5e0d-4064-8ebb-1a4ed0313eb2"; await applicationInsightsComponent.DeleteFavoriteAsync(favoriteId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WebTestLocationsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetWebTestLocations_WebTestLocationsList() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/WebTestLocationsList.json @@ -1199,12 +1163,11 @@ public async Task GetWebTestLocations_WebTestLocationsList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // webTestListByComponent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetWebTests_WebTestListByComponent() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/WebTestListByComponent.json @@ -1233,12 +1196,11 @@ public async Task GetWebTests_WebTestListByComponent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AnalyticsItemList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAnalyticsItems_AnalyticsItemList() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnalyticsItemList.json @@ -1264,12 +1226,11 @@ public async Task GetAnalyticsItems_AnalyticsItemList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AnalyticsItemGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAnalyticsItem_AnalyticsItemGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnalyticsItemGet.json @@ -1296,9 +1257,8 @@ public async Task GetAnalyticsItem_AnalyticsItemGet() Console.WriteLine($"Succeeded: {result}"); } - // AnalyticsItemPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AddOrUpdateAnalyticsItem_AnalyticsItemPut() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnalyticsItemPut.json @@ -1331,9 +1291,8 @@ public async Task AddOrUpdateAnalyticsItem_AnalyticsItemPut() Console.WriteLine($"Succeeded: {result}"); } - // AnalyticsItemDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteAnalyticsItem_AnalyticsItemDelete() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/examples/AnalyticsItemDelete.json @@ -1357,7 +1316,7 @@ public async Task DeleteAnalyticsItem_AnalyticsItemDelete() string id = "3466c160-4a10-4df8-afdf-0007f3f6dee5"; await applicationInsightsComponent.DeleteAnalyticsItemAsync(scopePath, id: id); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWebTestCollection.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWebTestCollection.cs index 2613beb87f95a..ecb65ff1eba34 100644 --- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWebTestCollection.cs +++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWebTestCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ApplicationInsights.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ApplicationInsights.Samples { public partial class Sample_ApplicationInsightsWebTestCollection { - // webTestListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WebTestListByResourceGroup() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/WebTestListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_WebTestListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // webTestGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WebTestGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/WebTestGet.json @@ -86,9 +85,8 @@ public async Task Get_WebTestGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // webTestGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WebTestGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/WebTestGet.json @@ -116,9 +114,8 @@ public async Task Exists_WebTestGet() Console.WriteLine($"Succeeded: {result}"); } - // webTestGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WebTestGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/WebTestGet.json @@ -146,7 +143,7 @@ public async Task GetIfExists_WebTestGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_WebTestGet() } } - // webTestCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_WebTestCreate() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/WebTestCreate.json @@ -213,9 +209,8 @@ public async Task CreateOrUpdate_WebTestCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // webTestCreateStandard - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_WebTestCreateStandard() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/WebTestCreateStandard.json @@ -289,9 +284,8 @@ public async Task CreateOrUpdate_WebTestCreateStandard() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // webTestUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_WebTestUpdate() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/WebTestUpdate.json diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWebTestResource.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWebTestResource.cs index 4d6e6d839a920..88b5ed97ad07f 100644 --- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWebTestResource.cs +++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWebTestResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ApplicationInsights.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ApplicationInsights.Samples { public partial class Sample_ApplicationInsightsWebTestResource { - // webTestGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WebTestGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/WebTestGet.json @@ -47,9 +47,8 @@ public async Task Get_WebTestGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // webTestUpdateTags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_WebTestUpdateTags() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/WebTestUpdateTagsOnly.json @@ -88,9 +87,8 @@ public async Task Update_WebTestUpdateTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // webTestDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_WebTestDelete() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/WebTestDelete.json @@ -112,12 +110,11 @@ public async Task Delete_WebTestDelete() // invoke the operation await applicationInsightsWebTest.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // webTestList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApplicationInsightsWebTests_WebTestList() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/WebTestList.json @@ -144,7 +141,7 @@ public async Task GetApplicationInsightsWebTests_WebTestList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWorkbookCollection.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWorkbookCollection.cs index 41cc3bae199c9..d220f595959b6 100644 --- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWorkbookCollection.cs +++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWorkbookCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.ApplicationInsights.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ApplicationInsights.Samples { public partial class Sample_ApplicationInsightsWorkbookCollection { - // WorkbooksList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WorkbooksList() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbooksList.json @@ -52,12 +52,11 @@ public async Task GetAll_WorkbooksList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkbooksManagedList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WorkbooksManagedList() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbooksManagedList.json @@ -90,12 +89,11 @@ public async Task GetAll_WorkbooksManagedList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkbookGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkbookGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookGet.json @@ -127,9 +125,8 @@ public async Task Get_WorkbookGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkbookGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WorkbookGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookGet.json @@ -157,9 +154,8 @@ public async Task Exists_WorkbookGet() Console.WriteLine($"Succeeded: {result}"); } - // WorkbookGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WorkbookGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookGet.json @@ -187,7 +183,7 @@ public async Task GetIfExists_WorkbookGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -199,9 +195,8 @@ public async Task GetIfExists_WorkbookGet() } } - // WorkbookGet1 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkbookGet1() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookGet1.json @@ -233,9 +228,8 @@ public async Task Get_WorkbookGet1() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkbookGet1 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WorkbookGet1() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookGet1.json @@ -263,9 +257,8 @@ public async Task Exists_WorkbookGet1() Console.WriteLine($"Succeeded: {result}"); } - // WorkbookGet1 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WorkbookGet1() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookGet1.json @@ -293,7 +286,7 @@ public async Task GetIfExists_WorkbookGet1() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -305,9 +298,8 @@ public async Task GetIfExists_WorkbookGet1() } } - // WorkbookManagedGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkbookManagedGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookManagedGet.json @@ -339,9 +331,8 @@ public async Task Get_WorkbookManagedGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkbookManagedGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WorkbookManagedGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookManagedGet.json @@ -369,9 +360,8 @@ public async Task Exists_WorkbookManagedGet() Console.WriteLine($"Succeeded: {result}"); } - // WorkbookManagedGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WorkbookManagedGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookManagedGet.json @@ -399,7 +389,7 @@ public async Task GetIfExists_WorkbookManagedGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -411,9 +401,8 @@ public async Task GetIfExists_WorkbookManagedGet() } } - // WorkbookAdd - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_WorkbookAdd() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookAdd.json @@ -460,9 +449,8 @@ public async Task CreateOrUpdate_WorkbookAdd() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkbookManagedAdd - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_WorkbookManagedAdd() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookManagedAdd.json diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWorkbookResource.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWorkbookResource.cs index 6b09bbd5c8a07..7928bba893fd4 100644 --- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWorkbookResource.cs +++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWorkbookResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ApplicationInsights.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ApplicationInsights.Samples { public partial class Sample_ApplicationInsightsWorkbookResource { - // WorkbooksList2 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApplicationInsightsWorkbooks_WorkbooksList2() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbooksList2.json @@ -46,12 +46,11 @@ public async Task GetApplicationInsightsWorkbooks_WorkbooksList2() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkbooksListSub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApplicationInsightsWorkbooks_WorkbooksListSub() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbooksListSub.json @@ -79,12 +78,11 @@ public async Task GetApplicationInsightsWorkbooks_WorkbooksListSub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkbookGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkbookGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookGet.json @@ -113,9 +111,8 @@ public async Task Get_WorkbookGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkbookGet1 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkbookGet1() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookGet1.json @@ -144,9 +141,8 @@ public async Task Get_WorkbookGet1() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkbookManagedGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkbookManagedGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookManagedGet.json @@ -175,9 +171,8 @@ public async Task Get_WorkbookManagedGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkbookDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_WorkbookDelete() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookDelete.json @@ -199,12 +194,11 @@ public async Task Delete_WorkbookDelete() // invoke the operation await applicationInsightsWorkbook.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkbookManagedUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_WorkbookManagedUpdate() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookManagedUpdate.json @@ -235,9 +229,8 @@ public async Task Update_WorkbookManagedUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkbookUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_WorkbookUpdate() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookUpdate.json diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWorkbookRevisionCollection.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWorkbookRevisionCollection.cs index 4f8c86bc80266..06bf77fff2a85 100644 --- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWorkbookRevisionCollection.cs +++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWorkbookRevisionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApplicationInsights.Samples { public partial class Sample_ApplicationInsightsWorkbookRevisionCollection { - // WorkbookRevisionsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WorkbookRevisionsList() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookRevisionsList.json @@ -48,12 +48,11 @@ public async Task GetAll_WorkbookRevisionsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkbookRevisionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkbookRevisionGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookRevisionGet.json @@ -86,9 +85,8 @@ public async Task Get_WorkbookRevisionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkbookRevisionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WorkbookRevisionGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookRevisionGet.json @@ -117,9 +115,8 @@ public async Task Exists_WorkbookRevisionGet() Console.WriteLine($"Succeeded: {result}"); } - // WorkbookRevisionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WorkbookRevisionGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookRevisionGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_WorkbookRevisionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWorkbookRevisionResource.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWorkbookRevisionResource.cs index c8264855bcbef..fb14782d0651a 100644 --- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWorkbookRevisionResource.cs +++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWorkbookRevisionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ApplicationInsights.Samples { public partial class Sample_ApplicationInsightsWorkbookRevisionResource { - // WorkbookRevisionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkbookRevisionGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2023-06-01/examples/WorkbookRevisionGet.json diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWorkbookTemplateCollection.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWorkbookTemplateCollection.cs index 31550f43dcd8c..17ca6e1cbb1b7 100644 --- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWorkbookTemplateCollection.cs +++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWorkbookTemplateCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.ApplicationInsights.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ApplicationInsights.Samples { public partial class Sample_ApplicationInsightsWorkbookTemplateCollection { - // WorkbookTemplatesList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WorkbookTemplatesList() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-11-20/examples/WorkbookTemplatesList.json @@ -50,12 +50,11 @@ public async Task GetAll_WorkbookTemplatesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkbookTemplateGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkbookTemplateGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-11-20/examples/WorkbookTemplateGet.json @@ -87,9 +86,8 @@ public async Task Get_WorkbookTemplateGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkbookTemplateGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WorkbookTemplateGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-11-20/examples/WorkbookTemplateGet.json @@ -117,9 +115,8 @@ public async Task Exists_WorkbookTemplateGet() Console.WriteLine($"Succeeded: {result}"); } - // WorkbookTemplateGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WorkbookTemplateGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-11-20/examples/WorkbookTemplateGet.json @@ -147,7 +144,7 @@ public async Task GetIfExists_WorkbookTemplateGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_WorkbookTemplateGet() } } - // WorkbookTemplateAdd - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_WorkbookTemplateAdd() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-11-20/examples/WorkbookTemplateAdd.json diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWorkbookTemplateResource.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWorkbookTemplateResource.cs index 3e89814b14f23..f35576a789290 100644 --- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWorkbookTemplateResource.cs +++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/samples/Generated/Samples/Sample_ApplicationInsightsWorkbookTemplateResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ApplicationInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ApplicationInsights.Samples { public partial class Sample_ApplicationInsightsWorkbookTemplateResource { - // WorkbookTemplateGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkbookTemplateGet() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-11-20/examples/WorkbookTemplateGet.json @@ -46,9 +46,8 @@ public async Task Get_WorkbookTemplateGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkbookTemplateDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_WorkbookTemplateDelete() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-11-20/examples/WorkbookTemplateDelete.json @@ -70,12 +69,11 @@ public async Task Delete_WorkbookTemplateDelete() // invoke the operation await applicationInsightsWorkbookTemplate.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkbookTemplateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_WorkbookTemplateUpdate() { // Generated from example definition: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-11-20/examples/WorkbookTemplateUpdate.json diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformApiPortalCollection.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformApiPortalCollection.cs index 35757cc9bb996..af3679c524a10 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformApiPortalCollection.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformApiPortalCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformApiPortalCollection { - // ApiPortals_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiPortalsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ApiPortals_Get.json @@ -50,9 +50,8 @@ public async Task Get_ApiPortalsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiPortals_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiPortalsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ApiPortals_Get.json @@ -81,9 +80,8 @@ public async Task Exists_ApiPortalsGet() Console.WriteLine($"Succeeded: {result}"); } - // ApiPortals_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiPortalsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ApiPortals_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_ApiPortalsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_ApiPortalsGet() } } - // ApiPortals_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiPortalsCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ApiPortals_CreateOrUpdate.json @@ -177,9 +174,8 @@ public async Task CreateOrUpdate_ApiPortalsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiPortals_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiPortalsList() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ApiPortals_List.json @@ -211,7 +207,7 @@ public async Task GetAll_ApiPortalsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformApiPortalCustomDomainCollection.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformApiPortalCustomDomainCollection.cs index 4395c584dfa83..89df83fa896f1 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformApiPortalCustomDomainCollection.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformApiPortalCustomDomainCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformApiPortalCustomDomainCollection { - // ApiPortalCustomDomains_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiPortalCustomDomainsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ApiPortalCustomDomains_Get.json @@ -50,9 +50,8 @@ public async Task Get_ApiPortalCustomDomainsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiPortalCustomDomains_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApiPortalCustomDomainsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ApiPortalCustomDomains_Get.json @@ -82,9 +81,8 @@ public async Task Exists_ApiPortalCustomDomainsGet() Console.WriteLine($"Succeeded: {result}"); } - // ApiPortalCustomDomains_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApiPortalCustomDomainsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ApiPortalCustomDomains_Get.json @@ -114,7 +112,7 @@ public async Task GetIfExists_ApiPortalCustomDomainsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -126,9 +124,8 @@ public async Task GetIfExists_ApiPortalCustomDomainsGet() } } - // ApiPortalCustomDomains_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApiPortalCustomDomainsCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ApiPortalCustomDomains_CreateOrUpdate.json @@ -167,9 +164,8 @@ public async Task CreateOrUpdate_ApiPortalCustomDomainsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiPortalCustomDomains_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApiPortalCustomDomainsList() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ApiPortalCustomDomains_List.json @@ -202,7 +198,7 @@ public async Task GetAll_ApiPortalCustomDomainsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformApiPortalCustomDomainResource.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformApiPortalCustomDomainResource.cs index fd4cc1a4ab29d..b0828a86f478e 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformApiPortalCustomDomainResource.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformApiPortalCustomDomainResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformApiPortalCustomDomainResource { - // ApiPortalCustomDomains_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiPortalCustomDomainsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ApiPortalCustomDomains_Get.json @@ -47,9 +47,8 @@ public async Task Get_ApiPortalCustomDomainsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiPortalCustomDomains_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiPortalCustomDomainsCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ApiPortalCustomDomains_CreateOrUpdate.json @@ -85,9 +84,8 @@ public async Task Update_ApiPortalCustomDomainsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiPortalCustomDomains_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiPortalCustomDomainsDelete() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ApiPortalCustomDomains_Delete.json @@ -111,7 +109,7 @@ public async Task Delete_ApiPortalCustomDomainsDelete() // invoke the operation await appPlatformApiPortalCustomDomain.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformApiPortalResource.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformApiPortalResource.cs index e9ed0c5dd3ed7..98e04592dcb74 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformApiPortalResource.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformApiPortalResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformApiPortalResource { - // ApiPortals_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApiPortalsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ApiPortals_Get.json @@ -47,9 +47,8 @@ public async Task Get_ApiPortalsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiPortals_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApiPortalsCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ApiPortals_CreateOrUpdate.json @@ -97,9 +96,8 @@ public async Task Update_ApiPortalsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApiPortals_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApiPortalsDelete() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ApiPortals_Delete.json @@ -122,12 +120,11 @@ public async Task Delete_ApiPortalsDelete() // invoke the operation await appPlatformApiPortal.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApiPortals_ValidateDomain - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateDomain_ApiPortalsValidateDomain() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ApiPortals_ValidateDomain.json diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformAppCollection.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformAppCollection.cs index 9955427ce3518..2bc5bc7101a9a 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformAppCollection.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformAppCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; using Azure.ResourceManager.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformAppCollection { - // Apps_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AppsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Apps_Get.json @@ -52,9 +52,8 @@ public async Task Get_AppsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Apps_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AppsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Apps_Get.json @@ -83,9 +82,8 @@ public async Task Exists_AppsGet() Console.WriteLine($"Succeeded: {result}"); } - // Apps_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AppsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Apps_Get.json @@ -114,7 +112,7 @@ public async Task GetIfExists_AppsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -126,9 +124,8 @@ public async Task GetIfExists_AppsGet() } } - // Apps_Get_VNetInjection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AppsGetVNetInjection() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Apps_Get_VNetInjection.json @@ -161,9 +158,8 @@ public async Task Get_AppsGetVNetInjection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Apps_Get_VNetInjection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AppsGetVNetInjection() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Apps_Get_VNetInjection.json @@ -192,9 +188,8 @@ public async Task Exists_AppsGetVNetInjection() Console.WriteLine($"Succeeded: {result}"); } - // Apps_Get_VNetInjection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AppsGetVNetInjection() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Apps_Get_VNetInjection.json @@ -223,7 +218,7 @@ public async Task GetIfExists_AppsGetVNetInjection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -235,9 +230,8 @@ public async Task GetIfExists_AppsGetVNetInjection() } } - // Apps_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AppsCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Apps_CreateOrUpdate.json @@ -333,9 +327,8 @@ public async Task CreateOrUpdate_AppsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Apps_CreateOrUpdate_VNetInjection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AppsCreateOrUpdateVNetInjection() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Apps_CreateOrUpdate_VNetInjection.json @@ -435,9 +428,8 @@ public async Task CreateOrUpdate_AppsCreateOrUpdateVNetInjection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Apps_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AppsList() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Apps_List.json @@ -469,12 +461,11 @@ public async Task GetAll_AppsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Apps_List_VNetInjection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AppsListVNetInjection() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Apps_List_VNetInjection.json @@ -506,7 +497,7 @@ public async Task GetAll_AppsListVNetInjection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformAppResource.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformAppResource.cs index 073d2c1ec7ac7..56c2b24336d71 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformAppResource.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformAppResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; using Azure.ResourceManager.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformAppResource { - // Apps_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AppsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Apps_Get.json @@ -48,9 +48,8 @@ public async Task Get_AppsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Apps_Get_VNetInjection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AppsGetVNetInjection() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Apps_Get_VNetInjection.json @@ -80,9 +79,8 @@ public async Task Get_AppsGetVNetInjection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Apps_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AppsDelete() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Apps_Delete.json @@ -105,12 +103,11 @@ public async Task Delete_AppsDelete() // invoke the operation await appPlatformApp.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Apps_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AppsUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Apps_Update.json @@ -181,9 +178,8 @@ public async Task Update_AppsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Apps_Update_VNetInjection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AppsUpdateVNetInjection() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Apps_Update_VNetInjection.json @@ -258,9 +254,8 @@ public async Task Update_AppsUpdateVNetInjection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Apps_GetResourceUploadUrl - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResourceUploadUri_AppsGetResourceUploadUrl() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Apps_GetResourceUploadUrl.json @@ -286,9 +281,8 @@ public async Task GetResourceUploadUri_AppsGetResourceUploadUrl() Console.WriteLine($"Succeeded: {result}"); } - // Apps_SetActiveDeployments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ActivateDeployments_AppsSetActiveDeployments() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Apps_SetActiveDeployments.json @@ -326,9 +320,8 @@ public async Task ActivateDeployments_AppsSetActiveDeployments() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Apps_ValidateDomain - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateDomain_AppsValidateDomain() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Apps_ValidateDomain.json diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBindingCollection.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBindingCollection.cs index c019f46cff5ab..c1308b3788b9e 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBindingCollection.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBindingCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformBindingCollection { - // Bindings_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BindingsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Bindings_Get.json @@ -51,9 +51,8 @@ public async Task Get_BindingsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Bindings_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BindingsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Bindings_Get.json @@ -83,9 +82,8 @@ public async Task Exists_BindingsGet() Console.WriteLine($"Succeeded: {result}"); } - // Bindings_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BindingsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Bindings_Get.json @@ -115,7 +113,7 @@ public async Task GetIfExists_BindingsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_BindingsGet() } } - // Bindings_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_BindingsCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Bindings_CreateOrUpdate.json @@ -177,9 +174,8 @@ public async Task CreateOrUpdate_BindingsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Bindings_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BindingsList() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Bindings_List.json @@ -212,7 +208,7 @@ public async Task GetAll_BindingsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBindingResource.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBindingResource.cs index c17e62f0224a2..d9b94583dbfa1 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBindingResource.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBindingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformBindingResource { - // Bindings_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BindingsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Bindings_Get.json @@ -48,9 +48,8 @@ public async Task Get_BindingsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Bindings_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_BindingsDelete() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Bindings_Delete.json @@ -74,12 +73,11 @@ public async Task Delete_BindingsDelete() // invoke the operation await appPlatformBinding.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Bindings_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_BindingsUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Bindings_Update.json diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildCollection.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildCollection.cs index fa4e8e6f8cc69..02a22c0a526a3 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildCollection.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformBuildCollection { - // BuildService_ListBuilds - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BuildServiceListBuilds() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_ListBuilds.json @@ -50,12 +50,11 @@ public async Task GetAll_BuildServiceListBuilds() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BuildService_GetBuild - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BuildServiceGetBuild() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_GetBuild.json @@ -89,9 +88,8 @@ public async Task Get_BuildServiceGetBuild() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BuildService_GetBuild - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BuildServiceGetBuild() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_GetBuild.json @@ -121,9 +119,8 @@ public async Task Exists_BuildServiceGetBuild() Console.WriteLine($"Succeeded: {result}"); } - // BuildService_GetBuild - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BuildServiceGetBuild() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_GetBuild.json @@ -153,7 +150,7 @@ public async Task GetIfExists_BuildServiceGetBuild() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_BuildServiceGetBuild() } } - // BuildService_CreateOrUpdateBuild - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_BuildServiceCreateOrUpdateBuild() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_CreateOrUpdateBuild.json diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildResource.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildResource.cs index 3d97cc43b019f..306f26828c40d 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildResource.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformBuildResource { - // BuildService_GetBuild - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BuildServiceGetBuild() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_GetBuild.json @@ -48,9 +48,8 @@ public async Task Get_BuildServiceGetBuild() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BuildService_CreateOrUpdateBuild - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_BuildServiceCreateOrUpdateBuild() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_CreateOrUpdateBuild.json diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildResultCollection.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildResultCollection.cs index 9d9a99fe06252..f415f18da1f7a 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildResultCollection.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildResultCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformBuildResultCollection { - // BuildService_ListBuildResults - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BuildServiceListBuildResults() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_ListBuildResults.json @@ -50,12 +50,11 @@ public async Task GetAll_BuildServiceListBuildResults() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BuildService_GetBuildResult - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BuildServiceGetBuildResult() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_GetBuildResult.json @@ -90,9 +89,8 @@ public async Task Get_BuildServiceGetBuildResult() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BuildService_GetBuildResult - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BuildServiceGetBuildResult() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_GetBuildResult.json @@ -123,9 +121,8 @@ public async Task Exists_BuildServiceGetBuildResult() Console.WriteLine($"Succeeded: {result}"); } - // BuildService_GetBuildResult - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BuildServiceGetBuildResult() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_GetBuildResult.json @@ -156,7 +153,7 @@ public async Task GetIfExists_BuildServiceGetBuildResult() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildResultResource.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildResultResource.cs index 5ca00e777c9a8..2cb98887d31ee 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildResultResource.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildResultResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformBuildResultResource { - // BuildService_GetBuildResult - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BuildServiceGetBuildResult() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_GetBuildResult.json @@ -49,9 +49,8 @@ public async Task Get_BuildServiceGetBuildResult() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BuildService_GetBuildResultLog - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBuildResultLog_BuildServiceGetBuildResultLog() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_GetBuildResultLog.json diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildServiceAgentPoolCollection.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildServiceAgentPoolCollection.cs index 25d805d74a80f..c9b4f166e880e 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildServiceAgentPoolCollection.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildServiceAgentPoolCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformBuildServiceAgentPoolCollection { - // BuildServiceAgentPool_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BuildServiceAgentPoolList() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildServiceAgentPool_List.json @@ -50,12 +50,11 @@ public async Task GetAll_BuildServiceAgentPoolList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BuildServiceAgentPool_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BuildServiceAgentPoolGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildServiceAgentPool_Get.json @@ -89,9 +88,8 @@ public async Task Get_BuildServiceAgentPoolGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BuildServiceAgentPool_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BuildServiceAgentPoolGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildServiceAgentPool_Get.json @@ -121,9 +119,8 @@ public async Task Exists_BuildServiceAgentPoolGet() Console.WriteLine($"Succeeded: {result}"); } - // BuildServiceAgentPool_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BuildServiceAgentPoolGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildServiceAgentPool_Get.json @@ -153,7 +150,7 @@ public async Task GetIfExists_BuildServiceAgentPoolGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_BuildServiceAgentPoolGet() } } - // BuildServiceAgentPool_UpdatePut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_BuildServiceAgentPoolUpdatePut() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildServiceAgentPool_UpdatePut.json diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildServiceAgentPoolResource.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildServiceAgentPoolResource.cs index 47dce7432f48a..74fa7b66e3ce6 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildServiceAgentPoolResource.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildServiceAgentPoolResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformBuildServiceAgentPoolResource { - // BuildServiceAgentPool_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BuildServiceAgentPoolGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildServiceAgentPool_Get.json @@ -48,9 +48,8 @@ public async Task Get_BuildServiceAgentPoolGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BuildServiceAgentPool_UpdatePut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_BuildServiceAgentPoolUpdatePut() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildServiceAgentPool_UpdatePut.json diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildServiceCollection.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildServiceCollection.cs index 2ae7d3083ec53..ce4b20ef06dae 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildServiceCollection.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildServiceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformBuildServiceCollection { - // BuildService_ListBuildServices - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BuildServiceListBuildServices() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_ListBuildServices.json @@ -48,12 +48,11 @@ public async Task GetAll_BuildServiceListBuildServices() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BuildService_GetBuildService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BuildServiceGetBuildService() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_GetBuildService.json @@ -86,9 +85,8 @@ public async Task Get_BuildServiceGetBuildService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BuildService_GetBuildService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BuildServiceGetBuildService() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_GetBuildService.json @@ -117,9 +115,8 @@ public async Task Exists_BuildServiceGetBuildService() Console.WriteLine($"Succeeded: {result}"); } - // BuildService_GetBuildService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BuildServiceGetBuildService() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_GetBuildService.json @@ -148,7 +145,7 @@ public async Task GetIfExists_BuildServiceGetBuildService() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildServiceResource.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildServiceResource.cs index 85ac02f05ec7b..760cf79ef23e8 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildServiceResource.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildServiceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformBuildServiceResource { - // BuildService_GetBuildService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BuildServiceGetBuildService() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_GetBuildService.json @@ -47,9 +47,8 @@ public async Task Get_BuildServiceGetBuildService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BuildService_GetResourceUploadUrl - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResourceUploadUri_BuildServiceGetResourceUploadUrl() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_GetResourceUploadUrl.json diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuilderCollection.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuilderCollection.cs index f89b16c2d84cc..58e0ac199c607 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuilderCollection.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuilderCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformBuilderCollection { - // BuildServiceBuilder_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BuildServiceBuilderGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildServiceBuilder_Get.json @@ -52,9 +52,8 @@ public async Task Get_BuildServiceBuilderGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BuildServiceBuilder_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BuildServiceBuilderGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildServiceBuilder_Get.json @@ -84,9 +83,8 @@ public async Task Exists_BuildServiceBuilderGet() Console.WriteLine($"Succeeded: {result}"); } - // BuildServiceBuilder_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BuildServiceBuilderGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildServiceBuilder_Get.json @@ -116,7 +114,7 @@ public async Task GetIfExists_BuildServiceBuilderGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -128,9 +126,8 @@ public async Task GetIfExists_BuildServiceBuilderGet() } } - // BuildServiceBuilder_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_BuildServiceBuilderCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildServiceBuilder_CreateOrUpdate.json @@ -190,9 +187,8 @@ public async Task CreateOrUpdate_BuildServiceBuilderCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BuildServiceBuilder_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BuildServiceBuilderList() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildServiceBuilder_List.json @@ -225,7 +221,7 @@ public async Task GetAll_BuildServiceBuilderList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuilderResource.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuilderResource.cs index fd9a8a19869d3..6aacb4c5c481d 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuilderResource.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuilderResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformBuilderResource { - // BuildServiceBuilder_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BuildServiceBuilderGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildServiceBuilder_Get.json @@ -49,9 +49,8 @@ public async Task Get_BuildServiceBuilderGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BuildServiceBuilder_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_BuildServiceBuilderCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildServiceBuilder_CreateOrUpdate.json @@ -108,9 +107,8 @@ public async Task Update_BuildServiceBuilderCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BuildServiceBuilder_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_BuildServiceBuilderDelete() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildServiceBuilder_Delete.json @@ -134,12 +132,11 @@ public async Task Delete_BuildServiceBuilderDelete() // invoke the operation await appPlatformBuilder.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BuildServiceBuilder_ListDeployments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeployments_BuildServiceBuilderListDeployments() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildServiceBuilder_ListDeployments.json @@ -166,7 +163,7 @@ public async Task GetDeployments_BuildServiceBuilderListDeployments() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildpackBindingCollection.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildpackBindingCollection.cs index dcc2858e385b8..afdb0f29a782a 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildpackBindingCollection.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildpackBindingCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformBuildpackBindingCollection { - // BuildpackBinding_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BuildpackBindingGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildpackBinding_Get.json @@ -52,9 +52,8 @@ public async Task Get_BuildpackBindingGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BuildpackBinding_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BuildpackBindingGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildpackBinding_Get.json @@ -85,9 +84,8 @@ public async Task Exists_BuildpackBindingGet() Console.WriteLine($"Succeeded: {result}"); } - // BuildpackBinding_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BuildpackBindingGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildpackBinding_Get.json @@ -118,7 +116,7 @@ public async Task GetIfExists_BuildpackBindingGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -130,9 +128,8 @@ public async Task GetIfExists_BuildpackBindingGet() } } - // BuildpackBinding_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_BuildpackBindingCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildpackBinding_CreateOrUpdate.json @@ -188,9 +185,8 @@ public async Task CreateOrUpdate_BuildpackBindingCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BuildpackBinding_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BuildpackBindingGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildpackBinding_List.json @@ -224,7 +220,7 @@ public async Task GetAll_BuildpackBindingGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildpackBindingResource.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildpackBindingResource.cs index 3f981b7a2cdfd..e1faf86bb0443 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildpackBindingResource.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformBuildpackBindingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformBuildpackBindingResource { - // BuildpackBinding_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BuildpackBindingGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildpackBinding_Get.json @@ -49,9 +49,8 @@ public async Task Get_BuildpackBindingGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BuildpackBinding_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_BuildpackBindingCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildpackBinding_CreateOrUpdate.json @@ -104,9 +103,8 @@ public async Task Update_BuildpackBindingCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BuildpackBinding_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_BuildpackBindingDelete() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildpackBinding_Delete.json @@ -131,7 +129,7 @@ public async Task Delete_BuildpackBindingDelete() // invoke the operation await appPlatformBuildpackBinding.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformCertificateCollection.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformCertificateCollection.cs index b583d17fe33a4..d631495c0c512 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformCertificateCollection.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformCertificateCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformCertificateCollection { - // Certificates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CertificatesGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Certificates_Get.json @@ -50,9 +50,8 @@ public async Task Get_CertificatesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Certificates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CertificatesGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Certificates_Get.json @@ -81,9 +80,8 @@ public async Task Exists_CertificatesGet() Console.WriteLine($"Succeeded: {result}"); } - // Certificates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CertificatesGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Certificates_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_CertificatesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_CertificatesGet() } } - // Certificates_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CertificatesCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Certificates_CreateOrUpdate.json @@ -167,9 +164,8 @@ public async Task CreateOrUpdate_CertificatesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Certificates_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CertificatesList() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Certificates_List.json @@ -201,7 +197,7 @@ public async Task GetAll_CertificatesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformCertificateResource.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformCertificateResource.cs index d77692208cae0..67ebb5e3560cb 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformCertificateResource.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformCertificateResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformCertificateResource { - // Certificates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CertificatesGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Certificates_Get.json @@ -47,9 +47,8 @@ public async Task Get_CertificatesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Certificates_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CertificatesCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Certificates_CreateOrUpdate.json @@ -87,9 +86,8 @@ public async Task Update_CertificatesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Certificates_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CertificatesDelete() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Certificates_Delete.json @@ -112,7 +110,7 @@ public async Task Delete_CertificatesDelete() // invoke the operation await appPlatformCertificate.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformConfigServerResource.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformConfigServerResource.cs index 5a1d8ee739b23..a6759ca3ba612 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformConfigServerResource.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformConfigServerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformConfigServerResource { - // ConfigServers_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConfigServersGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ConfigServers_Get.json @@ -46,9 +46,8 @@ public async Task Get_ConfigServersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfigServers_UpdatePut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ConfigServersUpdatePut() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ConfigServers_UpdatePut.json @@ -92,9 +91,8 @@ public async Task CreateOrUpdate_ConfigServersUpdatePut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfigServers_UpdatePatch - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ConfigServersUpdatePatch() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ConfigServers_UpdatePatch.json diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformConfigurationServiceCollection.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformConfigurationServiceCollection.cs index e8586da122bdd..1d3f3b53976ef 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformConfigurationServiceCollection.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformConfigurationServiceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformConfigurationServiceCollection { - // ConfigurationServices_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConfigurationServicesGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ConfigurationServices_Get.json @@ -50,9 +50,8 @@ public async Task Get_ConfigurationServicesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfigurationServices_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ConfigurationServicesGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ConfigurationServices_Get.json @@ -81,9 +80,8 @@ public async Task Exists_ConfigurationServicesGet() Console.WriteLine($"Succeeded: {result}"); } - // ConfigurationServices_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ConfigurationServicesGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ConfigurationServices_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_ConfigurationServicesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_ConfigurationServicesGet() } } - // ConfigurationServices_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ConfigurationServicesCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ConfigurationServices_CreateOrUpdate.json @@ -173,9 +170,8 @@ public async Task CreateOrUpdate_ConfigurationServicesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfigurationServices_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ConfigurationServicesList() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ConfigurationServices_List.json @@ -207,7 +203,7 @@ public async Task GetAll_ConfigurationServicesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformConfigurationServiceResource.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformConfigurationServiceResource.cs index 8b9dc9632aaa9..421505fab876b 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformConfigurationServiceResource.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformConfigurationServiceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformConfigurationServiceResource { - // ConfigurationServices_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConfigurationServicesGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ConfigurationServices_Get.json @@ -47,9 +47,8 @@ public async Task Get_ConfigurationServicesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfigurationServices_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ConfigurationServicesCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ConfigurationServices_CreateOrUpdate.json @@ -93,9 +92,8 @@ public async Task Update_ConfigurationServicesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfigurationServices_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ConfigurationServicesDelete() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ConfigurationServices_Delete.json @@ -118,12 +116,11 @@ public async Task Delete_ConfigurationServicesDelete() // invoke the operation await appPlatformConfigurationService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ConfigurationServices_Validate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Validate_ConfigurationServicesValidate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ConfigurationServices_Validate.json diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformCustomDomainCollection.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformCustomDomainCollection.cs index 9430e6fc60b29..767b8fd411ecb 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformCustomDomainCollection.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformCustomDomainCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformCustomDomainCollection { - // CustomDomains_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CustomDomainsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/CustomDomains_Get.json @@ -51,9 +51,8 @@ public async Task Get_CustomDomainsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CustomDomains_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CustomDomainsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/CustomDomains_Get.json @@ -83,9 +82,8 @@ public async Task Exists_CustomDomainsGet() Console.WriteLine($"Succeeded: {result}"); } - // CustomDomains_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CustomDomainsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/CustomDomains_Get.json @@ -115,7 +113,7 @@ public async Task GetIfExists_CustomDomainsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_CustomDomainsGet() } } - // CustomDomains_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CustomDomainsCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/CustomDomains_CreateOrUpdate.json @@ -172,9 +169,8 @@ public async Task CreateOrUpdate_CustomDomainsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CustomDomains_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CustomDomainsList() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/CustomDomains_List.json @@ -207,7 +203,7 @@ public async Task GetAll_CustomDomainsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformCustomDomainResource.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformCustomDomainResource.cs index d8511b855d9c3..da385ce9f717b 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformCustomDomainResource.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformCustomDomainResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformCustomDomainResource { - // CustomDomains_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CustomDomainsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/CustomDomains_Get.json @@ -48,9 +48,8 @@ public async Task Get_CustomDomainsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CustomDomains_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CustomDomainsDelete() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/CustomDomains_Delete.json @@ -74,12 +73,11 @@ public async Task Delete_CustomDomainsDelete() // invoke the operation await appPlatformCustomDomain.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CustomDomains_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CustomDomainsUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/CustomDomains_Update.json diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformDeploymentCollection.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformDeploymentCollection.cs index 7c1c5ae1d5552..de5ab873a97a6 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformDeploymentCollection.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformDeploymentCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformDeploymentCollection { - // Deployments_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DeploymentsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Deployments_Get.json @@ -52,9 +52,8 @@ public async Task Get_DeploymentsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deployments_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DeploymentsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Deployments_Get.json @@ -84,9 +83,8 @@ public async Task Exists_DeploymentsGet() Console.WriteLine($"Succeeded: {result}"); } - // Deployments_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DeploymentsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Deployments_Get.json @@ -116,7 +114,7 @@ public async Task GetIfExists_DeploymentsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -128,9 +126,8 @@ public async Task GetIfExists_DeploymentsGet() } } - // Deployments_Get_CustomContainer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DeploymentsGetCustomContainer() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Deployments_Get_CustomContainer.json @@ -164,9 +161,8 @@ public async Task Get_DeploymentsGetCustomContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deployments_Get_CustomContainer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DeploymentsGetCustomContainer() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Deployments_Get_CustomContainer.json @@ -196,9 +192,8 @@ public async Task Exists_DeploymentsGetCustomContainer() Console.WriteLine($"Succeeded: {result}"); } - // Deployments_Get_CustomContainer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DeploymentsGetCustomContainer() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Deployments_Get_CustomContainer.json @@ -228,7 +223,7 @@ public async Task GetIfExists_DeploymentsGetCustomContainer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -240,9 +235,8 @@ public async Task GetIfExists_DeploymentsGetCustomContainer() } } - // Deployments_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DeploymentsCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Deployments_CreateOrUpdate.json @@ -338,9 +332,8 @@ public async Task CreateOrUpdate_DeploymentsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deployments_CreateOrUpdate_CustomContainer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DeploymentsCreateOrUpdateCustomContainer() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Deployments_CreateOrUpdate_CustomContainer.json @@ -439,9 +432,8 @@ public async Task CreateOrUpdate_DeploymentsCreateOrUpdateCustomContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deployments_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DeploymentsList() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Deployments_List.json @@ -474,7 +466,7 @@ public async Task GetAll_DeploymentsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformDeploymentResource.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformDeploymentResource.cs index 674677a1eaa7a..d7f177986e7d9 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformDeploymentResource.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformDeploymentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformDeploymentResource { - // Deployments_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DeploymentsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Deployments_Get.json @@ -48,9 +48,8 @@ public async Task Get_DeploymentsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deployments_Get_CustomContainer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DeploymentsGetCustomContainer() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Deployments_Get_CustomContainer.json @@ -81,9 +80,8 @@ public async Task Get_DeploymentsGetCustomContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deployments_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeploymentsDelete() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Deployments_Delete.json @@ -107,12 +105,11 @@ public async Task Delete_DeploymentsDelete() // invoke the operation await appPlatformDeployment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Deployments_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DeploymentsUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Deployments_Update.json @@ -156,9 +153,8 @@ public async Task Update_DeploymentsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deployments_Update_CustomContainer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DeploymentsUpdateCustomContainer() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Deployments_Update_CustomContainer.json @@ -217,9 +213,8 @@ public async Task Update_DeploymentsUpdateCustomContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deployments_Start - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_DeploymentsStart() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Deployments_Start.json @@ -243,12 +238,11 @@ public async Task Start_DeploymentsStart() // invoke the operation await appPlatformDeployment.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Deployments_Stop - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_DeploymentsStop() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Deployments_Stop.json @@ -272,12 +266,11 @@ public async Task Stop_DeploymentsStop() // invoke the operation await appPlatformDeployment.StopAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Deployments_Restart - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_DeploymentsRestart() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Deployments_Restart.json @@ -301,12 +294,11 @@ public async Task Restart_DeploymentsRestart() // invoke the operation await appPlatformDeployment.RestartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Deployments_EnableRemoteDebugging - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task EnableRemoteDebugging_DeploymentsEnableRemoteDebugging() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Deployments_EnableRemoteDebugging.json @@ -335,9 +327,8 @@ public async Task EnableRemoteDebugging_DeploymentsEnableRemoteDebugging() Console.WriteLine($"Succeeded: {result}"); } - // Deployments_DisableRemoteDebugging - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DisableRemoteDebugging_DeploymentsDisableRemoteDebugging() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Deployments_DisableRemoteDebugging.json @@ -365,9 +356,8 @@ public async Task DisableRemoteDebugging_DeploymentsDisableRemoteDebugging() Console.WriteLine($"Succeeded: {result}"); } - // Deployments_GetRemoteDebuggingConfig - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRemoteDebuggingConfig_DeploymentsGetRemoteDebuggingConfig() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Deployments_GetRemoteDebuggingConfig.json @@ -394,9 +384,8 @@ public async Task GetRemoteDebuggingConfig_DeploymentsGetRemoteDebuggingConfig() Console.WriteLine($"Succeeded: {result}"); } - // Deployments_GetLogFileUrl - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLogFileUri_DeploymentsGetLogFileUrl() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Deployments_GetLogFileUrl.json @@ -423,9 +412,8 @@ public async Task GetLogFileUri_DeploymentsGetLogFileUrl() Console.WriteLine($"Succeeded: {result}"); } - // Deployments_GenerateHeapDump - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateHeapDump_DeploymentsGenerateHeapDump() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Deployments_GenerateHeapDump.json @@ -454,12 +442,11 @@ public async Task GenerateHeapDump_DeploymentsGenerateHeapDump() }; await appPlatformDeployment.GenerateHeapDumpAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Deployments_GenerateHeapDump - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateThreadDump_DeploymentsGenerateHeapDump() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Deployments_GenerateThreadDump.json @@ -488,12 +475,11 @@ public async Task GenerateThreadDump_DeploymentsGenerateHeapDump() }; await appPlatformDeployment.GenerateThreadDumpAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Deployments_StartJFR - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartJfr_DeploymentsStartJFR() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Deployments_StartJFR.json @@ -523,7 +509,7 @@ public async Task StartJfr_DeploymentsStartJFR() }; await appPlatformDeployment.StartJfrAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformGatewayCollection.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformGatewayCollection.cs index 04dcac8159a80..2d0c3225dd711 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformGatewayCollection.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformGatewayCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformGatewayCollection { - // Gateways_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GatewaysGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Gateways_Get.json @@ -50,9 +50,8 @@ public async Task Get_GatewaysGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gateways_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GatewaysGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Gateways_Get.json @@ -81,9 +80,8 @@ public async Task Exists_GatewaysGet() Console.WriteLine($"Succeeded: {result}"); } - // Gateways_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GatewaysGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Gateways_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GatewaysGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GatewaysGet() } } - // Gateways_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_GatewaysCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Gateways_CreateOrUpdate.json @@ -178,9 +175,8 @@ public async Task CreateOrUpdate_GatewaysCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gateways_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GatewaysList() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Gateways_List.json @@ -212,7 +208,7 @@ public async Task GetAll_GatewaysList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformGatewayCustomDomainCollection.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformGatewayCustomDomainCollection.cs index 1a46525dea82b..53809cd76feb0 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformGatewayCustomDomainCollection.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformGatewayCustomDomainCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformGatewayCustomDomainCollection { - // GatewayCustomDomains_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GatewayCustomDomainsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/GatewayCustomDomains_Get.json @@ -50,9 +50,8 @@ public async Task Get_GatewayCustomDomainsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GatewayCustomDomains_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GatewayCustomDomainsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/GatewayCustomDomains_Get.json @@ -82,9 +81,8 @@ public async Task Exists_GatewayCustomDomainsGet() Console.WriteLine($"Succeeded: {result}"); } - // GatewayCustomDomains_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GatewayCustomDomainsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/GatewayCustomDomains_Get.json @@ -114,7 +112,7 @@ public async Task GetIfExists_GatewayCustomDomainsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -126,9 +124,8 @@ public async Task GetIfExists_GatewayCustomDomainsGet() } } - // GatewayCustomDomains_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_GatewayCustomDomainsCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/GatewayCustomDomains_CreateOrUpdate.json @@ -167,9 +164,8 @@ public async Task CreateOrUpdate_GatewayCustomDomainsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GatewayCustomDomains_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GatewayCustomDomainsList() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/GatewayCustomDomains_List.json @@ -202,7 +198,7 @@ public async Task GetAll_GatewayCustomDomainsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformGatewayCustomDomainResource.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformGatewayCustomDomainResource.cs index 34440f00b24f0..5f027301faaad 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformGatewayCustomDomainResource.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformGatewayCustomDomainResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformGatewayCustomDomainResource { - // GatewayCustomDomains_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GatewayCustomDomainsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/GatewayCustomDomains_Get.json @@ -47,9 +47,8 @@ public async Task Get_GatewayCustomDomainsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GatewayCustomDomains_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_GatewayCustomDomainsCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/GatewayCustomDomains_CreateOrUpdate.json @@ -85,9 +84,8 @@ public async Task Update_GatewayCustomDomainsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GatewayCustomDomains_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_GatewayCustomDomainsDelete() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/GatewayCustomDomains_Delete.json @@ -111,7 +109,7 @@ public async Task Delete_GatewayCustomDomainsDelete() // invoke the operation await appPlatformGatewayCustomDomain.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformGatewayResource.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformGatewayResource.cs index 57c77dfc4d1a5..69d05152fa3c5 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformGatewayResource.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformGatewayResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformGatewayResource { - // Gateways_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GatewaysGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Gateways_Get.json @@ -47,9 +47,8 @@ public async Task Get_GatewaysGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gateways_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_GatewaysCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Gateways_CreateOrUpdate.json @@ -98,9 +97,8 @@ public async Task Update_GatewaysCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gateways_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_GatewaysDelete() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Gateways_Delete.json @@ -123,12 +121,11 @@ public async Task Delete_GatewaysDelete() // invoke the operation await appPlatformGateway.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gateways_ValidateDomain - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateDomain_GatewaysValidateDomain() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Gateways_ValidateDomain.json diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformGatewayRouteConfigCollection.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformGatewayRouteConfigCollection.cs index f2c57c90499ff..5273653b25030 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformGatewayRouteConfigCollection.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformGatewayRouteConfigCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformGatewayRouteConfigCollection { - // GatewayRouteConfigs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GatewayRouteConfigsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/GatewayRouteConfigs_Get.json @@ -51,9 +51,8 @@ public async Task Get_GatewayRouteConfigsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GatewayRouteConfigs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GatewayRouteConfigsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/GatewayRouteConfigs_Get.json @@ -83,9 +82,8 @@ public async Task Exists_GatewayRouteConfigsGet() Console.WriteLine($"Succeeded: {result}"); } - // GatewayRouteConfigs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GatewayRouteConfigsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/GatewayRouteConfigs_Get.json @@ -115,7 +113,7 @@ public async Task GetIfExists_GatewayRouteConfigsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_GatewayRouteConfigsGet() } } - // GatewayRouteConfigs_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_GatewayRouteConfigsCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/GatewayRouteConfigs_CreateOrUpdate.json @@ -189,9 +186,8 @@ public async Task CreateOrUpdate_GatewayRouteConfigsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GatewayRouteConfigs_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GatewayRouteConfigsList() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/GatewayRouteConfigs_List.json @@ -224,7 +220,7 @@ public async Task GetAll_GatewayRouteConfigsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformGatewayRouteConfigResource.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformGatewayRouteConfigResource.cs index b30b4b30fd21b..f26f1edbf07cd 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformGatewayRouteConfigResource.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformGatewayRouteConfigResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformGatewayRouteConfigResource { - // GatewayRouteConfigs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GatewayRouteConfigsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/GatewayRouteConfigs_Get.json @@ -48,9 +48,8 @@ public async Task Get_GatewayRouteConfigsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GatewayRouteConfigs_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_GatewayRouteConfigsCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/GatewayRouteConfigs_CreateOrUpdate.json @@ -107,9 +106,8 @@ public async Task Update_GatewayRouteConfigsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GatewayRouteConfigs_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_GatewayRouteConfigsDelete() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/GatewayRouteConfigs_Delete.json @@ -133,7 +131,7 @@ public async Task Delete_GatewayRouteConfigsDelete() // invoke the operation await appPlatformGatewayRouteConfig.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformMonitoringSettingResource.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformMonitoringSettingResource.cs index 0cb5e869a68c4..7a1d6ae93dfcf 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformMonitoringSettingResource.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformMonitoringSettingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformMonitoringSettingResource { - // MonitoringSettings_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MonitoringSettingsGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/MonitoringSettings_Get.json @@ -46,9 +46,8 @@ public async Task Get_MonitoringSettingsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MonitoringSettings_UpdatePut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_MonitoringSettingsUpdatePut() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/MonitoringSettings_UpdatePut.json @@ -87,9 +86,8 @@ public async Task CreateOrUpdate_MonitoringSettingsUpdatePut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MonitoringSettings_UpdatePatch - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_MonitoringSettingsUpdatePatch() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/MonitoringSettings_UpdatePatch.json diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformServiceCollection.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformServiceCollection.cs index 7ef4992b96643..b727d24b5e01a 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformServiceCollection.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformServiceCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformServiceCollection { - // Services_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServicesGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Services_Get.json @@ -50,9 +50,8 @@ public async Task Get_ServicesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Services_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ServicesGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Services_Get.json @@ -80,9 +79,8 @@ public async Task Exists_ServicesGet() Console.WriteLine($"Succeeded: {result}"); } - // Services_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ServicesGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Services_Get.json @@ -110,7 +108,7 @@ public async Task GetIfExists_ServicesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_ServicesGet() } } - // Services_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ServicesCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Services_CreateOrUpdate.json @@ -170,9 +167,8 @@ public async Task CreateOrUpdate_ServicesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Services_CreateOrUpdate_Enterprise - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ServicesCreateOrUpdateEnterprise() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Services_CreateOrUpdate_Enterprise.json @@ -218,9 +214,8 @@ public async Task CreateOrUpdate_ServicesCreateOrUpdateEnterprise() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Services_CreateOrUpdate_VNetInjection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ServicesCreateOrUpdateVNetInjection() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Services_CreateOrUpdate_VNetInjection.json @@ -278,9 +273,8 @@ public async Task CreateOrUpdate_ServicesCreateOrUpdateVNetInjection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Services_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ServicesList() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Services_List.json @@ -311,7 +305,7 @@ public async Task GetAll_ServicesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformServiceRegistryCollection.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformServiceRegistryCollection.cs index c82651e79e169..4163a6a5805ab 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformServiceRegistryCollection.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformServiceRegistryCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformServiceRegistryCollection { - // ServiceRegistries_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServiceRegistriesGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ServiceRegistries_Get.json @@ -49,9 +49,8 @@ public async Task Get_ServiceRegistriesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServiceRegistries_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ServiceRegistriesGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ServiceRegistries_Get.json @@ -80,9 +79,8 @@ public async Task Exists_ServiceRegistriesGet() Console.WriteLine($"Succeeded: {result}"); } - // ServiceRegistries_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ServiceRegistriesGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ServiceRegistries_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_ServiceRegistriesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_ServiceRegistriesGet() } } - // ServiceRegistries_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ServiceRegistriesCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ServiceRegistries_CreateOrUpdate.json @@ -159,9 +156,8 @@ public async Task CreateOrUpdate_ServiceRegistriesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServiceRegistries_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ServiceRegistriesList() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ServiceRegistries_List.json @@ -193,7 +189,7 @@ public async Task GetAll_ServiceRegistriesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformServiceRegistryResource.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformServiceRegistryResource.cs index 5fc527254d9c8..32133e47d8084 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformServiceRegistryResource.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformServiceRegistryResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformServiceRegistryResource { - // ServiceRegistries_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServiceRegistriesGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ServiceRegistries_Get.json @@ -46,9 +46,8 @@ public async Task Get_ServiceRegistriesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServiceRegistries_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ServiceRegistriesCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ServiceRegistries_CreateOrUpdate.json @@ -79,9 +78,8 @@ public async Task Update_ServiceRegistriesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServiceRegistries_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ServiceRegistriesDelete() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ServiceRegistries_Delete.json @@ -104,7 +102,7 @@ public async Task Delete_ServiceRegistriesDelete() // invoke the operation await appPlatformServiceRegistry.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformServiceResource.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformServiceResource.cs index 75b5838a4d74e..0572661a23e87 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformServiceResource.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformServiceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformServiceResource { - // Services_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServicesGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Services_Get.json @@ -47,9 +47,8 @@ public async Task Get_ServicesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Services_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ServicesDelete() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Services_Delete.json @@ -71,12 +70,11 @@ public async Task Delete_ServicesDelete() // invoke the operation await appPlatformService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Services_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ServicesUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Services_Update.json @@ -119,9 +117,8 @@ public async Task Update_ServicesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Services_ListTestKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTestKeys_ServicesListTestKeys() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Services_ListTestKeys.json @@ -146,9 +143,8 @@ public async Task GetTestKeys_ServicesListTestKeys() Console.WriteLine($"Succeeded: {result}"); } - // Services_RegenerateTestKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateTestKey_ServicesRegenerateTestKey() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Services_RegenerateTestKey.json @@ -174,9 +170,8 @@ public async Task RegenerateTestKey_ServicesRegenerateTestKey() Console.WriteLine($"Succeeded: {result}"); } - // Services_DisableTestEndpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DisableTestEndpoint_ServicesDisableTestEndpoint() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Services_DisableTestEndpoint.json @@ -198,12 +193,11 @@ public async Task DisableTestEndpoint_ServicesDisableTestEndpoint() // invoke the operation await appPlatformService.DisableTestEndpointAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Services_EnableTestEndpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task EnableTestEndpoint_ServicesEnableTestEndpoint() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Services_EnableTestEndpoint.json @@ -228,9 +222,8 @@ public async Task EnableTestEndpoint_ServicesEnableTestEndpoint() Console.WriteLine($"Succeeded: {result}"); } - // Services_Stop - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_ServicesStop() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Services_Stop.json @@ -252,12 +245,11 @@ public async Task Stop_ServicesStop() // invoke the operation await appPlatformService.StopAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Services_Start - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_ServicesStart() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Services_Start.json @@ -279,12 +271,11 @@ public async Task Start_ServicesStart() // invoke the operation await appPlatformService.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Services_CheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckAppPlatformNameAvailability_ServicesCheckNameAvailability() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Services_CheckNameAvailability.json @@ -309,9 +300,8 @@ public async Task CheckAppPlatformNameAvailability_ServicesCheckNameAvailability Console.WriteLine($"Succeeded: {result}"); } - // Services_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAppPlatformServices_ServicesListBySubscription() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Services_ListBySubscription.json @@ -338,12 +328,11 @@ public async Task GetAppPlatformServices_ServicesListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ConfigServers_Validate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateConfigServer_ConfigServersValidate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/ConfigServers_Validate.json @@ -380,9 +369,8 @@ public async Task ValidateConfigServer_ConfigServersValidate() Console.WriteLine($"Succeeded: {result}"); } - // Deployments_ListForCluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeployments_DeploymentsListForCluster() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Deployments_ListForCluster.json @@ -411,7 +399,7 @@ public async Task GetDeployments_DeploymentsListForCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformStorageCollection.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformStorageCollection.cs index 0c10de4909c9e..57bbf858e2870 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformStorageCollection.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformStorageCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformStorageCollection { - // Storages_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StoragesGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Storages_Get.json @@ -50,9 +50,8 @@ public async Task Get_StoragesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Storages_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_StoragesGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Storages_Get.json @@ -81,9 +80,8 @@ public async Task Exists_StoragesGet() Console.WriteLine($"Succeeded: {result}"); } - // Storages_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_StoragesGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Storages_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_StoragesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_StoragesGet() } } - // Storages_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StoragesCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Storages_CreateOrUpdate.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_StoragesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Storages_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_StoragesList() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Storages_List.json @@ -198,7 +194,7 @@ public async Task GetAll_StoragesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformStorageResource.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformStorageResource.cs index 6870321da38d3..92466bc990fc7 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformStorageResource.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformStorageResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformStorageResource { - // Storages_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StoragesGet() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Storages_Get.json @@ -47,9 +47,8 @@ public async Task Get_StoragesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Storages_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StoragesCreateOrUpdate() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Storages_CreateOrUpdate.json @@ -84,9 +83,8 @@ public async Task Update_StoragesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Storages_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_StoragesDelete() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Storages_Delete.json @@ -109,7 +107,7 @@ public async Task Delete_StoragesDelete() // invoke the operation await appPlatformStorage.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformSupportedBuildpackCollection.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformSupportedBuildpackCollection.cs index 9228bbdd91090..22f9b69824424 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformSupportedBuildpackCollection.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformSupportedBuildpackCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformSupportedBuildpackCollection { - // BuildService_ListSupportedBuildpacks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BuildServiceListSupportedBuildpacks() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_ListSupportedBuildpacks.json @@ -49,12 +49,11 @@ public async Task GetAll_BuildServiceListSupportedBuildpacks() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BuildService_GetSupportedBuildpack - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BuildServiceGetSupportedBuildpack() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_GetSupportedBuildpack.json @@ -88,9 +87,8 @@ public async Task Get_BuildServiceGetSupportedBuildpack() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BuildService_GetSupportedBuildpack - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BuildServiceGetSupportedBuildpack() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_GetSupportedBuildpack.json @@ -120,9 +118,8 @@ public async Task Exists_BuildServiceGetSupportedBuildpack() Console.WriteLine($"Succeeded: {result}"); } - // BuildService_GetSupportedBuildpack - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BuildServiceGetSupportedBuildpack() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_GetSupportedBuildpack.json @@ -152,7 +149,7 @@ public async Task GetIfExists_BuildServiceGetSupportedBuildpack() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformSupportedBuildpackResource.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformSupportedBuildpackResource.cs index f6f963421a713..0db14ad793179 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformSupportedBuildpackResource.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformSupportedBuildpackResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformSupportedBuildpackResource { - // BuildService_GetSupportedBuildpack - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BuildServiceGetSupportedBuildpack() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_GetSupportedBuildpack.json diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformSupportedStackCollection.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformSupportedStackCollection.cs index c662add4b8f43..8c2ac284c9677 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformSupportedStackCollection.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformSupportedStackCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformSupportedStackCollection { - // BuildService_ListSupportedStacks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BuildServiceListSupportedStacks() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_ListSupportedStacks.json @@ -49,12 +49,11 @@ public async Task GetAll_BuildServiceListSupportedStacks() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BuildService_GetSupportedStack - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BuildServiceGetSupportedStack() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_GetSupportedStack.json @@ -88,9 +87,8 @@ public async Task Get_BuildServiceGetSupportedStack() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BuildService_GetSupportedStack - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BuildServiceGetSupportedStack() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_GetSupportedStack.json @@ -120,9 +118,8 @@ public async Task Exists_BuildServiceGetSupportedStack() Console.WriteLine($"Succeeded: {result}"); } - // BuildService_GetSupportedStack - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BuildServiceGetSupportedStack() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_GetSupportedStack.json @@ -152,7 +149,7 @@ public async Task GetIfExists_BuildServiceGetSupportedStack() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformSupportedStackResource.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformSupportedStackResource.cs index 88aec4b662d76..8ca379d30022f 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformSupportedStackResource.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_AppPlatformSupportedStackResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_AppPlatformSupportedStackResource { - // BuildService_GetSupportedStack - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BuildServiceGetSupportedStack() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/BuildService_GetSupportedStack.json diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 13da999ffc2e4..b24a15dea2067 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Skus_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSkus_SkusList() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/Skus_List.json @@ -41,7 +41,7 @@ public async Task GetSkus_SkusList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_TenantResourceExtensions.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_TenantResourceExtensions.cs index f17bf8851e6f9..d371504080f80 100644 --- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_TenantResourceExtensions.cs +++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/samples/Generated/Samples/Sample_TenantResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppPlatform.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppPlatform.Samples { public partial class Sample_TenantResourceExtensions { - // RuntimeVersions_ListRuntimeVersions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRuntimeVersions_RuntimeVersionsListRuntimeVersions() { // Generated from example definition: specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2022-12-01/examples/RuntimeVersions_ListRuntimeVersions.json @@ -38,7 +38,7 @@ public async Task GetRuntimeVersions_RuntimeVersionsListRuntimeVersions() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmAvailabilitySetCollection.cs b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmAvailabilitySetCollection.cs index eeda4aff3d8bb..aa2c4fb74af94 100644 --- a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmAvailabilitySetCollection.cs +++ b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmAvailabilitySetCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ScVmm.Samples { public partial class Sample_ScVmmAvailabilitySetCollection { - // GetAvailabilitySet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAvailabilitySet() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetAvailabilitySet.json @@ -50,9 +50,8 @@ public async Task Get_GetAvailabilitySet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetAvailabilitySet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAvailabilitySet() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetAvailabilitySet.json @@ -80,9 +79,8 @@ public async Task Exists_GetAvailabilitySet() Console.WriteLine($"Succeeded: {result}"); } - // GetAvailabilitySet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAvailabilitySet() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetAvailabilitySet.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetAvailabilitySet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetAvailabilitySet() } } - // CreateAvailabilitySet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAvailabilitySet() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateAvailabilitySet.json @@ -165,9 +162,8 @@ public async Task CreateOrUpdate_CreateAvailabilitySet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ListAvailabilitySetsByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAvailabilitySetsByResourceGroup() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListAvailabilitySetsByResourceGroup.json @@ -198,7 +194,7 @@ public async Task GetAll_ListAvailabilitySetsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmAvailabilitySetResource.cs b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmAvailabilitySetResource.cs index 6b7ed48bb1fb3..4148c220c939e 100644 --- a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmAvailabilitySetResource.cs +++ b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmAvailabilitySetResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.ScVmm.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ScVmm.Samples { public partial class Sample_ScVmmAvailabilitySetResource { - // GetAvailabilitySet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAvailabilitySet() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetAvailabilitySet.json @@ -47,9 +47,8 @@ public async Task Get_GetAvailabilitySet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteAvailabilitySet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAvailabilitySet() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteAvailabilitySet.json @@ -71,12 +70,11 @@ public async Task Delete_DeleteAvailabilitySet() // invoke the operation await scVmmAvailabilitySet.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // UpdateAvailabilitySet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAvailabilitySet() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateAvailabilitySet.json @@ -114,9 +112,8 @@ public async Task Update_UpdateAvailabilitySet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ListAvailabilitySetsBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetScVmmAvailabilitySets_ListAvailabilitySetsBySubscription() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListAvailabilitySetsBySubscription.json @@ -143,7 +140,7 @@ public async Task GetScVmmAvailabilitySets_ListAvailabilitySetsBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmCloudCollection.cs b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmCloudCollection.cs index 76d5a9da98d9d..b809a0050ee3c 100644 --- a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmCloudCollection.cs +++ b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmCloudCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ScVmm.Samples { public partial class Sample_ScVmmCloudCollection { - // GetCloud - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCloud() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetCloud.json @@ -50,9 +50,8 @@ public async Task Get_GetCloud() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetCloud - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCloud() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetCloud.json @@ -80,9 +79,8 @@ public async Task Exists_GetCloud() Console.WriteLine($"Succeeded: {result}"); } - // GetCloud - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCloud() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetCloud.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetCloud() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetCloud() } } - // CreateCloud - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateCloud() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateCloud.json @@ -165,9 +162,8 @@ public async Task CreateOrUpdate_CreateCloud() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ListCloudsByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCloudsByResourceGroup() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListCloudsByResourceGroup.json @@ -198,7 +194,7 @@ public async Task GetAll_ListCloudsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmCloudResource.cs b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmCloudResource.cs index b210aa9147015..972b5271d58b7 100644 --- a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmCloudResource.cs +++ b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmCloudResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.ScVmm.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ScVmm.Samples { public partial class Sample_ScVmmCloudResource { - // GetCloud - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCloud() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetCloud.json @@ -47,9 +47,8 @@ public async Task Get_GetCloud() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteCloud - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteCloud() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCloud.json @@ -71,12 +70,11 @@ public async Task Delete_DeleteCloud() // invoke the operation await scVmmCloud.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // UpdateCloud - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateCloud() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateCloud.json @@ -114,9 +112,8 @@ public async Task Update_UpdateCloud() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ListCloudsBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetScVmmClouds_ListCloudsBySubscription() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListCloudsBySubscription.json @@ -143,7 +140,7 @@ public async Task GetScVmmClouds_ListCloudsBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmGuestAgentResource.cs b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmGuestAgentResource.cs index c8def0d3887a5..9e12de5ebbe21 100644 --- a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmGuestAgentResource.cs +++ b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmGuestAgentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ScVmm.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ScVmm.Samples { public partial class Sample_ScVmmGuestAgentResource { - // CreateGuestAgent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateGuestAgent() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVMInstanceGuestAgent.json @@ -51,9 +51,8 @@ public async Task CreateOrUpdate_CreateGuestAgent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetGuestAgent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetGuestAgent() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVMInstanceGuestAgent.json @@ -80,9 +79,8 @@ public async Task Get_GetGuestAgent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteGuestAgent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteGuestAgent() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVMInstanceGuestAgent.json @@ -102,7 +100,7 @@ public async Task Delete_DeleteGuestAgent() // invoke the operation await scVmmGuestAgent.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmHybridIdentityMetadataResource.cs b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmHybridIdentityMetadataResource.cs index 2865796687fac..27ac7eb0825c0 100644 --- a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmHybridIdentityMetadataResource.cs +++ b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmHybridIdentityMetadataResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ScVmm.Samples { public partial class Sample_ScVmmHybridIdentityMetadataResource { - // GetHybridIdentityMetadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetHybridIdentityMetadata() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVmInstanceHybridIdentityMetadata.json diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmInventoryItemCollection.cs b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmInventoryItemCollection.cs index d717ff84e598b..1fb918ced98d8 100644 --- a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmInventoryItemCollection.cs +++ b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmInventoryItemCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ScVmm.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ScVmm.Samples { public partial class Sample_ScVmmInventoryItemCollection { - // CreateInventoryItem - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateInventoryItem() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateInventoryItem.json @@ -52,9 +52,8 @@ public async Task CreateOrUpdate_CreateInventoryItem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetInventoryItem - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetInventoryItem() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetInventoryItem.json @@ -87,9 +86,8 @@ public async Task Get_GetInventoryItem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetInventoryItem - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetInventoryItem() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetInventoryItem.json @@ -118,9 +116,8 @@ public async Task Exists_GetInventoryItem() Console.WriteLine($"Succeeded: {result}"); } - // GetInventoryItem - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetInventoryItem() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetInventoryItem.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetInventoryItem() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetInventoryItem() } } - // InventoryItemsListByVMMServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_InventoryItemsListByVMMServer() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListInventoryItemsByVMMServer.json @@ -195,7 +191,7 @@ public async Task GetAll_InventoryItemsListByVMMServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmInventoryItemResource.cs b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmInventoryItemResource.cs index 92b6cc4c3551a..01638f172536c 100644 --- a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmInventoryItemResource.cs +++ b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmInventoryItemResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ScVmm.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ScVmm.Samples { public partial class Sample_ScVmmInventoryItemResource { - // CreateInventoryItem - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateInventoryItem() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateInventoryItem.json @@ -49,9 +49,8 @@ public async Task Update_CreateInventoryItem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetInventoryItem - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetInventoryItem() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetInventoryItem.json @@ -81,9 +80,8 @@ public async Task Get_GetInventoryItem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteInventoryItem - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteInventoryItem() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteInventoryItem.json @@ -106,7 +104,7 @@ public async Task Delete_DeleteInventoryItem() // invoke the operation await scVmmInventoryItem.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmServerCollection.cs b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmServerCollection.cs index 3ac6857a17e68..bbedf752b44a9 100644 --- a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmServerCollection.cs +++ b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmServerCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; using Azure.ResourceManager.ScVmm.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ScVmm.Samples { public partial class Sample_ScVmmServerCollection { - // GetVMMServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVMMServer() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVMMServer.json @@ -51,9 +51,8 @@ public async Task Get_GetVMMServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetVMMServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVMMServer() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVMMServer.json @@ -81,9 +80,8 @@ public async Task Exists_GetVMMServer() Console.WriteLine($"Succeeded: {result}"); } - // GetVMMServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVMMServer() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVMMServer.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetVMMServer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetVMMServer() } } - // CreateVMMServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVMMServer() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVMMServer.json @@ -170,9 +167,8 @@ public async Task CreateOrUpdate_CreateVMMServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ListVmmServersByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListVmmServersByResourceGroup() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVMMServersByResourceGroup.json @@ -203,7 +199,7 @@ public async Task GetAll_ListVmmServersByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmServerResource.cs b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmServerResource.cs index 5bc2c63f4dd8f..bd896023bc262 100644 --- a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmServerResource.cs +++ b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmServerResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.ScVmm.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ScVmm.Samples { public partial class Sample_ScVmmServerResource { - // GetVMMServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVMMServer() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVMMServer.json @@ -47,9 +47,8 @@ public async Task Get_GetVMMServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteVMMServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteVMMServer() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVMMServer.json @@ -71,12 +70,11 @@ public async Task Delete_DeleteVMMServer() // invoke the operation await scVmmServer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // UpdateVMMServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateVMMServer() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVMMServer.json @@ -114,9 +112,8 @@ public async Task Update_UpdateVMMServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ListVmmServersBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetScVmmServers_ListVmmServersBySubscription() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVMMServersBySubscription.json @@ -143,7 +140,7 @@ public async Task GetScVmmServers_ListVmmServersBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmVirtualMachineInstanceResource.cs b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmVirtualMachineInstanceResource.cs index eb011ac9c3a91..3bcff682f4064 100644 --- a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmVirtualMachineInstanceResource.cs +++ b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmVirtualMachineInstanceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources.Models; using Azure.ResourceManager.ScVmm.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ScVmm.Samples { public partial class Sample_ScVmmVirtualMachineInstanceResource { - // GetVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualMachine() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachineInstance.json @@ -45,9 +45,8 @@ public async Task Get_GetVirtualMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVirtualMachine() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachineInstance.json @@ -92,9 +91,8 @@ public async Task CreateOrUpdate_CreateVirtualMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UpdateVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateVirtualMachine() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachineInstance.json @@ -130,9 +128,8 @@ public async Task Update_UpdateVirtualMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteVirtualMachine() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachineInstance.json @@ -152,12 +149,11 @@ public async Task Delete_DeleteVirtualMachine() // invoke the operation await scVmmVirtualMachineInstance.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StopVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_StopVirtualMachine() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StopVirtualMachineInstance.json @@ -181,12 +177,11 @@ public async Task Stop_StopVirtualMachine() }; await scVmmVirtualMachineInstance.StopAsync(WaitUntil.Completed, content: content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StartVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_StartVirtualMachine() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/StartVirtualMachineInstance.json @@ -206,12 +201,11 @@ public async Task Start_StartVirtualMachine() // invoke the operation await scVmmVirtualMachineInstance.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RestartVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_RestartVirtualMachine() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestartVirtualMachineInstance.json @@ -231,12 +225,11 @@ public async Task Restart_RestartVirtualMachine() // invoke the operation await scVmmVirtualMachineInstance.RestartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CreateCheckpointVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateCheckpoint_CreateCheckpointVirtualMachine() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateCheckpointVirtualMachineInstance.json @@ -261,12 +254,11 @@ public async Task CreateCheckpoint_CreateCheckpointVirtualMachine() }; await scVmmVirtualMachineInstance.CreateCheckpointAsync(WaitUntil.Completed, content: content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DeleteCheckpointVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteCheckpoint_DeleteCheckpointVirtualMachine() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteCheckpointVirtualMachineInstance.json @@ -290,12 +282,11 @@ public async Task DeleteCheckpoint_DeleteCheckpointVirtualMachine() }; await scVmmVirtualMachineInstance.DeleteCheckpointAsync(WaitUntil.Completed, content: content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RestoreCheckpointVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RestoreCheckpoint_RestoreCheckpointVirtualMachine() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/RestoreCheckpointVirtualMachineInstance.json @@ -319,7 +310,7 @@ public async Task RestoreCheckpoint_RestoreCheckpointVirtualMachine() }; await scVmmVirtualMachineInstance.RestoreCheckpointAsync(WaitUntil.Completed, content: content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmVirtualMachineTemplateCollection.cs b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmVirtualMachineTemplateCollection.cs index c214bd1b69f24..216b16ac32e02 100644 --- a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmVirtualMachineTemplateCollection.cs +++ b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmVirtualMachineTemplateCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ScVmm.Samples { public partial class Sample_ScVmmVirtualMachineTemplateCollection { - // GetVirtualMachineTemplate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualMachineTemplate() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachineTemplate.json @@ -50,9 +50,8 @@ public async Task Get_GetVirtualMachineTemplate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetVirtualMachineTemplate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVirtualMachineTemplate() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachineTemplate.json @@ -80,9 +79,8 @@ public async Task Exists_GetVirtualMachineTemplate() Console.WriteLine($"Succeeded: {result}"); } - // GetVirtualMachineTemplate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVirtualMachineTemplate() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachineTemplate.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetVirtualMachineTemplate() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetVirtualMachineTemplate() } } - // CreateVirtualMachineTemplate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVirtualMachineTemplate() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualMachineTemplate.json @@ -165,9 +162,8 @@ public async Task CreateOrUpdate_CreateVirtualMachineTemplate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ListVirtualMachineTemplatesByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListVirtualMachineTemplatesByResourceGroup() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachineTemplatesByResourceGroup.json @@ -198,7 +194,7 @@ public async Task GetAll_ListVirtualMachineTemplatesByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmVirtualMachineTemplateResource.cs b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmVirtualMachineTemplateResource.cs index dffe04d117525..7d39d8b8439cd 100644 --- a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmVirtualMachineTemplateResource.cs +++ b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmVirtualMachineTemplateResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.ScVmm.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ScVmm.Samples { public partial class Sample_ScVmmVirtualMachineTemplateResource { - // GetVirtualMachineTemplate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualMachineTemplate() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualMachineTemplate.json @@ -47,9 +47,8 @@ public async Task Get_GetVirtualMachineTemplate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteVirtualMachineTemplate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteVirtualMachineTemplate() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualMachineTemplate.json @@ -71,12 +70,11 @@ public async Task Delete_DeleteVirtualMachineTemplate() // invoke the operation await scVmmVirtualMachineTemplate.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // UpdateVirtualMachineTemplate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateVirtualMachineTemplate() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualMachineTemplate.json @@ -114,9 +112,8 @@ public async Task Update_UpdateVirtualMachineTemplate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ListVirtualMachineTemplatesBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetScVmmVirtualMachineTemplates_ListVirtualMachineTemplatesBySubscription() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualMachineTemplatesBySubscription.json @@ -143,7 +140,7 @@ public async Task GetScVmmVirtualMachineTemplates_ListVirtualMachineTemplatesByS Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmVirtualNetworkCollection.cs b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmVirtualNetworkCollection.cs index cb8ae210d0fbf..549ddfd8ef1cd 100644 --- a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmVirtualNetworkCollection.cs +++ b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmVirtualNetworkCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ScVmm.Samples { public partial class Sample_ScVmmVirtualNetworkCollection { - // GetVirtualNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetwork() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualNetwork.json @@ -50,9 +50,8 @@ public async Task Get_GetVirtualNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetVirtualNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVirtualNetwork() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualNetwork.json @@ -80,9 +79,8 @@ public async Task Exists_GetVirtualNetwork() Console.WriteLine($"Succeeded: {result}"); } - // GetVirtualNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVirtualNetwork() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualNetwork.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetVirtualNetwork() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetVirtualNetwork() } } - // CreateVirtualNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVirtualNetwork() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/CreateVirtualNetwork.json @@ -165,9 +162,8 @@ public async Task CreateOrUpdate_CreateVirtualNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ListVirtualNetworksByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListVirtualNetworksByResourceGroup() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualNetworksByResourceGroup.json @@ -198,7 +194,7 @@ public async Task GetAll_ListVirtualNetworksByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmVirtualNetworkResource.cs b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmVirtualNetworkResource.cs index cedea82736612..fba144dfb5fba 100644 --- a/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmVirtualNetworkResource.cs +++ b/sdk/arc-scvmm/Azure.ResourceManager.ScVmm/samples/Generated/Samples/Sample_ScVmmVirtualNetworkResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.ScVmm.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ScVmm.Samples { public partial class Sample_ScVmmVirtualNetworkResource { - // GetVirtualNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetwork() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/GetVirtualNetwork.json @@ -47,9 +47,8 @@ public async Task Get_GetVirtualNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteVirtualNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteVirtualNetwork() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/DeleteVirtualNetwork.json @@ -71,12 +70,11 @@ public async Task Delete_DeleteVirtualNetwork() // invoke the operation await scVmmVirtualNetwork.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // UpdateVirtualNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateVirtualNetwork() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/UpdateVirtualNetwork.json @@ -114,9 +112,8 @@ public async Task Update_UpdateVirtualNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ListVirtualNetworksBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetScVmmVirtualNetworks_ListVirtualNetworksBySubscription() { // Generated from example definition: specification/scvmm/resource-manager/Microsoft.ScVmm/stable/2023-10-07/examples/ListVirtualNetworksBySubscription.json @@ -143,7 +140,7 @@ public async Task GetScVmmVirtualNetworks_ListVirtualNetworksBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/astronomer/Azure.ResourceManager.Astro/samples/Generated/Samples/Sample_AstroOrganizationCollection.cs b/sdk/astronomer/Azure.ResourceManager.Astro/samples/Generated/Samples/Sample_AstroOrganizationCollection.cs index 92b19c5cb73c6..a5684e02b250c 100644 --- a/sdk/astronomer/Azure.ResourceManager.Astro/samples/Generated/Samples/Sample_AstroOrganizationCollection.cs +++ b/sdk/astronomer/Azure.ResourceManager.Astro/samples/Generated/Samples/Sample_AstroOrganizationCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Astro.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Astro.Samples { public partial class Sample_AstroOrganizationCollection { - // Organizations_ListByResourceGroup - generated by [MaximumSet] rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_OrganizationsListByResourceGroupGeneratedByMaximumSetRule() { // Generated from example definition: specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2023-08-01/examples/Organizations_ListByResourceGroup_MaximumSet_Gen.json @@ -50,12 +50,11 @@ public async Task GetAll_OrganizationsListByResourceGroupGeneratedByMaximumSetRu Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Organizations_Get - generated by [MaximumSet] rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_OrganizationsGetGeneratedByMaximumSetRule() { // Generated from example definition: specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2023-08-01/examples/Organizations_Get_MaximumSet_Gen.json @@ -87,9 +86,8 @@ public async Task Get_OrganizationsGetGeneratedByMaximumSetRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Organizations_Get - generated by [MaximumSet] rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_OrganizationsGetGeneratedByMaximumSetRule() { // Generated from example definition: specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2023-08-01/examples/Organizations_Get_MaximumSet_Gen.json @@ -117,9 +115,8 @@ public async Task Exists_OrganizationsGetGeneratedByMaximumSetRule() Console.WriteLine($"Succeeded: {result}"); } - // Organizations_Get - generated by [MaximumSet] rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_OrganizationsGetGeneratedByMaximumSetRule() { // Generated from example definition: specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2023-08-01/examples/Organizations_Get_MaximumSet_Gen.json @@ -147,7 +144,7 @@ public async Task GetIfExists_OrganizationsGetGeneratedByMaximumSetRule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_OrganizationsGetGeneratedByMaximumSetRule() } } - // Organizations_CreateOrUpdate - generated by [MaximumSet] rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_OrganizationsCreateOrUpdateGeneratedByMaximumSetRule() { // Generated from example definition: specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2023-08-01/examples/Organizations_CreateOrUpdate_MaximumSet_Gen.json diff --git a/sdk/astronomer/Azure.ResourceManager.Astro/samples/Generated/Samples/Sample_AstroOrganizationResource.cs b/sdk/astronomer/Azure.ResourceManager.Astro/samples/Generated/Samples/Sample_AstroOrganizationResource.cs index 4a823ac48ed55..aef7dd19cb838 100644 --- a/sdk/astronomer/Azure.ResourceManager.Astro/samples/Generated/Samples/Sample_AstroOrganizationResource.cs +++ b/sdk/astronomer/Azure.ResourceManager.Astro/samples/Generated/Samples/Sample_AstroOrganizationResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Astro.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Astro.Samples { public partial class Sample_AstroOrganizationResource { - // Organizations_ListBySubscription - generated by [MaximumSet] rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAstroOrganizations_OrganizationsListBySubscriptionGeneratedByMaximumSetRule() { // Generated from example definition: specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2023-08-01/examples/Organizations_ListBySubscription_MaximumSet_Gen.json @@ -46,12 +46,11 @@ public async Task GetAstroOrganizations_OrganizationsListBySubscriptionGenerated Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Organizations_Get - generated by [MaximumSet] rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_OrganizationsGetGeneratedByMaximumSetRule() { // Generated from example definition: specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2023-08-01/examples/Organizations_Get_MaximumSet_Gen.json @@ -80,9 +79,8 @@ public async Task Get_OrganizationsGetGeneratedByMaximumSetRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Organizations_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_OrganizationsUpdate() { // Generated from example definition: specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2023-08-01/examples/Organizations_Update_MaximumSet_Gen.json @@ -153,9 +151,8 @@ public async Task Update_OrganizationsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Organizations_Delete - generated by [MaximumSet] rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_OrganizationsDeleteGeneratedByMaximumSetRule() { // Generated from example definition: specification/liftrastronomer/resource-manager/Astronomer.Astro/stable/2023-08-01/examples/Organizations_Delete_MaximumSet_Gen.json @@ -177,7 +174,7 @@ public async Task Delete_OrganizationsDeleteGeneratedByMaximumSetRule() // invoke the operation await astroOrganization.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/attestation/Azure.ResourceManager.Attestation/samples/Generated/Samples/Sample_AttestationPrivateEndpointConnectionCollection.cs b/sdk/attestation/Azure.ResourceManager.Attestation/samples/Generated/Samples/Sample_AttestationPrivateEndpointConnectionCollection.cs index 3e71e17b9a724..11a6a64e29526 100644 --- a/sdk/attestation/Azure.ResourceManager.Attestation/samples/Generated/Samples/Sample_AttestationPrivateEndpointConnectionCollection.cs +++ b/sdk/attestation/Azure.ResourceManager.Attestation/samples/Generated/Samples/Sample_AttestationPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Attestation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Attestation.Samples { public partial class Sample_AttestationPrivateEndpointConnectionCollection { - // AttestationProviderListPrivateEndpointConnections - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AttestationProviderListPrivateEndpointConnections() { // Generated from example definition: specification/attestation/resource-manager/Microsoft.Attestation/preview/2021-06-01-preview/examples/AttestationProviderListPrivateEndpointConnections.json @@ -49,12 +49,11 @@ public async Task GetAll_AttestationProviderListPrivateEndpointConnections() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AttestationProviderGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AttestationProviderGetPrivateEndpointConnection() { // Generated from example definition: specification/attestation/resource-manager/Microsoft.Attestation/preview/2021-06-01-preview/examples/AttestationProviderGetPrivateEndpointConnection.json @@ -87,9 +86,8 @@ public async Task Get_AttestationProviderGetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AttestationProviderGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AttestationProviderGetPrivateEndpointConnection() { // Generated from example definition: specification/attestation/resource-manager/Microsoft.Attestation/preview/2021-06-01-preview/examples/AttestationProviderGetPrivateEndpointConnection.json @@ -118,9 +116,8 @@ public async Task Exists_AttestationProviderGetPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // AttestationProviderGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AttestationProviderGetPrivateEndpointConnection() { // Generated from example definition: specification/attestation/resource-manager/Microsoft.Attestation/preview/2021-06-01-preview/examples/AttestationProviderGetPrivateEndpointConnection.json @@ -149,7 +146,7 @@ public async Task GetIfExists_AttestationProviderGetPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_AttestationProviderGetPrivateEndpointConnection() } } - // AttestationProviderPutPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AttestationProviderPutPrivateEndpointConnection() { // Generated from example definition: specification/attestation/resource-manager/Microsoft.Attestation/preview/2021-06-01-preview/examples/AttestationProviderPutPrivateEndpointConnection.json diff --git a/sdk/attestation/Azure.ResourceManager.Attestation/samples/Generated/Samples/Sample_AttestationPrivateEndpointConnectionResource.cs b/sdk/attestation/Azure.ResourceManager.Attestation/samples/Generated/Samples/Sample_AttestationPrivateEndpointConnectionResource.cs index c83112dfb92dc..96abb5ac17049 100644 --- a/sdk/attestation/Azure.ResourceManager.Attestation/samples/Generated/Samples/Sample_AttestationPrivateEndpointConnectionResource.cs +++ b/sdk/attestation/Azure.ResourceManager.Attestation/samples/Generated/Samples/Sample_AttestationPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Attestation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Attestation.Samples { public partial class Sample_AttestationPrivateEndpointConnectionResource { - // AttestationProviderGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AttestationProviderGetPrivateEndpointConnection() { // Generated from example definition: specification/attestation/resource-manager/Microsoft.Attestation/preview/2021-06-01-preview/examples/AttestationProviderGetPrivateEndpointConnection.json @@ -47,9 +47,8 @@ public async Task Get_AttestationProviderGetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AttestationProviderPutPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AttestationProviderPutPrivateEndpointConnection() { // Generated from example definition: specification/attestation/resource-manager/Microsoft.Attestation/preview/2021-06-01-preview/examples/AttestationProviderPutPrivateEndpointConnection.json @@ -88,9 +87,8 @@ public async Task Update_AttestationProviderPutPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AttestationProviderDeletePrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AttestationProviderDeletePrivateEndpointConnection() { // Generated from example definition: specification/attestation/resource-manager/Microsoft.Attestation/preview/2021-06-01-preview/examples/AttestationProviderDeletePrivateEndpointConnection.json @@ -113,7 +111,7 @@ public async Task Delete_AttestationProviderDeletePrivateEndpointConnection() // invoke the operation await attestationPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/attestation/Azure.ResourceManager.Attestation/samples/Generated/Samples/Sample_AttestationProviderCollection.cs b/sdk/attestation/Azure.ResourceManager.Attestation/samples/Generated/Samples/Sample_AttestationProviderCollection.cs index 3994146861689..d32830f56fdef 100644 --- a/sdk/attestation/Azure.ResourceManager.Attestation/samples/Generated/Samples/Sample_AttestationProviderCollection.cs +++ b/sdk/attestation/Azure.ResourceManager.Attestation/samples/Generated/Samples/Sample_AttestationProviderCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Attestation.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Attestation.Samples { public partial class Sample_AttestationProviderCollection { - // AttestationProviders_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AttestationProvidersGet() { // Generated from example definition: specification/attestation/resource-manager/Microsoft.Attestation/preview/2021-06-01-preview/examples/Get_AttestationProvider.json @@ -50,9 +50,8 @@ public async Task Get_AttestationProvidersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AttestationProviders_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AttestationProvidersGet() { // Generated from example definition: specification/attestation/resource-manager/Microsoft.Attestation/preview/2021-06-01-preview/examples/Get_AttestationProvider.json @@ -80,9 +79,8 @@ public async Task Exists_AttestationProvidersGet() Console.WriteLine($"Succeeded: {result}"); } - // AttestationProviders_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AttestationProvidersGet() { // Generated from example definition: specification/attestation/resource-manager/Microsoft.Attestation/preview/2021-06-01-preview/examples/Get_AttestationProvider.json @@ -110,7 +108,7 @@ public async Task GetIfExists_AttestationProvidersGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_AttestationProvidersGet() } } - // AttestationProviders_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AttestationProvidersCreate() { // Generated from example definition: specification/attestation/resource-manager/Microsoft.Attestation/preview/2021-06-01-preview/examples/Create_AttestationProvider.json @@ -169,9 +166,8 @@ public async Task CreateOrUpdate_AttestationProvidersCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AttestationProviders_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AttestationProvidersListByResourceGroup() { // Generated from example definition: specification/attestation/resource-manager/Microsoft.Attestation/preview/2021-06-01-preview/examples/Get_AttestationProvidersListByResourceGroup.json @@ -202,7 +198,7 @@ public async Task GetAll_AttestationProvidersListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/attestation/Azure.ResourceManager.Attestation/samples/Generated/Samples/Sample_AttestationProviderResource.cs b/sdk/attestation/Azure.ResourceManager.Attestation/samples/Generated/Samples/Sample_AttestationProviderResource.cs index 768624e43d727..f121c07567629 100644 --- a/sdk/attestation/Azure.ResourceManager.Attestation/samples/Generated/Samples/Sample_AttestationProviderResource.cs +++ b/sdk/attestation/Azure.ResourceManager.Attestation/samples/Generated/Samples/Sample_AttestationProviderResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Attestation.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Attestation.Samples { public partial class Sample_AttestationProviderResource { - // AttestationProviders_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AttestationProvidersGet() { // Generated from example definition: specification/attestation/resource-manager/Microsoft.Attestation/preview/2021-06-01-preview/examples/Get_AttestationProvider.json @@ -47,9 +47,8 @@ public async Task Get_AttestationProvidersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AttestationProviders_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AttestationProvidersUpdate() { // Generated from example definition: specification/attestation/resource-manager/Microsoft.Attestation/preview/2021-06-01-preview/examples/Update_AttestationProvider.json @@ -88,9 +87,8 @@ public async Task Update_AttestationProvidersUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AttestationProviders_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AttestationProvidersDelete() { // Generated from example definition: specification/attestation/resource-manager/Microsoft.Attestation/preview/2021-06-01-preview/examples/Delete_AttestationProvider.json @@ -112,12 +110,11 @@ public async Task Delete_AttestationProvidersDelete() // invoke the operation await attestationProvider.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AttestationProviders_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAttestationProviders_AttestationProvidersList() { // Generated from example definition: specification/attestation/resource-manager/Microsoft.Attestation/preview/2021-06-01-preview/examples/Get_AttestationProvidersList.json @@ -144,12 +141,11 @@ public async Task GetAttestationProviders_AttestationProvidersList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AttestationProviders_GetDefault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAttestationProvidersByDefaultProvider_AttestationProvidersGetDefault() { // Generated from example definition: specification/attestation/resource-manager/Microsoft.Attestation/preview/2021-06-01-preview/examples/Get_DefaultProviders.json @@ -176,12 +172,11 @@ public async Task GetAttestationProvidersByDefaultProvider_AttestationProvidersG Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AttestationProviders_GetDefaultWithLocation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDefaultByLocationAttestationProvider_AttestationProvidersGetDefaultWithLocation() { // Generated from example definition: specification/attestation/resource-manager/Microsoft.Attestation/preview/2021-06-01-preview/examples/Get_DefaultProviderByLocation.json @@ -209,9 +204,8 @@ public async Task GetDefaultByLocationAttestationProvider_AttestationProvidersGe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AttestationProviderListPrivateLinkResources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinkResourcesByProvider_AttestationProviderListPrivateLinkResources() { // Generated from example definition: specification/attestation/resource-manager/Microsoft.Attestation/preview/2021-06-01-preview/examples/AttestationProviderListPrivateLinkResources.json @@ -236,7 +230,7 @@ public async Task GetPrivateLinkResourcesByProvider_AttestationProviderListPriva Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_AuthorizationProviderOperationsMetadataCollection.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_AuthorizationProviderOperationsMetadataCollection.cs index 287b9933312ef..98894d4c212d4 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_AuthorizationProviderOperationsMetadataCollection.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_AuthorizationProviderOperationsMetadataCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_AuthorizationProviderOperationsMetadataCollection { - // List provider operations metadata for resource provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ListProviderOperationsMetadataForResourceProvider() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/GetProviderOperationsRP.json @@ -45,9 +45,8 @@ public async Task Get_ListProviderOperationsMetadataForResourceProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List provider operations metadata for resource provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ListProviderOperationsMetadataForResourceProvider() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/GetProviderOperationsRP.json @@ -72,9 +71,8 @@ public async Task Exists_ListProviderOperationsMetadataForResourceProvider() Console.WriteLine($"Succeeded: {result}"); } - // List provider operations metadata for resource provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ListProviderOperationsMetadataForResourceProvider() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/GetProviderOperationsRP.json @@ -99,7 +97,7 @@ public async Task GetIfExists_ListProviderOperationsMetadataForResourceProvider( if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -111,9 +109,8 @@ public async Task GetIfExists_ListProviderOperationsMetadataForResourceProvider( } } - // List provider operations metadata for all resource providers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListProviderOperationsMetadataForAllResourceProviders() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/GetAllProviderOperations.json @@ -141,7 +138,7 @@ public async Task GetAll_ListProviderOperationsMetadataForAllResourceProviders() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_AuthorizationProviderOperationsMetadataResource.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_AuthorizationProviderOperationsMetadataResource.cs index 44ae2d635f640..09d83f042a2cc 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_AuthorizationProviderOperationsMetadataResource.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_AuthorizationProviderOperationsMetadataResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_AuthorizationProviderOperationsMetadataResource { - // List provider operations metadata for resource provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ListProviderOperationsMetadataForResourceProvider() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/GetProviderOperationsRP.json diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_AuthorizationRoleDefinitionCollection.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_AuthorizationRoleDefinitionCollection.cs index 3a160927e6153..18bfa52302fa8 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_AuthorizationRoleDefinitionCollection.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_AuthorizationRoleDefinitionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_AuthorizationRoleDefinitionCollection { - // Get role definition by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRoleDefinitionByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/GetRoleDefinitionByName.json @@ -46,9 +46,8 @@ public async Task Get_GetRoleDefinitionByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get role definition by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRoleDefinitionByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/GetRoleDefinitionByName.json @@ -74,9 +73,8 @@ public async Task Exists_GetRoleDefinitionByName() Console.WriteLine($"Succeeded: {result}"); } - // Get role definition by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRoleDefinitionByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/GetRoleDefinitionByName.json @@ -102,7 +100,7 @@ public async Task GetIfExists_GetRoleDefinitionByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -114,9 +112,8 @@ public async Task GetIfExists_GetRoleDefinitionByName() } } - // Create role definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateRoleDefinition() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/PutRoleDefinition.json @@ -148,9 +145,8 @@ public async Task CreateOrUpdate_CreateRoleDefinition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List role definitions for scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRoleDefinitionsForScope() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/GetRoleDefinitionAtScope.json @@ -179,7 +175,7 @@ public async Task GetAll_ListRoleDefinitionsForScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_AuthorizationRoleDefinitionResource.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_AuthorizationRoleDefinitionResource.cs index 5ac3ff4a2cc2b..7a158fc5df9af 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_AuthorizationRoleDefinitionResource.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_AuthorizationRoleDefinitionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_AuthorizationRoleDefinitionResource { - // Delete role definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteRoleDefinition() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/DeleteRoleDefinition.json @@ -45,9 +45,8 @@ public async Task Delete_DeleteRoleDefinition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get role definition by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRoleDefinitionByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/GetRoleDefinitionByName.json @@ -75,9 +74,8 @@ public async Task Get_GetRoleDefinitionByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create role definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateRoleDefinition() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/PutRoleDefinition.json diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_DenyAssignmentCollection.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_DenyAssignmentCollection.cs index 87056c0482d57..88b4ff7c964a9 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_DenyAssignmentCollection.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_DenyAssignmentCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_DenyAssignmentCollection { - // Get deny assignment by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDenyAssignmentByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/GetDenyAssignmentByNameId.json @@ -46,9 +46,8 @@ public async Task Get_GetDenyAssignmentByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get deny assignment by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDenyAssignmentByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/GetDenyAssignmentByNameId.json @@ -74,9 +73,8 @@ public async Task Exists_GetDenyAssignmentByName() Console.WriteLine($"Succeeded: {result}"); } - // Get deny assignment by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDenyAssignmentByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/GetDenyAssignmentByNameId.json @@ -102,7 +100,7 @@ public async Task GetIfExists_GetDenyAssignmentByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -114,9 +112,8 @@ public async Task GetIfExists_GetDenyAssignmentByName() } } - // List deny assignments for scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDenyAssignmentsForScope() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/GetDenyAssignmentByScope.json @@ -145,7 +142,7 @@ public async Task GetAll_ListDenyAssignmentsForScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_DenyAssignmentResource.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_DenyAssignmentResource.cs index b0f121c4f5277..b7c5eaadf5ada 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_DenyAssignmentResource.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_DenyAssignmentResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_DenyAssignmentResource { - // Get deny assignment by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDenyAssignmentByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/GetDenyAssignmentByNameId.json diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs index a2dd0c8f77148..50973efb9cfaf 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Authorization.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_ResourceGroupResourceExtensions { - // List permissions for resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAzurePermissionsForResourceGroups_ListPermissionsForResourceGroup() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/GetPermissions.json @@ -42,12 +42,11 @@ public async Task GetAzurePermissionsForResourceGroups_ListPermissionsForResourc Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List permissions for resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAzurePermissionsForResources_ListPermissionsForResource() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/GetResourcePermissions.json @@ -75,7 +74,7 @@ public async Task GetAzurePermissionsForResources_ListPermissionsForResource() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentCollection.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentCollection.cs index 972cd1ba750c7..0cc5c48575197 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentCollection.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Authorization.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_RoleAssignmentCollection { - // Get role assignment by scope and name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRoleAssignmentByScopeAndName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/RoleAssignments_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetRoleAssignmentByScopeAndName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get role assignment by scope and name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRoleAssignmentByScopeAndName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/RoleAssignments_Get.json @@ -75,9 +74,8 @@ public async Task Exists_GetRoleAssignmentByScopeAndName() Console.WriteLine($"Succeeded: {result}"); } - // Get role assignment by scope and name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRoleAssignmentByScopeAndName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/RoleAssignments_Get.json @@ -103,7 +101,7 @@ public async Task GetIfExists_GetRoleAssignmentByScopeAndName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -115,9 +113,8 @@ public async Task GetIfExists_GetRoleAssignmentByScopeAndName() } } - // Create role assignment for resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateRoleAssignmentForResource() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/RoleAssignments_CreateForResource.json @@ -152,9 +149,8 @@ public async Task CreateOrUpdate_CreateRoleAssignmentForResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create role assignment for resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateRoleAssignmentForResourceGroup() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/RoleAssignments_CreateForResourceGroup.json @@ -189,9 +185,8 @@ public async Task CreateOrUpdate_CreateRoleAssignmentForResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create role assignment for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateRoleAssignmentForSubscription() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/RoleAssignments_CreateForSubscription.json @@ -226,9 +221,8 @@ public async Task CreateOrUpdate_CreateRoleAssignmentForSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List role assignments for scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRoleAssignmentsForScope() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/RoleAssignments_ListForScope.json @@ -257,7 +251,7 @@ public async Task GetAll_ListRoleAssignmentsForScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentResource.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentResource.cs index 9c72553fc2022..3d99d0cac8f53 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentResource.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Authorization.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_RoleAssignmentResource { - // Get role assignment by scope and name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRoleAssignmentByScopeAndName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/RoleAssignments_Get.json @@ -45,9 +45,8 @@ public async Task Get_GetRoleAssignmentByScopeAndName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create role assignment for resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateRoleAssignmentForResource() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/RoleAssignments_CreateForResource.json @@ -80,9 +79,8 @@ public async Task Update_CreateRoleAssignmentForResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create role assignment for resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateRoleAssignmentForResourceGroup() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/RoleAssignments_CreateForResourceGroup.json @@ -115,9 +113,8 @@ public async Task Update_CreateRoleAssignmentForResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create role assignment for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateRoleAssignmentForSubscription() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/RoleAssignments_CreateForSubscription.json @@ -150,9 +147,8 @@ public async Task Update_CreateRoleAssignmentForSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete role assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteRoleAssignment() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2022-04-01/examples/RoleAssignments_Delete.json diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentScheduleCollection.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentScheduleCollection.cs index 3c829edaca18c..e60e7ff189d11 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentScheduleCollection.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentScheduleCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_RoleAssignmentScheduleCollection { - // GetRoleAssignmentScheduleByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRoleAssignmentScheduleByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleByName.json @@ -46,9 +46,8 @@ public async Task Get_GetRoleAssignmentScheduleByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetRoleAssignmentScheduleByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRoleAssignmentScheduleByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleByName.json @@ -74,9 +73,8 @@ public async Task Exists_GetRoleAssignmentScheduleByName() Console.WriteLine($"Succeeded: {result}"); } - // GetRoleAssignmentScheduleByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRoleAssignmentScheduleByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleByName.json @@ -102,7 +100,7 @@ public async Task GetIfExists_GetRoleAssignmentScheduleByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -114,9 +112,8 @@ public async Task GetIfExists_GetRoleAssignmentScheduleByName() } } - // GetRoleAssignmentSchedulesByScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetRoleAssignmentSchedulesByScope() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentSchedulesByScope.json @@ -146,7 +143,7 @@ public async Task GetAll_GetRoleAssignmentSchedulesByScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentScheduleInstanceCollection.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentScheduleInstanceCollection.cs index 3f54803e60033..cc57684bb61cf 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentScheduleInstanceCollection.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentScheduleInstanceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_RoleAssignmentScheduleInstanceCollection { - // GetRoleAssignmentScheduleInstancesByScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetRoleAssignmentScheduleInstancesByScope() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleInstancesByScope.json @@ -46,12 +46,11 @@ public async Task GetAll_GetRoleAssignmentScheduleInstancesByScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetRoleAssignmentScheduleInstanceByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRoleAssignmentScheduleInstanceByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleInstanceByName.json @@ -81,9 +80,8 @@ public async Task Get_GetRoleAssignmentScheduleInstanceByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetRoleAssignmentScheduleInstanceByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRoleAssignmentScheduleInstanceByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleInstanceByName.json @@ -109,9 +107,8 @@ public async Task Exists_GetRoleAssignmentScheduleInstanceByName() Console.WriteLine($"Succeeded: {result}"); } - // GetRoleAssignmentScheduleInstanceByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRoleAssignmentScheduleInstanceByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleInstanceByName.json @@ -137,7 +134,7 @@ public async Task GetIfExists_GetRoleAssignmentScheduleInstanceByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentScheduleInstanceResource.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentScheduleInstanceResource.cs index 64759bb8436ac..18580272cd725 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentScheduleInstanceResource.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentScheduleInstanceResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_RoleAssignmentScheduleInstanceResource { - // GetRoleAssignmentScheduleInstanceByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRoleAssignmentScheduleInstanceByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleInstanceByName.json diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentScheduleRequestCollection.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentScheduleRequestCollection.cs index 4a7f5a1f35f2a..3eb78961c8a8d 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentScheduleRequestCollection.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentScheduleRequestCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Authorization.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_RoleAssignmentScheduleRequestCollection { - // PutRoleAssignmentScheduleRequest - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutRoleAssignmentScheduleRequest() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PutRoleAssignmentScheduleRequest.json @@ -62,9 +62,8 @@ public async Task CreateOrUpdate_PutRoleAssignmentScheduleRequest() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetRoleAssignmentScheduleRequestByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRoleAssignmentScheduleRequestByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleRequestByName.json @@ -94,9 +93,8 @@ public async Task Get_GetRoleAssignmentScheduleRequestByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetRoleAssignmentScheduleRequestByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRoleAssignmentScheduleRequestByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleRequestByName.json @@ -122,9 +120,8 @@ public async Task Exists_GetRoleAssignmentScheduleRequestByName() Console.WriteLine($"Succeeded: {result}"); } - // GetRoleAssignmentScheduleRequestByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRoleAssignmentScheduleRequestByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleRequestByName.json @@ -150,7 +147,7 @@ public async Task GetIfExists_GetRoleAssignmentScheduleRequestByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_GetRoleAssignmentScheduleRequestByName() } } - // GetRoleAssignmentScheduleRequestByScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetRoleAssignmentScheduleRequestByScope() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleRequestByScope.json @@ -194,7 +190,7 @@ public async Task GetAll_GetRoleAssignmentScheduleRequestByScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentScheduleRequestResource.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentScheduleRequestResource.cs index c0fe0314aef55..4605a43cd9468 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentScheduleRequestResource.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentScheduleRequestResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Authorization.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_RoleAssignmentScheduleRequestResource { - // PutRoleAssignmentScheduleRequest - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PutRoleAssignmentScheduleRequest() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PutRoleAssignmentScheduleRequest.json @@ -60,9 +60,8 @@ public async Task Update_PutRoleAssignmentScheduleRequest() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetRoleAssignmentScheduleRequestByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRoleAssignmentScheduleRequestByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleRequestByName.json @@ -90,9 +89,8 @@ public async Task Get_GetRoleAssignmentScheduleRequestByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CancelRoleAssignmentScheduleRequestByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cancel_CancelRoleAssignmentScheduleRequestByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/CancelRoleAssignmentScheduleRequestByName.json @@ -113,12 +111,11 @@ public async Task Cancel_CancelRoleAssignmentScheduleRequestByName() // invoke the operation await roleAssignmentScheduleRequest.CancelAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ValidateRoleAssignmentScheduleRequestByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Validate_ValidateRoleAssignmentScheduleRequestByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/ValidateRoleAssignmentScheduleRequestByName.json diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentScheduleResource.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentScheduleResource.cs index ea350207c75ae..e5cd34d7653d7 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentScheduleResource.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleAssignmentScheduleResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_RoleAssignmentScheduleResource { - // GetRoleAssignmentScheduleByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRoleAssignmentScheduleByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleAssignmentScheduleByName.json diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleEligibilityScheduleCollection.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleEligibilityScheduleCollection.cs index f7f1bfcd933d8..739e65c296e47 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleEligibilityScheduleCollection.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleEligibilityScheduleCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_RoleEligibilityScheduleCollection { - // GetRoleEligibilityScheduleByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRoleEligibilityScheduleByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleByName.json @@ -46,9 +46,8 @@ public async Task Get_GetRoleEligibilityScheduleByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetRoleEligibilityScheduleByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRoleEligibilityScheduleByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleByName.json @@ -74,9 +73,8 @@ public async Task Exists_GetRoleEligibilityScheduleByName() Console.WriteLine($"Succeeded: {result}"); } - // GetRoleEligibilityScheduleByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRoleEligibilityScheduleByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleByName.json @@ -102,7 +100,7 @@ public async Task GetIfExists_GetRoleEligibilityScheduleByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -114,9 +112,8 @@ public async Task GetIfExists_GetRoleEligibilityScheduleByName() } } - // GetRoleEligibilitySchedulesByScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetRoleEligibilitySchedulesByScope() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilitySchedulesByScope.json @@ -146,7 +143,7 @@ public async Task GetAll_GetRoleEligibilitySchedulesByScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleEligibilityScheduleInstanceCollection.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleEligibilityScheduleInstanceCollection.cs index 5fafcccf4d516..ac9933f9944e2 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleEligibilityScheduleInstanceCollection.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleEligibilityScheduleInstanceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_RoleEligibilityScheduleInstanceCollection { - // GetRoleEligibilityScheduleInstancesByScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetRoleEligibilityScheduleInstancesByScope() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleInstancesByScope.json @@ -46,12 +46,11 @@ public async Task GetAll_GetRoleEligibilityScheduleInstancesByScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetRoleEligibilityScheduleInstanceByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRoleEligibilityScheduleInstanceByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleInstanceByName.json @@ -81,9 +80,8 @@ public async Task Get_GetRoleEligibilityScheduleInstanceByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetRoleEligibilityScheduleInstanceByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRoleEligibilityScheduleInstanceByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleInstanceByName.json @@ -109,9 +107,8 @@ public async Task Exists_GetRoleEligibilityScheduleInstanceByName() Console.WriteLine($"Succeeded: {result}"); } - // GetRoleEligibilityScheduleInstanceByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRoleEligibilityScheduleInstanceByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleInstanceByName.json @@ -137,7 +134,7 @@ public async Task GetIfExists_GetRoleEligibilityScheduleInstanceByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleEligibilityScheduleInstanceResource.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleEligibilityScheduleInstanceResource.cs index e8fb3d17ccb83..83f7012d63239 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleEligibilityScheduleInstanceResource.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleEligibilityScheduleInstanceResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_RoleEligibilityScheduleInstanceResource { - // GetRoleEligibilityScheduleInstanceByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRoleEligibilityScheduleInstanceByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleInstanceByName.json diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleEligibilityScheduleRequestCollection.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleEligibilityScheduleRequestCollection.cs index 04317b0728416..0c71284d6e61b 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleEligibilityScheduleRequestCollection.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleEligibilityScheduleRequestCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Authorization.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_RoleEligibilityScheduleRequestCollection { - // PutRoleEligibilityScheduleRequest - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutRoleEligibilityScheduleRequest() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PutRoleEligibilityScheduleRequest.json @@ -61,9 +61,8 @@ public async Task CreateOrUpdate_PutRoleEligibilityScheduleRequest() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetRoleEligibilityScheduleRequestByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRoleEligibilityScheduleRequestByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleRequestByName.json @@ -93,9 +92,8 @@ public async Task Get_GetRoleEligibilityScheduleRequestByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetRoleEligibilityScheduleRequestByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRoleEligibilityScheduleRequestByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleRequestByName.json @@ -121,9 +119,8 @@ public async Task Exists_GetRoleEligibilityScheduleRequestByName() Console.WriteLine($"Succeeded: {result}"); } - // GetRoleEligibilityScheduleRequestByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRoleEligibilityScheduleRequestByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleRequestByName.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetRoleEligibilityScheduleRequestByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetRoleEligibilityScheduleRequestByName() } } - // GetRoleEligibilityScheduleRequestByScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetRoleEligibilityScheduleRequestByScope() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleRequestByScope.json @@ -193,7 +189,7 @@ public async Task GetAll_GetRoleEligibilityScheduleRequestByScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleEligibilityScheduleRequestResource.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleEligibilityScheduleRequestResource.cs index b8dffe3afbf62..2b16952d67f6f 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleEligibilityScheduleRequestResource.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleEligibilityScheduleRequestResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Authorization.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_RoleEligibilityScheduleRequestResource { - // PutRoleEligibilityScheduleRequest - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PutRoleEligibilityScheduleRequest() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PutRoleEligibilityScheduleRequest.json @@ -59,9 +59,8 @@ public async Task Update_PutRoleEligibilityScheduleRequest() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetRoleEligibilityScheduleRequestByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRoleEligibilityScheduleRequestByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleRequestByName.json @@ -89,9 +88,8 @@ public async Task Get_GetRoleEligibilityScheduleRequestByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CancelRoleEligibilityScheduleRequestByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cancel_CancelRoleEligibilityScheduleRequestByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/CancelRoleEligibilityScheduleRequestByName.json @@ -112,12 +110,11 @@ public async Task Cancel_CancelRoleEligibilityScheduleRequestByName() // invoke the operation await roleEligibilityScheduleRequest.CancelAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ValidateRoleEligibilityScheduleRequestByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Validate_ValidateRoleEligibilityScheduleRequestByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/ValidateRoleEligibilityScheduleRequestByName.json diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleEligibilityScheduleResource.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleEligibilityScheduleResource.cs index b87977c538657..e11c68492264f 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleEligibilityScheduleResource.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleEligibilityScheduleResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_RoleEligibilityScheduleResource { - // GetRoleEligibilityScheduleByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRoleEligibilityScheduleByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleEligibilityScheduleByName.json diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleManagementPolicyAssignmentCollection.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleManagementPolicyAssignmentCollection.cs index 6a2a147ac4902..70e46a99c05d2 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleManagementPolicyAssignmentCollection.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleManagementPolicyAssignmentCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_RoleManagementPolicyAssignmentCollection { - // GetConfigurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetConfigurations() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyAssignmentByName.json @@ -46,9 +46,8 @@ public async Task Get_GetConfigurations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetConfigurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetConfigurations() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyAssignmentByName.json @@ -74,9 +73,8 @@ public async Task Exists_GetConfigurations() Console.WriteLine($"Succeeded: {result}"); } - // GetConfigurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetConfigurations() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyAssignmentByName.json @@ -102,7 +100,7 @@ public async Task GetIfExists_GetConfigurations() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -114,9 +112,8 @@ public async Task GetIfExists_GetConfigurations() } } - // PutRoleManagementPolicyAssignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutRoleManagementPolicyAssignment() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PutRoleManagementPolicyAssignment.json @@ -153,9 +150,8 @@ public async Task CreateOrUpdate_PutRoleManagementPolicyAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetRoleManagementPolicyAssignmentByScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetRoleManagementPolicyAssignmentByScope() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyAssignmentByScope.json @@ -184,7 +180,7 @@ public async Task GetAll_GetRoleManagementPolicyAssignmentByScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleManagementPolicyAssignmentResource.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleManagementPolicyAssignmentResource.cs index 96af783c7d977..59264d6b08fcb 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleManagementPolicyAssignmentResource.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleManagementPolicyAssignmentResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_RoleManagementPolicyAssignmentResource { - // GetConfigurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetConfigurations() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyAssignmentByName.json @@ -44,9 +44,8 @@ public async Task Get_GetConfigurations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PutRoleManagementPolicyAssignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PutRoleManagementPolicyAssignment() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PutRoleManagementPolicyAssignment.json diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleManagementPolicyCollection.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleManagementPolicyCollection.cs index 9699b7da6fc9c..4a15cd391d859 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleManagementPolicyCollection.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleManagementPolicyCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_RoleManagementPolicyCollection { - // GetRoleManagementPolicyByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRoleManagementPolicyByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyByName.json @@ -46,9 +46,8 @@ public async Task Get_GetRoleManagementPolicyByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetRoleManagementPolicyByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRoleManagementPolicyByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyByName.json @@ -74,9 +73,8 @@ public async Task Exists_GetRoleManagementPolicyByName() Console.WriteLine($"Succeeded: {result}"); } - // GetRoleManagementPolicyByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRoleManagementPolicyByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyByName.json @@ -102,7 +100,7 @@ public async Task GetIfExists_GetRoleManagementPolicyByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -114,9 +112,8 @@ public async Task GetIfExists_GetRoleManagementPolicyByName() } } - // GetRoleManagementPolicyByRoleDefinitionFilter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetRoleManagementPolicyByRoleDefinitionFilter() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyByScope.json @@ -145,7 +142,7 @@ public async Task GetAll_GetRoleManagementPolicyByRoleDefinitionFilter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleManagementPolicyResource.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleManagementPolicyResource.cs index 3064f6699df14..d08173d9f8e5d 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleManagementPolicyResource.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_RoleManagementPolicyResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Authorization.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_RoleManagementPolicyResource { - // GetRoleManagementPolicyByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRoleManagementPolicyByName() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/GetRoleManagementPolicyByName.json @@ -46,9 +46,8 @@ public async Task Get_GetRoleManagementPolicyByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PatchPartialRoleManagementPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchPartialRoleManagementPolicy() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PatchPartialRoleManagementPolicy.json @@ -135,9 +134,8 @@ public async Task Update_PatchPartialRoleManagementPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PatchRoleManagementPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchRoleManagementPolicy() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2020-10-01/examples/PatchRoleManagementPolicy.json diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index dacf95326fc1e..29e83aae7b26f 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Authorization.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_SubscriptionResourceExtensions { - // List classic administrators - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetClassicAdministrators_ListClassicAdministrators() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples/GetClassicAdministrators.json @@ -41,7 +41,7 @@ public async Task GetClassicAdministrators_ListClassicAdministrators() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_TenantResourceExtensions.cs b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_TenantResourceExtensions.cs index 8c3e407079c81..bbc64fd8df0e4 100644 --- a/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_TenantResourceExtensions.cs +++ b/sdk/authorization/Azure.ResourceManager.Authorization/samples/Generated/Samples/Sample_TenantResourceExtensions.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Authorization.Samples { public partial class Sample_TenantResourceExtensions { - // Elevate access global administrator - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ElevateAccessGlobalAdministrator_ElevateAccessGlobalAdministrator() { // Generated from example definition: specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples/ElevateAccess.json @@ -34,7 +34,7 @@ public async Task ElevateAccessGlobalAdministrator_ElevateAccessGlobalAdministra // invoke the operation await tenantResource.ElevateAccessGlobalAdministratorAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageBestPracticeCollection.cs b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageBestPracticeCollection.cs index 1a0cbd33631fc..86ea7802fe6c4 100644 --- a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageBestPracticeCollection.cs +++ b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageBestPracticeCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Automanage.Samples { public partial class Sample_AutomanageBestPracticeCollection { - // Get an Automanage best practice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAutomanageBestPractice() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getBestPractice.json @@ -45,9 +45,8 @@ public async Task Get_GetAnAutomanageBestPractice() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an Automanage best practice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnAutomanageBestPractice() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getBestPractice.json @@ -72,9 +71,8 @@ public async Task Exists_GetAnAutomanageBestPractice() Console.WriteLine($"Succeeded: {result}"); } - // Get an Automanage best practice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnAutomanageBestPractice() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getBestPractice.json @@ -99,7 +97,7 @@ public async Task GetIfExists_GetAnAutomanageBestPractice() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -111,9 +109,8 @@ public async Task GetIfExists_GetAnAutomanageBestPractice() } } - // List Automanage bestPractices - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAutomanageBestPractices() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/listBestPracticesByTenant.json @@ -141,7 +138,7 @@ public async Task GetAll_ListAutomanageBestPractices() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageBestPracticeResource.cs b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageBestPracticeResource.cs index d8503c42cce42..e1d37de5b34a7 100644 --- a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageBestPracticeResource.cs +++ b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageBestPracticeResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Automanage.Samples { public partial class Sample_AutomanageBestPracticeResource { - // Get an Automanage best practice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAutomanageBestPractice() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getBestPractice.json diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageConfigurationProfileCollection.cs b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageConfigurationProfileCollection.cs index ed83c94571ef7..d3e3a0fc577fb 100644 --- a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageConfigurationProfileCollection.cs +++ b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageConfigurationProfileCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Automanage.Samples { public partial class Sample_AutomanageConfigurationProfileCollection { - // Create or update configuration profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateConfigurationProfile() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/createOrUpdateConfigurationProfile.json @@ -70,9 +70,8 @@ public async Task CreateOrUpdate_CreateOrUpdateConfigurationProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a configuration profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAConfigurationProfile() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getConfigurationProfile.json @@ -104,9 +103,8 @@ public async Task Get_GetAConfigurationProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a configuration profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAConfigurationProfile() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getConfigurationProfile.json @@ -134,9 +132,8 @@ public async Task Exists_GetAConfigurationProfile() Console.WriteLine($"Succeeded: {result}"); } - // Get a configuration profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAConfigurationProfile() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getConfigurationProfile.json @@ -164,7 +161,7 @@ public async Task GetIfExists_GetAConfigurationProfile() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -176,9 +173,8 @@ public async Task GetIfExists_GetAConfigurationProfile() } } - // List configuration profiles by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListConfigurationProfilesByResourceGroup() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/listConfigurationProfilesByResourceGroup.json @@ -209,7 +205,7 @@ public async Task GetAll_ListConfigurationProfilesByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageConfigurationProfileResource.cs b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageConfigurationProfileResource.cs index 379300d3878c1..eb8b4c9c3c278 100644 --- a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageConfigurationProfileResource.cs +++ b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageConfigurationProfileResource.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Automanage.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Automanage.Samples { public partial class Sample_AutomanageConfigurationProfileResource { - // Get a configuration profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAConfigurationProfile() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getConfigurationProfile.json @@ -48,9 +48,8 @@ public async Task Get_GetAConfigurationProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a configuration profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAConfigurationProfile() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/deleteConfigurationProfile.json @@ -72,12 +71,11 @@ public async Task Delete_DeleteAConfigurationProfile() // invoke the operation await automanageConfigurationProfile.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update configuration profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateConfigurationProfile() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/updateConfigurationProfile.json @@ -125,9 +123,8 @@ public async Task Update_UpdateConfigurationProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List configuration profiles by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAutomanageConfigurationProfiles_ListConfigurationProfilesBySubscription() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/listConfigurationProfilesBySubscription.json @@ -154,7 +151,7 @@ public async Task GetAutomanageConfigurationProfiles_ListConfigurationProfilesBy Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageConfigurationProfileVersionCollection.cs b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageConfigurationProfileVersionCollection.cs index 29bf5b906af36..f4f32db0cbd20 100644 --- a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageConfigurationProfileVersionCollection.cs +++ b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageConfigurationProfileVersionCollection.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Automanage.Samples { public partial class Sample_AutomanageConfigurationProfileVersionCollection { - // Create or update configuration profile version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateConfigurationProfileVersion() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/createOrUpdateConfigurationProfileVersion.json @@ -70,9 +70,8 @@ public async Task CreateOrUpdate_CreateOrUpdateConfigurationProfileVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a configuration profile version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAConfigurationProfileVersion() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getConfigurationProfileVersion.json @@ -105,9 +104,8 @@ public async Task Get_GetAConfigurationProfileVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a configuration profile version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAConfigurationProfileVersion() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getConfigurationProfileVersion.json @@ -136,9 +134,8 @@ public async Task Exists_GetAConfigurationProfileVersion() Console.WriteLine($"Succeeded: {result}"); } - // Get a configuration profile version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAConfigurationProfileVersion() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getConfigurationProfileVersion.json @@ -167,7 +164,7 @@ public async Task GetIfExists_GetAConfigurationProfileVersion() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -179,9 +176,8 @@ public async Task GetIfExists_GetAConfigurationProfileVersion() } } - // List configuration profile versions by configuration profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListConfigurationProfileVersionsByConfigurationProfile() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/listConfigurationProfileVersions.json @@ -213,7 +209,7 @@ public async Task GetAll_ListConfigurationProfileVersionsByConfigurationProfile( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageConfigurationProfileVersionResource.cs b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageConfigurationProfileVersionResource.cs index 18e956487b0f3..6d28589a9b697 100644 --- a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageConfigurationProfileVersionResource.cs +++ b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageConfigurationProfileVersionResource.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Automanage.Samples { public partial class Sample_AutomanageConfigurationProfileVersionResource { - // Create or update configuration profile version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateConfigurationProfileVersion() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/createOrUpdateConfigurationProfileVersion.json @@ -67,9 +67,8 @@ public async Task Update_CreateOrUpdateConfigurationProfileVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a configuration profile version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAConfigurationProfileVersion() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getConfigurationProfileVersion.json @@ -99,9 +98,8 @@ public async Task Get_GetAConfigurationProfileVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a configuration profile version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAConfigurationProfileVersion() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/deleteConfigurationProfileVersion.json @@ -124,7 +122,7 @@ public async Task Delete_DeleteAConfigurationProfileVersion() // invoke the operation await automanageConfigurationProfileVersion.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHciClusterConfigurationProfileAssignmentCollection.cs b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHciClusterConfigurationProfileAssignmentCollection.cs index cfa3108ee66f1..be297e2812e59 100644 --- a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHciClusterConfigurationProfileAssignmentCollection.cs +++ b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHciClusterConfigurationProfileAssignmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automanage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automanage.Samples { public partial class Sample_AutomanageHciClusterConfigurationProfileAssignmentCollection { - // List configuration profile assignments by resourceGroup and cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListConfigurationProfileAssignmentsByResourceGroupAndCluster() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/listConfigurationProfileAssignmentsByClusterName.json @@ -48,12 +48,11 @@ public async Task GetAll_ListConfigurationProfileAssignmentsByResourceGroupAndCl Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create or update a HCI configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAHCIConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/createOrUpdateConfigurationProfileHCIAssignment.json @@ -93,9 +92,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAHCIConfigurationProfileAssignmen Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a HCI configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAHCIConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getConfigurationProfileHCIAssignment.json @@ -127,9 +125,8 @@ public async Task Get_GetAHCIConfigurationProfileAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a HCI configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAHCIConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getConfigurationProfileHCIAssignment.json @@ -157,9 +154,8 @@ public async Task Exists_GetAHCIConfigurationProfileAssignment() Console.WriteLine($"Succeeded: {result}"); } - // Get a HCI configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAHCIConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getConfigurationProfileHCIAssignment.json @@ -187,7 +183,7 @@ public async Task GetIfExists_GetAHCIConfigurationProfileAssignment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHciClusterConfigurationProfileAssignmentReportCollection.cs b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHciClusterConfigurationProfileAssignmentReportCollection.cs index 975a3d1c9e061..380d6e50af628 100644 --- a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHciClusterConfigurationProfileAssignmentReportCollection.cs +++ b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHciClusterConfigurationProfileAssignmentReportCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Automanage.Samples { public partial class Sample_AutomanageHciClusterConfigurationProfileAssignmentReportCollection { - // Get a report for a HCI configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAReportForAHCIConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getHCIReport.json @@ -50,9 +50,8 @@ public async Task Get_GetAReportForAHCIConfigurationProfileAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a report for a HCI configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAReportForAHCIConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getHCIReport.json @@ -82,9 +81,8 @@ public async Task Exists_GetAReportForAHCIConfigurationProfileAssignment() Console.WriteLine($"Succeeded: {result}"); } - // Get a report for a HCI configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAReportForAHCIConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getHCIReport.json @@ -114,7 +112,7 @@ public async Task GetIfExists_GetAReportForAHCIConfigurationProfileAssignment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -126,9 +124,8 @@ public async Task GetIfExists_GetAReportForAHCIConfigurationProfileAssignment() } } - // List reports by HCI configuration profiles assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListReportsByHCIConfigurationProfilesAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/listReportsByconfigurationProfileHCIAssignment.json @@ -161,7 +158,7 @@ public async Task GetAll_ListReportsByHCIConfigurationProfilesAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHciClusterConfigurationProfileAssignmentReportResource.cs b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHciClusterConfigurationProfileAssignmentReportResource.cs index 8e88772cf3584..a5eaeff4ff1d1 100644 --- a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHciClusterConfigurationProfileAssignmentReportResource.cs +++ b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHciClusterConfigurationProfileAssignmentReportResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Automanage.Samples { public partial class Sample_AutomanageHciClusterConfigurationProfileAssignmentReportResource { - // Get a report for a HCI configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAReportForAHCIConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getHCIReport.json diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHciClusterConfigurationProfileAssignmentResource.cs b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHciClusterConfigurationProfileAssignmentResource.cs index f2adf15dd210b..09e9790b2f9e5 100644 --- a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHciClusterConfigurationProfileAssignmentResource.cs +++ b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHciClusterConfigurationProfileAssignmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automanage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automanage.Samples { public partial class Sample_AutomanageHciClusterConfigurationProfileAssignmentResource { - // Create or update a HCI configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAHCIConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/createOrUpdateConfigurationProfileHCIAssignment.json @@ -55,9 +55,8 @@ public async Task Update_CreateOrUpdateAHCIConfigurationProfileAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a HCI configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAHCIConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getConfigurationProfileHCIAssignment.json @@ -87,9 +86,8 @@ public async Task Get_GetAHCIConfigurationProfileAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a HCI configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAHCIConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/deleteConfigurationProfileHCIAssignment.json @@ -112,7 +110,7 @@ public async Task Delete_DeleteAHCIConfigurationProfileAssignment() // invoke the operation await automanageHciClusterConfigurationProfileAssignment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHcrpConfigurationProfileAssignmentCollection.cs b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHcrpConfigurationProfileAssignmentCollection.cs index bb6632c67971a..89d7c21b61cf8 100644 --- a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHcrpConfigurationProfileAssignmentCollection.cs +++ b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHcrpConfigurationProfileAssignmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automanage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automanage.Samples { public partial class Sample_AutomanageHcrpConfigurationProfileAssignmentCollection { - // List configuration profile assignments by resourceGroup and machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListConfigurationProfileAssignmentsByResourceGroupAndMachine() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/listConfigurationProfileAssignmentsByMachineName.json @@ -48,12 +48,11 @@ public async Task GetAll_ListConfigurationProfileAssignmentsByResourceGroupAndMa Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create or update HCRP configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateHCRPConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/createOrUpdateConfigurationProfileHCRPAssignment.json @@ -93,9 +92,8 @@ public async Task CreateOrUpdate_CreateOrUpdateHCRPConfigurationProfileAssignmen Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a HCRP configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAHCRPConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getConfigurationProfileHCRPAssignment.json @@ -127,9 +125,8 @@ public async Task Get_GetAHCRPConfigurationProfileAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a HCRP configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAHCRPConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getConfigurationProfileHCRPAssignment.json @@ -157,9 +154,8 @@ public async Task Exists_GetAHCRPConfigurationProfileAssignment() Console.WriteLine($"Succeeded: {result}"); } - // Get a HCRP configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAHCRPConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getConfigurationProfileHCRPAssignment.json @@ -187,7 +183,7 @@ public async Task GetIfExists_GetAHCRPConfigurationProfileAssignment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHcrpConfigurationProfileAssignmentReportCollection.cs b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHcrpConfigurationProfileAssignmentReportCollection.cs index 1ce24a48ac89c..9c541392e7a26 100644 --- a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHcrpConfigurationProfileAssignmentReportCollection.cs +++ b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHcrpConfigurationProfileAssignmentReportCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Automanage.Samples { public partial class Sample_AutomanageHcrpConfigurationProfileAssignmentReportCollection { - // Get a report for a HCRP configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAReportForAHCRPConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getHCRPReport.json @@ -50,9 +50,8 @@ public async Task Get_GetAReportForAHCRPConfigurationProfileAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a report for a HCRP configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAReportForAHCRPConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getHCRPReport.json @@ -82,9 +81,8 @@ public async Task Exists_GetAReportForAHCRPConfigurationProfileAssignment() Console.WriteLine($"Succeeded: {result}"); } - // Get a report for a HCRP configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAReportForAHCRPConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getHCRPReport.json @@ -114,7 +112,7 @@ public async Task GetIfExists_GetAReportForAHCRPConfigurationProfileAssignment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -126,9 +124,8 @@ public async Task GetIfExists_GetAReportForAHCRPConfigurationProfileAssignment() } } - // List reports by HCRP configuration profiles assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListReportsByHCRPConfigurationProfilesAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/listReportsByconfigurationProfileHCRPAssignment.json @@ -161,7 +158,7 @@ public async Task GetAll_ListReportsByHCRPConfigurationProfilesAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHcrpConfigurationProfileAssignmentReportResource.cs b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHcrpConfigurationProfileAssignmentReportResource.cs index 34616fe3d7ecb..7f0a4a323c8ef 100644 --- a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHcrpConfigurationProfileAssignmentReportResource.cs +++ b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHcrpConfigurationProfileAssignmentReportResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Automanage.Samples { public partial class Sample_AutomanageHcrpConfigurationProfileAssignmentReportResource { - // Get a report for a HCRP configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAReportForAHCRPConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getHCRPReport.json diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHcrpConfigurationProfileAssignmentResource.cs b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHcrpConfigurationProfileAssignmentResource.cs index 0154539046ea4..0d99602edf0ee 100644 --- a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHcrpConfigurationProfileAssignmentResource.cs +++ b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageHcrpConfigurationProfileAssignmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automanage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automanage.Samples { public partial class Sample_AutomanageHcrpConfigurationProfileAssignmentResource { - // Create or update HCRP configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateHCRPConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/createOrUpdateConfigurationProfileHCRPAssignment.json @@ -55,9 +55,8 @@ public async Task Update_CreateOrUpdateHCRPConfigurationProfileAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a HCRP configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAHCRPConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getConfigurationProfileHCRPAssignment.json @@ -87,9 +86,8 @@ public async Task Get_GetAHCRPConfigurationProfileAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a HCRP configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAHCRPConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/deleteConfigurationProfileHCRPAssignment.json @@ -112,7 +110,7 @@ public async Task Delete_DeleteAHCRPConfigurationProfileAssignment() // invoke the operation await automanageHcrpConfigurationProfileAssignment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageVmConfigurationProfileAssignmentCollection.cs b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageVmConfigurationProfileAssignmentCollection.cs index 8115f84a36268..0c4019c55c0ed 100644 --- a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageVmConfigurationProfileAssignmentCollection.cs +++ b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageVmConfigurationProfileAssignmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automanage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automanage.Samples { public partial class Sample_AutomanageVmConfigurationProfileAssignmentCollection { - // Create or update configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/createOrUpdateConfigurationProfileAssignment.json @@ -57,9 +57,8 @@ public async Task CreateOrUpdate_CreateOrUpdateConfigurationProfileAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getConfigurationProfileAssignment.json @@ -91,9 +90,8 @@ public async Task Get_GetAConfigurationProfileAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getConfigurationProfileAssignment.json @@ -121,9 +119,8 @@ public async Task Exists_GetAConfigurationProfileAssignment() Console.WriteLine($"Succeeded: {result}"); } - // Get a configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getConfigurationProfileAssignment.json @@ -151,7 +148,7 @@ public async Task GetIfExists_GetAConfigurationProfileAssignment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -163,9 +160,8 @@ public async Task GetIfExists_GetAConfigurationProfileAssignment() } } - // List configuration profile assignments by resourceGroup and virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListConfigurationProfileAssignmentsByResourceGroupAndVirtualMachine() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/listConfigurationProfileAssignmentsByVirtualMachines.json @@ -196,7 +192,7 @@ public async Task GetAll_ListConfigurationProfileAssignmentsByResourceGroupAndVi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageVmConfigurationProfileAssignmentReportCollection.cs b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageVmConfigurationProfileAssignmentReportCollection.cs index 7eceb85f7f958..3116d51fc08af 100644 --- a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageVmConfigurationProfileAssignmentReportCollection.cs +++ b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageVmConfigurationProfileAssignmentReportCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Automanage.Samples { public partial class Sample_AutomanageVmConfigurationProfileAssignmentReportCollection { - // Get a report for a configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAReportForAConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getReport.json @@ -50,9 +50,8 @@ public async Task Get_GetAReportForAConfigurationProfileAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a report for a configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAReportForAConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getReport.json @@ -82,9 +81,8 @@ public async Task Exists_GetAReportForAConfigurationProfileAssignment() Console.WriteLine($"Succeeded: {result}"); } - // Get a report for a configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAReportForAConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getReport.json @@ -114,7 +112,7 @@ public async Task GetIfExists_GetAReportForAConfigurationProfileAssignment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -126,9 +124,8 @@ public async Task GetIfExists_GetAReportForAConfigurationProfileAssignment() } } - // List reports by configuration profiles assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListReportsByConfigurationProfilesAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/listReportsByconfigurationProfileAssignment.json @@ -161,7 +158,7 @@ public async Task GetAll_ListReportsByConfigurationProfilesAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageVmConfigurationProfileAssignmentReportResource.cs b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageVmConfigurationProfileAssignmentReportResource.cs index 66e3b66a306f2..05016e9eaeede 100644 --- a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageVmConfigurationProfileAssignmentReportResource.cs +++ b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageVmConfigurationProfileAssignmentReportResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Automanage.Samples { public partial class Sample_AutomanageVmConfigurationProfileAssignmentReportResource { - // Get a report for a configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAReportForAConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getReport.json diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageVmConfigurationProfileAssignmentResource.cs b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageVmConfigurationProfileAssignmentResource.cs index 5429c9d509614..a3b737f1f2cff 100644 --- a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageVmConfigurationProfileAssignmentResource.cs +++ b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_AutomanageVmConfigurationProfileAssignmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automanage.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automanage.Samples { public partial class Sample_AutomanageVmConfigurationProfileAssignmentResource { - // Create or update configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/createOrUpdateConfigurationProfileAssignment.json @@ -55,9 +55,8 @@ public async Task Update_CreateOrUpdateConfigurationProfileAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getConfigurationProfileAssignment.json @@ -87,9 +86,8 @@ public async Task Get_GetAConfigurationProfileAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an configuration profile assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnConfigurationProfileAssignment() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/deleteConfigurationProfileAssignment.json @@ -112,7 +110,7 @@ public async Task Delete_DeleteAnConfigurationProfileAssignment() // invoke the operation await automanageVmConfigurationProfileAssignment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 24aa8e5086946..89fc61e70fab3 100644 --- a/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/automanage/Azure.ResourceManager.Automanage/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Automanage.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Automanage.Samples { public partial class Sample_SubscriptionResourceExtensions { - // List service principal by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetServicePrincipals_ListServicePrincipalBySubscription() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/listServicePrincipalBySubscription.json @@ -41,12 +41,11 @@ public async Task GetServicePrincipals_ListServicePrincipalBySubscription() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get service principal - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetServicePrincipal_GetServicePrincipal() { // Generated from example definition: specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/getServicePrincipal.json diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationAccountCollection.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationAccountCollection.cs index 886347a4ab9fd..f62b5d72ea3dc 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationAccountCollection.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationAccountCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Automation.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationAccountCollection { - // Create or update automation account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAutomationAccount() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/createOrUpdateAutomationAccount.json @@ -57,9 +57,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAutomationAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get automation account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAutomationAccount() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/getAutomationAccount.json @@ -91,9 +90,8 @@ public async Task Get_GetAutomationAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get automation account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAutomationAccount() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/getAutomationAccount.json @@ -121,9 +119,8 @@ public async Task Exists_GetAutomationAccount() Console.WriteLine($"Succeeded: {result}"); } - // Get automation account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAutomationAccount() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/getAutomationAccount.json @@ -151,7 +148,7 @@ public async Task GetIfExists_GetAutomationAccount() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -163,9 +160,8 @@ public async Task GetIfExists_GetAutomationAccount() } } - // List automation accounts by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAutomationAccountsByResourceGroup() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/listAutomationAccountsByResourceGroup.json @@ -196,7 +192,7 @@ public async Task GetAll_ListAutomationAccountsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationAccountModuleCollection.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationAccountModuleCollection.cs index dac22aa7f0329..d79abb5a7fbfd 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationAccountModuleCollection.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationAccountModuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationAccountModuleCollection { - // Get a module - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAModule() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getModule.json @@ -50,9 +50,8 @@ public async Task Get_GetAModule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a module - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAModule() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getModule.json @@ -81,9 +80,8 @@ public async Task Exists_GetAModule() Console.WriteLine($"Succeeded: {result}"); } - // Get a module - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAModule() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getModule.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetAModule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetAModule() } } - // Create or update a module - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAModule() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/createOrUpdateModule.json @@ -166,9 +163,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAModule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List modules by automation account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListModulesByAutomationAccount() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listModulesByAutomationAccount.json @@ -200,7 +196,7 @@ public async Task GetAll_ListModulesByAutomationAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationAccountModuleResource.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationAccountModuleResource.cs index fe4a12ebec171..e620cfb99b29e 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationAccountModuleResource.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationAccountModuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationAccountModuleResource { - // Get Activity in a module - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetActivity_GetActivityInAModule() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getActivityInAModule.json @@ -44,9 +44,8 @@ public async Task GetActivity_GetActivityInAModule() Console.WriteLine($"Succeeded: {result}"); } - // List activities by a module - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetActivities_ListActivitiesByAModule() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listActivitiesByModule.json @@ -72,12 +71,11 @@ public async Task GetActivities_ListActivitiesByAModule() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Delete a module - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAModule() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/deleteModule.json @@ -100,12 +98,11 @@ public async Task Delete_DeleteAModule() // invoke the operation await automationAccountModule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a module - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAModule() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getModule.json @@ -135,9 +132,8 @@ public async Task Get_GetAModule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a module - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAModule() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/updateModule.json @@ -176,9 +172,8 @@ public async Task Update_UpdateAModule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a list of fields of a given type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFieldsByModuleAndType_GetAListOfFieldsOfAGivenType() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listFieldsByModuleAndType.json @@ -205,12 +200,11 @@ public async Task GetFieldsByModuleAndType_GetAListOfFieldsOfAGivenType() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a list of fields of a given type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFieldsByType_GetAListOfFieldsOfAGivenType() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listFieldsByModuleAndType.json @@ -237,7 +231,7 @@ public async Task GetFieldsByType_GetAListOfFieldsOfAGivenType() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationAccountPython2PackageCollection.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationAccountPython2PackageCollection.cs index 4517e0adf1775..a62f4d1f9a3f3 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationAccountPython2PackageCollection.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationAccountPython2PackageCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationAccountPython2PackageCollection { - // Get a python 2 package - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPython2Package() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getPython2Package.json @@ -50,9 +50,8 @@ public async Task Get_GetAPython2Package() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a python 2 package - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAPython2Package() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getPython2Package.json @@ -81,9 +80,8 @@ public async Task Exists_GetAPython2Package() Console.WriteLine($"Succeeded: {result}"); } - // Get a python 2 package - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAPython2Package() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getPython2Package.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetAPython2Package() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetAPython2Package() } } - // Create or update a python 2 package - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAPython2Package() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/createOrUpdatePython2Package.json @@ -171,9 +168,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAPython2Package() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List python 2 packages by automation account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPython2PackagesByAutomationAccount() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listPython2PackagesByAutomationAccount.json @@ -205,7 +201,7 @@ public async Task GetAll_ListPython2PackagesByAutomationAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationAccountPython2PackageResource.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationAccountPython2PackageResource.cs index 5d2c71b95e8f8..57d65b5a3e76d 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationAccountPython2PackageResource.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationAccountPython2PackageResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationAccountPython2PackageResource { - // Delete a python 2 package - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAPython2Package() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/deletePython2Package.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteAPython2Package() // invoke the operation await automationAccountPython2Package.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a python 2 package - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPython2Package() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getPython2Package.json @@ -75,9 +74,8 @@ public async Task Get_GetAPython2Package() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a module - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAModule() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/updatePython2Package.json diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationAccountResource.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationAccountResource.cs index 4e507fc66df07..c92d8f8281355 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationAccountResource.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationAccountResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Automation.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationAccountResource { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AutomationPrivateLinkResources_GetsPrivateEndpointConnection() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/PrivateLinkResourceListGet.json @@ -43,12 +43,11 @@ public async Task AutomationPrivateLinkResources_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the agent registration information - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAgentRegistrationInformation_GetTheAgentRegistrationInformation() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getAgentRegistration.json @@ -73,9 +72,8 @@ public async Task GetAgentRegistrationInformation_GetTheAgentRegistrationInforma Console.WriteLine($"Succeeded: {result}"); } - // Regenerate registration key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKeyAgentRegistrationInformation_RegenerateRegistrationKey() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/regenerateAgentRegistrationKey.json @@ -101,9 +99,8 @@ public async Task RegenerateKeyAgentRegistrationInformation_RegenerateRegistrati Console.WriteLine($"Succeeded: {result}"); } - // Get a DSC Compilation job stream by job stream id - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStreamDscCompilationJob_GetADSCCompilationJobStreamByJobStreamId() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/compilationJobStreamByJobStreamId.json @@ -130,9 +127,8 @@ public async Task GetStreamDscCompilationJob_GetADSCCompilationJobStreamByJobStr Console.WriteLine($"Succeeded: {result}"); } - // List DSC Compilation job streams - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDscCompilationJobStreams_ListDSCCompilationJobStreams() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/compilationJobStreamList.json @@ -158,12 +154,11 @@ public async Task GetDscCompilationJobStreams_ListDSCCompilationJobStreams() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get node's node configuration counts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllNodeCountInformation_GetNodeSNodeConfigurationCounts() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listPagedDscNodeConfigurationCounts.json @@ -189,12 +184,11 @@ public async Task GetAllNodeCountInformation_GetNodeSNodeConfigurationCounts() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get node's status counts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllNodeCountInformation_GetNodeSStatusCounts() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listPagedDscNodeStatusCounts.json @@ -220,12 +214,11 @@ public async Task GetAllNodeCountInformation_GetNodeSStatusCounts() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update an automation account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAnAutomationAccount() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/updateAutomationAccount.json @@ -260,9 +253,8 @@ public async Task Update_UpdateAnAutomationAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete automation account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAutomationAccount() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/deleteAutomationAccount.json @@ -284,12 +276,11 @@ public async Task Delete_DeleteAutomationAccount() // invoke the operation await automationAccount.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get automation account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAutomationAccount() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/getAutomationAccount.json @@ -318,9 +309,8 @@ public async Task Get_GetAutomationAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List automation accounts by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAutomationAccounts_ListAutomationAccountsByResourceGroup() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/listAutomationAccountsBySubscription.json @@ -347,12 +337,11 @@ public async Task GetAutomationAccounts_ListAutomationAccountsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get statistics of an automation account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStatistics_GetStatisticsOfAnAutomationAccount() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/getStatisticsOfAutomationAccount.json @@ -377,12 +366,11 @@ public async Task GetStatistics_GetStatisticsOfAnAutomationAccount() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get usages of an automation account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsages_GetUsagesOfAnAutomationAccount() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/getUsagesOfAutomationAccount.json @@ -407,12 +395,11 @@ public async Task GetUsages_GetUsagesOfAnAutomationAccount() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get lists of an automation account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAutomationAccountKeys_GetListsOfAnAutomationAccount() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/listAutomationAccountKeys.json @@ -437,12 +424,11 @@ public async Task GetAutomationAccountKeys_GetListsOfAnAutomationAccount() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the linked workspace of an automation account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLinkedWorkspace_GetTheLinkedWorkspaceOfAnAutomationAccount() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getLinkedWorkspace.json @@ -467,9 +453,8 @@ public async Task GetLinkedWorkspace_GetTheLinkedWorkspaceOfAnAutomationAccount( Console.WriteLine($"Succeeded: {result}"); } - // Get a list of fields of a given type across all accessible modules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFieldsByType_GetAListOfFieldsOfAGivenTypeAcrossAllAccessibleModules() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listFieldsByType.json @@ -495,12 +480,11 @@ public async Task GetFieldsByType_GetAListOfFieldsOfAGivenTypeAcrossAllAccessibl Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Graphical raw runbook content from graphical runbook JSON object - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ConvertGraphRunbookContent_GetGraphicalRawRunbookContentFromGraphicalRunbookJSONObject() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/serializeGraphRunbookContent.json @@ -529,9 +513,8 @@ public async Task ConvertGraphRunbookContent_GetGraphicalRawRunbookContentFromGr Console.WriteLine($"Succeeded: {result}"); } - // Get Graphical runbook content from raw content - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ConvertGraphRunbookContent_GetGraphicalRunbookContentFromRawContent() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/deserializeGraphRunbookContent.json @@ -565,9 +548,8 @@ public async Task ConvertGraphRunbookContent_GetGraphicalRunbookContentFromRawCo Console.WriteLine($"Succeeded: {result}"); } - // Get software update configuration runs by Id - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSoftwareUpdateConfigurationRun_GetSoftwareUpdateConfigurationRunsById() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/softwareUpdateConfigurationRun/getSoftwareUpdateConfigurationRunById.json @@ -593,9 +575,8 @@ public async Task GetSoftwareUpdateConfigurationRun_GetSoftwareUpdateConfigurati Console.WriteLine($"Succeeded: {result}"); } - // List software update configuration machine run with status equal to 'Failed' - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSoftwareUpdateConfigurationRuns_ListSoftwareUpdateConfigurationMachineRunWithStatusEqualToFailed() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/softwareUpdateConfigurationRun/listFailedSoftwareUpdateConfigurationRuns.json @@ -621,12 +602,11 @@ public async Task GetSoftwareUpdateConfigurationRuns_ListSoftwareUpdateConfigura Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List software update configuration machine runs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSoftwareUpdateConfigurationRuns_ListSoftwareUpdateConfigurationMachineRuns() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/softwareUpdateConfigurationRun/listSoftwareUpdateConfigurationRuns.json @@ -651,12 +631,11 @@ public async Task GetSoftwareUpdateConfigurationRuns_ListSoftwareUpdateConfigura Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get software update configuration machine run - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSoftwareUpdateConfigurationMachineRun_GetSoftwareUpdateConfigurationMachineRun() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/softwareUpdateConfigurationMachineRun/getSoftwareUpdateConfigurationMachineRunById.json @@ -682,9 +661,8 @@ public async Task GetSoftwareUpdateConfigurationMachineRun_GetSoftwareUpdateConf Console.WriteLine($"Succeeded: {result}"); } - // List software update configuration machine runs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSoftwareUpdateConfigurationMachineRuns_ListSoftwareUpdateConfigurationMachineRuns() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/softwareUpdateConfigurationMachineRun/listSoftwareUpdateConfigurationMachineRuns.json @@ -709,12 +687,11 @@ public async Task GetSoftwareUpdateConfigurationMachineRuns_ListSoftwareUpdateCo Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List software update configuration machine runs for a specific software update configuration run - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSoftwareUpdateConfigurationMachineRuns_ListSoftwareUpdateConfigurationMachineRunsForASpecificSoftwareUpdateConfigurationRun() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/softwareUpdateConfigurationMachineRun/listSoftwareUpdateConfigurationMachineRunsByRun.json @@ -740,12 +717,11 @@ public async Task GetSoftwareUpdateConfigurationMachineRuns_ListSoftwareUpdateCo Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Generate webhook uri - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateUriWebhook_GenerateWebhookUri() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/webhookGenerateUri.json diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationCertificateCollection.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationCertificateCollection.cs index b9048ee6ca382..f3680b31314d2 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationCertificateCollection.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationCertificateCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationCertificateCollection { - // Get a certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACertificate() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getCertificate.json @@ -50,9 +50,8 @@ public async Task Get_GetACertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetACertificate() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getCertificate.json @@ -81,9 +80,8 @@ public async Task Exists_GetACertificate() Console.WriteLine($"Succeeded: {result}"); } - // Get a certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetACertificate() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getCertificate.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetACertificate() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetACertificate() } } - // Create or update a certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateACertificate() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/createOrUpdateCertificate.json @@ -166,9 +163,8 @@ public async Task CreateOrUpdate_CreateOrUpdateACertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List certificates - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCertificates() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listCertificatesByAutomationAccount.json @@ -200,7 +196,7 @@ public async Task GetAll_ListCertificates() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationCertificateResource.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationCertificateResource.cs index 19c9d80109cfd..74fe82694b2ff 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationCertificateResource.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationCertificateResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationCertificateResource { - // Delete a certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteACertificate() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/deleteCertificate.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteACertificate() // invoke the operation await automationCertificate.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACertificate() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getCertificate.json @@ -75,9 +74,8 @@ public async Task Get_GetACertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateACertificate() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/updateCertificate.json diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationConnectionCollection.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationConnectionCollection.cs index d52e5437dcb8b..a6e972fbef93e 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationConnectionCollection.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationConnectionCollection { - // Get a connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAConnection() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getConnection.json @@ -50,9 +50,8 @@ public async Task Get_GetAConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAConnection() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getConnection.json @@ -81,9 +80,8 @@ public async Task Exists_GetAConnection() Console.WriteLine($"Succeeded: {result}"); } - // Get a connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAConnection() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getConnection.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetAConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetAConnection() } } - // Create or update connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateConnection() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/createOrUpdateConnection.json @@ -172,9 +169,8 @@ public async Task CreateOrUpdate_CreateOrUpdateConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List connections by automation account, first 100 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListConnectionsByAutomationAccountFirst100() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listConnectionsByAutomationAccount_First100.json @@ -206,12 +202,11 @@ public async Task GetAll_ListConnectionsByAutomationAccountFirst100() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List connections by automation account, next 100 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListConnectionsByAutomationAccountNext100() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listConnectionsByAutomationAccount_Next100.json @@ -243,7 +238,7 @@ public async Task GetAll_ListConnectionsByAutomationAccountNext100() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationConnectionResource.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationConnectionResource.cs index fa6532ee085bd..a39c9970c93cf 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationConnectionResource.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationConnectionResource { - // Delete an existing connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnExistingConnection() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/deleteConnection.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteAnExistingConnection() // invoke the operation await automationConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAConnection() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getConnection.json @@ -75,9 +74,8 @@ public async Task Get_GetAConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAConnection() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/updateConnection.json diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationConnectionTypeCollection.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationConnectionTypeCollection.cs index 7f627f8293dc1..3535d924d8e3f 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationConnectionTypeCollection.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationConnectionTypeCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationConnectionTypeCollection { - // Get connection type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetConnectionType() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getConnectionType.json @@ -51,9 +51,8 @@ public async Task Get_GetConnectionType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get connection type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetConnectionType() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getConnectionType.json @@ -82,9 +81,8 @@ public async Task Exists_GetConnectionType() Console.WriteLine($"Succeeded: {result}"); } - // Get connection type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetConnectionType() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getConnectionType.json @@ -113,7 +111,7 @@ public async Task GetIfExists_GetConnectionType() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -125,9 +123,8 @@ public async Task GetIfExists_GetConnectionType() } } - // Create or update connection type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateConnectionType() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/createOrUpdateConnectionType.json @@ -182,9 +179,8 @@ public async Task CreateOrUpdate_CreateOrUpdateConnectionType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get connection types, first 100 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetConnectionTypesFirst100() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getAllConnectionTypes_First100.json @@ -216,12 +212,11 @@ public async Task GetAll_GetConnectionTypesFirst100() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get connection types, next 100 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetConnectionTypesNext100() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getAllConnectionTypes_Next100.json @@ -253,7 +248,7 @@ public async Task GetAll_GetConnectionTypesNext100() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationConnectionTypeResource.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationConnectionTypeResource.cs index 2fd82765e13ca..6bef7dbbda70d 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationConnectionTypeResource.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationConnectionTypeResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationConnectionTypeResource { - // Delete an existing connection type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnExistingConnectionType() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/deleteConnectionType.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteAnExistingConnectionType() // invoke the operation await automationConnectionType.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get connection type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetConnectionType() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getConnectionType.json @@ -76,9 +75,8 @@ public async Task Get_GetConnectionType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update connection type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateConnectionType() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/createOrUpdateConnectionType.json diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationCredentialCollection.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationCredentialCollection.cs index 8d595838904d5..d9295937cf74d 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationCredentialCollection.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationCredentialCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationCredentialCollection { - // Get a credential - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACredential() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getCredential.json @@ -50,9 +50,8 @@ public async Task Get_GetACredential() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a credential - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetACredential() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getCredential.json @@ -81,9 +80,8 @@ public async Task Exists_GetACredential() Console.WriteLine($"Succeeded: {result}"); } - // Get a credential - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetACredential() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getCredential.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetACredential() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetACredential() } } - // Create a credential - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateACredential() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/createOrUpdateCredential.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_CreateACredential() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List credentials by automation account, first 100 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCredentialsByAutomationAccountFirst100() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listCredentialsByAutomationAccount.json @@ -198,12 +194,11 @@ public async Task GetAll_ListCredentialsByAutomationAccountFirst100() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List credentials by automation account, next 100 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCredentialsByAutomationAccountNext100() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listCredentialsByAutomationAccount_next100_using_nextLink.json @@ -235,7 +230,7 @@ public async Task GetAll_ListCredentialsByAutomationAccountNext100() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationCredentialResource.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationCredentialResource.cs index af0c8c43bea89..c790df2270bc8 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationCredentialResource.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationCredentialResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationCredentialResource { - // Delete a credential - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteACredential() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/deleteCredentialExisting.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteACredential() // invoke the operation await automationCredential.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a credential - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACredential() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getCredential.json @@ -75,9 +74,8 @@ public async Task Get_GetACredential() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a credential - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateACredential() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/updateCredential_patch.json diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationJobCollection.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationJobCollection.cs index c2d15e9b38d8c..77f6aa4536f65 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationJobCollection.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationJobCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationJobCollection { - // Get job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetJob() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/job/getJob.json @@ -50,9 +50,8 @@ public async Task Get_GetJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetJob() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/job/getJob.json @@ -81,9 +80,8 @@ public async Task Exists_GetJob() Console.WriteLine($"Succeeded: {result}"); } - // Get job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetJob() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/job/getJob.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetJob() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetJob() } } - // Create job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateJob() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/job/createJob.json @@ -170,9 +167,8 @@ public async Task CreateOrUpdate_CreateJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List jobs by automation account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListJobsByAutomationAccount() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/job/listJobsByAutomationAccount.json @@ -200,7 +196,7 @@ public async Task GetAll_ListJobsByAutomationAccount() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationJobResource.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationJobResource.cs index 3148cb0edcd41..390cc209ed51b 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationJobResource.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationJobResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationJobResource { - // Get Job Output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOutput_GetJobOutput() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/job/getJobOutput.json @@ -43,9 +43,8 @@ public async Task GetOutput_GetJobOutput() Console.WriteLine($"Succeeded: {result}"); } - // Get Job Runbook Content - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRunbookContent_GetJobRunbookContent() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/job/getJobRunbookContent.json @@ -71,9 +70,8 @@ public async Task GetRunbookContent_GetJobRunbookContent() Console.WriteLine($"Succeeded: {result}"); } - // Suspend job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Suspend_SuspendJob() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/job/suspendJob.json @@ -96,12 +94,11 @@ public async Task Suspend_SuspendJob() // invoke the operation await automationJob.SuspendAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Stop job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_StopJob() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/job/stopJob.json @@ -124,12 +121,11 @@ public async Task Stop_StopJob() // invoke the operation await automationJob.StopAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetJob() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/job/getJob.json @@ -159,9 +155,8 @@ public async Task Get_GetJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateJob() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/job/createJob.json @@ -202,9 +197,8 @@ public async Task Update_CreateJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Resume job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Resume_ResumeJob() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/job/resumeJob.json @@ -227,12 +221,11 @@ public async Task Resume_ResumeJob() // invoke the operation await automationJob.ResumeAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get job stream - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetJobStream_GetJobStream() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/job/getJobStream.json @@ -259,9 +252,8 @@ public async Task GetJobStream_GetJobStream() Console.WriteLine($"Succeeded: {result}"); } - // List job streams by job name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetJobStreams_ListJobStreamsByJobName() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/job/listJobStreamsByJob.json @@ -287,7 +279,7 @@ public async Task GetJobStreams_ListJobStreamsByJobName() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationJobScheduleCollection.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationJobScheduleCollection.cs index 77217e98e50d6..ea153b240f039 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationJobScheduleCollection.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationJobScheduleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationJobScheduleCollection { - // Get a job schedule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAJobSchedule() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getJobSchedule.json @@ -50,9 +50,8 @@ public async Task Get_GetAJobSchedule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a job schedule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAJobSchedule() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getJobSchedule.json @@ -81,9 +80,8 @@ public async Task Exists_GetAJobSchedule() Console.WriteLine($"Succeeded: {result}"); } - // Get a job schedule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAJobSchedule() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getJobSchedule.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetAJobSchedule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetAJobSchedule() } } - // Create a job schedule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAJobSchedule() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/createJobSchedule.json @@ -174,9 +171,8 @@ public async Task CreateOrUpdate_CreateAJobSchedule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all job schedules by automation account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllJobSchedulesByAutomationAccount() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listAllJobSchedulesByAutomationAccount.json @@ -208,7 +204,7 @@ public async Task GetAll_ListAllJobSchedulesByAutomationAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationJobScheduleResource.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationJobScheduleResource.cs index 8fa1b0ea19dcb..2cfdd093ebc35 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationJobScheduleResource.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationJobScheduleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationJobScheduleResource { - // Delete a job schedule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAJobSchedule() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/deleteJobSchedule.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteAJobSchedule() // invoke the operation await automationJobSchedule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a job schedule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAJobSchedule() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getJobSchedule.json @@ -75,9 +74,8 @@ public async Task Get_GetAJobSchedule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a job schedule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAJobSchedule() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/createJobSchedule.json diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationPrivateEndpointConnectionCollection.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationPrivateEndpointConnectionCollection.cs index 190d016ad9ad0..a511e458cd477 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationPrivateEndpointConnectionCollection.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationPrivateEndpointConnectionCollection { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsPrivateEndpointConnection() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/PrivateEndpointConnectionListGet.json @@ -49,12 +49,11 @@ public async Task GetAll_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/PrivateEndpointConnectionGet.json @@ -87,9 +86,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/PrivateEndpointConnectionGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/PrivateEndpointConnectionGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() } } - // Approve or reject a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/PrivateEndpointConnectionUpdate.json diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationPrivateEndpointConnectionResource.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationPrivateEndpointConnectionResource.cs index 8b86faa28d321..89923c1013c69 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationPrivateEndpointConnectionResource.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationPrivateEndpointConnectionResource { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/PrivateEndpointConnectionGet.json @@ -47,9 +47,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Approve or reject a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/PrivateEndpointConnectionUpdate.json @@ -88,9 +87,8 @@ public async Task Update_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/PrivateEndpointConnectionDelete.json @@ -113,7 +111,7 @@ public async Task Delete_DeletesAPrivateEndpointConnectionWithAGivenName() // invoke the operation await automationPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationRunbookCollection.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationRunbookCollection.cs index 1629ca0bab07e..ad77c11dd9dd6 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationRunbookCollection.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationRunbookCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationRunbookCollection { - // Get runbook - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRunbook() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/getRunbook.json @@ -50,9 +50,8 @@ public async Task Get_GetRunbook() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get runbook - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRunbook() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/getRunbook.json @@ -81,9 +80,8 @@ public async Task Exists_GetRunbook() Console.WriteLine($"Succeeded: {result}"); } - // Get runbook - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRunbook() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/getRunbook.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetRunbook() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetRunbook() } } - // Create or update runbook and publish it - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateRunbookAndPublishIt() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/createOrUpdateRunbook.json @@ -179,9 +176,8 @@ public async Task CreateOrUpdate_CreateOrUpdateRunbookAndPublishIt() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create runbook as draft - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateRunbookAsDraft() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/createRunbookAsDraft.json @@ -229,9 +225,8 @@ public async Task CreateOrUpdate_CreateRunbookAsDraft() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List runbooks by automation account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRunbooksByAutomationAccount() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/listRunbooksByAutomationAccount.json @@ -263,7 +258,7 @@ public async Task GetAll_ListRunbooksByAutomationAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationRunbookResource.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationRunbookResource.cs index 2f9ddf09ad278..d4a082dbf4710 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationRunbookResource.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationRunbookResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationRunbookResource { - // Get runbook draft content - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContentRunbookDraft_GetRunbookDraftContent() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/getRunbookDraftContent.json @@ -43,9 +43,8 @@ public async Task GetContentRunbookDraft_GetRunbookDraftContent() Console.WriteLine($"Succeeded: {result}"); } - // Get runbook draft - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRunbookDraft_GetRunbookDraft() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/getRunbookDraft.json @@ -71,9 +70,8 @@ public async Task GetRunbookDraft_GetRunbookDraft() Console.WriteLine($"Succeeded: {result}"); } - // Undo draft edit to last known published state - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UndoEditRunbookDraft_UndoDraftEditToLastKnownPublishedState() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/undoDraftEditToLastKnownPublishedState.json @@ -99,9 +97,8 @@ public async Task UndoEditRunbookDraft_UndoDraftEditToLastKnownPublishedState() Console.WriteLine($"Succeeded: {result}"); } - // Publish runbook draft - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Publish_PublishRunbookDraft() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/publishRunbook.json @@ -124,12 +121,11 @@ public async Task Publish_PublishRunbookDraft() // invoke the operation await automationRunbook.PublishAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get runbook content - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContent_GetRunbookContent() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/getRunbookContent.json @@ -155,9 +151,8 @@ public async Task GetContent_GetRunbookContent() Console.WriteLine($"Succeeded: {result}"); } - // Get runbook - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRunbook() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/getRunbook.json @@ -187,9 +182,8 @@ public async Task Get_GetRunbook() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update runbook - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateRunbook() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/updateRunbook.json @@ -226,9 +220,8 @@ public async Task Update_UpdateRunbook() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a runbook - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteARunbook() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/deleteRunbook.json @@ -251,12 +244,11 @@ public async Task Delete_DeleteARunbook() // invoke the operation await automationRunbook.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get test job stream - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTestJobStream_GetTestJobStream() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/getTestJobStream.json @@ -283,9 +275,8 @@ public async Task GetTestJobStream_GetTestJobStream() Console.WriteLine($"Succeeded: {result}"); } - // List job streams by job name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTestJobStreams_ListJobStreamsByJobName() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/listTestJobStreamsByJob.json @@ -311,12 +302,11 @@ public async Task GetTestJobStreams_ListJobStreamsByJobName() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create test job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateTestJob_CreateTestJob() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/createTestJob.json @@ -351,9 +341,8 @@ public async Task CreateTestJob_CreateTestJob() Console.WriteLine($"Succeeded: {result}"); } - // Get test job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTestJob_GetTestJob() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/getTestJob.json @@ -379,9 +368,8 @@ public async Task GetTestJob_GetTestJob() Console.WriteLine($"Succeeded: {result}"); } - // Resume test job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResumeTestJob_ResumeTestJob() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/resumeTestJob.json @@ -404,12 +392,11 @@ public async Task ResumeTestJob_ResumeTestJob() // invoke the operation await automationRunbook.ResumeTestJobAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Stop test job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StopTestJob_StopTestJob() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/stopTestJob.json @@ -432,12 +419,11 @@ public async Task StopTestJob_StopTestJob() // invoke the operation await automationRunbook.StopTestJobAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Suspend test job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SuspendTestJob_SuspendTestJob() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2018-06-30/examples/suspendTestJob.json @@ -460,7 +446,7 @@ public async Task SuspendTestJob_SuspendTestJob() // invoke the operation await automationRunbook.SuspendTestJobAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationScheduleCollection.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationScheduleCollection.cs index d8beffe7ece1e..5d15192507c82 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationScheduleCollection.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationScheduleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationScheduleCollection { - // Create or update a schedule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateASchedule() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/createOrUpdateSchedule.json @@ -58,9 +58,8 @@ public async Task CreateOrUpdate_CreateOrUpdateASchedule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a schedule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASchedule() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getSchedule.json @@ -93,9 +92,8 @@ public async Task Get_GetASchedule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a schedule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetASchedule() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getSchedule.json @@ -124,9 +122,8 @@ public async Task Exists_GetASchedule() Console.WriteLine($"Succeeded: {result}"); } - // Get a schedule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetASchedule() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getSchedule.json @@ -155,7 +152,7 @@ public async Task GetIfExists_GetASchedule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -167,9 +164,8 @@ public async Task GetIfExists_GetASchedule() } } - // List schedules by automation account, first 100 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSchedulesByAutomationAccountFirst100() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listSchedulesByAutomationAccount_First100.json @@ -201,12 +197,11 @@ public async Task GetAll_ListSchedulesByAutomationAccountFirst100() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List schedules by automation account, next 100 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSchedulesByAutomationAccountNext100() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listSchedulesByAutomationAccount_Next100.json @@ -238,7 +233,7 @@ public async Task GetAll_ListSchedulesByAutomationAccountNext100() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationScheduleResource.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationScheduleResource.cs index 0bf499b05a88e..d4297e6207186 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationScheduleResource.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationScheduleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationScheduleResource { - // Update a schedule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateASchedule() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/updateSchedule.json @@ -53,9 +53,8 @@ public async Task Update_UpdateASchedule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a schedule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASchedule() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getSchedule.json @@ -85,9 +84,8 @@ public async Task Get_GetASchedule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete schedule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSchedule() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/deleteSchedule.json @@ -110,7 +108,7 @@ public async Task Delete_DeleteSchedule() // invoke the operation await automationSchedule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationSourceControlCollection.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationSourceControlCollection.cs index 5939dd3f0cc32..4d944f4f286f7 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationSourceControlCollection.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationSourceControlCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationSourceControlCollection { - // Create or update a source control - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateASourceControl() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/sourceControl/createOrUpdateSourceControl.json @@ -66,9 +66,8 @@ public async Task CreateOrUpdate_CreateOrUpdateASourceControl() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a source control - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASourceControl() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/sourceControl/getSourceControl.json @@ -101,9 +100,8 @@ public async Task Get_GetASourceControl() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a source control - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetASourceControl() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/sourceControl/getSourceControl.json @@ -132,9 +130,8 @@ public async Task Exists_GetASourceControl() Console.WriteLine($"Succeeded: {result}"); } - // Get a source control - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetASourceControl() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/sourceControl/getSourceControl.json @@ -163,7 +160,7 @@ public async Task GetIfExists_GetASourceControl() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -175,9 +172,8 @@ public async Task GetIfExists_GetASourceControl() } } - // List sourceControls - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSourceControls() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/sourceControl/getAllSourceControls.json @@ -209,7 +205,7 @@ public async Task GetAll_ListSourceControls() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationSourceControlResource.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationSourceControlResource.cs index 9eb65ffff13a7..32fe070893aa2 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationSourceControlResource.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationSourceControlResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationSourceControlResource { - // Update a source control - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateASourceControl() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/sourceControl/updateSourceControl_patch.json @@ -60,9 +60,8 @@ public async Task Update_UpdateASourceControl() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a source control - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteASourceControl() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/sourceControl/deleteSourceControl.json @@ -85,12 +84,11 @@ public async Task Delete_DeleteASourceControl() // invoke the operation await automationSourceControl.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a source control - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASourceControl() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/sourceControl/getSourceControl.json @@ -120,9 +118,8 @@ public async Task Get_GetASourceControl() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a source control sync job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateSourceControlSyncJob_CreateOrUpdateASourceControlSyncJob() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/sourceControlSyncJob/createSourceControlSyncJob.json @@ -150,9 +147,8 @@ public async Task CreateSourceControlSyncJob_CreateOrUpdateASourceControlSyncJob Console.WriteLine($"Succeeded: {result}"); } - // Get a source control sync job by job id - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSourceControlSyncJob_GetASourceControlSyncJobByJobId() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/sourceControlSyncJob/getSourceControlSyncJob.json @@ -179,9 +175,8 @@ public async Task GetSourceControlSyncJob_GetASourceControlSyncJobByJobId() Console.WriteLine($"Succeeded: {result}"); } - // Get a list of source control sync jobs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSourceControlSyncJobs_GetAListOfSourceControlSyncJobs() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/sourceControlSyncJob/getAllSourceControlSyncJobs.json @@ -207,12 +202,11 @@ public async Task GetSourceControlSyncJobs_GetAListOfSourceControlSyncJobs() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a list of sync job streams identified by sync job id - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSourceControlSyncJobStreams_GetAListOfSyncJobStreamsIdentifiedBySyncJobId() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreams.json @@ -239,12 +233,11 @@ public async Task GetSourceControlSyncJobStreams_GetAListOfSyncJobStreamsIdentif Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a sync job stream identified by sync job stream id. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSourceControlSyncJobStream_GetASyncJobStreamIdentifiedBySyncJobStreamId() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreamsByStreamId.json diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationVariableCollection.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationVariableCollection.cs index 93cf7b9bcf2b8..69138180c7967 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationVariableCollection.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationVariableCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationVariableCollection { - // Create or update a variable - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAVariable() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/createOrUpdateVariable.json @@ -57,9 +57,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAVariable() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a variable - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAVariable() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getVariable.json @@ -92,9 +91,8 @@ public async Task Get_GetAVariable() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a variable - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAVariable() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getVariable.json @@ -123,9 +121,8 @@ public async Task Exists_GetAVariable() Console.WriteLine($"Succeeded: {result}"); } - // Get a variable - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAVariable() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getVariable.json @@ -154,7 +151,7 @@ public async Task GetIfExists_GetAVariable() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -166,9 +163,8 @@ public async Task GetIfExists_GetAVariable() } } - // List variables, First 100 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListVariablesFirst100() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listVariables_First100.json @@ -200,12 +196,11 @@ public async Task GetAll_ListVariablesFirst100() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List variables, Next 100 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListVariablesNext100() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listVariables_Next100.json @@ -237,7 +232,7 @@ public async Task GetAll_ListVariablesNext100() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationVariableResource.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationVariableResource.cs index 9a8043d749530..793a78454a9cf 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationVariableResource.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationVariableResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationVariableResource { - // Update a variable - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAVariable() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/updateVariable_patch.json @@ -52,9 +52,8 @@ public async Task Update_UpdateAVariable() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a variable - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAVariable() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/deleteVariable.json @@ -77,12 +76,11 @@ public async Task Delete_DeleteAVariable() // invoke the operation await automationVariable.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a variable - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAVariable() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getVariable.json diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationWatcherCollection.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationWatcherCollection.cs index 7aaa799be89ef..fdd9a2c5572db 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationWatcherCollection.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationWatcherCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationWatcherCollection { - // Create or update watcher - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWatcher() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/createOrUpdateWatcher.json @@ -64,9 +64,8 @@ public async Task CreateOrUpdate_CreateOrUpdateWatcher() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get watcher - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWatcher() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getWatcher.json @@ -99,9 +98,8 @@ public async Task Get_GetWatcher() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get watcher - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWatcher() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getWatcher.json @@ -130,9 +128,8 @@ public async Task Exists_GetWatcher() Console.WriteLine($"Succeeded: {result}"); } - // Get watcher - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWatcher() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getWatcher.json @@ -161,7 +158,7 @@ public async Task GetIfExists_GetWatcher() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -173,9 +170,8 @@ public async Task GetIfExists_GetWatcher() } } - // List watchers by Automation Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWatchersByAutomationAccount() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listWatchersByAutomationAccount.json @@ -207,7 +203,7 @@ public async Task GetAll_ListWatchersByAutomationAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationWatcherResource.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationWatcherResource.cs index de706a95c7e83..ef6e76a922961 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationWatcherResource.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationWatcherResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationWatcherResource { - // Get watcher - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWatcher() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getWatcher.json @@ -47,9 +47,8 @@ public async Task Get_GetWatcher() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update watcher - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateWatcher() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/updateWatcher.json @@ -84,9 +83,8 @@ public async Task Update_UpdateWatcher() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete watcher - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWatcher() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/deleteWatcher.json @@ -109,12 +107,11 @@ public async Task Delete_DeleteWatcher() // invoke the operation await automationWatcher.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Start Watcher - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_StartWatcher() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/startWatcher.json @@ -137,12 +134,11 @@ public async Task Start_StartWatcher() // invoke the operation await automationWatcher.StartAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Start Watcher - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_StartWatcher() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/stopWatcher.json @@ -165,7 +161,7 @@ public async Task Stop_StartWatcher() // invoke the operation await automationWatcher.StopAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationWebhookCollection.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationWebhookCollection.cs index 6f2edfcd7b9b8..7af3eb6f9df1b 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationWebhookCollection.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationWebhookCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationWebhookCollection { - // Get webhook - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWebhook() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getWebhook.json @@ -50,9 +50,8 @@ public async Task Get_GetWebhook() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get webhook - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetWebhook() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getWebhook.json @@ -81,9 +80,8 @@ public async Task Exists_GetWebhook() Console.WriteLine($"Succeeded: {result}"); } - // Get webhook - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetWebhook() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getWebhook.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetWebhook() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetWebhook() } } - // Create or update webhook - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateWebhook() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/createOrUpdateWebhook.json @@ -167,9 +164,8 @@ public async Task CreateOrUpdate_CreateOrUpdateWebhook() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List webhooks by Automation Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListWebhooksByAutomationAccount() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listWebhooksByAutomationAccount.json @@ -201,7 +197,7 @@ public async Task GetAll_ListWebhooksByAutomationAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationWebhookResource.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationWebhookResource.cs index 57b3beeb0429c..95f9f013e7909 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationWebhookResource.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_AutomationWebhookResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_AutomationWebhookResource { - // Delete webhook - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteWebhook() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/deleteWebhook.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteWebhook() // invoke the operation await automationWebhook.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get webhook - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetWebhook() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getWebhook.json @@ -75,9 +74,8 @@ public async Task Get_GetWebhook() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update webhook - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateWebhook() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/updateWebhook.json diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscCompilationJobCollection.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscCompilationJobCollection.cs index 90c63d310a3c8..a22e87be017a9 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscCompilationJobCollection.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscCompilationJobCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_DscCompilationJobCollection { - // Create or update a DSC Compilation job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateADSCCompilationJob() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/createCompilationJob.json @@ -55,9 +55,8 @@ public async Task CreateOrUpdate_CreateOrUpdateADSCCompilationJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a DSC Compilation job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADSCCompilationJob() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getCompilationJob.json @@ -90,9 +89,8 @@ public async Task Get_GetADSCCompilationJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a DSC Compilation job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADSCCompilationJob() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getCompilationJob.json @@ -121,9 +119,8 @@ public async Task Exists_GetADSCCompilationJob() Console.WriteLine($"Succeeded: {result}"); } - // Get a DSC Compilation job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADSCCompilationJob() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getCompilationJob.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetADSCCompilationJob() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_GetADSCCompilationJob() } } - // List DSC Compilation job in Automation Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDSCCompilationJobInAutomationAccount() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listCompilationJobsByAutomationAccount.json @@ -198,7 +194,7 @@ public async Task GetAll_ListDSCCompilationJobInAutomationAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscCompilationJobResource.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscCompilationJobResource.cs index 56e42dba6a8b2..faa7c7e045cb8 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscCompilationJobResource.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscCompilationJobResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_DscCompilationJobResource { - // Create or update a DSC Compilation job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateADSCCompilationJob() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/createCompilationJob.json @@ -52,9 +52,8 @@ public async Task Update_CreateOrUpdateADSCCompilationJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a DSC Compilation job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADSCCompilationJob() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getCompilationJob.json diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscConfigurationCollection.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscConfigurationCollection.cs index ba5f7ba3f5a93..463cb59562903 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscConfigurationCollection.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscConfigurationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_DscConfigurationCollection { - // Get a DSC Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADSCConfiguration() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/getDscConfiguration.json @@ -50,9 +50,8 @@ public async Task Get_GetADSCConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a DSC Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADSCConfiguration() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/getDscConfiguration.json @@ -81,9 +80,8 @@ public async Task Exists_GetADSCConfiguration() Console.WriteLine($"Succeeded: {result}"); } - // Get a DSC Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADSCConfiguration() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/getDscConfiguration.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetADSCConfiguration() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetADSCConfiguration() } } - // Create or Update Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateConfiguration() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/createOrUpdateDscConfiguration.json @@ -171,9 +168,8 @@ public async Task CreateOrUpdate_CreateOrUpdateConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get DSC Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetDSCConfiguration() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/getAllDscConfigurations.json @@ -205,12 +201,11 @@ public async Task GetAll_GetDSCConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Paged DSC Configurations with name filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPagedDSCConfigurationsWithNameFilter() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/getPagedlDscConfigurationsWithNameFilter.json @@ -246,12 +241,11 @@ public async Task GetAll_ListPagedDSCConfigurationsWithNameFilter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Paged DSC Configurations with no filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPagedDSCConfigurationsWithNoFilter() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/getPagedDscConfigurationsWithNoFilter.json @@ -286,7 +280,7 @@ public async Task GetAll_ListPagedDSCConfigurationsWithNoFilter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscConfigurationResource.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscConfigurationResource.cs index a71ef8895e0ff..cbd08a965de98 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscConfigurationResource.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscConfigurationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_DscConfigurationResource { - // Delete DSC Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteDSCConfiguration() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/deleteDscConfiguration.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteDSCConfiguration() // invoke the operation await dscConfiguration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a DSC Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADSCConfiguration() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/getDscConfiguration.json @@ -75,9 +74,8 @@ public async Task Get_GetADSCConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateConfiguration() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/updateDscConfiguration.json @@ -115,9 +113,8 @@ public async Task Update_CreateOrUpdateConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get DSC Configuration content - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContent_GetDSCConfigurationContent() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/getDscConfigurationContent.json diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscNodeCollection.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscNodeCollection.cs index 1048826893391..d11df0e7bcec0 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscNodeCollection.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscNodeCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_DscNodeCollection { - // Get a node - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetANode() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getDscNode.json @@ -49,9 +49,8 @@ public async Task Get_GetANode() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a node - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetANode() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getDscNode.json @@ -80,9 +79,8 @@ public async Task Exists_GetANode() Console.WriteLine($"Succeeded: {result}"); } - // Get a node - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetANode() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getDscNode.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetANode() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetANode() } } - // List DSC nodes by Automation Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDSCNodesByAutomationAccount() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listAllDscNodesByAutomationAccount.json @@ -157,12 +154,11 @@ public async Task GetAll_ListDSCNodesByAutomationAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Paged DSC nodes by Automation Account where Node Configurations are not assigned filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPagedDSCNodesByAutomationAccountWhereNodeConfigurationsAreNotAssignedFilter() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listPagedDscNodesByAutomationAccountWithNodeConfigurationNotAssignedFilter.json @@ -198,12 +194,11 @@ public async Task GetAll_ListPagedDSCNodesByAutomationAccountWhereNodeConfigurat Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Paged DSC nodes by Automation Account with Node Configuration Custom filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPagedDSCNodesByAutomationAccountWithNodeConfigurationCustomFilter() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listPagedDscNodesByAutomationAccountWithNodeConfigurationCustomFilter.json @@ -239,12 +234,11 @@ public async Task GetAll_ListPagedDSCNodesByAutomationAccountWithNodeConfigurati Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Paged DSC nodes by Automation Account with name filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPagedDSCNodesByAutomationAccountWithNameFilter() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listPagedDscNodesByAutomationAccountWithNameFilter.json @@ -280,12 +274,11 @@ public async Task GetAll_ListPagedDSCNodesByAutomationAccountWithNameFilter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Paged DSC nodes by Automation Account with no filters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPagedDSCNodesByAutomationAccountWithNoFilters() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listPagedDscNodesByAutomationAccountWithNoFilter.json @@ -320,12 +313,11 @@ public async Task GetAll_ListPagedDSCNodesByAutomationAccountWithNoFilters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Paged DSC nodes by Automation Account with node status filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPagedDSCNodesByAutomationAccountWithNodeStatusFilter() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listPagedDscNodesByAutomationAccountWithStatusFilter.json @@ -361,12 +353,11 @@ public async Task GetAll_ListPagedDSCNodesByAutomationAccountWithNodeStatusFilte Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Paged DSC nodes by Automation Account with version filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPagedDSCNodesByAutomationAccountWithVersionFilter() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listPagedDscNodesByAutomationAccountWithVersionFilter.json @@ -402,12 +393,11 @@ public async Task GetAll_ListPagedDSCNodesByAutomationAccountWithVersionFilter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Paged DSC nodes with filters separated by 'and' - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPagedDSCNodesWithFiltersSeparatedByAnd() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listPagedDscNodesByAutomationAccountWithCompositeFilter.json @@ -443,7 +433,7 @@ public async Task GetAll_ListPagedDSCNodesWithFiltersSeparatedByAnd() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscNodeConfigurationCollection.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscNodeConfigurationCollection.cs index d96e183e36273..170f6a5de6143 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscNodeConfigurationCollection.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscNodeConfigurationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_DscNodeConfigurationCollection { - // Get a DSC node configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADSCNodeConfiguration() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getDscNodeConfiguration.json @@ -50,9 +50,8 @@ public async Task Get_GetADSCNodeConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a DSC node configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADSCNodeConfiguration() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getDscNodeConfiguration.json @@ -81,9 +80,8 @@ public async Task Exists_GetADSCNodeConfiguration() Console.WriteLine($"Succeeded: {result}"); } - // Get a DSC node configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADSCNodeConfiguration() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getDscNodeConfiguration.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetADSCNodeConfiguration() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetADSCNodeConfiguration() } } - // Create node configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNodeConfiguration() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/createOrUpdateDscNodeConfiguration.json @@ -165,12 +162,11 @@ public async Task CreateOrUpdate_CreateNodeConfiguration() }; await collection.CreateOrUpdateAsync(WaitUntil.Completed, nodeConfigurationName, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List DSC node configurations by Automation Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDSCNodeConfigurationsByAutomationAccount() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listDscNodeConfigurations.json @@ -202,12 +198,11 @@ public async Task GetAll_ListDSCNodeConfigurationsByAutomationAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Paged DSC node configurations by Automation Account with name filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPagedDSCNodeConfigurationsByAutomationAccountWithNameFilter() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listPagedDscNodeConfigurationsWithNameFilter.json @@ -243,12 +238,11 @@ public async Task GetAll_ListPagedDSCNodeConfigurationsByAutomationAccountWithNa Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Paged DSC node configurations by Automation Account with no filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPagedDSCNodeConfigurationsByAutomationAccountWithNoFilter() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listPagedDscNodeConfigurationsWithNoFilter.json @@ -283,7 +277,7 @@ public async Task GetAll_ListPagedDSCNodeConfigurationsByAutomationAccountWithNo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscNodeConfigurationResource.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscNodeConfigurationResource.cs index 576e4e932da90..71026523d1a2f 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscNodeConfigurationResource.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscNodeConfigurationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_DscNodeConfigurationResource { - // Delete a DSC node configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteADSCNodeConfiguration() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/deleteDscNodeConfiguration.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteADSCNodeConfiguration() // invoke the operation await dscNodeConfiguration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a DSC node configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADSCNodeConfiguration() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getDscNodeConfiguration.json @@ -75,9 +74,8 @@ public async Task Get_GetADSCNodeConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create node configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateNodeConfiguration() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/createOrUpdateDscNodeConfiguration.json @@ -113,7 +111,7 @@ public async Task Update_CreateNodeConfiguration() }; await dscNodeConfiguration.UpdateAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscNodeResource.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscNodeResource.cs index cda99276c0fc3..4a6a861d0d4e0 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscNodeResource.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_DscNodeResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_DscNodeResource { - // Delete a DSC Node - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteADSCNode() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/deleteDscNode.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteADSCNode() // invoke the operation await dscNode.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a node - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetANode() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getDscNode.json @@ -75,9 +74,8 @@ public async Task Get_GetANode() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a node - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateANode() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/updateDscNode.json @@ -112,9 +110,8 @@ public async Task Update_UpdateANode() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List DSC reports by node id. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNodeReportsByNode_ListDSCReportsByNodeId() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listDscNodeReportsByNode.json @@ -140,12 +137,11 @@ public async Task GetNodeReportsByNode_ListDSCReportsByNodeId() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Paged DSC reports by node id. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNodeReportsByNode_ListPagedDSCReportsByNodeId() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/listPagedDscNodeReportsByNode.json @@ -171,12 +167,11 @@ public async Task GetNodeReportsByNode_ListPagedDSCReportsByNodeId() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Dsc node report data by node id and report id. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNodeReport_GetDscNodeReportDataByNodeIdAndReportId() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getDscNodeReport.json @@ -203,9 +198,8 @@ public async Task GetNodeReport_GetDscNodeReportDataByNodeIdAndReportId() Console.WriteLine($"Succeeded: {result}"); } - // Get content of node - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContentNodeReport_GetContentOfNode() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/preview/2020-01-13-preview/examples/getDscNodeReportContent.json diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_HybridRunbookWorkerCollection.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_HybridRunbookWorkerCollection.cs index 23c6583875eac..7a29b20eef475 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_HybridRunbookWorkerCollection.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_HybridRunbookWorkerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_HybridRunbookWorkerCollection { - // Get a V2 hybrid runbook worker - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAV2HybridRunbookWorker() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/getHybridRunbookWorker.json @@ -51,9 +51,8 @@ public async Task Get_GetAV2HybridRunbookWorker() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a V2 hybrid runbook worker - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAV2HybridRunbookWorker() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/getHybridRunbookWorker.json @@ -83,9 +82,8 @@ public async Task Exists_GetAV2HybridRunbookWorker() Console.WriteLine($"Succeeded: {result}"); } - // Get a V2 hybrid runbook worker - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAV2HybridRunbookWorker() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/getHybridRunbookWorker.json @@ -115,7 +113,7 @@ public async Task GetIfExists_GetAV2HybridRunbookWorker() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_GetAV2HybridRunbookWorker() } } - // Create a V2 hybrid runbook worker - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAV2HybridRunbookWorker() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/putHybridRunbookWorker.json @@ -168,9 +165,8 @@ public async Task CreateOrUpdate_CreateAV2HybridRunbookWorker() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List hybrid workers by hybrid runbook worker group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListHybridWorkersByHybridRunbookWorkerGroup() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/listHybridRunbookWorker.json @@ -203,7 +199,7 @@ public async Task GetAll_ListHybridWorkersByHybridRunbookWorkerGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_HybridRunbookWorkerGroupCollection.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_HybridRunbookWorkerGroupCollection.cs index 7927c038ec073..6ecf09fcdde59 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_HybridRunbookWorkerGroupCollection.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_HybridRunbookWorkerGroupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_HybridRunbookWorkerGroupCollection { - // Get a hybrid worker group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAHybridWorkerGroup() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2022-02-22/examples/getHybridRunbookWorkerGroup.json @@ -50,9 +50,8 @@ public async Task Get_GetAHybridWorkerGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a hybrid worker group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAHybridWorkerGroup() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2022-02-22/examples/getHybridRunbookWorkerGroup.json @@ -81,9 +80,8 @@ public async Task Exists_GetAHybridWorkerGroup() Console.WriteLine($"Succeeded: {result}"); } - // Get a hybrid worker group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAHybridWorkerGroup() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2022-02-22/examples/getHybridRunbookWorkerGroup.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetAHybridWorkerGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetAHybridWorkerGroup() } } - // Create a hybrid worker group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAHybridWorkerGroup() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2022-02-22/examples/putHybridRunbookWorkerGroup.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_CreateAHybridWorkerGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List hybrid worker groups by Automation Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListHybridWorkerGroupsByAutomationAccount() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2022-02-22/examples/listHybridRunbookWorkerGroup.json @@ -198,7 +194,7 @@ public async Task GetAll_ListHybridWorkerGroupsByAutomationAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_HybridRunbookWorkerGroupResource.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_HybridRunbookWorkerGroupResource.cs index b74936bf3ee68..4b3be7d72a4ea 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_HybridRunbookWorkerGroupResource.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_HybridRunbookWorkerGroupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_HybridRunbookWorkerGroupResource { - // Delete a hybrid worker group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAHybridWorkerGroup() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2022-02-22/examples/deleteHybridRunbookWorkerGroup.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteAHybridWorkerGroup() // invoke the operation await hybridRunbookWorkerGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a hybrid worker group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAHybridWorkerGroup() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2022-02-22/examples/getHybridRunbookWorkerGroup.json @@ -75,9 +74,8 @@ public async Task Get_GetAHybridWorkerGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update hybrid worker group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateHybridWorkerGroup() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2022-02-22/examples/updateHybridRunbookWorkerGroup.json diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_HybridRunbookWorkerResource.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_HybridRunbookWorkerResource.cs index 767ab7b20b0ba..c84349deb2568 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_HybridRunbookWorkerResource.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_HybridRunbookWorkerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_HybridRunbookWorkerResource { - // Delete a V2 hybrid runbook worker - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAV2HybridRunbookWorker() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/deleteHybridRunbookWorker.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteAV2HybridRunbookWorker() // invoke the operation await hybridRunbookWorker.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a V2 hybrid runbook worker - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAV2HybridRunbookWorker() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/getHybridRunbookWorker.json @@ -77,9 +76,8 @@ public async Task Get_GetAV2HybridRunbookWorker() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a V2 hybrid runbook worker - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAV2HybridRunbookWorker() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/putHybridRunbookWorker.json @@ -115,9 +113,8 @@ public async Task Update_CreateAV2HybridRunbookWorker() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Move a V2 hybrid worker to a different group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Move_MoveAV2HybridWorkerToADifferentGroup() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2021-06-22/examples/moveHybridRunbookWorker.json @@ -145,7 +142,7 @@ public async Task Move_MoveAV2HybridWorkerToADifferentGroup() }; await hybridRunbookWorker.MoveAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_SoftwareUpdateConfigurationCollection.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_SoftwareUpdateConfigurationCollection.cs index 71b522358cb3a..5a2088fa08ff7 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_SoftwareUpdateConfigurationCollection.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_SoftwareUpdateConfigurationCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_SoftwareUpdateConfigurationCollection { - // Create software update configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSoftwareUpdateConfiguration() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/softwareUpdateConfiguration/createSoftwareUpdateConfiguration.json @@ -151,9 +151,8 @@ public async Task CreateOrUpdate_CreateSoftwareUpdateConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get software update configuration by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSoftwareUpdateConfigurationByName() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/softwareUpdateConfiguration/getSoftwareUpdateConfigurationByName.json @@ -186,9 +185,8 @@ public async Task Get_GetSoftwareUpdateConfigurationByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get software update configuration by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSoftwareUpdateConfigurationByName() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/softwareUpdateConfiguration/getSoftwareUpdateConfigurationByName.json @@ -217,9 +215,8 @@ public async Task Exists_GetSoftwareUpdateConfigurationByName() Console.WriteLine($"Succeeded: {result}"); } - // Get software update configuration by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSoftwareUpdateConfigurationByName() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/softwareUpdateConfiguration/getSoftwareUpdateConfigurationByName.json @@ -248,7 +245,7 @@ public async Task GetIfExists_GetSoftwareUpdateConfigurationByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -260,9 +257,8 @@ public async Task GetIfExists_GetSoftwareUpdateConfigurationByName() } } - // List software update configurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSoftwareUpdateConfigurations() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurations.json @@ -290,12 +286,11 @@ public async Task GetAll_ListSoftwareUpdateConfigurations() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List software update configurations Targeting a specific azure virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSoftwareUpdateConfigurationsTargetingASpecificAzureVirtualMachine() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurationsByVm.json @@ -324,7 +319,7 @@ public async Task GetAll_ListSoftwareUpdateConfigurationsTargetingASpecificAzure Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_SoftwareUpdateConfigurationResource.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_SoftwareUpdateConfigurationResource.cs index 1678fb995b7f7..11ea5468bded5 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_SoftwareUpdateConfigurationResource.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_SoftwareUpdateConfigurationResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Automation.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_SoftwareUpdateConfigurationResource { - // Create software update configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateSoftwareUpdateConfiguration() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/softwareUpdateConfiguration/createSoftwareUpdateConfiguration.json @@ -148,9 +148,8 @@ public async Task Update_CreateSoftwareUpdateConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get software update configuration by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSoftwareUpdateConfigurationByName() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/softwareUpdateConfiguration/getSoftwareUpdateConfigurationByName.json @@ -180,9 +179,8 @@ public async Task Get_GetSoftwareUpdateConfigurationByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete software update configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSoftwareUpdateConfiguration() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/softwareUpdateConfiguration/deleteSoftwareUpdateConfiguration.json @@ -205,7 +203,7 @@ public async Task Delete_DeleteSoftwareUpdateConfiguration() // invoke the operation await softwareUpdateConfiguration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index f30eb9395b877..596977d3e04d5 100644 --- a/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/automation/Azure.ResourceManager.Automation/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Automation.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Automation.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Get deleted automation account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeletedAutomationAccountsBySubscription_GetDeletedAutomationAccount() { // Generated from example definition: specification/automation/resource-manager/Microsoft.Automation/stable/2022-01-31/examples/getDeletedAutomationAccount.json @@ -41,7 +41,7 @@ public async Task GetDeletedAutomationAccountsBySubscription_GetDeletedAutomatio Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsCloudLinkCollection.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsCloudLinkCollection.cs index fd7b0c320cc9f..014632ddd0c3a 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsCloudLinkCollection.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsCloudLinkCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_AvsCloudLinkCollection { - // CloudLinks_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CloudLinksList() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_List.json @@ -48,12 +48,11 @@ public async Task GetAll_CloudLinksList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CloudLinks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CloudLinksGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_Get.json @@ -86,9 +85,8 @@ public async Task Get_CloudLinksGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CloudLinks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CloudLinksGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_Get.json @@ -117,9 +115,8 @@ public async Task Exists_CloudLinksGet() Console.WriteLine($"Succeeded: {result}"); } - // CloudLinks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CloudLinksGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_CloudLinksGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_CloudLinksGet() } } - // CloudLinks_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CloudLinksCreateOrUpdate() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_CreateOrUpdate.json diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsCloudLinkResource.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsCloudLinkResource.cs index 4dba2e06a83df..6653ccf8a2d9a 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsCloudLinkResource.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsCloudLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_AvsCloudLinkResource { - // CloudLinks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CloudLinksGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_Get.json @@ -46,9 +46,8 @@ public async Task Get_CloudLinksGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CloudLinks_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CloudLinksCreateOrUpdate() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_CreateOrUpdate.json @@ -83,9 +82,8 @@ public async Task Update_CloudLinksCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CloudLinks_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CloudLinksDelete() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/CloudLinks_Delete.json @@ -108,7 +106,7 @@ public async Task Delete_CloudLinksDelete() // invoke the operation await avsCloudLink.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudAddonCollection.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudAddonCollection.cs index b37e4c5e3151d..f40d6b830c342 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudAddonCollection.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudAddonCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Avs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_AvsPrivateCloudAddonCollection { - // Addons_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AddonsList() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_List.json @@ -49,12 +49,11 @@ public async Task GetAll_AddonsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Addons_Get_ArcReg - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AddonsGetArcReg() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_ArcReg.json @@ -87,9 +86,8 @@ public async Task Get_AddonsGetArcReg() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Addons_Get_ArcReg - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AddonsGetArcReg() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_ArcReg.json @@ -118,9 +116,8 @@ public async Task Exists_AddonsGetArcReg() Console.WriteLine($"Succeeded: {result}"); } - // Addons_Get_ArcReg - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AddonsGetArcReg() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_ArcReg.json @@ -149,7 +146,7 @@ public async Task GetIfExists_AddonsGetArcReg() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_AddonsGetArcReg() } } - // Addons_Get_HCX - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AddonsGetHCX() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_HCX.json @@ -196,9 +192,8 @@ public async Task Get_AddonsGetHCX() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Addons_Get_HCX - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AddonsGetHCX() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_HCX.json @@ -227,9 +222,8 @@ public async Task Exists_AddonsGetHCX() Console.WriteLine($"Succeeded: {result}"); } - // Addons_Get_HCX - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AddonsGetHCX() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_HCX.json @@ -258,7 +252,7 @@ public async Task GetIfExists_AddonsGetHCX() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -270,9 +264,8 @@ public async Task GetIfExists_AddonsGetHCX() } } - // Addons_Get_SRM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AddonsGetSRM() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_SRM.json @@ -305,9 +298,8 @@ public async Task Get_AddonsGetSRM() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Addons_Get_SRM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AddonsGetSRM() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_SRM.json @@ -336,9 +328,8 @@ public async Task Exists_AddonsGetSRM() Console.WriteLine($"Succeeded: {result}"); } - // Addons_Get_SRM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AddonsGetSRM() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_SRM.json @@ -367,7 +358,7 @@ public async Task GetIfExists_AddonsGetSRM() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -379,9 +370,8 @@ public async Task GetIfExists_AddonsGetSRM() } } - // Addons_Get_VR - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AddonsGetVR() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_VR.json @@ -414,9 +404,8 @@ public async Task Get_AddonsGetVR() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Addons_Get_VR - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AddonsGetVR() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_VR.json @@ -445,9 +434,8 @@ public async Task Exists_AddonsGetVR() Console.WriteLine($"Succeeded: {result}"); } - // Addons_Get_VR - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AddonsGetVR() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_VR.json @@ -476,7 +464,7 @@ public async Task GetIfExists_AddonsGetVR() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -488,9 +476,8 @@ public async Task GetIfExists_AddonsGetVR() } } - // Addons_CreateOrUpdate_ArcReg - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AddonsCreateOrUpdateArcReg() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_ArcReg.json @@ -531,9 +518,8 @@ public async Task CreateOrUpdate_AddonsCreateOrUpdateArcReg() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Addons_CreateOrUpdate_HCX - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AddonsCreateOrUpdateHCX() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_HCX.json @@ -571,9 +557,8 @@ public async Task CreateOrUpdate_AddonsCreateOrUpdateHCX() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Addons_CreateOrUpdate_SRM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AddonsCreateOrUpdateSRM() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_SRM.json @@ -614,9 +599,8 @@ public async Task CreateOrUpdate_AddonsCreateOrUpdateSRM() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Addons_CreateOrUpdate_VR - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AddonsCreateOrUpdateVR() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_VR.json diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudAddonResource.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudAddonResource.cs index 9cc138f685036..ac232a474502f 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudAddonResource.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudAddonResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Avs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_AvsPrivateCloudAddonResource { - // Addons_Get_ArcReg - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AddonsGetArcReg() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_ArcReg.json @@ -47,9 +47,8 @@ public async Task Get_AddonsGetArcReg() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Addons_Get_HCX - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AddonsGetHCX() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_HCX.json @@ -79,9 +78,8 @@ public async Task Get_AddonsGetHCX() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Addons_Get_SRM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AddonsGetSRM() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_SRM.json @@ -111,9 +109,8 @@ public async Task Get_AddonsGetSRM() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Addons_Get_VR - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AddonsGetVR() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Get_VR.json @@ -143,9 +140,8 @@ public async Task Get_AddonsGetVR() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Addons_CreateOrUpdate_ArcReg - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AddonsCreateOrUpdateArcReg() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_ArcReg.json @@ -183,9 +179,8 @@ public async Task Update_AddonsCreateOrUpdateArcReg() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Addons_CreateOrUpdate_HCX - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AddonsCreateOrUpdateHCX() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_HCX.json @@ -220,9 +215,8 @@ public async Task Update_AddonsCreateOrUpdateHCX() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Addons_CreateOrUpdate_SRM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AddonsCreateOrUpdateSRM() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_SRM.json @@ -260,9 +254,8 @@ public async Task Update_AddonsCreateOrUpdateSRM() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Addons_CreateOrUpdate_VR - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AddonsCreateOrUpdateVR() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_CreateOrUpdate_VR.json @@ -297,9 +290,8 @@ public async Task Update_AddonsCreateOrUpdateVR() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Addons_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AddonsDelete() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Addons_Delete.json @@ -322,7 +314,7 @@ public async Task Delete_AddonsDelete() // invoke the operation await avsPrivateCloudAddon.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudClusterCollection.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudClusterCollection.cs index 58e10f984d024..ae70618ad2327 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudClusterCollection.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudClusterCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Avs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_AvsPrivateCloudClusterCollection { - // Clusters_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ClustersList() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_List.json @@ -49,12 +49,11 @@ public async Task GetAll_ClustersList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Clusters_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ClustersGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Get.json @@ -87,9 +86,8 @@ public async Task Get_ClustersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Clusters_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ClustersGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Get.json @@ -118,9 +116,8 @@ public async Task Exists_ClustersGet() Console.WriteLine($"Succeeded: {result}"); } - // Clusters_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ClustersGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ClustersGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ClustersGet() } } - // Clusters_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ClustersCreateOrUpdate() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_CreateOrUpdate.json diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudClusterResource.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudClusterResource.cs index 834b89bf28006..18cb27382faf6 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudClusterResource.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudClusterResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Avs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_AvsPrivateCloudClusterResource { - // Clusters_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ClustersGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Get.json @@ -47,9 +47,8 @@ public async Task Get_ClustersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Clusters_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ClustersUpdate() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Update.json @@ -84,9 +83,8 @@ public async Task Update_ClustersUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Clusters_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ClustersDelete() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_Delete.json @@ -109,12 +107,11 @@ public async Task Delete_ClustersDelete() // invoke the operation await avsPrivateCloudCluster.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Clusters_ListZones - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetZones_ClustersListZones() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_ListZones.json @@ -140,12 +137,11 @@ public async Task GetZones_ClustersListZones() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Clusters_ListZones_Stretched - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetZones_ClustersListZonesStretched() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Clusters_ListZones_Stretched.json @@ -171,7 +167,7 @@ public async Task GetZones_ClustersListZonesStretched() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudClusterVirtualMachineCollection.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudClusterVirtualMachineCollection.cs index 8ec45e4f28ad6..f5ee6f1361c62 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudClusterVirtualMachineCollection.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudClusterVirtualMachineCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_AvsPrivateCloudClusterVirtualMachineCollection { - // VirtualMachines_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VirtualMachinesList() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_List.json @@ -49,12 +49,11 @@ public async Task GetAll_VirtualMachinesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachines_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualMachinesGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_Get.json @@ -88,9 +87,8 @@ public async Task Get_VirtualMachinesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachines_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VirtualMachinesGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_Get.json @@ -120,9 +118,8 @@ public async Task Exists_VirtualMachinesGet() Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachines_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VirtualMachinesGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_Get.json @@ -152,7 +149,7 @@ public async Task GetIfExists_VirtualMachinesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudClusterVirtualMachineResource.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudClusterVirtualMachineResource.cs index 76013cb88ddac..b43d31561a2a9 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudClusterVirtualMachineResource.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudClusterVirtualMachineResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Avs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_AvsPrivateCloudClusterVirtualMachineResource { - // VirtualMachines_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualMachinesGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_Get.json @@ -48,9 +48,8 @@ public async Task Get_VirtualMachinesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachines_RestrictMovement - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RestrictMovement_VirtualMachinesRestrictMovement() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/VirtualMachines_RestrictMovement.json @@ -78,7 +77,7 @@ public async Task RestrictMovement_VirtualMachinesRestrictMovement() }; await avsPrivateCloudClusterVirtualMachine.RestrictMovementAsync(WaitUntil.Completed, restrictMovement); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudCollection.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudCollection.cs index 22ef33bd01a9f..170a0b8dc9fb0 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudCollection.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Avs.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_AvsPrivateCloudCollection { - // PrivateClouds_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateCloudsList() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List.json @@ -50,12 +50,11 @@ public async Task GetAll_PrivateCloudsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateClouds_List_Stretched - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateCloudsListStretched() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_List_Stretched.json @@ -86,12 +85,11 @@ public async Task GetAll_PrivateCloudsListStretched() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateClouds_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateCloudsGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get.json @@ -123,9 +121,8 @@ public async Task Get_PrivateCloudsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateClouds_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateCloudsGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get.json @@ -153,9 +150,8 @@ public async Task Exists_PrivateCloudsGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateClouds_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateCloudsGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get.json @@ -183,7 +179,7 @@ public async Task GetIfExists_PrivateCloudsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -195,9 +191,8 @@ public async Task GetIfExists_PrivateCloudsGet() } } - // PrivateClouds_Get_Stretched - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateCloudsGetStretched() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get_Stretched.json @@ -229,9 +224,8 @@ public async Task Get_PrivateCloudsGetStretched() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateClouds_Get_Stretched - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateCloudsGetStretched() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get_Stretched.json @@ -259,9 +253,8 @@ public async Task Exists_PrivateCloudsGetStretched() Console.WriteLine($"Succeeded: {result}"); } - // PrivateClouds_Get_Stretched - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateCloudsGetStretched() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get_Stretched.json @@ -289,7 +282,7 @@ public async Task GetIfExists_PrivateCloudsGetStretched() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -301,9 +294,8 @@ public async Task GetIfExists_PrivateCloudsGetStretched() } } - // PrivateClouds_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateCloudsCreateOrUpdate() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate.json @@ -348,9 +340,8 @@ public async Task CreateOrUpdate_PrivateCloudsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateClouds_CreateOrUpdate_Stretched - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateCloudsCreateOrUpdateStretched() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_CreateOrUpdate_Stretched.json diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudDatastoreCollection.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudDatastoreCollection.cs index 17e983410c373..8f987679471c6 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudDatastoreCollection.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudDatastoreCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_AvsPrivateCloudDatastoreCollection { - // Datastores_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DatastoresList() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_List.json @@ -49,12 +49,11 @@ public async Task GetAll_DatastoresList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Datastores_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DatastoresGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_Get.json @@ -88,9 +87,8 @@ public async Task Get_DatastoresGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Datastores_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DatastoresGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_Get.json @@ -120,9 +118,8 @@ public async Task Exists_DatastoresGet() Console.WriteLine($"Succeeded: {result}"); } - // Datastores_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DatastoresGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_Get.json @@ -152,7 +149,7 @@ public async Task GetIfExists_DatastoresGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_DatastoresGet() } } - // Datastores_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DatastoresCreateOrUpdate() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_CreateOrUpdate.json diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudDatastoreResource.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudDatastoreResource.cs index e6ba3e5f1ef80..bea906bca61a7 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudDatastoreResource.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudDatastoreResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_AvsPrivateCloudDatastoreResource { - // Datastores_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DatastoresGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_Get.json @@ -47,9 +47,8 @@ public async Task Get_DatastoresGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Datastores_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DatastoresCreateOrUpdate() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_CreateOrUpdate.json @@ -85,9 +84,8 @@ public async Task Update_DatastoresCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Datastores_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DatastoresDelete() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Datastores_Delete.json @@ -111,7 +109,7 @@ public async Task Delete_DatastoresDelete() // invoke the operation await avsPrivateCloudDatastore.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudResource.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudResource.cs index 0bf60ee5e38e5..23a6f3ea54a4c 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudResource.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_AvsPrivateCloudResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Avs.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_AvsPrivateCloudResource { - // PrivateClouds_ListInSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvsPrivateClouds_PrivateCloudsListInSubscription() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription.json @@ -46,12 +46,11 @@ public async Task GetAvsPrivateClouds_PrivateCloudsListInSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateClouds_ListInSubscription_Stretched - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvsPrivateClouds_PrivateCloudsListInSubscriptionStretched() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListInSubscription_Stretched.json @@ -78,12 +77,11 @@ public async Task GetAvsPrivateClouds_PrivateCloudsListInSubscriptionStretched() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateClouds_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateCloudsGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get.json @@ -112,9 +110,8 @@ public async Task Get_PrivateCloudsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateClouds_Get_Stretched - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateCloudsGetStretched() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Get_Stretched.json @@ -143,9 +140,8 @@ public async Task Get_PrivateCloudsGetStretched() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateClouds_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateCloudsUpdate() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update.json @@ -193,9 +189,8 @@ public async Task Update_PrivateCloudsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateClouds_Update_Stretched - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateCloudsUpdateStretched() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Update_Stretched.json @@ -232,9 +227,8 @@ public async Task Update_PrivateCloudsUpdateStretched() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateClouds_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateCloudsDelete() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_Delete.json @@ -256,12 +250,11 @@ public async Task Delete_PrivateCloudsDelete() // invoke the operation await avsPrivateCloud.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateClouds_ListAdminCredentials - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAdminCredentials_PrivateCloudsListAdminCredentials() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_ListAdminCredentials.json @@ -286,9 +279,8 @@ public async Task GetAdminCredentials_PrivateCloudsListAdminCredentials() Console.WriteLine($"Succeeded: {result}"); } - // PrivateClouds_RotateNsxtPassword - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RotateNsxtPassword_PrivateCloudsRotateNsxtPassword() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_RotateNsxtPassword.json @@ -310,12 +302,11 @@ public async Task RotateNsxtPassword_PrivateCloudsRotateNsxtPassword() // invoke the operation await avsPrivateCloud.RotateNsxtPasswordAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateClouds_RotateVcenterPassword - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RotateVCenterPassword_PrivateCloudsRotateVcenterPassword() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PrivateClouds_RotateVcenterPassword.json @@ -337,7 +328,7 @@ public async Task RotateVCenterPassword_PrivateCloudsRotateVcenterPassword() // invoke the operation await avsPrivateCloud.RotateVCenterPasswordAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ExpressRouteAuthorizationCollection.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ExpressRouteAuthorizationCollection.cs index 34dd8b0e06791..e47bd215cf1ee 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ExpressRouteAuthorizationCollection.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ExpressRouteAuthorizationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_ExpressRouteAuthorizationCollection { - // Authorizations_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AuthorizationsList() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_List.json @@ -48,12 +48,11 @@ public async Task GetAll_AuthorizationsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Authorizations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AuthorizationsGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_Get.json @@ -86,9 +85,8 @@ public async Task Get_AuthorizationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Authorizations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AuthorizationsGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_Get.json @@ -117,9 +115,8 @@ public async Task Exists_AuthorizationsGet() Console.WriteLine($"Succeeded: {result}"); } - // Authorizations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AuthorizationsGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_AuthorizationsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_AuthorizationsGet() } } - // Authorizations_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AuthorizationsCreateOrUpdate() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_CreateOrUpdate.json diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ExpressRouteAuthorizationResource.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ExpressRouteAuthorizationResource.cs index fb38608bdacf4..272a824717af9 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ExpressRouteAuthorizationResource.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ExpressRouteAuthorizationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_ExpressRouteAuthorizationResource { - // Authorizations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AuthorizationsGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_Get.json @@ -46,9 +46,8 @@ public async Task Get_AuthorizationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Authorizations_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AuthorizationsCreateOrUpdate() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_CreateOrUpdate.json @@ -80,9 +79,8 @@ public async Task Update_AuthorizationsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Authorizations_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AuthorizationsDelete() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Authorizations_Delete.json @@ -105,7 +103,7 @@ public async Task Delete_AuthorizationsDelete() // invoke the operation await expressRouteAuthorization.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_GlobalReachConnectionCollection.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_GlobalReachConnectionCollection.cs index 4409b20d3ce40..039211615dd50 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_GlobalReachConnectionCollection.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_GlobalReachConnectionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_GlobalReachConnectionCollection { - // GlobalReachConnections_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GlobalReachConnectionsList() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_List.json @@ -48,12 +48,11 @@ public async Task GetAll_GlobalReachConnectionsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GlobalReachConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GlobalReachConnectionsGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_Get.json @@ -86,9 +85,8 @@ public async Task Get_GlobalReachConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GlobalReachConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GlobalReachConnectionsGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_Get.json @@ -117,9 +115,8 @@ public async Task Exists_GlobalReachConnectionsGet() Console.WriteLine($"Succeeded: {result}"); } - // GlobalReachConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GlobalReachConnectionsGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GlobalReachConnectionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GlobalReachConnectionsGet() } } - // GlobalReachConnections_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_GlobalReachConnectionsCreateOrUpdate() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_CreateOrUpdate.json diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_GlobalReachConnectionResource.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_GlobalReachConnectionResource.cs index 0667edf1c2f15..3fb83e3d643b7 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_GlobalReachConnectionResource.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_GlobalReachConnectionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_GlobalReachConnectionResource { - // GlobalReachConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GlobalReachConnectionsGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_Get.json @@ -46,9 +46,8 @@ public async Task Get_GlobalReachConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GlobalReachConnections_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_GlobalReachConnectionsCreateOrUpdate() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_CreateOrUpdate.json @@ -84,9 +83,8 @@ public async Task Update_GlobalReachConnectionsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GlobalReachConnections_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_GlobalReachConnectionsDelete() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/GlobalReachConnections_Delete.json @@ -109,7 +107,7 @@ public async Task Delete_GlobalReachConnectionsDelete() // invoke the operation await globalReachConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_HcxEnterpriseSiteCollection.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_HcxEnterpriseSiteCollection.cs index 3e345fc331243..b4fbe50296e65 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_HcxEnterpriseSiteCollection.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_HcxEnterpriseSiteCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_HcxEnterpriseSiteCollection { - // HcxEnterpriseSites_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_HcxEnterpriseSitesList() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_List.json @@ -48,12 +48,11 @@ public async Task GetAll_HcxEnterpriseSitesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // HcxEnterpriseSites_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_HcxEnterpriseSitesGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_Get.json @@ -86,9 +85,8 @@ public async Task Get_HcxEnterpriseSitesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HcxEnterpriseSites_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_HcxEnterpriseSitesGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_Get.json @@ -117,9 +115,8 @@ public async Task Exists_HcxEnterpriseSitesGet() Console.WriteLine($"Succeeded: {result}"); } - // HcxEnterpriseSites_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_HcxEnterpriseSitesGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_HcxEnterpriseSitesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_HcxEnterpriseSitesGet() } } - // HcxEnterpriseSites_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_HcxEnterpriseSitesCreateOrUpdate() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_CreateOrUpdate.json diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_HcxEnterpriseSiteResource.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_HcxEnterpriseSiteResource.cs index 2518d2f3ae684..07594630e3017 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_HcxEnterpriseSiteResource.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_HcxEnterpriseSiteResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_HcxEnterpriseSiteResource { - // HcxEnterpriseSites_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_HcxEnterpriseSitesGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_Get.json @@ -46,9 +46,8 @@ public async Task Get_HcxEnterpriseSitesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HcxEnterpriseSites_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_HcxEnterpriseSitesCreateOrUpdate() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_CreateOrUpdate.json @@ -80,9 +79,8 @@ public async Task Update_HcxEnterpriseSitesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HcxEnterpriseSites_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_HcxEnterpriseSitesDelete() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/HcxEnterpriseSites_Delete.json @@ -105,7 +103,7 @@ public async Task Delete_HcxEnterpriseSitesDelete() // invoke the operation await hcxEnterpriseSite.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_IscsiPathResource.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_IscsiPathResource.cs index cca16b9612f0e..c4793c3c607b7 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_IscsiPathResource.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_IscsiPathResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_IscsiPathResource { - // IscsiPaths_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_IscsiPathsGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_Get.json @@ -45,9 +45,8 @@ public async Task Get_IscsiPathsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IscsiPaths_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_IscsiPathsCreateOrUpdate() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_CreateOrUpdate.json @@ -81,9 +80,8 @@ public async Task CreateOrUpdate_IscsiPathsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IscsiPaths_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_IscsiPathsDelete() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/IscsiPaths_Delete.json @@ -105,7 +103,7 @@ public async Task Delete_IscsiPathsDelete() // invoke the operation await iscsiPath.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_PlacementPolicyCollection.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_PlacementPolicyCollection.cs index 97c96b7da30eb..42e8d170153f6 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_PlacementPolicyCollection.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_PlacementPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Avs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_PlacementPolicyCollection { - // PlacementPolicies_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PlacementPoliciesList() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_List.json @@ -50,12 +50,11 @@ public async Task GetAll_PlacementPoliciesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PlacementPolicies_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PlacementPoliciesGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Get.json @@ -89,9 +88,8 @@ public async Task Get_PlacementPoliciesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PlacementPolicies_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PlacementPoliciesGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Get.json @@ -121,9 +119,8 @@ public async Task Exists_PlacementPoliciesGet() Console.WriteLine($"Succeeded: {result}"); } - // PlacementPolicies_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PlacementPoliciesGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Get.json @@ -153,7 +150,7 @@ public async Task GetIfExists_PlacementPoliciesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_PlacementPoliciesGet() } } - // PlacementPolicies_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PlacementPoliciesCreateOrUpdate() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_CreateOrUpdate.json diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_PlacementPolicyResource.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_PlacementPolicyResource.cs index 0262294ee972f..ae728696eea2d 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_PlacementPolicyResource.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_PlacementPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Avs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_PlacementPolicyResource { - // PlacementPolicies_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PlacementPoliciesGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Get.json @@ -48,9 +48,8 @@ public async Task Get_PlacementPoliciesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PlacementPolicies_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PlacementPoliciesUpdate() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Update.json @@ -96,9 +95,8 @@ public async Task Update_PlacementPoliciesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PlacementPolicies_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PlacementPoliciesDelete() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/PlacementPolicies_Delete.json @@ -122,7 +120,7 @@ public async Task Delete_PlacementPoliciesDelete() // invoke the operation await placementPolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ScriptCmdletCollection.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ScriptCmdletCollection.cs index c838a873b5d68..2f4890f7dea58 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ScriptCmdletCollection.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ScriptCmdletCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_ScriptCmdletCollection { - // ScriptCmdlets_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ScriptCmdletsList() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptCmdlets_List.json @@ -49,12 +49,11 @@ public async Task GetAll_ScriptCmdletsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ScriptCmdlets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ScriptCmdletsGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptCmdlets_Get.json @@ -88,9 +87,8 @@ public async Task Get_ScriptCmdletsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScriptCmdlets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ScriptCmdletsGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptCmdlets_Get.json @@ -120,9 +118,8 @@ public async Task Exists_ScriptCmdletsGet() Console.WriteLine($"Succeeded: {result}"); } - // ScriptCmdlets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ScriptCmdletsGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptCmdlets_Get.json @@ -152,7 +149,7 @@ public async Task GetIfExists_ScriptCmdletsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ScriptCmdletResource.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ScriptCmdletResource.cs index c6053d9240d1d..a302f703cd235 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ScriptCmdletResource.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ScriptCmdletResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_ScriptCmdletResource { - // ScriptCmdlets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ScriptCmdletsGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptCmdlets_Get.json diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ScriptExecutionCollection.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ScriptExecutionCollection.cs index 7c677e0cba5af..c0dea1a5ec3a3 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ScriptExecutionCollection.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ScriptExecutionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Avs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_ScriptExecutionCollection { - // ScriptExecutions_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ScriptExecutionsList() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_List.json @@ -49,12 +49,11 @@ public async Task GetAll_ScriptExecutionsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ScriptExecutions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ScriptExecutionsGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_Get.json @@ -87,9 +86,8 @@ public async Task Get_ScriptExecutionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScriptExecutions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ScriptExecutionsGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_Get.json @@ -118,9 +116,8 @@ public async Task Exists_ScriptExecutionsGet() Console.WriteLine($"Succeeded: {result}"); } - // ScriptExecutions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ScriptExecutionsGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ScriptExecutionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ScriptExecutionsGet() } } - // ScriptExecutions_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ScriptExecutionsCreateOrUpdate() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_CreateOrUpdate.json diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ScriptExecutionResource.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ScriptExecutionResource.cs index 8f3abf58df029..1d1b3efbf2292 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ScriptExecutionResource.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ScriptExecutionResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Avs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_ScriptExecutionResource { - // ScriptExecutions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ScriptExecutionsGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_Get.json @@ -48,9 +48,8 @@ public async Task Get_ScriptExecutionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScriptExecutions_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ScriptExecutionsCreateOrUpdate() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_CreateOrUpdate.json @@ -104,9 +103,8 @@ public async Task Update_ScriptExecutionsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScriptExecutions_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ScriptExecutionsDelete() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_Delete.json @@ -129,12 +127,11 @@ public async Task Delete_ScriptExecutionsDelete() // invoke the operation await scriptExecution.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ScriptExecutions_GetExecutionLogs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExecutionLogs_ScriptExecutionsGetExecutionLogs() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptExecutions_GetExecutionLogs.json diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ScriptPackageCollection.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ScriptPackageCollection.cs index 6dfd7e0deae6c..9a144a736cc2e 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ScriptPackageCollection.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ScriptPackageCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_ScriptPackageCollection { - // ScriptPackages_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ScriptPackagesList() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptPackages_List.json @@ -48,12 +48,11 @@ public async Task GetAll_ScriptPackagesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ScriptPackages_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ScriptPackagesGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptPackages_Get.json @@ -86,9 +85,8 @@ public async Task Get_ScriptPackagesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScriptPackages_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ScriptPackagesGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptPackages_Get.json @@ -117,9 +115,8 @@ public async Task Exists_ScriptPackagesGet() Console.WriteLine($"Succeeded: {result}"); } - // ScriptPackages_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ScriptPackagesGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptPackages_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_ScriptPackagesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ScriptPackageResource.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ScriptPackageResource.cs index cd26e2e6b8a3a..206a9964c3fc3 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ScriptPackageResource.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_ScriptPackageResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_ScriptPackageResource { - // ScriptPackages_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ScriptPackagesGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/ScriptPackages_Get.json diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index f9c21b9586e89..dfe43b8340e05 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Avs.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Locations_CheckQuotaAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckAvsQuotaAvailability_LocationsCheckQuotaAvailability() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckQuotaAvailability.json @@ -42,9 +42,8 @@ public async Task CheckAvsQuotaAvailability_LocationsCheckQuotaAvailability() Console.WriteLine($"Succeeded: {result}"); } - // Locations_CheckTrialAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckAvsTrialAvailability_LocationsCheckTrialAvailability() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckTrialAvailability.json @@ -68,9 +67,8 @@ public async Task CheckAvsTrialAvailability_LocationsCheckTrialAvailability() Console.WriteLine($"Succeeded: {result}"); } - // Locations_CheckTrialAvailabilityWithSku - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckAvsTrialAvailability_LocationsCheckTrialAvailabilityWithSku() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/Locations_CheckTrialAvailabilityWithSku.json diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkDhcpCollection.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkDhcpCollection.cs index bf80126773424..1ccf91c9a7461 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkDhcpCollection.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkDhcpCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Avs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_WorkloadNetworkDhcpCollection { - // WorkloadNetworks_ListDhcp - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WorkloadNetworksListDhcp() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDhcp.json @@ -49,12 +49,11 @@ public async Task GetAll_WorkloadNetworksListDhcp() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkloadNetworks_GetDhcp - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkloadNetworksGetDhcp() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDhcp.json @@ -87,9 +86,8 @@ public async Task Get_WorkloadNetworksGetDhcp() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkloadNetworks_GetDhcp - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WorkloadNetworksGetDhcp() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDhcp.json @@ -118,9 +116,8 @@ public async Task Exists_WorkloadNetworksGetDhcp() Console.WriteLine($"Succeeded: {result}"); } - // WorkloadNetworks_GetDhcp - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WorkloadNetworksGetDhcp() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDhcp.json @@ -149,7 +146,7 @@ public async Task GetIfExists_WorkloadNetworksGetDhcp() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_WorkloadNetworksGetDhcp() } } - // WorkloadNetworks_CreateDhcp - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_WorkloadNetworksCreateDhcp() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDhcp.json diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkDhcpResource.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkDhcpResource.cs index 90c75fef3af24..69fc6a733588c 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkDhcpResource.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkDhcpResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Avs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_WorkloadNetworkDhcpResource { - // WorkloadNetworks_GetDhcp - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkloadNetworksGetDhcp() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDhcp.json @@ -47,9 +47,8 @@ public async Task Get_WorkloadNetworksGetDhcp() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkloadNetworks_UpdateDhcp - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_WorkloadNetworksUpdateDhcp() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDhcp.json @@ -89,9 +88,8 @@ public async Task Update_WorkloadNetworksUpdateDhcp() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkloadNetworks_DeleteDhcp - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_WorkloadNetworksDeleteDhcp() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDhcp.json @@ -114,7 +112,7 @@ public async Task Delete_WorkloadNetworksDeleteDhcp() // invoke the operation await workloadNetworkDhcp.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkDnsServiceCollection.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkDnsServiceCollection.cs index b6a38ca5c51ca..b58f26ac87861 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkDnsServiceCollection.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkDnsServiceCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Avs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_WorkloadNetworkDnsServiceCollection { - // WorkloadNetworks_ListDnsServices - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WorkloadNetworksListDnsServices() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDnsServices.json @@ -50,12 +50,11 @@ public async Task GetAll_WorkloadNetworksListDnsServices() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkloadNetworks_GetDnsService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkloadNetworksGetDnsService() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsService.json @@ -88,9 +87,8 @@ public async Task Get_WorkloadNetworksGetDnsService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkloadNetworks_GetDnsService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WorkloadNetworksGetDnsService() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsService.json @@ -119,9 +117,8 @@ public async Task Exists_WorkloadNetworksGetDnsService() Console.WriteLine($"Succeeded: {result}"); } - // WorkloadNetworks_GetDnsService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WorkloadNetworksGetDnsService() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsService.json @@ -150,7 +147,7 @@ public async Task GetIfExists_WorkloadNetworksGetDnsService() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_WorkloadNetworksGetDnsService() } } - // WorkloadNetworks_CreateDnsService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_WorkloadNetworksCreateDnsService() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsService.json diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkDnsServiceResource.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkDnsServiceResource.cs index b79fb25c34802..a44de60b01c84 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkDnsServiceResource.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkDnsServiceResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Avs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_WorkloadNetworkDnsServiceResource { - // WorkloadNetworks_GetDnsService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkloadNetworksGetDnsService() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsService.json @@ -48,9 +48,8 @@ public async Task Get_WorkloadNetworksGetDnsService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkloadNetworks_UpdateDnsService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_WorkloadNetworksUpdateDnsService() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsService.json @@ -93,9 +92,8 @@ public async Task Update_WorkloadNetworksUpdateDnsService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkloadNetworks_DeleteDnsService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_WorkloadNetworksDeleteDnsService() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsService.json @@ -118,7 +116,7 @@ public async Task Delete_WorkloadNetworksDeleteDnsService() // invoke the operation await workloadNetworkDnsService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkDnsZoneCollection.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkDnsZoneCollection.cs index ade72e22f61b5..5b5b19306eceb 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkDnsZoneCollection.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkDnsZoneCollection.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_WorkloadNetworkDnsZoneCollection { - // WorkloadNetworks_ListDnsZones - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WorkloadNetworksListDnsZones() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListDnsZones.json @@ -49,12 +49,11 @@ public async Task GetAll_WorkloadNetworksListDnsZones() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkloadNetworks_GetDnsZone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkloadNetworksGetDnsZone() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsZone.json @@ -87,9 +86,8 @@ public async Task Get_WorkloadNetworksGetDnsZone() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkloadNetworks_GetDnsZone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WorkloadNetworksGetDnsZone() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsZone.json @@ -118,9 +116,8 @@ public async Task Exists_WorkloadNetworksGetDnsZone() Console.WriteLine($"Succeeded: {result}"); } - // WorkloadNetworks_GetDnsZone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WorkloadNetworksGetDnsZone() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsZone.json @@ -149,7 +146,7 @@ public async Task GetIfExists_WorkloadNetworksGetDnsZone() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_WorkloadNetworksGetDnsZone() } } - // WorkloadNetworks_CreateDnsZone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_WorkloadNetworksCreateDnsZone() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateDnsZone.json diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkDnsZoneResource.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkDnsZoneResource.cs index 8fbf6d24485dd..f5d7e57a06a73 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkDnsZoneResource.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkDnsZoneResource.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_WorkloadNetworkDnsZoneResource { - // WorkloadNetworks_GetDnsZone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkloadNetworksGetDnsZone() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetDnsZone.json @@ -47,9 +47,8 @@ public async Task Get_WorkloadNetworksGetDnsZone() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkloadNetworks_UpdateDnsZone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_WorkloadNetworksUpdateDnsZone() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateDnsZone.json @@ -93,9 +92,8 @@ public async Task Update_WorkloadNetworksUpdateDnsZone() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkloadNetworks_DeleteDnsZone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_WorkloadNetworksDeleteDnsZone() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteDnsZone.json @@ -118,7 +116,7 @@ public async Task Delete_WorkloadNetworksDeleteDnsZone() // invoke the operation await workloadNetworkDnsZone.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkGatewayCollection.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkGatewayCollection.cs index 5b3c12ff4fce9..28c4ab2519e4e 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkGatewayCollection.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkGatewayCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_WorkloadNetworkGatewayCollection { - // WorkloadNetworks_ListGateways - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WorkloadNetworksListGateways() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListGateways.json @@ -48,12 +48,11 @@ public async Task GetAll_WorkloadNetworksListGateways() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkloadNetworks_GetGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkloadNetworksGetGateway() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetGateway.json @@ -86,9 +85,8 @@ public async Task Get_WorkloadNetworksGetGateway() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkloadNetworks_GetGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WorkloadNetworksGetGateway() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetGateway.json @@ -117,9 +115,8 @@ public async Task Exists_WorkloadNetworksGetGateway() Console.WriteLine($"Succeeded: {result}"); } - // WorkloadNetworks_GetGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WorkloadNetworksGetGateway() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetGateway.json @@ -148,7 +145,7 @@ public async Task GetIfExists_WorkloadNetworksGetGateway() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkGatewayResource.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkGatewayResource.cs index 4424a705bee7d..fc95dde97b80b 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkGatewayResource.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkGatewayResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_WorkloadNetworkGatewayResource { - // WorkloadNetworks_GetGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkloadNetworksGetGateway() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetGateway.json diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkPortMirroringProfileCollection.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkPortMirroringProfileCollection.cs index 191da498a55d2..b8cb57657ba41 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkPortMirroringProfileCollection.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkPortMirroringProfileCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Avs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_WorkloadNetworkPortMirroringProfileCollection { - // WorkloadNetworks_ListPortMirroring - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WorkloadNetworksListPortMirroring() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListPortMirroring.json @@ -49,12 +49,11 @@ public async Task GetAll_WorkloadNetworksListPortMirroring() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkloadNetworks_GetPortMirroring - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkloadNetworksGetPortMirroring() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPortMirroring.json @@ -87,9 +86,8 @@ public async Task Get_WorkloadNetworksGetPortMirroring() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkloadNetworks_GetPortMirroring - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WorkloadNetworksGetPortMirroring() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPortMirroring.json @@ -118,9 +116,8 @@ public async Task Exists_WorkloadNetworksGetPortMirroring() Console.WriteLine($"Succeeded: {result}"); } - // WorkloadNetworks_GetPortMirroring - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WorkloadNetworksGetPortMirroring() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPortMirroring.json @@ -149,7 +146,7 @@ public async Task GetIfExists_WorkloadNetworksGetPortMirroring() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_WorkloadNetworksGetPortMirroring() } } - // WorkloadNetworks_CreatePortMirroring - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_WorkloadNetworksCreatePortMirroring() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreatePortMirroring.json diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkPortMirroringProfileResource.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkPortMirroringProfileResource.cs index bcd241230a748..c5860327f303d 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkPortMirroringProfileResource.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkPortMirroringProfileResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Avs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_WorkloadNetworkPortMirroringProfileResource { - // WorkloadNetworks_GetPortMirroring - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkloadNetworksGetPortMirroring() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPortMirroring.json @@ -47,9 +47,8 @@ public async Task Get_WorkloadNetworksGetPortMirroring() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkloadNetworks_UpdatePortMirroring - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_WorkloadNetworksUpdatePortMirroring() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdatePortMirroring.json @@ -87,9 +86,8 @@ public async Task Update_WorkloadNetworksUpdatePortMirroring() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkloadNetworks_DeletePortMirroring - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_WorkloadNetworksDeletePortMirroring() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePortMirroring.json @@ -112,7 +110,7 @@ public async Task Delete_WorkloadNetworksDeletePortMirroring() // invoke the operation await workloadNetworkPortMirroringProfile.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkPublicIPCollection.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkPublicIPCollection.cs index 6a9993e6e531a..5f23ea571c85a 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkPublicIPCollection.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkPublicIPCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_WorkloadNetworkPublicIPCollection { - // WorkloadNetworks_ListPublicIPs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WorkloadNetworksListPublicIPs() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListPublicIPs.json @@ -48,12 +48,11 @@ public async Task GetAll_WorkloadNetworksListPublicIPs() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkloadNetworks_GetPublicIP - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkloadNetworksGetPublicIP() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPublicIP.json @@ -86,9 +85,8 @@ public async Task Get_WorkloadNetworksGetPublicIP() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkloadNetworks_GetPublicIP - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WorkloadNetworksGetPublicIP() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPublicIP.json @@ -117,9 +115,8 @@ public async Task Exists_WorkloadNetworksGetPublicIP() Console.WriteLine($"Succeeded: {result}"); } - // WorkloadNetworks_GetPublicIP - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WorkloadNetworksGetPublicIP() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPublicIP.json @@ -148,7 +145,7 @@ public async Task GetIfExists_WorkloadNetworksGetPublicIP() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_WorkloadNetworksGetPublicIP() } } - // WorkloadNetworks_CreatePublicIP - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_WorkloadNetworksCreatePublicIP() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreatePublicIP.json diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkPublicIPResource.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkPublicIPResource.cs index e263eb91456bb..112080face2bd 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkPublicIPResource.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkPublicIPResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_WorkloadNetworkPublicIPResource { - // WorkloadNetworks_GetPublicIP - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkloadNetworksGetPublicIP() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetPublicIP.json @@ -46,9 +46,8 @@ public async Task Get_WorkloadNetworksGetPublicIP() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkloadNetworks_CreatePublicIP - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_WorkloadNetworksCreatePublicIP() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreatePublicIP.json @@ -84,9 +83,8 @@ public async Task Update_WorkloadNetworksCreatePublicIP() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkloadNetworks_DeletePublicIP - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_WorkloadNetworksDeletePublicIP() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeletePublicIP.json @@ -109,7 +107,7 @@ public async Task Delete_WorkloadNetworksDeletePublicIP() // invoke the operation await workloadNetworkPublicIP.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkResource.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkResource.cs index 9933f04dc2c0f..5f562c0347970 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkResource.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_WorkloadNetworkResource { - // WorkloadNetworks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkloadNetworksGet() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_Get.json diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkSegmentCollection.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkSegmentCollection.cs index c0bbc97b4d257..13ed8d0a9f242 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkSegmentCollection.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkSegmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Avs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_WorkloadNetworkSegmentCollection { - // WorkloadNetworks_ListSegments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WorkloadNetworksListSegments() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListSegments.json @@ -49,12 +49,11 @@ public async Task GetAll_WorkloadNetworksListSegments() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkloadNetworks_GetSegment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkloadNetworksGetSegment() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetSegment.json @@ -87,9 +86,8 @@ public async Task Get_WorkloadNetworksGetSegment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkloadNetworks_GetSegment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WorkloadNetworksGetSegment() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetSegment.json @@ -118,9 +116,8 @@ public async Task Exists_WorkloadNetworksGetSegment() Console.WriteLine($"Succeeded: {result}"); } - // WorkloadNetworks_GetSegment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WorkloadNetworksGetSegment() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetSegment.json @@ -149,7 +146,7 @@ public async Task GetIfExists_WorkloadNetworksGetSegment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_WorkloadNetworksGetSegment() } } - // WorkloadNetworks_CreateSegments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_WorkloadNetworksCreateSegments() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateSegments.json diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkSegmentResource.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkSegmentResource.cs index 3330199759461..f933a54708ce6 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkSegmentResource.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkSegmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Avs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_WorkloadNetworkSegmentResource { - // WorkloadNetworks_GetSegment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkloadNetworksGetSegment() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetSegment.json @@ -47,9 +47,8 @@ public async Task Get_WorkloadNetworksGetSegment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkloadNetworks_UpdateSegments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_WorkloadNetworksUpdateSegments() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateSegments.json @@ -93,9 +92,8 @@ public async Task Update_WorkloadNetworksUpdateSegments() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkloadNetworks_DeleteSegment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_WorkloadNetworksDeleteSegment() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteSegment.json @@ -118,7 +116,7 @@ public async Task Delete_WorkloadNetworksDeleteSegment() // invoke the operation await workloadNetworkSegment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkVirtualMachineCollection.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkVirtualMachineCollection.cs index 4370dd64ac7e2..a317a4363a9d1 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkVirtualMachineCollection.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkVirtualMachineCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_WorkloadNetworkVirtualMachineCollection { - // WorkloadNetworks_ListVirtualMachines - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WorkloadNetworksListVirtualMachines() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListVirtualMachines.json @@ -48,12 +48,11 @@ public async Task GetAll_WorkloadNetworksListVirtualMachines() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkloadNetworks_GetVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkloadNetworksGetVirtualMachine() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVirtualMachine.json @@ -86,9 +85,8 @@ public async Task Get_WorkloadNetworksGetVirtualMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkloadNetworks_GetVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WorkloadNetworksGetVirtualMachine() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVirtualMachine.json @@ -117,9 +115,8 @@ public async Task Exists_WorkloadNetworksGetVirtualMachine() Console.WriteLine($"Succeeded: {result}"); } - // WorkloadNetworks_GetVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WorkloadNetworksGetVirtualMachine() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVirtualMachine.json @@ -148,7 +145,7 @@ public async Task GetIfExists_WorkloadNetworksGetVirtualMachine() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkVirtualMachineResource.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkVirtualMachineResource.cs index 6b0dc8430b14a..caa4bb73c7c07 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkVirtualMachineResource.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkVirtualMachineResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_WorkloadNetworkVirtualMachineResource { - // WorkloadNetworks_GetVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkloadNetworksGetVirtualMachine() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVirtualMachine.json diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkVmGroupCollection.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkVmGroupCollection.cs index a3cd8093ae50f..4e5e64fcd764a 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkVmGroupCollection.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkVmGroupCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_WorkloadNetworkVmGroupCollection { - // WorkloadNetworks_ListVMGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WorkloadNetworksListVMGroups() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_ListVMGroups.json @@ -48,12 +48,11 @@ public async Task GetAll_WorkloadNetworksListVMGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkloadNetworks_GetVMGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkloadNetworksGetVMGroup() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVMGroup.json @@ -86,9 +85,8 @@ public async Task Get_WorkloadNetworksGetVMGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkloadNetworks_GetVMGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WorkloadNetworksGetVMGroup() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVMGroup.json @@ -117,9 +115,8 @@ public async Task Exists_WorkloadNetworksGetVMGroup() Console.WriteLine($"Succeeded: {result}"); } - // WorkloadNetworks_GetVMGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WorkloadNetworksGetVMGroup() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVMGroup.json @@ -148,7 +145,7 @@ public async Task GetIfExists_WorkloadNetworksGetVMGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_WorkloadNetworksGetVMGroup() } } - // WorkloadNetworks_CreateVMGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_WorkloadNetworksCreateVMGroup() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_CreateVMGroup.json diff --git a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkVmGroupResource.cs b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkVmGroupResource.cs index eee4c645a2350..685fc5a165455 100644 --- a/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkVmGroupResource.cs +++ b/sdk/avs/Azure.ResourceManager.Avs/samples/Generated/Samples/Sample_WorkloadNetworkVmGroupResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Avs.Samples { public partial class Sample_WorkloadNetworkVmGroupResource { - // WorkloadNetworks_GetVMGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkloadNetworksGetVMGroup() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_GetVMGroup.json @@ -46,9 +46,8 @@ public async Task Get_WorkloadNetworksGetVMGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkloadNetworks_UpdateVMGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_WorkloadNetworksUpdateVMGroup() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_UpdateVMGroup.json @@ -87,9 +86,8 @@ public async Task Update_WorkloadNetworksUpdateVMGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkloadNetworks_DeleteVMGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_WorkloadNetworksDeleteVMGroup() { // Generated from example definition: specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/examples/WorkloadNetworks_DeleteVMGroup.json @@ -112,7 +110,7 @@ public async Task Delete_WorkloadNetworksDeleteVMGroup() // invoke the operation await workloadNetworkVmGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/samples/Generated/Samples/Sample_LargeInstanceCollection.cs b/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/samples/Generated/Samples/Sample_LargeInstanceCollection.cs index 5baf95de34b76..c36fbcfd5586b 100644 --- a/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/samples/Generated/Samples/Sample_LargeInstanceCollection.cs +++ b/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/samples/Generated/Samples/Sample_LargeInstanceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.LargeInstance.Samples { public partial class Sample_LargeInstanceCollection { - // AzureLargeInstance_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AzureLargeInstanceListByResourceGroup() { // Generated from example definition: specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListByResourceGroup.json @@ -48,12 +48,11 @@ public async Task GetAll_AzureLargeInstanceListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AzureLargeInstance_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AzureLargeInstanceGet() { // Generated from example definition: specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Get.json @@ -85,9 +84,8 @@ public async Task Get_AzureLargeInstanceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AzureLargeInstance_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AzureLargeInstanceGet() { // Generated from example definition: specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Get.json @@ -115,9 +113,8 @@ public async Task Exists_AzureLargeInstanceGet() Console.WriteLine($"Succeeded: {result}"); } - // AzureLargeInstance_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AzureLargeInstanceGet() { // Generated from example definition: specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Get.json @@ -145,7 +142,7 @@ public async Task GetIfExists_AzureLargeInstanceGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/samples/Generated/Samples/Sample_LargeInstanceResource.cs b/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/samples/Generated/Samples/Sample_LargeInstanceResource.cs index 7b722aed3afe3..3757a36ca6010 100644 --- a/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/samples/Generated/Samples/Sample_LargeInstanceResource.cs +++ b/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/samples/Generated/Samples/Sample_LargeInstanceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.LargeInstance.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.LargeInstance.Samples { public partial class Sample_LargeInstanceResource { - // AzureLargeInstance_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLargeInstances_AzureLargeInstanceListBySubscription() { // Generated from example definition: specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetLargeInstances_AzureLargeInstanceListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AzureLargeInstance_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AzureLargeInstanceGet() { // Generated from example definition: specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Get.json @@ -79,9 +78,8 @@ public async Task Get_AzureLargeInstanceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AzureLargeInstance_Delete_Tag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AzureLargeInstanceDeleteTag() { // Generated from example definition: specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags_Delete.json @@ -111,9 +109,8 @@ public async Task Update_AzureLargeInstanceDeleteTag() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AzureLargeInstance_Update_Tag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AzureLargeInstanceUpdateTag() { // Generated from example definition: specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags.json @@ -143,9 +140,8 @@ public async Task Update_AzureLargeInstanceUpdateTag() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AzureLargeInstance_Restart - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_AzureLargeInstanceRestart() { // Generated from example definition: specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Restart.json @@ -171,9 +167,8 @@ public async Task Restart_AzureLargeInstanceRestart() Console.WriteLine($"Succeeded: {result}"); } - // AzureLargeInstance_Shutdown - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Shutdown_AzureLargeInstanceShutdown() { // Generated from example definition: specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Shutdown.json @@ -199,9 +194,8 @@ public async Task Shutdown_AzureLargeInstanceShutdown() Console.WriteLine($"Succeeded: {result}"); } - // AzureLargeInstance_Start - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_AzureLargeInstanceStart() { // Generated from example definition: specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Start.json diff --git a/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/samples/Generated/Samples/Sample_LargeStorageInstanceCollection.cs b/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/samples/Generated/Samples/Sample_LargeStorageInstanceCollection.cs index 72e74011599cf..b6abc2bf88be9 100644 --- a/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/samples/Generated/Samples/Sample_LargeStorageInstanceCollection.cs +++ b/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/samples/Generated/Samples/Sample_LargeStorageInstanceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.LargeInstance.Samples { public partial class Sample_LargeStorageInstanceCollection { - // AzureLargeStorageInstance_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AzureLargeStorageInstanceListByResourceGroup() { // Generated from example definition: specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListByResourceGroup.json @@ -48,12 +48,11 @@ public async Task GetAll_AzureLargeStorageInstanceListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AzureLargeStorageInstance_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AzureLargeStorageInstanceGet() { // Generated from example definition: specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Get.json @@ -85,9 +84,8 @@ public async Task Get_AzureLargeStorageInstanceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AzureLargeStorageInstance_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AzureLargeStorageInstanceGet() { // Generated from example definition: specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Get.json @@ -115,9 +113,8 @@ public async Task Exists_AzureLargeStorageInstanceGet() Console.WriteLine($"Succeeded: {result}"); } - // AzureLargeStorageInstance_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AzureLargeStorageInstanceGet() { // Generated from example definition: specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Get.json @@ -145,7 +142,7 @@ public async Task GetIfExists_AzureLargeStorageInstanceGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/samples/Generated/Samples/Sample_LargeStorageInstanceResource.cs b/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/samples/Generated/Samples/Sample_LargeStorageInstanceResource.cs index 371cdfc0124d0..6abd9c0fff332 100644 --- a/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/samples/Generated/Samples/Sample_LargeStorageInstanceResource.cs +++ b/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/samples/Generated/Samples/Sample_LargeStorageInstanceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.LargeInstance.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.LargeInstance.Samples { public partial class Sample_LargeStorageInstanceResource { - // AzureLargeStorageInstance_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLargeStorageInstances_AzureLargeStorageInstanceListBySubscription() { // Generated from example definition: specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetLargeStorageInstances_AzureLargeStorageInstanceListBySubscr Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AzureLargeStorageInstance_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AzureLargeStorageInstanceGet() { // Generated from example definition: specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Get.json @@ -79,9 +78,8 @@ public async Task Get_AzureLargeStorageInstanceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AzureLargeStorageInstance_Delete_Tag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AzureLargeStorageInstanceDeleteTag() { // Generated from example definition: specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags_Delete.json @@ -111,9 +109,8 @@ public async Task Update_AzureLargeStorageInstanceDeleteTag() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AzureLargeStorageInstance_Update_Tag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AzureLargeStorageInstanceUpdateTag() { // Generated from example definition: specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags.json diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_ArcExtensionCollection.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_ArcExtensionCollection.cs index 5b7193e5b2a3e..a00229b864b7f 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_ArcExtensionCollection.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_ArcExtensionCollection.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Hci.Samples { public partial class Sample_ArcExtensionCollection { - // List Extensions under ArcSetting resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListExtensionsUnderArcSettingResource() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/ListExtensionsByArcSetting.json @@ -50,12 +50,11 @@ public async Task GetAll_ListExtensionsUnderArcSettingResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get ArcSettings Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetArcSettingsExtension() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetExtension.json @@ -89,9 +88,8 @@ public async Task Get_GetArcSettingsExtension() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get ArcSettings Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetArcSettingsExtension() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetExtension.json @@ -121,9 +119,8 @@ public async Task Exists_GetArcSettingsExtension() Console.WriteLine($"Succeeded: {result}"); } - // Get ArcSettings Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetArcSettingsExtension() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetExtension.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetArcSettingsExtension() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_GetArcSettingsExtension() } } - // Create Arc Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateArcExtension() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/PutExtension.json diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_ArcExtensionResource.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_ArcExtensionResource.cs index b619880380102..0e43ba917396b 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_ArcExtensionResource.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_ArcExtensionResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Hci.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Hci.Samples { public partial class Sample_ArcExtensionResource { - // Get ArcSettings Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetArcSettingsExtension() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetExtension.json @@ -49,9 +49,8 @@ public async Task Get_GetArcSettingsExtension() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Arc Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateArcExtension() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/PatchExtension.json @@ -99,9 +98,8 @@ public async Task Update_UpdateArcExtension() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Arc Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteArcExtension() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/DeleteExtension.json @@ -125,12 +123,11 @@ public async Task Delete_DeleteArcExtension() // invoke the operation await arcExtension.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Upgrade Machine Extensions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Upgrade_UpgradeMachineExtensions() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/Extensions_Upgrade.json @@ -158,7 +155,7 @@ public async Task Upgrade_UpgradeMachineExtensions() }; await arcExtension.UpgradeAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_ArcSettingCollection.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_ArcSettingCollection.cs index 7a9ff058b38c4..99964153855da 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_ArcSettingCollection.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_ArcSettingCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Hci.Samples { public partial class Sample_ArcSettingCollection { - // List ArcSetting resources by HCI Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListArcSettingResourcesByHCICluster() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/ListArcSettingsByCluster.json @@ -48,12 +48,11 @@ public async Task GetAll_ListArcSettingResourcesByHCICluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get ArcSetting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetArcSetting() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetArcSetting.json @@ -86,9 +85,8 @@ public async Task Get_GetArcSetting() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get ArcSetting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetArcSetting() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetArcSetting.json @@ -117,9 +115,8 @@ public async Task Exists_GetArcSetting() Console.WriteLine($"Succeeded: {result}"); } - // Get ArcSetting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetArcSetting() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetArcSetting.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetArcSetting() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GetArcSetting() } } - // Create ArcSetting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateArcSetting() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/PutArcSetting.json diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_ArcSettingResource.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_ArcSettingResource.cs index d4599480cc9a9..43adeebd9f277 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_ArcSettingResource.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_ArcSettingResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Hci.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Hci.Samples { public partial class Sample_ArcSettingResource { - // Get ArcSetting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetArcSetting() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetArcSetting.json @@ -48,9 +48,8 @@ public async Task Get_GetArcSetting() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch ArcSetting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchArcSetting() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/PatchArcSetting.json @@ -91,9 +90,8 @@ public async Task Update_PatchArcSetting() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete ArcSetting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteArcSetting() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/DeleteArcSetting.json @@ -116,12 +114,11 @@ public async Task Delete_DeleteArcSetting() // invoke the operation await arcSetting.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Generate Password - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GeneratePassword_GeneratePassword() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GeneratePassword.json @@ -147,9 +144,8 @@ public async Task GeneratePassword_GeneratePassword() Console.WriteLine($"Succeeded: {result}"); } - // Create Arc Identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateIdentity_CreateArcIdentity() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/CreateArcIdentity.json @@ -176,9 +172,8 @@ public async Task CreateIdentity_CreateArcIdentity() Console.WriteLine($"Succeeded: {result}"); } - // Consent And Install Default Extensions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ConsentAndInstallDefaultExtensions_ConsentAndInstallDefaultExtensions() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/ConsentAndInstallDefaultExtensions.json @@ -208,9 +203,8 @@ public async Task ConsentAndInstallDefaultExtensions_ConsentAndInstallDefaultExt Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Trigger ARC Disable - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task InitializeDisableProcess_TriggerARCDisable() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/InitializeDisableProcess.json @@ -233,7 +227,7 @@ public async Task InitializeDisableProcess_TriggerARCDisable() // invoke the operation await arcSetting.InitializeDisableProcessAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterCollection.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterCollection.cs index d207bc2b19c97..67da65fd9d99d 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterCollection.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Hci.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Hci.Samples { public partial class Sample_HciClusterCollection { - // List clusters in a given resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListClustersInAGivenResourceGroup() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/ListClustersByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListClustersInAGivenResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCluster() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetCluster.json @@ -86,9 +85,8 @@ public async Task Get_GetCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCluster() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetCluster.json @@ -116,9 +114,8 @@ public async Task Exists_GetCluster() Console.WriteLine($"Succeeded: {result}"); } - // Get cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCluster() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetCluster.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetCluster() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetCluster() } } - // Create cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateCluster() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/CreateCluster.json diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterDeploymentSettingCollection.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterDeploymentSettingCollection.cs index e4ebd40e3edb4..17d9f653d41c3 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterDeploymentSettingCollection.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterDeploymentSettingCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Hci.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Hci.Samples { public partial class Sample_HciClusterDeploymentSettingCollection { - // List Deployment Settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDeploymentSettings() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/ListDeploymentSettingsByCluster.json @@ -49,12 +49,11 @@ public async Task GetAll_ListDeploymentSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Deployment Settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDeploymentSettings() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetDeploymentSettings.json @@ -87,9 +86,8 @@ public async Task Get_GetDeploymentSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Deployment Settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDeploymentSettings() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetDeploymentSettings.json @@ -118,9 +116,8 @@ public async Task Exists_GetDeploymentSettings() Console.WriteLine($"Succeeded: {result}"); } - // Get Deployment Settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDeploymentSettings() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetDeploymentSettings.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetDeploymentSettings() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetDeploymentSettings() } } - // Create Deployment Settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateDeploymentSettings() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/PutDeploymentSettings.json diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterDeploymentSettingResource.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterDeploymentSettingResource.cs index a35a9bf7591e2..83a971c1b02f2 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterDeploymentSettingResource.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterDeploymentSettingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Hci.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Hci.Samples { public partial class Sample_HciClusterDeploymentSettingResource { - // Get Deployment Settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDeploymentSettings() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetDeploymentSettings.json @@ -47,9 +47,8 @@ public async Task Get_GetDeploymentSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Deployment Settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateDeploymentSettings() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/PutDeploymentSettings.json @@ -279,9 +278,8 @@ public async Task Update_CreateDeploymentSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Deployment Settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteDeploymentSettings() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/DeleteDeploymentSettings.json @@ -304,7 +302,7 @@ public async Task Delete_DeleteDeploymentSettings() // invoke the operation await hciClusterDeploymentSetting.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterOfferCollection.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterOfferCollection.cs index b072cba531c8c..923e55a17deec 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterOfferCollection.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterOfferCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Hci.Samples { public partial class Sample_HciClusterOfferCollection { - // List Offer resources by publisher for the HCI Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListOfferResourcesByPublisherForTheHCICluster() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/ListOffersByPublisher.json @@ -49,12 +49,11 @@ public async Task GetAll_ListOfferResourcesByPublisherForTheHCICluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Offer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetOffer() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetOffer.json @@ -88,9 +87,8 @@ public async Task Get_GetOffer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Offer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetOffer() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetOffer.json @@ -120,9 +118,8 @@ public async Task Exists_GetOffer() Console.WriteLine($"Succeeded: {result}"); } - // Get Offer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetOffer() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetOffer.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetOffer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterOfferResource.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterOfferResource.cs index 50e06f15e91b9..006d08b59ebca 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterOfferResource.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterOfferResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Hci.Samples { public partial class Sample_HciClusterOfferResource { - // Get Offer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetOffer() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetOffer.json diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterPublisherCollection.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterPublisherCollection.cs index 431f09dd08d6d..391aafa56e37a 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterPublisherCollection.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterPublisherCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Hci.Samples { public partial class Sample_HciClusterPublisherCollection { - // List Publisher resources by HCI Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPublisherResourcesByHCICluster() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/ListPublishersByCluster.json @@ -48,12 +48,11 @@ public async Task GetAll_ListPublisherResourcesByHCICluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Publisher - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPublisher() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetPublisher.json @@ -86,9 +85,8 @@ public async Task Get_GetPublisher() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Publisher - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPublisher() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetPublisher.json @@ -117,9 +115,8 @@ public async Task Exists_GetPublisher() Console.WriteLine($"Succeeded: {result}"); } - // Get Publisher - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPublisher() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetPublisher.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetPublisher() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterPublisherResource.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterPublisherResource.cs index 3f9c4082bfda3..b5d9ed2883ea7 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterPublisherResource.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterPublisherResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Hci.Samples { public partial class Sample_HciClusterPublisherResource { - // Get Publisher - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPublisher() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetPublisher.json diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterResource.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterResource.cs index 4a415dd5bd5db..44a132cd46f99 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterResource.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Hci.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Hci.Samples { public partial class Sample_HciClusterResource { - // List clusters in a given subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetHciClusters_ListClustersInAGivenSubscription() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/ListClustersBySubscription.json @@ -45,12 +45,11 @@ public async Task GetHciClusters_ListClustersInAGivenSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCluster() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetCluster.json @@ -79,9 +78,8 @@ public async Task Get_GetCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateCluster() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/UpdateCluster.json @@ -125,9 +123,8 @@ public async Task Update_UpdateCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteCluster() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/DeleteCluster.json @@ -149,12 +146,11 @@ public async Task Delete_DeleteCluster() // invoke the operation await hciCluster.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Upload certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UploadCertificate_UploadCertificate() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/UploadCertificate.json @@ -183,12 +179,11 @@ public async Task UploadCertificate_UploadCertificate() }; await hciCluster.UploadCertificateAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create cluster Identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateIdentity_CreateClusterIdentity() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/CreateClusterIdentity.json @@ -214,9 +209,8 @@ public async Task CreateIdentity_CreateClusterIdentity() Console.WriteLine($"Succeeded: {result}"); } - // Create cluster Identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExtendSoftwareAssuranceBenefit_CreateClusterIdentity() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/ExtendSoftwareAssuranceBenefit.json @@ -250,9 +244,8 @@ public async Task ExtendSoftwareAssuranceBenefit_CreateClusterIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Trigger Log Collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TriggerLogCollection_TriggerLogCollection() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/TriggerLogCollection.json @@ -286,9 +279,8 @@ public async Task TriggerLogCollection_TriggerLogCollection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Configure Remote Support - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ConfigureRemoteSupport_ConfigureRemoteSupport() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/ConfigureRemoteSupport.json @@ -326,9 +318,8 @@ public async Task ConfigureRemoteSupport_ConfigureRemoteSupport() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List Offer resources by HCI Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetHciClusterOffers_ListOfferResourcesByHCICluster() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/ListOffersByCluster.json @@ -357,7 +348,7 @@ public async Task GetHciClusterOffers_ListOfferResourcesByHCICluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterSecuritySettingCollection.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterSecuritySettingCollection.cs index d742f50deae8c..739eb9693fd29 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterSecuritySettingCollection.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterSecuritySettingCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Hci.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Hci.Samples { public partial class Sample_HciClusterSecuritySettingCollection { - // List Security Settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSecuritySettings() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/ListSecuritySettingsByCluster.json @@ -49,12 +49,11 @@ public async Task GetAll_ListSecuritySettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Security Settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecuritySettings() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetSecuritySettings.json @@ -87,9 +86,8 @@ public async Task Get_GetSecuritySettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Security Settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSecuritySettings() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetSecuritySettings.json @@ -118,9 +116,8 @@ public async Task Exists_GetSecuritySettings() Console.WriteLine($"Succeeded: {result}"); } - // Get Security Settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSecuritySettings() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetSecuritySettings.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetSecuritySettings() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetSecuritySettings() } } - // Create Security Settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSecuritySettings() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/PutSecuritySettings.json diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterSecuritySettingResource.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterSecuritySettingResource.cs index ef4c46e304279..a387da5a2c54c 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterSecuritySettingResource.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterSecuritySettingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Hci.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Hci.Samples { public partial class Sample_HciClusterSecuritySettingResource { - // Get Security Settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecuritySettings() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetSecuritySettings.json @@ -47,9 +47,8 @@ public async Task Get_GetSecuritySettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Security Settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateSecuritySettings() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/PutSecuritySettings.json @@ -86,9 +85,8 @@ public async Task Update_CreateSecuritySettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Security Settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSecuritySettings() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/DeleteSecuritySettings.json @@ -111,7 +109,7 @@ public async Task Delete_DeleteSecuritySettings() // invoke the operation await hciClusterSecuritySetting.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterUpdateCollection.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterUpdateCollection.cs index 8096b4c7169c5..de914141c9d86 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterUpdateCollection.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterUpdateCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Hci.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Hci.Samples { public partial class Sample_HciClusterUpdateCollection { - // List available updates - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAvailableUpdates() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/ListUpdates.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAvailableUpdates() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Put a specific update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutASpecificUpdate() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/PutUpdates.json @@ -114,9 +113,8 @@ public async Task CreateOrUpdate_PutASpecificUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a specific update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASpecificUpdate() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetUpdates.json @@ -149,9 +147,8 @@ public async Task Get_GetASpecificUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a specific update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetASpecificUpdate() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetUpdates.json @@ -180,9 +177,8 @@ public async Task Exists_GetASpecificUpdate() Console.WriteLine($"Succeeded: {result}"); } - // Get a specific update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetASpecificUpdate() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetUpdates.json @@ -211,7 +207,7 @@ public async Task GetIfExists_GetASpecificUpdate() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterUpdateResource.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterUpdateResource.cs index 271569b77604c..738fb3c1ee13e 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterUpdateResource.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterUpdateResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Hci.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Hci.Samples { public partial class Sample_HciClusterUpdateResource { - // List available updates - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Post_ListAvailableUpdates() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/PostUpdates.json @@ -40,12 +40,11 @@ public async Task Post_ListAvailableUpdates() // invoke the operation await hciClusterUpdate.PostAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Delete an Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnUpdate() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/DeleteUpdates.json @@ -68,12 +67,11 @@ public async Task Delete_DeleteAnUpdate() // invoke the operation await hciClusterUpdate.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Put a specific update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PutASpecificUpdate() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/PutUpdates.json @@ -130,9 +128,8 @@ public async Task Update_PutASpecificUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a specific update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASpecificUpdate() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetUpdates.json diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterUpdateRunCollection.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterUpdateRunCollection.cs index 14705c1c09fb7..3e7bda243ac51 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterUpdateRunCollection.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterUpdateRunCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Hci.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Hci.Samples { public partial class Sample_HciClusterUpdateRunCollection { - // List Update runs under cluster resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListUpdateRunsUnderClusterResource() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/ListUpdateRuns.json @@ -50,12 +50,11 @@ public async Task GetAll_ListUpdateRunsUnderClusterResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Update runs under cluster resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_GetUpdateRunsUnderClusterResource() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/PutUpdateRuns.json @@ -116,9 +115,8 @@ public async Task CreateOrUpdate_GetUpdateRunsUnderClusterResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Update runs under cluster resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetUpdateRunsUnderClusterResource() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetUpdateRuns.json @@ -152,9 +150,8 @@ public async Task Get_GetUpdateRunsUnderClusterResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Update runs under cluster resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetUpdateRunsUnderClusterResource() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetUpdateRuns.json @@ -184,9 +181,8 @@ public async Task Exists_GetUpdateRunsUnderClusterResource() Console.WriteLine($"Succeeded: {result}"); } - // Get Update runs under cluster resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetUpdateRunsUnderClusterResource() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetUpdateRuns.json @@ -216,7 +212,7 @@ public async Task GetIfExists_GetUpdateRunsUnderClusterResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterUpdateRunResource.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterUpdateRunResource.cs index 7625ada7a373f..bb13bff9bcb1e 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterUpdateRunResource.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterUpdateRunResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Hci.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Hci.Samples { public partial class Sample_HciClusterUpdateRunResource { - // Delete an Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnUpdate() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/DeleteUpdateRuns.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteAnUpdate() // invoke the operation await hciClusterUpdateRun.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Update runs under cluster resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_GetUpdateRunsUnderClusterResource() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/PutUpdateRuns.json @@ -104,9 +103,8 @@ public async Task Update_GetUpdateRunsUnderClusterResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Update runs under cluster resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetUpdateRunsUnderClusterResource() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetUpdateRuns.json diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterUpdateSummaryResource.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterUpdateSummaryResource.cs index eae03d1979bd3..90a7a28b4c849 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterUpdateSummaryResource.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciClusterUpdateSummaryResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Hci.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Hci.Samples { public partial class Sample_HciClusterUpdateSummaryResource { - // Delete an Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnUpdate() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/DeleteUpdateSummaries.json @@ -39,12 +39,11 @@ public async Task Delete_DeleteAnUpdate() // invoke the operation await hciClusterUpdateSummary.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Put Update summaries under cluster resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutUpdateSummariesUnderClusterResource() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/PutUpdateSummaries.json @@ -83,9 +82,8 @@ public async Task CreateOrUpdate_PutUpdateSummariesUnderClusterResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Update summaries under cluster resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetUpdateSummariesUnderClusterResource() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetUpdateSummaries.json diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciEdgeDeviceCollection.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciEdgeDeviceCollection.cs index 6b21a559ca7c6..68a2a8b6f01e8 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciEdgeDeviceCollection.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciEdgeDeviceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Hci.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Hci.Samples { public partial class Sample_HciEdgeDeviceCollection { - // List Edge Devices - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListEdgeDevices() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/ListEdgeDevices.json @@ -46,12 +46,11 @@ public async Task GetAll_ListEdgeDevices() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Edge Device - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetEdgeDevice() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetEdgeDevices.json @@ -81,9 +80,8 @@ public async Task Get_GetEdgeDevice() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Edge Device - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetEdgeDevice() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetEdgeDevices.json @@ -109,9 +107,8 @@ public async Task Exists_GetEdgeDevice() Console.WriteLine($"Succeeded: {result}"); } - // Get Edge Device - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetEdgeDevice() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetEdgeDevices.json @@ -137,7 +134,7 @@ public async Task GetIfExists_GetEdgeDevice() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -149,9 +146,8 @@ public async Task GetIfExists_GetEdgeDevice() } } - // Create HCI Edge Device - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateHCIEdgeDevice() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/CreateHciEdgeDevice.json diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciEdgeDeviceResource.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciEdgeDeviceResource.cs index 7df6072bb6db0..c90d973236e54 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciEdgeDeviceResource.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciEdgeDeviceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Hci.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Hci.Samples { public partial class Sample_HciEdgeDeviceResource { - // Get Edge Device - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetEdgeDevice() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetEdgeDevices.json @@ -45,9 +45,8 @@ public async Task Get_GetEdgeDevice() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create HCI Edge Device - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateHCIEdgeDevice() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/CreateHciEdgeDevice.json @@ -104,9 +103,8 @@ public async Task Update_CreateHCIEdgeDevice() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Edge Devices - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteEdgeDevices() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/DeleteEdgeDevices.json @@ -127,12 +125,11 @@ public async Task Delete_DeleteEdgeDevices() // invoke the operation await hciEdgeDevice.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Validate Edge Devices - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Validate_ValidateEdgeDevices() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/ValidateEdgeDevices.json diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciSkuCollection.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciSkuCollection.cs index 8861efd430636..21b1b7d64dd02 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciSkuCollection.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciSkuCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Hci.Samples { public partial class Sample_HciSkuCollection { - // List SKU resources by offer for the HCI Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSKUResourcesByOfferForTheHCICluster() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/ListSkusByOffer.json @@ -50,12 +50,11 @@ public async Task GetAll_ListSKUResourcesByOfferForTheHCICluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Sku - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSku() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetSku.json @@ -90,9 +89,8 @@ public async Task Get_GetSku() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Sku - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSku() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetSku.json @@ -123,9 +121,8 @@ public async Task Exists_GetSku() Console.WriteLine($"Succeeded: {result}"); } - // Get Sku - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSku() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetSku.json @@ -156,7 +153,7 @@ public async Task GetIfExists_GetSku() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciSkuResource.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciSkuResource.cs index c0818d888de6b..760a8691d94ec 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciSkuResource.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/samples/Generated/Samples/Sample_HciSkuResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Hci.Samples { public partial class Sample_HciSkuResource { - // Get Sku - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSku() { // Generated from example definition: specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/stable/2024-04-01/examples/GetSku.json diff --git a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountCertificateCollection.cs b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountCertificateCollection.cs index 278b7b5f89ec3..af9bd83b5ef0f 100644 --- a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountCertificateCollection.cs +++ b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountCertificateCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Batch.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Batch.Samples { public partial class Sample_BatchAccountCertificateCollection { - // ListCertificates - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCertificates() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/CertificateList.json @@ -49,12 +49,11 @@ public async Task GetAll_ListCertificates() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListCertificates - Filter and Select - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCertificatesFilterAndSelect() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/CertificateListWithFilter.json @@ -88,12 +87,11 @@ public async Task GetAll_ListCertificatesFilterAndSelect() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CreateCertificate - Full - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateCertificateFull() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/CertificateCreate_Full.json @@ -135,9 +133,8 @@ public async Task CreateOrUpdate_CreateCertificateFull() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateCertificate - Minimal Cer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateCertificateMinimalCer() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/CertificateCreate_MinimalCer.json @@ -176,9 +173,8 @@ public async Task CreateOrUpdate_CreateCertificateMinimalCer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateCertificate - Minimal Pfx - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateCertificateMinimalPfx() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/CertificateCreate_Minimal.json @@ -217,9 +213,8 @@ public async Task CreateOrUpdate_CreateCertificateMinimalPfx() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCertificate() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/CertificateGet.json @@ -252,9 +247,8 @@ public async Task Get_GetCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCertificate() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/CertificateGet.json @@ -283,9 +277,8 @@ public async Task Exists_GetCertificate() Console.WriteLine($"Succeeded: {result}"); } - // Get Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCertificate() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/CertificateGet.json @@ -314,7 +307,7 @@ public async Task GetIfExists_GetCertificate() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -326,9 +319,8 @@ public async Task GetIfExists_GetCertificate() } } - // Get Certificate with Deletion Error - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCertificateWithDeletionError() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/CertificateGetWithDeletionError.json @@ -361,9 +353,8 @@ public async Task Get_GetCertificateWithDeletionError() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Certificate with Deletion Error - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCertificateWithDeletionError() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/CertificateGetWithDeletionError.json @@ -392,9 +383,8 @@ public async Task Exists_GetCertificateWithDeletionError() Console.WriteLine($"Succeeded: {result}"); } - // Get Certificate with Deletion Error - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCertificateWithDeletionError() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/CertificateGetWithDeletionError.json @@ -423,7 +413,7 @@ public async Task GetIfExists_GetCertificateWithDeletionError() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountCertificateResource.cs b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountCertificateResource.cs index 59914d3df2cc2..4829756cf021a 100644 --- a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountCertificateResource.cs +++ b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountCertificateResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Batch.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Batch.Samples { public partial class Sample_BatchAccountCertificateResource { - // UpdateCertificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateCertificate() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/CertificateUpdate.json @@ -52,9 +52,8 @@ public async Task Update_UpdateCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CertificateDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CertificateDelete() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/CertificateDelete.json @@ -77,12 +76,11 @@ public async Task Delete_CertificateDelete() // invoke the operation await batchAccountCertificate.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCertificate() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/CertificateGet.json @@ -112,9 +110,8 @@ public async Task Get_GetCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Certificate with Deletion Error - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCertificateWithDeletionError() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/CertificateGetWithDeletionError.json @@ -144,9 +141,8 @@ public async Task Get_GetCertificateWithDeletionError() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CertificateCancelDeletion - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CancelDeletion_CertificateCancelDeletion() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/CertificateCancelDeletion.json diff --git a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountCollection.cs b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountCollection.cs index 0e9993e86e209..9e5160a734bc7 100644 --- a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountCollection.cs +++ b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Batch.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Batch.Samples { public partial class Sample_BatchAccountCollection { - // BatchAccountCreate_BYOS - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_BatchAccountCreateBYOS() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/BatchAccountCreate_BYOS.json @@ -58,9 +58,8 @@ public async Task CreateOrUpdate_BatchAccountCreateBYOS() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BatchAccountCreate_Default - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_BatchAccountCreateDefault() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/BatchAccountCreate_Default.json @@ -97,9 +96,8 @@ public async Task CreateOrUpdate_BatchAccountCreateDefault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BatchAccountCreate_SystemAssignedIdentity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_BatchAccountCreateSystemAssignedIdentity() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/BatchAccountCreate_SystemAssignedIdentity.json @@ -137,9 +135,8 @@ public async Task CreateOrUpdate_BatchAccountCreateSystemAssignedIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BatchAccountCreate_UserAssignedIdentity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_BatchAccountCreateUserAssignedIdentity() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/BatchAccountCreate_UserAssignedIdentity.json @@ -183,9 +180,8 @@ public async Task CreateOrUpdate_BatchAccountCreateUserAssignedIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateBatchAccountCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateBatchAccountCreate() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PrivateBatchAccountCreate.json @@ -224,9 +220,8 @@ public async Task CreateOrUpdate_PrivateBatchAccountCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BatchAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BatchAccountGet() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/BatchAccountGet.json @@ -258,9 +253,8 @@ public async Task Get_BatchAccountGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BatchAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BatchAccountGet() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/BatchAccountGet.json @@ -288,9 +282,8 @@ public async Task Exists_BatchAccountGet() Console.WriteLine($"Succeeded: {result}"); } - // BatchAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BatchAccountGet() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/BatchAccountGet.json @@ -318,7 +311,7 @@ public async Task GetIfExists_BatchAccountGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -330,9 +323,8 @@ public async Task GetIfExists_BatchAccountGet() } } - // PrivateBatchAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateBatchAccountGet() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PrivateBatchAccountGet.json @@ -364,9 +356,8 @@ public async Task Get_PrivateBatchAccountGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateBatchAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateBatchAccountGet() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PrivateBatchAccountGet.json @@ -394,9 +385,8 @@ public async Task Exists_PrivateBatchAccountGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateBatchAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateBatchAccountGet() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PrivateBatchAccountGet.json @@ -424,7 +414,7 @@ public async Task GetIfExists_PrivateBatchAccountGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -436,9 +426,8 @@ public async Task GetIfExists_PrivateBatchAccountGet() } } - // BatchAccountListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BatchAccountListByResourceGroup() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/BatchAccountListByResourceGroup.json @@ -469,7 +458,7 @@ public async Task GetAll_BatchAccountListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountDetectorCollection.cs b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountDetectorCollection.cs index 9f3e632760da2..c0e0830200cfc 100644 --- a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountDetectorCollection.cs +++ b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountDetectorCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Batch.Samples { public partial class Sample_BatchAccountDetectorCollection { - // ListDetectors - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDetectors() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/DetectorList.json @@ -48,12 +48,11 @@ public async Task GetAll_ListDetectors() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetDetector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetector() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/DetectorGet.json @@ -86,9 +85,8 @@ public async Task Get_GetDetector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetDetector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDetector() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/DetectorGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetDetector() Console.WriteLine($"Succeeded: {result}"); } - // GetDetector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDetector() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/DetectorGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetDetector() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountDetectorResource.cs b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountDetectorResource.cs index 7a32694c4f479..984b02d06596b 100644 --- a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountDetectorResource.cs +++ b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountDetectorResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Batch.Samples { public partial class Sample_BatchAccountDetectorResource { - // GetDetector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetector() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/DetectorGet.json diff --git a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountPoolCollection.cs b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountPoolCollection.cs index 8916633a493ae..67c17ac9654a8 100644 --- a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountPoolCollection.cs +++ b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountPoolCollection.cs @@ -13,14 +13,14 @@ using Azure.Identity; using Azure.ResourceManager.Batch.Models; using Azure.ResourceManager.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Batch.Samples { public partial class Sample_BatchAccountPoolCollection { - // ListPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPool() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolList.json @@ -52,12 +52,11 @@ public async Task GetAll_ListPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListPoolWithFilter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPoolWithFilter() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolListWithFilter.json @@ -91,12 +90,11 @@ public async Task GetAll_ListPoolWithFilter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CreatePool - Custom Image - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePoolCustomImage() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolCreate_SharedImageGallery.json @@ -138,9 +136,8 @@ public async Task CreateOrUpdate_CreatePoolCustomImage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreatePool - Full VirtualMachineConfiguration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePoolFullVirtualMachineConfiguration() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolCreate_VirtualMachineConfiguration.json @@ -242,9 +239,8 @@ public async Task CreateOrUpdate_CreatePoolFullVirtualMachineConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreatePool - Minimal VirtualMachineConfiguration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePoolMinimalVirtualMachineConfiguration() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json @@ -296,9 +292,8 @@ public async Task CreateOrUpdate_CreatePoolMinimalVirtualMachineConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreatePool - No public IP - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePoolNoPublicIP() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolCreate_NoPublicIPAddresses.json @@ -348,9 +343,8 @@ public async Task CreateOrUpdate_CreatePoolNoPublicIP() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreatePool - Public IPs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePoolPublicIPs() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolCreate_PublicIPs.json @@ -404,9 +398,8 @@ public async Task CreateOrUpdate_CreatePoolPublicIPs() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreatePool - ResourceTags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePoolResourceTags() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolCreate_ResourceTags.json @@ -464,9 +457,8 @@ public async Task CreateOrUpdate_CreatePoolResourceTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreatePool - SecurityProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePoolSecurityProfile() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolCreate_SecurityProfile.json @@ -531,9 +523,8 @@ public async Task CreateOrUpdate_CreatePoolSecurityProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreatePool - Tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePoolTags() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolCreate_Tags.json @@ -591,9 +582,8 @@ public async Task CreateOrUpdate_CreatePoolTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreatePool - UpgradePolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePoolUpgradePolicy() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolCreate_UpgradePolicy.json @@ -670,9 +660,8 @@ public async Task CreateOrUpdate_CreatePoolUpgradePolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreatePool - UserAssignedIdentities - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePoolUserAssignedIdentities() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolCreate_UserAssignedIdentities.json @@ -732,9 +721,8 @@ public async Task CreateOrUpdate_CreatePoolUserAssignedIdentities() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreatePool - VirtualMachineConfiguration Extensions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePoolVirtualMachineConfigurationExtensions() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolCreate_VirtualMachineConfiguration_Extensions.json @@ -801,9 +789,8 @@ public async Task CreateOrUpdate_CreatePoolVirtualMachineConfigurationExtensions Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreatePool - VirtualMachineConfiguration OSDisk - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePoolVirtualMachineConfigurationOSDisk() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolCreate_VirtualMachineConfiguration_ManagedOSDisk.json @@ -867,9 +854,8 @@ public async Task CreateOrUpdate_CreatePoolVirtualMachineConfigurationOSDisk() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreatePool - VirtualMachineConfiguration ServiceArtifactReference - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePoolVirtualMachineConfigurationServiceArtifactReference() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolCreate_VirtualMachineConfiguration_ServiceArtifactReference.json @@ -933,9 +919,8 @@ public async Task CreateOrUpdate_CreatePoolVirtualMachineConfigurationServiceArt Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreatePool - accelerated networking - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePoolAcceleratedNetworking() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolCreate_AcceleratedNetworking.json @@ -993,9 +978,8 @@ public async Task CreateOrUpdate_CreatePoolAcceleratedNetworking() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPool() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet.json @@ -1028,9 +1012,8 @@ public async Task Get_GetPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPool() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet.json @@ -1059,9 +1042,8 @@ public async Task Exists_GetPool() Console.WriteLine($"Succeeded: {result}"); } - // GetPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPool() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet.json @@ -1090,7 +1072,7 @@ public async Task GetIfExists_GetPool() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1102,9 +1084,8 @@ public async Task GetIfExists_GetPool() } } - // GetPool - AcceleratedNetworking - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPoolAcceleratedNetworking() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet_AcceleratedNetworking.json @@ -1137,9 +1118,8 @@ public async Task Get_GetPoolAcceleratedNetworking() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetPool - AcceleratedNetworking - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPoolAcceleratedNetworking() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet_AcceleratedNetworking.json @@ -1168,9 +1148,8 @@ public async Task Exists_GetPoolAcceleratedNetworking() Console.WriteLine($"Succeeded: {result}"); } - // GetPool - AcceleratedNetworking - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPoolAcceleratedNetworking() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet_AcceleratedNetworking.json @@ -1199,7 +1178,7 @@ public async Task GetIfExists_GetPoolAcceleratedNetworking() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1211,9 +1190,8 @@ public async Task GetIfExists_GetPoolAcceleratedNetworking() } } - // GetPool - SecurityProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPoolSecurityProfile() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet_SecurityProfile.json @@ -1246,9 +1224,8 @@ public async Task Get_GetPoolSecurityProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetPool - SecurityProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPoolSecurityProfile() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet_SecurityProfile.json @@ -1277,9 +1254,8 @@ public async Task Exists_GetPoolSecurityProfile() Console.WriteLine($"Succeeded: {result}"); } - // GetPool - SecurityProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPoolSecurityProfile() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet_SecurityProfile.json @@ -1308,7 +1284,7 @@ public async Task GetIfExists_GetPoolSecurityProfile() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1320,9 +1296,8 @@ public async Task GetIfExists_GetPoolSecurityProfile() } } - // GetPool - UpgradePolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPoolUpgradePolicy() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet_UpgradePolicy.json @@ -1355,9 +1330,8 @@ public async Task Get_GetPoolUpgradePolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetPool - UpgradePolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPoolUpgradePolicy() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet_UpgradePolicy.json @@ -1386,9 +1360,8 @@ public async Task Exists_GetPoolUpgradePolicy() Console.WriteLine($"Succeeded: {result}"); } - // GetPool - UpgradePolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPoolUpgradePolicy() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet_UpgradePolicy.json @@ -1417,7 +1390,7 @@ public async Task GetIfExists_GetPoolUpgradePolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1429,9 +1402,8 @@ public async Task GetIfExists_GetPoolUpgradePolicy() } } - // GetPool - VirtualMachineConfiguration Extensions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPoolVirtualMachineConfigurationExtensions() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet_VirtualMachineConfiguration_Extensions.json @@ -1464,9 +1436,8 @@ public async Task Get_GetPoolVirtualMachineConfigurationExtensions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetPool - VirtualMachineConfiguration Extensions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPoolVirtualMachineConfigurationExtensions() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet_VirtualMachineConfiguration_Extensions.json @@ -1495,9 +1466,8 @@ public async Task Exists_GetPoolVirtualMachineConfigurationExtensions() Console.WriteLine($"Succeeded: {result}"); } - // GetPool - VirtualMachineConfiguration Extensions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPoolVirtualMachineConfigurationExtensions() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet_VirtualMachineConfiguration_Extensions.json @@ -1526,7 +1496,7 @@ public async Task GetIfExists_GetPoolVirtualMachineConfigurationExtensions() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1538,9 +1508,8 @@ public async Task GetIfExists_GetPoolVirtualMachineConfigurationExtensions() } } - // GetPool - VirtualMachineConfiguration OSDisk - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPoolVirtualMachineConfigurationOSDisk() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet_VirtualMachineConfiguration_MangedOSDisk.json @@ -1573,9 +1542,8 @@ public async Task Get_GetPoolVirtualMachineConfigurationOSDisk() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetPool - VirtualMachineConfiguration OSDisk - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPoolVirtualMachineConfigurationOSDisk() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet_VirtualMachineConfiguration_MangedOSDisk.json @@ -1604,9 +1572,8 @@ public async Task Exists_GetPoolVirtualMachineConfigurationOSDisk() Console.WriteLine($"Succeeded: {result}"); } - // GetPool - VirtualMachineConfiguration OSDisk - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPoolVirtualMachineConfigurationOSDisk() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet_VirtualMachineConfiguration_MangedOSDisk.json @@ -1635,7 +1602,7 @@ public async Task GetIfExists_GetPoolVirtualMachineConfigurationOSDisk() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1647,9 +1614,8 @@ public async Task GetIfExists_GetPoolVirtualMachineConfigurationOSDisk() } } - // GetPool - VirtualMachineConfiguration ServiceArtifactReference - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPoolVirtualMachineConfigurationServiceArtifactReference() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet_VirtualMachineConfiguration_ServiceArtifactReference.json @@ -1682,9 +1648,8 @@ public async Task Get_GetPoolVirtualMachineConfigurationServiceArtifactReference Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetPool - VirtualMachineConfiguration ServiceArtifactReference - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPoolVirtualMachineConfigurationServiceArtifactReference() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet_VirtualMachineConfiguration_ServiceArtifactReference.json @@ -1713,9 +1678,8 @@ public async Task Exists_GetPoolVirtualMachineConfigurationServiceArtifactRefere Console.WriteLine($"Succeeded: {result}"); } - // GetPool - VirtualMachineConfiguration ServiceArtifactReference - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPoolVirtualMachineConfigurationServiceArtifactReference() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet_VirtualMachineConfiguration_ServiceArtifactReference.json @@ -1744,7 +1708,7 @@ public async Task GetIfExists_GetPoolVirtualMachineConfigurationServiceArtifactR if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountPoolResource.cs b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountPoolResource.cs index 81a274dd637e3..b057de027186c 100644 --- a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountPoolResource.cs +++ b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountPoolResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Batch.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Batch.Samples { public partial class Sample_BatchAccountPoolResource { - // UpdatePool - Enable Autoscale - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatePoolEnableAutoscale() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolUpdate_EnableAutoScale.json @@ -55,9 +55,8 @@ public async Task Update_UpdatePoolEnableAutoscale() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UpdatePool - Other Properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatePoolOtherProperties() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolUpdate_OtherProperties.json @@ -110,9 +109,8 @@ public async Task Update_UpdatePoolOtherProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UpdatePool - Remove Start Task - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatePoolRemoveStartTask() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolUpdate_RemoveStartTask.json @@ -146,9 +144,8 @@ public async Task Update_UpdatePoolRemoveStartTask() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UpdatePool - Resize Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatePoolResizePool() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolUpdate_ResizePool.json @@ -191,9 +188,8 @@ public async Task Update_UpdatePoolResizePool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeletePool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletePool() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolDelete.json @@ -216,12 +212,11 @@ public async Task Delete_DeletePool() // invoke the operation await batchAccountPool.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPool() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet.json @@ -251,9 +246,8 @@ public async Task Get_GetPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetPool - AcceleratedNetworking - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPoolAcceleratedNetworking() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet_AcceleratedNetworking.json @@ -283,9 +277,8 @@ public async Task Get_GetPoolAcceleratedNetworking() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetPool - SecurityProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPoolSecurityProfile() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet_SecurityProfile.json @@ -315,9 +308,8 @@ public async Task Get_GetPoolSecurityProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetPool - UpgradePolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPoolUpgradePolicy() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet_UpgradePolicy.json @@ -347,9 +339,8 @@ public async Task Get_GetPoolUpgradePolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetPool - VirtualMachineConfiguration Extensions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPoolVirtualMachineConfigurationExtensions() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet_VirtualMachineConfiguration_Extensions.json @@ -379,9 +370,8 @@ public async Task Get_GetPoolVirtualMachineConfigurationExtensions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetPool - VirtualMachineConfiguration OSDisk - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPoolVirtualMachineConfigurationOSDisk() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet_VirtualMachineConfiguration_MangedOSDisk.json @@ -411,9 +401,8 @@ public async Task Get_GetPoolVirtualMachineConfigurationOSDisk() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetPool - VirtualMachineConfiguration ServiceArtifactReference - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPoolVirtualMachineConfigurationServiceArtifactReference() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolGet_VirtualMachineConfiguration_ServiceArtifactReference.json @@ -443,9 +432,8 @@ public async Task Get_GetPoolVirtualMachineConfigurationServiceArtifactReference Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Disable AutoScale - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DisableAutoScale_DisableAutoScale() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolDisableAutoScale.json @@ -475,9 +463,8 @@ public async Task DisableAutoScale_DisableAutoScale() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StopPoolResize - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StopResize_StopPoolResize() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PoolStopResize.json diff --git a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountResource.cs b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountResource.cs index 664da12b4080f..dbd1d03e199d0 100644 --- a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountResource.cs +++ b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchAccountResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Batch.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Batch.Samples { public partial class Sample_BatchAccountResource { - // BatchAccountUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_BatchAccountUpdate() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/BatchAccountUpdate.json @@ -51,9 +51,8 @@ public async Task Update_BatchAccountUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BatchAccountDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_BatchAccountDelete() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/BatchAccountDelete.json @@ -75,12 +74,11 @@ public async Task Delete_BatchAccountDelete() // invoke the operation await batchAccount.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BatchAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BatchAccountGet() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/BatchAccountGet.json @@ -109,9 +107,8 @@ public async Task Get_BatchAccountGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateBatchAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateBatchAccountGet() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PrivateBatchAccountGet.json @@ -140,9 +137,8 @@ public async Task Get_PrivateBatchAccountGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BatchAccountList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBatchAccounts_BatchAccountList() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/BatchAccountList.json @@ -169,12 +165,11 @@ public async Task GetBatchAccounts_BatchAccountList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BatchAccountSynchronizeAutoStorageKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SynchronizeAutoStorageKeys_BatchAccountSynchronizeAutoStorageKeys() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/BatchAccountSynchronizeAutoStorageKeys.json @@ -196,12 +191,11 @@ public async Task SynchronizeAutoStorageKeys_BatchAccountSynchronizeAutoStorageK // invoke the operation await batchAccount.SynchronizeAutoStorageKeysAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BatchAccountRegenerateKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKey_BatchAccountRegenerateKey() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/BatchAccountRegenerateKey.json @@ -227,9 +221,8 @@ public async Task RegenerateKey_BatchAccountRegenerateKey() Console.WriteLine($"Succeeded: {result}"); } - // BatchAccountGetKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_BatchAccountGetKeys() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/BatchAccountGetKeys.json @@ -254,9 +247,8 @@ public async Task GetKeys_BatchAccountGetKeys() Console.WriteLine($"Succeeded: {result}"); } - // ListOutboundNetworkDependencies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOutboundNetworkDependenciesEndpoints_ListOutboundNetworkDependencies() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/BatchAccountListOutboundNetworkDependenciesEndpoints.json @@ -281,7 +273,7 @@ public async Task GetOutboundNetworkDependenciesEndpoints_ListOutboundNetworkDep Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchApplicationCollection.cs b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchApplicationCollection.cs index 0cc7be1672b05..fc8ea5c77d096 100644 --- a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchApplicationCollection.cs +++ b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchApplicationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Batch.Samples { public partial class Sample_BatchApplicationCollection { - // ApplicationCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApplicationCreate() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/ApplicationCreate.json @@ -55,9 +55,8 @@ public async Task CreateOrUpdate_ApplicationCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApplicationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApplicationGet() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/ApplicationGet.json @@ -90,9 +89,8 @@ public async Task Get_ApplicationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApplicationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApplicationGet() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/ApplicationGet.json @@ -121,9 +119,8 @@ public async Task Exists_ApplicationGet() Console.WriteLine($"Succeeded: {result}"); } - // ApplicationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApplicationGet() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/ApplicationGet.json @@ -152,7 +149,7 @@ public async Task GetIfExists_ApplicationGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_ApplicationGet() } } - // ApplicationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApplicationList() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/ApplicationList.json @@ -198,7 +194,7 @@ public async Task GetAll_ApplicationList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchApplicationPackageCollection.cs b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchApplicationPackageCollection.cs index b9f53fb2227d1..315fbbcc194f6 100644 --- a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchApplicationPackageCollection.cs +++ b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchApplicationPackageCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Batch.Samples { public partial class Sample_BatchApplicationPackageCollection { - // ApplicationPackageCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApplicationPackageCreate() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/ApplicationPackageCreate.json @@ -52,9 +52,8 @@ public async Task CreateOrUpdate_ApplicationPackageCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApplicationPackageGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApplicationPackageGet() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/ApplicationPackageGet.json @@ -88,9 +87,8 @@ public async Task Get_ApplicationPackageGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApplicationPackageGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ApplicationPackageGet() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/ApplicationPackageGet.json @@ -120,9 +118,8 @@ public async Task Exists_ApplicationPackageGet() Console.WriteLine($"Succeeded: {result}"); } - // ApplicationPackageGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ApplicationPackageGet() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/ApplicationPackageGet.json @@ -152,7 +149,7 @@ public async Task GetIfExists_ApplicationPackageGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_ApplicationPackageGet() } } - // ApplicationPackageList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ApplicationPackageList() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/ApplicationPackageList.json @@ -199,7 +195,7 @@ public async Task GetAll_ApplicationPackageList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchApplicationPackageResource.cs b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchApplicationPackageResource.cs index c7efb98d1ab18..1de2783f78eee 100644 --- a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchApplicationPackageResource.cs +++ b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchApplicationPackageResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Batch.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Batch.Samples { public partial class Sample_BatchApplicationPackageResource { - // ApplicationPackageActivate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Activate_ApplicationPackageActivate() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/ApplicationPackageActivate.json @@ -49,9 +49,8 @@ public async Task Activate_ApplicationPackageActivate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApplicationPackageCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApplicationPackageCreate() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/ApplicationPackageCreate.json @@ -84,9 +83,8 @@ public async Task Update_ApplicationPackageCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApplicationPackageDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApplicationPackageDelete() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/ApplicationPackageDelete.json @@ -110,12 +108,11 @@ public async Task Delete_ApplicationPackageDelete() // invoke the operation await batchApplicationPackage.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApplicationPackageGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApplicationPackageGet() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/ApplicationPackageGet.json diff --git a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchApplicationResource.cs b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchApplicationResource.cs index 084553b0e0e3d..65d5547b48e1f 100644 --- a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchApplicationResource.cs +++ b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchApplicationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Batch.Samples { public partial class Sample_BatchApplicationResource { - // ApplicationDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ApplicationDelete() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/ApplicationDelete.json @@ -39,12 +39,11 @@ public async Task Delete_ApplicationDelete() // invoke the operation await batchApplication.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ApplicationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ApplicationGet() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/ApplicationGet.json @@ -74,9 +73,8 @@ public async Task Get_ApplicationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ApplicationUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApplicationUpdate() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/ApplicationUpdate.json diff --git a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchPrivateEndpointConnectionCollection.cs b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchPrivateEndpointConnectionCollection.cs index a532ca5cd9b66..ef8d316d3be37 100644 --- a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchPrivateEndpointConnectionCollection.cs +++ b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchPrivateEndpointConnectionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Batch.Samples { public partial class Sample_BatchPrivateEndpointConnectionCollection { - // ListPrivateEndpointConnections - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPrivateEndpointConnections() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PrivateEndpointConnectionsList.json @@ -48,12 +48,11 @@ public async Task GetAll_ListPrivateEndpointConnections() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateEndpointConnection() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PrivateEndpointConnectionGet.json @@ -86,9 +85,8 @@ public async Task Get_GetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPrivateEndpointConnection() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PrivateEndpointConnectionGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // GetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPrivateEndpointConnection() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PrivateEndpointConnectionGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchPrivateEndpointConnectionResource.cs b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchPrivateEndpointConnectionResource.cs index 7934d99ac73b8..560d093d1a9ac 100644 --- a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchPrivateEndpointConnectionResource.cs +++ b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Batch.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Batch.Samples { public partial class Sample_BatchPrivateEndpointConnectionResource { - // GetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateEndpointConnection() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PrivateEndpointConnectionGet.json @@ -47,9 +47,8 @@ public async Task Get_GetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UpdatePrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatePrivateEndpointConnection() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PrivateEndpointConnectionUpdate.json @@ -87,9 +86,8 @@ public async Task Update_UpdatePrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnectionDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateEndpointConnectionDelete() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PrivateEndpointConnectionDelete.json @@ -112,7 +110,7 @@ public async Task Delete_PrivateEndpointConnectionDelete() // invoke the operation await batchPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchPrivateLinkResource.cs b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchPrivateLinkResource.cs index 84e3476b1812b..a714270e4422e 100644 --- a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchPrivateLinkResource.cs +++ b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Batch.Samples { public partial class Sample_BatchPrivateLinkResource { - // GetPrivateLinkResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateLinkResource() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PrivateLinkResourceGet.json diff --git a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchPrivateLinkResourceCollection.cs b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchPrivateLinkResourceCollection.cs index 2ea135ec82c1f..f5e92b5da64ed 100644 --- a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchPrivateLinkResourceCollection.cs +++ b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_BatchPrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Batch.Samples { public partial class Sample_BatchPrivateLinkResourceCollection { - // ListPrivateLinkResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPrivateLinkResource() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PrivateLinkResourcesList.json @@ -48,12 +48,11 @@ public async Task GetAll_ListPrivateLinkResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetPrivateLinkResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateLinkResource() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PrivateLinkResourceGet.json @@ -86,9 +85,8 @@ public async Task Get_GetPrivateLinkResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetPrivateLinkResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPrivateLinkResource() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PrivateLinkResourceGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetPrivateLinkResource() Console.WriteLine($"Succeeded: {result}"); } - // GetPrivateLinkResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPrivateLinkResource() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/PrivateLinkResourceGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetPrivateLinkResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationCollection.cs b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationCollection.cs index 177c83eac5297..cd7d315295073 100644 --- a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationCollection.cs +++ b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Batch.Samples { public partial class Sample_NetworkSecurityPerimeterConfigurationCollection { - // ListNspConfigurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListNspConfigurations() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/NspConfigurationsList.json @@ -48,12 +48,11 @@ public async Task GetAll_ListNspConfigurations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetNspConfiguration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNspConfiguration() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/NspConfigurationGet.json @@ -86,9 +85,8 @@ public async Task Get_GetNspConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetNspConfiguration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetNspConfiguration() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/NspConfigurationGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetNspConfiguration() Console.WriteLine($"Succeeded: {result}"); } - // GetNspConfiguration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetNspConfiguration() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/NspConfigurationGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetNspConfiguration() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationResource.cs b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationResource.cs index 8f55f9e8b49c5..19ccd68032753 100644 --- a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationResource.cs +++ b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Batch.Samples { public partial class Sample_NetworkSecurityPerimeterConfigurationResource { - // GetNspConfiguration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNspConfiguration() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/NspConfigurationGet.json @@ -46,9 +46,8 @@ public async Task Get_GetNspConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ReconcileNspConfiguration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ReconcileConfiguration_ReconcileNspConfiguration() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/NspConfigurationReconcile.json @@ -71,7 +70,7 @@ public async Task ReconcileConfiguration_ReconcileNspConfiguration() // invoke the operation await networkSecurityPerimeterConfiguration.ReconcileConfigurationAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 3e4fc362279bb..83e73b80af3d9 100644 --- a/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/batch/Azure.ResourceManager.Batch/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Batch.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Batch.Samples { public partial class Sample_SubscriptionResourceExtensions { - // LocationGetQuotas - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBatchQuotas_LocationGetQuotas() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/LocationGetQuotas.json @@ -42,9 +42,8 @@ public async Task GetBatchQuotas_LocationGetQuotas() Console.WriteLine($"Succeeded: {result}"); } - // LocationListVirtualMachineSkus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBatchSupportedVirtualMachineSkus_LocationListVirtualMachineSkus() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/LocationListVirtualMachineSkus.json @@ -68,12 +67,11 @@ public async Task GetBatchSupportedVirtualMachineSkus_LocationListVirtualMachine Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LocationCheckNameAvailability_AlreadyExists - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckBatchNameAvailability_LocationCheckNameAvailabilityAlreadyExists() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/LocationCheckNameAvailability_AlreadyExists.json @@ -98,9 +96,8 @@ public async Task CheckBatchNameAvailability_LocationCheckNameAvailabilityAlread Console.WriteLine($"Succeeded: {result}"); } - // LocationCheckNameAvailability_Available - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckBatchNameAvailability_LocationCheckNameAvailabilityAvailable() { // Generated from example definition: specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/LocationCheckNameAvailability_Available.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAccountCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAccountCollection.cs index bbbaedd756c7b..d8994ab75ef21 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAccountCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAccountCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingAccountCollection { - // BillingAccountWithExpandForPONumber - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingAccountWithExpandForPONumber() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountWithExpandForPONumber.json @@ -46,9 +46,8 @@ public async Task Get_BillingAccountWithExpandForPONumber() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingAccountWithExpandForPONumber - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BillingAccountWithExpandForPONumber() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountWithExpandForPONumber.json @@ -73,9 +72,8 @@ public async Task Exists_BillingAccountWithExpandForPONumber() Console.WriteLine($"Succeeded: {result}"); } - // BillingAccountWithExpandForPONumber - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BillingAccountWithExpandForPONumber() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountWithExpandForPONumber.json @@ -100,7 +98,7 @@ public async Task GetIfExists_BillingAccountWithExpandForPONumber() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -112,9 +110,8 @@ public async Task GetIfExists_BillingAccountWithExpandForPONumber() } } - // BillingAccountWithRegistrationNumberWithDefaultType - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingAccountWithRegistrationNumberWithDefaultType() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountWithRegistrationNumberWithDefaultType.json @@ -143,9 +140,8 @@ public async Task Get_BillingAccountWithRegistrationNumberWithDefaultType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingAccountWithRegistrationNumberWithDefaultType - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BillingAccountWithRegistrationNumberWithDefaultType() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountWithRegistrationNumberWithDefaultType.json @@ -170,9 +166,8 @@ public async Task Exists_BillingAccountWithRegistrationNumberWithDefaultType() Console.WriteLine($"Succeeded: {result}"); } - // BillingAccountWithRegistrationNumberWithDefaultType - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BillingAccountWithRegistrationNumberWithDefaultType() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountWithRegistrationNumberWithDefaultType.json @@ -197,7 +192,7 @@ public async Task GetIfExists_BillingAccountWithRegistrationNumberWithDefaultTyp if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -209,9 +204,8 @@ public async Task GetIfExists_BillingAccountWithRegistrationNumberWithDefaultTyp } } - // BillingAccountWithRegistrationNumberWithType - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingAccountWithRegistrationNumberWithType() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountWithRegistrationNumberWithType.json @@ -240,9 +234,8 @@ public async Task Get_BillingAccountWithRegistrationNumberWithType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingAccountWithRegistrationNumberWithType - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BillingAccountWithRegistrationNumberWithType() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountWithRegistrationNumberWithType.json @@ -267,9 +260,8 @@ public async Task Exists_BillingAccountWithRegistrationNumberWithType() Console.WriteLine($"Succeeded: {result}"); } - // BillingAccountWithRegistrationNumberWithType - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BillingAccountWithRegistrationNumberWithType() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountWithRegistrationNumberWithType.json @@ -294,7 +286,7 @@ public async Task GetIfExists_BillingAccountWithRegistrationNumberWithType() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -306,9 +298,8 @@ public async Task GetIfExists_BillingAccountWithRegistrationNumberWithType() } } - // BillingAccountsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingAccountsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountsGet.json @@ -337,9 +328,8 @@ public async Task Get_BillingAccountsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingAccountsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BillingAccountsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountsGet.json @@ -364,9 +354,8 @@ public async Task Exists_BillingAccountsGet() Console.WriteLine($"Succeeded: {result}"); } - // BillingAccountsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BillingAccountsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountsGet.json @@ -391,7 +380,7 @@ public async Task GetIfExists_BillingAccountsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -403,9 +392,8 @@ public async Task GetIfExists_BillingAccountsGet() } } - // BillingAccountsGetEA - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingAccountsGetEA() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountsGetEA.json @@ -434,9 +422,8 @@ public async Task Get_BillingAccountsGetEA() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingAccountsGetEA - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BillingAccountsGetEA() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountsGetEA.json @@ -461,9 +448,8 @@ public async Task Exists_BillingAccountsGetEA() Console.WriteLine($"Succeeded: {result}"); } - // BillingAccountsGetEA - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BillingAccountsGetEA() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountsGetEA.json @@ -488,7 +474,7 @@ public async Task GetIfExists_BillingAccountsGetEA() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -500,9 +486,8 @@ public async Task GetIfExists_BillingAccountsGetEA() } } - // BillingAccountsGetWithExpand - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingAccountsGetWithExpand() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountsGetWithExpand.json @@ -531,9 +516,8 @@ public async Task Get_BillingAccountsGetWithExpand() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingAccountsGetWithExpand - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BillingAccountsGetWithExpand() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountsGetWithExpand.json @@ -558,9 +542,8 @@ public async Task Exists_BillingAccountsGetWithExpand() Console.WriteLine($"Succeeded: {result}"); } - // BillingAccountsGetWithExpand - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BillingAccountsGetWithExpand() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountsGetWithExpand.json @@ -585,7 +568,7 @@ public async Task GetIfExists_BillingAccountsGetWithExpand() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -597,9 +580,8 @@ public async Task GetIfExists_BillingAccountsGetWithExpand() } } - // BillingAccountForLegacyAccountDetails - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BillingAccountForLegacyAccountDetails() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountForLegacyAccountDetails.json @@ -628,12 +610,11 @@ public async Task GetAll_BillingAccountForLegacyAccountDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingAccountsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BillingAccountsList() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountsList.json @@ -662,12 +643,11 @@ public async Task GetAll_BillingAccountsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingAccountsListWithExpandForPONumber - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BillingAccountsListWithExpandForPONumber() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountsListWithExpandForPONumber.json @@ -696,7 +676,7 @@ public async Task GetAll_BillingAccountsListWithExpandForPONumber() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAccountPaymentMethodCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAccountPaymentMethodCollection.cs index 974cd0d8d1b31..9d6df488d17a5 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAccountPaymentMethodCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAccountPaymentMethodCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingAccountPaymentMethodCollection { - // PaymentMethodsListByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PaymentMethodsListByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/paymentMethodsListByBillingAccount.json @@ -46,12 +46,11 @@ public async Task GetAll_PaymentMethodsListByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PaymentMethodGetAtBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PaymentMethodGetAtBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/paymentMethodsGetByBillingAccount.json @@ -82,9 +81,8 @@ public async Task Get_PaymentMethodGetAtBillingProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PaymentMethodGetAtBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PaymentMethodGetAtBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/paymentMethodsGetByBillingAccount.json @@ -111,9 +109,8 @@ public async Task Exists_PaymentMethodGetAtBillingProfile() Console.WriteLine($"Succeeded: {result}"); } - // PaymentMethodGetAtBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PaymentMethodGetAtBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/paymentMethodsGetByBillingAccount.json @@ -140,7 +137,7 @@ public async Task GetIfExists_PaymentMethodGetAtBillingProfile() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAccountPaymentMethodResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAccountPaymentMethodResource.cs index 0db449f102e7a..7ad7c8f8b4ed1 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAccountPaymentMethodResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAccountPaymentMethodResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingAccountPaymentMethodResource { - // PaymentMethodGetAtBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PaymentMethodGetAtBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/paymentMethodsGetByBillingAccount.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAccountPolicyResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAccountPolicyResource.cs index ccdf94735dc08..e91ad401368a6 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAccountPolicyResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAccountPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingAccountPolicyResource { - // PoliciesGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PoliciesGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/policiesGetByBillingAccount.json @@ -44,9 +44,8 @@ public async Task Get_PoliciesGetByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PoliciesPutByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PoliciesPutByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/policiesPutByBillingAccount.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAccountResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAccountResource.cs index 6a0dd61d4cd82..6c4977e55df17 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAccountResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAccountResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingAccountResource { - // AvailableBalanceGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBillingAccountAvailableBalance_AvailableBalanceGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/availableBalanceGetByBillingAccount.json @@ -41,9 +41,8 @@ public async Task GetBillingAccountAvailableBalance_AvailableBalanceGetByBilling Console.WriteLine($"Succeeded: {result}"); } - // PaymentTermsAdd - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AddPaymentTerms_PaymentTermsAdd() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/paymentTermsAdd.json @@ -80,9 +79,8 @@ public async Task AddPaymentTerms_PaymentTermsAdd() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PaymentTermsCancel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CancelPaymentTerms_PaymentTermsCancel() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/paymentTermsCancel.json @@ -111,9 +109,8 @@ public async Task CancelPaymentTerms_PaymentTermsCancel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingAccountsConfirmTransition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ConfirmTransition_BillingAccountsConfirmTransition() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountsConfirmTransition.json @@ -136,9 +133,8 @@ public async Task ConfirmTransition_BillingAccountsConfirmTransition() Console.WriteLine($"Succeeded: {result}"); } - // InvoiceSectionsWithCreateSubscriptionPermissionList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetInvoiceSectionsByCreateSubscriptionPermission_InvoiceSectionsWithCreateSubscriptionPermissionList() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoiceSectionsWithCreateSubscriptionPermissionList.json @@ -161,12 +157,11 @@ public async Task GetInvoiceSectionsByCreateSubscriptionPermission_InvoiceSectio Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PaymentTermInvalid - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidatePaymentTerms_PaymentTermInvalid() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/paymentTermInvalid.json @@ -198,9 +193,8 @@ public async Task ValidatePaymentTerms_PaymentTermInvalid() Console.WriteLine($"Succeeded: {result}"); } - // PaymentTermValid - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidatePaymentTerms_PaymentTermValid() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/paymentTermValid.json @@ -232,9 +226,8 @@ public async Task ValidatePaymentTerms_PaymentTermValid() Console.WriteLine($"Succeeded: {result}"); } - // BillingAccountWithExpandForPONumber - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingAccountWithExpandForPONumber() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountWithExpandForPONumber.json @@ -261,9 +254,8 @@ public async Task Get_BillingAccountWithExpandForPONumber() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingAccountWithRegistrationNumberWithDefaultType - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingAccountWithRegistrationNumberWithDefaultType() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountWithRegistrationNumberWithDefaultType.json @@ -290,9 +282,8 @@ public async Task Get_BillingAccountWithRegistrationNumberWithDefaultType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingAccountWithRegistrationNumberWithType - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingAccountWithRegistrationNumberWithType() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountWithRegistrationNumberWithType.json @@ -319,9 +310,8 @@ public async Task Get_BillingAccountWithRegistrationNumberWithType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingAccountsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingAccountsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountsGet.json @@ -348,9 +338,8 @@ public async Task Get_BillingAccountsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingAccountsGetEA - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingAccountsGetEA() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountsGetEA.json @@ -377,9 +366,8 @@ public async Task Get_BillingAccountsGetEA() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingAccountsGetWithExpand - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingAccountsGetWithExpand() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountsGetWithExpand.json @@ -406,9 +394,8 @@ public async Task Get_BillingAccountsGetWithExpand() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingAccountUpdateWithPONumber - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_BillingAccountUpdateWithPONumber() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountUpdateWithPONumber.json @@ -446,9 +433,8 @@ public async Task Update_BillingAccountUpdateWithPONumber() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingAccountsUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_BillingAccountsUpdate() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingAccountsUpdate.json @@ -490,9 +476,8 @@ public async Task Update_BillingAccountsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingPermissionsListByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBillingPermissions_BillingPermissionsListByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingPermissionsListByBillingAccount.json @@ -515,12 +500,11 @@ public async Task GetBillingPermissions_BillingPermissionsListByBillingAccount() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CheckAccessByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckAccessBillingPermissions_CheckAccessByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/checkAccessByBillingAccount.json @@ -550,12 +534,11 @@ public async Task CheckAccessBillingPermissions_CheckAccessByBillingAccount() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingRequestsListByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBillingRequests_BillingRequestsListByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRequestsListByBillingAccount.json @@ -583,12 +566,11 @@ public async Task GetBillingRequests_BillingRequestsListByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingRoleAssignmentCreateByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateByBillingAccountBillingRoleAssignment_BillingRoleAssignmentCreateByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentCreateByBillingAccount.json @@ -619,9 +601,8 @@ public async Task CreateByBillingAccountBillingRoleAssignment_BillingRoleAssignm Console.WriteLine($"Succeeded on id: {result.Id}"); } - // ResolveBillingRoleAssignmentByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResolveByBillingAccountBillingRoleAssignment_ResolveBillingRoleAssignmentByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/resolveBillingRoleAssignmentByBillingAccount.json @@ -645,9 +626,8 @@ public async Task ResolveByBillingAccountBillingRoleAssignment_ResolveBillingRol Console.WriteLine($"Succeeded: {result}"); } - // SavingsPlansList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetByBillingAccountSavingsPlan_SavingsPlansList() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/savingsPlansListByBillingAccount.json @@ -675,12 +655,11 @@ public async Task GetByBillingAccountSavingsPlan_SavingsPlansList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // InvoicesDownloadDocumentsByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DownloadDocumentsByBillingAccountInvoice_InvoicesDownloadDocumentsByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoicesDownloadDocumentsByBillingAccount.json @@ -716,9 +695,8 @@ public async Task DownloadDocumentsByBillingAccountInvoice_InvoicesDownloadDocum Console.WriteLine($"Succeeded: {result}"); } - // reservationsListByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReservations_ReservationsListByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationsListByBillingAccount.json @@ -746,7 +724,7 @@ public async Task GetReservations_ReservationsListByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAgreementCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAgreementCollection.cs index 5bb4a1e2b0016..d24145f410431 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAgreementCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAgreementCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingAgreementCollection { - // AgreementByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AgreementByName() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/agreementByName.json @@ -47,9 +47,8 @@ public async Task Get_AgreementByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AgreementByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AgreementByName() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/agreementByName.json @@ -76,9 +75,8 @@ public async Task Exists_AgreementByName() Console.WriteLine($"Succeeded: {result}"); } - // AgreementByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AgreementByName() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/agreementByName.json @@ -105,7 +103,7 @@ public async Task GetIfExists_AgreementByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -117,9 +115,8 @@ public async Task GetIfExists_AgreementByName() } } - // AgreementsListByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AgreementsListByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/agreementsListByBillingAccount.json @@ -150,7 +147,7 @@ public async Task GetAll_AgreementsListByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAgreementResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAgreementResource.cs index 95b6baa941b55..a43481b043e7b 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAgreementResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAgreementResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingAgreementResource { - // AgreementByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AgreementByName() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/agreementByName.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAssociatedTenantCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAssociatedTenantCollection.cs index e4e195632486e..60e4f8f8cd500 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAssociatedTenantCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAssociatedTenantCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingAssociatedTenantCollection { - // AssociatedTenantsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AssociatedTenantsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/associatedTenantsGet.json @@ -48,9 +48,8 @@ public async Task Get_AssociatedTenantsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AssociatedTenantsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AssociatedTenantsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/associatedTenantsGet.json @@ -77,9 +76,8 @@ public async Task Exists_AssociatedTenantsGet() Console.WriteLine($"Succeeded: {result}"); } - // AssociatedTenantsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AssociatedTenantsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/associatedTenantsGet.json @@ -106,7 +104,7 @@ public async Task GetIfExists_AssociatedTenantsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -118,9 +116,8 @@ public async Task GetIfExists_AssociatedTenantsGet() } } - // AssociatedTenantsCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AssociatedTenantsCreateOrUpdate() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/associatedTenantsCreateOrUpdate.json @@ -161,9 +158,8 @@ public async Task CreateOrUpdate_AssociatedTenantsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AssociatedTenantsListByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AssociatedTenantsListByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/associatedTenantsListByBillingAccount.json @@ -194,7 +190,7 @@ public async Task GetAll_AssociatedTenantsListByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAssociatedTenantResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAssociatedTenantResource.cs index d313fa62c06c6..99483ff68967c 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAssociatedTenantResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingAssociatedTenantResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingAssociatedTenantResource { - // AssociatedTenantsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AssociatedTenantsDelete() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/associatedTenantsDelete.json @@ -38,12 +38,11 @@ public async Task Delete_AssociatedTenantsDelete() // invoke the operation await billingAssociatedTenant.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AssociatedTenantsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AssociatedTenantsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/associatedTenantsGet.json @@ -71,9 +70,8 @@ public async Task Get_AssociatedTenantsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AssociatedTenantsCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AssociatedTenantsCreateOrUpdate() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/associatedTenantsCreateOrUpdate.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerCollection.cs index f930d1e9d1fd0..8e2ecc7ed0283 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingCustomerCollection { - // CustomersGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CustomersGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/customersGetByBillingAccount.json @@ -48,9 +48,8 @@ public async Task Get_CustomersGetByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CustomersGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CustomersGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/customersGetByBillingAccount.json @@ -77,9 +76,8 @@ public async Task Exists_CustomersGetByBillingAccount() Console.WriteLine($"Succeeded: {result}"); } - // CustomersGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CustomersGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/customersGetByBillingAccount.json @@ -106,7 +104,7 @@ public async Task GetIfExists_CustomersGetByBillingAccount() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -118,9 +116,8 @@ public async Task GetIfExists_CustomersGetByBillingAccount() } } - // CustomersListByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CustomersListByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/customersListByBillingAccount.json @@ -151,12 +148,11 @@ public async Task GetAll_CustomersListByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CustomersListByBillingAccountWithExpand - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CustomersListByBillingAccountWithExpand() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/customersListByBillingAccountWithExpand.json @@ -187,7 +183,7 @@ public async Task GetAll_CustomersListByBillingAccountWithExpand() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerPolicyResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerPolicyResource.cs index 645340ff757b8..e01b515a4191c 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerPolicyResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingCustomerPolicyResource { - // PoliciesGetByCustomerAtBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PoliciesGetByCustomerAtBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/policiesGetByCustomerAtBillingAccount.json @@ -45,9 +45,8 @@ public async Task Get_PoliciesGetByCustomerAtBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PoliciesPutByCustomerAtBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PoliciesPutByCustomerAtBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/policiesPutByCustomerAtBillingAccount.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerResource.cs index d2273e9b24dc5..4f382c5596b2d 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingCustomerResource { - // BillingPermissionsListByCustomerAtBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBillingPermissionsByCustomerAtBillingAccount_BillingPermissionsListByCustomerAtBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingPermissionsListByCustomerAtBillingAccount.json @@ -41,12 +41,11 @@ public async Task GetBillingPermissionsByCustomerAtBillingAccount_BillingPermiss Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingSubscriptionsListByCustomerAtBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBillingSubscriptionsByCustomerAtBillingAccount_BillingSubscriptionsListByCustomerAtBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionsListByCustomerAtBillingAccount.json @@ -72,12 +71,11 @@ public async Task GetBillingSubscriptionsByCustomerAtBillingAccount_BillingSubsc Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CustomersGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CustomersGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/customersGetByBillingAccount.json @@ -105,9 +103,8 @@ public async Task Get_CustomersGetByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ProductsListByCustomer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetProducts_ProductsListByCustomer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/productsListByCustomer.json @@ -136,7 +133,7 @@ public async Task GetProducts_ProductsListByCustomer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerRoleAssignmentCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerRoleAssignmentCollection.cs index 08de8d1949fff..00d3ef355fbe9 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerRoleAssignmentCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerRoleAssignmentCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingCustomerRoleAssignmentCollection { - // BillingRoleAssignmentGetByCustomer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRoleAssignmentGetByCustomer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentGetByCustomer.json @@ -49,9 +49,8 @@ public async Task Get_BillingRoleAssignmentGetByCustomer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingRoleAssignmentGetByCustomer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BillingRoleAssignmentGetByCustomer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentGetByCustomer.json @@ -80,9 +79,8 @@ public async Task Exists_BillingRoleAssignmentGetByCustomer() Console.WriteLine($"Succeeded: {result}"); } - // BillingRoleAssignmentGetByCustomer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BillingRoleAssignmentGetByCustomer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentGetByCustomer.json @@ -111,7 +109,7 @@ public async Task GetIfExists_BillingRoleAssignmentGetByCustomer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_BillingRoleAssignmentGetByCustomer() } } - // BillingRoleAssignmentListByCustomer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BillingRoleAssignmentListByCustomer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentListByCustomer.json @@ -157,7 +154,7 @@ public async Task GetAll_BillingRoleAssignmentListByCustomer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerRoleAssignmentResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerRoleAssignmentResource.cs index b03e6eaea5aa8..aae1d9716f8b8 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerRoleAssignmentResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerRoleAssignmentResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingCustomerRoleAssignmentResource { - // BillingRoleAssignmentDeleteByCustomer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_BillingRoleAssignmentDeleteByCustomer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentDeleteByCustomer.json @@ -39,12 +39,11 @@ public async Task Delete_BillingRoleAssignmentDeleteByCustomer() // invoke the operation await billingCustomerRoleAssignment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingRoleAssignmentGetByCustomer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRoleAssignmentGetByCustomer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentGetByCustomer.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerRoleDefinitionCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerRoleDefinitionCollection.cs index 0291ff3361f49..bd6994c4633e7 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerRoleDefinitionCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerRoleDefinitionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingCustomerRoleDefinitionCollection { - // BillingRoleDefinitionGetByCustomer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRoleDefinitionGetByCustomer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionGetByCustomer.json @@ -49,9 +49,8 @@ public async Task Get_BillingRoleDefinitionGetByCustomer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingRoleDefinitionGetByCustomer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BillingRoleDefinitionGetByCustomer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionGetByCustomer.json @@ -80,9 +79,8 @@ public async Task Exists_BillingRoleDefinitionGetByCustomer() Console.WriteLine($"Succeeded: {result}"); } - // BillingRoleDefinitionGetByCustomer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BillingRoleDefinitionGetByCustomer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionGetByCustomer.json @@ -111,7 +109,7 @@ public async Task GetIfExists_BillingRoleDefinitionGetByCustomer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_BillingRoleDefinitionGetByCustomer() } } - // BillingRoleDefinitionListByCustomer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BillingRoleDefinitionListByCustomer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionListByCustomer.json @@ -157,7 +154,7 @@ public async Task GetAll_BillingRoleDefinitionListByCustomer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerRoleDefinitionResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerRoleDefinitionResource.cs index 8f8d68013b915..29f104eb10f7f 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerRoleDefinitionResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingCustomerRoleDefinitionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingCustomerRoleDefinitionResource { - // BillingRoleDefinitionGetByCustomer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRoleDefinitionGetByCustomer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionGetByCustomer.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentCollection.cs index ed508bf1c8a3b..3b72d5e32ce91 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingDepartmentCollection { - // DepartmentGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DepartmentGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/departmentGet.json @@ -47,9 +47,8 @@ public async Task Get_DepartmentGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DepartmentGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DepartmentGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/departmentGet.json @@ -76,9 +75,8 @@ public async Task Exists_DepartmentGet() Console.WriteLine($"Succeeded: {result}"); } - // DepartmentGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DepartmentGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/departmentGet.json @@ -105,7 +103,7 @@ public async Task GetIfExists_DepartmentGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -117,9 +115,8 @@ public async Task GetIfExists_DepartmentGet() } } - // DepartmentsListByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DepartmentsListByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/departmentsListByBillingAccount.json @@ -149,7 +146,7 @@ public async Task GetAll_DepartmentsListByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentEnrollmentAccountCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentEnrollmentAccountCollection.cs index 28ab138ce54d2..2e55192a52393 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentEnrollmentAccountCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentEnrollmentAccountCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingDepartmentEnrollmentAccountCollection { - // EnrollmentAccountByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EnrollmentAccountByDepartment() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/enrollmentAccountByDepartment.json @@ -49,9 +49,8 @@ public async Task Get_EnrollmentAccountByDepartment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EnrollmentAccountByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EnrollmentAccountByDepartment() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/enrollmentAccountByDepartment.json @@ -79,9 +78,8 @@ public async Task Exists_EnrollmentAccountByDepartment() Console.WriteLine($"Succeeded: {result}"); } - // EnrollmentAccountByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EnrollmentAccountByDepartment() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/enrollmentAccountByDepartment.json @@ -109,7 +107,7 @@ public async Task GetIfExists_EnrollmentAccountByDepartment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_EnrollmentAccountByDepartment() } } - // EnrollmentAccountsListByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_EnrollmentAccountsListByDepartment() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/enrollmentAccountsListByDepartment.json @@ -155,7 +152,7 @@ public async Task GetAll_EnrollmentAccountsListByDepartment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentEnrollmentAccountResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentEnrollmentAccountResource.cs index d40af4e8b4a90..cf443e9883cb2 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentEnrollmentAccountResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentEnrollmentAccountResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingDepartmentEnrollmentAccountResource { - // EnrollmentAccountByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EnrollmentAccountByDepartment() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/enrollmentAccountByDepartment.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentResource.cs index 1fa0fa0618e05..3a8a77c04102a 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingDepartmentResource { - // BillingPermissionsListByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBillingPermissions_BillingPermissionsListByDepartment() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingPermissionsListByDepartment.json @@ -41,12 +41,11 @@ public async Task GetBillingPermissions_BillingPermissionsListByDepartment() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CheckAccessByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckAccessBillingPermissions_CheckAccessByDepartment() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/checkAccessByDepartment.json @@ -77,12 +76,11 @@ public async Task CheckAccessBillingPermissions_CheckAccessByDepartment() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DepartmentGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DepartmentGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/departmentGet.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentRoleAssignmentCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentRoleAssignmentCollection.cs index 137a38f8ba16f..6e6658eb4f35e 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentRoleAssignmentCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentRoleAssignmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingDepartmentRoleAssignmentCollection { - // BillingRoleAssignmentGetByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRoleAssignmentGetByDepartment() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentGetByDepartment.json @@ -49,9 +49,8 @@ public async Task Get_BillingRoleAssignmentGetByDepartment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingRoleAssignmentGetByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BillingRoleAssignmentGetByDepartment() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentGetByDepartment.json @@ -79,9 +78,8 @@ public async Task Exists_BillingRoleAssignmentGetByDepartment() Console.WriteLine($"Succeeded: {result}"); } - // BillingRoleAssignmentGetByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BillingRoleAssignmentGetByDepartment() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentGetByDepartment.json @@ -109,7 +107,7 @@ public async Task GetIfExists_BillingRoleAssignmentGetByDepartment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_BillingRoleAssignmentGetByDepartment() } } - // BillingRoleAssignmentCreateOrUpdateByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_BillingRoleAssignmentCreateOrUpdateByDepartment() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentCreateOrUpdateByDepartment.json @@ -165,9 +162,8 @@ public async Task CreateOrUpdate_BillingRoleAssignmentCreateOrUpdateByDepartment Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingRoleAssignmentListByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BillingRoleAssignmentListByDepartment() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentListByDepartment.json @@ -198,7 +194,7 @@ public async Task GetAll_BillingRoleAssignmentListByDepartment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentRoleAssignmentResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentRoleAssignmentResource.cs index b551e6fcb7241..e6d8244f29ce5 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentRoleAssignmentResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentRoleAssignmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingDepartmentRoleAssignmentResource { - // BillingRoleAssignmentDeleteByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_BillingRoleAssignmentDeleteByDepartment() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentDeleteByDepartment.json @@ -39,12 +39,11 @@ public async Task Delete_BillingRoleAssignmentDeleteByDepartment() // invoke the operation await billingDepartmentRoleAssignment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingRoleAssignmentGetByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRoleAssignmentGetByDepartment() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentGetByDepartment.json @@ -73,9 +72,8 @@ public async Task Get_BillingRoleAssignmentGetByDepartment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingRoleAssignmentCreateOrUpdateByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_BillingRoleAssignmentCreateOrUpdateByDepartment() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentCreateOrUpdateByDepartment.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentRoleDefinitionCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentRoleDefinitionCollection.cs index 85021918de705..8da02797cb9a7 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentRoleDefinitionCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentRoleDefinitionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingDepartmentRoleDefinitionCollection { - // BillingRoleDefinitionGetByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRoleDefinitionGetByDepartment() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionGetByDepartment.json @@ -48,9 +48,8 @@ public async Task Get_BillingRoleDefinitionGetByDepartment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingRoleDefinitionGetByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BillingRoleDefinitionGetByDepartment() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionGetByDepartment.json @@ -78,9 +77,8 @@ public async Task Exists_BillingRoleDefinitionGetByDepartment() Console.WriteLine($"Succeeded: {result}"); } - // BillingRoleDefinitionGetByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BillingRoleDefinitionGetByDepartment() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionGetByDepartment.json @@ -108,7 +106,7 @@ public async Task GetIfExists_BillingRoleDefinitionGetByDepartment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -120,9 +118,8 @@ public async Task GetIfExists_BillingRoleDefinitionGetByDepartment() } } - // BillingRoleDefinitionListByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BillingRoleDefinitionListByDepartment() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionListByDepartment.json @@ -153,7 +150,7 @@ public async Task GetAll_BillingRoleDefinitionListByDepartment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentRoleDefinitionResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentRoleDefinitionResource.cs index 20e6147476f06..0ed3097cf1fa7 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentRoleDefinitionResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingDepartmentRoleDefinitionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingDepartmentRoleDefinitionResource { - // BillingRoleDefinitionGetByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRoleDefinitionGetByDepartment() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionGetByDepartment.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingEnrollmentAccountCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingEnrollmentAccountCollection.cs index 1c34335972451..2465c78e0bf34 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingEnrollmentAccountCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingEnrollmentAccountCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingEnrollmentAccountCollection { - // EnrollmentAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EnrollmentAccountGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/enrollmentAccountGet.json @@ -48,9 +48,8 @@ public async Task Get_EnrollmentAccountGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EnrollmentAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EnrollmentAccountGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/enrollmentAccountGet.json @@ -77,9 +76,8 @@ public async Task Exists_EnrollmentAccountGet() Console.WriteLine($"Succeeded: {result}"); } - // EnrollmentAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EnrollmentAccountGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/enrollmentAccountGet.json @@ -106,7 +104,7 @@ public async Task GetIfExists_EnrollmentAccountGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -118,9 +116,8 @@ public async Task GetIfExists_EnrollmentAccountGet() } } - // EnrollmentAccountsListByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_EnrollmentAccountsListByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/enrollmentAccountsListByBillingAccount.json @@ -151,7 +148,7 @@ public async Task GetAll_EnrollmentAccountsListByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingEnrollmentAccountResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingEnrollmentAccountResource.cs index 8d3f156df280f..82cdecdc342e6 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingEnrollmentAccountResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingEnrollmentAccountResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingEnrollmentAccountResource { - // BillingPermissionsListByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBillingPermissions_BillingPermissionsListByEnrollmentAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingPermissionsListByEnrollmentAccount.json @@ -41,12 +41,11 @@ public async Task GetBillingPermissions_BillingPermissionsListByEnrollmentAccoun Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CheckAccessByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckAccessBillingPermissions_CheckAccessByEnrollmentAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/checkAccessByEnrollmentAccount.json @@ -77,12 +76,11 @@ public async Task CheckAccessBillingPermissions_CheckAccessByEnrollmentAccount() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingSubscriptionsListByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBillingSubscriptions_BillingSubscriptionsListByEnrollmentAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionsListByEnrollmentAccount.json @@ -108,12 +106,11 @@ public async Task GetBillingSubscriptions_BillingSubscriptionsListByEnrollmentAc Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // EnrollmentAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EnrollmentAccountGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/enrollmentAccountGet.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingEnrollmentAccountRoleAssignmentCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingEnrollmentAccountRoleAssignmentCollection.cs index 0d8907840735b..243751aeb078c 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingEnrollmentAccountRoleAssignmentCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingEnrollmentAccountRoleAssignmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingEnrollmentAccountRoleAssignmentCollection { - // BillingRoleAssignmentGetByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRoleAssignmentGetByEnrollmentAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentGetByEnrollmentAccount.json @@ -49,9 +49,8 @@ public async Task Get_BillingRoleAssignmentGetByEnrollmentAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingRoleAssignmentGetByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BillingRoleAssignmentGetByEnrollmentAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentGetByEnrollmentAccount.json @@ -79,9 +78,8 @@ public async Task Exists_BillingRoleAssignmentGetByEnrollmentAccount() Console.WriteLine($"Succeeded: {result}"); } - // BillingRoleAssignmentGetByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BillingRoleAssignmentGetByEnrollmentAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentGetByEnrollmentAccount.json @@ -109,7 +107,7 @@ public async Task GetIfExists_BillingRoleAssignmentGetByEnrollmentAccount() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_BillingRoleAssignmentGetByEnrollmentAccount() } } - // BillingRoleAssignmentCreateOrUpdateByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_BillingRoleAssignmentCreateOrUpdateByEnrollmentAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentCreateOrUpdateByEnrollmentAccount.json @@ -165,9 +162,8 @@ public async Task CreateOrUpdate_BillingRoleAssignmentCreateOrUpdateByEnrollment Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingRoleAssignmentListByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BillingRoleAssignmentListByEnrollmentAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentListByEnrollmentAccount.json @@ -198,7 +194,7 @@ public async Task GetAll_BillingRoleAssignmentListByEnrollmentAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingEnrollmentAccountRoleAssignmentResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingEnrollmentAccountRoleAssignmentResource.cs index 32f313bb04afe..072f2b50abd95 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingEnrollmentAccountRoleAssignmentResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingEnrollmentAccountRoleAssignmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingEnrollmentAccountRoleAssignmentResource { - // BillingRoleAssignmentDeleteByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_BillingRoleAssignmentDeleteByEnrollmentAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentDeleteByEnrollmentAccount.json @@ -39,12 +39,11 @@ public async Task Delete_BillingRoleAssignmentDeleteByEnrollmentAccount() // invoke the operation await billingEnrollmentAccountRoleAssignment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingRoleAssignmentGetByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRoleAssignmentGetByEnrollmentAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentGetByEnrollmentAccount.json @@ -73,9 +72,8 @@ public async Task Get_BillingRoleAssignmentGetByEnrollmentAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingRoleAssignmentCreateOrUpdateByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_BillingRoleAssignmentCreateOrUpdateByEnrollmentAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentCreateOrUpdateByEnrollmentAccount.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingEnrollmentAccountRoleDefinitionCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingEnrollmentAccountRoleDefinitionCollection.cs index 71982055036b1..6dea24655cfde 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingEnrollmentAccountRoleDefinitionCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingEnrollmentAccountRoleDefinitionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingEnrollmentAccountRoleDefinitionCollection { - // BillingRoleDefinitionGetByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRoleDefinitionGetByEnrollmentAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionGetByEnrollmentAccount.json @@ -48,9 +48,8 @@ public async Task Get_BillingRoleDefinitionGetByEnrollmentAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingRoleDefinitionGetByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BillingRoleDefinitionGetByEnrollmentAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionGetByEnrollmentAccount.json @@ -78,9 +77,8 @@ public async Task Exists_BillingRoleDefinitionGetByEnrollmentAccount() Console.WriteLine($"Succeeded: {result}"); } - // BillingRoleDefinitionGetByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BillingRoleDefinitionGetByEnrollmentAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionGetByEnrollmentAccount.json @@ -108,7 +106,7 @@ public async Task GetIfExists_BillingRoleDefinitionGetByEnrollmentAccount() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -120,9 +118,8 @@ public async Task GetIfExists_BillingRoleDefinitionGetByEnrollmentAccount() } } - // BillingRoleDefinitionListByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BillingRoleDefinitionListByEnrollmentAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionListByEnrollmentAccount.json @@ -153,7 +150,7 @@ public async Task GetAll_BillingRoleDefinitionListByEnrollmentAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingEnrollmentAccountRoleDefinitionResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingEnrollmentAccountRoleDefinitionResource.cs index b7c8a18b8b549..6ad52a55515de 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingEnrollmentAccountRoleDefinitionResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingEnrollmentAccountRoleDefinitionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingEnrollmentAccountRoleDefinitionResource { - // BillingRoleDefinitionGetByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRoleDefinitionGetByEnrollmentAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionGetByEnrollmentAccount.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceCollection.cs index 96d9ff1d0a105..51442708c1e35 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingInvoiceCollection { - // InvoicesGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_InvoicesGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoicesGetByBillingAccount.json @@ -48,9 +48,8 @@ public async Task Get_InvoicesGetByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // InvoicesGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_InvoicesGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoicesGetByBillingAccount.json @@ -77,9 +76,8 @@ public async Task Exists_InvoicesGetByBillingAccount() Console.WriteLine($"Succeeded: {result}"); } - // InvoicesGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_InvoicesGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoicesGetByBillingAccount.json @@ -106,7 +104,7 @@ public async Task GetIfExists_InvoicesGetByBillingAccount() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -118,9 +116,8 @@ public async Task GetIfExists_InvoicesGetByBillingAccount() } } - // InvoicesListByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_InvoicesListByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoicesListByBillingAccount.json @@ -151,7 +148,7 @@ public async Task GetAll_InvoicesListByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceResource.cs index 710af1a327acf..52ea630383994 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingInvoiceResource { - // InvoicesAmend - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Amend_InvoicesAmend() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoicesAmend.json @@ -38,12 +38,11 @@ public async Task Amend_InvoicesAmend() // invoke the operation await billingInvoice.AmendAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // InvoicesDownloadByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DownloadByBillingAccount_InvoicesDownloadByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoicesDownloadByBillingAccount.json @@ -69,9 +68,8 @@ public async Task DownloadByBillingAccount_InvoicesDownloadByBillingAccount() Console.WriteLine($"Succeeded: {result}"); } - // InvoicesDownloadSummaryByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DownloadSummaryByBillingAccount_InvoicesDownloadSummaryByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoicesDownloadSummaryByBillingAccount.json @@ -96,9 +94,8 @@ public async Task DownloadSummaryByBillingAccount_InvoicesDownloadSummaryByBilli Console.WriteLine($"Succeeded: {result}"); } - // InvoicesGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_InvoicesGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoicesGetByBillingAccount.json @@ -126,9 +123,8 @@ public async Task Get_InvoicesGetByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TransactionsListByInvoice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTransactions_TransactionsListByInvoice() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/transactionsListByInvoice.json @@ -153,12 +149,11 @@ public async Task GetTransactions_TransactionsListByInvoice() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TransactionsDownloadByInvoice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TransactionsDownloadByInvoiceTransaction_TransactionsDownloadByInvoice() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/transactionsDownloadByInvoice.json @@ -183,9 +178,8 @@ public async Task TransactionsDownloadByInvoiceTransaction_TransactionsDownloadB Console.WriteLine($"Succeeded: {result}"); } - // TransactionSummaryGetByInvoice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTransactionSummaryByInvoiceTransaction_TransactionSummaryGetByInvoice() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/transactionSummaryGetByInvoice.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceSectionCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceSectionCollection.cs index 534a01ac143fd..1436b180c824d 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceSectionCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceSectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingInvoiceSectionCollection { - // InvoiceSectionsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_InvoiceSectionsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoiceSectionsGet.json @@ -49,9 +49,8 @@ public async Task Get_InvoiceSectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // InvoiceSectionsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_InvoiceSectionsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoiceSectionsGet.json @@ -79,9 +78,8 @@ public async Task Exists_InvoiceSectionsGet() Console.WriteLine($"Succeeded: {result}"); } - // InvoiceSectionsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_InvoiceSectionsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoiceSectionsGet.json @@ -109,7 +107,7 @@ public async Task GetIfExists_InvoiceSectionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_InvoiceSectionsGet() } } - // InvoiceSectionsCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_InvoiceSectionsCreateOrUpdate() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoiceSectionsCreateOrUpdate.json @@ -168,9 +165,8 @@ public async Task CreateOrUpdate_InvoiceSectionsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // InvoiceSectionsListByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_InvoiceSectionsListByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoiceSectionsListByBillingProfile.json @@ -202,7 +198,7 @@ public async Task GetAll_InvoiceSectionsListByBillingProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceSectionResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceSectionResource.cs index e9cde91aad03f..1d501c17a94d3 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceSectionResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceSectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingInvoiceSectionResource { - // BillingPermissionsListByInvoiceSection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBillingPermissions_BillingPermissionsListByInvoiceSection() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingPermissionsListByInvoiceSection.json @@ -42,12 +42,11 @@ public async Task GetBillingPermissions_BillingPermissionsListByInvoiceSection() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CheckAccessByInvoiceSection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckAccessBillingPermissions_CheckAccessByInvoiceSection() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/checkAccessByInvoiceSection.json @@ -79,12 +78,11 @@ public async Task CheckAccessBillingPermissions_CheckAccessByInvoiceSection() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingRequestsListByInvoiceSection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBillingRequests_BillingRequestsListByInvoiceSection() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRequestsListByInvoiceSection.json @@ -114,12 +112,11 @@ public async Task GetBillingRequests_BillingRequestsListByInvoiceSection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingRoleAssignmentCreateByInvoiceSection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateByInvoiceSectionBillingRoleAssignment_BillingRoleAssignmentCreateByInvoiceSection() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentCreateByInvoiceSection.json @@ -152,9 +149,8 @@ public async Task CreateByInvoiceSectionBillingRoleAssignment_BillingRoleAssignm Console.WriteLine($"Succeeded on id: {result.Id}"); } - // ResolveBillingRoleAssignmentByInvoiceSection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResolveByInvoiceSectionBillingRoleAssignment_ResolveBillingRoleAssignmentByInvoiceSection() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/resolveBillingRoleAssignmentByInvoiceSection.json @@ -180,9 +176,8 @@ public async Task ResolveByInvoiceSectionBillingRoleAssignment_ResolveBillingRol Console.WriteLine($"Succeeded: {result}"); } - // BillingSubscriptionsListByInvoiceSection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBillingSubscriptions_BillingSubscriptionsListByInvoiceSection() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionsListByInvoiceSection.json @@ -209,12 +204,11 @@ public async Task GetBillingSubscriptions_BillingSubscriptionsListByInvoiceSecti Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // InvoiceSectionsValidateDeleteEligibilityFailure - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateDeleteEligibility_InvoiceSectionsValidateDeleteEligibilityFailure() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoiceSectionsValidateDeleteEligibilityFailure.json @@ -239,9 +233,8 @@ public async Task ValidateDeleteEligibility_InvoiceSectionsValidateDeleteEligibi Console.WriteLine($"Succeeded: {result}"); } - // InvoiceSectionsValidateDeleteEligibilitySuccess - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateDeleteEligibility_InvoiceSectionsValidateDeleteEligibilitySuccess() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoiceSectionsValidateDeleteEligibilitySuccess.json @@ -266,9 +259,8 @@ public async Task ValidateDeleteEligibility_InvoiceSectionsValidateDeleteEligibi Console.WriteLine($"Succeeded: {result}"); } - // InvoiceSectionsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_InvoiceSectionsDelete() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoiceSectionsDelete.json @@ -290,12 +282,11 @@ public async Task Delete_InvoiceSectionsDelete() // invoke the operation await billingInvoiceSection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // InvoiceSectionsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_InvoiceSectionsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoiceSectionsGet.json @@ -324,9 +315,8 @@ public async Task Get_InvoiceSectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // InvoiceSectionsCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_InvoiceSectionsCreateOrUpdate() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoiceSectionsCreateOrUpdate.json @@ -368,9 +358,8 @@ public async Task Update_InvoiceSectionsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ProductsListByInvoiceSection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetProducts_ProductsListByInvoiceSection() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/productsListByInvoiceSection.json @@ -400,12 +389,11 @@ public async Task GetProducts_ProductsListByInvoiceSection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TransactionsListByInvoiceSection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTransactions_TransactionsListByInvoiceSection() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/transactionsListByInvoiceSection.json @@ -431,7 +419,7 @@ public async Task GetTransactions_TransactionsListByInvoiceSection() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceSectionRoleAssignmentCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceSectionRoleAssignmentCollection.cs index e2d67dd650b20..c72eff1271645 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceSectionRoleAssignmentCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceSectionRoleAssignmentCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingInvoiceSectionRoleAssignmentCollection { - // BillingRoleAssignmentGetByInvoiceSection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRoleAssignmentGetByInvoiceSection() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentGetByInvoiceSection.json @@ -49,9 +49,8 @@ public async Task Get_BillingRoleAssignmentGetByInvoiceSection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingRoleAssignmentGetByInvoiceSection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BillingRoleAssignmentGetByInvoiceSection() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentGetByInvoiceSection.json @@ -80,9 +79,8 @@ public async Task Exists_BillingRoleAssignmentGetByInvoiceSection() Console.WriteLine($"Succeeded: {result}"); } - // BillingRoleAssignmentGetByInvoiceSection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BillingRoleAssignmentGetByInvoiceSection() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentGetByInvoiceSection.json @@ -111,7 +109,7 @@ public async Task GetIfExists_BillingRoleAssignmentGetByInvoiceSection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_BillingRoleAssignmentGetByInvoiceSection() } } - // BillingRoleAssignmentListByInvoiceSection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BillingRoleAssignmentListByInvoiceSection() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentListByInvoiceSection.json @@ -157,7 +154,7 @@ public async Task GetAll_BillingRoleAssignmentListByInvoiceSection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceSectionRoleAssignmentResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceSectionRoleAssignmentResource.cs index 54a71db241f6c..2c8f1976e4b8a 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceSectionRoleAssignmentResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceSectionRoleAssignmentResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingInvoiceSectionRoleAssignmentResource { - // BillingRoleAssignmentDeleteByInvoiceSection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_BillingRoleAssignmentDeleteByInvoiceSection() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentDeleteByInvoiceSection.json @@ -39,12 +39,11 @@ public async Task Delete_BillingRoleAssignmentDeleteByInvoiceSection() // invoke the operation await billingInvoiceSectionRoleAssignment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingRoleAssignmentGetByInvoiceSection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRoleAssignmentGetByInvoiceSection() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentGetByInvoiceSection.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceSectionRoleDefinitionCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceSectionRoleDefinitionCollection.cs index 76e8e35301a71..72fe4135e99e2 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceSectionRoleDefinitionCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceSectionRoleDefinitionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingInvoiceSectionRoleDefinitionCollection { - // BillingRoleDefinitionGetByInvoiceSection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRoleDefinitionGetByInvoiceSection() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionGetByInvoiceSection.json @@ -49,9 +49,8 @@ public async Task Get_BillingRoleDefinitionGetByInvoiceSection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingRoleDefinitionGetByInvoiceSection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BillingRoleDefinitionGetByInvoiceSection() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionGetByInvoiceSection.json @@ -80,9 +79,8 @@ public async Task Exists_BillingRoleDefinitionGetByInvoiceSection() Console.WriteLine($"Succeeded: {result}"); } - // BillingRoleDefinitionGetByInvoiceSection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BillingRoleDefinitionGetByInvoiceSection() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionGetByInvoiceSection.json @@ -111,7 +109,7 @@ public async Task GetIfExists_BillingRoleDefinitionGetByInvoiceSection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_BillingRoleDefinitionGetByInvoiceSection() } } - // BillingRoleDefinitionListByInvoiceSection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BillingRoleDefinitionListByInvoiceSection() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionListByInvoiceSection.json @@ -157,7 +154,7 @@ public async Task GetAll_BillingRoleDefinitionListByInvoiceSection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceSectionRoleDefinitionResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceSectionRoleDefinitionResource.cs index ec0da45b35f99..df5f529051e81 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceSectionRoleDefinitionResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingInvoiceSectionRoleDefinitionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingInvoiceSectionRoleDefinitionResource { - // BillingRoleDefinitionGetByInvoiceSection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRoleDefinitionGetByInvoiceSection() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionGetByInvoiceSection.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingPaymentMethodCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingPaymentMethodCollection.cs index 71e289046c9e7..5b7f188ce26cb 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingPaymentMethodCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingPaymentMethodCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingPaymentMethodCollection { - // ListPaymentMethodOwnedByUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPaymentMethodOwnedByUser() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/paymentMethodsListByUser.json @@ -44,12 +44,11 @@ public async Task GetAll_ListPaymentMethodOwnedByUser() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetPaymentMethodOwnedByUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPaymentMethodOwnedByUser() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/paymentMethodsGetByUser.json @@ -78,9 +77,8 @@ public async Task Get_GetPaymentMethodOwnedByUser() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetPaymentMethodOwnedByUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPaymentMethodOwnedByUser() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/paymentMethodsGetByUser.json @@ -105,9 +103,8 @@ public async Task Exists_GetPaymentMethodOwnedByUser() Console.WriteLine($"Succeeded: {result}"); } - // GetPaymentMethodOwnedByUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPaymentMethodOwnedByUser() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/paymentMethodsGetByUser.json @@ -132,7 +129,7 @@ public async Task GetIfExists_GetPaymentMethodOwnedByUser() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingPaymentMethodLinkCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingPaymentMethodLinkCollection.cs index f2c010d9a4f1c..3fca22cbf973a 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingPaymentMethodLinkCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingPaymentMethodLinkCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingPaymentMethodLinkCollection { - // PaymentMethodsListByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PaymentMethodsListByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/paymentMethodsListByBillingProfile.json @@ -47,12 +47,11 @@ public async Task GetAll_PaymentMethodsListByBillingProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PaymentMethodsGetByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PaymentMethodsGetByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/paymentMethodsGetByBillingProfile.json @@ -84,9 +83,8 @@ public async Task Get_PaymentMethodsGetByBillingProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PaymentMethodsGetByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PaymentMethodsGetByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/paymentMethodsGetByBillingProfile.json @@ -114,9 +112,8 @@ public async Task Exists_PaymentMethodsGetByBillingProfile() Console.WriteLine($"Succeeded: {result}"); } - // PaymentMethodsGetByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PaymentMethodsGetByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/paymentMethodsGetByBillingProfile.json @@ -144,7 +141,7 @@ public async Task GetIfExists_PaymentMethodsGetByBillingProfile() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingPaymentMethodLinkResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingPaymentMethodLinkResource.cs index 406bb7f8269bb..8a60111df4e7f 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingPaymentMethodLinkResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingPaymentMethodLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingPaymentMethodLinkResource { - // PaymentMethodsGetByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PaymentMethodsGetByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/paymentMethodsGetByBillingProfile.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingPaymentMethodResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingPaymentMethodResource.cs index 899f47994bf64..95a28886ddb2c 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingPaymentMethodResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingPaymentMethodResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingPaymentMethodResource { - // DeletePaymentMethodOwnedByUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletePaymentMethodOwnedByUser() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/paymentMethodsDeleteByUser.json @@ -36,12 +36,11 @@ public async Task Delete_DeletePaymentMethodOwnedByUser() // invoke the operation await billingPaymentMethod.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetPaymentMethodOwnedByUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPaymentMethodOwnedByUser() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/paymentMethodsGetByUser.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProductCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProductCollection.cs index 2d7fb0043da52..e160c9bc13b02 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProductCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProductCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingProductCollection { - // ProductsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProductsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/productsGet.json @@ -48,9 +48,8 @@ public async Task Get_ProductsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ProductsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ProductsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/productsGet.json @@ -77,9 +76,8 @@ public async Task Exists_ProductsGet() Console.WriteLine($"Succeeded: {result}"); } - // ProductsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ProductsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/productsGet.json @@ -106,7 +104,7 @@ public async Task GetIfExists_ProductsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -118,9 +116,8 @@ public async Task GetIfExists_ProductsGet() } } - // ProductsListByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ProductsListByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/productsListByBillingAccount.json @@ -151,7 +148,7 @@ public async Task GetAll_ProductsListByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProductResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProductResource.cs index 049e39be4b9af..601c1becb20df 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProductResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProductResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingProductResource { - // ProductMove - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Move_ProductMove() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/productMove.json @@ -47,9 +47,8 @@ public async Task Move_ProductMove() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ProductValidateMoveFailure - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateMoveEligibility_ProductValidateMoveFailure() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/productValidateMoveFailure.json @@ -74,9 +73,8 @@ public async Task ValidateMoveEligibility_ProductValidateMoveFailure() Console.WriteLine($"Succeeded: {result}"); } - // ProductValidateMoveSuccess - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateMoveEligibility_ProductValidateMoveSuccess() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/productValidateMoveSuccess.json @@ -101,9 +99,8 @@ public async Task ValidateMoveEligibility_ProductValidateMoveSuccess() Console.WriteLine($"Succeeded: {result}"); } - // ProductsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProductsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/productsGet.json @@ -131,9 +128,8 @@ public async Task Get_ProductsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ProductsUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ProductsUpdate() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/productsUpdate.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileCollection.cs index e85e53abafa15..2148ac77ab6ca 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingProfileCollection { - // BillingProfilesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingProfilesGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingProfilesGet.json @@ -48,9 +48,8 @@ public async Task Get_BillingProfilesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingProfilesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BillingProfilesGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingProfilesGet.json @@ -77,9 +76,8 @@ public async Task Exists_BillingProfilesGet() Console.WriteLine($"Succeeded: {result}"); } - // BillingProfilesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BillingProfilesGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingProfilesGet.json @@ -106,7 +104,7 @@ public async Task GetIfExists_BillingProfilesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -118,9 +116,8 @@ public async Task GetIfExists_BillingProfilesGet() } } - // BillingProfilesCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_BillingProfilesCreateOrUpdate() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingProfilesCreateOrUpdate.json @@ -199,9 +196,8 @@ public async Task CreateOrUpdate_BillingProfilesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingProfilesListByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BillingProfilesListByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingProfilesListByBillingAccount.json @@ -232,7 +228,7 @@ public async Task GetAll_BillingProfilesListByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileCustomerCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileCustomerCollection.cs index c47feabe23bcf..762b2b44bd5eb 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileCustomerCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileCustomerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingProfileCustomerCollection { - // CustomersGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CustomersGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/customersGet.json @@ -49,9 +49,8 @@ public async Task Get_CustomersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CustomersGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CustomersGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/customersGet.json @@ -79,9 +78,8 @@ public async Task Exists_CustomersGet() Console.WriteLine($"Succeeded: {result}"); } - // CustomersGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CustomersGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/customersGet.json @@ -109,7 +107,7 @@ public async Task GetIfExists_CustomersGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_CustomersGet() } } - // CustomersListByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CustomersListByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/customersListByBillingProfile.json @@ -155,7 +152,7 @@ public async Task GetAll_CustomersListByBillingProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileCustomerPolicyCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileCustomerPolicyCollection.cs index a4c5414dc8efe..492b361401dba 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileCustomerPolicyCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileCustomerPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingProfileCustomerPolicyCollection { - // PoliciesGetByCustomer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PoliciesGetByCustomer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/policiesGetByCustomer.json @@ -50,9 +50,8 @@ public async Task Get_PoliciesGetByCustomer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PoliciesGetByCustomer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PoliciesGetByCustomer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/policiesGetByCustomer.json @@ -81,9 +80,8 @@ public async Task Exists_PoliciesGetByCustomer() Console.WriteLine($"Succeeded: {result}"); } - // PoliciesGetByCustomer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PoliciesGetByCustomer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/policiesGetByCustomer.json @@ -112,7 +110,7 @@ public async Task GetIfExists_PoliciesGetByCustomer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileCustomerPolicyResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileCustomerPolicyResource.cs index d2b8de0feb7d4..ac29f8c0d1d30 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileCustomerPolicyResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileCustomerPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingProfileCustomerPolicyResource { - // PoliciesGetByCustomer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PoliciesGetByCustomer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/policiesGetByCustomer.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileCustomerResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileCustomerResource.cs index 43772ac36fad7..e40f57b30d99e 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileCustomerResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileCustomerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingProfileCustomerResource { - // BillingPermissionsListByCustomer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBillingPermissions_BillingPermissionsListByCustomer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingPermissionsListByCustomer.json @@ -42,12 +42,11 @@ public async Task GetBillingPermissions_BillingPermissionsListByCustomer() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CheckAccessByCustomer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckAccessBillingPermissions_CheckAccessByCustomer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/checkAccessByCustomer.json @@ -79,12 +78,11 @@ public async Task CheckAccessBillingPermissions_CheckAccessByCustomer() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingRequestsListByCustomer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBillingRequests_BillingRequestsListByCustomer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRequestsListByCustomer.json @@ -114,12 +112,11 @@ public async Task GetBillingRequests_BillingRequestsListByCustomer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingRoleAssignmentCreateByCustomer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateByCustomerBillingRoleAssignment_BillingRoleAssignmentCreateByCustomer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentCreateByCustomer.json @@ -152,9 +149,8 @@ public async Task CreateByCustomerBillingRoleAssignment_BillingRoleAssignmentCre Console.WriteLine($"Succeeded on id: {result.Id}"); } - // ResolveBillingRoleAssignmentByCustomer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResolveByCustomerBillingRoleAssignment_ResolveBillingRoleAssignmentByCustomer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/resolveBillingRoleAssignmentByCustomer.json @@ -180,9 +176,8 @@ public async Task ResolveByCustomerBillingRoleAssignment_ResolveBillingRoleAssig Console.WriteLine($"Succeeded: {result}"); } - // BillingSubscriptionsListByCustomer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBillingSubscriptions_BillingSubscriptionsListByCustomer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionsListByCustomer.json @@ -209,12 +204,11 @@ public async Task GetBillingSubscriptions_BillingSubscriptionsListByCustomer() Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CustomersGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CustomersGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/customersGet.json @@ -243,9 +237,8 @@ public async Task Get_CustomersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PoliciesPutByCustomer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateByCustomerPolicy_PoliciesPutByCustomer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/policiesPutByCustomer.json @@ -276,9 +269,8 @@ public async Task CreateOrUpdateByCustomerPolicy_PoliciesPutByCustomer() Console.WriteLine($"Succeeded on id: {result.Id}"); } - // TransactionsListByCustomer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTransactions_TransactionsListByCustomer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/transactionsListByCustomer.json @@ -304,7 +296,7 @@ public async Task GetTransactions_TransactionsListByCustomer() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfilePolicyResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfilePolicyResource.cs index 6da4e66e72809..3090b27625b83 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfilePolicyResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfilePolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingProfilePolicyResource { - // PoliciesGetByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PoliciesGetByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/policiesGetByBillingProfile.json @@ -45,9 +45,8 @@ public async Task Get_PoliciesGetByBillingProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PoliciesPutByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PoliciesPutByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/policiesPutByBillingProfile.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileResource.cs index f7df255cf077d..ea1ad5d3842ea 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingProfileResource { - // AvailableBalanceGetByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBillingProfileAvailableBalance_AvailableBalanceGetByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/availableBalanceGetByBillingProfile.json @@ -41,9 +41,8 @@ public async Task GetBillingProfileAvailableBalance_AvailableBalanceGetByBilling Console.WriteLine($"Succeeded: {result}"); } - // BillingPermissionsListByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBillingPermissions_BillingPermissionsListByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingPermissionsListByBillingProfile.json @@ -67,12 +66,11 @@ public async Task GetBillingPermissions_BillingPermissionsListByBillingProfile() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CheckAccessByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckAccessBillingPermissions_CheckAccessByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/checkAccessByBillingProfile.json @@ -103,12 +101,11 @@ public async Task CheckAccessBillingPermissions_CheckAccessByBillingProfile() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingProfilesValidateDeleteEligibilityFailure - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateDeleteEligibility_BillingProfilesValidateDeleteEligibilityFailure() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingProfilesValidateDeleteEligibilityFailure.json @@ -132,9 +129,8 @@ public async Task ValidateDeleteEligibility_BillingProfilesValidateDeleteEligibi Console.WriteLine($"Succeeded: {result}"); } - // BillingProfilesValidateDeleteEligibilitySuccess - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateDeleteEligibility_BillingProfilesValidateDeleteEligibilitySuccess() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingProfilesValidateDeleteEligibilitySuccess.json @@ -158,9 +154,8 @@ public async Task ValidateDeleteEligibility_BillingProfilesValidateDeleteEligibi Console.WriteLine($"Succeeded: {result}"); } - // BillingProfilesDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_BillingProfilesDelete() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingProfilesDelete.json @@ -181,12 +176,11 @@ public async Task Delete_BillingProfilesDelete() // invoke the operation await billingProfile.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingProfilesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingProfilesGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingProfilesGet.json @@ -214,9 +208,8 @@ public async Task Get_BillingProfilesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingProfilesCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_BillingProfilesCreateOrUpdate() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingProfilesCreateOrUpdate.json @@ -292,9 +285,8 @@ public async Task Update_BillingProfilesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingRequestsListByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBillingRequests_BillingRequestsListByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRequestsListByBillingProfile.json @@ -323,12 +315,11 @@ public async Task GetBillingRequests_BillingRequestsListByBillingProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingRoleAssignmentCreateByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateByBillingProfileBillingRoleAssignment_BillingRoleAssignmentCreateByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentCreateByBillingProfile.json @@ -360,9 +351,8 @@ public async Task CreateByBillingProfileBillingRoleAssignment_BillingRoleAssignm Console.WriteLine($"Succeeded on id: {result.Id}"); } - // ResolveBillingRoleAssignmentByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResolveByBillingProfileBillingRoleAssignment_ResolveBillingRoleAssignmentByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/resolveBillingRoleAssignmentByBillingProfile.json @@ -387,9 +377,8 @@ public async Task ResolveByBillingProfileBillingRoleAssignment_ResolveBillingRol Console.WriteLine($"Succeeded: {result}"); } - // InvoicesListByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetInvoices_InvoicesListByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoicesListByBillingProfile.json @@ -415,12 +404,11 @@ public async Task GetInvoices_InvoicesListByBillingProfile() Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ProductsListByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetProducts_ProductsListByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/productsListByBillingProfile.json @@ -449,12 +437,11 @@ public async Task GetProducts_ProductsListByBillingProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ReservationsListByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReservations_ReservationsListByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationsListByBillingProfile.json @@ -483,12 +470,11 @@ public async Task GetReservations_ReservationsListByBillingProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TransactionsListByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTransactions_TransactionsListByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/transactionsListByBillingProfile.json @@ -513,7 +499,7 @@ public async Task GetTransactions_TransactionsListByBillingProfile() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileRoleAssignmentCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileRoleAssignmentCollection.cs index 86c9835d16e19..ab2c5b3759f0f 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileRoleAssignmentCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileRoleAssignmentCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingProfileRoleAssignmentCollection { - // BillingRoleAssignmentGetByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRoleAssignmentGetByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentGetByBillingProfile.json @@ -48,9 +48,8 @@ public async Task Get_BillingRoleAssignmentGetByBillingProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingRoleAssignmentGetByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BillingRoleAssignmentGetByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentGetByBillingProfile.json @@ -78,9 +77,8 @@ public async Task Exists_BillingRoleAssignmentGetByBillingProfile() Console.WriteLine($"Succeeded: {result}"); } - // BillingRoleAssignmentGetByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BillingRoleAssignmentGetByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentGetByBillingProfile.json @@ -108,7 +106,7 @@ public async Task GetIfExists_BillingRoleAssignmentGetByBillingProfile() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -120,9 +118,8 @@ public async Task GetIfExists_BillingRoleAssignmentGetByBillingProfile() } } - // BillingRoleAssignmentListByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BillingRoleAssignmentListByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentListByBillingProfile.json @@ -153,7 +150,7 @@ public async Task GetAll_BillingRoleAssignmentListByBillingProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileRoleAssignmentResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileRoleAssignmentResource.cs index 8e42f755839ca..a19776d11b946 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileRoleAssignmentResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileRoleAssignmentResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingProfileRoleAssignmentResource { - // BillingRoleAssignmentDeleteByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_BillingRoleAssignmentDeleteByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentDeleteByBillingProfile.json @@ -38,12 +38,11 @@ public async Task Delete_BillingRoleAssignmentDeleteByBillingProfile() // invoke the operation await billingProfileRoleAssignment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingRoleAssignmentGetByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRoleAssignmentGetByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentGetByBillingProfile.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileRoleDefinitionCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileRoleDefinitionCollection.cs index 41659f7b6f487..dea4c2823fed5 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileRoleDefinitionCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileRoleDefinitionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingProfileRoleDefinitionCollection { - // BillingRoleDefinitionGetByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRoleDefinitionGetByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionGetByBillingProfile.json @@ -48,9 +48,8 @@ public async Task Get_BillingRoleDefinitionGetByBillingProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingRoleDefinitionGetByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BillingRoleDefinitionGetByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionGetByBillingProfile.json @@ -78,9 +77,8 @@ public async Task Exists_BillingRoleDefinitionGetByBillingProfile() Console.WriteLine($"Succeeded: {result}"); } - // BillingRoleDefinitionGetByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BillingRoleDefinitionGetByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionGetByBillingProfile.json @@ -108,7 +106,7 @@ public async Task GetIfExists_BillingRoleDefinitionGetByBillingProfile() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -120,9 +118,8 @@ public async Task GetIfExists_BillingRoleDefinitionGetByBillingProfile() } } - // BillingRoleDefinitionListByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BillingRoleDefinitionListByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionListByBillingProfile.json @@ -153,7 +150,7 @@ public async Task GetAll_BillingRoleDefinitionListByBillingProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileRoleDefinitionResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileRoleDefinitionResource.cs index 9350bc6aa1ad0..42d52b9da216b 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileRoleDefinitionResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileRoleDefinitionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingProfileRoleDefinitionResource { - // BillingRoleDefinitionGetByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRoleDefinitionGetByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionGetByBillingProfile.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileSubscriptionCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileSubscriptionCollection.cs index 3c9150023ac7e..3558fda6a2d06 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileSubscriptionCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileSubscriptionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingProfileSubscriptionCollection { - // BillingSubscriptionGetByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingSubscriptionGetByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionGetByBillingProfile.json @@ -49,9 +49,8 @@ public async Task Get_BillingSubscriptionGetByBillingProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingSubscriptionGetByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BillingSubscriptionGetByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionGetByBillingProfile.json @@ -79,9 +78,8 @@ public async Task Exists_BillingSubscriptionGetByBillingProfile() Console.WriteLine($"Succeeded: {result}"); } - // BillingSubscriptionGetByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BillingSubscriptionGetByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionGetByBillingProfile.json @@ -109,7 +107,7 @@ public async Task GetIfExists_BillingSubscriptionGetByBillingProfile() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_BillingSubscriptionGetByBillingProfile() } } - // BillingSubscriptionsListByBillingProfileEA - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BillingSubscriptionsListByBillingProfileEA() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionsListByBillingProfileEA.json @@ -155,12 +152,11 @@ public async Task GetAll_BillingSubscriptionsListByBillingProfileEA() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingSubscriptionsListByBillingProfileMCA - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BillingSubscriptionsListByBillingProfileMCA() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionsListByBillingProfileMCA.json @@ -192,7 +188,7 @@ public async Task GetAll_BillingSubscriptionsListByBillingProfileMCA() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileSubscriptionResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileSubscriptionResource.cs index f1c392ec8f5d4..2b3390fb8c64c 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileSubscriptionResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingProfileSubscriptionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingProfileSubscriptionResource { - // BillingSubscriptionGetByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingSubscriptionGetByBillingProfile() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionGetByBillingProfile.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingPropertyResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingPropertyResource.cs index de041042cd962..068dcc3c52ed8 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingPropertyResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingPropertyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingPropertyResource { - // BillingPropertyGetMCA - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingPropertyGetMCA() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingPropertyGetMCA.json @@ -44,9 +44,8 @@ public async Task Get_BillingPropertyGetMCA() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingPropertyGetMOSP - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingPropertyGetMOSP() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingPropertyGetMOSP.json @@ -73,9 +72,8 @@ public async Task Get_BillingPropertyGetMOSP() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingPropertyGetMPA - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingPropertyGetMPA() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingPropertyGetMPA.json @@ -102,9 +100,8 @@ public async Task Get_BillingPropertyGetMPA() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingPropertyPatchCostCenter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_BillingPropertyPatchCostCenter() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingPropertyPatchCostCenter.json @@ -138,9 +135,8 @@ public async Task Update_BillingPropertyPatchCostCenter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingPropertyPatchSubscriptionServiceUsageAddress - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_BillingPropertyPatchSubscriptionServiceUsageAddress() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingPropertyPatchSubscriptionServiceUsageAddress.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingRequestCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingRequestCollection.cs index 625277e82214c..e6b1861355e9d 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingRequestCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingRequestCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingRequestCollection { - // BillingRequestsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRequestsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRequestsGet.json @@ -46,9 +46,8 @@ public async Task Get_BillingRequestsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingRequestsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BillingRequestsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRequestsGet.json @@ -73,9 +72,8 @@ public async Task Exists_BillingRequestsGet() Console.WriteLine($"Succeeded: {result}"); } - // BillingRequestsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BillingRequestsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRequestsGet.json @@ -100,7 +98,7 @@ public async Task GetIfExists_BillingRequestsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -112,9 +110,8 @@ public async Task GetIfExists_BillingRequestsGet() } } - // BillingRequestsCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_BillingRequestsCreateOrUpdate() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRequestsCreateOrUpdate.json @@ -158,9 +155,8 @@ public async Task CreateOrUpdate_BillingRequestsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingRequestsListByUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BillingRequestsListByUser() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRequestsListByUser.json @@ -189,12 +185,11 @@ public async Task GetAll_BillingRequestsListByUser() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingRequestsListByUserWithFilter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BillingRequestsListByUserWithFilter() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRequestsListByUserWithFilter.json @@ -223,7 +218,7 @@ public async Task GetAll_BillingRequestsListByUserWithFilter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingRequestResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingRequestResource.cs index cd366d4682860..7c5d4ef02552c 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingRequestResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingRequestResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingRequestResource { - // BillingRequestsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRequestsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRequestsGet.json @@ -44,9 +44,8 @@ public async Task Get_BillingRequestsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingRequestsCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_BillingRequestsCreateOrUpdate() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRequestsCreateOrUpdate.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingReservationCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingReservationCollection.cs index da7fd56d42442..5cf734609dcd1 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingReservationCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingReservationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingReservationCollection { - // reservationGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ReservationGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationGetByBillingAccount.json @@ -48,9 +48,8 @@ public async Task Get_ReservationGetByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // reservationGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ReservationGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationGetByBillingAccount.json @@ -78,9 +77,8 @@ public async Task Exists_ReservationGetByBillingAccount() Console.WriteLine($"Succeeded: {result}"); } - // reservationGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ReservationGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationGetByBillingAccount.json @@ -108,7 +106,7 @@ public async Task GetIfExists_ReservationGetByBillingAccount() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -120,9 +118,8 @@ public async Task GetIfExists_ReservationGetByBillingAccount() } } - // reservationGetByBillingAccountManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ReservationGetByBillingAccountManagementGroup() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationGetByBillingAccountManagementGroup.json @@ -154,9 +151,8 @@ public async Task Get_ReservationGetByBillingAccountManagementGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // reservationGetByBillingAccountManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ReservationGetByBillingAccountManagementGroup() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationGetByBillingAccountManagementGroup.json @@ -184,9 +180,8 @@ public async Task Exists_ReservationGetByBillingAccountManagementGroup() Console.WriteLine($"Succeeded: {result}"); } - // reservationGetByBillingAccountManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ReservationGetByBillingAccountManagementGroup() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationGetByBillingAccountManagementGroup.json @@ -214,7 +209,7 @@ public async Task GetIfExists_ReservationGetByBillingAccountManagementGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -226,9 +221,8 @@ public async Task GetIfExists_ReservationGetByBillingAccountManagementGroup() } } - // reservationGetByBillingAccountSingleResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ReservationGetByBillingAccountSingleResourceGroup() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationGetByBillingAccountSingleResourceGroup.json @@ -260,9 +254,8 @@ public async Task Get_ReservationGetByBillingAccountSingleResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // reservationGetByBillingAccountSingleResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ReservationGetByBillingAccountSingleResourceGroup() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationGetByBillingAccountSingleResourceGroup.json @@ -290,9 +283,8 @@ public async Task Exists_ReservationGetByBillingAccountSingleResourceGroup() Console.WriteLine($"Succeeded: {result}"); } - // reservationGetByBillingAccountSingleResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ReservationGetByBillingAccountSingleResourceGroup() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationGetByBillingAccountSingleResourceGroup.json @@ -320,7 +312,7 @@ public async Task GetIfExists_ReservationGetByBillingAccountSingleResourceGroup( if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -332,9 +324,8 @@ public async Task GetIfExists_ReservationGetByBillingAccountSingleResourceGroup( } } - // reservationGetByBillingAccountSingleScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ReservationGetByBillingAccountSingleScope() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationGetByBillingAccountSingleScope.json @@ -366,9 +357,8 @@ public async Task Get_ReservationGetByBillingAccountSingleScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // reservationGetByBillingAccountSingleScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ReservationGetByBillingAccountSingleScope() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationGetByBillingAccountSingleScope.json @@ -396,9 +386,8 @@ public async Task Exists_ReservationGetByBillingAccountSingleScope() Console.WriteLine($"Succeeded: {result}"); } - // reservationGetByBillingAccountSingleScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ReservationGetByBillingAccountSingleScope() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationGetByBillingAccountSingleScope.json @@ -426,7 +415,7 @@ public async Task GetIfExists_ReservationGetByBillingAccountSingleScope() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -438,9 +427,8 @@ public async Task GetIfExists_ReservationGetByBillingAccountSingleScope() } } - // reservationsGetFromOrderByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ReservationsGetFromOrderByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationsGetFromOrderByBillingAccount.json @@ -471,7 +459,7 @@ public async Task GetAll_ReservationsGetFromOrderByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingReservationOrderCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingReservationOrderCollection.cs index 844e9fe3af2d2..2776bfca9d5fe 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingReservationOrderCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingReservationOrderCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingReservationOrderCollection { - // reservationOrderGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ReservationOrderGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationOrderGetByBillingAccount.json @@ -47,9 +47,8 @@ public async Task Get_ReservationOrderGetByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // reservationOrderGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ReservationOrderGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationOrderGetByBillingAccount.json @@ -76,9 +75,8 @@ public async Task Exists_ReservationOrderGetByBillingAccount() Console.WriteLine($"Succeeded: {result}"); } - // reservationOrderGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ReservationOrderGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationOrderGetByBillingAccount.json @@ -105,7 +103,7 @@ public async Task GetIfExists_ReservationOrderGetByBillingAccount() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -117,9 +115,8 @@ public async Task GetIfExists_ReservationOrderGetByBillingAccount() } } - // reservationOrderGetByBillingAccountWithExpandPlanInformation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ReservationOrderGetByBillingAccountWithExpandPlanInformation() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationOrderGetByBillingAccountWithExpandPlanInformation.json @@ -150,9 +147,8 @@ public async Task Get_ReservationOrderGetByBillingAccountWithExpandPlanInformati Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // reservationOrderGetByBillingAccountWithExpandPlanInformation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ReservationOrderGetByBillingAccountWithExpandPlanInformation() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationOrderGetByBillingAccountWithExpandPlanInformation.json @@ -179,9 +175,8 @@ public async Task Exists_ReservationOrderGetByBillingAccountWithExpandPlanInform Console.WriteLine($"Succeeded: {result}"); } - // reservationOrderGetByBillingAccountWithExpandPlanInformation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ReservationOrderGetByBillingAccountWithExpandPlanInformation() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationOrderGetByBillingAccountWithExpandPlanInformation.json @@ -208,7 +203,7 @@ public async Task GetIfExists_ReservationOrderGetByBillingAccountWithExpandPlanI if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -220,9 +215,8 @@ public async Task GetIfExists_ReservationOrderGetByBillingAccountWithExpandPlanI } } - // reservationOrderListByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ReservationOrderListByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationOrdersListByBillingAccount.json @@ -252,7 +246,7 @@ public async Task GetAll_ReservationOrderListByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingReservationOrderResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingReservationOrderResource.cs index d8c47699fabc3..91920b27e0d7a 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingReservationOrderResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingReservationOrderResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingReservationOrderResource { - // reservationOrderGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ReservationOrderGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationOrderGetByBillingAccount.json @@ -44,9 +44,8 @@ public async Task Get_ReservationOrderGetByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // reservationOrderGetByBillingAccountWithExpandPlanInformation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ReservationOrderGetByBillingAccountWithExpandPlanInformation() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationOrderGetByBillingAccountWithExpandPlanInformation.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingReservationResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingReservationResource.cs index 8c3cb41f1a573..62f13280a040b 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingReservationResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingReservationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingReservationResource { - // reservationGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ReservationGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationGetByBillingAccount.json @@ -46,9 +46,8 @@ public async Task Get_ReservationGetByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // reservationGetByBillingAccountManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ReservationGetByBillingAccountManagementGroup() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationGetByBillingAccountManagementGroup.json @@ -77,9 +76,8 @@ public async Task Get_ReservationGetByBillingAccountManagementGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // reservationGetByBillingAccountSingleResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ReservationGetByBillingAccountSingleResourceGroup() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationGetByBillingAccountSingleResourceGroup.json @@ -108,9 +106,8 @@ public async Task Get_ReservationGetByBillingAccountSingleResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // reservationGetByBillingAccountSingleScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ReservationGetByBillingAccountSingleScope() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationGetByBillingAccountSingleScope.json @@ -139,9 +136,8 @@ public async Task Get_ReservationGetByBillingAccountSingleScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ReservationUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ReservationUpdate() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/reservationUpdateByBillingAccount.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingRoleAssignmentCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingRoleAssignmentCollection.cs index a9b5bf3f27e65..cea53d6760dd1 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingRoleAssignmentCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingRoleAssignmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingRoleAssignmentCollection { - // BillingRoleAssignmentGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRoleAssignmentGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentGetByBillingAccount.json @@ -48,9 +48,8 @@ public async Task Get_BillingRoleAssignmentGetByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingRoleAssignmentGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BillingRoleAssignmentGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentGetByBillingAccount.json @@ -77,9 +76,8 @@ public async Task Exists_BillingRoleAssignmentGetByBillingAccount() Console.WriteLine($"Succeeded: {result}"); } - // BillingRoleAssignmentGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BillingRoleAssignmentGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentGetByBillingAccount.json @@ -106,7 +104,7 @@ public async Task GetIfExists_BillingRoleAssignmentGetByBillingAccount() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -118,9 +116,8 @@ public async Task GetIfExists_BillingRoleAssignmentGetByBillingAccount() } } - // BillingRoleAssignmentCreateOrUpdateByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_BillingRoleAssignmentCreateOrUpdateByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentCreateOrUpdateByBillingAccount.json @@ -161,9 +158,8 @@ public async Task CreateOrUpdate_BillingRoleAssignmentCreateOrUpdateByBillingAcc Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingRoleAssignmentListByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BillingRoleAssignmentListByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentListByBillingAccount.json @@ -193,7 +189,7 @@ public async Task GetAll_BillingRoleAssignmentListByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingRoleAssignmentResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingRoleAssignmentResource.cs index cf8ec8a0b9f42..21cbc1d63236b 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingRoleAssignmentResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingRoleAssignmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingRoleAssignmentResource { - // BillingRoleAssignmentDeleteByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_BillingRoleAssignmentDeleteByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentDeleteByBillingAccount.json @@ -38,12 +38,11 @@ public async Task Delete_BillingRoleAssignmentDeleteByBillingAccount() // invoke the operation await billingRoleAssignment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingRoleAssignmentGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRoleAssignmentGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentGetByBillingAccount.json @@ -71,9 +70,8 @@ public async Task Get_BillingRoleAssignmentGetByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingRoleAssignmentCreateOrUpdateByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_BillingRoleAssignmentCreateOrUpdateByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleAssignmentCreateOrUpdateByBillingAccount.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingRoleDefinitionCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingRoleDefinitionCollection.cs index c3e4941f8ea25..6bd002418c39a 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingRoleDefinitionCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingRoleDefinitionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingRoleDefinitionCollection { - // BillingRoleDefinitionGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRoleDefinitionGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionGetByBillingAccount.json @@ -47,9 +47,8 @@ public async Task Get_BillingRoleDefinitionGetByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingRoleDefinitionGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BillingRoleDefinitionGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionGetByBillingAccount.json @@ -76,9 +75,8 @@ public async Task Exists_BillingRoleDefinitionGetByBillingAccount() Console.WriteLine($"Succeeded: {result}"); } - // BillingRoleDefinitionGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BillingRoleDefinitionGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionGetByBillingAccount.json @@ -105,7 +103,7 @@ public async Task GetIfExists_BillingRoleDefinitionGetByBillingAccount() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -117,9 +115,8 @@ public async Task GetIfExists_BillingRoleDefinitionGetByBillingAccount() } } - // BillingRoleDefinitionListByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BillingRoleDefinitionListByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionListByBillingAccount.json @@ -149,7 +146,7 @@ public async Task GetAll_BillingRoleDefinitionListByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingRoleDefinitionResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingRoleDefinitionResource.cs index bc92f88072a84..af28ffdc4d753 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingRoleDefinitionResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingRoleDefinitionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingRoleDefinitionResource { - // BillingRoleDefinitionGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingRoleDefinitionGetByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingRoleDefinitionGetByBillingAccount.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingSavingsPlanModelCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingSavingsPlanModelCollection.cs index 285cda026b964..a2cb41ed204a8 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingSavingsPlanModelCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingSavingsPlanModelCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingSavingsPlanModelCollection { - // SavingsPlansInOrderList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SavingsPlansInOrderList() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/savingsPlansListBySavingsPlanOrders.json @@ -47,12 +47,11 @@ public async Task GetAll_SavingsPlansInOrderList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SavingsPlanGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SavingsPlanGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/savingsPlanGetByBillingAccount.json @@ -84,9 +83,8 @@ public async Task Get_SavingsPlanGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SavingsPlanGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SavingsPlanGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/savingsPlanGetByBillingAccount.json @@ -114,9 +112,8 @@ public async Task Exists_SavingsPlanGet() Console.WriteLine($"Succeeded: {result}"); } - // SavingsPlanGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SavingsPlanGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/savingsPlanGetByBillingAccount.json @@ -144,7 +141,7 @@ public async Task GetIfExists_SavingsPlanGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -156,9 +153,8 @@ public async Task GetIfExists_SavingsPlanGet() } } - // SavingsPlanGetExpandRenewProperties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SavingsPlanGetExpandRenewProperties() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/savingsPlanGetExpandRenewPropertiesByBillingAccount.json @@ -190,9 +186,8 @@ public async Task Get_SavingsPlanGetExpandRenewProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SavingsPlanGetExpandRenewProperties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SavingsPlanGetExpandRenewProperties() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/savingsPlanGetExpandRenewPropertiesByBillingAccount.json @@ -220,9 +215,8 @@ public async Task Exists_SavingsPlanGetExpandRenewProperties() Console.WriteLine($"Succeeded: {result}"); } - // SavingsPlanGetExpandRenewProperties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SavingsPlanGetExpandRenewProperties() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/savingsPlanGetExpandRenewPropertiesByBillingAccount.json @@ -250,7 +244,7 @@ public async Task GetIfExists_SavingsPlanGetExpandRenewProperties() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingSavingsPlanModelResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingSavingsPlanModelResource.cs index 38e3641504854..aaf969a55d6d3 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingSavingsPlanModelResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingSavingsPlanModelResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingSavingsPlanModelResource { - // SavingsPlanGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SavingsPlanGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/savingsPlanGetByBillingAccount.json @@ -46,9 +46,8 @@ public async Task Get_SavingsPlanGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SavingsPlanGetExpandRenewProperties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SavingsPlanGetExpandRenewProperties() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/savingsPlanGetExpandRenewPropertiesByBillingAccount.json @@ -77,9 +76,8 @@ public async Task Get_SavingsPlanGetExpandRenewProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SavingsPlanUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SavingsPlanUpdate() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/savingsPlanUpdateByBillingAccount.json @@ -143,9 +141,8 @@ public async Task Update_SavingsPlanUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SavingsPlanValidateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateUpdateByBillingAccount_SavingsPlanValidateUpdate() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/savingsPlanValidateUpdateByBillingAccount.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingSubscriptionAliasCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingSubscriptionAliasCollection.cs index 0299cc1c85406..95aebadb11fbe 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingSubscriptionAliasCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingSubscriptionAliasCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingSubscriptionAliasCollection { - // BillingSubscriptionAliasGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingSubscriptionAliasGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionAliasGet.json @@ -49,9 +49,8 @@ public async Task Get_BillingSubscriptionAliasGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingSubscriptionAliasGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BillingSubscriptionAliasGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionAliasGet.json @@ -78,9 +77,8 @@ public async Task Exists_BillingSubscriptionAliasGet() Console.WriteLine($"Succeeded: {result}"); } - // BillingSubscriptionAliasGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BillingSubscriptionAliasGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionAliasGet.json @@ -107,7 +105,7 @@ public async Task GetIfExists_BillingSubscriptionAliasGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -119,9 +117,8 @@ public async Task GetIfExists_BillingSubscriptionAliasGet() } } - // BillingSubscriptionAliasCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_BillingSubscriptionAliasCreateOrUpdate() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionAliasCreateOrUpdate.json @@ -161,9 +158,8 @@ public async Task CreateOrUpdate_BillingSubscriptionAliasCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingSubscriptionAliasList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BillingSubscriptionAliasList() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionAliasList.json @@ -194,7 +190,7 @@ public async Task GetAll_BillingSubscriptionAliasList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingSubscriptionAliasResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingSubscriptionAliasResource.cs index 0d575377664f7..aa5536abe9495 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingSubscriptionAliasResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingSubscriptionAliasResource.cs @@ -10,14 +10,14 @@ using System.Xml; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingSubscriptionAliasResource { - // BillingSubscriptionAliasGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingSubscriptionAliasGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionAliasGet.json @@ -45,9 +45,8 @@ public async Task Get_BillingSubscriptionAliasGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingSubscriptionAliasCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_BillingSubscriptionAliasCreateOrUpdate() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionAliasCreateOrUpdate.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingSubscriptionCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingSubscriptionCollection.cs index a991e5e6eb41a..4709a6247b806 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingSubscriptionCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingSubscriptionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingSubscriptionCollection { - // BillingSubscriptionsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingSubscriptionsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionsGet.json @@ -48,9 +48,8 @@ public async Task Get_BillingSubscriptionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingSubscriptionsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BillingSubscriptionsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionsGet.json @@ -77,9 +76,8 @@ public async Task Exists_BillingSubscriptionsGet() Console.WriteLine($"Succeeded: {result}"); } - // BillingSubscriptionsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BillingSubscriptionsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionsGet.json @@ -106,7 +104,7 @@ public async Task GetIfExists_BillingSubscriptionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -118,9 +116,8 @@ public async Task GetIfExists_BillingSubscriptionsGet() } } - // BillingSubscriptionsListByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BillingSubscriptionsListByBillingAccount() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionsListByBillingAccount.json @@ -151,7 +148,7 @@ public async Task GetAll_BillingSubscriptionsListByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingSubscriptionResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingSubscriptionResource.cs index ab9405ec66a52..aee9170d40fb5 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingSubscriptionResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingSubscriptionResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingSubscriptionResource { - // BillingSubscriptionsCancel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cancel_BillingSubscriptionsCancel() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionsCancel.json @@ -43,12 +43,11 @@ public async Task Cancel_BillingSubscriptionsCancel() }; await billingSubscription.CancelAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingSubscriptionsMerge - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Merge_BillingSubscriptionsMerge() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionsMerge.json @@ -82,9 +81,8 @@ public async Task Merge_BillingSubscriptionsMerge() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingSubscriptionMove - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Move_BillingSubscriptionMove() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionMove.json @@ -117,9 +115,8 @@ public async Task Move_BillingSubscriptionMove() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingSubscriptionsSplit - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Split_BillingSubscriptionsSplit() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionsSplit.json @@ -156,9 +153,8 @@ public async Task Split_BillingSubscriptionsSplit() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingSubscriptionValidateMoveFailure - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateMoveEligibility_BillingSubscriptionValidateMoveFailure() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionValidateMoveFailure.json @@ -186,9 +182,8 @@ public async Task ValidateMoveEligibility_BillingSubscriptionValidateMoveFailure Console.WriteLine($"Succeeded: {result}"); } - // BillingSubscriptionValidateMoveSuccess - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateMoveEligibility_BillingSubscriptionValidateMoveSuccess() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionValidateMoveSuccess.json @@ -216,9 +211,8 @@ public async Task ValidateMoveEligibility_BillingSubscriptionValidateMoveSuccess Console.WriteLine($"Succeeded: {result}"); } - // BillingSubscriptionsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_BillingSubscriptionsDelete() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionsDelete.json @@ -239,12 +233,11 @@ public async Task Delete_BillingSubscriptionsDelete() // invoke the operation await billingSubscription.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingSubscriptionsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BillingSubscriptionsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionsGet.json @@ -272,9 +265,8 @@ public async Task Get_BillingSubscriptionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BillingSubscriptionsUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_BillingSubscriptionsUpdate() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/billingSubscriptionsUpdate.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingTransferDetailCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingTransferDetailCollection.cs index ab96e95ab49b2..4f5165a22fb7b 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingTransferDetailCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingTransferDetailCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingTransferDetailCollection { - // TransferGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TransferGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/transfersGet.json @@ -50,9 +50,8 @@ public async Task Get_TransferGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TransferGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_TransferGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/transfersGet.json @@ -81,9 +80,8 @@ public async Task Exists_TransferGet() Console.WriteLine($"Succeeded: {result}"); } - // TransferGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TransferGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/transfersGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_TransferGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_TransferGet() } } - // InitiateTransfer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_InitiateTransfer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/transfersInitiate.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_InitiateTransfer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TransfersList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_TransfersList() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/transfersList.json @@ -198,7 +194,7 @@ public async Task GetAll_TransfersList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingTransferDetailResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingTransferDetailResource.cs index 0975d058ce26d..a4f1225b7e814 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingTransferDetailResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_BillingTransferDetailResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_BillingTransferDetailResource { - // TransferGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TransferGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/transfersGet.json @@ -47,9 +47,8 @@ public async Task Get_TransferGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // InitiateTransfer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_InitiateTransfer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/transfersInitiate.json @@ -84,9 +83,8 @@ public async Task Update_InitiateTransfer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TransferCancel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cancel_TransferCancel() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/transfersCancel.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_DefaultBillingInvoiceCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_DefaultBillingInvoiceCollection.cs index d983b59bb7536..9bf7516e1a4cb 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_DefaultBillingInvoiceCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_DefaultBillingInvoiceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_DefaultBillingInvoiceCollection { - // InvoicesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_InvoicesGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoicesGet.json @@ -45,9 +45,8 @@ public async Task Get_InvoicesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // InvoicesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_InvoicesGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoicesGet.json @@ -72,9 +71,8 @@ public async Task Exists_InvoicesGet() Console.WriteLine($"Succeeded: {result}"); } - // InvoicesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_InvoicesGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoicesGet.json @@ -99,7 +97,7 @@ public async Task GetIfExists_InvoicesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_DefaultBillingInvoiceResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_DefaultBillingInvoiceResource.cs index 66c18a4944cd8..fc72c1afe19b5 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_DefaultBillingInvoiceResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_DefaultBillingInvoiceResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_DefaultBillingInvoiceResource { - // InvoicesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_InvoicesGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoicesGet.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_PartnerTransferDetailCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_PartnerTransferDetailCollection.cs index c0bab5f58a820..c0aead6b4cdfe 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_PartnerTransferDetailCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_PartnerTransferDetailCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_PartnerTransferDetailCollection { - // PartnerTransferGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PartnerTransferGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/partnerTransfersGet.json @@ -50,9 +50,8 @@ public async Task Get_PartnerTransferGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerTransferGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PartnerTransferGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/partnerTransfersGet.json @@ -81,9 +80,8 @@ public async Task Exists_PartnerTransferGet() Console.WriteLine($"Succeeded: {result}"); } - // PartnerTransferGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PartnerTransferGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/partnerTransfersGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_PartnerTransferGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_PartnerTransferGet() } } - // InitiatePartnerTransfer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_InitiatePartnerTransfer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/partnerTransfersInitiate.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_InitiatePartnerTransfer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerTransfersList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PartnerTransfersList() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/partnerTransfersList.json @@ -198,7 +194,7 @@ public async Task GetAll_PartnerTransfersList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_PartnerTransferDetailResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_PartnerTransferDetailResource.cs index 943314e727f89..6e49dcd4c28f7 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_PartnerTransferDetailResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_PartnerTransferDetailResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_PartnerTransferDetailResource { - // PartnerTransferGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PartnerTransferGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/partnerTransfersGet.json @@ -47,9 +47,8 @@ public async Task Get_PartnerTransferGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // InitiatePartnerTransfer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_InitiatePartnerTransfer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/partnerTransfersInitiate.json @@ -84,9 +83,8 @@ public async Task Update_InitiatePartnerTransfer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PartnerTransferCancel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cancel_PartnerTransferCancel() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/partnerTransfersCancel.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_RecipientTransferDetailCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_RecipientTransferDetailCollection.cs index d92e13200a8c5..e69c09e17c8e8 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_RecipientTransferDetailCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_RecipientTransferDetailCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_RecipientTransferDetailCollection { - // RecipientTransferGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RecipientTransferGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/recipientTransfersGet.json @@ -45,9 +45,8 @@ public async Task Get_RecipientTransferGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RecipientTransferGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RecipientTransferGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/recipientTransfersGet.json @@ -72,9 +71,8 @@ public async Task Exists_RecipientTransferGet() Console.WriteLine($"Succeeded: {result}"); } - // RecipientTransferGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RecipientTransferGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/recipientTransfersGet.json @@ -99,7 +97,7 @@ public async Task GetIfExists_RecipientTransferGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -111,9 +109,8 @@ public async Task GetIfExists_RecipientTransferGet() } } - // RecipientTransfersList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RecipientTransfersList() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/recipientTransfersList.json @@ -141,7 +138,7 @@ public async Task GetAll_RecipientTransfersList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_RecipientTransferDetailResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_RecipientTransferDetailResource.cs index 82e5fe53cea12..1e5087b855a2f 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_RecipientTransferDetailResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_RecipientTransferDetailResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_RecipientTransferDetailResource { - // AcceptTransfer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Accept_AcceptTransfer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/recipientTransfersAccept.json @@ -59,9 +59,8 @@ public async Task Accept_AcceptTransfer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ValidateTransfer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Validate_ValidateTransfer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/recipientTransfersValidate.json @@ -99,12 +98,11 @@ public async Task Validate_ValidateTransfer() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DeclineTransfer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Decline_DeclineTransfer() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/recipientTransfersDecline.json @@ -131,9 +129,8 @@ public async Task Decline_DeclineTransfer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RecipientTransferGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RecipientTransferGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/recipientTransfersGet.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_SavingsPlanOrderModelCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_SavingsPlanOrderModelCollection.cs index 945fa87cb7bd1..7ce6cb9ff1e70 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_SavingsPlanOrderModelCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_SavingsPlanOrderModelCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_SavingsPlanOrderModelCollection { - // SavingsPlanOrderGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SavingsPlanOrderGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/savingsPlanOrderGetByBillingAccount.json @@ -47,9 +47,8 @@ public async Task Get_SavingsPlanOrderGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SavingsPlanOrderGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SavingsPlanOrderGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/savingsPlanOrderGetByBillingAccount.json @@ -76,9 +75,8 @@ public async Task Exists_SavingsPlanOrderGet() Console.WriteLine($"Succeeded: {result}"); } - // SavingsPlanOrderGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SavingsPlanOrderGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/savingsPlanOrderGetByBillingAccount.json @@ -105,7 +103,7 @@ public async Task GetIfExists_SavingsPlanOrderGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -117,9 +115,8 @@ public async Task GetIfExists_SavingsPlanOrderGet() } } - // SavingsPlanOrderWithExpandedPaymentsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SavingsPlanOrderWithExpandedPaymentsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/savingsPlanOrderExpandedScheduleGetByBillingAccount.json @@ -150,9 +147,8 @@ public async Task Get_SavingsPlanOrderWithExpandedPaymentsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SavingsPlanOrderWithExpandedPaymentsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SavingsPlanOrderWithExpandedPaymentsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/savingsPlanOrderExpandedScheduleGetByBillingAccount.json @@ -179,9 +175,8 @@ public async Task Exists_SavingsPlanOrderWithExpandedPaymentsGet() Console.WriteLine($"Succeeded: {result}"); } - // SavingsPlanOrderWithExpandedPaymentsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SavingsPlanOrderWithExpandedPaymentsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/savingsPlanOrderExpandedScheduleGetByBillingAccount.json @@ -208,7 +203,7 @@ public async Task GetIfExists_SavingsPlanOrderWithExpandedPaymentsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -220,9 +215,8 @@ public async Task GetIfExists_SavingsPlanOrderWithExpandedPaymentsGet() } } - // SavingsPlanOrderList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SavingsPlanOrderList() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/savingsPlanOrderListByBillingAccount.json @@ -252,7 +246,7 @@ public async Task GetAll_SavingsPlanOrderList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_SavingsPlanOrderModelResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_SavingsPlanOrderModelResource.cs index 1505079677585..0b4c0b31f048a 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_SavingsPlanOrderModelResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_SavingsPlanOrderModelResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_SavingsPlanOrderModelResource { - // SavingsPlanOrderGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SavingsPlanOrderGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/savingsPlanOrderGetByBillingAccount.json @@ -44,9 +44,8 @@ public async Task Get_SavingsPlanOrderGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SavingsPlanOrderWithExpandedPaymentsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SavingsPlanOrderWithExpandedPaymentsGet() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/savingsPlanOrderExpandedScheduleGetByBillingAccount.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_SubscriptionBillingInvoiceCollection.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_SubscriptionBillingInvoiceCollection.cs index a1b05dd635793..9d74a596b6a03 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_SubscriptionBillingInvoiceCollection.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_SubscriptionBillingInvoiceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_SubscriptionBillingInvoiceCollection { - // InvoicesGetByBillingSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_InvoicesGetByBillingSubscription() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoicesGetByBillingSubscription.json @@ -47,9 +47,8 @@ public async Task Get_InvoicesGetByBillingSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // InvoicesGetByBillingSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_InvoicesGetByBillingSubscription() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoicesGetByBillingSubscription.json @@ -75,9 +74,8 @@ public async Task Exists_InvoicesGetByBillingSubscription() Console.WriteLine($"Succeeded: {result}"); } - // InvoicesGetByBillingSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_InvoicesGetByBillingSubscription() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoicesGetByBillingSubscription.json @@ -103,7 +101,7 @@ public async Task GetIfExists_InvoicesGetByBillingSubscription() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -115,9 +113,8 @@ public async Task GetIfExists_InvoicesGetByBillingSubscription() } } - // InvoicesListByBillingSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_InvoicesListByBillingSubscription() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoicesListByBillingSubscription.json @@ -147,7 +144,7 @@ public async Task GetAll_InvoicesListByBillingSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_SubscriptionBillingInvoiceResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_SubscriptionBillingInvoiceResource.cs index 8fb57dce2a217..6b5aa0886daed 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_SubscriptionBillingInvoiceResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_SubscriptionBillingInvoiceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_SubscriptionBillingInvoiceResource { - // InvoicesDownloadByBillingSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DownloadByBillingSubscription_InvoicesDownloadByBillingSubscription() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoicesDownloadByBillingSubscription.json @@ -43,9 +43,8 @@ public async Task DownloadByBillingSubscription_InvoicesDownloadByBillingSubscri Console.WriteLine($"Succeeded: {result}"); } - // InvoicesGetByBillingSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_InvoicesGetByBillingSubscription() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoicesGetByBillingSubscription.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_SubscriptionPolicyResource.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_SubscriptionPolicyResource.cs index ecc693e318849..4269de573dbf0 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_SubscriptionPolicyResource.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_SubscriptionPolicyResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_SubscriptionPolicyResource { - // PoliciesGetBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PoliciesGetBySubscription() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/policiesGetBySubscription.json diff --git a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_TenantResourceExtensions.cs b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_TenantResourceExtensions.cs index 5e62e2b32764f..92ca3e0da797c 100644 --- a/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_TenantResourceExtensions.cs +++ b/sdk/billing/Azure.ResourceManager.Billing/samples/Generated/Samples/Sample_TenantResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Billing.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Billing.Samples { public partial class Sample_TenantResourceExtensions { - // AddressValidateInvalid - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateAddres_AddressValidateInvalid() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/addressValidateInvalid.json @@ -45,9 +45,8 @@ public async Task ValidateAddres_AddressValidateInvalid() Console.WriteLine($"Succeeded: {result}"); } - // AddressValidateValid - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateAddres_AddressValidateValid() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/addressValidateValid.json @@ -74,9 +73,8 @@ public async Task ValidateAddres_AddressValidateValid() Console.WriteLine($"Succeeded: {result}"); } - // InvoicesDownloadDocumentsByBillingSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DownloadDocumentsByBillingSubscriptionInvoice_InvoicesDownloadDocumentsByBillingSubscription() { // Generated from example definition: specification/billing/resource-manager/Microsoft.Billing/stable/2024-04-01/examples/invoicesDownloadDocumentsByBillingSubscription.json diff --git a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_AssignmentCollection.cs b/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_AssignmentCollection.cs index 52ab9431480e1..d9be359a42f9b 100644 --- a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_AssignmentCollection.cs +++ b/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_AssignmentCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Blueprint.Samples { public partial class Sample_AssignmentCollection { - // Assignment at management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AssignmentAtManagementGroupScope() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPAssignment/BlueprintAssignment_Get.json @@ -46,9 +46,8 @@ public async Task Get_AssignmentAtManagementGroupScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Assignment at management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AssignmentAtManagementGroupScope() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPAssignment/BlueprintAssignment_Get.json @@ -74,9 +73,8 @@ public async Task Exists_AssignmentAtManagementGroupScope() Console.WriteLine($"Succeeded: {result}"); } - // Assignment at management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AssignmentAtManagementGroupScope() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPAssignment/BlueprintAssignment_Get.json @@ -102,7 +100,7 @@ public async Task GetIfExists_AssignmentAtManagementGroupScope() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -114,9 +112,8 @@ public async Task GetIfExists_AssignmentAtManagementGroupScope() } } - // Assignment at subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AssignmentAtSubscriptionScope() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPAssignment/BlueprintAssignment_Get.json @@ -146,9 +143,8 @@ public async Task Get_AssignmentAtSubscriptionScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Assignment at subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AssignmentAtSubscriptionScope() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPAssignment/BlueprintAssignment_Get.json @@ -174,9 +170,8 @@ public async Task Exists_AssignmentAtSubscriptionScope() Console.WriteLine($"Succeeded: {result}"); } - // Assignment at subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AssignmentAtSubscriptionScope() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPAssignment/BlueprintAssignment_Get.json @@ -202,7 +197,7 @@ public async Task GetIfExists_AssignmentAtSubscriptionScope() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -214,9 +209,8 @@ public async Task GetIfExists_AssignmentAtSubscriptionScope() } } - // Assignment at management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AssignmentAtManagementGroupScope() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPAssignment/BlueprintAssignment_List.json @@ -245,12 +239,11 @@ public async Task GetAll_AssignmentAtManagementGroupScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Assignment at subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AssignmentAtSubscriptionScope() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPAssignment/BlueprintAssignment_List.json @@ -279,7 +272,7 @@ public async Task GetAll_AssignmentAtSubscriptionScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_AssignmentOperationCollection.cs b/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_AssignmentOperationCollection.cs index 7bd84d9b6f097..f4a245f0f0e73 100644 --- a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_AssignmentOperationCollection.cs +++ b/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_AssignmentOperationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Blueprint.Samples { public partial class Sample_AssignmentOperationCollection { - // Assignment at management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AssignmentAtManagementGroupScope() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPAssignment/BlueprintAssignmentOperation_List.json @@ -47,12 +47,11 @@ public async Task GetAll_AssignmentAtManagementGroupScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Assignment at subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AssignmentAtSubscriptionScope() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPAssignment/BlueprintAssignmentOperation_List.json @@ -83,12 +82,11 @@ public async Task GetAll_AssignmentAtSubscriptionScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Assignment at management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AssignmentAtManagementGroupScope() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPAssignment/BlueprintAssignmentOperation_Get.json @@ -120,9 +118,8 @@ public async Task Get_AssignmentAtManagementGroupScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Assignment at management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AssignmentAtManagementGroupScope() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPAssignment/BlueprintAssignmentOperation_Get.json @@ -150,9 +147,8 @@ public async Task Exists_AssignmentAtManagementGroupScope() Console.WriteLine($"Succeeded: {result}"); } - // Assignment at management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AssignmentAtManagementGroupScope() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPAssignment/BlueprintAssignmentOperation_Get.json @@ -180,7 +176,7 @@ public async Task GetIfExists_AssignmentAtManagementGroupScope() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -192,9 +188,8 @@ public async Task GetIfExists_AssignmentAtManagementGroupScope() } } - // Assignment at subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AssignmentAtSubscriptionScope() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPAssignment/BlueprintAssignmentOperation_Get.json @@ -226,9 +221,8 @@ public async Task Get_AssignmentAtSubscriptionScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Assignment at subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AssignmentAtSubscriptionScope() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPAssignment/BlueprintAssignmentOperation_Get.json @@ -256,9 +250,8 @@ public async Task Exists_AssignmentAtSubscriptionScope() Console.WriteLine($"Succeeded: {result}"); } - // Assignment at subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AssignmentAtSubscriptionScope() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPAssignment/BlueprintAssignmentOperation_Get.json @@ -286,7 +279,7 @@ public async Task GetIfExists_AssignmentAtSubscriptionScope() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_AssignmentOperationResource.cs b/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_AssignmentOperationResource.cs index 101b8bab89d57..72f5e2351447c 100644 --- a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_AssignmentOperationResource.cs +++ b/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_AssignmentOperationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Blueprint.Samples { public partial class Sample_AssignmentOperationResource { - // Assignment at management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AssignmentAtManagementGroupScope() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPAssignment/BlueprintAssignmentOperation_Get.json @@ -45,9 +45,8 @@ public async Task Get_AssignmentAtManagementGroupScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Assignment at subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AssignmentAtSubscriptionScope() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPAssignment/BlueprintAssignmentOperation_Get.json diff --git a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_AssignmentResource.cs b/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_AssignmentResource.cs index 613d4709dbc03..2f95d5c6c07a8 100644 --- a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_AssignmentResource.cs +++ b/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_AssignmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Blueprint.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Blueprint.Samples { public partial class Sample_AssignmentResource { - // Assignment at management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AssignmentAtManagementGroupScope() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPAssignment/BlueprintAssignment_Get.json @@ -45,9 +45,8 @@ public async Task Get_AssignmentAtManagementGroupScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Assignment at subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AssignmentAtSubscriptionScope() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPAssignment/BlueprintAssignment_Get.json @@ -75,9 +74,8 @@ public async Task Get_AssignmentAtSubscriptionScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Assignment_Delete at management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AssignmentDeleteAtManagementGroupScope() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPAssignment/BlueprintAssignment_Delete.json @@ -106,9 +104,8 @@ public async Task Delete_AssignmentDeleteAtManagementGroupScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Assignment_Delete at management group scope, and delete the resources created by the assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AssignmentDeleteAtManagementGroupScopeAndDeleteTheResourcesCreatedByTheAssignment() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPAssignment/BlueprintAssignment_Delete_AndDeleteChildren.json @@ -138,9 +135,8 @@ public async Task Delete_AssignmentDeleteAtManagementGroupScopeAndDeleteTheResou Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Assignment_Delete at subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AssignmentDeleteAtSubscriptionScope() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPAssignment/BlueprintAssignment_Delete.json @@ -169,9 +165,8 @@ public async Task Delete_AssignmentDeleteAtSubscriptionScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Assignment_Delete at subscription scope, and delete the resources created by the assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AssignmentDeleteAtSubscriptionScopeAndDeleteTheResourcesCreatedByTheAssignment() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPAssignment/BlueprintAssignment_Delete_AndDeleteChildren.json @@ -201,9 +196,8 @@ public async Task Delete_AssignmentDeleteAtSubscriptionScopeAndDeleteTheResource Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WhoIsBlueprint_Action at management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task WhoIsBlueprint_WhoIsBlueprintActionAtManagementGroupScope() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPAssignment/WhoIsBlueprint_Action.json @@ -227,9 +221,8 @@ public async Task WhoIsBlueprint_WhoIsBlueprintActionAtManagementGroupScope() Console.WriteLine($"Succeeded: {result}"); } - // WhoIsBlueprint_Action at subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task WhoIsBlueprint_WhoIsBlueprintActionAtSubscriptionScope() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPAssignment/WhoIsBlueprint_Action.json diff --git a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_BlueprintArtifactCollection.cs b/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_BlueprintArtifactCollection.cs index 0e677e5619997..7cd27e483340a 100644 --- a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_BlueprintArtifactCollection.cs +++ b/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_BlueprintArtifactCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Blueprint.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Blueprint.Samples { public partial class Sample_BlueprintArtifactCollection { - // MG-ARMTemplateArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_MGARMTemplateArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/ARMTemplateArtifact_Create.json @@ -102,9 +102,8 @@ public async Task CreateOrUpdate_MGARMTemplateArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MG-PolicyAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_MGPolicyAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/PolicyAssignmentArtifact_Create.json @@ -151,9 +150,8 @@ public async Task CreateOrUpdate_MGPolicyAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MG-RoleAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_MGRoleAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/RoleAssignmentArtifact_Create.json @@ -190,9 +188,8 @@ public async Task CreateOrUpdate_MGRoleAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sub-ARMTemplateArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SubARMTemplateArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Create.json @@ -276,9 +273,8 @@ public async Task CreateOrUpdate_SubARMTemplateArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sub-PolicyAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SubPolicyAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Create.json @@ -325,9 +321,8 @@ public async Task CreateOrUpdate_SubPolicyAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sub-RoleAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SubRoleAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Create.json @@ -364,9 +359,8 @@ public async Task CreateOrUpdate_SubRoleAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MG-ARMTemplateArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MGARMTemplateArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/ARMTemplateArtifact_Get.json @@ -398,9 +392,8 @@ public async Task Get_MGARMTemplateArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MG-ARMTemplateArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_MGARMTemplateArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/ARMTemplateArtifact_Get.json @@ -428,9 +421,8 @@ public async Task Exists_MGARMTemplateArtifact() Console.WriteLine($"Succeeded: {result}"); } - // MG-ARMTemplateArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_MGARMTemplateArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/ARMTemplateArtifact_Get.json @@ -458,7 +450,7 @@ public async Task GetIfExists_MGARMTemplateArtifact() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -470,9 +462,8 @@ public async Task GetIfExists_MGARMTemplateArtifact() } } - // MG-PolicyAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MGPolicyAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/PolicyAssignmentArtifact_Get.json @@ -504,9 +495,8 @@ public async Task Get_MGPolicyAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MG-PolicyAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_MGPolicyAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/PolicyAssignmentArtifact_Get.json @@ -534,9 +524,8 @@ public async Task Exists_MGPolicyAssignmentArtifact() Console.WriteLine($"Succeeded: {result}"); } - // MG-PolicyAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_MGPolicyAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/PolicyAssignmentArtifact_Get.json @@ -564,7 +553,7 @@ public async Task GetIfExists_MGPolicyAssignmentArtifact() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -576,9 +565,8 @@ public async Task GetIfExists_MGPolicyAssignmentArtifact() } } - // MG-RoleAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MGRoleAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/RoleAssignmentArtifact_Get.json @@ -610,9 +598,8 @@ public async Task Get_MGRoleAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MG-RoleAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_MGRoleAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/RoleAssignmentArtifact_Get.json @@ -640,9 +627,8 @@ public async Task Exists_MGRoleAssignmentArtifact() Console.WriteLine($"Succeeded: {result}"); } - // MG-RoleAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_MGRoleAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/RoleAssignmentArtifact_Get.json @@ -670,7 +656,7 @@ public async Task GetIfExists_MGRoleAssignmentArtifact() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -682,9 +668,8 @@ public async Task GetIfExists_MGRoleAssignmentArtifact() } } - // Sub-ARMTemplateArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SubARMTemplateArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Get.json @@ -716,9 +701,8 @@ public async Task Get_SubARMTemplateArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sub-ARMTemplateArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SubARMTemplateArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Get.json @@ -746,9 +730,8 @@ public async Task Exists_SubARMTemplateArtifact() Console.WriteLine($"Succeeded: {result}"); } - // Sub-ARMTemplateArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SubARMTemplateArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Get.json @@ -776,7 +759,7 @@ public async Task GetIfExists_SubARMTemplateArtifact() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -788,9 +771,8 @@ public async Task GetIfExists_SubARMTemplateArtifact() } } - // Sub-PolicyAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SubPolicyAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Get.json @@ -822,9 +804,8 @@ public async Task Get_SubPolicyAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sub-PolicyAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SubPolicyAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Get.json @@ -852,9 +833,8 @@ public async Task Exists_SubPolicyAssignmentArtifact() Console.WriteLine($"Succeeded: {result}"); } - // Sub-PolicyAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SubPolicyAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Get.json @@ -882,7 +862,7 @@ public async Task GetIfExists_SubPolicyAssignmentArtifact() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -894,9 +874,8 @@ public async Task GetIfExists_SubPolicyAssignmentArtifact() } } - // Sub-RoleAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SubRoleAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Get.json @@ -928,9 +907,8 @@ public async Task Get_SubRoleAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sub-RoleAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SubRoleAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Get.json @@ -958,9 +936,8 @@ public async Task Exists_SubRoleAssignmentArtifact() Console.WriteLine($"Succeeded: {result}"); } - // Sub-RoleAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SubRoleAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Get.json @@ -988,7 +965,7 @@ public async Task GetIfExists_SubRoleAssignmentArtifact() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1000,9 +977,8 @@ public async Task GetIfExists_SubRoleAssignmentArtifact() } } - // MG-ArtifactList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_MGArtifactList() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/Artifact_List.json @@ -1033,12 +1009,11 @@ public async Task GetAll_MGArtifactList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Sub-ArtifactList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SubArtifactList() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Artifact_List.json @@ -1069,7 +1044,7 @@ public async Task GetAll_SubArtifactList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_BlueprintArtifactResource.cs b/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_BlueprintArtifactResource.cs index fc63ce940aee2..276e86889c7cd 100644 --- a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_BlueprintArtifactResource.cs +++ b/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_BlueprintArtifactResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Blueprint.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Blueprint.Samples { public partial class Sample_BlueprintArtifactResource { - // MG-ARMTemplateArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_MGARMTemplateArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/ARMTemplateArtifact_Create.json @@ -99,9 +99,8 @@ public async Task Update_MGARMTemplateArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MG-PolicyAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_MGPolicyAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/PolicyAssignmentArtifact_Create.json @@ -145,9 +144,8 @@ public async Task Update_MGPolicyAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MG-RoleAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_MGRoleAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/RoleAssignmentArtifact_Create.json @@ -181,9 +179,8 @@ public async Task Update_MGRoleAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sub-ARMTemplateArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SubARMTemplateArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Create.json @@ -264,9 +261,8 @@ public async Task Update_SubARMTemplateArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sub-PolicyAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SubPolicyAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Create.json @@ -310,9 +306,8 @@ public async Task Update_SubPolicyAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sub-RoleAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SubRoleAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Create.json @@ -346,9 +341,8 @@ public async Task Update_SubRoleAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MG-ARMTemplateArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MGARMTemplateArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/ARMTemplateArtifact_Get.json @@ -377,9 +371,8 @@ public async Task Get_MGARMTemplateArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MG-PolicyAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MGPolicyAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/PolicyAssignmentArtifact_Get.json @@ -408,9 +401,8 @@ public async Task Get_MGPolicyAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MG-RoleAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MGRoleAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/RoleAssignmentArtifact_Get.json @@ -439,9 +431,8 @@ public async Task Get_MGRoleAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sub-ARMTemplateArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SubARMTemplateArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Get.json @@ -470,9 +461,8 @@ public async Task Get_SubARMTemplateArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sub-PolicyAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SubPolicyAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Get.json @@ -501,9 +491,8 @@ public async Task Get_SubPolicyAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sub-RoleAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SubRoleAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Get.json @@ -532,9 +521,8 @@ public async Task Get_SubRoleAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MG-ARMTemplateArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_MGARMTemplateArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/ARMTemplateArtifact_Delete.json @@ -564,9 +552,8 @@ public async Task Delete_MGARMTemplateArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MG-PolicyAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_MGPolicyAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/PolicyAssignmentArtifact_Delete.json @@ -596,9 +583,8 @@ public async Task Delete_MGPolicyAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MG-RoleAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_MGRoleAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/RoleAssignmentArtifact_Delete.json @@ -628,9 +614,8 @@ public async Task Delete_MGRoleAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sub-ARMTemplateArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SubARMTemplateArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Delete.json @@ -660,9 +645,8 @@ public async Task Delete_SubARMTemplateArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sub-PolicyAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SubPolicyAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Delete.json @@ -692,9 +676,8 @@ public async Task Delete_SubPolicyAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sub-RoleAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SubRoleAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Delete.json diff --git a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_BlueprintCollection.cs b/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_BlueprintCollection.cs index c963d99176b29..7fd8e02aaf772 100644 --- a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_BlueprintCollection.cs +++ b/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_BlueprintCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Blueprint.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Blueprint.Samples { public partial class Sample_BlueprintCollection { - // ManagementGroupBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ManagementGroupBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/Blueprint_Create.json @@ -76,9 +76,8 @@ public async Task CreateOrUpdate_ManagementGroupBlueprint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ResourceGroupWithTags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ResourceGroupWithTags() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/ResourceGroupWithTags.json @@ -128,9 +127,8 @@ public async Task CreateOrUpdate_ResourceGroupWithTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SubscriptionBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SubscriptionBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Create.json @@ -189,9 +187,8 @@ public async Task CreateOrUpdate_SubscriptionBlueprint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagementGroupBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ManagementGroupBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/Blueprint_Get.json @@ -221,9 +218,8 @@ public async Task Get_ManagementGroupBlueprint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagementGroupBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ManagementGroupBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/Blueprint_Get.json @@ -249,9 +245,8 @@ public async Task Exists_ManagementGroupBlueprint() Console.WriteLine($"Succeeded: {result}"); } - // ManagementGroupBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ManagementGroupBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/Blueprint_Get.json @@ -277,7 +272,7 @@ public async Task GetIfExists_ManagementGroupBlueprint() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -289,9 +284,8 @@ public async Task GetIfExists_ManagementGroupBlueprint() } } - // SubscriptionBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SubscriptionBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Get.json @@ -321,9 +315,8 @@ public async Task Get_SubscriptionBlueprint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SubscriptionBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SubscriptionBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Get.json @@ -349,9 +342,8 @@ public async Task Exists_SubscriptionBlueprint() Console.WriteLine($"Succeeded: {result}"); } - // SubscriptionBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SubscriptionBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Get.json @@ -377,7 +369,7 @@ public async Task GetIfExists_SubscriptionBlueprint() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -389,9 +381,8 @@ public async Task GetIfExists_SubscriptionBlueprint() } } - // ManagementGroupBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ManagementGroupBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/Blueprint_List.json @@ -420,12 +411,11 @@ public async Task GetAll_ManagementGroupBlueprint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SubscriptionBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SubscriptionBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_List.json @@ -454,7 +444,7 @@ public async Task GetAll_SubscriptionBlueprint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_BlueprintResource.cs b/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_BlueprintResource.cs index e8c2296c5f1b2..3cb74d105b022 100644 --- a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_BlueprintResource.cs +++ b/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_BlueprintResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Blueprint.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Blueprint.Samples { public partial class Sample_BlueprintResource { - // ManagementGroupBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ManagementGroupBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/Blueprint_Create.json @@ -74,9 +74,8 @@ public async Task Update_ManagementGroupBlueprint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ResourceGroupWithTags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ResourceGroupWithTags() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/ResourceGroupWithTags.json @@ -124,9 +123,8 @@ public async Task Update_ResourceGroupWithTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SubscriptionBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SubscriptionBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Create.json @@ -183,9 +181,8 @@ public async Task Update_SubscriptionBlueprint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagementGroupBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ManagementGroupBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/Blueprint_Get.json @@ -213,9 +210,8 @@ public async Task Get_ManagementGroupBlueprint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SubscriptionBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SubscriptionBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Get.json @@ -243,9 +239,8 @@ public async Task Get_SubscriptionBlueprint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagementGroupBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ManagementGroupBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/Blueprint_Delete.json @@ -274,9 +269,8 @@ public async Task Delete_ManagementGroupBlueprint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SubscriptionBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SubscriptionBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Delete.json @@ -305,9 +299,8 @@ public async Task Delete_SubscriptionBlueprint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PublishedManagementGroupBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPublishedBlueprints_PublishedManagementGroupBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/SealedBlueprint_List.json @@ -335,12 +328,11 @@ public async Task GetPublishedBlueprints_PublishedManagementGroupBlueprint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PublishedSubscriptionBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPublishedBlueprints_PublishedSubscriptionBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_List.json @@ -368,7 +360,7 @@ public async Task GetPublishedBlueprints_PublishedSubscriptionBlueprint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_BlueprintVersionArtifactCollection.cs b/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_BlueprintVersionArtifactCollection.cs index 8204311766c62..5ff4c66e52a3a 100644 --- a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_BlueprintVersionArtifactCollection.cs +++ b/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_BlueprintVersionArtifactCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Blueprint.Samples { public partial class Sample_BlueprintVersionArtifactCollection { - // MG-ARMTemplateArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MGARMTemplateArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/SealedARMTemplateArtifact_Get.json @@ -49,9 +49,8 @@ public async Task Get_MGARMTemplateArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MG-ARMTemplateArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_MGARMTemplateArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/SealedARMTemplateArtifact_Get.json @@ -80,9 +79,8 @@ public async Task Exists_MGARMTemplateArtifact() Console.WriteLine($"Succeeded: {result}"); } - // MG-ARMTemplateArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_MGARMTemplateArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/SealedARMTemplateArtifact_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_MGARMTemplateArtifact() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_MGARMTemplateArtifact() } } - // MG-PolicyAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MGPolicyAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/SealedPolicyAssignmentArtifact_Get.json @@ -158,9 +155,8 @@ public async Task Get_MGPolicyAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MG-PolicyAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_MGPolicyAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/SealedPolicyAssignmentArtifact_Get.json @@ -189,9 +185,8 @@ public async Task Exists_MGPolicyAssignmentArtifact() Console.WriteLine($"Succeeded: {result}"); } - // MG-PolicyAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_MGPolicyAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/SealedPolicyAssignmentArtifact_Get.json @@ -220,7 +215,7 @@ public async Task GetIfExists_MGPolicyAssignmentArtifact() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -232,9 +227,8 @@ public async Task GetIfExists_MGPolicyAssignmentArtifact() } } - // MG-RoleAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MGRoleAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/SealedRoleAssignmentArtifact_Get.json @@ -267,9 +261,8 @@ public async Task Get_MGRoleAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MG-RoleAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_MGRoleAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/SealedRoleAssignmentArtifact_Get.json @@ -298,9 +291,8 @@ public async Task Exists_MGRoleAssignmentArtifact() Console.WriteLine($"Succeeded: {result}"); } - // MG-RoleAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_MGRoleAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/SealedRoleAssignmentArtifact_Get.json @@ -329,7 +321,7 @@ public async Task GetIfExists_MGRoleAssignmentArtifact() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -341,9 +333,8 @@ public async Task GetIfExists_MGRoleAssignmentArtifact() } } - // Sub-ARMTemplateArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SubARMTemplateArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedARMTemplateArtifact_Get.json @@ -376,9 +367,8 @@ public async Task Get_SubARMTemplateArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sub-ARMTemplateArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SubARMTemplateArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedARMTemplateArtifact_Get.json @@ -407,9 +397,8 @@ public async Task Exists_SubARMTemplateArtifact() Console.WriteLine($"Succeeded: {result}"); } - // Sub-ARMTemplateArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SubARMTemplateArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedARMTemplateArtifact_Get.json @@ -438,7 +427,7 @@ public async Task GetIfExists_SubARMTemplateArtifact() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -450,9 +439,8 @@ public async Task GetIfExists_SubARMTemplateArtifact() } } - // Sub-PolicyAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SubPolicyAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedPolicyAssignmentArtifact_Get.json @@ -485,9 +473,8 @@ public async Task Get_SubPolicyAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sub-PolicyAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SubPolicyAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedPolicyAssignmentArtifact_Get.json @@ -516,9 +503,8 @@ public async Task Exists_SubPolicyAssignmentArtifact() Console.WriteLine($"Succeeded: {result}"); } - // Sub-PolicyAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SubPolicyAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedPolicyAssignmentArtifact_Get.json @@ -547,7 +533,7 @@ public async Task GetIfExists_SubPolicyAssignmentArtifact() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -559,9 +545,8 @@ public async Task GetIfExists_SubPolicyAssignmentArtifact() } } - // Sub-RoleAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SubRoleAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedRoleAssignmentArtifact_Get.json @@ -594,9 +579,8 @@ public async Task Get_SubRoleAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sub-RoleAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SubRoleAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedRoleAssignmentArtifact_Get.json @@ -625,9 +609,8 @@ public async Task Exists_SubRoleAssignmentArtifact() Console.WriteLine($"Succeeded: {result}"); } - // Sub-RoleAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SubRoleAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedRoleAssignmentArtifact_Get.json @@ -656,7 +639,7 @@ public async Task GetIfExists_SubRoleAssignmentArtifact() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -668,9 +651,8 @@ public async Task GetIfExists_SubRoleAssignmentArtifact() } } - // MG-ArtifactList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_MGArtifactList() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/SealedArtifact_List.json @@ -702,12 +684,11 @@ public async Task GetAll_MGArtifactList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Sub-ArtifactList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SubArtifactList() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedArtifact_List.json @@ -739,7 +720,7 @@ public async Task GetAll_SubArtifactList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_BlueprintVersionArtifactResource.cs b/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_BlueprintVersionArtifactResource.cs index 36c8e2de2437a..f7a8e187bf591 100644 --- a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_BlueprintVersionArtifactResource.cs +++ b/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_BlueprintVersionArtifactResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Blueprint.Samples { public partial class Sample_BlueprintVersionArtifactResource { - // MG-ARMTemplateArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MGARMTemplateArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/SealedARMTemplateArtifact_Get.json @@ -46,9 +46,8 @@ public async Task Get_MGARMTemplateArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MG-PolicyAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MGPolicyAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/SealedPolicyAssignmentArtifact_Get.json @@ -78,9 +77,8 @@ public async Task Get_MGPolicyAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MG-RoleAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MGRoleAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/SealedRoleAssignmentArtifact_Get.json @@ -110,9 +108,8 @@ public async Task Get_MGRoleAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sub-ARMTemplateArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SubARMTemplateArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedARMTemplateArtifact_Get.json @@ -142,9 +139,8 @@ public async Task Get_SubARMTemplateArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sub-PolicyAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SubPolicyAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedPolicyAssignmentArtifact_Get.json @@ -174,9 +170,8 @@ public async Task Get_SubPolicyAssignmentArtifact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sub-RoleAssignmentArtifact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SubRoleAssignmentArtifact() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedRoleAssignmentArtifact_Get.json diff --git a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_PublishedBlueprintCollection.cs b/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_PublishedBlueprintCollection.cs index d3022072804dd..db56cb20a6516 100644 --- a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_PublishedBlueprintCollection.cs +++ b/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_PublishedBlueprintCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Blueprint.Samples { public partial class Sample_PublishedBlueprintCollection { - // PublishedManagementGroupBlueprint_Publish - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PublishedManagementGroupBlueprintPublish() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/SealedBlueprint_Publish.json @@ -50,9 +50,8 @@ public async Task CreateOrUpdate_PublishedManagementGroupBlueprintPublish() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PublishedSubscriptionBlueprint_Publish - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PublishedSubscriptionBlueprintPublish() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Publish.json @@ -86,9 +85,8 @@ public async Task CreateOrUpdate_PublishedSubscriptionBlueprintPublish() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PublishedManagementGroupBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PublishedManagementGroupBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/SealedBlueprint_Get.json @@ -120,9 +118,8 @@ public async Task Get_PublishedManagementGroupBlueprint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PublishedManagementGroupBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PublishedManagementGroupBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/SealedBlueprint_Get.json @@ -150,9 +147,8 @@ public async Task Exists_PublishedManagementGroupBlueprint() Console.WriteLine($"Succeeded: {result}"); } - // PublishedManagementGroupBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PublishedManagementGroupBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/SealedBlueprint_Get.json @@ -180,7 +176,7 @@ public async Task GetIfExists_PublishedManagementGroupBlueprint() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -192,9 +188,8 @@ public async Task GetIfExists_PublishedManagementGroupBlueprint() } } - // PublishedSubscriptionBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PublishedSubscriptionBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Get.json @@ -226,9 +221,8 @@ public async Task Get_PublishedSubscriptionBlueprint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PublishedSubscriptionBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PublishedSubscriptionBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Get.json @@ -256,9 +250,8 @@ public async Task Exists_PublishedSubscriptionBlueprint() Console.WriteLine($"Succeeded: {result}"); } - // PublishedSubscriptionBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PublishedSubscriptionBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Get.json @@ -286,7 +279,7 @@ public async Task GetIfExists_PublishedSubscriptionBlueprint() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_PublishedBlueprintResource.cs b/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_PublishedBlueprintResource.cs index 10393033342d1..8dea0505b122d 100644 --- a/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_PublishedBlueprintResource.cs +++ b/sdk/blueprint/Azure.ResourceManager.Blueprint/samples/Generated/Samples/Sample_PublishedBlueprintResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Blueprint.Samples { public partial class Sample_PublishedBlueprintResource { - // PublishedManagementGroupBlueprint_Publish - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PublishedManagementGroupBlueprintPublish() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/SealedBlueprint_Publish.json @@ -47,9 +47,8 @@ public async Task Update_PublishedManagementGroupBlueprintPublish() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PublishedSubscriptionBlueprint_Publish - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PublishedSubscriptionBlueprintPublish() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Publish.json @@ -80,9 +79,8 @@ public async Task Update_PublishedSubscriptionBlueprintPublish() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PublishedManagementGroupBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PublishedManagementGroupBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/SealedBlueprint_Get.json @@ -111,9 +109,8 @@ public async Task Get_PublishedManagementGroupBlueprint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PublishedSubscriptionBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PublishedSubscriptionBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Get.json @@ -142,9 +139,8 @@ public async Task Get_PublishedSubscriptionBlueprint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PublishedManagementGroupBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PublishedManagementGroupBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/managementGroupBPDef/SealedBlueprint_Delete.json @@ -174,9 +170,8 @@ public async Task Delete_PublishedManagementGroupBlueprint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PublishedSubscriptionBlueprint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PublishedSubscriptionBlueprint() { // Generated from example definition: specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Delete.json diff --git a/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotChannelCollection.cs b/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotChannelCollection.cs index a4f4c418725bf..e592f04a0f7b2 100644 --- a/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotChannelCollection.cs +++ b/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotChannelCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.BotService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.BotService.Samples { public partial class Sample_BotChannelCollection { - // Create Alexa Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAlexaChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/PutAlexaChannel.json @@ -58,9 +58,8 @@ public async Task CreateOrUpdate_CreateAlexaChannel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/PutChannel.json @@ -104,9 +103,8 @@ public async Task CreateOrUpdate_CreateChannel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create DirectLine Speech Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateDirectLineSpeechChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/PutDirectLineSpeechChannel.json @@ -152,9 +150,8 @@ public async Task CreateOrUpdate_CreateDirectLineSpeechChannel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Email Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateEmailChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/PutEmailChannel.json @@ -199,9 +196,8 @@ public async Task CreateOrUpdate_CreateEmailChannel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Line Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateLineChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/PutLineChannel.json @@ -249,9 +245,8 @@ public async Task CreateOrUpdate_CreateLineChannel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Alexa Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAlexaChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetAlexaChannel.json @@ -284,9 +279,8 @@ public async Task Get_GetAlexaChannel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Alexa Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAlexaChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetAlexaChannel.json @@ -315,9 +309,8 @@ public async Task Exists_GetAlexaChannel() Console.WriteLine($"Succeeded: {result}"); } - // Get Alexa Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAlexaChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetAlexaChannel.json @@ -346,7 +339,7 @@ public async Task GetIfExists_GetAlexaChannel() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -358,9 +351,8 @@ public async Task GetIfExists_GetAlexaChannel() } } - // Get Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetChannel.json @@ -393,9 +385,8 @@ public async Task Get_GetChannel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetChannel.json @@ -424,9 +415,8 @@ public async Task Exists_GetChannel() Console.WriteLine($"Succeeded: {result}"); } - // Get Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetChannel.json @@ -455,7 +445,7 @@ public async Task GetIfExists_GetChannel() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -467,9 +457,8 @@ public async Task GetIfExists_GetChannel() } } - // Get DirectLine Speech Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDirectLineSpeechChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetDirectLineSpeechChannel.json @@ -502,9 +491,8 @@ public async Task Get_GetDirectLineSpeechChannel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get DirectLine Speech Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDirectLineSpeechChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetDirectLineSpeechChannel.json @@ -533,9 +521,8 @@ public async Task Exists_GetDirectLineSpeechChannel() Console.WriteLine($"Succeeded: {result}"); } - // Get DirectLine Speech Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDirectLineSpeechChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetDirectLineSpeechChannel.json @@ -564,7 +551,7 @@ public async Task GetIfExists_GetDirectLineSpeechChannel() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -576,9 +563,8 @@ public async Task GetIfExists_GetDirectLineSpeechChannel() } } - // Get Line Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetLineChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetLineChannel.json @@ -611,9 +597,8 @@ public async Task Get_GetLineChannel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Line Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetLineChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetLineChannel.json @@ -642,9 +627,8 @@ public async Task Exists_GetLineChannel() Console.WriteLine($"Succeeded: {result}"); } - // Get Line Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetLineChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetLineChannel.json @@ -673,7 +657,7 @@ public async Task GetIfExists_GetLineChannel() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -685,9 +669,8 @@ public async Task GetIfExists_GetLineChannel() } } - // List Channels by Resource Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListChannelsByResourceGroup() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/ListChannelsByBotService.json @@ -719,7 +702,7 @@ public async Task GetAll_ListChannelsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotChannelResource.cs b/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotChannelResource.cs index b6c87bc5bbfb2..5a6a349b243c4 100644 --- a/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotChannelResource.cs +++ b/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotChannelResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.BotService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.BotService.Samples { public partial class Sample_BotChannelResource { - // Update Alexa Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAlexaChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/UpdateAlexaChannel.json @@ -54,9 +54,8 @@ public async Task Update_UpdateAlexaChannel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/UpdateChannel.json @@ -96,9 +95,8 @@ public async Task Update_UpdateChannel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update DirectLine Speech Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateDirectLineSpeechChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/UpdateDirectLineSpeechChannel.json @@ -140,9 +138,8 @@ public async Task Update_UpdateDirectLineSpeechChannel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Line Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateLineChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/UpdateLineChannel.json @@ -186,9 +183,8 @@ public async Task Update_UpdateLineChannel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/DeleteChannel.json @@ -211,12 +207,11 @@ public async Task Delete_DeleteChannel() // invoke the operation await botChannel.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Delete DirectLine Speech Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteDirectLineSpeechChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/DeleteDirectLineSpeechChannel.json @@ -239,12 +234,11 @@ public async Task Delete_DeleteDirectLineSpeechChannel() // invoke the operation await botChannel.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Alexa Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAlexaChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetAlexaChannel.json @@ -274,9 +268,8 @@ public async Task Get_GetAlexaChannel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetChannel.json @@ -306,9 +299,8 @@ public async Task Get_GetChannel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get DirectLine Speech Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDirectLineSpeechChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetDirectLineSpeechChannel.json @@ -338,9 +330,8 @@ public async Task Get_GetDirectLineSpeechChannel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Line Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetLineChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetLineChannel.json @@ -370,9 +361,8 @@ public async Task Get_GetLineChannel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List Channel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetChannelWithKeys_ListChannel() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/ListChannel.json diff --git a/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotCollection.cs b/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotCollection.cs index df1bbac085eb5..9d0c4a9956e28 100644 --- a/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotCollection.cs +++ b/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.BotService.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.BotService.Samples { public partial class Sample_BotCollection { - // Create Bot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateBot() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/CreateBot.json @@ -83,9 +83,8 @@ public async Task CreateOrUpdate_CreateBot() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Bot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetBot() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetBot.json @@ -117,9 +116,8 @@ public async Task Get_GetBot() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Bot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetBot() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetBot.json @@ -147,9 +145,8 @@ public async Task Exists_GetBot() Console.WriteLine($"Succeeded: {result}"); } - // Get Bot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetBot() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetBot.json @@ -177,7 +174,7 @@ public async Task GetIfExists_GetBot() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -189,9 +186,8 @@ public async Task GetIfExists_GetBot() } } - // List Bots by Resource Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListBotsByResourceGroup() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/ListBotsByResourceGroup.json @@ -222,7 +218,7 @@ public async Task GetAll_ListBotsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotConnectionSettingCollection.cs b/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotConnectionSettingCollection.cs index 00563f82cc8e6..8631d2c3bab27 100644 --- a/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotConnectionSettingCollection.cs +++ b/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotConnectionSettingCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.BotService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.BotService.Samples { public partial class Sample_BotConnectionSettingCollection { - // Create Connection Setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateConnectionSetting() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/PutConnection.json @@ -74,9 +74,8 @@ public async Task CreateOrUpdate_CreateConnectionSetting() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Connection Setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetConnectionSetting() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetConnection.json @@ -109,9 +108,8 @@ public async Task Get_GetConnectionSetting() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Connection Setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetConnectionSetting() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetConnection.json @@ -140,9 +138,8 @@ public async Task Exists_GetConnectionSetting() Console.WriteLine($"Succeeded: {result}"); } - // Get Connection Setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetConnectionSetting() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetConnection.json @@ -171,7 +168,7 @@ public async Task GetIfExists_GetConnectionSetting() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -183,9 +180,8 @@ public async Task GetIfExists_GetConnectionSetting() } } - // List Connection Settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListConnectionSettings() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/ListConnectionsByBotService.json @@ -217,7 +213,7 @@ public async Task GetAll_ListConnectionSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotConnectionSettingResource.cs b/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotConnectionSettingResource.cs index 69b9dc46af5b0..e98b8e2e0c9b5 100644 --- a/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotConnectionSettingResource.cs +++ b/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotConnectionSettingResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.BotService.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.BotService.Samples { public partial class Sample_BotConnectionSettingResource { - // List Auth Service Providers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBotConnectionServiceProviders_ListAuthServiceProviders() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/ListServiceProviders.json @@ -41,12 +41,11 @@ public async Task GetBotConnectionServiceProviders_ListAuthServiceProviders() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Connection Setting With Secrets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetWithSecrets_ListConnectionSettingWithSecrets() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetConnection.json @@ -76,9 +75,8 @@ public async Task GetWithSecrets_ListConnectionSettingWithSecrets() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Connection Setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateConnectionSetting() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/UpdateConnection.json @@ -132,9 +130,8 @@ public async Task Update_UpdateConnectionSetting() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Connection Setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetConnectionSetting() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetConnection.json @@ -164,9 +161,8 @@ public async Task Get_GetConnectionSetting() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Connection Setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteConnectionSetting() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/DeleteConnection.json @@ -189,7 +185,7 @@ public async Task Delete_DeleteConnectionSetting() // invoke the operation await botConnectionSetting.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotResource.cs b/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotResource.cs index 2b0c09e07725f..c5f6d515fd6b7 100644 --- a/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotResource.cs +++ b/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.BotService.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.BotService.Samples { public partial class Sample_BotResource { - // Update Bot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateBot() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/UpdateBot.json @@ -79,9 +79,8 @@ public async Task Update_UpdateBot() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Bot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteBot() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/DeleteBot.json @@ -103,12 +102,11 @@ public async Task Delete_DeleteBot() // invoke the operation await bot.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Bot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetBot() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetBot.json @@ -137,9 +135,8 @@ public async Task Get_GetBot() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List Bots by Subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBots_ListBotsBySubscription() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/ListBotsBySubscription.json @@ -166,12 +163,11 @@ public async Task GetBots_ListBotsBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // check Name Availability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckBotServiceNameAvailability_CheckNameAvailability() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/CheckNameAvailability.json @@ -197,9 +193,8 @@ public async Task CheckBotServiceNameAvailability_CheckNameAvailability() Console.WriteLine($"Succeeded: {result}"); } - // Regenerate Keys for DirectLine Channel Site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBotChannelWithRegenerateKeys_RegenerateKeysForDirectLineChannelSite() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/DirectlineRegenerateKeys.json @@ -230,9 +225,8 @@ public async Task GetBotChannelWithRegenerateKeys_RegenerateKeysForDirectLineCha Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Regenerate Keys for WebChat Channel Site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBotChannelWithRegenerateKeys_RegenerateKeysForWebChatChannelSite() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/WebChatRegenerateKeys.json @@ -263,9 +257,8 @@ public async Task GetBotChannelWithRegenerateKeys_RegenerateKeysForWebChatChanne Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Url - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateEmailSignInUri_CreateUrl() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/CreateEmailSignInUrl.json @@ -290,9 +283,8 @@ public async Task CreateEmailSignInUri_CreateUrl() Console.WriteLine($"Succeeded: {result}"); } - // List Private Link Resources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinkResourcesByBotResource_ListPrivateLinkResources() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/ListPrivateLinkResources.json @@ -317,7 +309,7 @@ public async Task GetPrivateLinkResourcesByBotResource_ListPrivateLinkResources( Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotServicePrivateEndpointConnectionCollection.cs b/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotServicePrivateEndpointConnectionCollection.cs index 2493fe55746bd..6a87c84151dd3 100644 --- a/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotServicePrivateEndpointConnectionCollection.cs +++ b/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotServicePrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.BotService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.BotService.Samples { public partial class Sample_BotServicePrivateEndpointConnectionCollection { - // List Private Endpoint Connections - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPrivateEndpointConnections() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/ListPrivateEndpointConnections.json @@ -49,12 +49,11 @@ public async Task GetAll_ListPrivateEndpointConnections() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Private Endpoint Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateEndpointConnection() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetPrivateEndpointConnection.json @@ -87,9 +86,8 @@ public async Task Get_GetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Private Endpoint Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPrivateEndpointConnection() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetPrivateEndpointConnection.json @@ -118,9 +116,8 @@ public async Task Exists_GetPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // Get Private Endpoint Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPrivateEndpointConnection() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetPrivateEndpointConnection.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetPrivateEndpointConnection() } } - // Put Private Endpoint Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutPrivateEndpointConnection() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/PutPrivateEndpointConnection.json diff --git a/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotServicePrivateEndpointConnectionResource.cs b/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotServicePrivateEndpointConnectionResource.cs index 888b1a10698f5..d9322963590af 100644 --- a/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotServicePrivateEndpointConnectionResource.cs +++ b/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_BotServicePrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.BotService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.BotService.Samples { public partial class Sample_BotServicePrivateEndpointConnectionResource { - // Get Private Endpoint Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateEndpointConnection() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetPrivateEndpointConnection.json @@ -47,9 +47,8 @@ public async Task Get_GetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put Private Endpoint Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PutPrivateEndpointConnection() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/PutPrivateEndpointConnection.json @@ -88,9 +87,8 @@ public async Task Update_PutPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Private Endpoint Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletePrivateEndpointConnection() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/DeletePrivateEndpointConnection.json @@ -113,7 +111,7 @@ public async Task Delete_DeletePrivateEndpointConnection() // invoke the operation await botServicePrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index bb8c5a2aaf4ac..242e8c4fbb22b 100644 --- a/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/botservice/Azure.ResourceManager.BotService/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.BotService.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.BotService.Samples { public partial class Sample_SubscriptionResourceExtensions { - // List QnAMaker Endpoint Keys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBotServiceQnAMakerEndpointKey_ListQnAMakerEndpointKeys() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/ListQnAMakerEndpointKeys.json @@ -46,9 +46,8 @@ public async Task GetBotServiceQnAMakerEndpointKey_ListQnAMakerEndpointKeys() Console.WriteLine($"Succeeded: {result}"); } - // Get Bot Host Settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBotServiceHostSettings_GetBotHostSettings() { // Generated from example definition: specification/botservice/resource-manager/Microsoft.BotService/stable/2022-09-15/examples/GetHostSettings.json diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnCustomDomainCollection.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnCustomDomainCollection.cs index ae89245aaea83..64b09c04ef7d3 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnCustomDomainCollection.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnCustomDomainCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Cdn.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_CdnCustomDomainCollection { - // CustomDomains_ListByEndpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CustomDomainsListByEndpoint() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/CustomDomains_ListByEndpoint.json @@ -50,12 +50,11 @@ public async Task GetAll_CustomDomainsListByEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CustomDomains_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CustomDomainsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/CustomDomains_Get.json @@ -89,9 +88,8 @@ public async Task Get_CustomDomainsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CustomDomains_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CustomDomainsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/CustomDomains_Get.json @@ -121,9 +119,8 @@ public async Task Exists_CustomDomainsGet() Console.WriteLine($"Succeeded: {result}"); } - // CustomDomains_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CustomDomainsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/CustomDomains_Get.json @@ -153,7 +150,7 @@ public async Task GetIfExists_CustomDomainsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_CustomDomainsGet() } } - // CustomDomains_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CustomDomainsCreate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/CustomDomains_Create.json diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnCustomDomainResource.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnCustomDomainResource.cs index 4bba89877634f..e0d1d648c41a0 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnCustomDomainResource.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnCustomDomainResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Cdn.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_CdnCustomDomainResource { - // CustomDomains_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CustomDomainsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/CustomDomains_Get.json @@ -48,9 +48,8 @@ public async Task Get_CustomDomainsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CustomDomains_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CustomDomainsCreate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/CustomDomains_Create.json @@ -86,9 +85,8 @@ public async Task Update_CustomDomainsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CustomDomains_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CustomDomainsDelete() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/CustomDomains_Delete.json @@ -112,12 +110,11 @@ public async Task Delete_CustomDomainsDelete() // invoke the operation await cdnCustomDomain.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CustomDomains_DisableCustomHttps - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DisableCustomHttps_CustomDomainsDisableCustomHttps() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/CustomDomains_DisableCustomHttps.json @@ -149,9 +146,8 @@ public async Task DisableCustomHttps_CustomDomainsDisableCustomHttps() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task EnableCustomHttps_CustomDomainsEnableCustomHttpsUsingCDNManagedCertificate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json @@ -183,9 +179,8 @@ public async Task EnableCustomHttps_CustomDomainsEnableCustomHttpsUsingCDNManage Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CustomDomains_EnableCustomHttpsUsingYourOwnCertificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task EnableCustomHttps_CustomDomainsEnableCustomHttpsUsingYourOwnCertificate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnEndpointCollection.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnEndpointCollection.cs index 3c8f463b86226..e9d7e4fc7874d 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnEndpointCollection.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnEndpointCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_CdnEndpointCollection { - // Endpoints_ListByProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_EndpointsListByProfile() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Endpoints_ListByProfile.json @@ -48,12 +48,11 @@ public async Task GetAll_EndpointsListByProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Endpoints_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EndpointsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Endpoints_Get.json @@ -86,9 +85,8 @@ public async Task Get_EndpointsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Endpoints_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EndpointsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Endpoints_Get.json @@ -117,9 +115,8 @@ public async Task Exists_EndpointsGet() Console.WriteLine($"Succeeded: {result}"); } - // Endpoints_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EndpointsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Endpoints_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_EndpointsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_EndpointsGet() } } - // Endpoints_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EndpointsCreate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Endpoints_Create.json diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnEndpointResource.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnEndpointResource.cs index 164ffc411eaed..78708ad22b662 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnEndpointResource.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnEndpointResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Cdn.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_CdnEndpointResource { - // Endpoints_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EndpointsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Endpoints_Get.json @@ -47,9 +47,8 @@ public async Task Get_EndpointsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Endpoints_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_EndpointsUpdate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Endpoints_Update.json @@ -87,9 +86,8 @@ public async Task Update_EndpointsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Endpoints_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_EndpointsDelete() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Endpoints_Delete.json @@ -112,12 +110,11 @@ public async Task Delete_EndpointsDelete() // invoke the operation await cdnEndpoint.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Endpoints_Start - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_EndpointsStart() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Endpoints_Start.json @@ -148,9 +145,8 @@ public async Task Start_EndpointsStart() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Endpoints_Stop - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_EndpointsStop() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Endpoints_Stop.json @@ -181,9 +177,8 @@ public async Task Stop_EndpointsStop() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Endpoints_PurgeContent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PurgeContent_EndpointsPurgeContent() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Endpoints_PurgeContent.json @@ -210,12 +205,11 @@ public async Task PurgeContent_EndpointsPurgeContent() }); await cdnEndpoint.PurgeContentAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Endpoints_LoadContent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task LoadContent_EndpointsLoadContent() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Endpoints_LoadContent.json @@ -242,12 +236,11 @@ public async Task LoadContent_EndpointsLoadContent() }); await cdnEndpoint.LoadContentAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Endpoints_ValidateCustomDomain - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateCustomDomain_EndpointsValidateCustomDomain() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Endpoints_ValidateCustomDomain.json @@ -274,9 +267,8 @@ public async Task ValidateCustomDomain_EndpointsValidateCustomDomain() Console.WriteLine($"Succeeded: {result}"); } - // Endpoints_ListResourceUsage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResourceUsages_EndpointsListResourceUsage() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Endpoints_ListResourceUsage.json @@ -302,7 +294,7 @@ public async Task GetResourceUsages_EndpointsListResourceUsage() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnOriginCollection.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnOriginCollection.cs index 110660a6722ea..ab2a08307d33b 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnOriginCollection.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnOriginCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_CdnOriginCollection { - // Origins_ListByEndpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_OriginsListByEndpoint() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Origins_ListByEndpoint.json @@ -49,12 +49,11 @@ public async Task GetAll_OriginsListByEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Origins_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_OriginsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Origins_Get.json @@ -88,9 +87,8 @@ public async Task Get_OriginsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Origins_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_OriginsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Origins_Get.json @@ -120,9 +118,8 @@ public async Task Exists_OriginsGet() Console.WriteLine($"Succeeded: {result}"); } - // Origins_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_OriginsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Origins_Get.json @@ -152,7 +149,7 @@ public async Task GetIfExists_OriginsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_OriginsGet() } } - // Origins_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_OriginsCreate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Origins_Create.json diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnOriginGroupCollection.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnOriginGroupCollection.cs index c4ed86a9bcbfe..9a192bde37247 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnOriginGroupCollection.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnOriginGroupCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Cdn.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_CdnOriginGroupCollection { - // OriginsGroups_ListByEndpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_OriginsGroupsListByEndpoint() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/OriginGroups_ListByEndpoint.json @@ -51,12 +51,11 @@ public async Task GetAll_OriginsGroupsListByEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // OriginGroups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_OriginGroupsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/OriginGroups_Get.json @@ -90,9 +89,8 @@ public async Task Get_OriginGroupsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // OriginGroups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_OriginGroupsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/OriginGroups_Get.json @@ -122,9 +120,8 @@ public async Task Exists_OriginGroupsGet() Console.WriteLine($"Succeeded: {result}"); } - // OriginGroups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_OriginGroupsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/OriginGroups_Get.json @@ -154,7 +151,7 @@ public async Task GetIfExists_OriginGroupsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -166,9 +163,8 @@ public async Task GetIfExists_OriginGroupsGet() } } - // OriginGroups_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_OriginGroupsCreate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/OriginGroups_Create.json diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnOriginGroupResource.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnOriginGroupResource.cs index 4fb1451cdcc26..d823700929de2 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnOriginGroupResource.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnOriginGroupResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Cdn.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_CdnOriginGroupResource { - // OriginGroups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_OriginGroupsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/OriginGroups_Get.json @@ -49,9 +49,8 @@ public async Task Get_OriginGroupsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // OriginGroups_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_OriginGroupsUpdate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/OriginGroups_Update.json @@ -100,9 +99,8 @@ public async Task Update_OriginGroupsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // OriginGroups_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_OriginGroupsDelete() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/OriginGroups_Delete.json @@ -126,7 +124,7 @@ public async Task Delete_OriginGroupsDelete() // invoke the operation await cdnOriginGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnOriginResource.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnOriginResource.cs index d4e7c9cbcf73b..d5c7545d68a4b 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnOriginResource.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnOriginResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Cdn.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_CdnOriginResource { - // Origins_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_OriginsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Origins_Get.json @@ -48,9 +48,8 @@ public async Task Get_OriginsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Origins_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_OriginsUpdate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Origins_Update.json @@ -92,9 +91,8 @@ public async Task Update_OriginsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Origins_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_OriginsDelete() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Origins_Delete.json @@ -118,7 +116,7 @@ public async Task Delete_OriginsDelete() // invoke the operation await cdnOrigin.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnWebApplicationFirewallPolicyCollection.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnWebApplicationFirewallPolicyCollection.cs index 96109f0154f1d..a6b0d50a8af82 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnWebApplicationFirewallPolicyCollection.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnWebApplicationFirewallPolicyCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Cdn.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_CdnWebApplicationFirewallPolicyCollection { - // List Policies in a Resource Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPoliciesInAResourceGroup() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/WafListPolicies.json @@ -49,12 +49,11 @@ public async Task GetAll_ListPoliciesInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPolicy() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/WafPolicyGet.json @@ -86,9 +85,8 @@ public async Task Get_GetPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPolicy() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/WafPolicyGet.json @@ -116,9 +114,8 @@ public async Task Exists_GetPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Get Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPolicy() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/WafPolicyGet.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetPolicy() } } - // Creates specific policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesSpecificPolicy() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/WafPolicyCreateOrUpdate.json diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnWebApplicationFirewallPolicyResource.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnWebApplicationFirewallPolicyResource.cs index 6d3eb1f4ad7d8..6e39d4a8e4316 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnWebApplicationFirewallPolicyResource.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_CdnWebApplicationFirewallPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Cdn.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_CdnWebApplicationFirewallPolicyResource { - // Get Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPolicy() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/WafPolicyGet.json @@ -46,9 +46,8 @@ public async Task Get_GetPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates specific policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesSpecificPolicy() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/WafPatchPolicy.json @@ -85,9 +84,8 @@ public async Task Update_CreatesSpecificPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete protection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteProtectionPolicy() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/WafPolicyDelete.json @@ -109,7 +107,7 @@ public async Task Delete_DeleteProtectionPolicy() // invoke the operation await cdnWebApplicationFirewallPolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorCustomDomainCollection.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorCustomDomainCollection.cs index 46f1d4af63125..e0c048fdd1398 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorCustomDomainCollection.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorCustomDomainCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Cdn.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_FrontDoorCustomDomainCollection { - // AFDCustomDomains_ListByProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AFDCustomDomainsListByProfile() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDCustomDomains_ListByProfile.json @@ -49,12 +49,11 @@ public async Task GetAll_AFDCustomDomainsListByProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AFDCustomDomains_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AFDCustomDomainsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDCustomDomains_Get.json @@ -87,9 +86,8 @@ public async Task Get_AFDCustomDomainsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AFDCustomDomains_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AFDCustomDomainsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDCustomDomains_Get.json @@ -118,9 +116,8 @@ public async Task Exists_AFDCustomDomainsGet() Console.WriteLine($"Succeeded: {result}"); } - // AFDCustomDomains_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AFDCustomDomainsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDCustomDomains_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_AFDCustomDomainsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_AFDCustomDomainsGet() } } - // AFDCustomDomains_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AFDCustomDomainsCreate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDCustomDomains_Create.json diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorCustomDomainResource.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorCustomDomainResource.cs index 1cbbfe60a9a99..46cfc4c767885 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorCustomDomainResource.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorCustomDomainResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Cdn.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_FrontDoorCustomDomainResource { - // AFDCustomDomains_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AFDCustomDomainsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDCustomDomains_Get.json @@ -47,9 +47,8 @@ public async Task Get_AFDCustomDomainsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AFDCustomDomains_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AFDCustomDomainsUpdate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDCustomDomains_Update.json @@ -88,9 +87,8 @@ public async Task Update_AFDCustomDomainsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AFDCustomDomains_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AFDCustomDomainsDelete() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDCustomDomains_Delete.json @@ -113,12 +111,11 @@ public async Task Delete_AFDCustomDomainsDelete() // invoke the operation await frontDoorCustomDomain.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AFDCustomDomains_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RefreshValidationToken_AFDCustomDomainsDelete() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDCustomDomains_RefreshValidationToken.json @@ -141,7 +138,7 @@ public async Task RefreshValidationToken_AFDCustomDomainsDelete() // invoke the operation await frontDoorCustomDomain.RefreshValidationTokenAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorEndpointCollection.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorEndpointCollection.cs index f0fc65858f0e0..bb6242d1c3b39 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorEndpointCollection.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorEndpointCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_FrontDoorEndpointCollection { - // AFDEndpoints_ListByProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AFDEndpointsListByProfile() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDEndpoints_ListByProfile.json @@ -48,12 +48,11 @@ public async Task GetAll_AFDEndpointsListByProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AFDEndpoints_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AFDEndpointsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDEndpoints_Get.json @@ -86,9 +85,8 @@ public async Task Get_AFDEndpointsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AFDEndpoints_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AFDEndpointsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDEndpoints_Get.json @@ -117,9 +115,8 @@ public async Task Exists_AFDEndpointsGet() Console.WriteLine($"Succeeded: {result}"); } - // AFDEndpoints_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AFDEndpointsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDEndpoints_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_AFDEndpointsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_AFDEndpointsGet() } } - // AFDEndpoints_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AFDEndpointsCreate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDEndpoints_Create.json diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorEndpointResource.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorEndpointResource.cs index f8bf13210c74a..cdf73a0527a93 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorEndpointResource.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorEndpointResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Cdn.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_FrontDoorEndpointResource { - // AFDEndpoints_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AFDEndpointsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDEndpoints_Get.json @@ -47,9 +47,8 @@ public async Task Get_AFDEndpointsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AFDEndpoints_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AFDEndpointsUpdate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDEndpoints_Update.json @@ -87,9 +86,8 @@ public async Task Update_AFDEndpointsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AFDEndpoints_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AFDEndpointsDelete() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDEndpoints_Delete.json @@ -112,12 +110,11 @@ public async Task Delete_AFDEndpointsDelete() // invoke the operation await frontDoorEndpoint.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AFDEndpoints_PurgeContent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PurgeContent_AFDEndpointsPurgeContent() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDEndpoints_PurgeContent.json @@ -150,12 +147,11 @@ public async Task PurgeContent_AFDEndpointsPurgeContent() }; await frontDoorEndpoint.PurgeContentAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AFDEndpoints_ListResourceUsage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResourceUsages_AFDEndpointsListResourceUsage() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDEndpoints_ListResourceUsage.json @@ -181,12 +177,11 @@ public async Task GetResourceUsages_AFDEndpointsListResourceUsage() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Endpoints_ValidateCustomDomain - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateCustomDomain_EndpointsValidateCustomDomain() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDEndpoints_ValidateCustomDomain.json diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorOriginCollection.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorOriginCollection.cs index 7fba7e7df009f..1afc0266a02d8 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorOriginCollection.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorOriginCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Cdn.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_FrontDoorOriginCollection { - // AFDOrigins_ListByOriginGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AFDOriginsListByOriginGroup() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDOrigins_ListByOriginGroup.json @@ -50,12 +50,11 @@ public async Task GetAll_AFDOriginsListByOriginGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AFDOrigins_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AFDOriginsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDOrigins_Get.json @@ -89,9 +88,8 @@ public async Task Get_AFDOriginsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AFDOrigins_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AFDOriginsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDOrigins_Get.json @@ -121,9 +119,8 @@ public async Task Exists_AFDOriginsGet() Console.WriteLine($"Succeeded: {result}"); } - // AFDOrigins_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AFDOriginsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDOrigins_Get.json @@ -153,7 +150,7 @@ public async Task GetIfExists_AFDOriginsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_AFDOriginsGet() } } - // AFDOrigins_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AFDOriginsCreate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDOrigins_Create.json diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorOriginGroupCollection.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorOriginGroupCollection.cs index 443f639c03155..f9832cef5a5fd 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorOriginGroupCollection.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorOriginGroupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Cdn.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_FrontDoorOriginGroupCollection { - // AFDOriginGroups_ListByProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AFDOriginGroupsListByProfile() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDOriginGroups_ListByProfile.json @@ -49,12 +49,11 @@ public async Task GetAll_AFDOriginGroupsListByProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AFDOriginGroups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AFDOriginGroupsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDOriginGroups_Get.json @@ -87,9 +86,8 @@ public async Task Get_AFDOriginGroupsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AFDOriginGroups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AFDOriginGroupsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDOriginGroups_Get.json @@ -118,9 +116,8 @@ public async Task Exists_AFDOriginGroupsGet() Console.WriteLine($"Succeeded: {result}"); } - // AFDOriginGroups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AFDOriginGroupsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDOriginGroups_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_AFDOriginGroupsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_AFDOriginGroupsGet() } } - // AFDOriginGroups_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AFDOriginGroupsCreate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDOriginGroups_Create.json diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorOriginGroupResource.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorOriginGroupResource.cs index f3abca94ed94b..8e3c1c08c0fe4 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorOriginGroupResource.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorOriginGroupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Cdn.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_FrontDoorOriginGroupResource { - // AFDOriginGroups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AFDOriginGroupsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDOriginGroups_Get.json @@ -47,9 +47,8 @@ public async Task Get_AFDOriginGroupsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AFDOriginGroups_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AFDOriginGroupsUpdate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDOriginGroups_Update.json @@ -97,9 +96,8 @@ public async Task Update_AFDOriginGroupsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AFDOriginGroups_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AFDOriginGroupsDelete() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDOriginGroups_Delete.json @@ -122,12 +120,11 @@ public async Task Delete_AFDOriginGroupsDelete() // invoke the operation await frontDoorOriginGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AFDOriginGroups_ListResourceUsage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResourceUsages_AFDOriginGroupsListResourceUsage() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDOriginGroups_ListResourceUsage.json @@ -153,7 +150,7 @@ public async Task GetResourceUsages_AFDOriginGroupsListResourceUsage() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorOriginResource.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorOriginResource.cs index 2adef704dd60c..2a5e53bb70731 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorOriginResource.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorOriginResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Cdn.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_FrontDoorOriginResource { - // AFDOrigins_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AFDOriginsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDOrigins_Get.json @@ -48,9 +48,8 @@ public async Task Get_AFDOriginsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AFDOrigins_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AFDOriginsUpdate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDOrigins_Update.json @@ -89,9 +88,8 @@ public async Task Update_AFDOriginsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AFDOrigins_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AFDOriginsDelete() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDOrigins_Delete.json @@ -115,7 +113,7 @@ public async Task Delete_AFDOriginsDelete() // invoke the operation await frontDoorOrigin.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorRouteCollection.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorRouteCollection.cs index 71e94886e6b59..8b774a3fad536 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorRouteCollection.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorRouteCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Cdn.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_FrontDoorRouteCollection { - // Routes_ListByEndpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RoutesListByEndpoint() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Routes_ListByEndpoint.json @@ -51,12 +51,11 @@ public async Task GetAll_RoutesListByEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Routes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RoutesGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Routes_Get.json @@ -90,9 +89,8 @@ public async Task Get_RoutesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Routes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RoutesGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Routes_Get.json @@ -122,9 +120,8 @@ public async Task Exists_RoutesGet() Console.WriteLine($"Succeeded: {result}"); } - // Routes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RoutesGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Routes_Get.json @@ -154,7 +151,7 @@ public async Task GetIfExists_RoutesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -166,9 +163,8 @@ public async Task GetIfExists_RoutesGet() } } - // Routes_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RoutesCreate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Routes_Create.json diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorRouteResource.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorRouteResource.cs index 08b0c537f6807..393a0ba01d33b 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorRouteResource.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorRouteResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Cdn.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_FrontDoorRouteResource { - // Routes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RoutesGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Routes_Get.json @@ -49,9 +49,8 @@ public async Task Get_RoutesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Routes_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RoutesUpdate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Routes_Update.json @@ -126,9 +125,8 @@ public async Task Update_RoutesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Routes_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RoutesDelete() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Routes_Delete.json @@ -152,7 +150,7 @@ public async Task Delete_RoutesDelete() // invoke the operation await frontDoorRoute.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorRuleCollection.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorRuleCollection.cs index b94290dc284ad..221b557e34c2e 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorRuleCollection.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Cdn.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_FrontDoorRuleCollection { - // Rules_ListByRuleSet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RulesListByRuleSet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Rules_ListByRuleSet.json @@ -50,12 +50,11 @@ public async Task GetAll_RulesListByRuleSet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Rules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RulesGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Rules_Get.json @@ -89,9 +88,8 @@ public async Task Get_RulesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Rules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RulesGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Rules_Get.json @@ -121,9 +119,8 @@ public async Task Exists_RulesGet() Console.WriteLine($"Succeeded: {result}"); } - // Rules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RulesGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Rules_Get.json @@ -153,7 +150,7 @@ public async Task GetIfExists_RulesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_RulesGet() } } - // Rules_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RulesCreate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Rules_Create.json diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorRuleResource.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorRuleResource.cs index 7110ea87c537e..6035362c15336 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorRuleResource.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Cdn.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_FrontDoorRuleResource { - // Rules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RulesGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Rules_Get.json @@ -48,9 +48,8 @@ public async Task Get_RulesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Rules_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RulesUpdate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Rules_Update.json @@ -93,9 +92,8 @@ public async Task Update_RulesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Rules_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RulesDelete() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Rules_Delete.json @@ -119,7 +117,7 @@ public async Task Delete_RulesDelete() // invoke the operation await frontDoorRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorRuleSetCollection.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorRuleSetCollection.cs index b35a0c3ca1058..3501f2421f138 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorRuleSetCollection.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorRuleSetCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_FrontDoorRuleSetCollection { - // RuleSets_ListByProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RuleSetsListByProfile() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/RuleSets_ListByProfile.json @@ -48,12 +48,11 @@ public async Task GetAll_RuleSetsListByProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RuleSets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RuleSetsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/RuleSets_Get.json @@ -86,9 +85,8 @@ public async Task Get_RuleSetsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RuleSets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RuleSetsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/RuleSets_Get.json @@ -117,9 +115,8 @@ public async Task Exists_RuleSetsGet() Console.WriteLine($"Succeeded: {result}"); } - // RuleSets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RuleSetsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/RuleSets_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_RuleSetsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_RuleSetsGet() } } - // RuleSets_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RuleSetsCreate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/RuleSets_Create.json diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorRuleSetResource.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorRuleSetResource.cs index 1bd856decc6c5..9713b6495f75e 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorRuleSetResource.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorRuleSetResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Cdn.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_FrontDoorRuleSetResource { - // RuleSets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RuleSetsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/RuleSets_Get.json @@ -47,9 +47,8 @@ public async Task Get_RuleSetsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RuleSets_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RuleSetsCreate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/RuleSets_Create.json @@ -80,9 +79,8 @@ public async Task Update_RuleSetsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RuleSets_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RuleSetsDelete() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/RuleSets_Delete.json @@ -105,12 +103,11 @@ public async Task Delete_RuleSetsDelete() // invoke the operation await frontDoorRuleSet.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RuleSets_ListResourceUsage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResourceUsages_RuleSetsListResourceUsage() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/RuleSets_ListResourceUsage.json @@ -136,7 +133,7 @@ public async Task GetResourceUsages_RuleSetsListResourceUsage() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorSecretCollection.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorSecretCollection.cs index 807b1f13ff3d7..86ce600938e5c 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorSecretCollection.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorSecretCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Cdn.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_FrontDoorSecretCollection { - // Secrets_ListByProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SecretsListByProfile() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Secrets_ListByProfile.json @@ -50,12 +50,11 @@ public async Task GetAll_SecretsListByProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Secrets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SecretsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Secrets_Get.json @@ -88,9 +87,8 @@ public async Task Get_SecretsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Secrets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SecretsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Secrets_Get.json @@ -119,9 +117,8 @@ public async Task Exists_SecretsGet() Console.WriteLine($"Succeeded: {result}"); } - // Secrets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SecretsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Secrets_Get.json @@ -150,7 +147,7 @@ public async Task GetIfExists_SecretsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_SecretsGet() } } - // Secrets_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SecretsCreate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Secrets_Create.json diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorSecretResource.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorSecretResource.cs index 3b5fca61d823d..cca2aaf6b32a9 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorSecretResource.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorSecretResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Cdn.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_FrontDoorSecretResource { - // Secrets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SecretsGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Secrets_Get.json @@ -48,9 +48,8 @@ public async Task Get_SecretsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Secrets_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SecretsCreate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Secrets_Create.json @@ -92,9 +91,8 @@ public async Task Update_SecretsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Secrets_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SecretsDelete() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Secrets_Delete.json @@ -117,7 +115,7 @@ public async Task Delete_SecretsDelete() // invoke the operation await frontDoorSecret.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorSecurityPolicyCollection.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorSecurityPolicyCollection.cs index d5940d772e687..0c981a5c64d65 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorSecurityPolicyCollection.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorSecurityPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Cdn.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_FrontDoorSecurityPolicyCollection { - // SecurityPolicies_ListByProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SecurityPoliciesListByProfile() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/SecurityPolicies_ListByProfile.json @@ -49,12 +49,11 @@ public async Task GetAll_SecurityPoliciesListByProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SecurityPolicies_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SecurityPoliciesGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/SecurityPolicies_Get.json @@ -87,9 +86,8 @@ public async Task Get_SecurityPoliciesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SecurityPolicies_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SecurityPoliciesGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/SecurityPolicies_Get.json @@ -118,9 +116,8 @@ public async Task Exists_SecurityPoliciesGet() Console.WriteLine($"Succeeded: {result}"); } - // SecurityPolicies_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SecurityPoliciesGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/SecurityPolicies_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_SecurityPoliciesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_SecurityPoliciesGet() } } - // SecurityPolicies_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SecurityPoliciesCreate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/SecurityPolicies_Create.json diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorSecurityPolicyResource.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorSecurityPolicyResource.cs index dfe64a2a49e6e..76bf155345d35 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorSecurityPolicyResource.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_FrontDoorSecurityPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Cdn.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_FrontDoorSecurityPolicyResource { - // SecurityPolicies_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SecurityPoliciesGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/SecurityPolicies_Get.json @@ -47,9 +47,8 @@ public async Task Get_SecurityPoliciesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SecurityPolicies_Patch - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SecurityPoliciesPatch() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/SecurityPolicies_Patch.json @@ -107,9 +106,8 @@ public async Task Update_SecurityPoliciesPatch() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SecurityPolicies_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SecurityPoliciesDelete() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/SecurityPolicies_Delete.json @@ -132,7 +130,7 @@ public async Task Delete_SecurityPoliciesDelete() // invoke the operation await frontDoorSecurityPolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_ProfileCollection.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_ProfileCollection.cs index 2b9515ee4d075..1757c7a87ac35 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_ProfileCollection.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_ProfileCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Cdn.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_ProfileCollection { - // Profiles_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ProfilesListByResourceGroup() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Profiles_ListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ProfilesListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Profiles_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProfilesGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Profiles_Get.json @@ -86,9 +85,8 @@ public async Task Get_ProfilesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Profiles_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ProfilesGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Profiles_Get.json @@ -116,9 +114,8 @@ public async Task Exists_ProfilesGet() Console.WriteLine($"Succeeded: {result}"); } - // Profiles_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ProfilesGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Profiles_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_ProfilesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_ProfilesGet() } } - // Profiles_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ProfilesCreate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Profiles_Create.json diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_ProfileResource.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_ProfileResource.cs index ae9ab033a8e89..c85783e1ade59 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_ProfileResource.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_ProfileResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Cdn.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_ProfileResource { - // CheckEndpointNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckEndpointNameAvailabilityFrontDoorProfile_CheckEndpointNameAvailability() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDProfiles_CheckEndpointNameAvailability.json @@ -48,9 +48,8 @@ public async Task CheckEndpointNameAvailabilityFrontDoorProfile_CheckEndpointNam Console.WriteLine($"Succeeded: {result}"); } - // AFDProfiles_ListResourceUsage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFrontDoorProfileResourceUsages_AFDProfilesListResourceUsage() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDProfiles_ListResourceUsage.json @@ -75,12 +74,11 @@ public async Task GetFrontDoorProfileResourceUsages_AFDProfilesListResourceUsage Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AFDProfiles_CheckHostNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckFrontDoorProfileHostNameAvailability_AFDProfilesCheckHostNameAvailability() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDProfiles_CheckHostNameAvailability.json @@ -106,9 +104,8 @@ public async Task CheckFrontDoorProfileHostNameAvailability_AFDProfilesCheckHost Console.WriteLine($"Succeeded: {result}"); } - // Validate_Secret - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateSecretFrontDoorProfile_ValidateSecret() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDProfiles_ValidateSecret.json @@ -137,9 +134,8 @@ public async Task ValidateSecretFrontDoorProfile_ValidateSecret() Console.WriteLine($"Succeeded: {result}"); } - // AFDProfiles_Upgrade - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpgradeFrontDoorProfile_AFDProfilesUpgrade() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/AFDProfiles_Upgrade.json @@ -176,9 +172,8 @@ public async Task UpgradeFrontDoorProfile_AFDProfilesUpgrade() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LogAnalytics_GetLogAnalyticsRankings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLogAnalyticsRankings_LogAnalyticsGetLogAnalyticsRankings() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/LogAnalytics_GetLogAnalyticsRankings.json @@ -211,9 +206,8 @@ public async Task GetLogAnalyticsRankings_LogAnalyticsGetLogAnalyticsRankings() Console.WriteLine($"Succeeded: {result}"); } - // LogAnalytics_GetLogAnalyticsLocations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLogAnalyticsLocations_LogAnalyticsGetLogAnalyticsLocations() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/LogAnalytics_GetLogAnalyticsLocations.json @@ -238,9 +232,8 @@ public async Task GetLogAnalyticsLocations_LogAnalyticsGetLogAnalyticsLocations( Console.WriteLine($"Succeeded: {result}"); } - // LogAnalytics_GetLogAnalyticsResources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLogAnalyticsResources_LogAnalyticsGetLogAnalyticsResources() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/LogAnalytics_GetLogAnalyticsResources.json @@ -265,9 +258,8 @@ public async Task GetLogAnalyticsResources_LogAnalyticsGetLogAnalyticsResources( Console.WriteLine($"Succeeded: {result}"); } - // LogAnalytics_GetWafLogAnalyticsRankings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetWafLogAnalyticsRankings_LogAnalyticsGetWafLogAnalyticsRankings() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/LogAnalytics_GetWafLogAnalyticsRankings.json @@ -300,9 +292,8 @@ public async Task GetWafLogAnalyticsRankings_LogAnalyticsGetWafLogAnalyticsRanki Console.WriteLine($"Succeeded: {result}"); } - // Profiles_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetProfiles_ProfilesList() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Profiles_List.json @@ -329,12 +320,11 @@ public async Task GetProfiles_ProfilesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Profiles_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProfilesGet() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Profiles_Get.json @@ -363,9 +353,8 @@ public async Task Get_ProfilesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Profiles_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ProfilesUpdate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Profiles_Update.json @@ -402,9 +391,8 @@ public async Task Update_ProfilesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Profiles_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ProfilesDelete() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Profiles_Delete.json @@ -426,12 +414,11 @@ public async Task Delete_ProfilesDelete() // invoke the operation await profile.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Profiles_CanMigrate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CanMigrateProfile_ProfilesCanMigrate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Profiles_CanMigrate.json @@ -460,9 +447,8 @@ public async Task CanMigrateProfile_ProfilesCanMigrate() Console.WriteLine($"Succeeded: {result}"); } - // Profiles_Migrate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateProfile_ProfilesMigrate() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Profiles_Migrate.json @@ -494,9 +480,8 @@ public async Task MigrateProfile_ProfilesMigrate() Console.WriteLine($"Succeeded: {result}"); } - // Profiles_MigrationCommit - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrationCommit_ProfilesMigrationCommit() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Profiles_MigrationCommit.json @@ -518,12 +503,11 @@ public async Task MigrationCommit_ProfilesMigrationCommit() // invoke the operation await profile.MigrationCommitAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Profiles_GenerateSsoUri - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateSsoUri_ProfilesGenerateSsoUri() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Profiles_GenerateSsoUri.json @@ -548,9 +532,8 @@ public async Task GenerateSsoUri_ProfilesGenerateSsoUri() Console.WriteLine($"Succeeded: {result}"); } - // Profiles_ListSupportedOptimizationTypes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSupportedOptimizationTypes_ProfilesListSupportedOptimizationTypes() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Profiles_ListSupportedOptimizationTypes.json @@ -575,9 +558,8 @@ public async Task GetSupportedOptimizationTypes_ProfilesListSupportedOptimizatio Console.WriteLine($"Succeeded: {result}"); } - // Profiles_ListResourceUsage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResourceUsages_ProfilesListResourceUsage() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/Profiles_ListResourceUsage.json @@ -602,7 +584,7 @@ public async Task GetResourceUsages_ProfilesListResourceUsage() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs index c6229fc6c5eef..2f30db5bc0d9c 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Cdn.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_ResourceGroupResourceExtensions { - // CheckEndpointNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckEndpointNameAvailability_CheckEndpointNameAvailability() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/CheckEndpointNameAvailability.json diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index a20543804485c..71cd2ef27e189 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Cdn.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_SubscriptionResourceExtensions { - // CheckNameAvailabilityWithSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckCdnNameAvailabilityWithSubscription_CheckNameAvailabilityWithSubscription() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/CheckNameAvailabilityWithSubscription.json @@ -42,9 +42,8 @@ public async Task CheckCdnNameAvailabilityWithSubscription_CheckNameAvailability Console.WriteLine($"Succeeded: {result}"); } - // ValidateProbe - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateProbe_ValidateProbe() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/ValidateProbe.json @@ -68,9 +67,8 @@ public async Task ValidateProbe_ValidateProbe() Console.WriteLine($"Succeeded: {result}"); } - // ResourceUsage_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResourceUsages_ResourceUsageList() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/ResourceUsage_List.json @@ -93,12 +91,11 @@ public async Task GetResourceUsages_ResourceUsageList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Policies in a Resource Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagedRuleSets_ListPoliciesInAResourceGroup() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/WafListManagedRuleSets.json @@ -121,7 +118,7 @@ public async Task GetManagedRuleSets_ListPoliciesInAResourceGroup() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_TenantResourceExtensions.cs b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_TenantResourceExtensions.cs index 168579767211a..fe8e46143e37e 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_TenantResourceExtensions.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/samples/Generated/Samples/Sample_TenantResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Cdn.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Cdn.Samples { public partial class Sample_TenantResourceExtensions { - // CheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckCdnNameAvailability_CheckNameAvailability() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/CheckNameAvailability.json @@ -39,9 +39,8 @@ public async Task CheckCdnNameAvailability_CheckNameAvailability() Console.WriteLine($"Succeeded: {result}"); } - // EdgeNodes_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEdgeNodes_EdgeNodesList() { // Generated from example definition: specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-02-01/examples/EdgeNodes_List.json @@ -62,7 +61,7 @@ public async Task GetEdgeNodes_EdgeNodesList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosCapabilityCollection.cs b/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosCapabilityCollection.cs index 695d5043354fe..ad3ef47e22557 100644 --- a/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosCapabilityCollection.cs +++ b/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosCapabilityCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Chaos.Samples { public partial class Sample_ChaosCapabilityCollection { - // List all Capabilities that extend a virtual machine Target resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllCapabilitiesThatExtendAVirtualMachineTargetResource() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/ListCapabilities.json @@ -51,12 +51,11 @@ public async Task GetAll_ListAllCapabilitiesThatExtendAVirtualMachineTargetResou Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a Capability that extends a virtual machine Target resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACapabilityThatExtendsAVirtualMachineTargetResource() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/GetCapability.json @@ -92,9 +91,8 @@ public async Task Get_GetACapabilityThatExtendsAVirtualMachineTargetResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Capability that extends a virtual machine Target resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetACapabilityThatExtendsAVirtualMachineTargetResource() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/GetCapability.json @@ -126,9 +124,8 @@ public async Task Exists_GetACapabilityThatExtendsAVirtualMachineTargetResource( Console.WriteLine($"Succeeded: {result}"); } - // Get a Capability that extends a virtual machine Target resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetACapabilityThatExtendsAVirtualMachineTargetResource() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/GetCapability.json @@ -160,7 +157,7 @@ public async Task GetIfExists_GetACapabilityThatExtendsAVirtualMachineTargetReso if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -172,9 +169,8 @@ public async Task GetIfExists_GetACapabilityThatExtendsAVirtualMachineTargetReso } } - // Create/update a Capability that extends a virtual machine Target resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateUpdateACapabilityThatExtendsAVirtualMachineTargetResource() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/CreateUpdateCapability.json diff --git a/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosCapabilityResource.cs b/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosCapabilityResource.cs index ce48cee8b13c8..960a1549b3a95 100644 --- a/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosCapabilityResource.cs +++ b/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosCapabilityResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Chaos.Samples { public partial class Sample_ChaosCapabilityResource { - // Get a Capability that extends a virtual machine Target resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACapabilityThatExtendsAVirtualMachineTargetResource() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/GetCapability.json @@ -49,9 +49,8 @@ public async Task Get_GetACapabilityThatExtendsAVirtualMachineTargetResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a Capability that extends a virtual machine Target resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteACapabilityThatExtendsAVirtualMachineTargetResource() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/DeleteCapability.json @@ -77,12 +76,11 @@ public async Task Delete_DeleteACapabilityThatExtendsAVirtualMachineTargetResour // invoke the operation await chaosCapability.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create/update a Capability that extends a virtual machine Target resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateUpdateACapabilityThatExtendsAVirtualMachineTargetResource() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/CreateUpdateCapability.json diff --git a/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosCapabilityTypeCollection.cs b/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosCapabilityTypeCollection.cs index 64f1fb3f166d1..6b193afe70f62 100644 --- a/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosCapabilityTypeCollection.cs +++ b/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosCapabilityTypeCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Chaos.Samples { public partial class Sample_ChaosCapabilityTypeCollection { - // List all Capability Types for a virtual machine Target resource on westus2 location. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllCapabilityTypesForAVirtualMachineTargetResourceOnWestus2Location() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/ListCapabilityTypes.json @@ -48,12 +48,11 @@ public async Task GetAll_ListAllCapabilityTypesForAVirtualMachineTargetResourceO Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a Capability Type for a virtual machine Target resource on westus2 location. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACapabilityTypeForAVirtualMachineTargetResourceOnWestus2Location() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/GetCapabilityType.json @@ -86,9 +85,8 @@ public async Task Get_GetACapabilityTypeForAVirtualMachineTargetResourceOnWestus Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Capability Type for a virtual machine Target resource on westus2 location. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetACapabilityTypeForAVirtualMachineTargetResourceOnWestus2Location() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/GetCapabilityType.json @@ -117,9 +115,8 @@ public async Task Exists_GetACapabilityTypeForAVirtualMachineTargetResourceOnWes Console.WriteLine($"Succeeded: {result}"); } - // Get a Capability Type for a virtual machine Target resource on westus2 location. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetACapabilityTypeForAVirtualMachineTargetResourceOnWestus2Location() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/GetCapabilityType.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetACapabilityTypeForAVirtualMachineTargetResource if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosCapabilityTypeResource.cs b/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosCapabilityTypeResource.cs index e608c7626ffca..1d7cbb867c497 100644 --- a/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosCapabilityTypeResource.cs +++ b/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosCapabilityTypeResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Chaos.Samples { public partial class Sample_ChaosCapabilityTypeResource { - // Get a Capability Type for a virtual machine Target resource on westus2 location. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACapabilityTypeForAVirtualMachineTargetResourceOnWestus2Location() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/GetCapabilityType.json diff --git a/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosExperimentCollection.cs b/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosExperimentCollection.cs index 3d635414be23a..05ea01c6cea7d 100644 --- a/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosExperimentCollection.cs +++ b/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosExperimentCollection.cs @@ -13,14 +13,14 @@ using Azure.ResourceManager.Chaos.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Chaos.Samples { public partial class Sample_ChaosExperimentCollection { - // List all Experiments in a resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllExperimentsInAResourceGroup() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/ListExperimentsInAResourceGroup.json @@ -52,12 +52,11 @@ public async Task GetAll_ListAllExperimentsInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a Experiment in a resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAExperimentInAResourceGroup() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/GetExperiment.json @@ -89,9 +88,8 @@ public async Task Get_GetAExperimentInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Experiment in a resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAExperimentInAResourceGroup() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/GetExperiment.json @@ -119,9 +117,8 @@ public async Task Exists_GetAExperimentInAResourceGroup() Console.WriteLine($"Succeeded: {result}"); } - // Get a Experiment in a resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAExperimentInAResourceGroup() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/GetExperiment.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetAExperimentInAResourceGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetAExperimentInAResourceGroup() } } - // Create/update a Experiment in a resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateUpdateAExperimentInAResourceGroup() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/CreateUpdateExperiment.json diff --git a/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosExperimentExecutionCollection.cs b/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosExperimentExecutionCollection.cs index c964a9914ccb1..5f83950e3416e 100644 --- a/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosExperimentExecutionCollection.cs +++ b/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosExperimentExecutionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Chaos.Samples { public partial class Sample_ChaosExperimentExecutionCollection { - // List all executions of an Experiment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllExecutionsOfAnExperiment() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/ListExperimentExecutions.json @@ -48,12 +48,11 @@ public async Task GetAll_ListAllExecutionsOfAnExperiment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the execution of a Experiment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheExecutionOfAExperiment() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/GetExperimentExecution.json @@ -86,9 +85,8 @@ public async Task Get_GetTheExecutionOfAExperiment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the execution of a Experiment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheExecutionOfAExperiment() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/GetExperimentExecution.json @@ -117,9 +115,8 @@ public async Task Exists_GetTheExecutionOfAExperiment() Console.WriteLine($"Succeeded: {result}"); } - // Get the execution of a Experiment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheExecutionOfAExperiment() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/GetExperimentExecution.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetTheExecutionOfAExperiment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosExperimentExecutionResource.cs b/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosExperimentExecutionResource.cs index d9cdedfa1a498..e27d10e20256b 100644 --- a/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosExperimentExecutionResource.cs +++ b/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosExperimentExecutionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Chaos.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Chaos.Samples { public partial class Sample_ChaosExperimentExecutionResource { - // Get the execution of a Experiment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheExecutionOfAExperiment() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/GetExperimentExecution.json @@ -47,9 +47,8 @@ public async Task Get_GetTheExecutionOfAExperiment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get experiment execution details. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExecutionDetails_GetExperimentExecutionDetails() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/DetailsExperiment.json diff --git a/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosExperimentResource.cs b/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosExperimentResource.cs index 5d2bdd8a4246d..8bb798f786668 100644 --- a/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosExperimentResource.cs +++ b/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosExperimentResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Chaos.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Chaos.Samples { public partial class Sample_ChaosExperimentResource { - // List all Experiments in a subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetChaosExperiments_ListAllExperimentsInASubscription() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/ListExperimentsInASubscription.json @@ -47,12 +47,11 @@ public async Task GetChaosExperiments_ListAllExperimentsInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Delete a Experiment in a resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAExperimentInAResourceGroup() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/DeleteExperiment.json @@ -74,12 +73,11 @@ public async Task Delete_DeleteAExperimentInAResourceGroup() // invoke the operation await chaosExperiment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a Experiment in a resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAExperimentInAResourceGroup() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/GetExperiment.json @@ -108,9 +106,8 @@ public async Task Get_GetAExperimentInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update an Experiment in a resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAnExperimentInAResourceGroup() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/UpdateExperiment.json @@ -155,9 +152,8 @@ public async Task Update_UpdateAnExperimentInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Cancel a running Experiment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cancel_CancelARunningExperiment() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/CancelExperiment.json @@ -179,12 +175,11 @@ public async Task Cancel_CancelARunningExperiment() // invoke the operation await chaosExperiment.CancelAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Start a Experiment. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_StartAExperiment() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/StartExperiment.json @@ -206,7 +201,7 @@ public async Task Start_StartAExperiment() // invoke the operation await chaosExperiment.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosTargetCollection.cs b/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosTargetCollection.cs index 063e03929f948..23691498dc873 100644 --- a/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosTargetCollection.cs +++ b/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosTargetCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Chaos.Samples { public partial class Sample_ChaosTargetCollection { - // List all Targets that extend a virtual machine resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllTargetsThatExtendAVirtualMachineResource() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/ListTargets.json @@ -53,12 +53,11 @@ public async Task GetAll_ListAllTargetsThatExtendAVirtualMachineResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a Target that extends a virtual machine resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetATargetThatExtendsAVirtualMachineResource() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/GetTarget.json @@ -93,9 +92,8 @@ public async Task Get_GetATargetThatExtendsAVirtualMachineResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Target that extends a virtual machine resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetATargetThatExtendsAVirtualMachineResource() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/GetTarget.json @@ -126,9 +124,8 @@ public async Task Exists_GetATargetThatExtendsAVirtualMachineResource() Console.WriteLine($"Succeeded: {result}"); } - // Get a Target that extends a virtual machine resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetATargetThatExtendsAVirtualMachineResource() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/GetTarget.json @@ -159,7 +156,7 @@ public async Task GetIfExists_GetATargetThatExtendsAVirtualMachineResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -171,9 +168,8 @@ public async Task GetIfExists_GetATargetThatExtendsAVirtualMachineResource() } } - // Create/update a Target that extends a virtual machine resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateUpdateATargetThatExtendsAVirtualMachineResource() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/CreateUpdateTarget.json diff --git a/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosTargetResource.cs b/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosTargetResource.cs index 8ac1c6e5c4734..27bd7602b05e2 100644 --- a/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosTargetResource.cs +++ b/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosTargetResource.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Chaos.Samples { public partial class Sample_ChaosTargetResource { - // Get a Target that extends a virtual machine resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetATargetThatExtendsAVirtualMachineResource() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/GetTarget.json @@ -49,9 +49,8 @@ public async Task Get_GetATargetThatExtendsAVirtualMachineResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a Target that extends a virtual machine resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteATargetThatExtendsAVirtualMachineResource() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/DeleteTarget.json @@ -76,12 +75,11 @@ public async Task Delete_DeleteATargetThatExtendsAVirtualMachineResource() // invoke the operation await chaosTarget.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create/update a Target that extends a virtual machine resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateUpdateATargetThatExtendsAVirtualMachineResource() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/CreateUpdateTarget.json diff --git a/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosTargetTypeCollection.cs b/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosTargetTypeCollection.cs index 64704584876b0..010929c9571be 100644 --- a/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosTargetTypeCollection.cs +++ b/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosTargetTypeCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Chaos.Samples { public partial class Sample_ChaosTargetTypeCollection { - // List all Target Types for westus2 location. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllTargetTypesForWestus2Location() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/ListTargetTypes.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAllTargetTypesForWestus2Location() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a Target Type for westus2 location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetATargetTypeForWestus2Location() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/GetTargetType.json @@ -86,9 +85,8 @@ public async Task Get_GetATargetTypeForWestus2Location() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Target Type for westus2 location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetATargetTypeForWestus2Location() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/GetTargetType.json @@ -116,9 +114,8 @@ public async Task Exists_GetATargetTypeForWestus2Location() Console.WriteLine($"Succeeded: {result}"); } - // Get a Target Type for westus2 location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetATargetTypeForWestus2Location() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/GetTargetType.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetATargetTypeForWestus2Location() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosTargetTypeResource.cs b/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosTargetTypeResource.cs index ef8c37a1c08f9..f1e0a1ccc6ce4 100644 --- a/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosTargetTypeResource.cs +++ b/sdk/chaos/Azure.ResourceManager.Chaos/samples/Generated/Samples/Sample_ChaosTargetTypeResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Chaos.Samples { public partial class Sample_ChaosTargetTypeResource { - // Get a Target Type for westus2 location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetATargetTypeForWestus2Location() { // Generated from example definition: specification/chaos/resource-manager/Microsoft.Chaos/stable/2024-01-01/examples/GetTargetType.json diff --git a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesAccountCollection.cs b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesAccountCollection.cs index ae6a6dc979f5f..b8517ca82ab8e 100644 --- a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesAccountCollection.cs +++ b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesAccountCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.CognitiveServices.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.CognitiveServices.Samples { public partial class Sample_CognitiveServicesAccountCollection { - // Create Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAccount() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/CreateAccount.json @@ -78,9 +78,8 @@ public async Task CreateOrUpdate_CreateAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Account Min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAccountMin() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/CreateAccountMin.json @@ -120,9 +119,8 @@ public async Task CreateOrUpdate_CreateAccountMin() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAccount() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetAccount.json @@ -154,9 +152,8 @@ public async Task Get_GetAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAccount() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetAccount.json @@ -184,9 +181,8 @@ public async Task Exists_GetAccount() Console.WriteLine($"Succeeded: {result}"); } - // Get Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAccount() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetAccount.json @@ -214,7 +210,7 @@ public async Task GetIfExists_GetAccount() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -226,9 +222,8 @@ public async Task GetIfExists_GetAccount() } } - // List Accounts by Resource Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAccountsByResourceGroup() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/ListAccountsByResourceGroup.json @@ -259,7 +254,7 @@ public async Task GetAll_ListAccountsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesAccountDeploymentCollection.cs b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesAccountDeploymentCollection.cs index 04f9ce8700735..68f627cd0ab83 100644 --- a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesAccountDeploymentCollection.cs +++ b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesAccountDeploymentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CognitiveServices.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CognitiveServices.Samples { public partial class Sample_CognitiveServicesAccountDeploymentCollection { - // ListDeployments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDeployments() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/ListDeployments.json @@ -49,12 +49,11 @@ public async Task GetAll_ListDeployments() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetDeployment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDeployment() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetDeployment.json @@ -87,9 +86,8 @@ public async Task Get_GetDeployment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetDeployment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDeployment() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetDeployment.json @@ -118,9 +116,8 @@ public async Task Exists_GetDeployment() Console.WriteLine($"Succeeded: {result}"); } - // GetDeployment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDeployment() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetDeployment.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetDeployment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetDeployment() } } - // PutDeployment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutDeployment() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/PutDeployment.json diff --git a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesAccountDeploymentResource.cs b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesAccountDeploymentResource.cs index 57fbf82748fb2..bce6c981885d7 100644 --- a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesAccountDeploymentResource.cs +++ b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesAccountDeploymentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CognitiveServices.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CognitiveServices.Samples { public partial class Sample_CognitiveServicesAccountDeploymentResource { - // GetDeployment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDeployment() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetDeployment.json @@ -47,9 +47,8 @@ public async Task Get_GetDeployment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PutDeployment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PutDeployment() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/PutDeployment.json @@ -97,9 +96,8 @@ public async Task Update_PutDeployment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteDeployment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteDeployment() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/DeleteDeployment.json @@ -122,7 +120,7 @@ public async Task Delete_DeleteDeployment() // invoke the operation await cognitiveServicesAccountDeployment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesAccountResource.cs b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesAccountResource.cs index 01ff3fbc84670..ea26f5379362d 100644 --- a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesAccountResource.cs +++ b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesAccountResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.CognitiveServices.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.CognitiveServices.Samples { public partial class Sample_CognitiveServicesAccountResource { - // Update Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAccount() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/UpdateAccount.json @@ -52,9 +52,8 @@ public async Task Update_UpdateAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAccount() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/DeleteAccount.json @@ -76,12 +75,11 @@ public async Task Delete_DeleteAccount() // invoke the operation await cognitiveServicesAccount.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAccount() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetAccount.json @@ -110,9 +108,8 @@ public async Task Get_GetAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List Accounts by Subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCognitiveServicesAccounts_ListAccountsBySubscription() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/ListAccountsBySubscription.json @@ -139,12 +136,11 @@ public async Task GetCognitiveServicesAccounts_ListAccountsBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Keys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_ListKeys() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/ListKeys.json @@ -169,9 +165,8 @@ public async Task GetKeys_ListKeys() Console.WriteLine($"Succeeded: {result}"); } - // Regenerate Keys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKey_RegenerateKeys() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/RegenerateKey.json @@ -197,9 +192,8 @@ public async Task RegenerateKey_RegenerateKeys() Console.WriteLine($"Succeeded: {result}"); } - // List SKUs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSkus_ListSKUs() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/ListSkus.json @@ -224,12 +218,11 @@ public async Task GetSkus_ListSKUs() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Usages - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsages_GetUsages() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetUsages.json @@ -254,12 +247,11 @@ public async Task GetUsages_GetUsages() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List AccountModels - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetModels_ListAccountModels() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/ListAccountModels.json @@ -284,12 +276,11 @@ public async Task GetModels_ListAccountModels() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListPrivateLinkResources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinkResources_ListPrivateLinkResources() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/ListPrivateLinkResources.json @@ -314,7 +305,7 @@ public async Task GetPrivateLinkResources_ListPrivateLinkResources() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesCommitmentPlanCollection.cs b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesCommitmentPlanCollection.cs index e6ac7a25620d9..a8de6972d5312 100644 --- a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesCommitmentPlanCollection.cs +++ b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesCommitmentPlanCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.CognitiveServices.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.CognitiveServices.Samples { public partial class Sample_CognitiveServicesCommitmentPlanCollection { - // Create Commitment Plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateCommitmentPlan() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/CreateSharedCommitmentPlan.json @@ -67,9 +67,8 @@ public async Task CreateOrUpdate_CreateCommitmentPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Commitment Plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCommitmentPlan() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetSharedCommitmentPlan.json @@ -101,9 +100,8 @@ public async Task Get_GetCommitmentPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Commitment Plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCommitmentPlan() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetSharedCommitmentPlan.json @@ -131,9 +129,8 @@ public async Task Exists_GetCommitmentPlan() Console.WriteLine($"Succeeded: {result}"); } - // Get Commitment Plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCommitmentPlan() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetSharedCommitmentPlan.json @@ -161,7 +158,7 @@ public async Task GetIfExists_GetCommitmentPlan() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -173,9 +170,8 @@ public async Task GetIfExists_GetCommitmentPlan() } } - // List Commitment Plans by Resource Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCommitmentPlansByResourceGroup() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/ListSharedCommitmentPlansByResourceGroup.json @@ -206,7 +202,7 @@ public async Task GetAll_ListCommitmentPlansByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesCommitmentPlanResource.cs b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesCommitmentPlanResource.cs index a5cf3a9f02bb6..cad915ceb2f15 100644 --- a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesCommitmentPlanResource.cs +++ b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesCommitmentPlanResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.CognitiveServices.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.CognitiveServices.Samples { public partial class Sample_CognitiveServicesCommitmentPlanResource { - // Create Commitment Plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateCommitmentPlan() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/UpdateSharedCommitmentPlan.json @@ -55,9 +55,8 @@ public async Task Update_CreateCommitmentPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Commitment Plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteCommitmentPlan() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/DeleteSharedCommitmentPlan.json @@ -79,12 +78,11 @@ public async Task Delete_DeleteCommitmentPlan() // invoke the operation await cognitiveServicesCommitmentPlan.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Commitment Plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCommitmentPlan() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetSharedCommitmentPlan.json @@ -113,9 +111,8 @@ public async Task Get_GetCommitmentPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List Accounts by Subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCognitiveServicesCommitmentPlans_ListAccountsBySubscription() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/ListSharedCommitmentPlansBySubscription.json @@ -142,7 +139,7 @@ public async Task GetCognitiveServicesCommitmentPlans_ListAccountsBySubscription Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesDeletedAccountCollection.cs b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesDeletedAccountCollection.cs index 6db3e6b12e240..2c6f1cd4ce91b 100644 --- a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesDeletedAccountCollection.cs +++ b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesDeletedAccountCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.CognitiveServices.Samples { public partial class Sample_CognitiveServicesDeletedAccountCollection { - // Get Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAccount() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetDeletedAccount.json @@ -50,9 +50,8 @@ public async Task Get_GetAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAccount() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetDeletedAccount.json @@ -81,9 +80,8 @@ public async Task Exists_GetAccount() Console.WriteLine($"Succeeded: {result}"); } - // Get Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAccount() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetDeletedAccount.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetAccount() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesDeletedAccountResource.cs b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesDeletedAccountResource.cs index 02e0acb3a5b25..f28b1be64ef5a 100644 --- a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesDeletedAccountResource.cs +++ b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesDeletedAccountResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.CognitiveServices.Samples { public partial class Sample_CognitiveServicesDeletedAccountResource { - // Get Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAccount() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetDeletedAccount.json @@ -47,9 +47,8 @@ public async Task Get_GetAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAccount() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/PurgeDeletedAccount.json @@ -72,12 +71,11 @@ public async Task Delete_DeleteAccount() // invoke the operation await cognitiveServicesDeletedAccount.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Deleted Accounts by Subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeletedAccounts_ListDeletedAccountsBySubscription() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/ListDeletedAccountsBySubscription.json @@ -104,7 +102,7 @@ public async Task GetDeletedAccounts_ListDeletedAccountsBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesPrivateEndpointConnectionCollection.cs b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesPrivateEndpointConnectionCollection.cs index dd2ed1a15f8c9..62cbf044b556d 100644 --- a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesPrivateEndpointConnectionCollection.cs +++ b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesPrivateEndpointConnectionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CognitiveServices.Samples { public partial class Sample_CognitiveServicesPrivateEndpointConnectionCollection { - // GetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetPrivateEndpointConnection() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/ListPrivateEndpointConnections.json @@ -48,12 +48,11 @@ public async Task GetAll_GetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateEndpointConnection() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetPrivateEndpointConnection.json @@ -86,9 +85,8 @@ public async Task Get_GetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPrivateEndpointConnection() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetPrivateEndpointConnection.json @@ -117,9 +115,8 @@ public async Task Exists_GetPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // GetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPrivateEndpointConnection() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetPrivateEndpointConnection.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesPrivateEndpointConnectionResource.cs b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesPrivateEndpointConnectionResource.cs index ac1170ee8b3c8..3733e35f396c7 100644 --- a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesPrivateEndpointConnectionResource.cs +++ b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CognitiveServicesPrivateEndpointConnectionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CognitiveServices.Samples { public partial class Sample_CognitiveServicesPrivateEndpointConnectionResource { - // GetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateEndpointConnection() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetPrivateEndpointConnection.json @@ -46,9 +46,8 @@ public async Task Get_GetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeletePrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletePrivateEndpointConnection() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/DeletePrivateEndpointConnection.json @@ -71,7 +70,7 @@ public async Task Delete_DeletePrivateEndpointConnection() // invoke the operation await cognitiveServicesPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CommitmentPlanAccountAssociationCollection.cs b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CommitmentPlanAccountAssociationCollection.cs index f22d1ead4ee63..3d4f57a752c5c 100644 --- a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CommitmentPlanAccountAssociationCollection.cs +++ b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CommitmentPlanAccountAssociationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CognitiveServices.Samples { public partial class Sample_CommitmentPlanAccountAssociationCollection { - // ListCommitmentPlans - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCommitmentPlans() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/ListSharedCommitmentPlanAssociations.json @@ -48,12 +48,11 @@ public async Task GetAll_ListCommitmentPlans() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetCommitmentPlan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCommitmentPlan() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetSharedCommitmentPlanAssociation.json @@ -86,9 +85,8 @@ public async Task Get_GetCommitmentPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetCommitmentPlan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCommitmentPlan() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetSharedCommitmentPlanAssociation.json @@ -117,9 +115,8 @@ public async Task Exists_GetCommitmentPlan() Console.WriteLine($"Succeeded: {result}"); } - // GetCommitmentPlan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCommitmentPlan() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetSharedCommitmentPlanAssociation.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetCommitmentPlan() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GetCommitmentPlan() } } - // PutCommitmentPlan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutCommitmentPlan() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/CreateSharedCommitmentPlanAssociation.json diff --git a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CommitmentPlanAccountAssociationResource.cs b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CommitmentPlanAccountAssociationResource.cs index aef0f054ebdd3..3606935a92a6f 100644 --- a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CommitmentPlanAccountAssociationResource.cs +++ b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CommitmentPlanAccountAssociationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CognitiveServices.Samples { public partial class Sample_CommitmentPlanAccountAssociationResource { - // GetCommitmentPlan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCommitmentPlan() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetSharedCommitmentPlanAssociation.json @@ -46,9 +46,8 @@ public async Task Get_GetCommitmentPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PutCommitmentPlan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PutCommitmentPlan() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/CreateSharedCommitmentPlanAssociation.json @@ -83,9 +82,8 @@ public async Task Update_PutCommitmentPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteCommitmentPlan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteCommitmentPlan() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/DeleteSharedCommitmentPlanAssociation.json @@ -108,7 +106,7 @@ public async Task Delete_DeleteCommitmentPlan() // invoke the operation await commitmentPlanAccountAssociation.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CommitmentPlanCollection.cs b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CommitmentPlanCollection.cs index cf7f1095e934d..e9c315638fba2 100644 --- a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CommitmentPlanCollection.cs +++ b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CommitmentPlanCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CognitiveServices.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CognitiveServices.Samples { public partial class Sample_CommitmentPlanCollection { - // ListCommitmentPlans - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCommitmentPlans() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/ListCommitmentPlans.json @@ -49,12 +49,11 @@ public async Task GetAll_ListCommitmentPlans() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetCommitmentPlan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCommitmentPlan() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetCommitmentPlan.json @@ -87,9 +86,8 @@ public async Task Get_GetCommitmentPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetCommitmentPlan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCommitmentPlan() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetCommitmentPlan.json @@ -118,9 +116,8 @@ public async Task Exists_GetCommitmentPlan() Console.WriteLine($"Succeeded: {result}"); } - // GetCommitmentPlan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCommitmentPlan() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetCommitmentPlan.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetCommitmentPlan() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetCommitmentPlan() } } - // PutCommitmentPlan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutCommitmentPlan() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/PutCommitmentPlan.json diff --git a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CommitmentPlanResource.cs b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CommitmentPlanResource.cs index 7321d9172339d..b728449d6ecae 100644 --- a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CommitmentPlanResource.cs +++ b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_CommitmentPlanResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CognitiveServices.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CognitiveServices.Samples { public partial class Sample_CommitmentPlanResource { - // GetCommitmentPlan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCommitmentPlan() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetCommitmentPlan.json @@ -47,9 +47,8 @@ public async Task Get_GetCommitmentPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PutCommitmentPlan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PutCommitmentPlan() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/PutCommitmentPlan.json @@ -93,9 +92,8 @@ public async Task Update_PutCommitmentPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteCommitmentPlan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteCommitmentPlan() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/DeleteCommitmentPlan.json @@ -118,7 +116,7 @@ public async Task Delete_DeleteCommitmentPlan() // invoke the operation await commitmentPlan.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 2c8ed3909c228..41c3ef0f0d62d 100644 --- a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.CognitiveServices.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.CognitiveServices.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Regenerate Keys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResourceSkus_RegenerateKeys() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/GetSkus.json @@ -41,12 +41,11 @@ public async Task GetResourceSkus_RegenerateKeys() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Usages - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsages_GetUsages() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/ListUsages.json @@ -70,12 +69,11 @@ public async Task GetUsages_GetUsages() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Check SKU Availability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckSkuAvailability_CheckSKUAvailability() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/CheckSkuAvailability.json @@ -103,12 +101,11 @@ public async Task CheckSkuAvailability_CheckSKUAvailability() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Check SKU Availability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckDomainAvailability_CheckSKUAvailability() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/CheckDomainAvailability.json @@ -132,9 +129,8 @@ public async Task CheckDomainAvailability_CheckSKUAvailability() Console.WriteLine($"Succeeded: {result}"); } - // ListCommitmentTiers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCommitmentTiers_ListCommitmentTiers() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/ListCommitmentTiers.json @@ -158,12 +154,11 @@ public async Task GetCommitmentTiers_ListCommitmentTiers() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListModels - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetModels_ListModels() { // Generated from example definition: specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2023-05-01/examples/ListModels.json @@ -187,7 +182,7 @@ public async Task GetModels_ListModels() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } From 9f577f1d1f7ca4c0ada5e975418932df7eeddb59 Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Tue, 12 Nov 2024 03:45:51 +0000 Subject: [PATCH 6/8] Update SDK codes ma_pu_4 --- .../Sample_MarketplaceAgreementCollection.cs | 18 +- .../Sample_MarketplaceAgreementResource.cs | 16 +- ...mple_MarketplaceAgreementTermCollection.cs | 23 +-- ...Sample_MarketplaceAgreementTermResource.cs | 11 +- .../Sample_ContentKeyPolicyCollection.cs | 59 +++--- .../Sample_ContentKeyPolicyResource.cs | 23 +-- .../Samples/Sample_MediaAssetCollection.cs | 49 +++-- .../Sample_MediaAssetFilterCollection.cs | 30 ++- .../Sample_MediaAssetFilterResource.cs | 18 +- .../Samples/Sample_MediaAssetResource.cs | 37 ++-- .../Sample_MediaAssetTrackCollection.cs | 30 ++- .../Samples/Sample_MediaAssetTrackResource.cs | 25 ++- .../Samples/Sample_MediaJobCollection.cs | 72 ++++---- .../Samples/Sample_MediaJobResource.cs | 25 ++- .../Sample_MediaLiveEventCollection.cs | 30 ++- .../Samples/Sample_MediaLiveEventResource.cs | 46 ++--- .../Sample_MediaLiveOutputCollection.cs | 30 ++- .../Samples/Sample_MediaLiveOutputResource.cs | 18 +- .../Sample_MediaServicesAccountCollection.cs | 35 ++-- ...le_MediaServicesAccountFilterCollection.cs | 30 ++- ...mple_MediaServicesAccountFilterResource.cs | 18 +- .../Sample_MediaServicesAccountResource.cs | 37 ++-- ...icesPrivateEndpointConnectionCollection.cs | 30 ++- ...rvicesPrivateEndpointConnectionResource.cs | 18 +- ...Sample_MediaServicesPrivateLinkResource.cs | 6 +- ...iaServicesPrivateLinkResourceCollection.cs | 25 ++- .../Sample_MediaTransformCollection.cs | 51 +++--- .../Samples/Sample_MediaTransformResource.cs | 18 +- .../Sample_StreamingEndpointCollection.cs | 30 ++- .../Sample_StreamingEndpointResource.cs | 46 ++--- .../Sample_StreamingLocatorCollection.cs | 40 ++-- .../Sample_StreamingLocatorResource.cs | 45 ++--- .../Sample_StreamingPolicyCollection.cs | 60 +++--- .../Samples/Sample_StreamingPolicyResource.cs | 48 ++--- .../Sample_SubscriptionResourceExtensions.cs | 6 +- ...le_SapDiscoveryServerInstanceCollection.cs | 30 ++- ...mple_SapDiscoveryServerInstanceResource.cs | 18 +- .../Sample_SapDiscoverySiteCollection.cs | 30 ++- .../Sample_SapDiscoverySiteResource.cs | 30 ++- .../Samples/Sample_SapInstanceCollection.cs | 30 ++- .../Samples/Sample_SapInstanceResource.cs | 18 +- ...Sample_RemoteRenderingAccountCollection.cs | 30 ++- .../Sample_RemoteRenderingAccountResource.cs | 35 ++-- .../Sample_SpatialAnchorsAccountCollection.cs | 30 ++- .../Sample_SpatialAnchorsAccountResource.cs | 35 ++-- .../Sample_SubscriptionResourceExtensions.cs | 6 +- .../Sample_ExtendedUEInfoCollection.cs | 35 ++-- .../Samples/Sample_ExtendedUEInfoResource.cs | 11 +- ...ple_MobileAttachedDataNetworkCollection.cs | 30 ++- ...ample_MobileAttachedDataNetworkResource.cs | 18 +- .../Sample_MobileDataNetworkCollection.cs | 30 ++- .../Sample_MobileDataNetworkResource.cs | 18 +- .../Samples/Sample_MobileNetworkCollection.cs | 30 ++- ...bileNetworkDiagnosticsPackageCollection.cs | 30 ++- ...MobileNetworkDiagnosticsPackageResource.cs | 18 +- ...le_MobileNetworkPacketCaptureCollection.cs | 30 ++- ...mple_MobileNetworkPacketCaptureResource.cs | 23 +-- .../Samples/Sample_MobileNetworkResource.cs | 32 ++-- ...Sample_MobileNetworkRoutingInfoResource.cs | 6 +- .../Sample_MobileNetworkServiceCollection.cs | 30 ++- .../Sample_MobileNetworkServiceResource.cs | 18 +- .../Sample_MobileNetworkSimCollection.cs | 30 ++- .../Sample_MobileNetworkSimGroupCollection.cs | 30 ++- .../Sample_MobileNetworkSimGroupResource.cs | 50 +++-- ...Sample_MobileNetworkSimPolicyCollection.cs | 30 ++- .../Sample_MobileNetworkSimPolicyResource.cs | 18 +- .../Sample_MobileNetworkSimResource.cs | 18 +- .../Sample_MobileNetworkSiteCollection.cs | 30 ++- .../Sample_MobileNetworkSiteResource.cs | 25 ++- .../Sample_MobileNetworkSliceCollection.cs | 30 ++- .../Sample_MobileNetworkSliceResource.cs | 18 +- ...Sample_PacketCoreControlPlaneCollection.cs | 30 ++- .../Sample_PacketCoreControlPlaneResource.cs | 47 ++--- .../Sample_PacketCoreDataPlaneCollection.cs | 30 ++- .../Sample_PacketCoreDataPlaneResource.cs | 18 +- ...PacketCoreControlPlaneVersionCollection.cs | 25 ++- ...onPacketCoreControlPlaneVersionResource.cs | 6 +- ...PacketCoreControlPlaneVersionCollection.cs | 25 ++- ...ntPacketCoreControlPlaneVersionResource.cs | 6 +- .../Samples/Sample_MongoClusterCollection.cs | 40 ++-- ...mple_MongoClusterFirewallRuleCollection.cs | 30 ++- ...Sample_MongoClusterFirewallRuleResource.cs | 18 +- ...lusterPrivateEndpointConnectionResource.cs | 18 +- ...ateEndpointConnectionResourceCollection.cs | 30 ++- .../Samples/Sample_MongoClusterResource.cs | 76 ++++---- .../Samples/Sample_ActionGroupCollection.cs | 30 ++- .../Samples/Sample_ActionGroupResource.cs | 42 ++--- .../Sample_ActivityLogAlertCollection.cs | 40 ++-- .../Sample_ActivityLogAlertResource.cs | 25 ++- .../Samples/Sample_AlertRuleCollection.cs | 30 ++- .../Samples/Sample_AlertRuleResource.cs | 37 ++-- .../Sample_AutoscaleSettingCollection.cs | 30 ++- .../Sample_AutoscaleSettingResource.cs | 30 ++- ...Sample_DataCollectionEndpointCollection.cs | 30 ++- .../Sample_DataCollectionEndpointResource.cs | 32 ++-- ...DataCollectionRuleAssociationCollection.cs | 30 ++- ...e_DataCollectionRuleAssociationResource.cs | 18 +- .../Sample_DataCollectionRuleCollection.cs | 30 ++- .../Sample_DataCollectionRuleResource.cs | 32 ++-- .../Sample_DiagnosticSettingCollection.cs | 59 +++--- .../Sample_DiagnosticSettingResource.cs | 28 ++- ...le_DiagnosticSettingsCategoryCollection.cs | 25 ++- ...mple_DiagnosticSettingsCategoryResource.cs | 6 +- .../Samples/Sample_LogProfileCollection.cs | 30 ++- .../Samples/Sample_LogProfileResource.cs | 18 +- .../Samples/Sample_MetricAlertCollection.cs | 167 +++++++---------- .../Samples/Sample_MetricAlertResource.cs | 69 +++---- ...itorPrivateEndpointConnectionCollection.cs | 30 ++- ...onitorPrivateEndpointConnectionResource.cs | 18 +- .../Sample_MonitorPrivateLinkResource.cs | 6 +- ...le_MonitorPrivateLinkResourceCollection.cs | 25 ++- ...ample_MonitorPrivateLinkScopeCollection.cs | 35 ++-- .../Sample_MonitorPrivateLinkScopeResource.cs | 25 ++- ...Sample_MonitorPrivateLinkScopedResource.cs | 18 +- ...itorPrivateLinkScopedResourceCollection.cs | 30 ++- .../Sample_MonitorWorkspaceResource.cs | 25 ++- ...mple_MonitorWorkspaceResourceCollection.cs | 30 ++- .../Samples/Sample_PipelineGroupCollection.cs | 45 ++--- .../Samples/Sample_PipelineGroupResource.cs | 25 ++- .../Sample_ResourceGroupResourceExtensions.cs | 6 +- .../Sample_ScheduledQueryRuleCollection.cs | 40 ++-- .../Sample_ScheduledQueryRuleResource.cs | 25 ++- .../Sample_SubscriptionResourceExtensions.cs | 50 +++-- .../Sample_TenantResourceExtensions.cs | 36 ++-- ...mple_VmInsightsOnboardingStatusResource.cs | 26 ++- ...mple_AdvancedThreatProtectionCollection.cs | 35 ++-- ...Sample_AdvancedThreatProtectionResource.cs | 16 +- .../Samples/Sample_MySqlAdvisorCollection.cs | 25 ++- .../Samples/Sample_MySqlAdvisorResource.cs | 13 +- .../Sample_MySqlConfigurationCollection.cs | 30 ++- .../Sample_MySqlConfigurationResource.cs | 11 +- .../Samples/Sample_MySqlDatabaseCollection.cs | 30 ++- .../Samples/Sample_MySqlDatabaseResource.cs | 18 +- .../Sample_MySqlFirewallRuleCollection.cs | 30 ++- .../Sample_MySqlFirewallRuleResource.cs | 18 +- ...lexibleServerAadAdministratorCollection.cs | 30 ++- ...lFlexibleServerAadAdministratorResource.cs | 18 +- ...ple_MySqlFlexibleServerBackupCollection.cs | 30 ++- ...ample_MySqlFlexibleServerBackupResource.cs | 11 +- ...e_MySqlFlexibleServerBackupV2Collection.cs | 30 ++- ...ple_MySqlFlexibleServerBackupV2Resource.cs | 11 +- .../Sample_MySqlFlexibleServerCollection.cs | 69 +++---- ...qlFlexibleServerConfigurationCollection.cs | 30 ++- ...ySqlFlexibleServerConfigurationResource.cs | 11 +- ...e_MySqlFlexibleServerDatabaseCollection.cs | 30 ++- ...ple_MySqlFlexibleServerDatabaseResource.cs | 18 +- ...SqlFlexibleServerFirewallRuleCollection.cs | 30 ++- ...MySqlFlexibleServerFirewallRuleResource.cs | 18 +- ...ySqlFlexibleServerMaintenanceCollection.cs | 25 ++- ..._MySqlFlexibleServerMaintenanceResource.cs | 11 +- .../Sample_MySqlFlexibleServerResource.cs | 107 +++++------ ...ySqlFlexibleServersCapabilityCollection.cs | 25 ++- ..._MySqlFlexibleServersCapabilityResource.cs | 6 +- ...ySqlPrivateEndpointConnectionCollection.cs | 30 ++- ..._MySqlPrivateEndpointConnectionResource.cs | 18 +- .../Sample_MySqlPrivateLinkResource.cs | 6 +- ...mple_MySqlPrivateLinkResourceCollection.cs | 25 ++- .../Sample_MySqlQueryStatisticCollection.cs | 25 ++- .../Sample_MySqlQueryStatisticResource.cs | 6 +- .../Sample_MySqlQueryTextCollection.cs | 25 ++- .../Samples/Sample_MySqlQueryTextResource.cs | 6 +- ...ple_MySqlRecommendationActionCollection.cs | 25 ++- ...ample_MySqlRecommendationActionResource.cs | 6 +- ...Sample_MySqlServerAdministratorResource.cs | 18 +- .../Samples/Sample_MySqlServerCollection.cs | 52 +++--- .../Sample_MySqlServerKeyCollection.cs | 30 ++- .../Samples/Sample_MySqlServerKeyResource.cs | 18 +- .../Samples/Sample_MySqlServerResource.cs | 82 ++++----- ...ySqlServerSecurityAlertPolicyCollection.cs | 35 ++-- ..._MySqlServerSecurityAlertPolicyResource.cs | 16 +- ...ample_MySqlVirtualNetworkRuleCollection.cs | 30 ++- .../Sample_MySqlVirtualNetworkRuleResource.cs | 18 +- .../Sample_MySqlWaitStatisticCollection.cs | 25 ++- .../Sample_MySqlWaitStatisticResource.cs | 6 +- .../Sample_SubscriptionResourceExtensions.cs | 28 ++- .../Sample_TenantResourceExtensions.cs | 6 +- .../Samples/Sample_CapacityPoolCollection.cs | 30 ++- .../Samples/Sample_CapacityPoolResource.cs | 18 +- .../Samples/Sample_NetAppAccountCollection.cs | 35 ++-- .../Samples/Sample_NetAppAccountResource.cs | 53 +++--- .../Sample_NetAppBackupPolicyCollection.cs | 30 ++- .../Sample_NetAppBackupPolicyResource.cs | 18 +- ...ample_NetAppBackupVaultBackupCollection.cs | 30 ++- .../Sample_NetAppBackupVaultBackupResource.cs | 25 ++- .../Sample_NetAppBackupVaultCollection.cs | 30 ++- .../Sample_NetAppBackupVaultResource.cs | 18 +- .../Sample_NetAppSubvolumeInfoCollection.cs | 30 ++- .../Sample_NetAppSubvolumeInfoResource.cs | 23 +-- .../Samples/Sample_NetAppVolumeCollection.cs | 30 ++- .../Sample_NetAppVolumeGroupCollection.cs | 45 ++--- .../Sample_NetAppVolumeGroupResource.cs | 28 ++- .../Sample_NetAppVolumeQuotaRuleCollection.cs | 30 ++- .../Sample_NetAppVolumeQuotaRuleResource.cs | 18 +- .../Samples/Sample_NetAppVolumeResource.cs | 172 ++++++++--------- .../Sample_NetAppVolumeSnapshotCollection.cs | 30 ++- .../Sample_NetAppVolumeSnapshotResource.cs | 25 ++- .../Samples/Sample_RegionInfoResource.cs | 6 +- .../Sample_RegionInfoResourceCollection.cs | 25 ++- .../Sample_SnapshotPolicyCollection.cs | 30 ++- .../Samples/Sample_SnapshotPolicyResource.cs | 25 ++- .../Sample_SubscriptionResourceExtensions.cs | 43 ++--- .../Sample_AdminRuleGroupCollection.cs | 30 ++- .../Samples/Sample_AdminRuleGroupResource.cs | 18 +- .../Sample_ApplicationGatewayCollection.cs | 30 ++- ...ewayPrivateEndpointConnectionCollection.cs | 30 ++- ...atewayPrivateEndpointConnectionResource.cs | 18 +- .../Sample_ApplicationGatewayResource.cs | 101 +++++----- ...tionGatewayWafDynamicManifestCollection.cs | 25 ++- ...cationGatewayWafDynamicManifestResource.cs | 6 +- ...mple_ApplicationSecurityGroupCollection.cs | 30 ++- ...Sample_ApplicationSecurityGroupResource.cs | 25 ++- .../Samples/Sample_AzureFirewallCollection.cs | 123 ++++++------- .../Samples/Sample_AzureFirewallResource.cs | 57 +++--- .../Sample_AzureWebCategoryCollection.cs | 25 ++- .../Sample_AzureWebCategoryResource.cs | 6 +- .../Sample_BackendAddressPoolCollection.cs | 54 +++--- .../Sample_BackendAddressPoolResource.cs | 28 ++- .../Samples/Sample_BaseAdminRuleCollection.cs | 52 +++--- .../Samples/Sample_BaseAdminRuleResource.cs | 28 ++- .../Samples/Sample_BastionHostCollection.cs | 74 ++++---- .../Samples/Sample_BastionHostResource.cs | 49 +++-- .../Samples/Sample_BgpConnectionCollection.cs | 30 ++- .../Samples/Sample_BgpConnectionResource.cs | 28 ++- .../Sample_CloudServiceSwapCollection.cs | 32 ++-- .../Sample_CloudServiceSwapResource.cs | 13 +- .../Sample_ConnectionMonitorCollection.cs | 40 ++-- .../Sample_ConnectionMonitorResource.cs | 37 ++-- ...ple_ConnectivityConfigurationCollection.cs | 30 ++- ...ample_ConnectivityConfigurationResource.cs | 18 +- .../Sample_CustomIPPrefixCollection.cs | 30 ++- .../Samples/Sample_CustomIPPrefixResource.cs | 25 ++- .../Sample_DdosCustomPolicyCollection.cs | 23 +-- .../Sample_DdosCustomPolicyResource.cs | 18 +- .../Sample_DdosProtectionPlanCollection.cs | 30 ++- .../Sample_DdosProtectionPlanResource.cs | 25 ++- .../Sample_DefaultSecurityRuleCollection.cs | 25 ++- .../Sample_DefaultSecurityRuleResource.cs | 6 +- .../Sample_DscpConfigurationCollection.cs | 30 ++- .../Sample_DscpConfigurationResource.cs | 25 ++- ...ressRouteCircuitAuthorizationCollection.cs | 30 ++- ...xpressRouteCircuitAuthorizationResource.cs | 18 +- .../Sample_ExpressRouteCircuitCollection.cs | 35 ++-- ...ExpressRouteCircuitConnectionCollection.cs | 30 ++- ...e_ExpressRouteCircuitConnectionResource.cs | 18 +- ...le_ExpressRouteCircuitPeeringCollection.cs | 30 ++- ...mple_ExpressRouteCircuitPeeringResource.cs | 38 ++-- .../Sample_ExpressRouteCircuitResource.cs | 30 ++- ...Sample_ExpressRouteConnectionCollection.cs | 30 ++- .../Sample_ExpressRouteConnectionResource.cs | 18 +- ...e_ExpressRouteCrossConnectionCollection.cs | 30 ++- ...ssRouteCrossConnectionPeeringCollection.cs | 30 ++- ...ressRouteCrossConnectionPeeringResource.cs | 33 ++-- ...ple_ExpressRouteCrossConnectionResource.cs | 18 +- .../Sample_ExpressRouteGatewayCollection.cs | 30 ++- .../Sample_ExpressRouteGatewayResource.cs | 25 ++- .../Sample_ExpressRouteLinkCollection.cs | 25 ++- .../Sample_ExpressRouteLinkResource.cs | 6 +- ...ExpressRoutePortAuthorizationCollection.cs | 30 ++- ...e_ExpressRoutePortAuthorizationResource.cs | 18 +- .../Sample_ExpressRoutePortCollection.cs | 35 ++-- .../Sample_ExpressRoutePortResource.cs | 30 ++- ...ple_ExpressRoutePortsLocationCollection.cs | 25 ++- ...ample_ExpressRoutePortsLocationResource.cs | 6 +- ...mple_ExpressRouteProviderPortCollection.cs | 25 ++- ...Sample_ExpressRouteProviderPortResource.cs | 11 +- .../Sample_FirewallPolicyCollection.cs | 30 ++- .../Sample_FirewallPolicyDraftResource.cs | 18 +- .../Samples/Sample_FirewallPolicyResource.cs | 42 ++--- ...wallPolicyRuleCollectionGroupCollection.cs | 115 +++++------- ...lPolicyRuleCollectionGroupDraftResource.cs | 18 +- ...rewallPolicyRuleCollectionGroupResource.cs | 53 +++--- .../Samples/Sample_FlowLogCollection.cs | 30 ++- .../Samples/Sample_FlowLogResource.cs | 18 +- ...ample_FrontendIPConfigurationCollection.cs | 25 ++- .../Sample_FrontendIPConfigurationResource.cs | 6 +- .../Sample_HubIPConfigurationCollection.cs | 30 ++- .../Sample_HubIPConfigurationResource.cs | 18 +- .../Samples/Sample_HubRouteTableCollection.cs | 30 ++- .../Samples/Sample_HubRouteTableResource.cs | 18 +- ...e_HubVirtualNetworkConnectionCollection.cs | 30 ++- ...ple_HubVirtualNetworkConnectionResource.cs | 18 +- .../Samples/Sample_IPAllocationCollection.cs | 30 ++- .../Samples/Sample_IPAllocationResource.cs | 25 ++- .../Samples/Sample_IPGroupCollection.cs | 30 ++- .../Samples/Sample_IPGroupResource.cs | 25 ++- .../Sample_InboundNatRuleCollection.cs | 30 ++- .../Samples/Sample_InboundNatRuleResource.cs | 18 +- .../Sample_InboundSecurityRuleCollection.cs | 23 +-- .../Sample_InboundSecurityRuleResource.cs | 11 +- .../Samples/Sample_LoadBalancerCollection.cs | 92 ++++------ .../Samples/Sample_LoadBalancerResource.cs | 56 +++--- .../Sample_LoadBalancingRuleCollection.cs | 25 ++- .../Sample_LoadBalancingRuleResource.cs | 6 +- .../Sample_LocalNetworkGatewayCollection.cs | 30 ++- .../Sample_LocalNetworkGatewayResource.cs | 18 +- ...GroupNetworkManagerConnectionCollection.cs | 30 ++- ...ntGroupNetworkManagerConnectionResource.cs | 18 +- .../Samples/Sample_NatGatewayCollection.cs | 30 ++- .../Samples/Sample_NatGatewayResource.cs | 25 ++- .../Samples/Sample_NetworkGroupCollection.cs | 30 ++- .../Samples/Sample_NetworkGroupResource.cs | 18 +- ...mple_NetworkGroupStaticMemberCollection.cs | 30 ++- ...Sample_NetworkGroupStaticMemberResource.cs | 18 +- .../Sample_NetworkInterfaceCollection.cs | 35 ++-- ...tworkInterfaceIPConfigurationCollection.cs | 25 ++- ...NetworkInterfaceIPConfigurationResource.cs | 6 +- .../Sample_NetworkInterfaceResource.cs | 42 ++--- ...workInterfaceTapConfigurationCollection.cs | 30 ++- ...etworkInterfaceTapConfigurationResource.cs | 18 +- .../Sample_NetworkManagerCollection.cs | 30 ++- .../Samples/Sample_NetworkManagerResource.cs | 51 +++--- ...rkManagerRoutingConfigurationCollection.cs | 30 ++- ...workManagerRoutingConfigurationResource.cs | 18 +- ...ple_NetworkManagerRoutingRuleCollection.cs | 35 ++-- ...ample_NetworkManagerRoutingRuleResource.cs | 23 +-- ...le_NetworkManagerRoutingRulesCollection.cs | 30 ++- ...mple_NetworkManagerRoutingRulesResource.cs | 18 +- ...agerSecurityUserConfigurationCollection.cs | 30 ++- ...anagerSecurityUserConfigurationResource.cs | 18 +- ...etworkManagerSecurityUserRuleCollection.cs | 30 ++- ..._NetworkManagerSecurityUserRuleResource.cs | 18 +- ...tworkManagerSecurityUserRulesCollection.cs | 30 ++- ...NetworkManagerSecurityUserRulesResource.cs | 18 +- ...workPrivateEndpointConnectionCollection.cs | 30 ++- ...etworkPrivateEndpointConnectionResource.cs | 18 +- .../Sample_NetworkProfileCollection.cs | 47 ++--- .../Samples/Sample_NetworkProfileResource.cs | 30 ++- .../Sample_NetworkSecurityGroupCollection.cs | 35 ++-- .../Sample_NetworkSecurityGroupResource.cs | 25 ++- ...ample_NetworkVirtualApplianceCollection.cs | 35 ++-- ...orkVirtualApplianceConnectionCollection.cs | 30 ++- ...tworkVirtualApplianceConnectionResource.cs | 18 +- .../Sample_NetworkVirtualApplianceResource.cs | 35 ++-- ...le_NetworkVirtualApplianceSkuCollection.cs | 25 ++- ...mple_NetworkVirtualApplianceSkuResource.cs | 6 +- .../Sample_NetworkWatcherCollection.cs | 30 ++- .../Samples/Sample_NetworkWatcherResource.cs | 85 ++++----- .../Samples/Sample_OutboundRuleCollection.cs | 25 ++- .../Samples/Sample_OutboundRuleResource.cs | 6 +- .../Samples/Sample_P2SVpnGatewayCollection.cs | 30 ++- .../Samples/Sample_P2SVpnGatewayResource.cs | 52 +++--- .../Samples/Sample_PacketCaptureCollection.cs | 30 ++- .../Samples/Sample_PacketCaptureResource.cs | 30 ++- ...ExpressRouteCircuitConnectionCollection.cs | 25 ++- ...erExpressRouteCircuitConnectionResource.cs | 6 +- ...olicySignaturesOverridesForIdpsResource.cs | 16 +- .../Sample_PrivateDnsZoneGroupCollection.cs | 30 ++- .../Sample_PrivateDnsZoneGroupResource.cs | 18 +- .../Sample_PrivateEndpointCollection.cs | 74 ++++---- .../Samples/Sample_PrivateEndpointResource.cs | 45 ++--- .../Sample_PrivateLinkServiceCollection.cs | 30 ++- .../Sample_PrivateLinkServiceResource.cs | 25 ++- .../Samples/Sample_ProbeCollection.cs | 25 ++- .../Generated/Samples/Sample_ProbeResource.cs | 6 +- .../Sample_PublicIPAddressCollection.cs | 45 ++--- .../Samples/Sample_PublicIPAddressResource.cs | 30 ++- .../Sample_PublicIPPrefixCollection.cs | 35 ++-- .../Samples/Sample_PublicIPPrefixResource.cs | 25 ++- .../Sample_ResourceGroupResourceExtensions.cs | 34 ++-- .../Samples/Sample_RouteCollection.cs | 30 ++- .../Samples/Sample_RouteFilterCollection.cs | 30 ++- .../Samples/Sample_RouteFilterResource.cs | 25 ++- .../Sample_RouteFilterRuleCollection.cs | 30 ++- .../Samples/Sample_RouteFilterRuleResource.cs | 18 +- .../Samples/Sample_RouteMapCollection.cs | 30 ++- .../Samples/Sample_RouteMapResource.cs | 18 +- .../Generated/Samples/Sample_RouteResource.cs | 18 +- .../Samples/Sample_RouteTableCollection.cs | 35 ++-- .../Samples/Sample_RouteTableResource.cs | 25 ++- .../Samples/Sample_RoutingIntentCollection.cs | 30 ++- .../Samples/Sample_RoutingIntentResource.cs | 18 +- .../Sample_ScopeConnectionCollection.cs | 30 ++- .../Samples/Sample_ScopeConnectionResource.cs | 18 +- ...le_SecurityAdminConfigurationCollection.cs | 30 ++- ...mple_SecurityAdminConfigurationResource.cs | 18 +- ...ample_SecurityPartnerProviderCollection.cs | 30 ++- .../Sample_SecurityPartnerProviderResource.cs | 25 ++- .../Samples/Sample_SecurityRuleCollection.cs | 30 ++- .../Samples/Sample_SecurityRuleResource.cs | 18 +- .../Sample_ServiceEndpointPolicyCollection.cs | 35 ++-- ...rviceEndpointPolicyDefinitionCollection.cs | 30 ++- ...ServiceEndpointPolicyDefinitionResource.cs | 18 +- .../Sample_ServiceEndpointPolicyResource.cs | 25 ++- .../Samples/Sample_SubnetCollection.cs | 84 ++++----- .../Samples/Sample_SubnetResource.cs | 76 ++++---- ...ptionNetworkManagerConnectionCollection.cs | 30 ++- ...riptionNetworkManagerConnectionResource.cs | 18 +- .../Sample_SubscriptionResourceExtensions.cs | 102 +++++------ .../Sample_VirtualApplianceSiteCollection.cs | 30 ++- .../Sample_VirtualApplianceSiteResource.cs | 18 +- .../Samples/Sample_VirtualHubCollection.cs | 30 ++- .../Samples/Sample_VirtualHubResource.cs | 50 +++-- ...Sample_VirtualHubRouteTableV2Collection.cs | 30 ++- .../Sample_VirtualHubRouteTableV2Resource.cs | 18 +- .../Sample_VirtualNetworkCollection.cs | 99 +++++----- .../Sample_VirtualNetworkGatewayCollection.cs | 52 +++--- ...rtualNetworkGatewayConnectionCollection.cs | 30 ++- ...VirtualNetworkGatewayConnectionResource.cs | 65 +++---- ..._VirtualNetworkGatewayNatRuleCollection.cs | 30 ++- ...le_VirtualNetworkGatewayNatRuleResource.cs | 18 +- .../Sample_VirtualNetworkGatewayResource.cs | 114 +++++------- .../Sample_VirtualNetworkPeeringCollection.cs | 118 +++++------- .../Sample_VirtualNetworkPeeringResource.cs | 63 +++---- .../Samples/Sample_VirtualNetworkResource.cs | 61 +++--- .../Sample_VirtualNetworkTapCollection.cs | 30 ++- .../Sample_VirtualNetworkTapResource.cs | 25 ++- .../Samples/Sample_VirtualRouterCollection.cs | 30 ++- .../Sample_VirtualRouterPeeringCollection.cs | 30 ++- .../Sample_VirtualRouterPeeringResource.cs | 18 +- .../Samples/Sample_VirtualRouterResource.cs | 25 ++- .../Samples/Sample_VirtualWanCollection.cs | 30 ++- .../Samples/Sample_VirtualWanResource.cs | 47 ++--- .../Samples/Sample_VpnConnectionCollection.cs | 30 ++- .../Samples/Sample_VpnConnectionResource.cs | 33 ++-- .../Samples/Sample_VpnGatewayCollection.cs | 30 ++- .../Sample_VpnGatewayNatRuleCollection.cs | 30 ++- .../Sample_VpnGatewayNatRuleResource.cs | 18 +- .../Samples/Sample_VpnGatewayResource.cs | 45 ++--- ...mple_VpnLinkConnectionSharedKeyResource.cs | 16 +- ...Sample_VpnServerConfigurationCollection.cs | 30 ++- ...erverConfigurationPolicyGroupCollection.cs | 30 ++- ...nServerConfigurationPolicyGroupResource.cs | 18 +- .../Sample_VpnServerConfigurationResource.cs | 25 ++- .../Samples/Sample_VpnSiteCollection.cs | 30 ++- .../Samples/Sample_VpnSiteLinkCollection.cs | 25 ++- .../Sample_VpnSiteLinkConnectionCollection.cs | 25 ++- .../Sample_VpnSiteLinkConnectionResource.cs | 18 +- .../Samples/Sample_VpnSiteLinkResource.cs | 6 +- .../Samples/Sample_VpnSiteResource.cs | 25 ++- ..._WebApplicationFirewallPolicyCollection.cs | 30 ++- ...le_WebApplicationFirewallPolicyResource.cs | 25 ++- .../Samples/Sample_DataProductCollection.cs | 59 +++--- .../Samples/Sample_DataProductResource.cs | 121 ++++++------ .../Sample_DataProductsCatalogResource.cs | 25 ++- .../Sample_NetworkCloudAgentPoolCollection.cs | 30 ++- .../Sample_NetworkCloudAgentPoolResource.cs | 11 +- ..._NetworkCloudBareMetalMachineCollection.cs | 25 ++- ...rkCloudBareMetalMachineKeySetCollection.cs | 30 ++- ...workCloudBareMetalMachineKeySetResource.cs | 11 +- ...le_NetworkCloudBareMetalMachineResource.cs | 68 +++---- .../Sample_NetworkCloudBmcKeySetCollection.cs | 30 ++- .../Sample_NetworkCloudBmcKeySetResource.cs | 11 +- ...workCloudCloudServicesNetworkCollection.cs | 30 ++- ...etworkCloudCloudServicesNetworkResource.cs | 18 +- .../Sample_NetworkCloudClusterCollection.cs | 30 ++- ...le_NetworkCloudClusterManagerCollection.cs | 35 ++-- ...mple_NetworkCloudClusterManagerResource.cs | 18 +- ...udClusterMetricsConfigurationCollection.cs | 30 ++- ...loudClusterMetricsConfigurationResource.cs | 11 +- .../Sample_NetworkCloudClusterResource.cs | 68 +++---- ...NetworkCloudKubernetesClusterCollection.cs | 35 ++-- ...CloudKubernetesClusterFeatureCollection.cs | 30 ++- ...rkCloudKubernetesClusterFeatureResource.cs | 16 +- ...e_NetworkCloudKubernetesClusterResource.cs | 23 +-- .../Sample_NetworkCloudL2NetworkCollection.cs | 30 ++- .../Sample_NetworkCloudL2NetworkResource.cs | 18 +- .../Sample_NetworkCloudL3NetworkCollection.cs | 30 ++- .../Sample_NetworkCloudL3NetworkResource.cs | 18 +- .../Sample_NetworkCloudRackCollection.cs | 25 ++- .../Sample_NetworkCloudRackResource.cs | 18 +- .../Sample_NetworkCloudRackSkuCollection.cs | 25 ++- .../Sample_NetworkCloudRackSkuResource.cs | 6 +- ..._NetworkCloudStorageApplianceCollection.cs | 25 ++- ...le_NetworkCloudStorageApplianceResource.cs | 28 ++- ...le_NetworkCloudTrunkedNetworkCollection.cs | 30 ++- ...mple_NetworkCloudTrunkedNetworkResource.cs | 18 +- ...le_NetworkCloudVirtualMachineCollection.cs | 30 ++- ...orkCloudVirtualMachineConsoleCollection.cs | 30 ++- ...tworkCloudVirtualMachineConsoleResource.cs | 11 +- ...mple_NetworkCloudVirtualMachineResource.cs | 38 ++-- .../Sample_NetworkCloudVolumeCollection.cs | 30 ++- .../Sample_NetworkCloudVolumeResource.cs | 18 +- .../Sample_AzureTrafficCollectorCollection.cs | 30 ++- .../Sample_AzureTrafficCollectorResource.cs | 18 +- .../Sample_CollectorPolicyCollection.cs | 30 ++- .../Samples/Sample_CollectorPolicyResource.cs | 18 +- .../Sample_SubscriptionResourceExtensions.cs | 8 +- .../Samples/Sample_NewRelicMonitorResource.cs | 133 ++++++-------- ...ample_NewRelicMonitorResourceCollection.cs | 30 ++- ...NewRelicMonitoredSubscriptionCollection.cs | 30 ++- ...e_NewRelicMonitoredSubscriptionResource.cs | 18 +- ..._NewRelicObservabilityTagRuleCollection.cs | 59 +++--- ...le_NewRelicObservabilityTagRuleResource.cs | 35 ++-- .../Sample_SubscriptionResourceExtensions.cs | 43 ++--- .../Sample_NginxCertificateCollection.cs | 30 ++- .../Sample_NginxCertificateResource.cs | 18 +- .../Sample_NginxConfigurationCollection.cs | 30 ++- .../Sample_NginxConfigurationResource.cs | 23 +-- .../Sample_NginxDeploymentCollection.cs | 47 ++--- .../Samples/Sample_NginxDeploymentResource.cs | 30 ++- ...ificationHubAuthorizationRuleCollection.cs | 30 ++- ...otificationHubAuthorizationRuleResource.cs | 28 ++- .../Sample_NotificationHubCollection.cs | 30 ++- ...HubNamespaceAuthorizationRuleCollection.cs | 30 ++- ...onHubNamespaceAuthorizationRuleResource.cs | 28 ++- ...mple_NotificationHubNamespaceCollection.cs | 30 ++- ...Sample_NotificationHubNamespaceResource.cs | 40 ++-- ...nHubPrivateEndpointConnectionCollection.cs | 30 ++- ...ionHubPrivateEndpointConnectionResource.cs | 18 +- .../Samples/Sample_NotificationHubResource.cs | 28 ++- ...ple_NotificationHubsPrivateLinkResource.cs | 6 +- ...cationHubsPrivateLinkResourceCollection.cs | 25 ++- .../Sample_LogAnalyticsQueryCollection.cs | 30 ++- .../Sample_LogAnalyticsQueryPackCollection.cs | 35 ++-- .../Sample_LogAnalyticsQueryPackResource.cs | 42 ++--- .../Sample_LogAnalyticsQueryResource.cs | 18 +- ...le_OperationalInsightsClusterCollection.cs | 30 ++- ...mple_OperationalInsightsClusterResource.cs | 25 ++- ...OperationalInsightsDataExportCollection.cs | 30 ++- ...e_OperationalInsightsDataExportResource.cs | 18 +- ...OperationalInsightsDataSourceCollection.cs | 30 ++- ...e_OperationalInsightsDataSourceResource.cs | 18 +- ...rationalInsightsLinkedServiceCollection.cs | 30 ++- ...perationalInsightsLinkedServiceResource.cs | 16 +- ...InsightsLinkedStorageAccountsCollection.cs | 30 ++- ...alInsightsLinkedStorageAccountsResource.cs | 18 +- ...perationalInsightsSavedSearchCollection.cs | 30 ++- ..._OperationalInsightsSavedSearchResource.cs | 18 +- ...mple_OperationalInsightsTableCollection.cs | 30 ++- ...Sample_OperationalInsightsTableResource.cs | 32 ++-- ..._OperationalInsightsWorkspaceCollection.cs | 30 ++- ...le_OperationalInsightsWorkspaceResource.cs | 106 +++++------ .../Sample_ResourceGroupResourceExtensions.cs | 8 +- .../Sample_StorageInsightCollection.cs | 30 ++- .../Samples/Sample_StorageInsightResource.cs | 18 +- .../Sample_SubscriptionResourceExtensions.cs | 8 +- .../Sample_AutonomousDBVersionCollection.cs | 25 ++- .../Sample_AutonomousDBVersionResource.cs | 6 +- ...mple_AutonomousDatabaseBackupCollection.cs | 59 +++--- ...Sample_AutonomousDatabaseBackupResource.cs | 35 ++-- ...utonomousDatabaseCharacterSetCollection.cs | 25 ++- ..._AutonomousDatabaseCharacterSetResource.cs | 6 +- .../Sample_AutonomousDatabaseCollection.cs | 62 +++---- ...sDatabaseNationalCharacterSetCollection.cs | 25 ++- ...ousDatabaseNationalCharacterSetResource.cs | 6 +- .../Sample_AutonomousDatabaseResource.cs | 70 +++---- ...le_CloudExadataInfrastructureCollection.cs | 30 ++- ...mple_CloudExadataInfrastructureResource.cs | 30 ++- .../Sample_CloudVmClusterCollection.cs | 30 ++- .../Sample_CloudVmClusterDBNodeCollection.cs | 25 ++- .../Sample_CloudVmClusterDBNodeResource.cs | 16 +- .../Samples/Sample_CloudVmClusterResource.cs | 42 ++--- ...mClusterVirtualNetworkAddressCollection.cs | 30 ++- ...dVmClusterVirtualNetworkAddressResource.cs | 18 +- .../Sample_OracleDBServerCollection.cs | 25 ++- .../Samples/Sample_OracleDBServerResource.cs | 6 +- .../Sample_OracleDBSystemShapeCollection.cs | 25 ++- .../Sample_OracleDBSystemShapeResource.cs | 6 +- .../Sample_OracleDnsPrivateViewCollection.cs | 25 ++- .../Sample_OracleDnsPrivateViewResource.cs | 6 +- .../Sample_OracleDnsPrivateZoneCollection.cs | 25 ++- .../Sample_OracleDnsPrivateZoneResource.cs | 6 +- .../Sample_OracleGIVersionCollection.cs | 25 ++- .../Samples/Sample_OracleGIVersionResource.cs | 6 +- .../Sample_OracleSubscriptionResource.cs | 38 ++-- .../Sample_OracleSystemVersionCollection.cs | 49 +++-- .../Sample_OracleSystemVersionResource.cs | 11 +- ...Sample_AvailableGroundStationCollection.cs | 25 ++- .../Sample_AvailableGroundStationResource.cs | 6 +- .../Sample_OrbitalContactCollection.cs | 30 ++- .../Sample_OrbitalContactProfileCollection.cs | 30 ++- .../Sample_OrbitalContactProfileResource.cs | 25 ++- .../Samples/Sample_OrbitalContactResource.cs | 18 +- .../Sample_OrbitalSpacecraftCollection.cs | 30 ++- .../Sample_OrbitalSpacecraftResource.cs | 30 ++- ...balRulestackCertificateObjectCollection.cs | 59 +++--- ...lobalRulestackCertificateObjectResource.cs | 35 ++-- .../Sample_GlobalRulestackCollection.cs | 59 +++--- .../Sample_GlobalRulestackFqdnCollection.cs | 59 +++--- .../Sample_GlobalRulestackFqdnResource.cs | 35 ++-- .../Sample_GlobalRulestackPrefixCollection.cs | 59 +++--- .../Sample_GlobalRulestackPrefixResource.cs | 35 ++-- .../Samples/Sample_GlobalRulestackResource.cs | 149 +++++++-------- ...calRulestackCertificateObjectCollection.cs | 59 +++--- ...LocalRulestackCertificateObjectResource.cs | 35 ++-- .../Sample_LocalRulestackCollection.cs | 59 +++--- .../Sample_LocalRulestackFqdnCollection.cs | 59 +++--- .../Sample_LocalRulestackFqdnResource.cs | 35 ++-- .../Sample_LocalRulestackPrefixCollection.cs | 59 +++--- .../Sample_LocalRulestackPrefixResource.cs | 35 ++-- .../Samples/Sample_LocalRulestackResource.cs | 173 ++++++++---------- .../Sample_LocalRulestackRuleCollection.cs | 59 +++--- .../Sample_LocalRulestackRuleResource.cs | 69 +++---- ...mple_PaloAltoNetworksFirewallCollection.cs | 59 +++--- ...Sample_PaloAltoNetworksFirewallResource.cs | 93 ++++------ ..._PaloAltoNetworksFirewallStatusResource.cs | 11 +- .../Sample_PostRulestackRuleCollection.cs | 59 +++--- .../Sample_PostRulestackRuleResource.cs | 69 +++---- .../Sample_PreRulestackRuleCollection.cs | 59 +++--- .../Sample_PreRulestackRuleResource.cs | 69 +++---- .../Sample_ConnectionMonitorTestCollection.cs | 30 ++- .../Sample_ConnectionMonitorTestResource.cs | 18 +- .../Samples/Sample_PeerAsnCollection.cs | 30 ++- .../Samples/Sample_PeerAsnResource.cs | 18 +- .../Samples/Sample_PeeringCollection.cs | 40 ++-- .../Sample_PeeringRegisteredAsnCollection.cs | 30 ++- .../Sample_PeeringRegisteredAsnResource.cs | 18 +- ...ample_PeeringRegisteredPrefixCollection.cs | 30 ++- .../Sample_PeeringRegisteredPrefixResource.cs | 23 +-- .../Samples/Sample_PeeringResource.cs | 39 ++-- .../Sample_PeeringServiceCollection.cs | 30 ++- .../Sample_PeeringServicePrefixCollection.cs | 30 ++- .../Sample_PeeringServicePrefixResource.cs | 18 +- .../Samples/Sample_PeeringServiceResource.cs | 32 ++-- .../Sample_SubscriptionResourceExtensions.cs | 60 +++--- ...mple_PlaywrightTestingAccountCollection.cs | 30 ++- ...Sample_PlaywrightTestingAccountResource.cs | 25 ++- ...Sample_PlaywrightTestingQuotaCollection.cs | 25 ++- .../Sample_PlaywrightTestingQuotaResource.cs | 6 +- ...ample_ManagementGroupResourceExtensions.cs | 55 +++--- .../Sample_PolicyAttestationCollection.cs | 37 ++-- .../Sample_PolicyAttestationResource.cs | 18 +- .../Sample_PolicyMetadataCollection.cs | 32 ++-- .../Samples/Sample_PolicyMetadataResource.cs | 6 +- .../Sample_PolicyRemediationCollection.cs | 37 ++-- .../Sample_PolicyRemediationResource.cs | 28 ++- .../Sample_ResourceGroupResourceExtensions.cs | 62 +++---- .../Sample_SubscriptionResourceExtensions.cs | 139 ++++++-------- ...ample_PostgreSqlConfigurationCollection.cs | 30 ++- .../Sample_PostgreSqlConfigurationResource.cs | 11 +- .../Sample_PostgreSqlDatabaseCollection.cs | 30 ++- .../Sample_PostgreSqlDatabaseResource.cs | 18 +- ...Sample_PostgreSqlFirewallRuleCollection.cs | 30 ++- .../Sample_PostgreSqlFirewallRuleResource.cs | 18 +- ...rActiveDirectoryAdministratorCollection.cs | 30 ++- ...verActiveDirectoryAdministratorResource.cs | 18 +- ...ostgreSqlFlexibleServerBackupCollection.cs | 30 ++- ..._PostgreSqlFlexibleServerBackupResource.cs | 18 +- ...mple_PostgreSqlFlexibleServerCollection.cs | 101 +++++----- ...qlFlexibleServerConfigurationCollection.cs | 30 ++- ...eSqlFlexibleServerConfigurationResource.cs | 11 +- ...tgreSqlFlexibleServerDatabaseCollection.cs | 30 ++- ...ostgreSqlFlexibleServerDatabaseResource.cs | 18 +- ...SqlFlexibleServerFirewallRuleCollection.cs | 30 ++- ...reSqlFlexibleServerFirewallRuleResource.cs | 18 +- ...Sample_PostgreSqlFlexibleServerResource.cs | 132 ++++++------- ...versPrivateEndpointConnectionCollection.cs | 30 ++- ...erversPrivateEndpointConnectionResource.cs | 18 +- ...reSqlFlexibleServersPrivateLinkResource.cs | 6 +- ...bleServersPrivateLinkResourceCollection.cs | 25 ++- ...reSqlLtrServerBackupOperationCollection.cs | 25 ++- ...tgreSqlLtrServerBackupOperationResource.cs | 6 +- .../Sample_PostgreSqlMigrationCollection.cs | 123 ++++++------- .../Sample_PostgreSqlMigrationResource.cs | 43 ++--- ...eSqlPrivateEndpointConnectionCollection.cs | 30 ++- ...greSqlPrivateEndpointConnectionResource.cs | 18 +- .../Sample_PostgreSqlPrivateLinkResource.cs | 6 +- ...PostgreSqlPrivateLinkResourceCollection.cs | 25 ++- ...e_PostgreSqlServerAdministratorResource.cs | 18 +- .../Sample_PostgreSqlServerCollection.cs | 52 +++--- .../Sample_PostgreSqlServerKeyCollection.cs | 30 ++- .../Sample_PostgreSqlServerKeyResource.cs | 18 +- .../Sample_PostgreSqlServerResource.cs | 56 +++--- ...eSqlServerSecurityAlertPolicyCollection.cs | 35 ++-- ...greSqlServerSecurityAlertPolicyResource.cs | 16 +- ..._PostgreSqlVirtualNetworkRuleCollection.cs | 30 ++- ...le_PostgreSqlVirtualNetworkRuleResource.cs | 18 +- ...ThreatProtectionSettingsModelCollection.cs | 30 ++- ...erThreatProtectionSettingsModelResource.cs | 11 +- .../Sample_SubscriptionResourceExtensions.cs | 23 +-- .../Sample_TenantResourceExtensions.cs | 6 +- .../Samples/Sample_VirtualEndpointResource.cs | 18 +- ...ample_VirtualEndpointResourceCollection.cs | 30 ++- .../Sample_AutoScaleVCoreCollection.cs | 30 ++- .../Samples/Sample_AutoScaleVCoreResource.cs | 25 ++- .../Sample_DedicatedCapacityCollection.cs | 30 ++- .../Sample_DedicatedCapacityResource.cs | 63 +++---- .../Samples/Sample_CustomRolloutCollection.cs | 30 ++- .../Samples/Sample_CustomRolloutResource.cs | 11 +- .../Sample_DefaultRolloutCollection.cs | 30 ++- .../Samples/Sample_DefaultRolloutResource.cs | 25 ++- ...le_NestedResourceTypeFirstSkuCollection.cs | 30 ++- ...mple_NestedResourceTypeFirstSkuResource.cs | 18 +- ...e_NestedResourceTypeSecondSkuCollection.cs | 30 ++- ...ple_NestedResourceTypeSecondSkuResource.cs | 18 +- ...le_NestedResourceTypeThirdSkuCollection.cs | 30 ++- ...mple_NestedResourceTypeThirdSkuResource.cs | 18 +- ...mple_NotificationRegistrationCollection.cs | 30 ++- ...Sample_NotificationRegistrationResource.cs | 18 +- .../Sample_ProviderRegistrationCollection.cs | 30 ++- .../Sample_ProviderRegistrationResource.cs | 28 ++- ...mple_ResourceTypeRegistrationCollection.cs | 30 ++- ...Sample_ResourceTypeRegistrationResource.cs | 18 +- .../Sample_ResourceTypeSkuCollection.cs | 30 ++- .../Samples/Sample_ResourceTypeSkuResource.cs | 18 +- 685 files changed, 9196 insertions(+), 12082 deletions(-) diff --git a/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/samples/Generated/Samples/Sample_MarketplaceAgreementCollection.cs b/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/samples/Generated/Samples/Sample_MarketplaceAgreementCollection.cs index 4a6cd8632d54a..f3b6708d8ae51 100644 --- a/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/samples/Generated/Samples/Sample_MarketplaceAgreementCollection.cs +++ b/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/samples/Generated/Samples/Sample_MarketplaceAgreementCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MarketplaceOrdering.Samples { public partial class Sample_MarketplaceAgreementCollection { - // SetMarketplaceTerms - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SetMarketplaceTerms() { // Generated from example definition: specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2021-01-01/examples/GetAgreementMarketplaceTerms.json @@ -50,9 +50,8 @@ public async Task Get_SetMarketplaceTerms() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SetMarketplaceTerms - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SetMarketplaceTerms() { // Generated from example definition: specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2021-01-01/examples/GetAgreementMarketplaceTerms.json @@ -81,9 +80,8 @@ public async Task Exists_SetMarketplaceTerms() Console.WriteLine($"Succeeded: {result}"); } - // SetMarketplaceTerms - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SetMarketplaceTerms() { // Generated from example definition: specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2021-01-01/examples/GetAgreementMarketplaceTerms.json @@ -112,7 +110,7 @@ public async Task GetIfExists_SetMarketplaceTerms() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/samples/Generated/Samples/Sample_MarketplaceAgreementResource.cs b/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/samples/Generated/Samples/Sample_MarketplaceAgreementResource.cs index fe8041b85d714..eb10d28a2db39 100644 --- a/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/samples/Generated/Samples/Sample_MarketplaceAgreementResource.cs +++ b/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/samples/Generated/Samples/Sample_MarketplaceAgreementResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MarketplaceOrdering.Samples { public partial class Sample_MarketplaceAgreementResource { - // SetMarketplaceTerms - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Sign_SetMarketplaceTerms() { // Generated from example definition: specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2021-01-01/examples/SignMarketplaceTerms.json @@ -46,9 +46,8 @@ public async Task Sign_SetMarketplaceTerms() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SetMarketplaceTerms - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cancel_SetMarketplaceTerms() { // Generated from example definition: specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2021-01-01/examples/CancelMarketplaceTerms.json @@ -78,9 +77,8 @@ public async Task Cancel_SetMarketplaceTerms() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SetMarketplaceTerms - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SetMarketplaceTerms() { // Generated from example definition: specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2021-01-01/examples/GetAgreementMarketplaceTerms.json diff --git a/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/samples/Generated/Samples/Sample_MarketplaceAgreementTermCollection.cs b/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/samples/Generated/Samples/Sample_MarketplaceAgreementTermCollection.cs index 99424c6fa5574..275723374cd16 100644 --- a/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/samples/Generated/Samples/Sample_MarketplaceAgreementTermCollection.cs +++ b/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/samples/Generated/Samples/Sample_MarketplaceAgreementTermCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.MarketplaceOrdering.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MarketplaceOrdering.Samples { public partial class Sample_MarketplaceAgreementTermCollection { - // GetMarketplaceTerms - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMarketplaceTerms() { // Generated from example definition: specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2021-01-01/examples/GetMarketplaceTerms.json @@ -52,9 +52,8 @@ public async Task Get_GetMarketplaceTerms() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetMarketplaceTerms - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetMarketplaceTerms() { // Generated from example definition: specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2021-01-01/examples/GetMarketplaceTerms.json @@ -84,9 +83,8 @@ public async Task Exists_GetMarketplaceTerms() Console.WriteLine($"Succeeded: {result}"); } - // GetMarketplaceTerms - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetMarketplaceTerms() { // Generated from example definition: specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2021-01-01/examples/GetMarketplaceTerms.json @@ -116,7 +114,7 @@ public async Task GetIfExists_GetMarketplaceTerms() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -128,9 +126,8 @@ public async Task GetIfExists_GetMarketplaceTerms() } } - // SetMarketplaceTerms - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SetMarketplaceTerms() { // Generated from example definition: specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2021-01-01/examples/SetMarketplaceTerms.json diff --git a/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/samples/Generated/Samples/Sample_MarketplaceAgreementTermResource.cs b/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/samples/Generated/Samples/Sample_MarketplaceAgreementTermResource.cs index ac455893799c3..43e686287e529 100644 --- a/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/samples/Generated/Samples/Sample_MarketplaceAgreementTermResource.cs +++ b/sdk/marketplaceordering/Azure.ResourceManager.MarketplaceOrdering/samples/Generated/Samples/Sample_MarketplaceAgreementTermResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MarketplaceOrdering.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MarketplaceOrdering.Samples { public partial class Sample_MarketplaceAgreementTermResource { - // GetMarketplaceTerms - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMarketplaceTerms() { // Generated from example definition: specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2021-01-01/examples/GetMarketplaceTerms.json @@ -48,9 +48,8 @@ public async Task Get_GetMarketplaceTerms() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SetMarketplaceTerms - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SetMarketplaceTerms() { // Generated from example definition: specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2021-01-01/examples/SetMarketplaceTerms.json diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_ContentKeyPolicyCollection.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_ContentKeyPolicyCollection.cs index 05ca0bc0f2c26..033263245e5d4 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_ContentKeyPolicyCollection.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_ContentKeyPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Media.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_ContentKeyPolicyCollection { - // Lists Content Key Policies ordered by last modified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsContentKeyPoliciesOrderedByLastModified() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/content-key-policies-list-by-lastModified.json @@ -50,12 +50,11 @@ public async Task GetAll_ListsContentKeyPoliciesOrderedByLastModified() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Lists Content Key Policies with created and last modified filters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsContentKeyPoliciesWithCreatedAndLastModifiedFilters() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/content-key-policies-list-in-date-range.json @@ -88,12 +87,11 @@ public async Task GetAll_ListsContentKeyPoliciesWithCreatedAndLastModifiedFilter Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Lists all Content Key Policies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsAllContentKeyPolicies() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/content-key-policies-list-all.json @@ -125,12 +123,11 @@ public async Task GetAll_ListsAllContentKeyPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a Content Key Policy by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAContentKeyPolicyByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/content-key-policies-get-by-name.json @@ -163,9 +160,8 @@ public async Task Get_GetAContentKeyPolicyByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Content Key Policy by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAContentKeyPolicyByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/content-key-policies-get-by-name.json @@ -194,9 +190,8 @@ public async Task Exists_GetAContentKeyPolicyByName() Console.WriteLine($"Succeeded: {result}"); } - // Get a Content Key Policy by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAContentKeyPolicyByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/content-key-policies-get-by-name.json @@ -225,7 +220,7 @@ public async Task GetIfExists_GetAContentKeyPolicyByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -237,9 +232,8 @@ public async Task GetIfExists_GetAContentKeyPolicyByName() } } - // Creates a Content Key Policy with ClearKey option and Token Restriction - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAContentKeyPolicyWithClearKeyOptionAndTokenRestriction() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/content-key-policies-create-nodrm-token.json @@ -284,9 +278,8 @@ public async Task CreateOrUpdate_CreatesAContentKeyPolicyWithClearKeyOptionAndTo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a Content Key Policy with PlayReady option and Open Restriction - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAContentKeyPolicyWithPlayReadyOptionAndOpenRestriction() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/content-key-policies-create-playready-open.json @@ -342,9 +335,8 @@ public async Task CreateOrUpdate_CreatesAContentKeyPolicyWithPlayReadyOptionAndO Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a Content Key Policy with Widevine option and Token Restriction - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAContentKeyPolicyWithWidevineOptionAndTokenRestriction() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/content-key-policies-create-widevine-token.json @@ -395,9 +387,8 @@ public async Task CreateOrUpdate_CreatesAContentKeyPolicyWithWidevineOptionAndTo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a Content Key Policy with multiple options - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAContentKeyPolicyWithMultipleOptions() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/content-key-policies-create-multiple-options.json diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_ContentKeyPolicyResource.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_ContentKeyPolicyResource.cs index 1689f1c8ed83f..eae58016fba6b 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_ContentKeyPolicyResource.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_ContentKeyPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Media.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_ContentKeyPolicyResource { - // Get a Content Key Policy by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAContentKeyPolicyByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/content-key-policies-get-by-name.json @@ -47,9 +47,8 @@ public async Task Get_GetAContentKeyPolicyByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a Key Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAKeyPolicy() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/content-key-policies-delete.json @@ -72,12 +71,11 @@ public async Task Delete_DeleteAKeyPolicy() // invoke the operation await contentKeyPolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update a Content Key Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAContentKeyPolicy() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/content-key-policies-update.json @@ -118,9 +116,8 @@ public async Task Update_UpdateAContentKeyPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an Content Key Policy with secrets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyPropertiesWithSecrets_GetAnContentKeyPolicyWithSecrets() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/content-key-policies-get-with-secrets.json diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaAssetCollection.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaAssetCollection.cs index 46c561ba990e7..b61d24078a117 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaAssetCollection.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaAssetCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_MediaAssetCollection { - // List Asset created in a date range - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAssetCreatedInADateRange() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/assets-list-in-date-range.json @@ -50,12 +50,11 @@ public async Task GetAll_ListAssetCreatedInADateRange() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Asset ordered by date - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAssetOrderedByDate() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/assets-list-by-date.json @@ -88,12 +87,11 @@ public async Task GetAll_ListAssetOrderedByDate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List all Assets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllAssets() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/assets-list-all.json @@ -125,12 +123,11 @@ public async Task GetAll_ListAllAssets() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an Asset by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAssetByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/assets-get-by-name.json @@ -163,9 +160,8 @@ public async Task Get_GetAnAssetByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an Asset by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnAssetByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/assets-get-by-name.json @@ -194,9 +190,8 @@ public async Task Exists_GetAnAssetByName() Console.WriteLine($"Succeeded: {result}"); } - // Get an Asset by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnAssetByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/assets-get-by-name.json @@ -225,7 +220,7 @@ public async Task GetIfExists_GetAnAssetByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -237,9 +232,8 @@ public async Task GetIfExists_GetAnAssetByName() } } - // Create an Asset - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnAsset() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/assets-create.json @@ -278,9 +272,8 @@ public async Task CreateOrUpdate_CreateAnAsset() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an Asset with encryption scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnAssetWithEncryptionScope() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/assets-create-with-encryption-scope.json diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaAssetFilterCollection.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaAssetFilterCollection.cs index 5fc93902edb14..851872d81634f 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaAssetFilterCollection.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaAssetFilterCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Media.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_MediaAssetFilterCollection { - // List all Asset Filters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllAssetFilters() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/assetFilters-list-all.json @@ -50,12 +50,11 @@ public async Task GetAll_ListAllAssetFilters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an Asset Filter by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAssetFilterByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/assetFilters-get-by-name.json @@ -89,9 +88,8 @@ public async Task Get_GetAnAssetFilterByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an Asset Filter by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnAssetFilterByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/assetFilters-get-by-name.json @@ -121,9 +119,8 @@ public async Task Exists_GetAnAssetFilterByName() Console.WriteLine($"Succeeded: {result}"); } - // Get an Asset Filter by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnAssetFilterByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/assetFilters-get-by-name.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetAnAssetFilterByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_GetAnAssetFilterByName() } } - // Create an Asset Filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnAssetFilter() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/assetFilters-create.json diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaAssetFilterResource.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaAssetFilterResource.cs index 078e72364364a..0a0e69cea9e14 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaAssetFilterResource.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaAssetFilterResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Media.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_MediaAssetFilterResource { - // Get an Asset Filter by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAssetFilterByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/assetFilters-get-by-name.json @@ -48,9 +48,8 @@ public async Task Get_GetAnAssetFilterByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an Asset Filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnAssetFilter() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/assetFilters-delete.json @@ -74,12 +73,11 @@ public async Task Delete_DeleteAnAssetFilter() // invoke the operation await mediaAssetFilter.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update an Asset Filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAnAssetFilter() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/assetFilters-update.json diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaAssetResource.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaAssetResource.cs index eda9814250667..147f7276eb250 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaAssetResource.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaAssetResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Media.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_MediaAssetResource { - // Get an Asset by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAssetByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/assets-get-by-name.json @@ -47,9 +47,8 @@ public async Task Get_GetAnAssetByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an Asset - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnAsset() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/assets-delete.json @@ -72,12 +71,11 @@ public async Task Delete_DeleteAnAsset() // invoke the operation await mediaAsset.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update an Asset - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAnAsset() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/assets-update.json @@ -111,9 +109,8 @@ public async Task Update_UpdateAnAsset() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List Asset SAS URLs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStorageContainerUris_ListAssetSASURLs() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/assets-list-sas-urls.json @@ -144,12 +141,11 @@ public async Task GetStorageContainerUris_ListAssetSASURLs() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Asset Storage Encryption Keys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEncryptionKey_GetAssetStorageEncryptionKeys() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/assets-get-encryption-keys.json @@ -175,9 +171,8 @@ public async Task GetEncryptionKey_GetAssetStorageEncryptionKeys() Console.WriteLine($"Succeeded: {result}"); } - // List Asset SAS URLs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStreamingLocators_ListAssetSASURLs() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/assets-list-streaming-locators.json @@ -203,7 +198,7 @@ public async Task GetStreamingLocators_ListAssetSASURLs() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaAssetTrackCollection.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaAssetTrackCollection.cs index 6a0207aec5aeb..8810bd2d81b0d 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaAssetTrackCollection.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaAssetTrackCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Media.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_MediaAssetTrackCollection { - // Lists all Tracks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsAllTracks() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/asset-tracks-list-all.json @@ -50,12 +50,11 @@ public async Task GetAll_ListsAllTracks() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a Track by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetATrackByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/asset-tracks-get-by-name.json @@ -89,9 +88,8 @@ public async Task Get_GetATrackByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Track by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetATrackByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/asset-tracks-get-by-name.json @@ -121,9 +119,8 @@ public async Task Exists_GetATrackByName() Console.WriteLine($"Succeeded: {result}"); } - // Get a Track by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetATrackByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/asset-tracks-get-by-name.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetATrackByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_GetATrackByName() } } - // Creates a Track - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesATrack() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/asset-tracks-create.json diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaAssetTrackResource.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaAssetTrackResource.cs index bbd9ca28e0e8f..c7832f397cc55 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaAssetTrackResource.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaAssetTrackResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Media.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_MediaAssetTrackResource { - // Get a Track by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetATrackByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/asset-tracks-get-by-name.json @@ -48,9 +48,8 @@ public async Task Get_GetATrackByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a Track - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteATrack() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/asset-tracks-delete.json @@ -74,12 +73,11 @@ public async Task Delete_DeleteATrack() // invoke the operation await mediaAssetTrack.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update a Track - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateATrack() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/asset-tracks-update.json @@ -118,9 +116,8 @@ public async Task Update_UpdateATrack() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update the data for a tracks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateTrackData_UpdateTheDataForATracks() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/asset-tracks-update-data.json @@ -144,7 +141,7 @@ public async Task UpdateTrackData_UpdateTheDataForATracks() // invoke the operation await mediaAssetTrack.UpdateTrackDataAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaJobCollection.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaJobCollection.cs index 13f66c52bda73..1b045314d176c 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaJobCollection.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaJobCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Media.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_MediaJobCollection { - // Lists Jobs for the Transform filter by created. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsJobsForTheTransformFilterByCreated() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/jobs-list-all-filter-by-created.json @@ -52,12 +52,11 @@ public async Task GetAll_ListsJobsForTheTransformFilterByCreated() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Lists Jobs for the Transform filter by lastmodified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsJobsForTheTransformFilterByLastmodified() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/jobs-list-all-filter-by-lastmodified.json @@ -92,12 +91,11 @@ public async Task GetAll_ListsJobsForTheTransformFilterByLastmodified() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Lists Jobs for the Transform filter by name and state. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsJobsForTheTransformFilterByNameAndState() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/jobs-list-all-filter-by-name-and-state.json @@ -131,12 +129,11 @@ public async Task GetAll_ListsJobsForTheTransformFilterByNameAndState() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Lists Jobs for the Transform filter by name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsJobsForTheTransformFilterByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/jobs-list-all-filter-by-name.json @@ -171,12 +168,11 @@ public async Task GetAll_ListsJobsForTheTransformFilterByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Lists Jobs for the Transform filter by state equal. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsJobsForTheTransformFilterByStateEqual() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/jobs-list-all-filter-by-state-eq.json @@ -210,12 +206,11 @@ public async Task GetAll_ListsJobsForTheTransformFilterByStateEqual() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Lists Jobs for the Transform filter by state not equal. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsJobsForTheTransformFilterByStateNotEqual() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/jobs-list-all-filter-by-state-ne.json @@ -249,12 +244,11 @@ public async Task GetAll_ListsJobsForTheTransformFilterByStateNotEqual() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Lists all of the Jobs for the Transform. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsAllOfTheJobsForTheTransform() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/jobs-list-all.json @@ -287,12 +281,11 @@ public async Task GetAll_ListsAllOfTheJobsForTheTransform() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a Job by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAJobByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/jobs-get-by-name.json @@ -326,9 +319,8 @@ public async Task Get_GetAJobByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Job by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAJobByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/jobs-get-by-name.json @@ -358,9 +350,8 @@ public async Task Exists_GetAJobByName() Console.WriteLine($"Succeeded: {result}"); } - // Get a Job by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAJobByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/jobs-get-by-name.json @@ -390,7 +381,7 @@ public async Task GetIfExists_GetAJobByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -402,9 +393,8 @@ public async Task GetIfExists_GetAJobByName() } } - // Create a Job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAJob() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/jobs-create.json diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaJobResource.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaJobResource.cs index b523964b0fab0..4582c9280f7ba 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaJobResource.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaJobResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Media.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_MediaJobResource { - // Get a Job by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAJobByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/jobs-get-by-name.json @@ -48,9 +48,8 @@ public async Task Get_GetAJobByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a Job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAJob() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/jobs-delete.json @@ -74,12 +73,11 @@ public async Task Delete_DeleteAJob() // invoke the operation await mediaJob.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update a Job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAJob() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/jobs-update.json @@ -120,9 +118,8 @@ public async Task Update_UpdateAJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Cancel a Job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CancelJob_CancelAJob() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/jobs-cancel.json @@ -146,7 +143,7 @@ public async Task CancelJob_CancelAJob() // invoke the operation await mediaJob.CancelJobAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaLiveEventCollection.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaLiveEventCollection.cs index c2723e666a513..9eeb81dd5f86f 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaLiveEventCollection.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaLiveEventCollection.cs @@ -12,14 +12,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Media.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_MediaLiveEventCollection { - // List all LiveEvents - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllLiveEvents() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/liveevent-list-all.json @@ -51,12 +51,11 @@ public async Task GetAll_ListAllLiveEvents() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a LiveEvent by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetALiveEventByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/liveevent-list-by-name.json @@ -89,9 +88,8 @@ public async Task Get_GetALiveEventByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a LiveEvent by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetALiveEventByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/liveevent-list-by-name.json @@ -120,9 +118,8 @@ public async Task Exists_GetALiveEventByName() Console.WriteLine($"Succeeded: {result}"); } - // Get a LiveEvent by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetALiveEventByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/liveevent-list-by-name.json @@ -151,7 +148,7 @@ public async Task GetIfExists_GetALiveEventByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -163,9 +160,8 @@ public async Task GetIfExists_GetALiveEventByName() } } - // Create a LiveEvent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateALiveEvent() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/liveevent-create.json diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaLiveEventResource.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaLiveEventResource.cs index c3cb2c964ddc8..31533681d503b 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaLiveEventResource.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaLiveEventResource.cs @@ -12,14 +12,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Media.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_MediaLiveEventResource { - // Get a LiveEvent by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetALiveEventByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/liveevent-list-by-name.json @@ -49,9 +49,8 @@ public async Task Get_GetALiveEventByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a LiveEvent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateALiveEvent() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/liveevent-update.json @@ -115,9 +114,8 @@ public async Task Update_UpdateALiveEvent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a LiveEvent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteALiveEvent() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/liveevent-delete.json @@ -140,12 +138,11 @@ public async Task Delete_DeleteALiveEvent() // invoke the operation await mediaLiveEvent.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Allocate a LiveEvent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Allocate_AllocateALiveEvent() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/liveevent-allocate.json @@ -168,12 +165,11 @@ public async Task Allocate_AllocateALiveEvent() // invoke the operation await mediaLiveEvent.AllocateAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Start a LiveEvent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_StartALiveEvent() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/liveevent-start.json @@ -196,12 +192,11 @@ public async Task Start_StartALiveEvent() // invoke the operation await mediaLiveEvent.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Stop a LiveEvent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_StopALiveEvent() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/liveevent-stop.json @@ -228,12 +223,11 @@ public async Task Stop_StopALiveEvent() }; await mediaLiveEvent.StopAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Reset a LiveEvent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reset_ResetALiveEvent() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/liveevent-reset.json @@ -256,7 +250,7 @@ public async Task Reset_ResetALiveEvent() // invoke the operation await mediaLiveEvent.ResetAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaLiveOutputCollection.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaLiveOutputCollection.cs index 143ff9bf633b5..e53a32a78c004 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaLiveOutputCollection.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaLiveOutputCollection.cs @@ -10,14 +10,14 @@ using System.Xml; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_MediaLiveOutputCollection { - // List all LiveOutputs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllLiveOutputs() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/liveoutput-list-all.json @@ -50,12 +50,11 @@ public async Task GetAll_ListAllLiveOutputs() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a LiveOutput by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetALiveOutputByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/liveoutput-list-by-name.json @@ -89,9 +88,8 @@ public async Task Get_GetALiveOutputByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a LiveOutput by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetALiveOutputByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/liveoutput-list-by-name.json @@ -121,9 +119,8 @@ public async Task Exists_GetALiveOutputByName() Console.WriteLine($"Succeeded: {result}"); } - // Get a LiveOutput by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetALiveOutputByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/liveoutput-list-by-name.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetALiveOutputByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_GetALiveOutputByName() } } - // Create a LiveOutput - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateALiveOutput() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/liveoutput-create.json diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaLiveOutputResource.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaLiveOutputResource.cs index 9d6207c55b5c0..f236f310f7e0b 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaLiveOutputResource.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaLiveOutputResource.cs @@ -10,14 +10,14 @@ using System.Xml; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_MediaLiveOutputResource { - // Get a LiveOutput by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetALiveOutputByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/liveoutput-list-by-name.json @@ -48,9 +48,8 @@ public async Task Get_GetALiveOutputByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a LiveOutput - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateALiveOutput() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/liveoutput-create.json @@ -91,9 +90,8 @@ public async Task Update_CreateALiveOutput() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a LiveOutput - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteALiveOutput() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/liveoutput-delete.json @@ -117,7 +115,7 @@ public async Task Delete_DeleteALiveOutput() // invoke the operation await mediaLiveOutput.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesAccountCollection.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesAccountCollection.cs index 694a6bd02cb2a..739121773cce4 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesAccountCollection.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesAccountCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Media.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_MediaServicesAccountCollection { - // List all Media Services accounts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllMediaServicesAccounts() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/accounts-list-all-accounts.json @@ -50,12 +50,11 @@ public async Task GetAll_ListAllMediaServicesAccounts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a Media Services account by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAMediaServicesAccountByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/accounts-get-by-name.json @@ -87,9 +86,8 @@ public async Task Get_GetAMediaServicesAccountByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Media Services account by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAMediaServicesAccountByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/accounts-get-by-name.json @@ -117,9 +115,8 @@ public async Task Exists_GetAMediaServicesAccountByName() Console.WriteLine($"Succeeded: {result}"); } - // Get a Media Services account by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAMediaServicesAccountByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/accounts-get-by-name.json @@ -147,7 +144,7 @@ public async Task GetIfExists_GetAMediaServicesAccountByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_GetAMediaServicesAccountByName() } } - // Create a Media Services account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAMediaServicesAccount() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/async-accounts-create.json @@ -209,9 +205,8 @@ public async Task CreateOrUpdate_CreateAMediaServicesAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a Media Services account-managed-identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAMediaServicesAccountManagedIdentity() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/async-accounts-create-managed-identity.json diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesAccountFilterCollection.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesAccountFilterCollection.cs index 5b682b2f2af68..48b63078282e7 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesAccountFilterCollection.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesAccountFilterCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Media.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_MediaServicesAccountFilterCollection { - // List all Account Filters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllAccountFilters() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/accountFilters-list-all.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAllAccountFilters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an Account Filter by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAccountFilterByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/accountFilters-get-by-name.json @@ -87,9 +86,8 @@ public async Task Get_GetAnAccountFilterByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an Account Filter by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnAccountFilterByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/accountFilters-get-by-name.json @@ -118,9 +116,8 @@ public async Task Exists_GetAnAccountFilterByName() Console.WriteLine($"Succeeded: {result}"); } - // Get an Account Filter by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnAccountFilterByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/accountFilters-get-by-name.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetAnAccountFilterByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetAnAccountFilterByName() } } - // Create an Account Filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnAccountFilter() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/accountFilters-create.json diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesAccountFilterResource.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesAccountFilterResource.cs index c456e1e590467..b988fae7b9f36 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesAccountFilterResource.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesAccountFilterResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Media.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_MediaServicesAccountFilterResource { - // Get an Account Filter by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAccountFilterByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/accountFilters-get-by-name.json @@ -47,9 +47,8 @@ public async Task Get_GetAnAccountFilterByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an Account Filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnAccountFilter() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/accountFilters-delete.json @@ -72,12 +71,11 @@ public async Task Delete_DeleteAnAccountFilter() // invoke the operation await mediaServicesAccountFilter.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update an Account Filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAnAccountFilter() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/accountFilters-update.json diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesAccountResource.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesAccountResource.cs index 28c102a057de0..7d55abb9323fd 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesAccountResource.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesAccountResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Media.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_MediaServicesAccountResource { - // Get a Media Services account by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAMediaServicesAccountByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/accounts-get-by-name.json @@ -47,9 +47,8 @@ public async Task Get_GetAMediaServicesAccountByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a Media Services account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAMediaServicesAccount() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/accounts-delete.json @@ -71,12 +70,11 @@ public async Task Delete_DeleteAMediaServicesAccount() // invoke the operation await mediaServicesAccount.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update a Media Services accounts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAMediaServicesAccounts() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/async-accounts-update.json @@ -113,9 +111,8 @@ public async Task Update_UpdateAMediaServicesAccounts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Synchronizes Storage Account Keys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SyncStorageKeys_SynchronizesStorageAccountKeys() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/accounts-sync-storage-keys.json @@ -141,12 +138,11 @@ public async Task SyncStorageKeys_SynchronizesStorageAccountKeys() }; await mediaServicesAccount.SyncStorageKeysAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List the media edge policies. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEdgePolicies_ListTheMediaEdgePolicies() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/accounts-list-media-edge-policies.json @@ -175,9 +171,8 @@ public async Task GetEdgePolicies_ListTheMediaEdgePolicies() Console.WriteLine($"Succeeded: {result}"); } - // List all Media Services accounts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMediaServicesAccounts_ListAllMediaServicesAccounts() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/accounts-subscription-list-all-accounts.json @@ -204,7 +199,7 @@ public async Task GetMediaServicesAccounts_ListAllMediaServicesAccounts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesPrivateEndpointConnectionCollection.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesPrivateEndpointConnectionCollection.cs index 256b246469b11..f050725caf21f 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesPrivateEndpointConnectionCollection.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Media.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_MediaServicesPrivateEndpointConnectionCollection { - // Get all private endpoint connections. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllPrivateEndpointConnections() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/private-endpoint-connection-list.json @@ -49,12 +49,11 @@ public async Task GetAll_GetAllPrivateEndpointConnections() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateEndpointConnection() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/private-endpoint-connection-get-by-name.json @@ -87,9 +86,8 @@ public async Task Get_GetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPrivateEndpointConnection() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/private-endpoint-connection-get-by-name.json @@ -118,9 +116,8 @@ public async Task Exists_GetPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // Get private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPrivateEndpointConnection() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/private-endpoint-connection-get-by-name.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetPrivateEndpointConnection() } } - // Update private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdatePrivateEndpointConnection() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/private-endpoint-connection-put.json diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesPrivateEndpointConnectionResource.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesPrivateEndpointConnectionResource.cs index f843a94564f9a..47969eba78ec6 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesPrivateEndpointConnectionResource.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Media.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_MediaServicesPrivateEndpointConnectionResource { - // Get private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateEndpointConnection() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/private-endpoint-connection-get-by-name.json @@ -47,9 +47,8 @@ public async Task Get_GetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatePrivateEndpointConnection() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/private-endpoint-connection-put.json @@ -88,9 +87,8 @@ public async Task Update_UpdatePrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletePrivateEndpointConnection() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/private-endpoint-connection-delete.json @@ -113,7 +111,7 @@ public async Task Delete_DeletePrivateEndpointConnection() // invoke the operation await mediaServicesPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesPrivateLinkResource.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesPrivateLinkResource.cs index 1061357e58f87..9b3afc8440d74 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesPrivateLinkResource.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_MediaServicesPrivateLinkResource { - // Get details of a group ID. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfAGroupID() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/private-link-resources-get-by-name.json diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesPrivateLinkResourceCollection.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesPrivateLinkResourceCollection.cs index f134044ce7a5b..aab5081eb4d7b 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesPrivateLinkResourceCollection.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaServicesPrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_MediaServicesPrivateLinkResourceCollection { - // Get list of all group IDs. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetListOfAllGroupIDs() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/private-link-resources-list.json @@ -48,12 +48,11 @@ public async Task GetAll_GetListOfAllGroupIDs() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get details of a group ID. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfAGroupID() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/private-link-resources-get-by-name.json @@ -86,9 +85,8 @@ public async Task Get_GetDetailsOfAGroupID() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get details of a group ID. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDetailsOfAGroupID() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/private-link-resources-get-by-name.json @@ -117,9 +115,8 @@ public async Task Exists_GetDetailsOfAGroupID() Console.WriteLine($"Succeeded: {result}"); } - // Get details of a group ID. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDetailsOfAGroupID() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/private-link-resources-get-by-name.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetDetailsOfAGroupID() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaTransformCollection.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaTransformCollection.cs index 986b5e98c2aab..99600123126ad 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaTransformCollection.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaTransformCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Media.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_MediaTransformCollection { - // Lists the Transforms - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsTheTransforms() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/transforms-list-all.json @@ -49,12 +49,11 @@ public async Task GetAll_ListsTheTransforms() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Lists the Transforms filter by created - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsTheTransformsFilterByCreated() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/transforms-list-all-filter-by-created.json @@ -88,12 +87,11 @@ public async Task GetAll_ListsTheTransformsFilterByCreated() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Lists the Transforms filter by lastmodified - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsTheTransformsFilterByLastmodified() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/transforms-list-all-filter-by-lastmodified.json @@ -127,12 +125,11 @@ public async Task GetAll_ListsTheTransformsFilterByLastmodified() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Lists the Transforms filter by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsTheTransformsFilterByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/transforms-list-all-filter-by-name.json @@ -166,12 +163,11 @@ public async Task GetAll_ListsTheTransformsFilterByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a Transform by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetATransformByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/transforms-get-by-name.json @@ -204,9 +200,8 @@ public async Task Get_GetATransformByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Transform by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetATransformByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/transforms-get-by-name.json @@ -235,9 +230,8 @@ public async Task Exists_GetATransformByName() Console.WriteLine($"Succeeded: {result}"); } - // Get a Transform by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetATransformByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/transforms-get-by-name.json @@ -266,7 +260,7 @@ public async Task GetIfExists_GetATransformByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -278,9 +272,8 @@ public async Task GetIfExists_GetATransformByName() } } - // Create or update a Transform - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateATransform() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/transforms-create.json diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaTransformResource.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaTransformResource.cs index 3130b2cf41755..e65c6a09620b3 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaTransformResource.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_MediaTransformResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Media.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_MediaTransformResource { - // Get a Transform by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetATransformByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/transforms-get-by-name.json @@ -47,9 +47,8 @@ public async Task Get_GetATransformByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a Transform - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteATransform() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/transforms-delete.json @@ -72,12 +71,11 @@ public async Task Delete_DeleteATransform() // invoke the operation await mediaTransform.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update a Transform. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateATransform() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/examples/transforms-update.json diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_StreamingEndpointCollection.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_StreamingEndpointCollection.cs index 7d1e37cfd8ca2..f2cd027994f59 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_StreamingEndpointCollection.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_StreamingEndpointCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Media.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_StreamingEndpointCollection { - // List all streaming endpoints - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllStreamingEndpoints() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/streamingendpoint-list-all.json @@ -50,12 +50,11 @@ public async Task GetAll_ListAllStreamingEndpoints() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a streaming endpoint by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAStreamingEndpointByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/streamingendpoint-list-by-name.json @@ -88,9 +87,8 @@ public async Task Get_GetAStreamingEndpointByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a streaming endpoint by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAStreamingEndpointByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/streamingendpoint-list-by-name.json @@ -119,9 +117,8 @@ public async Task Exists_GetAStreamingEndpointByName() Console.WriteLine($"Succeeded: {result}"); } - // Get a streaming endpoint by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAStreamingEndpointByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/streamingendpoint-list-by-name.json @@ -150,7 +147,7 @@ public async Task GetIfExists_GetAStreamingEndpointByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_GetAStreamingEndpointByName() } } - // Create a streaming endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAStreamingEndpoint() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/streamingendpoint-create.json diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_StreamingEndpointResource.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_StreamingEndpointResource.cs index 84397992daa4d..4b6877c58c016 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_StreamingEndpointResource.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_StreamingEndpointResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Media.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_StreamingEndpointResource { - // Get a streaming endpoint by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAStreamingEndpointByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/streamingendpoint-list-by-name.json @@ -47,9 +47,8 @@ public async Task Get_GetAStreamingEndpointByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a streaming endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAStreamingEndpoint() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/streamingendpoint-update.json @@ -91,9 +90,8 @@ public async Task Update_UpdateAStreamingEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a streaming endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAStreamingEndpoint() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/streamingendpoint-delete.json @@ -116,12 +114,11 @@ public async Task Delete_DeleteAStreamingEndpoint() // invoke the operation await streamingEndpoint.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List a streaming endpoint sku - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSupportedSkus_ListAStreamingEndpointSku() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/streamingendpoint-list-skus.json @@ -147,12 +144,11 @@ public async Task GetSupportedSkus_ListAStreamingEndpointSku() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Start a streaming endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_StartAStreamingEndpoint() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/streamingendpoint-start.json @@ -175,12 +171,11 @@ public async Task Start_StartAStreamingEndpoint() // invoke the operation await streamingEndpoint.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Stop a streaming endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_StopAStreamingEndpoint() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/streamingendpoint-stop.json @@ -203,12 +198,11 @@ public async Task Stop_StopAStreamingEndpoint() // invoke the operation await streamingEndpoint.StopAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Scale a StreamingEndpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Scale_ScaleAStreamingEndpoint() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Streaming/stable/2022-08-01/examples/streamingendpoint-scale.json @@ -235,7 +229,7 @@ public async Task Scale_ScaleAStreamingEndpoint() }; await streamingEndpoint.ScaleAsync(WaitUntil.Completed, streamingEntityScaleUnit); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_StreamingLocatorCollection.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_StreamingLocatorCollection.cs index a1dab05398bbb..43dfc404afce3 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_StreamingLocatorCollection.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_StreamingLocatorCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Media.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_StreamingLocatorCollection { - // Lists Streaming Locators - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsStreamingLocators() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-locators-list.json @@ -49,12 +49,11 @@ public async Task GetAll_ListsStreamingLocators() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a Streaming Locator by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAStreamingLocatorByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-locators-get-by-name.json @@ -87,9 +86,8 @@ public async Task Get_GetAStreamingLocatorByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Streaming Locator by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAStreamingLocatorByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-locators-get-by-name.json @@ -118,9 +116,8 @@ public async Task Exists_GetAStreamingLocatorByName() Console.WriteLine($"Succeeded: {result}"); } - // Get a Streaming Locator by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAStreamingLocatorByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-locators-get-by-name.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetAStreamingLocatorByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetAStreamingLocatorByName() } } - // Creates a Streaming Locator with clear streaming - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAStreamingLocatorWithClearStreaming() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-locators-create-clear.json @@ -202,9 +198,8 @@ public async Task CreateOrUpdate_CreatesAStreamingLocatorWithClearStreaming() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a Streaming Locator with secure streaming - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAStreamingLocatorWithSecureStreaming() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-locators-create-secure.json @@ -245,9 +240,8 @@ public async Task CreateOrUpdate_CreatesAStreamingLocatorWithSecureStreaming() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a Streaming Locator with user defined content keys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAStreamingLocatorWithUserDefinedContentKeys() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-locators-create-secure-userDefinedContentKeys.json diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_StreamingLocatorResource.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_StreamingLocatorResource.cs index abf3334aa40bf..c2e9ae0bf19b9 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_StreamingLocatorResource.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_StreamingLocatorResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Media.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_StreamingLocatorResource { - // Get a Streaming Locator by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAStreamingLocatorByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-locators-get-by-name.json @@ -47,9 +47,8 @@ public async Task Get_GetAStreamingLocatorByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a Streaming Locator with clear streaming - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesAStreamingLocatorWithClearStreaming() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-locators-create-clear.json @@ -85,9 +84,8 @@ public async Task Update_CreatesAStreamingLocatorWithClearStreaming() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a Streaming Locator with secure streaming - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesAStreamingLocatorWithSecureStreaming() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-locators-create-secure.json @@ -125,9 +123,8 @@ public async Task Update_CreatesAStreamingLocatorWithSecureStreaming() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a Streaming Locator with user defined content keys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesAStreamingLocatorWithUserDefinedContentKeys() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-locators-create-secure-userDefinedContentKeys.json @@ -180,9 +177,8 @@ public async Task Update_CreatesAStreamingLocatorWithUserDefinedContentKeys() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a Streaming Locator - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAStreamingLocator() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-locators-delete.json @@ -205,12 +201,11 @@ public async Task Delete_DeleteAStreamingLocator() // invoke the operation await streamingLocator.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Content Keys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContentKeys_ListContentKeys() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-locators-list-content-keys.json @@ -236,12 +231,11 @@ public async Task GetContentKeys_ListContentKeys() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Paths which has streaming paths and download paths - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStreamingPaths_ListPathsWhichHasStreamingPathsAndDownloadPaths() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-locators-list-paths-streaming-and-download.json @@ -267,9 +261,8 @@ public async Task GetStreamingPaths_ListPathsWhichHasStreamingPathsAndDownloadPa Console.WriteLine($"Succeeded: {result}"); } - // List Paths which has streaming paths only - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStreamingPaths_ListPathsWhichHasStreamingPathsOnly() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-locators-list-paths-streaming-only.json diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_StreamingPolicyCollection.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_StreamingPolicyCollection.cs index 912bb9710f52f..cf513926e57d7 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_StreamingPolicyCollection.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_StreamingPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Media.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_StreamingPolicyCollection { - // Lists Streaming Policies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsStreamingPolicies() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-policies-list.json @@ -49,12 +49,11 @@ public async Task GetAll_ListsStreamingPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a Streaming Policy by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAStreamingPolicyByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-policy-get-by-name.json @@ -87,9 +86,8 @@ public async Task Get_GetAStreamingPolicyByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Streaming Policy by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAStreamingPolicyByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-policy-get-by-name.json @@ -118,9 +116,8 @@ public async Task Exists_GetAStreamingPolicyByName() Console.WriteLine($"Succeeded: {result}"); } - // Get a Streaming Policy by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAStreamingPolicyByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-policy-get-by-name.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetAStreamingPolicyByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetAStreamingPolicyByName() } } - // Creates a Streaming Policy with ClearKey encryption in commonEncryptionCbcs. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAStreamingPolicyWithClearKeyEncryptionInCommonEncryptionCbcs() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-policies-create-commonEncryptionCbcs-clearKeyEncryption.json @@ -213,9 +209,8 @@ public async Task CreateOrUpdate_CreatesAStreamingPolicyWithClearKeyEncryptionIn Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a Streaming Policy with ClearKey encryption in commonEncryptionCenc. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAStreamingPolicyWithClearKeyEncryptionInCommonEncryptionCenc() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-policies-create-commonEncryptionCenc-clearKeyEncryption.json @@ -278,9 +273,8 @@ public async Task CreateOrUpdate_CreatesAStreamingPolicyWithClearKeyEncryptionIn Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a Streaming Policy with clear streaming - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAStreamingPolicyWithClearStreaming() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-policies-create-clear.json @@ -318,9 +312,8 @@ public async Task CreateOrUpdate_CreatesAStreamingPolicyWithClearStreaming() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a Streaming Policy with commonEncryptionCbcs only - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAStreamingPolicyWithCommonEncryptionCbcsOnly() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-policies-create-commonEncryptionCbcs-only.json @@ -376,9 +369,8 @@ public async Task CreateOrUpdate_CreatesAStreamingPolicyWithCommonEncryptionCbcs Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a Streaming Policy with commonEncryptionCenc only - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAStreamingPolicyWithCommonEncryptionCencOnly() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-policies-create-commonEncryptionCenc-only.json @@ -449,9 +441,8 @@ public async Task CreateOrUpdate_CreatesAStreamingPolicyWithCommonEncryptionCenc Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a Streaming Policy with envelopeEncryption only - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAStreamingPolicyWithEnvelopeEncryptionOnly() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-policies-create-envelopeEncryption-only.json @@ -501,9 +492,8 @@ public async Task CreateOrUpdate_CreatesAStreamingPolicyWithEnvelopeEncryptionOn Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a Streaming Policy with secure streaming - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAStreamingPolicyWithSecureStreaming() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-policies-create-secure-streaming.json diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_StreamingPolicyResource.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_StreamingPolicyResource.cs index 53cc9eb625072..ec460a009ed84 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_StreamingPolicyResource.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_StreamingPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Media.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_StreamingPolicyResource { - // Get a Streaming Policy by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAStreamingPolicyByName() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-policy-get-by-name.json @@ -47,9 +47,8 @@ public async Task Get_GetAStreamingPolicyByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a Streaming Policy with ClearKey encryption in commonEncryptionCbcs. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesAStreamingPolicyWithClearKeyEncryptionInCommonEncryptionCbcs() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-policies-create-commonEncryptionCbcs-clearKeyEncryption.json @@ -96,9 +95,8 @@ public async Task Update_CreatesAStreamingPolicyWithClearKeyEncryptionInCommonEn Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a Streaming Policy with ClearKey encryption in commonEncryptionCenc. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesAStreamingPolicyWithClearKeyEncryptionInCommonEncryptionCenc() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-policies-create-commonEncryptionCenc-clearKeyEncryption.json @@ -158,9 +156,8 @@ public async Task Update_CreatesAStreamingPolicyWithClearKeyEncryptionInCommonEn Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a Streaming Policy with clear streaming - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesAStreamingPolicyWithClearStreaming() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-policies-create-clear.json @@ -195,9 +192,8 @@ public async Task Update_CreatesAStreamingPolicyWithClearStreaming() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a Streaming Policy with commonEncryptionCbcs only - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesAStreamingPolicyWithCommonEncryptionCbcsOnly() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-policies-create-commonEncryptionCbcs-only.json @@ -250,9 +246,8 @@ public async Task Update_CreatesAStreamingPolicyWithCommonEncryptionCbcsOnly() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a Streaming Policy with commonEncryptionCenc only - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesAStreamingPolicyWithCommonEncryptionCencOnly() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-policies-create-commonEncryptionCenc-only.json @@ -320,9 +315,8 @@ public async Task Update_CreatesAStreamingPolicyWithCommonEncryptionCencOnly() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a Streaming Policy with envelopeEncryption only - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesAStreamingPolicyWithEnvelopeEncryptionOnly() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-policies-create-envelopeEncryption-only.json @@ -369,9 +363,8 @@ public async Task Update_CreatesAStreamingPolicyWithEnvelopeEncryptionOnly() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a Streaming Policy with secure streaming - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesAStreamingPolicyWithSecureStreaming() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-policies-create-secure-streaming.json @@ -469,9 +462,8 @@ public async Task Update_CreatesAStreamingPolicyWithSecureStreaming() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a Streaming Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAStreamingPolicy() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/examples/streaming-policies-delete.json @@ -494,7 +486,7 @@ public async Task Delete_DeleteAStreamingPolicy() // invoke the operation await streamingPolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 6387ef5a057e9..442622612197c 100644 --- a/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/mediaservices/Azure.ResourceManager.Media/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Media.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Media.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Check Name Availability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckMediaServicesNameAvailability_CheckNameAvailability() { // Generated from example definition: specification/mediaservices/resource-manager/Microsoft.Media/Accounts/stable/2023-01-01/examples/accounts-check-name-availability.json diff --git a/sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/samples/Generated/Samples/Sample_SapDiscoveryServerInstanceCollection.cs b/sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/samples/Generated/Samples/Sample_SapDiscoveryServerInstanceCollection.cs index 5a7ea40b083f7..c79fd7360cdc3 100644 --- a/sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/samples/Generated/Samples/Sample_SapDiscoveryServerInstanceCollection.cs +++ b/sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/samples/Generated/Samples/Sample_SapDiscoveryServerInstanceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MigrationDiscoverySap.Samples { public partial class Sample_SapDiscoveryServerInstanceCollection { - // Lists the Server Instance resources for the given SAP Instance resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsTheServerInstanceResourcesForTheGivenSAPInstanceResource() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/ServerInstances_List.json @@ -49,12 +49,11 @@ public async Task GetAll_ListsTheServerInstanceResourcesForTheGivenSAPInstanceRe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GET a Server Instance resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GETAServerInstanceResource() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/ServerInstances_Get.json @@ -88,9 +87,8 @@ public async Task Get_GETAServerInstanceResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GET a Server Instance resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GETAServerInstanceResource() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/ServerInstances_Get.json @@ -120,9 +118,8 @@ public async Task Exists_GETAServerInstanceResource() Console.WriteLine($"Succeeded: {result}"); } - // GET a Server Instance resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GETAServerInstanceResource() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/ServerInstances_Get.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GETAServerInstanceResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_GETAServerInstanceResource() } } - // Creates the Server Instance resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesTheServerInstanceResource() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/ServerInstances_Create.json diff --git a/sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/samples/Generated/Samples/Sample_SapDiscoveryServerInstanceResource.cs b/sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/samples/Generated/Samples/Sample_SapDiscoveryServerInstanceResource.cs index 273812e9f67b8..7d62dd76cbfdb 100644 --- a/sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/samples/Generated/Samples/Sample_SapDiscoveryServerInstanceResource.cs +++ b/sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/samples/Generated/Samples/Sample_SapDiscoveryServerInstanceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MigrationDiscoverySap.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MigrationDiscoverySap.Samples { public partial class Sample_SapDiscoveryServerInstanceResource { - // GET a Server Instance resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GETAServerInstanceResource() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/ServerInstances_Get.json @@ -48,9 +48,8 @@ public async Task Get_GETAServerInstanceResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates the Server Instance resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesTheServerInstanceResource() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/ServerInstances_Update.json @@ -85,9 +84,8 @@ public async Task Update_UpdatesTheServerInstanceResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes the Server Instance resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesTheServerInstanceResource() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/ServerInstances_Delete.json @@ -111,7 +109,7 @@ public async Task Delete_DeletesTheServerInstanceResource() // invoke the operation await sapDiscoveryServerInstance.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/samples/Generated/Samples/Sample_SapDiscoverySiteCollection.cs b/sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/samples/Generated/Samples/Sample_SapDiscoverySiteCollection.cs index 0c8f0cf8662de..39504266922b5 100644 --- a/sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/samples/Generated/Samples/Sample_SapDiscoverySiteCollection.cs +++ b/sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/samples/Generated/Samples/Sample_SapDiscoverySiteCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MigrationDiscoverySap.Samples { public partial class Sample_SapDiscoverySiteCollection { - // List SAP Migration discovery site resources by Resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSAPMigrationDiscoverySiteResourcesByResourceGroup() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/SAPDiscoverySites_ListByResourceGroup.json @@ -48,12 +48,11 @@ public async Task GetAll_ListSAPMigrationDiscoverySiteResourcesByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GET a SAP Migration discovery site resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GETASAPMigrationDiscoverySiteResource() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/SAPDiscoverySites_Get.json @@ -85,9 +84,8 @@ public async Task Get_GETASAPMigrationDiscoverySiteResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GET a SAP Migration discovery site resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GETASAPMigrationDiscoverySiteResource() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/SAPDiscoverySites_Get.json @@ -115,9 +113,8 @@ public async Task Exists_GETASAPMigrationDiscoverySiteResource() Console.WriteLine($"Succeeded: {result}"); } - // GET a SAP Migration discovery site resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GETASAPMigrationDiscoverySiteResource() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/SAPDiscoverySites_Get.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GETASAPMigrationDiscoverySiteResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -157,9 +154,8 @@ public async Task GetIfExists_GETASAPMigrationDiscoverySiteResource() } } - // Create resource for Import based input. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateResourceForImportBasedInput() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/SAPDiscoverySites_Create.json diff --git a/sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/samples/Generated/Samples/Sample_SapDiscoverySiteResource.cs b/sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/samples/Generated/Samples/Sample_SapDiscoverySiteResource.cs index 161552ad6e588..302bbafcaeb7e 100644 --- a/sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/samples/Generated/Samples/Sample_SapDiscoverySiteResource.cs +++ b/sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/samples/Generated/Samples/Sample_SapDiscoverySiteResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.MigrationDiscoverySap.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MigrationDiscoverySap.Samples { public partial class Sample_SapDiscoverySiteResource { - // List SAP Migration discovery site resources in a subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSapDiscoverySites_ListSAPMigrationDiscoverySiteResourcesInASubscription() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/SAPDiscoverySites_ListBySubscription.json @@ -46,12 +46,11 @@ public async Task GetSapDiscoverySites_ListSAPMigrationDiscoverySiteResourcesInA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GET a SAP Migration discovery site resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GETASAPMigrationDiscoverySiteResource() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/SAPDiscoverySites_Get.json @@ -80,9 +79,8 @@ public async Task Get_GETASAPMigrationDiscoverySiteResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates a SAP Migration discovery site resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesASAPMigrationDiscoverySiteResource() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/SAPDiscoverySites_Update.json @@ -118,9 +116,8 @@ public async Task Update_UpdatesASAPMigrationDiscoverySiteResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a SAP Migration discovery site resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesASAPMigrationDiscoverySiteResource() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/SAPDiscoverySites_Delete.json @@ -142,12 +139,11 @@ public async Task Delete_DeletesASAPMigrationDiscoverySiteResource() // invoke the operation await sapDiscoverySite.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Import a SAP Migration discovery site resource and it's child resources. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ImportEntities_ImportASAPMigrationDiscoverySiteResourceAndItSChildResources() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/SAPDiscoverySites_ImportEntities.json diff --git a/sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/samples/Generated/Samples/Sample_SapInstanceCollection.cs b/sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/samples/Generated/Samples/Sample_SapInstanceCollection.cs index 9cb30856d34e9..46d2c1f8b319a 100644 --- a/sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/samples/Generated/Samples/Sample_SapInstanceCollection.cs +++ b/sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/samples/Generated/Samples/Sample_SapInstanceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MigrationDiscoverySap.Samples { public partial class Sample_SapInstanceCollection { - // Lists the SAP Instance resources for the given SAP Migration discovery site resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsTheSAPInstanceResourcesForTheGivenSAPMigrationDiscoverySiteResource() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/SAPInstances_List.json @@ -48,12 +48,11 @@ public async Task GetAll_ListsTheSAPInstanceResourcesForTheGivenSAPMigrationDisc Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GET a SAP Instance resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GETASAPInstanceResource() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/SAPInstances_Get.json @@ -86,9 +85,8 @@ public async Task Get_GETASAPInstanceResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GET a SAP Instance resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GETASAPInstanceResource() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/SAPInstances_Get.json @@ -117,9 +115,8 @@ public async Task Exists_GETASAPInstanceResource() Console.WriteLine($"Succeeded: {result}"); } - // GET a SAP Instance resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GETASAPInstanceResource() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/SAPInstances_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GETASAPInstanceResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GETASAPInstanceResource() } } - // Creates the SAP Instance resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesTheSAPInstanceResource() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/SAPInstances_Create.json diff --git a/sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/samples/Generated/Samples/Sample_SapInstanceResource.cs b/sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/samples/Generated/Samples/Sample_SapInstanceResource.cs index 947203f5891e1..63eb514147a2d 100644 --- a/sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/samples/Generated/Samples/Sample_SapInstanceResource.cs +++ b/sdk/migrationdiscoverysap/Azure.ResourceManager.MigrationDiscoverySap/samples/Generated/Samples/Sample_SapInstanceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MigrationDiscoverySap.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MigrationDiscoverySap.Samples { public partial class Sample_SapInstanceResource { - // GET a SAP Instance resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GETASAPInstanceResource() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/SAPInstances_Get.json @@ -47,9 +47,8 @@ public async Task Get_GETASAPInstanceResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates the SAP Instance resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesTheSAPInstanceResource() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/SAPInstances_Update.json @@ -86,9 +85,8 @@ public async Task Update_UpdatesTheSAPInstanceResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes the SAP Instance resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesTheSAPInstanceResource() { // Generated from example definition: specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/examples/SAPInstances_Delete.json @@ -111,7 +109,7 @@ public async Task Delete_DeletesTheSAPInstanceResource() // invoke the operation await sapInstance.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mixedreality/Azure.ResourceManager.MixedReality/samples/Generated/Samples/Sample_RemoteRenderingAccountCollection.cs b/sdk/mixedreality/Azure.ResourceManager.MixedReality/samples/Generated/Samples/Sample_RemoteRenderingAccountCollection.cs index 815fcc9ef50e2..6b29d00776c24 100644 --- a/sdk/mixedreality/Azure.ResourceManager.MixedReality/samples/Generated/Samples/Sample_RemoteRenderingAccountCollection.cs +++ b/sdk/mixedreality/Azure.ResourceManager.MixedReality/samples/Generated/Samples/Sample_RemoteRenderingAccountCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MixedReality.Samples { public partial class Sample_RemoteRenderingAccountCollection { - // List remote rendering accounts by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRemoteRenderingAccountsByResourceGroup() { // Generated from example definition: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/remote-rendering/GetByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListRemoteRenderingAccountsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get remote rendering account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRemoteRenderingAccount() { // Generated from example definition: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/remote-rendering/Get.json @@ -86,9 +85,8 @@ public async Task Get_GetRemoteRenderingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get remote rendering account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRemoteRenderingAccount() { // Generated from example definition: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/remote-rendering/Get.json @@ -116,9 +114,8 @@ public async Task Exists_GetRemoteRenderingAccount() Console.WriteLine($"Succeeded: {result}"); } - // Get remote rendering account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRemoteRenderingAccount() { // Generated from example definition: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/remote-rendering/Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetRemoteRenderingAccount() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetRemoteRenderingAccount() } } - // Create remote rendering account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateRemoteRenderingAccount() { // Generated from example definition: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/remote-rendering/Put.json diff --git a/sdk/mixedreality/Azure.ResourceManager.MixedReality/samples/Generated/Samples/Sample_RemoteRenderingAccountResource.cs b/sdk/mixedreality/Azure.ResourceManager.MixedReality/samples/Generated/Samples/Sample_RemoteRenderingAccountResource.cs index 4ec6b0aa474e2..1ecd5d0c87b27 100644 --- a/sdk/mixedreality/Azure.ResourceManager.MixedReality/samples/Generated/Samples/Sample_RemoteRenderingAccountResource.cs +++ b/sdk/mixedreality/Azure.ResourceManager.MixedReality/samples/Generated/Samples/Sample_RemoteRenderingAccountResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.MixedReality.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MixedReality.Samples { public partial class Sample_RemoteRenderingAccountResource { - // List remote rendering accounts by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRemoteRenderingAccounts_ListRemoteRenderingAccountsBySubscription() { // Generated from example definition: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/remote-rendering/GetBySubscription.json @@ -46,12 +46,11 @@ public async Task GetRemoteRenderingAccounts_ListRemoteRenderingAccountsBySubscr Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Delete remote rendering account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteRemoteRenderingAccount() { // Generated from example definition: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/remote-rendering/Delete.json @@ -73,12 +72,11 @@ public async Task Delete_DeleteRemoteRenderingAccount() // invoke the operation await remoteRenderingAccount.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get remote rendering account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRemoteRenderingAccount() { // Generated from example definition: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/remote-rendering/Get.json @@ -107,9 +105,8 @@ public async Task Get_GetRemoteRenderingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update remote rendering account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateRemoteRenderingAccount() { // Generated from example definition: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/remote-rendering/Patch.json @@ -147,9 +144,8 @@ public async Task Update_UpdateRemoteRenderingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List remote rendering account key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_ListRemoteRenderingAccountKey() { // Generated from example definition: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/remote-rendering/ListKeys.json @@ -174,9 +170,8 @@ public async Task GetKeys_ListRemoteRenderingAccountKey() Console.WriteLine($"Succeeded: {result}"); } - // Regenerate remote rendering account keys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKeys_RegenerateRemoteRenderingAccountKeys() { // Generated from example definition: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/remote-rendering/RegenerateKey.json diff --git a/sdk/mixedreality/Azure.ResourceManager.MixedReality/samples/Generated/Samples/Sample_SpatialAnchorsAccountCollection.cs b/sdk/mixedreality/Azure.ResourceManager.MixedReality/samples/Generated/Samples/Sample_SpatialAnchorsAccountCollection.cs index f316def31d514..58338761cc140 100644 --- a/sdk/mixedreality/Azure.ResourceManager.MixedReality/samples/Generated/Samples/Sample_SpatialAnchorsAccountCollection.cs +++ b/sdk/mixedreality/Azure.ResourceManager.MixedReality/samples/Generated/Samples/Sample_SpatialAnchorsAccountCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MixedReality.Samples { public partial class Sample_SpatialAnchorsAccountCollection { - // List spatial anchor accounts by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSpatialAnchorAccountsByResourceGroup() { // Generated from example definition: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/spatial-anchors/GetByResourceGroup.json @@ -48,12 +48,11 @@ public async Task GetAll_ListSpatialAnchorAccountsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get spatial anchors account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSpatialAnchorsAccount() { // Generated from example definition: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/spatial-anchors/Get.json @@ -85,9 +84,8 @@ public async Task Get_GetSpatialAnchorsAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get spatial anchors account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSpatialAnchorsAccount() { // Generated from example definition: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/spatial-anchors/Get.json @@ -115,9 +113,8 @@ public async Task Exists_GetSpatialAnchorsAccount() Console.WriteLine($"Succeeded: {result}"); } - // Get spatial anchors account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSpatialAnchorsAccount() { // Generated from example definition: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/spatial-anchors/Get.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetSpatialAnchorsAccount() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -157,9 +154,8 @@ public async Task GetIfExists_GetSpatialAnchorsAccount() } } - // Create spatial anchor account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSpatialAnchorAccount() { // Generated from example definition: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/spatial-anchors/Put.json diff --git a/sdk/mixedreality/Azure.ResourceManager.MixedReality/samples/Generated/Samples/Sample_SpatialAnchorsAccountResource.cs b/sdk/mixedreality/Azure.ResourceManager.MixedReality/samples/Generated/Samples/Sample_SpatialAnchorsAccountResource.cs index 7151e915bd9bc..a49c7d7f33c23 100644 --- a/sdk/mixedreality/Azure.ResourceManager.MixedReality/samples/Generated/Samples/Sample_SpatialAnchorsAccountResource.cs +++ b/sdk/mixedreality/Azure.ResourceManager.MixedReality/samples/Generated/Samples/Sample_SpatialAnchorsAccountResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.MixedReality.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MixedReality.Samples { public partial class Sample_SpatialAnchorsAccountResource { - // List spatial anchors accounts by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSpatialAnchorsAccounts_ListSpatialAnchorsAccountsBySubscription() { // Generated from example definition: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/spatial-anchors/GetBySubscription.json @@ -45,12 +45,11 @@ public async Task GetSpatialAnchorsAccounts_ListSpatialAnchorsAccountsBySubscrip Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Delete spatial anchors account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSpatialAnchorsAccount() { // Generated from example definition: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/spatial-anchors/Delete.json @@ -72,12 +71,11 @@ public async Task Delete_DeleteSpatialAnchorsAccount() // invoke the operation await spatialAnchorsAccount.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get spatial anchors account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSpatialAnchorsAccount() { // Generated from example definition: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/spatial-anchors/Get.json @@ -106,9 +104,8 @@ public async Task Get_GetSpatialAnchorsAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update spatial anchors account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateSpatialAnchorsAccount() { // Generated from example definition: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/spatial-anchors/Patch.json @@ -145,9 +142,8 @@ public async Task Update_UpdateSpatialAnchorsAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List spatial anchor account key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_ListSpatialAnchorAccountKey() { // Generated from example definition: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/spatial-anchors/ListKeys.json @@ -172,9 +168,8 @@ public async Task GetKeys_ListSpatialAnchorAccountKey() Console.WriteLine($"Succeeded: {result}"); } - // Regenerate spatial anchors account keys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKeys_RegenerateSpatialAnchorsAccountKeys() { // Generated from example definition: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/spatial-anchors/RegenerateKey.json diff --git a/sdk/mixedreality/Azure.ResourceManager.MixedReality/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/mixedreality/Azure.ResourceManager.MixedReality/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 56c4494fca1dd..052574cce10bb 100644 --- a/sdk/mixedreality/Azure.ResourceManager.MixedReality/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/mixedreality/Azure.ResourceManager.MixedReality/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.MixedReality.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MixedReality.Samples { public partial class Sample_SubscriptionResourceExtensions { - // CheckLocalNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckMixedRealityNameAvailability_CheckLocalNameAvailability() { // Generated from example definition: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/proxy/CheckNameAvailabilityForLocalUniqueness.json diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_ExtendedUEInfoCollection.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_ExtendedUEInfoCollection.cs index de68971b40d6e..92a93c626ca6c 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_ExtendedUEInfoCollection.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_ExtendedUEInfoCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_ExtendedUEInfoCollection { - // Get UE Information 4G - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetUEInformation4G() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/ExtendedUeInfo4GGet.json @@ -49,9 +49,8 @@ public async Task Get_GetUEInformation4G() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get UE Information 4G - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetUEInformation4G() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/ExtendedUeInfo4GGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetUEInformation4G() Console.WriteLine($"Succeeded: {result}"); } - // Get UE Information 4G - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetUEInformation4G() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/ExtendedUeInfo4GGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetUEInformation4G() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetUEInformation4G() } } - // Get UE Information 5G - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetUEInformation5G() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/ExtendedUeInfo5GGet.json @@ -158,9 +155,8 @@ public async Task Get_GetUEInformation5G() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get UE Information 5G - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetUEInformation5G() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/ExtendedUeInfo5GGet.json @@ -189,9 +185,8 @@ public async Task Exists_GetUEInformation5G() Console.WriteLine($"Succeeded: {result}"); } - // Get UE Information 5G - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetUEInformation5G() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/ExtendedUeInfo5GGet.json @@ -220,7 +215,7 @@ public async Task GetIfExists_GetUEInformation5G() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_ExtendedUEInfoResource.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_ExtendedUEInfoResource.cs index f365661a4ff6e..aa744d300ef9c 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_ExtendedUEInfoResource.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_ExtendedUEInfoResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_ExtendedUEInfoResource { - // Get UE Information 4G - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetUEInformation4G() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/ExtendedUeInfo4GGet.json @@ -46,9 +46,8 @@ public async Task Get_GetUEInformation4G() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get UE Information 5G - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetUEInformation5G() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/ExtendedUeInfo5GGet.json diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileAttachedDataNetworkCollection.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileAttachedDataNetworkCollection.cs index 423d5cd0e1053..9a5b8797a8ac4 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileAttachedDataNetworkCollection.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileAttachedDataNetworkCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MobileNetwork.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_MobileAttachedDataNetworkCollection { - // Get attached data network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAttachedDataNetwork() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/AttachedDataNetworkGet.json @@ -51,9 +51,8 @@ public async Task Get_GetAttachedDataNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get attached data network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAttachedDataNetwork() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/AttachedDataNetworkGet.json @@ -83,9 +82,8 @@ public async Task Exists_GetAttachedDataNetwork() Console.WriteLine($"Succeeded: {result}"); } - // Get attached data network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAttachedDataNetwork() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/AttachedDataNetworkGet.json @@ -115,7 +113,7 @@ public async Task GetIfExists_GetAttachedDataNetwork() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_GetAttachedDataNetwork() } } - // Create attached data network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAttachedDataNetwork() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/AttachedDataNetworkCreate.json @@ -202,9 +199,8 @@ public async Task CreateOrUpdate_CreateAttachedDataNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List attached data networks in a data plane - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAttachedDataNetworksInADataPlane() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/AttachedDataNetworkListByPacketCoreDataPlane.json @@ -237,7 +233,7 @@ public async Task GetAll_ListAttachedDataNetworksInADataPlane() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileAttachedDataNetworkResource.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileAttachedDataNetworkResource.cs index fd7c3bcfef700..8b24a6924844f 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileAttachedDataNetworkResource.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileAttachedDataNetworkResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MobileNetwork.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_MobileAttachedDataNetworkResource { - // Delete attached data network resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAttachedDataNetworkResource() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/AttachedDataNetworkDelete.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteAttachedDataNetworkResource() // invoke the operation await mobileAttachedDataNetwork.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get attached data network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAttachedDataNetwork() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/AttachedDataNetworkGet.json @@ -77,9 +76,8 @@ public async Task Get_GetAttachedDataNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update attached data network tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAttachedDataNetworkTags() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/AttachedDataNetworkUpdateTags.json diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileDataNetworkCollection.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileDataNetworkCollection.cs index dac19ce22ee35..e121e3d94be51 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileDataNetworkCollection.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileDataNetworkCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_MobileDataNetworkCollection { - // Get data network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDataNetwork() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/DataNetworkGet.json @@ -49,9 +49,8 @@ public async Task Get_GetDataNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get data network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDataNetwork() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/DataNetworkGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetDataNetwork() Console.WriteLine($"Succeeded: {result}"); } - // Get data network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDataNetwork() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/DataNetworkGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetDataNetwork() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetDataNetwork() } } - // Create data network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateDataNetwork() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/DataNetworkCreate.json @@ -163,9 +160,8 @@ public async Task CreateOrUpdate_CreateDataNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List data networks in a mobile network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDataNetworksInAMobileNetwork() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/DataNetworkListByMobileNetwork.json @@ -197,7 +193,7 @@ public async Task GetAll_ListDataNetworksInAMobileNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileDataNetworkResource.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileDataNetworkResource.cs index e390eb6a94657..cbd1783729d2b 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileDataNetworkResource.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileDataNetworkResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MobileNetwork.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_MobileDataNetworkResource { - // Delete data network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteDataNetwork() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/DataNetworkDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteDataNetwork() // invoke the operation await mobileDataNetwork.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get data network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDataNetwork() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/DataNetworkGet.json @@ -75,9 +74,8 @@ public async Task Get_GetDataNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update data network tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateDataNetworkTags() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/DataNetworkUpdateTags.json diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkCollection.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkCollection.cs index bb0bd75f84a95..15327648b50cc 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkCollection.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.MobileNetwork.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_MobileNetworkCollection { - // Get mobile network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMobileNetwork() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/MobileNetworkGet.json @@ -50,9 +50,8 @@ public async Task Get_GetMobileNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get mobile network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetMobileNetwork() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/MobileNetworkGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetMobileNetwork() Console.WriteLine($"Succeeded: {result}"); } - // Get mobile network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetMobileNetwork() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/MobileNetworkGet.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetMobileNetwork() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetMobileNetwork() } } - // Create mobile network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateMobileNetwork() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/MobileNetworkCreate.json @@ -186,9 +183,8 @@ public async Task CreateOrUpdate_CreateMobileNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List mobile networks in resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListMobileNetworksInResourceGroup() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/MobileNetworkListByResourceGroup.json @@ -219,7 +215,7 @@ public async Task GetAll_ListMobileNetworksInResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkDiagnosticsPackageCollection.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkDiagnosticsPackageCollection.cs index dd6112b4e627c..2edc0702eb645 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkDiagnosticsPackageCollection.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkDiagnosticsPackageCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_MobileNetworkDiagnosticsPackageCollection { - // Create diagnostics package - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateDiagnosticsPackage() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/DiagnosticsPackageCreate.json @@ -50,9 +50,8 @@ public async Task CreateOrUpdate_CreateDiagnosticsPackage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get diagnostics package - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDiagnosticsPackage() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/DiagnosticsPackageGet.json @@ -85,9 +84,8 @@ public async Task Get_GetDiagnosticsPackage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get diagnostics package - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDiagnosticsPackage() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/DiagnosticsPackageGet.json @@ -116,9 +114,8 @@ public async Task Exists_GetDiagnosticsPackage() Console.WriteLine($"Succeeded: {result}"); } - // Get diagnostics package - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDiagnosticsPackage() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/DiagnosticsPackageGet.json @@ -147,7 +144,7 @@ public async Task GetIfExists_GetDiagnosticsPackage() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_GetDiagnosticsPackage() } } - // List diagnostics packages under a packet core control plane - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDiagnosticsPackagesUnderAPacketCoreControlPlane() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/DiagnosticsPackageListByPacketCoreControlPlane.json @@ -193,7 +189,7 @@ public async Task GetAll_ListDiagnosticsPackagesUnderAPacketCoreControlPlane() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkDiagnosticsPackageResource.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkDiagnosticsPackageResource.cs index 5c6b3a311f003..98b2c0b4a2054 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkDiagnosticsPackageResource.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkDiagnosticsPackageResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_MobileNetworkDiagnosticsPackageResource { - // Create diagnostics package - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateDiagnosticsPackage() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/DiagnosticsPackageCreate.json @@ -47,9 +47,8 @@ public async Task Update_CreateDiagnosticsPackage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get diagnostics package - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDiagnosticsPackage() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/DiagnosticsPackageGet.json @@ -79,9 +78,8 @@ public async Task Get_GetDiagnosticsPackage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete diagnostics package - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteDiagnosticsPackage() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/DiagnosticsPackageDelete.json @@ -104,7 +102,7 @@ public async Task Delete_DeleteDiagnosticsPackage() // invoke the operation await mobileNetworkDiagnosticsPackage.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkPacketCaptureCollection.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkPacketCaptureCollection.cs index eec47e8b4c222..674124259a345 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkPacketCaptureCollection.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkPacketCaptureCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_MobileNetworkPacketCaptureCollection { - // Create packet capture - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePacketCapture() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCaptureCreate.json @@ -60,9 +60,8 @@ public async Task CreateOrUpdate_CreatePacketCapture() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get packet capture session - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPacketCaptureSession() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCaptureGet.json @@ -95,9 +94,8 @@ public async Task Get_GetPacketCaptureSession() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get packet capture session - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPacketCaptureSession() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCaptureGet.json @@ -126,9 +124,8 @@ public async Task Exists_GetPacketCaptureSession() Console.WriteLine($"Succeeded: {result}"); } - // Get packet capture session - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPacketCaptureSession() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCaptureGet.json @@ -157,7 +154,7 @@ public async Task GetIfExists_GetPacketCaptureSession() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_GetPacketCaptureSession() } } - // List packet capture sessions under a packet core control plane - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPacketCaptureSessionsUnderAPacketCoreControlPlane() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCaptureListByPacketCoreControlPlane.json @@ -203,7 +199,7 @@ public async Task GetAll_ListPacketCaptureSessionsUnderAPacketCoreControlPlane() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkPacketCaptureResource.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkPacketCaptureResource.cs index 7d6fff0d004bd..dd65221fdc294 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkPacketCaptureResource.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkPacketCaptureResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MobileNetwork.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_MobileNetworkPacketCaptureResource { - // Create packet capture - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatePacketCapture() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCaptureCreate.json @@ -58,9 +58,8 @@ public async Task Update_CreatePacketCapture() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get packet capture session - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPacketCaptureSession() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCaptureGet.json @@ -90,9 +89,8 @@ public async Task Get_GetPacketCaptureSession() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete packet capture - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletePacketCapture() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCaptureDelete.json @@ -115,12 +113,11 @@ public async Task Delete_DeletePacketCapture() // invoke the operation await mobileNetworkPacketCapture.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Stop packet capture session - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_StopPacketCaptureSession() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCaptureStop.json diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkResource.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkResource.cs index 30ee1882a37b6..dfd0d0d3d264a 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkResource.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.MobileNetwork.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_MobileNetworkResource { - // Delete mobile network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteMobileNetwork() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/MobileNetworkDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteMobileNetwork() // invoke the operation await mobileNetwork.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get mobile network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMobileNetwork() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/MobileNetworkGet.json @@ -74,9 +73,8 @@ public async Task Get_GetMobileNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update mobile network tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateMobileNetworkTags() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/MobileNetworkUpdateTags.json @@ -113,9 +111,8 @@ public async Task Update_UpdateMobileNetworkTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List mobile networks in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMobileNetworks_ListMobileNetworksInASubscription() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/MobileNetworkListBySubscription.json @@ -142,12 +139,11 @@ public async Task GetMobileNetworks_ListMobileNetworksInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List SIM groups in a mobile network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSimGroups_ListSIMGroupsInAMobileNetwork() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimGroupListByMobileNetwork.json @@ -176,7 +172,7 @@ public async Task GetSimGroups_ListSIMGroupsInAMobileNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkRoutingInfoResource.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkRoutingInfoResource.cs index c3c156b63cbb5..e9fb9c12269d4 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkRoutingInfoResource.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkRoutingInfoResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_MobileNetworkRoutingInfoResource { - // Get routing information for the packet core - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRoutingInformationForThePacketCore() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/RoutingInfoPacketCoreControlPlane.json diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkServiceCollection.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkServiceCollection.cs index cb0da18b7e763..125b267904117 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkServiceCollection.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkServiceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MobileNetwork.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_MobileNetworkServiceCollection { - // Get service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetService() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/ServiceGet.json @@ -50,9 +50,8 @@ public async Task Get_GetService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetService() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/ServiceGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetService() Console.WriteLine($"Succeeded: {result}"); } - // Get service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetService() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/ServiceGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetService() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetService() } } - // Create service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateService() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/ServiceCreate.json @@ -197,9 +194,8 @@ public async Task CreateOrUpdate_CreateService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List services in a mobile network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListServicesInAMobileNetwork() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/ServiceListByMobileNetwork.json @@ -231,7 +227,7 @@ public async Task GetAll_ListServicesInAMobileNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkServiceResource.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkServiceResource.cs index 12bc43debfd84..aad79f2353666 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkServiceResource.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkServiceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MobileNetwork.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_MobileNetworkServiceResource { - // Delete service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteService() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/ServiceDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteService() // invoke the operation await mobileNetworkService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetService() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/ServiceGet.json @@ -75,9 +74,8 @@ public async Task Get_GetService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update service tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateServiceTags() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/ServiceUpdateTags.json diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSimCollection.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSimCollection.cs index 2e3f77a9208b9..a19b401b2540d 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSimCollection.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSimCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MobileNetwork.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_MobileNetworkSimCollection { - // Get SIM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSIM() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimGet.json @@ -50,9 +50,8 @@ public async Task Get_GetSIM() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get SIM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSIM() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetSIM() Console.WriteLine($"Succeeded: {result}"); } - // Get SIM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSIM() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetSIM() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetSIM() } } - // Create SIM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSIM() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimCreate.json @@ -177,9 +174,8 @@ public async Task CreateOrUpdate_CreateSIM() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List SIMs in a SIM group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSIMsInASIMGroup() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimListBySimGroup.json @@ -211,7 +207,7 @@ public async Task GetAll_ListSIMsInASIMGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSimGroupCollection.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSimGroupCollection.cs index 40632be103745..1165c9272954f 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSimGroupCollection.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSimGroupCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.MobileNetwork.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_MobileNetworkSimGroupCollection { - // Get SIM group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSIMGroup() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimGroupGet.json @@ -51,9 +51,8 @@ public async Task Get_GetSIMGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get SIM group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSIMGroup() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimGroupGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetSIMGroup() Console.WriteLine($"Succeeded: {result}"); } - // Get SIM group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSIMGroup() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimGroupGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetSIMGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetSIMGroup() } } - // Create SIM group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSIMGroup() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimGroupCreate.json @@ -170,9 +167,8 @@ public async Task CreateOrUpdate_CreateSIMGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List SIM groups in a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSIMGroupsInAResourceGroup() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimGroupListByResourceGroup.json @@ -203,7 +199,7 @@ public async Task GetAll_ListSIMGroupsInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSimGroupResource.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSimGroupResource.cs index 59a618674bba1..0d97b1401df3a 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSimGroupResource.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSimGroupResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.MobileNetwork.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_MobileNetworkSimGroupResource { - // Bulk upload SIMs in a SIM group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task BulkUploadSim_BulkUploadSIMsInASIMGroup() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimBulkUpload.json @@ -81,9 +81,8 @@ public async Task BulkUploadSim_BulkUploadSIMsInASIMGroup() Console.WriteLine($"Succeeded: {result}"); } - // Bulk delete SIMs from a SIM group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task BulkDeleteSim_BulkDeleteSIMsFromASIMGroup() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimBulkDelete.json @@ -113,9 +112,8 @@ public async Task BulkDeleteSim_BulkDeleteSIMsFromASIMGroup() Console.WriteLine($"Succeeded: {result}"); } - // Bulk upload encrypted SIMs to a SIM group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task BulkUploadEncryptedSim_BulkUploadEncryptedSIMsToASIMGroup() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimBulkUploadEncrypted.json @@ -175,9 +173,8 @@ public async Task BulkUploadEncryptedSim_BulkUploadEncryptedSIMsToASIMGroup() Console.WriteLine($"Succeeded: {result}"); } - // Move list of SIMs to target SIM group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MoveSim_MoveListOfSIMsToTargetSIMGroup() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimMove.json @@ -210,9 +207,8 @@ public async Task MoveSim_MoveListOfSIMsToTargetSIMGroup() Console.WriteLine($"Succeeded: {result}"); } - // Clone list of SIMs to target SIM group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CloneSim_CloneListOfSIMsToTargetSIMGroup() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimClone.json @@ -245,9 +241,8 @@ public async Task CloneSim_CloneListOfSIMsToTargetSIMGroup() Console.WriteLine($"Succeeded: {result}"); } - // Delete SIM group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSIMGroup() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimGroupDelete.json @@ -269,12 +264,11 @@ public async Task Delete_DeleteSIMGroup() // invoke the operation await mobileNetworkSimGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get SIM group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSIMGroup() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimGroupGet.json @@ -303,9 +297,8 @@ public async Task Get_GetSIMGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch SIM group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchSIMGroup() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimGroupPatch.json @@ -349,9 +342,8 @@ public async Task Update_PatchSIMGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List SIM groups in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMobileNetworkSimGroups_ListSIMGroupsInASubscription() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimGroupListBySubscription.json @@ -378,7 +370,7 @@ public async Task GetMobileNetworkSimGroups_ListSIMGroupsInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSimPolicyCollection.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSimPolicyCollection.cs index 233e7c3950cec..5606a3ea7a6dc 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSimPolicyCollection.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSimPolicyCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.MobileNetwork.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_MobileNetworkSimPolicyCollection { - // Get SIM policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSIMPolicy() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimPolicyGet.json @@ -51,9 +51,8 @@ public async Task Get_GetSIMPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get SIM policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSIMPolicy() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimPolicyGet.json @@ -82,9 +81,8 @@ public async Task Exists_GetSIMPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Get SIM policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSIMPolicy() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimPolicyGet.json @@ -113,7 +111,7 @@ public async Task GetIfExists_GetSIMPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -125,9 +123,8 @@ public async Task GetIfExists_GetSIMPolicy() } } - // Create SIM policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSIMPolicy() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimPolicyCreate.json @@ -200,9 +197,8 @@ public async Task CreateOrUpdate_CreateSIMPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List SIM policies in a mobile network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSIMPoliciesInAMobileNetwork() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimPolicyListByMobileNetwork.json @@ -234,7 +230,7 @@ public async Task GetAll_ListSIMPoliciesInAMobileNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSimPolicyResource.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSimPolicyResource.cs index 9a8a955764d0c..a1eda3ba6e5ce 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSimPolicyResource.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSimPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MobileNetwork.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_MobileNetworkSimPolicyResource { - // Delete SIM policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSIMPolicy() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimPolicyDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteSIMPolicy() // invoke the operation await mobileNetworkSimPolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get SIM policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSIMPolicy() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimPolicyGet.json @@ -75,9 +74,8 @@ public async Task Get_GetSIMPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update SIM policy tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateSIMPolicyTags() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimPolicyUpdateTags.json diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSimResource.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSimResource.cs index b4bd112438c94..1c8ca29fee866 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSimResource.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSimResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MobileNetwork.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_MobileNetworkSimResource { - // Delete SIM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSIM() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteSIM() // invoke the operation await mobileNetworkSim.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get SIM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSIM() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimGet.json @@ -75,9 +74,8 @@ public async Task Get_GetSIM() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create SIM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateSIM() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SimCreate.json diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSiteCollection.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSiteCollection.cs index d17698fa00d9a..6d2e698d88317 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSiteCollection.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSiteCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_MobileNetworkSiteCollection { - // Get mobile network site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMobileNetworkSite() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SiteGet.json @@ -49,9 +49,8 @@ public async Task Get_GetMobileNetworkSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get mobile network site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetMobileNetworkSite() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SiteGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetMobileNetworkSite() Console.WriteLine($"Succeeded: {result}"); } - // Get mobile network site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetMobileNetworkSite() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SiteGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetMobileNetworkSite() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetMobileNetworkSite() } } - // Create mobile network site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateMobileNetworkSite() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SiteCreate.json @@ -160,9 +157,8 @@ public async Task CreateOrUpdate_CreateMobileNetworkSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List mobile network sites in a mobile network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListMobileNetworkSitesInAMobileNetwork() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SiteListByMobileNetwork.json @@ -194,7 +190,7 @@ public async Task GetAll_ListMobileNetworkSitesInAMobileNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSiteResource.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSiteResource.cs index 047390935a3d7..a50fbb4362857 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSiteResource.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSiteResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MobileNetwork.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_MobileNetworkSiteResource { - // Delete mobile network site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteMobileNetworkSite() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SiteDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteMobileNetworkSite() // invoke the operation await mobileNetworkSite.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get mobile network site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMobileNetworkSite() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SiteGet.json @@ -75,9 +74,8 @@ public async Task Get_GetMobileNetworkSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update mobile network site tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateMobileNetworkSiteTags() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SiteUpdateTags.json @@ -115,9 +113,8 @@ public async Task Update_UpdateMobileNetworkSiteTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete packet core in mobile network site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeletePacketCore_DeletePacketCoreInMobileNetworkSite() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SiteDeletePacketCore.json @@ -141,7 +138,7 @@ public async Task DeletePacketCore_DeletePacketCoreInMobileNetworkSite() SiteDeletePacketCore siteDeletePacketCore = new SiteDeletePacketCore(); await mobileNetworkSite.DeletePacketCoreAsync(WaitUntil.Completed, siteDeletePacketCore); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSliceCollection.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSliceCollection.cs index d098b6b2eabf0..621f06f644082 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSliceCollection.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSliceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MobileNetwork.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_MobileNetworkSliceCollection { - // Get network slice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkSlice() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SliceGet.json @@ -50,9 +50,8 @@ public async Task Get_GetNetworkSlice() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get network slice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetNetworkSlice() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SliceGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetNetworkSlice() Console.WriteLine($"Succeeded: {result}"); } - // Get network slice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetNetworkSlice() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SliceGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetNetworkSlice() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetNetworkSlice() } } - // Create network slice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNetworkSlice() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SliceCreate.json @@ -167,9 +164,8 @@ public async Task CreateOrUpdate_CreateNetworkSlice() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List network slices in a mobile network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListNetworkSlicesInAMobileNetwork() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SliceListByMobileNetwork.json @@ -201,7 +197,7 @@ public async Task GetAll_ListNetworkSlicesInAMobileNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSliceResource.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSliceResource.cs index 766b67ebcca1a..d6b26d9a90ba7 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSliceResource.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_MobileNetworkSliceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MobileNetwork.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_MobileNetworkSliceResource { - // Delete network slice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteNetworkSlice() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SliceDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteNetworkSlice() // invoke the operation await mobileNetworkSlice.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get network slice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkSlice() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SliceGet.json @@ -75,9 +74,8 @@ public async Task Get_GetNetworkSlice() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update network slice tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateNetworkSliceTags() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/SliceUpdateTags.json diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_PacketCoreControlPlaneCollection.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_PacketCoreControlPlaneCollection.cs index 35ec012a3a156..acd40a744d83e 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_PacketCoreControlPlaneCollection.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_PacketCoreControlPlaneCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.MobileNetwork.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_PacketCoreControlPlaneCollection { - // Get packet core control plane - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPacketCoreControlPlane() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreControlPlaneGet.json @@ -51,9 +51,8 @@ public async Task Get_GetPacketCoreControlPlane() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get packet core control plane - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPacketCoreControlPlane() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreControlPlaneGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetPacketCoreControlPlane() Console.WriteLine($"Succeeded: {result}"); } - // Get packet core control plane - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPacketCoreControlPlane() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreControlPlaneGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetPacketCoreControlPlane() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetPacketCoreControlPlane() } } - // Create packet core control plane - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePacketCoreControlPlane() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreControlPlaneCreate.json @@ -197,9 +194,8 @@ public async Task CreateOrUpdate_CreatePacketCoreControlPlane() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List packet core control planes in resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPacketCoreControlPlanesInResourceGroup() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreControlPlaneListByResourceGroup.json @@ -230,7 +226,7 @@ public async Task GetAll_ListPacketCoreControlPlanesInResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_PacketCoreControlPlaneResource.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_PacketCoreControlPlaneResource.cs index 5c24f8a42f403..c808ce59ef62e 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_PacketCoreControlPlaneResource.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_PacketCoreControlPlaneResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.MobileNetwork.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_PacketCoreControlPlaneResource { - // Delete packet core control plane - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletePacketCoreControlPlane() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreControlPlaneDelete.json @@ -41,12 +41,11 @@ public async Task Delete_DeletePacketCoreControlPlane() // invoke the operation await packetCoreControlPlane.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get packet core control plane - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPacketCoreControlPlane() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreControlPlaneGet.json @@ -75,9 +74,8 @@ public async Task Get_GetPacketCoreControlPlane() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch packet core control plane - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchPacketCoreControlPlane() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreControlPlanePatch.json @@ -121,9 +119,8 @@ public async Task Update_PatchPacketCoreControlPlane() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List packet core control planes in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPacketCoreControlPlanes_ListPacketCoreControlPlanesInASubscription() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreControlPlaneListBySubscription.json @@ -150,12 +147,11 @@ public async Task GetPacketCoreControlPlanes_ListPacketCoreControlPlanesInASubsc Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Rollback packet core control plane - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Rollback_RollbackPacketCoreControlPlane() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreControlPlaneRollback.json @@ -181,9 +177,8 @@ public async Task Rollback_RollbackPacketCoreControlPlane() Console.WriteLine($"Succeeded: {result}"); } - // Reinstall packet core control plane - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reinstall_ReinstallPacketCoreControlPlane() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreControlPlaneReinstall.json @@ -209,9 +204,8 @@ public async Task Reinstall_ReinstallPacketCoreControlPlane() Console.WriteLine($"Succeeded: {result}"); } - // Collect diagnostics package from packet core control plane - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CollectDiagnosticsPackage_CollectDiagnosticsPackageFromPacketCoreControlPlane() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreControlPlaneCollectDiagnosticsPackage.json @@ -238,9 +232,8 @@ public async Task CollectDiagnosticsPackage_CollectDiagnosticsPackageFromPacketC Console.WriteLine($"Succeeded: {result}"); } - // Get UE Information - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllUeInformation_GetUEInformation() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/UeInfoList.json @@ -265,7 +258,7 @@ public async Task GetAllUeInformation_GetUEInformation() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_PacketCoreDataPlaneCollection.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_PacketCoreDataPlaneCollection.cs index e7e2827b64445..367d896d9f144 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_PacketCoreDataPlaneCollection.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_PacketCoreDataPlaneCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MobileNetwork.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_PacketCoreDataPlaneCollection { - // Get packet core data plane - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPacketCoreDataPlane() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreDataPlaneGet.json @@ -50,9 +50,8 @@ public async Task Get_GetPacketCoreDataPlane() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get packet core data plane - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPacketCoreDataPlane() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreDataPlaneGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetPacketCoreDataPlane() Console.WriteLine($"Succeeded: {result}"); } - // Get packet core data plane - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPacketCoreDataPlane() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreDataPlaneGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetPacketCoreDataPlane() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetPacketCoreDataPlane() } } - // Create packet core data plane - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePacketCoreDataPlane() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreDataPlaneCreate.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_CreatePacketCoreDataPlane() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List packet core data planes in a control plane - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPacketCoreDataPlanesInAControlPlane() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json @@ -198,7 +194,7 @@ public async Task GetAll_ListPacketCoreDataPlanesInAControlPlane() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_PacketCoreDataPlaneResource.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_PacketCoreDataPlaneResource.cs index 3b1abac0c1b0f..4a4ba0e859de7 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_PacketCoreDataPlaneResource.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_PacketCoreDataPlaneResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MobileNetwork.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_PacketCoreDataPlaneResource { - // Delete packet core data plane - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletePacketCoreDataPlane() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreDataPlaneDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeletePacketCoreDataPlane() // invoke the operation await packetCoreDataPlane.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get packet core data plane - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPacketCoreDataPlane() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreDataPlaneGet.json @@ -75,9 +74,8 @@ public async Task Get_GetPacketCoreDataPlane() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update packet core data plane tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatePacketCoreDataPlaneTags() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreDataPlaneUpdateTags.json diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_SubscriptionPacketCoreControlPlaneVersionCollection.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_SubscriptionPacketCoreControlPlaneVersionCollection.cs index 68a9429cb6275..11c95f3e37e20 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_SubscriptionPacketCoreControlPlaneVersionCollection.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_SubscriptionPacketCoreControlPlaneVersionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_SubscriptionPacketCoreControlPlaneVersionCollection { - // Get packet core control plane version by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPacketCoreControlPlaneVersionBySubscription() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreControlPlaneVersionGetBySubscription.json @@ -48,9 +48,8 @@ public async Task Get_GetPacketCoreControlPlaneVersionBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get packet core control plane version by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPacketCoreControlPlaneVersionBySubscription() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreControlPlaneVersionGetBySubscription.json @@ -77,9 +76,8 @@ public async Task Exists_GetPacketCoreControlPlaneVersionBySubscription() Console.WriteLine($"Succeeded: {result}"); } - // Get packet core control plane version by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPacketCoreControlPlaneVersionBySubscription() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreControlPlaneVersionGetBySubscription.json @@ -106,7 +104,7 @@ public async Task GetIfExists_GetPacketCoreControlPlaneVersionBySubscription() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -118,9 +116,8 @@ public async Task GetIfExists_GetPacketCoreControlPlaneVersionBySubscription() } } - // Get supported packet core control plane versions by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetSupportedPacketCoreControlPlaneVersionsBySubscription() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreControlPlaneVersionListBySubscription.json @@ -150,7 +147,7 @@ public async Task GetAll_GetSupportedPacketCoreControlPlaneVersionsBySubscriptio Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_SubscriptionPacketCoreControlPlaneVersionResource.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_SubscriptionPacketCoreControlPlaneVersionResource.cs index 817b80ecf8516..738d5ebea1159 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_SubscriptionPacketCoreControlPlaneVersionResource.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_SubscriptionPacketCoreControlPlaneVersionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_SubscriptionPacketCoreControlPlaneVersionResource { - // Get packet core control plane version by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPacketCoreControlPlaneVersionBySubscription() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreControlPlaneVersionGetBySubscription.json diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_TenantPacketCoreControlPlaneVersionCollection.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_TenantPacketCoreControlPlaneVersionCollection.cs index a9d8e6185631a..d14535bbe7815 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_TenantPacketCoreControlPlaneVersionCollection.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_TenantPacketCoreControlPlaneVersionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_TenantPacketCoreControlPlaneVersionCollection { - // Get packet core control plane version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPacketCoreControlPlaneVersion() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreControlPlaneVersionGet.json @@ -45,9 +45,8 @@ public async Task Get_GetPacketCoreControlPlaneVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get packet core control plane version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPacketCoreControlPlaneVersion() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreControlPlaneVersionGet.json @@ -72,9 +71,8 @@ public async Task Exists_GetPacketCoreControlPlaneVersion() Console.WriteLine($"Succeeded: {result}"); } - // Get packet core control plane version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPacketCoreControlPlaneVersion() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreControlPlaneVersionGet.json @@ -99,7 +97,7 @@ public async Task GetIfExists_GetPacketCoreControlPlaneVersion() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -111,9 +109,8 @@ public async Task GetIfExists_GetPacketCoreControlPlaneVersion() } } - // Get supported packet core control plane versions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetSupportedPacketCoreControlPlaneVersions() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreControlPlaneVersionList.json @@ -141,7 +138,7 @@ public async Task GetAll_GetSupportedPacketCoreControlPlaneVersions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_TenantPacketCoreControlPlaneVersionResource.cs b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_TenantPacketCoreControlPlaneVersionResource.cs index 0f13f47202c0c..d9b744f2fb657 100644 --- a/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_TenantPacketCoreControlPlaneVersionResource.cs +++ b/sdk/mobilenetwork/Azure.ResourceManager.MobileNetwork/samples/Generated/Samples/Sample_TenantPacketCoreControlPlaneVersionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MobileNetwork.Samples { public partial class Sample_TenantPacketCoreControlPlaneVersionResource { - // Get packet core control plane version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPacketCoreControlPlaneVersion() { // Generated from example definition: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/stable/2024-04-01/examples/PacketCoreControlPlaneVersionGet.json diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterCollection.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterCollection.cs index 811c9136ec0aa..50a9f9f6b61a1 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterCollection.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.MongoCluster.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MongoCluster.Samples { public partial class Sample_MongoClusterCollection { - // Gets a Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_Get.json @@ -50,9 +50,8 @@ public async Task Get_GetsAMongoClusterResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_Get.json @@ -80,9 +79,8 @@ public async Task Exists_GetsAMongoClusterResource() Console.WriteLine($"Succeeded: {result}"); } - // Gets a Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_Get.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetsAMongoClusterResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetsAMongoClusterResource() } } - // Creates a new Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesANewMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_Create.json @@ -173,9 +170,8 @@ public async Task CreateOrUpdate_CreatesANewMongoClusterResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a replica Mongo Cluster resource from a source resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAReplicaMongoClusterResourceFromASourceResource() { // Generated from example definition: 2024-07-01/MongoClusters_CreateGeoReplica.json @@ -216,9 +212,8 @@ public async Task CreateOrUpdate_CreatesAReplicaMongoClusterResourceFromASourceR Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a Mongo Cluster resource from a point in time restore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAMongoClusterResourceFromAPointInTimeRestore() { // Generated from example definition: 2024-07-01/MongoClusters_CreatePITR.json @@ -263,9 +258,8 @@ public async Task CreateOrUpdate_CreatesAMongoClusterResourceFromAPointInTimeRes Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Lists the Mongo Cluster resources in a resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsTheMongoClusterResourcesInAResourceGroup() { // Generated from example definition: 2024-07-01/MongoClusters_ListByResourceGroup.json @@ -296,7 +290,7 @@ public async Task GetAll_ListsTheMongoClusterResourcesInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterFirewallRuleCollection.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterFirewallRuleCollection.cs index 6c778fbacb9bd..ae84ce078f5bf 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterFirewallRuleCollection.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterFirewallRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MongoCluster.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MongoCluster.Samples { public partial class Sample_MongoClusterFirewallRuleCollection { - // Gets a firewall rule on a Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAFirewallRuleOnAMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_FirewallRuleGet.json @@ -50,9 +50,8 @@ public async Task Get_GetsAFirewallRuleOnAMongoClusterResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a firewall rule on a Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAFirewallRuleOnAMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_FirewallRuleGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetsAFirewallRuleOnAMongoClusterResource() Console.WriteLine($"Succeeded: {result}"); } - // Gets a firewall rule on a Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAFirewallRuleOnAMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_FirewallRuleGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetsAFirewallRuleOnAMongoClusterResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetsAFirewallRuleOnAMongoClusterResource() } } - // Creates a firewall rule on a Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAFirewallRuleOnAMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_FirewallRuleCreate.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_CreatesAFirewallRuleOnAMongoClusterResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List the firewall rules on a Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTheFirewallRulesOnAMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_FirewallRuleList.json @@ -198,7 +194,7 @@ public async Task GetAll_ListTheFirewallRulesOnAMongoClusterResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterFirewallRuleResource.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterFirewallRuleResource.cs index c7f005fb5bf94..002816c8ff1d1 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterFirewallRuleResource.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterFirewallRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MongoCluster.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MongoCluster.Samples { public partial class Sample_MongoClusterFirewallRuleResource { - // Gets a firewall rule on a Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAFirewallRuleOnAMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_FirewallRuleGet.json @@ -47,9 +47,8 @@ public async Task Get_GetsAFirewallRuleOnAMongoClusterResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a firewall rule on a Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesAFirewallRuleOnAMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_FirewallRuleCreate.json @@ -84,9 +83,8 @@ public async Task Update_CreatesAFirewallRuleOnAMongoClusterResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a firewall rule on a Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAFirewallRuleOnAMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_FirewallRuleDelete.json @@ -109,7 +107,7 @@ public async Task Delete_DeletesAFirewallRuleOnAMongoClusterResource() // invoke the operation await mongoClusterFirewallRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterPrivateEndpointConnectionResource.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterPrivateEndpointConnectionResource.cs index 0567e2ade1e22..6b31cea44c63c 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterPrivateEndpointConnectionResource.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MongoCluster.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MongoCluster.Samples { public partial class Sample_MongoClusterPrivateEndpointConnectionResource { - // Get a private endpoint connection on a Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPrivateEndpointConnectionOnAMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_PrivateEndpointConnectionGet.json @@ -47,9 +47,8 @@ public async Task Get_GetAPrivateEndpointConnectionOnAMongoClusterResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Approves a private endpoint connection on a Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApprovesAPrivateEndpointConnectionOnAMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_PrivateEndpointConnectionPut.json @@ -88,9 +87,8 @@ public async Task Update_ApprovesAPrivateEndpointConnectionOnAMongoClusterResour Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a private endpoint connection on a Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAPrivateEndpointConnectionOnAMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_PrivateEndpointConnectionDelete.json @@ -113,7 +111,7 @@ public async Task Delete_DeleteAPrivateEndpointConnectionOnAMongoClusterResource // invoke the operation await mongoClusterPrivateEndpointConnectionResource.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterPrivateEndpointConnectionResourceCollection.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterPrivateEndpointConnectionResourceCollection.cs index f0c1dbd927f43..4e3767d1bd995 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterPrivateEndpointConnectionResourceCollection.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterPrivateEndpointConnectionResourceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MongoCluster.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MongoCluster.Samples { public partial class Sample_MongoClusterPrivateEndpointConnectionResourceCollection { - // Lists the private endpoint connection resources on a Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsThePrivateEndpointConnectionResourcesOnAMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_PrivateEndpointConnectionList.json @@ -49,12 +49,11 @@ public async Task GetAll_ListsThePrivateEndpointConnectionResourcesOnAMongoClust Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a private endpoint connection on a Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPrivateEndpointConnectionOnAMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_PrivateEndpointConnectionGet.json @@ -87,9 +86,8 @@ public async Task Get_GetAPrivateEndpointConnectionOnAMongoClusterResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a private endpoint connection on a Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAPrivateEndpointConnectionOnAMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_PrivateEndpointConnectionGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetAPrivateEndpointConnectionOnAMongoClusterResource() Console.WriteLine($"Succeeded: {result}"); } - // Get a private endpoint connection on a Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAPrivateEndpointConnectionOnAMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_PrivateEndpointConnectionGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetAPrivateEndpointConnectionOnAMongoClusterResour if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetAPrivateEndpointConnectionOnAMongoClusterResour } } - // Approves a private endpoint connection on a Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApprovesAPrivateEndpointConnectionOnAMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_PrivateEndpointConnectionPut.json diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterResource.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterResource.cs index 6a7ea206767c0..1a4a93e755170 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterResource.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.MongoCluster.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MongoCluster.Samples { public partial class Sample_MongoClusterResource { - // Gets a Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetsAMongoClusterResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates the disk size on a Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesTheDiskSizeOnAMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_PatchDiskSize.json @@ -86,9 +85,8 @@ public async Task Update_UpdatesTheDiskSizeOnAMongoClusterResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Disables public network access on a Mongo Cluster resource with a private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DisablesPublicNetworkAccessOnAMongoClusterResourceWithAPrivateEndpointConnection() { // Generated from example definition: 2024-07-01/MongoClusters_PatchPrivateNetworkAccess.json @@ -125,9 +123,8 @@ public async Task Update_DisablesPublicNetworkAccessOnAMongoClusterResourceWithA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Resets the administrator login password. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ResetsTheAdministratorLoginPassword() { // Generated from example definition: 2024-07-01/MongoClusters_ResetPassword.json @@ -168,9 +165,8 @@ public async Task Update_ResetsTheAdministratorLoginPassword() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates a Mongo Cluster resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesAMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_Update.json @@ -219,9 +215,8 @@ public async Task Update_UpdatesAMongoClusterResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_Delete.json @@ -243,12 +238,11 @@ public async Task Delete_DeletesAMongoClusterResource() // invoke the operation await mongoCluster.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Lists the Mongo Cluster resources in a subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMongoClusters_ListsTheMongoClusterResourcesInASubscription() { // Generated from example definition: 2024-07-01/MongoClusters_List.json @@ -275,12 +269,11 @@ public async Task GetMongoClusters_ListsTheMongoClusterResourcesInASubscription( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List the available connection strings for the Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConnectionStrings_ListTheAvailableConnectionStringsForTheMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_ListConnectionStrings.json @@ -305,9 +298,8 @@ public async Task GetConnectionStrings_ListTheAvailableConnectionStringsForTheMo Console.WriteLine($"Succeeded: {result}"); } - // Checks and confirms the Mongo Cluster name is availability for use. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckMongoClusterNameAvailability_ChecksAndConfirmsTheMongoClusterNameIsAvailabilityForUse() { // Generated from example definition: 2024-07-01/MongoClusters_NameAvailability.json @@ -336,9 +328,8 @@ public async Task CheckMongoClusterNameAvailability_ChecksAndConfirmsTheMongoClu Console.WriteLine($"Succeeded: {result}"); } - // Checks and returns that the Mongo Cluster name is already in-use. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckMongoClusterNameAvailability_ChecksAndReturnsThatTheMongoClusterNameIsAlreadyInUse() { // Generated from example definition: 2024-07-01/MongoClusters_NameAvailability_AlreadyExists.json @@ -367,9 +358,8 @@ public async Task CheckMongoClusterNameAvailability_ChecksAndReturnsThatTheMongo Console.WriteLine($"Succeeded: {result}"); } - // Promotes a replica Mongo Cluster resource to a primary role. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Promote_PromotesAReplicaMongoClusterResourceToAPrimaryRole() { // Generated from example definition: 2024-07-01/MongoClusters_ForcePromoteReplica.json @@ -395,12 +385,11 @@ public async Task Promote_PromotesAReplicaMongoClusterResourceToAPrimaryRole() }; await mongoCluster.PromoteAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Lists the private link resources available on a Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinks_ListsThePrivateLinkResourcesAvailableOnAMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_PrivateLinkResourceList.json @@ -425,12 +414,11 @@ public async Task GetPrivateLinks_ListsThePrivateLinkResourcesAvailableOnAMongoC Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List the replicas linked to a Mongo Cluster resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReplicasByParent_ListTheReplicasLinkedToAMongoClusterResource() { // Generated from example definition: 2024-07-01/MongoClusters_ReplicaList.json @@ -455,7 +443,7 @@ public async Task GetReplicasByParent_ListTheReplicasLinkedToAMongoClusterResour Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ActionGroupCollection.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ActionGroupCollection.cs index b685765fb888d..98bff33b211a4 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ActionGroupCollection.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ActionGroupCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Monitor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_ActionGroupCollection { - // Create or update an action group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnActionGroup() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2023-01-01/examples/createOrUpdateActionGroup.json @@ -136,9 +136,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAnActionGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an action group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnActionGroup() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2023-01-01/examples/getActionGroup.json @@ -170,9 +169,8 @@ public async Task Get_GetAnActionGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an action group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnActionGroup() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2023-01-01/examples/getActionGroup.json @@ -200,9 +198,8 @@ public async Task Exists_GetAnActionGroup() Console.WriteLine($"Succeeded: {result}"); } - // Get an action group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnActionGroup() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2023-01-01/examples/getActionGroup.json @@ -230,7 +227,7 @@ public async Task GetIfExists_GetAnActionGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -242,9 +239,8 @@ public async Task GetIfExists_GetAnActionGroup() } } - // List action groups at resource group level - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListActionGroupsAtResourceGroupLevel() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2023-01-01/examples/listActionGroups.json @@ -275,7 +271,7 @@ public async Task GetAll_ListActionGroupsAtResourceGroupLevel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ActionGroupResource.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ActionGroupResource.cs index 7589d5033c18d..eaa00761ad166 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ActionGroupResource.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ActionGroupResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Monitor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_ActionGroupResource { - // Get an action group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnActionGroup() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2023-01-01/examples/getActionGroup.json @@ -47,9 +47,8 @@ public async Task Get_GetAnActionGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an action group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnActionGroup() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2023-01-01/examples/deleteActionGroup.json @@ -71,12 +70,11 @@ public async Task Delete_DeleteAnActionGroup() // invoke the operation await actionGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Patch an action group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchAnActionGroup() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2023-01-01/examples/patchActionGroup.json @@ -114,9 +112,8 @@ public async Task Update_PatchAnActionGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create notifications at resource group level - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateNotifications_CreateNotificationsAtResourceGroupLevel() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2023-01-01/examples/postTestNotificationsAtActionGroupResourceLevel.json @@ -225,9 +222,8 @@ public async Task CreateNotifications_CreateNotificationsAtResourceGroupLevel() Console.WriteLine($"Succeeded: {result}"); } - // Get notification details at resource group level - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNotificationStatus_GetNotificationDetailsAtResourceGroupLevel() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2023-01-01/examples/getTestNotificationsAtActionGroupResourceLevel.json @@ -253,9 +249,8 @@ public async Task GetNotificationStatus_GetNotificationDetailsAtResourceGroupLev Console.WriteLine($"Succeeded: {result}"); } - // List action groups at subscription level - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetActionGroups_ListActionGroupsAtSubscriptionLevel() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2023-01-01/examples/listActionGroups.json @@ -282,12 +277,11 @@ public async Task GetActionGroups_ListActionGroupsAtSubscriptionLevel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Enable the receiver - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task EnableReceiver_EnableTheReceiver() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2023-01-01/examples/enableReceiver.json @@ -310,7 +304,7 @@ public async Task EnableReceiver_EnableTheReceiver() ActionGroupEnableContent content = new ActionGroupEnableContent("John Doe's mobile"); await actionGroup.EnableReceiverAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ActivityLogAlertCollection.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ActivityLogAlertCollection.cs index 0de2194b0d661..9e6145719a58d 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ActivityLogAlertCollection.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ActivityLogAlertCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Monitor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_ActivityLogAlertCollection { - // Create or update an Activity Log Alert rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnActivityLogAlertRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2020-10-01/examples/ActivityLogAlertRule_CreateOrUpdate.json @@ -85,9 +85,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAnActivityLogAlertRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update an Activity Log Alert rule with 'anyOf' condition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnActivityLogAlertRuleWithAnyOfCondition() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2020-10-01/examples/ActivityLogAlertRule_CreateOrUpdateRuleWithAnyOfCondition.json @@ -164,9 +163,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAnActivityLogAlertRuleWithAnyOfCo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update an Activity Log Alert rule with 'containsAny' - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnActivityLogAlertRuleWithContainsAny() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2020-10-01/examples/ActivityLogAlertRule_CreateOrUpdateRuleWithContainsAny.json @@ -236,9 +234,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAnActivityLogAlertRuleWithContain Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an Activity Log Alert rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnActivityLogAlertRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2020-10-01/examples/ActivityLogAlertRule_Get.json @@ -270,9 +267,8 @@ public async Task Get_GetAnActivityLogAlertRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an Activity Log Alert rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnActivityLogAlertRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2020-10-01/examples/ActivityLogAlertRule_Get.json @@ -300,9 +296,8 @@ public async Task Exists_GetAnActivityLogAlertRule() Console.WriteLine($"Succeeded: {result}"); } - // Get an Activity Log Alert rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnActivityLogAlertRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2020-10-01/examples/ActivityLogAlertRule_Get.json @@ -330,7 +325,7 @@ public async Task GetIfExists_GetAnActivityLogAlertRule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -342,9 +337,8 @@ public async Task GetIfExists_GetAnActivityLogAlertRule() } } - // List activity log alerts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListActivityLogAlerts() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2020-10-01/examples/ActivityLogAlertRule_ListByResourceGroupName.json @@ -375,7 +369,7 @@ public async Task GetAll_ListActivityLogAlerts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ActivityLogAlertResource.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ActivityLogAlertResource.cs index d1a1966ef1698..d831756be05ac 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ActivityLogAlertResource.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ActivityLogAlertResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Monitor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_ActivityLogAlertResource { - // Get an Activity Log Alert rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnActivityLogAlertRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2020-10-01/examples/ActivityLogAlertRule_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetAnActivityLogAlertRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an Activity Log Alert rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnActivityLogAlertRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2020-10-01/examples/ActivityLogAlertRule_Delete.json @@ -71,12 +70,11 @@ public async Task Delete_DeleteAnActivityLogAlertRule() // invoke the operation await activityLogAlert.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Patch an Activity Log Alert rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchAnActivityLogAlertRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2020-10-01/examples/ActivityLogAlertRule_Update.json @@ -114,9 +112,8 @@ public async Task Update_PatchAnActivityLogAlertRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get list of all Activity Log Alert rules under a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetActivityLogAlerts_GetListOfAllActivityLogAlertRulesUnderASubscription() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2020-10-01/examples/ActivityLogAlertRule_ListBySubscriptionId.json @@ -143,7 +140,7 @@ public async Task GetActivityLogAlerts_GetListOfAllActivityLogAlertRulesUnderASu Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_AlertRuleCollection.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_AlertRuleCollection.cs index 49d2b5c4d756c..74e33bd653457 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_AlertRuleCollection.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_AlertRuleCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Monitor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_AlertRuleCollection { - // Create or update an alert rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnAlertRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/createOrUpdateAlertRule.json @@ -71,9 +71,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAnAlertRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an alert rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAlertRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getAlertRule.json @@ -105,9 +104,8 @@ public async Task Get_GetAnAlertRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an alert rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnAlertRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getAlertRule.json @@ -135,9 +133,8 @@ public async Task Exists_GetAnAlertRule() Console.WriteLine($"Succeeded: {result}"); } - // Get an alert rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnAlertRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getAlertRule.json @@ -165,7 +162,7 @@ public async Task GetIfExists_GetAnAlertRule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -177,9 +174,8 @@ public async Task GetIfExists_GetAnAlertRule() } } - // List alert rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAlertRules() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRule.json @@ -210,7 +206,7 @@ public async Task GetAll_ListAlertRules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_AlertRuleResource.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_AlertRuleResource.cs index ff10091226cd8..29d797ee0da9a 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_AlertRuleResource.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_AlertRuleResource.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Monitor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_AlertRuleResource { - // Get a single alert rule incident - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAlertRuleIncident_GetASingleAlertRuleIncident() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getAlertRuleIncident.json @@ -45,9 +45,8 @@ public async Task GetAlertRuleIncident_GetASingleAlertRuleIncident() Console.WriteLine($"Succeeded: {result}"); } - // List alert rule incidents - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAlertRuleIncidents_ListAlertRuleIncidents() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRuleIncidents.json @@ -72,12 +71,11 @@ public async Task GetAlertRuleIncidents_ListAlertRuleIncidents() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Delete an alert rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnAlertRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteAlertRule.json @@ -99,12 +97,11 @@ public async Task Delete_DeleteAnAlertRule() // invoke the operation await alertRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an alert rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAlertRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getAlertRule.json @@ -133,9 +130,8 @@ public async Task Get_GetAnAlertRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch an alert rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchAnAlertRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/patchAlertRule.json @@ -187,9 +183,8 @@ public async Task Update_PatchAnAlertRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List alert rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAlertRules_ListAlertRules() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRuleBySubscription.json @@ -216,7 +211,7 @@ public async Task GetAlertRules_ListAlertRules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_AutoscaleSettingCollection.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_AutoscaleSettingCollection.cs index 66bba7d67367d..1c9e3cee149b2 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_AutoscaleSettingCollection.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_AutoscaleSettingCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Monitor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_AutoscaleSettingCollection { - // List autoscale settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAutoscaleSettings() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-10-01/examples/listAutoscaleSetting.json @@ -50,12 +50,11 @@ public async Task GetAll_ListAutoscaleSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create or update an autoscale setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnAutoscaleSetting() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-10-01/examples/createOrUpdateAutoscaleSetting.json @@ -175,9 +174,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAnAutoscaleSetting() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an autoscale setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAutoscaleSetting() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-10-01/examples/getAutoscaleSetting.json @@ -209,9 +207,8 @@ public async Task Get_GetAnAutoscaleSetting() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an autoscale setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnAutoscaleSetting() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-10-01/examples/getAutoscaleSetting.json @@ -239,9 +236,8 @@ public async Task Exists_GetAnAutoscaleSetting() Console.WriteLine($"Succeeded: {result}"); } - // Get an autoscale setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnAutoscaleSetting() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-10-01/examples/getAutoscaleSetting.json @@ -269,7 +265,7 @@ public async Task GetIfExists_GetAnAutoscaleSetting() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_AutoscaleSettingResource.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_AutoscaleSettingResource.cs index 1095cd90a446f..1eea8bb244817 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_AutoscaleSettingResource.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_AutoscaleSettingResource.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Monitor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_AutoscaleSettingResource { - // Delete an autoscale setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnAutoscaleSetting() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-10-01/examples/deleteAutoscaleSetting.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteAnAutoscaleSetting() // invoke the operation await autoscaleSetting.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an autoscale setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAutoscaleSetting() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-10-01/examples/getAutoscaleSetting.json @@ -75,9 +74,8 @@ public async Task Get_GetAnAutoscaleSetting() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch an autoscale setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchAnAutoscaleSetting() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-10-01/examples/patchAutoscaleSetting.json @@ -193,9 +191,8 @@ public async Task Update_PatchAnAutoscaleSetting() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List autoscale settings by subs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAutoscaleSettings_ListAutoscaleSettingsBySubs() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-10-01/examples/listAutoscaleSettingBySubscription.json @@ -222,12 +219,11 @@ public async Task GetAutoscaleSettings_ListAutoscaleSettingsBySubs() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Metric for data - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPredictiveMetric_GetMetricForData() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-10-01/examples/GetPredictiveMetric.json diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DataCollectionEndpointCollection.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DataCollectionEndpointCollection.cs index 8e15119860021..4f82d99dcbd88 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DataCollectionEndpointCollection.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DataCollectionEndpointCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Monitor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_DataCollectionEndpointCollection { - // List data collection endpoints by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDataCollectionEndpointsByResourceGroup() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionEndpointsListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListDataCollectionEndpointsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get data collection endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDataCollectionEndpoint() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionEndpointsGet.json @@ -86,9 +85,8 @@ public async Task Get_GetDataCollectionEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get data collection endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDataCollectionEndpoint() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionEndpointsGet.json @@ -116,9 +114,8 @@ public async Task Exists_GetDataCollectionEndpoint() Console.WriteLine($"Succeeded: {result}"); } - // Get data collection endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDataCollectionEndpoint() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionEndpointsGet.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetDataCollectionEndpoint() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetDataCollectionEndpoint() } } - // Create or update data collection endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateDataCollectionEndpoint() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionEndpointsCreate.json diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DataCollectionEndpointResource.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DataCollectionEndpointResource.cs index 9bbddc302214c..f0f43406bc8b8 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DataCollectionEndpointResource.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DataCollectionEndpointResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Monitor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_DataCollectionEndpointResource { - // List data collection endpoints by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDataCollectionEndpoints_ListDataCollectionEndpointsBySubscription() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionEndpointsListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetDataCollectionEndpoints_ListDataCollectionEndpointsBySubscr Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get data collection endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDataCollectionEndpoint() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionEndpointsGet.json @@ -79,9 +78,8 @@ public async Task Get_GetDataCollectionEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update data collection endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateDataCollectionEndpoint() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionEndpointsUpdate.json @@ -119,9 +117,8 @@ public async Task Update_UpdateDataCollectionEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete data collection endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteDataCollectionEndpoint() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionEndpointsDelete.json @@ -143,12 +140,11 @@ public async Task Delete_DeleteDataCollectionEndpoint() // invoke the operation await dataCollectionEndpoint.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List associations for specified data collection endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDataCollectionRuleAssociations_ListAssociationsForSpecifiedDataCollectionEndpoint() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionRuleAssociationsListByDataCollectionEndpoint.json @@ -177,7 +173,7 @@ public async Task GetDataCollectionRuleAssociations_ListAssociationsForSpecified Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DataCollectionRuleAssociationCollection.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DataCollectionRuleAssociationCollection.cs index 18bac6e5bb59b..02ded994f996f 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DataCollectionRuleAssociationCollection.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DataCollectionRuleAssociationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_DataCollectionRuleAssociationCollection { - // List associations for specified resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAssociationsForSpecifiedResource() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionRuleAssociationsListByResource.json @@ -45,12 +45,11 @@ public async Task GetAll_ListAssociationsForSpecifiedResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get association - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAssociation() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionRuleAssociationsGet.json @@ -80,9 +79,8 @@ public async Task Get_GetAssociation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get association - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAssociation() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionRuleAssociationsGet.json @@ -108,9 +106,8 @@ public async Task Exists_GetAssociation() Console.WriteLine($"Succeeded: {result}"); } - // Get association - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAssociation() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionRuleAssociationsGet.json @@ -136,7 +133,7 @@ public async Task GetIfExists_GetAssociation() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -148,9 +145,8 @@ public async Task GetIfExists_GetAssociation() } } - // Create or update association - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAssociation() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionRuleAssociationsCreate.json diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DataCollectionRuleAssociationResource.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DataCollectionRuleAssociationResource.cs index 2d73680da026b..335ac6c92eb7d 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DataCollectionRuleAssociationResource.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DataCollectionRuleAssociationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_DataCollectionRuleAssociationResource { - // Get association - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAssociation() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionRuleAssociationsGet.json @@ -44,9 +44,8 @@ public async Task Get_GetAssociation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update association - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAssociation() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionRuleAssociationsCreate.json @@ -79,9 +78,8 @@ public async Task Update_CreateOrUpdateAssociation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete association - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAssociation() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionRuleAssociationsDelete.json @@ -102,7 +100,7 @@ public async Task Delete_DeleteAssociation() // invoke the operation await dataCollectionRuleAssociation.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DataCollectionRuleCollection.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DataCollectionRuleCollection.cs index 09c8408639b4e..60dd7545e8bd4 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DataCollectionRuleCollection.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DataCollectionRuleCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Monitor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_DataCollectionRuleCollection { - // List data collection rules by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDataCollectionRulesByResourceGroup() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionRulesListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListDataCollectionRulesByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get data collection rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDataCollectionRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionRulesGet.json @@ -86,9 +85,8 @@ public async Task Get_GetDataCollectionRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get data collection rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDataCollectionRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionRulesGet.json @@ -116,9 +114,8 @@ public async Task Exists_GetDataCollectionRule() Console.WriteLine($"Succeeded: {result}"); } - // Get data collection rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDataCollectionRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionRulesGet.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetDataCollectionRule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetDataCollectionRule() } } - // Create or update data collection rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateDataCollectionRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionRulesCreate.json diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DataCollectionRuleResource.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DataCollectionRuleResource.cs index bbc816495bba7..f738cca0037b0 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DataCollectionRuleResource.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DataCollectionRuleResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Monitor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_DataCollectionRuleResource { - // List associations for specified data collection rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDataCollectionRuleAssociationsByRule_ListAssociationsForSpecifiedDataCollectionRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionRuleAssociationsListByRule.json @@ -47,12 +47,11 @@ public async Task GetDataCollectionRuleAssociationsByRule_ListAssociationsForSpe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List data collection rules by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDataCollectionRules_ListDataCollectionRulesBySubscription() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionRulesListBySubscription.json @@ -79,12 +78,11 @@ public async Task GetDataCollectionRules_ListDataCollectionRulesBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get data collection rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDataCollectionRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionRulesGet.json @@ -113,9 +111,8 @@ public async Task Get_GetDataCollectionRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update data collection rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateDataCollectionRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionRulesUpdate.json @@ -153,9 +150,8 @@ public async Task Update_UpdateDataCollectionRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete data collection rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteDataCollectionRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/examples/DataCollectionRulesDelete.json @@ -177,7 +173,7 @@ public async Task Delete_DeleteDataCollectionRule() // invoke the operation await dataCollectionRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DiagnosticSettingCollection.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DiagnosticSettingCollection.cs index b6295a6900ae9..3e75466c9712d 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DiagnosticSettingCollection.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DiagnosticSettingCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Monitor.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_DiagnosticSettingCollection { - // Gets the diagnostic setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDiagnosticSetting() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/examples/getDiagnosticSetting.json @@ -47,9 +47,8 @@ public async Task Get_GetsTheDiagnosticSetting() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the diagnostic setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheDiagnosticSetting() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/examples/getDiagnosticSetting.json @@ -75,9 +74,8 @@ public async Task Exists_GetsTheDiagnosticSetting() Console.WriteLine($"Succeeded: {result}"); } - // Gets the diagnostic setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheDiagnosticSetting() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/examples/getDiagnosticSetting.json @@ -103,7 +101,7 @@ public async Task GetIfExists_GetsTheDiagnosticSetting() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -115,9 +113,8 @@ public async Task GetIfExists_GetsTheDiagnosticSetting() } } - // Gets the diagnostic setting for category - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDiagnosticSettingForCategory() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/examples/getDiagnosticSettingCategory.json @@ -147,9 +144,8 @@ public async Task Get_GetsTheDiagnosticSettingForCategory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the diagnostic setting for category - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheDiagnosticSettingForCategory() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/examples/getDiagnosticSettingCategory.json @@ -175,9 +171,8 @@ public async Task Exists_GetsTheDiagnosticSettingForCategory() Console.WriteLine($"Succeeded: {result}"); } - // Gets the diagnostic setting for category - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheDiagnosticSettingForCategory() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/examples/getDiagnosticSettingCategory.json @@ -203,7 +198,7 @@ public async Task GetIfExists_GetsTheDiagnosticSettingForCategory() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -215,9 +210,8 @@ public async Task GetIfExists_GetsTheDiagnosticSettingForCategory() } } - // Creates or Updates the diagnostic setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesTheDiagnosticSetting() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/examples/createOrUpdateDiagnosticSetting.json @@ -273,9 +267,8 @@ public async Task CreateOrUpdate_CreatesOrUpdatesTheDiagnosticSetting() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or Updates the diagnostic setting for category - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesTheDiagnosticSettingForCategory() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/examples/createOrUpdateDiagnosticSettingCategory.json @@ -331,9 +324,8 @@ public async Task CreateOrUpdate_CreatesOrUpdatesTheDiagnosticSettingForCategory Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the diagnostic setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheDiagnosticSetting() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/examples/listDiagnosticSettings.json @@ -362,12 +354,11 @@ public async Task GetAll_GetsTheDiagnosticSetting() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the diagnostic setting for category - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheDiagnosticSettingForCategory() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/examples/listDiagnosticSettingsCategory.json @@ -396,7 +387,7 @@ public async Task GetAll_GetsTheDiagnosticSettingForCategory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DiagnosticSettingResource.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DiagnosticSettingResource.cs index cdc40c18eabb3..f81d7cd1c0fb8 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DiagnosticSettingResource.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DiagnosticSettingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Monitor.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_DiagnosticSettingResource { - // Gets the diagnostic setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDiagnosticSetting() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/examples/getDiagnosticSetting.json @@ -45,9 +45,8 @@ public async Task Get_GetsTheDiagnosticSetting() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the diagnostic setting for category - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDiagnosticSettingForCategory() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/examples/getDiagnosticSettingCategory.json @@ -75,9 +74,8 @@ public async Task Get_GetsTheDiagnosticSettingForCategory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or Updates the diagnostic setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesOrUpdatesTheDiagnosticSetting() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/examples/createOrUpdateDiagnosticSetting.json @@ -131,9 +129,8 @@ public async Task Update_CreatesOrUpdatesTheDiagnosticSetting() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or Updates the diagnostic setting for category - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesOrUpdatesTheDiagnosticSettingForCategory() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/examples/createOrUpdateDiagnosticSettingCategory.json @@ -187,9 +184,8 @@ public async Task Update_CreatesOrUpdatesTheDiagnosticSettingForCategory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes the diagnostic setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesTheDiagnosticSetting() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/examples/deleteDiagnosticSetting.json @@ -210,7 +206,7 @@ public async Task Delete_DeletesTheDiagnosticSetting() // invoke the operation await diagnosticSetting.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DiagnosticSettingsCategoryCollection.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DiagnosticSettingsCategoryCollection.cs index b8eec841390f9..1e62b88248dee 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DiagnosticSettingsCategoryCollection.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DiagnosticSettingsCategoryCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_DiagnosticSettingsCategoryCollection { - // Gets the diagnostic setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDiagnosticSetting() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/examples/getDiagnosticSettingsCategory.json @@ -46,9 +46,8 @@ public async Task Get_GetsTheDiagnosticSetting() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the diagnostic setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheDiagnosticSetting() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/examples/getDiagnosticSettingsCategory.json @@ -74,9 +73,8 @@ public async Task Exists_GetsTheDiagnosticSetting() Console.WriteLine($"Succeeded: {result}"); } - // Gets the diagnostic setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheDiagnosticSetting() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/examples/getDiagnosticSettingsCategory.json @@ -102,7 +100,7 @@ public async Task GetIfExists_GetsTheDiagnosticSetting() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -114,9 +112,8 @@ public async Task GetIfExists_GetsTheDiagnosticSetting() } } - // Gets the diagnostic setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheDiagnosticSetting() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/examples/listDiagnosticSettingsCategories.json @@ -145,7 +142,7 @@ public async Task GetAll_GetsTheDiagnosticSetting() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DiagnosticSettingsCategoryResource.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DiagnosticSettingsCategoryResource.cs index 2cfc5c111c3c4..50388b918acd4 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DiagnosticSettingsCategoryResource.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_DiagnosticSettingsCategoryResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_DiagnosticSettingsCategoryResource { - // Gets the diagnostic setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDiagnosticSetting() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-05-01-preview/examples/getDiagnosticSettingsCategory.json diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_LogProfileCollection.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_LogProfileCollection.cs index 74ac04d32db91..e65d77c1c5b12 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_LogProfileCollection.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_LogProfileCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Monitor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_LogProfileCollection { - // Get log profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetLogProfile() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getLogProfile.json @@ -49,9 +49,8 @@ public async Task Get_GetLogProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get log profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetLogProfile() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getLogProfile.json @@ -78,9 +77,8 @@ public async Task Exists_GetLogProfile() Console.WriteLine($"Succeeded: {result}"); } - // Get log profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetLogProfile() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getLogProfile.json @@ -107,7 +105,7 @@ public async Task GetIfExists_GetLogProfile() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -119,9 +117,8 @@ public async Task GetIfExists_GetLogProfile() } } - // Create or update a log profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateALogProfile() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/createOrUpdateLogProfile.json @@ -167,9 +164,8 @@ public async Task CreateOrUpdate_CreateOrUpdateALogProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List log profiles - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListLogProfiles() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listLogProfile.json @@ -199,7 +195,7 @@ public async Task GetAll_ListLogProfiles() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_LogProfileResource.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_LogProfileResource.cs index 3c4fa2c2a721c..6703f891bc49f 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_LogProfileResource.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_LogProfileResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Monitor.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_LogProfileResource { - // Delete log profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteLogProfile() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteLogProfile.json @@ -38,12 +38,11 @@ public async Task Delete_DeleteLogProfile() // invoke the operation await logProfile.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get log profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetLogProfile() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getLogProfile.json @@ -71,9 +70,8 @@ public async Task Get_GetLogProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch a log profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchALogProfile() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/patchLogProfile.json diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MetricAlertCollection.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MetricAlertCollection.cs index 81f7b339c03c6..7b1713e53624b 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MetricAlertCollection.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MetricAlertCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Monitor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_MetricAlertCollection { - // List metric alert rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListMetricAlertRules() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/listMetricAlert.json @@ -50,12 +50,11 @@ public async Task GetAll_ListMetricAlertRules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a dynamic alert rule for multiple resources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADynamicAlertRuleForMultipleResources() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertMultipleResource.json @@ -87,9 +86,8 @@ public async Task Get_GetADynamicAlertRuleForMultipleResources() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a dynamic alert rule for multiple resources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADynamicAlertRuleForMultipleResources() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertMultipleResource.json @@ -117,9 +115,8 @@ public async Task Exists_GetADynamicAlertRuleForMultipleResources() Console.WriteLine($"Succeeded: {result}"); } - // Get a dynamic alert rule for multiple resources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADynamicAlertRuleForMultipleResources() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertMultipleResource.json @@ -147,7 +144,7 @@ public async Task GetIfExists_GetADynamicAlertRuleForMultipleResources() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_GetADynamicAlertRuleForMultipleResources() } } - // Get a dynamic alert rule for single resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADynamicAlertRuleForSingleResource() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertSingleResource.json @@ -193,9 +189,8 @@ public async Task Get_GetADynamicAlertRuleForSingleResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a dynamic alert rule for single resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADynamicAlertRuleForSingleResource() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertSingleResource.json @@ -223,9 +218,8 @@ public async Task Exists_GetADynamicAlertRuleForSingleResource() Console.WriteLine($"Succeeded: {result}"); } - // Get a dynamic alert rule for single resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADynamicAlertRuleForSingleResource() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertSingleResource.json @@ -253,7 +247,7 @@ public async Task GetIfExists_GetADynamicAlertRuleForSingleResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -265,9 +259,8 @@ public async Task GetIfExists_GetADynamicAlertRuleForSingleResource() } } - // Get a web test alert rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWebTestAlertRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getWebTestMetricAlert.json @@ -299,9 +292,8 @@ public async Task Get_GetAWebTestAlertRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a web test alert rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAWebTestAlertRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getWebTestMetricAlert.json @@ -329,9 +321,8 @@ public async Task Exists_GetAWebTestAlertRule() Console.WriteLine($"Succeeded: {result}"); } - // Get a web test alert rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAWebTestAlertRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getWebTestMetricAlert.json @@ -359,7 +350,7 @@ public async Task GetIfExists_GetAWebTestAlertRule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -371,9 +362,8 @@ public async Task GetIfExists_GetAWebTestAlertRule() } } - // Get an alert rule for multiple resources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAlertRuleForMultipleResources() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertMultipleResource.json @@ -405,9 +395,8 @@ public async Task Get_GetAnAlertRuleForMultipleResources() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an alert rule for multiple resources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnAlertRuleForMultipleResources() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertMultipleResource.json @@ -435,9 +424,8 @@ public async Task Exists_GetAnAlertRuleForMultipleResources() Console.WriteLine($"Succeeded: {result}"); } - // Get an alert rule for multiple resources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnAlertRuleForMultipleResources() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertMultipleResource.json @@ -465,7 +453,7 @@ public async Task GetIfExists_GetAnAlertRuleForMultipleResources() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -477,9 +465,8 @@ public async Task GetIfExists_GetAnAlertRuleForMultipleResources() } } - // Get an alert rule for single resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAlertRuleForSingleResource() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSingleResource.json @@ -511,9 +498,8 @@ public async Task Get_GetAnAlertRuleForSingleResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an alert rule for single resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnAlertRuleForSingleResource() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSingleResource.json @@ -541,9 +527,8 @@ public async Task Exists_GetAnAlertRuleForSingleResource() Console.WriteLine($"Succeeded: {result}"); } - // Get an alert rule for single resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnAlertRuleForSingleResource() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSingleResource.json @@ -571,7 +556,7 @@ public async Task GetIfExists_GetAnAlertRuleForSingleResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -583,9 +568,8 @@ public async Task GetIfExists_GetAnAlertRuleForSingleResource() } } - // Get an alert rule on resource group(s) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAlertRuleOnResourceGroupS() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertResourceGroup.json @@ -617,9 +601,8 @@ public async Task Get_GetAnAlertRuleOnResourceGroupS() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an alert rule on resource group(s) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnAlertRuleOnResourceGroupS() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertResourceGroup.json @@ -647,9 +630,8 @@ public async Task Exists_GetAnAlertRuleOnResourceGroupS() Console.WriteLine($"Succeeded: {result}"); } - // Get an alert rule on resource group(s) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnAlertRuleOnResourceGroupS() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertResourceGroup.json @@ -677,7 +659,7 @@ public async Task GetIfExists_GetAnAlertRuleOnResourceGroupS() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -689,9 +671,8 @@ public async Task GetIfExists_GetAnAlertRuleOnResourceGroupS() } } - // Get an alert rule on subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAlertRuleOnSubscription() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSubscription.json @@ -723,9 +704,8 @@ public async Task Get_GetAnAlertRuleOnSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an alert rule on subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnAlertRuleOnSubscription() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSubscription.json @@ -753,9 +733,8 @@ public async Task Exists_GetAnAlertRuleOnSubscription() Console.WriteLine($"Succeeded: {result}"); } - // Get an alert rule on subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnAlertRuleOnSubscription() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSubscription.json @@ -783,7 +762,7 @@ public async Task GetIfExists_GetAnAlertRuleOnSubscription() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -795,9 +774,8 @@ public async Task GetIfExists_GetAnAlertRuleOnSubscription() } } - // Create or update a dynamic alert rule for Multiple Resources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateADynamicAlertRuleForMultipleResources() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertMultipleResource.json @@ -867,9 +845,8 @@ public async Task CreateOrUpdate_CreateOrUpdateADynamicAlertRuleForMultipleResou Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a dynamic alert rule for Single Resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateADynamicAlertRuleForSingleResource() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertSingleResource.json @@ -938,9 +915,8 @@ public async Task CreateOrUpdate_CreateOrUpdateADynamicAlertRuleForSingleResourc Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a web test alert rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAWebTestAlertRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateWebTestMetricAlert.json @@ -988,9 +964,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAWebTestAlertRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update an alert rule for Multiple Resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnAlertRuleForMultipleResource() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertMultipleResource.json @@ -1060,9 +1035,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAnAlertRuleForMultipleResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update an alert rule for Single Resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnAlertRuleForSingleResource() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSingleResource.json @@ -1129,9 +1103,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAnAlertRuleForSingleResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update an alert rule on Resource group(s) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnAlertRuleOnResourceGroupS() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertResourceGroup.json @@ -1201,9 +1174,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAnAlertRuleOnResourceGroupS() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update an alert rule on Subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnAlertRuleOnSubscription() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSubscription.json @@ -1273,9 +1245,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAnAlertRuleOnSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update an alert rules with dimensions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnAlertRulesWithDimensions() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertWithDimensions.json diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MetricAlertResource.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MetricAlertResource.cs index 57e26077caa62..0548cec1fa8a8 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MetricAlertResource.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MetricAlertResource.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Monitor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_MetricAlertResource { - // List metric alert rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMetricAlerts_ListMetricAlertRules() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/listMetricAlert.json @@ -46,12 +46,11 @@ public async Task GetMetricAlerts_ListMetricAlertRules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a dynamic alert rule for multiple resources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADynamicAlertRuleForMultipleResources() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertMultipleResource.json @@ -80,9 +79,8 @@ public async Task Get_GetADynamicAlertRuleForMultipleResources() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a dynamic alert rule for single resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADynamicAlertRuleForSingleResource() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertSingleResource.json @@ -111,9 +109,8 @@ public async Task Get_GetADynamicAlertRuleForSingleResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a web test alert rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWebTestAlertRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getWebTestMetricAlert.json @@ -142,9 +139,8 @@ public async Task Get_GetAWebTestAlertRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an alert rule for multiple resources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAlertRuleForMultipleResources() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertMultipleResource.json @@ -173,9 +169,8 @@ public async Task Get_GetAnAlertRuleForMultipleResources() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an alert rule for single resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAlertRuleForSingleResource() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSingleResource.json @@ -204,9 +199,8 @@ public async Task Get_GetAnAlertRuleForSingleResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an alert rule on resource group(s) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAlertRuleOnResourceGroupS() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertResourceGroup.json @@ -235,9 +229,8 @@ public async Task Get_GetAnAlertRuleOnResourceGroupS() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an alert rule on subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAlertRuleOnSubscription() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSubscription.json @@ -266,9 +259,8 @@ public async Task Get_GetAnAlertRuleOnSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update an alert rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAnAlertRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/UpdateMetricAlert.json @@ -337,9 +329,8 @@ public async Task Update_CreateOrUpdateAnAlertRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an alert rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnAlertRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/deleteMetricAlert.json @@ -361,12 +352,11 @@ public async Task Delete_DeleteAnAlertRule() // invoke the operation await metricAlert.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an alert rule status - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllMetricAlertsStatus_GetAnAlertRuleStatus() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertStatus.json @@ -391,12 +381,11 @@ public async Task GetAllMetricAlertsStatus_GetAnAlertRuleStatus() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an alert rule status - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllMetricAlertsStatusByName_GetAnAlertRuleStatus() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertStatusByName.json @@ -422,7 +411,7 @@ public async Task GetAllMetricAlertsStatusByName_GetAnAlertRuleStatus() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateEndpointConnectionCollection.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateEndpointConnectionCollection.cs index d542a5aa43c33..47d81c9e36a32 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateEndpointConnectionCollection.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Monitor.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_MonitorPrivateEndpointConnectionCollection { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateEndpointConnectionGet.json @@ -50,9 +50,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateEndpointConnectionGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateEndpointConnectionGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() } } - // Approve or reject a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateEndpointConnectionUpdate.json @@ -168,9 +165,8 @@ public async Task CreateOrUpdate_ApproveOrRejectAPrivateEndpointConnectionWithAG Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets list of private endpoint connections on a private link scope. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsListOfPrivateEndpointConnectionsOnAPrivateLinkScope() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateEndpointConnectionList.json @@ -202,7 +198,7 @@ public async Task GetAll_GetsListOfPrivateEndpointConnectionsOnAPrivateLinkScope Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateEndpointConnectionResource.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateEndpointConnectionResource.cs index f85de0d393739..36c030873399c 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateEndpointConnectionResource.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Monitor.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_MonitorPrivateEndpointConnectionResource { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateEndpointConnectionGet.json @@ -47,9 +47,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Approve or reject a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateEndpointConnectionUpdate.json @@ -88,9 +87,8 @@ public async Task Update_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateEndpointConnectionDelete.json @@ -113,7 +111,7 @@ public async Task Delete_DeletesAPrivateEndpointConnectionWithAGivenName() // invoke the operation await monitorPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateLinkResource.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateLinkResource.cs index 011f08673cdef..4f4af21762864 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateLinkResource.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_MonitorPrivateLinkResource { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopePrivateLinkResourceGet.json diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateLinkResourceCollection.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateLinkResourceCollection.cs index c006f5a6c1feb..11e5fda72762d 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateLinkResourceCollection.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_MonitorPrivateLinkResourceCollection { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsPrivateEndpointConnection() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopePrivateLinkResourceListGet.json @@ -48,12 +48,11 @@ public async Task GetAll_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopePrivateLinkResourceGet.json @@ -86,9 +85,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopePrivateLinkResourceGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopePrivateLinkResourceGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateLinkScopeCollection.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateLinkScopeCollection.cs index 05b4d19e1032d..cd5e6459b0347 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateLinkScopeCollection.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateLinkScopeCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Monitor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_MonitorPrivateLinkScopeCollection { - // PrivateLinkScopeListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateLinkScopeListByResourceGroup() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopesListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_PrivateLinkScopeListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateLinkScopeGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkScopeGet() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopesGet.json @@ -86,9 +85,8 @@ public async Task Get_PrivateLinkScopeGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateLinkScopeGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateLinkScopeGet() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopesGet.json @@ -116,9 +114,8 @@ public async Task Exists_PrivateLinkScopeGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateLinkScopeGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateLinkScopeGet() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopesGet.json @@ -146,7 +143,7 @@ public async Task GetIfExists_PrivateLinkScopeGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_PrivateLinkScopeGet() } } - // PrivateLinkScopeCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateLinkScopeCreate() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopesCreate.json @@ -199,9 +195,8 @@ public async Task CreateOrUpdate_PrivateLinkScopeCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateLinkScopeUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateLinkScopeUpdate() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopesUpdate.json diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateLinkScopeResource.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateLinkScopeResource.cs index 6923105f8b9a1..71657d3171227 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateLinkScopeResource.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateLinkScopeResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Monitor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_MonitorPrivateLinkScopeResource { - // PrivateLinkScopesList.json - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMonitorPrivateLinkScopes_PrivateLinkScopesListJson() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopesList.json @@ -45,12 +45,11 @@ public async Task GetMonitorPrivateLinkScopes_PrivateLinkScopesListJson() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateLinkScopesDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateLinkScopesDelete() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopesDelete.json @@ -72,12 +71,11 @@ public async Task Delete_PrivateLinkScopesDelete() // invoke the operation await monitorPrivateLinkScope.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateLinkScopeGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkScopeGet() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopesGet.json @@ -106,9 +104,8 @@ public async Task Get_PrivateLinkScopeGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateLinkScopeUpdateTagsOnly - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateLinkScopeUpdateTagsOnly() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopesUpdateTagsOnly.json diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateLinkScopedResource.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateLinkScopedResource.cs index 33c0b50076b41..c214623d28046 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateLinkScopedResource.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateLinkScopedResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_MonitorPrivateLinkScopedResource { - // Gets private link scoped resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateLinkScopedResource() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopedResourceGet.json @@ -46,9 +46,8 @@ public async Task Get_GetsPrivateLinkScopedResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a scoped resource in a private link scope. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAScopedResourceInAPrivateLinkScope() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopedResourceUpdate.json @@ -83,9 +82,8 @@ public async Task Update_UpdateAScopedResourceInAPrivateLinkScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a scoped resource with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAScopedResourceWithAGivenName() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopedResourceDelete.json @@ -108,7 +106,7 @@ public async Task Delete_DeletesAScopedResourceWithAGivenName() // invoke the operation await monitorPrivateLinkScopedResource.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateLinkScopedResourceCollection.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateLinkScopedResourceCollection.cs index e7e46dbcec96a..287530da85eb9 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateLinkScopedResourceCollection.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorPrivateLinkScopedResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_MonitorPrivateLinkScopedResourceCollection { - // Gets private link scoped resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateLinkScopedResource() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopedResourceGet.json @@ -49,9 +49,8 @@ public async Task Get_GetsPrivateLinkScopedResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets private link scoped resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsPrivateLinkScopedResource() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopedResourceGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetsPrivateLinkScopedResource() Console.WriteLine($"Succeeded: {result}"); } - // Gets private link scoped resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsPrivateLinkScopedResource() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopedResourceGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetsPrivateLinkScopedResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetsPrivateLinkScopedResource() } } - // Update a scoped resource in a private link scope. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAScopedResourceInAPrivateLinkScope() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopedResourceUpdate.json @@ -163,9 +160,8 @@ public async Task CreateOrUpdate_UpdateAScopedResourceInAPrivateLinkScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets list of scoped resources in a private link scope. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsListOfScopedResourcesInAPrivateLinkScope() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/PrivateLinkScopedResourceList.json @@ -197,7 +193,7 @@ public async Task GetAll_GetsListOfScopedResourcesInAPrivateLinkScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorWorkspaceResource.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorWorkspaceResource.cs index 3fdf5d4d93f21..c29167808f909 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorWorkspaceResource.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorWorkspaceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Monitor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_MonitorWorkspaceResource { - // List Azure Monitor Workspaces by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMonitorWorkspaceResources_ListAzureMonitorWorkspacesBySubscription() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/examples/AzureMonitorWorkspacesListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetMonitorWorkspaceResources_ListAzureMonitorWorkspacesBySubsc Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Retrieves an Azure Monitor Workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrievesAnAzureMonitorWorkspace() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/examples/AzureMonitorWorkspaceGet.json @@ -79,9 +78,8 @@ public async Task Get_RetrievesAnAzureMonitorWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates an Azure Monitor Workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesAnAzureMonitorWorkspace() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/examples/AzureMonitorWorkspaceUpdate.json @@ -119,9 +117,8 @@ public async Task Update_UpdatesAnAzureMonitorWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes an Azure Monitor Workspace asynchronously - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAnAzureMonitorWorkspaceAsynchronously() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/examples/AzureMonitorWorkspaceDelete.json @@ -143,7 +140,7 @@ public async Task Delete_DeletesAnAzureMonitorWorkspaceAsynchronously() // invoke the operation await monitorWorkspaceResource.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorWorkspaceResourceCollection.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorWorkspaceResourceCollection.cs index 8118806aef8b5..fb1788caee8ab 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorWorkspaceResourceCollection.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_MonitorWorkspaceResourceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_MonitorWorkspaceResourceCollection { - // List Azure Monitor Workspaces by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAzureMonitorWorkspacesByResourceGroup() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/examples/AzureMonitorWorkspacesListByResourceGroup.json @@ -48,12 +48,11 @@ public async Task GetAll_ListAzureMonitorWorkspacesByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Retrieves an Azure Monitor Workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrievesAnAzureMonitorWorkspace() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/examples/AzureMonitorWorkspaceGet.json @@ -85,9 +84,8 @@ public async Task Get_RetrievesAnAzureMonitorWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieves an Azure Monitor Workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RetrievesAnAzureMonitorWorkspace() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/examples/AzureMonitorWorkspaceGet.json @@ -115,9 +113,8 @@ public async Task Exists_RetrievesAnAzureMonitorWorkspace() Console.WriteLine($"Succeeded: {result}"); } - // Retrieves an Azure Monitor Workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RetrievesAnAzureMonitorWorkspace() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/examples/AzureMonitorWorkspaceGet.json @@ -145,7 +142,7 @@ public async Task GetIfExists_RetrievesAnAzureMonitorWorkspace() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -157,9 +154,8 @@ public async Task GetIfExists_RetrievesAnAzureMonitorWorkspace() } } - // Creates an Azure Monitor Workspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAnAzureMonitorWorkspace() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/examples/AzureMonitorWorkspaceCreate.json diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_PipelineGroupCollection.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_PipelineGroupCollection.cs index 6c605f8b19ff1..08fb1269fa71b 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_PipelineGroupCollection.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_PipelineGroupCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Monitor.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_PipelineGroupCollection { - // List Pipeline groups by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPipelineGroupsByResourceGroup() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/examples/PipelineGroupListByResourceGroup.json @@ -50,12 +50,11 @@ public async Task GetAll_ListPipelineGroupsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Retrieves a PipelineGroup instance by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrievesAPipelineGroupInstanceByName() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/examples/PipelineGroupGet.json @@ -87,9 +86,8 @@ public async Task Get_RetrievesAPipelineGroupInstanceByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieves a PipelineGroup instance by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RetrievesAPipelineGroupInstanceByName() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/examples/PipelineGroupGet.json @@ -117,9 +115,8 @@ public async Task Exists_RetrievesAPipelineGroupInstanceByName() Console.WriteLine($"Succeeded: {result}"); } - // Retrieves a PipelineGroup instance by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RetrievesAPipelineGroupInstanceByName() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/examples/PipelineGroupGet.json @@ -147,7 +144,7 @@ public async Task GetIfExists_RetrievesAPipelineGroupInstanceByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_RetrievesAPipelineGroupInstanceByName() } } - // Create a PipelineGroup instance using UDP receiver - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAPipelineGroupInstanceUsingUDPReceiver() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/examples/PipelineGroupCreateUdp.json @@ -251,9 +247,8 @@ public async Task CreateOrUpdate_CreateAPipelineGroupInstanceUsingUDPReceiver() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a PipelineGroup instance using a syslog receiver - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAPipelineGroupInstanceUsingASyslogReceiver() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/examples/PipelineGroupCreateSyslogs.json @@ -342,9 +337,8 @@ public async Task CreateOrUpdate_CreateAPipelineGroupInstanceUsingASyslogReceive Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a PipelineGroup instance using a syslog receiver and cache. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAPipelineGroupInstanceUsingASyslogReceiverAndCache() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/examples/PipelineGroupCreateSyslogsWithCache.json @@ -438,9 +432,8 @@ public async Task CreateOrUpdate_CreateAPipelineGroupInstanceUsingASyslogReceive Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a PipelineGroup instance using a syslog receiver and networking configurations. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAPipelineGroupInstanceUsingASyslogReceiverAndNetworkingConfigurations() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/examples/PipelineGroupCreateSyslogsWithNetworking.json diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_PipelineGroupResource.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_PipelineGroupResource.cs index c46e30b5d65de..54e315102411f 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_PipelineGroupResource.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_PipelineGroupResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Monitor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_PipelineGroupResource { - // List Pipeline groups by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPipelineGroups_ListPipelineGroupsBySubscription() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/examples/PipelineGroupListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetPipelineGroups_ListPipelineGroupsBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Retrieves a PipelineGroup instance by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrievesAPipelineGroupInstanceByName() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/examples/PipelineGroupGet.json @@ -79,9 +78,8 @@ public async Task Get_RetrievesAPipelineGroupInstanceByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates a PipelineGroup instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesAPipelineGroupInstance() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/examples/PipelineGroupUpdate.json @@ -162,9 +160,8 @@ public async Task Update_UpdatesAPipelineGroupInstance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a PipelineGroup instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAPipelineGroupInstance() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/examples/PipelineGroupDelete.json @@ -186,7 +183,7 @@ public async Task Delete_DeletesAPipelineGroupInstance() // invoke the operation await pipelineGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs index 0fcf1f62da176..1ab4c818e1db3 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Monitor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_ResourceGroupResourceExtensions { - // Get specific operation status - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinkScopeOperationStatus_GetSpecificOperationStatus() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2021-07-01-preview/examples/privateLinkScopeOperationStatuses.json diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ScheduledQueryRuleCollection.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ScheduledQueryRuleCollection.cs index 672c33f34241e..580d2b725d424 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ScheduledQueryRuleCollection.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ScheduledQueryRuleCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Monitor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_ScheduledQueryRuleCollection { - // List scheduled query rules by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListScheduledQueryRulesByResourceGroup() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/listScheduledQueryRulesByResourceGroup.json @@ -50,12 +50,11 @@ public async Task GetAll_ListScheduledQueryRulesByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a scheduled query rule for single resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAScheduledQueryRuleForSingleResource() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/getScheduledQueryRule.json @@ -87,9 +86,8 @@ public async Task Get_GetAScheduledQueryRuleForSingleResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a scheduled query rule for single resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAScheduledQueryRuleForSingleResource() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/getScheduledQueryRule.json @@ -117,9 +115,8 @@ public async Task Exists_GetAScheduledQueryRuleForSingleResource() Console.WriteLine($"Succeeded: {result}"); } - // Get a scheduled query rule for single resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAScheduledQueryRuleForSingleResource() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/getScheduledQueryRule.json @@ -147,7 +144,7 @@ public async Task GetIfExists_GetAScheduledQueryRuleForSingleResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_GetAScheduledQueryRuleForSingleResource() } } - // Create or update a scheduled query rule for Single Resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAScheduledQueryRuleForSingleResource() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/createOrUpdateScheduledQueryRule.json @@ -249,9 +245,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAScheduledQueryRuleForSingleResou Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a scheduled query rule on Resource group(s) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAScheduledQueryRuleOnResourceGroupS() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/createOrUpdateScheduledQueryRuleResourceGroup.json @@ -334,9 +329,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAScheduledQueryRuleOnResourceGrou Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a scheduled query rule on Subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAScheduledQueryRuleOnSubscription() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/createOrUpdateScheduledQueryRuleSubscription.json diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ScheduledQueryRuleResource.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ScheduledQueryRuleResource.cs index a4ae4e660b41c..9a9dba37f1b62 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ScheduledQueryRuleResource.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_ScheduledQueryRuleResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Monitor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_ScheduledQueryRuleResource { - // List scheduled query rules by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetScheduledQueryRules_ListScheduledQueryRulesBySubscription() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/listScheduledQueryRulesBySubscription.json @@ -45,12 +45,11 @@ public async Task GetScheduledQueryRules_ListScheduledQueryRulesBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a scheduled query rule for single resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAScheduledQueryRuleForSingleResource() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/getScheduledQueryRule.json @@ -79,9 +78,8 @@ public async Task Get_GetAScheduledQueryRuleForSingleResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a scheduled query rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAScheduledQueryRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/patchScheduledQueryRule.json @@ -114,9 +112,8 @@ public async Task Update_CreateOrUpdateAScheduledQueryRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a scheduled query rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAScheduledQueryRule() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-15/examples/deleteScheduledQueryRule.json @@ -138,7 +135,7 @@ public async Task Delete_DeleteAScheduledQueryRule() // invoke the operation await scheduledQueryRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index e814197836e6a..8e82e880b9a28 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Monitor.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Get Activity Logs with filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetActivityLogs_GetActivityLogsWithFilter() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsFiltered.json @@ -43,12 +43,11 @@ public async Task GetActivityLogs_GetActivityLogsWithFilter() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Activity Logs with filter and select - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetActivityLogs_GetActivityLogsWithFilterAndSelect() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsFilteredAndSelected.json @@ -73,12 +72,11 @@ public async Task GetActivityLogs_GetActivityLogsWithFilterAndSelect() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get subscription level metric data - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMonitorMetrics_GetSubscriptionLevelMetricData() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2021-05-01/examples/GetMultiResourceMetric.json @@ -102,12 +100,11 @@ public async Task GetMonitorMetrics_GetSubscriptionLevelMetricData() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get subscription level metric metadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMonitorMetrics_GetSubscriptionLevelMetricMetadata() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2021-05-01/examples/GetMultiResourceMetricMetadata.json @@ -131,12 +128,11 @@ public async Task GetMonitorMetrics_GetSubscriptionLevelMetricMetadata() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Post request for subscription level metric data - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMonitorMetricsWithPost_PostRequestForSubscriptionLevelMetricData() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2021-05-01/examples/GetMultiResourceMetric.json @@ -160,12 +156,11 @@ public async Task GetMonitorMetricsWithPost_PostRequestForSubscriptionLevelMetri Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Post request for subscription level metric data using body params - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMonitorMetricsWithPost_PostRequestForSubscriptionLevelMetricDataUsingBodyParams() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2021-05-01/examples/PostMultiResourceMetricBody.json @@ -205,12 +200,11 @@ public async Task GetMonitorMetricsWithPost_PostRequestForSubscriptionLevelMetri Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Post request for subscription level metric metadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMonitorMetricsWithPost_PostRequestForSubscriptionLevelMetricMetadata() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2021-05-01/examples/GetMultiResourceMetricMetadata.json @@ -234,7 +228,7 @@ public async Task GetMonitorMetricsWithPost_PostRequestForSubscriptionLevelMetri Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_TenantResourceExtensions.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_TenantResourceExtensions.cs index cc1b337d9ae50..f1445d3e32709 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_TenantResourceExtensions.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_TenantResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Monitor.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_TenantResourceExtensions { - // Get event categories - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEventCategories_GetEventCategories() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetEventCategories.json @@ -38,12 +38,11 @@ public async Task GetEventCategories_GetEventCategories() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Tenant Activity Logs with filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTenantActivityLogs_GetTenantActivityLogsWithFilter() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsFiltered.json @@ -65,12 +64,11 @@ public async Task GetTenantActivityLogs_GetTenantActivityLogsWithFilter() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Tenant Activity Logs with filter and select - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTenantActivityLogs_GetTenantActivityLogsWithFilterAndSelect() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsFilteredAndSelected.json @@ -93,12 +91,11 @@ public async Task GetTenantActivityLogs_GetTenantActivityLogsWithFilterAndSelect Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Tenant Activity Logs with select - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTenantActivityLogs_GetTenantActivityLogsWithSelect() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsSelected.json @@ -120,12 +117,11 @@ public async Task GetTenantActivityLogs_GetTenantActivityLogsWithSelect() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Tenant Activity Logs without filter or select - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTenantActivityLogs_GetTenantActivityLogsWithoutFilterOrSelect() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsNoParams.json @@ -146,7 +142,7 @@ public async Task GetTenantActivityLogs_GetTenantActivityLogsWithoutFilterOrSele Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_VmInsightsOnboardingStatusResource.cs b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_VmInsightsOnboardingStatusResource.cs index 2fbd90bbe65ff..40ff6d54b38c2 100644 --- a/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_VmInsightsOnboardingStatusResource.cs +++ b/sdk/monitor/Azure.ResourceManager.Monitor/samples/Generated/Samples/Sample_VmInsightsOnboardingStatusResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Monitor.Samples { public partial class Sample_VmInsightsOnboardingStatusResource { - // Get status for a VM scale set that is actively reporting data - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetStatusForAVMScaleSetThatIsActivelyReportingData() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusVMScaleSet.json @@ -43,9 +43,8 @@ public async Task Get_GetStatusForAVMScaleSetThatIsActivelyReportingData() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get status for a VM that has not yet reported data - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetStatusForAVMThatHasNotYetReportedData() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVMUnknown.json @@ -72,9 +71,8 @@ public async Task Get_GetStatusForAVMThatHasNotYetReportedData() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get status for a VM that is actively reporting data - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetStatusForAVMThatIsActivelyReportingData() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVM.json @@ -101,9 +99,8 @@ public async Task Get_GetStatusForAVMThatIsActivelyReportingData() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get status for a resource group that has at least one VM that is actively reporting data - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetStatusForAResourceGroupThatHasAtLeastOneVMThatIsActivelyReportingData() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusResourceGroup.json @@ -130,9 +127,8 @@ public async Task Get_GetStatusForAResourceGroupThatHasAtLeastOneVMThatIsActivel Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get status for a subscription that has at least one VM that is actively reporting data - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetStatusForASubscriptionThatHasAtLeastOneVMThatIsActivelyReportingData() { // Generated from example definition: specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSubscription.json diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_AdvancedThreatProtectionCollection.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_AdvancedThreatProtectionCollection.cs index 9f57bf87d4200..2ad590494ffba 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_AdvancedThreatProtectionCollection.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_AdvancedThreatProtectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MySql.FlexibleServers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.FlexibleServers.Samples { public partial class Sample_AdvancedThreatProtectionCollection { - // Get a server's Advanced Threat Protection settings. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/AdvancedThreatProtectionSettingsGet.json @@ -50,9 +50,8 @@ public async Task Get_GetAServerSAdvancedThreatProtectionSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a server's Advanced Threat Protection settings. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAServerSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/AdvancedThreatProtectionSettingsGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetAServerSAdvancedThreatProtectionSettings() Console.WriteLine($"Succeeded: {result}"); } - // Get a server's Advanced Threat Protection settings. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAServerSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/AdvancedThreatProtectionSettingsGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetAServerSAdvancedThreatProtectionSettings() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetAServerSAdvancedThreatProtectionSettings() } } - // Disable a server's Advanced Threat Protection settings with all parameters using PUT - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DisableAServerSAdvancedThreatProtectionSettingsWithAllParametersUsingPUT() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/AdvancedThreatProtectionSettingsPutDisabled.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_DisableAServerSAdvancedThreatProtectionSettings Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Enable a server's Advanced Threat Protection settings using PUT - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EnableAServerSAdvancedThreatProtectionSettingsUsingPUT() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/AdvancedThreatProtectionSettingsPutEnabled.json @@ -204,9 +200,8 @@ public async Task CreateOrUpdate_EnableAServerSAdvancedThreatProtectionSettingsU Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get list of server's Advanced Threat Protection settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetListOfServerSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/AdvancedThreatProtectionSettingsList.json @@ -238,7 +233,7 @@ public async Task GetAll_GetListOfServerSAdvancedThreatProtectionSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_AdvancedThreatProtectionResource.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_AdvancedThreatProtectionResource.cs index 68caf102958a4..2618ba14650a3 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_AdvancedThreatProtectionResource.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_AdvancedThreatProtectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MySql.FlexibleServers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.FlexibleServers.Samples { public partial class Sample_AdvancedThreatProtectionResource { - // Get a server's Advanced Threat Protection settings. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/AdvancedThreatProtectionSettingsGet.json @@ -47,9 +47,8 @@ public async Task Get_GetAServerSAdvancedThreatProtectionSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Disable a server's Advanced Threat Protection settings with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DisableAServerSAdvancedThreatProtectionSettingsWithAllParameters() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/AdvancedThreatProtectionSettingsPatchDisabled.json @@ -84,9 +83,8 @@ public async Task Update_DisableAServerSAdvancedThreatProtectionSettingsWithAllP Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Enable a server's Advanced Threat Protection settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_EnableAServerSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/AdvancedThreatProtectionSettingsPatchEnabled.json diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlAdvisorCollection.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlAdvisorCollection.cs index a7baf416b601a..1caa70f6af440 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlAdvisorCollection.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlAdvisorCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlAdvisorCollection { - // AdvisorsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AdvisorsGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/AdvisorsGet.json @@ -49,9 +49,8 @@ public async Task Get_AdvisorsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AdvisorsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AdvisorsGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/AdvisorsGet.json @@ -80,9 +79,8 @@ public async Task Exists_AdvisorsGet() Console.WriteLine($"Succeeded: {result}"); } - // AdvisorsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AdvisorsGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/AdvisorsGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_AdvisorsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_AdvisorsGet() } } - // AdvisorsListByServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AdvisorsListByServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/AdvisorsListByServer.json @@ -157,7 +154,7 @@ public async Task GetAll_AdvisorsListByServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlAdvisorResource.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlAdvisorResource.cs index f0234bead939a..de9b381b0dd3a 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlAdvisorResource.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlAdvisorResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlAdvisorResource { - // RecommendedActionSessionCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateRecommendedActionSession_RecommendedActionSessionCreate() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/RecommendedActionSessionCreate.json @@ -40,12 +40,11 @@ public async Task CreateRecommendedActionSession_RecommendedActionSessionCreate( string databaseName = "someDatabaseName"; await mySqlAdvisor.CreateRecommendedActionSessionAsync(WaitUntil.Completed, databaseName); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AdvisorsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AdvisorsGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/AdvisorsGet.json diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlConfigurationCollection.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlConfigurationCollection.cs index 206e146aab844..f1af29e1fb03e 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlConfigurationCollection.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlConfigurationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlConfigurationCollection { - // ConfigurationCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ConfigurationCreateOrUpdate() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ConfigurationCreateOrUpdate.json @@ -55,9 +55,8 @@ public async Task CreateOrUpdate_ConfigurationCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConfigurationGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ConfigurationGet.json @@ -90,9 +89,8 @@ public async Task Get_ConfigurationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ConfigurationGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ConfigurationGet.json @@ -121,9 +119,8 @@ public async Task Exists_ConfigurationGet() Console.WriteLine($"Succeeded: {result}"); } - // ConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ConfigurationGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ConfigurationGet.json @@ -152,7 +149,7 @@ public async Task GetIfExists_ConfigurationGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_ConfigurationGet() } } - // ConfigurationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ConfigurationList() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ConfigurationListByServer.json @@ -198,7 +194,7 @@ public async Task GetAll_ConfigurationList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlConfigurationResource.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlConfigurationResource.cs index 1ff2834293924..55dedd5a17363 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlConfigurationResource.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlConfigurationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlConfigurationResource { - // ConfigurationCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ConfigurationCreateOrUpdate() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ConfigurationCreateOrUpdate.json @@ -52,9 +52,8 @@ public async Task Update_ConfigurationCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConfigurationGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ConfigurationGet.json diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlDatabaseCollection.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlDatabaseCollection.cs index 098baa54434fb..264330831933d 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlDatabaseCollection.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlDatabaseCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlDatabaseCollection { - // DatabaseCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DatabaseCreate() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/DatabaseCreate.json @@ -55,9 +55,8 @@ public async Task CreateOrUpdate_DatabaseCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DatabaseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DatabaseGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/DatabaseGet.json @@ -90,9 +89,8 @@ public async Task Get_DatabaseGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DatabaseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DatabaseGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/DatabaseGet.json @@ -121,9 +119,8 @@ public async Task Exists_DatabaseGet() Console.WriteLine($"Succeeded: {result}"); } - // DatabaseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DatabaseGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/DatabaseGet.json @@ -152,7 +149,7 @@ public async Task GetIfExists_DatabaseGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_DatabaseGet() } } - // DatabaseList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DatabaseList() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/DatabaseListByServer.json @@ -198,7 +194,7 @@ public async Task GetAll_DatabaseList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlDatabaseResource.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlDatabaseResource.cs index d91c3ad0a53c9..9244d36383c43 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlDatabaseResource.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlDatabaseResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlDatabaseResource { - // DatabaseCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DatabaseCreate() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/DatabaseCreate.json @@ -52,9 +52,8 @@ public async Task Update_DatabaseCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DatabaseDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DatabaseDelete() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/DatabaseDelete.json @@ -77,12 +76,11 @@ public async Task Delete_DatabaseDelete() // invoke the operation await mySqlDatabase.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DatabaseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DatabaseGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/DatabaseGet.json diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFirewallRuleCollection.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFirewallRuleCollection.cs index 399ba14ebd42a..f4daa768a4bb2 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFirewallRuleCollection.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFirewallRuleCollection.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlFirewallRuleCollection { - // FirewallRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_FirewallRuleCreate() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/FirewallRuleCreate.json @@ -52,9 +52,8 @@ public async Task CreateOrUpdate_FirewallRuleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FirewallRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FirewallRuleGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/FirewallRuleGet.json @@ -87,9 +86,8 @@ public async Task Get_FirewallRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FirewallRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_FirewallRuleGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/FirewallRuleGet.json @@ -118,9 +116,8 @@ public async Task Exists_FirewallRuleGet() Console.WriteLine($"Succeeded: {result}"); } - // FirewallRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_FirewallRuleGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/FirewallRuleGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_FirewallRuleGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_FirewallRuleGet() } } - // FirewallRuleList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_FirewallRuleList() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/FirewallRuleListByServer.json @@ -195,7 +191,7 @@ public async Task GetAll_FirewallRuleList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFirewallRuleResource.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFirewallRuleResource.cs index 969b7e056bc00..2daa019de658c 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFirewallRuleResource.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFirewallRuleResource.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlFirewallRuleResource { - // FirewallRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_FirewallRuleCreate() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/FirewallRuleCreate.json @@ -49,9 +49,8 @@ public async Task Update_FirewallRuleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FirewallRuleDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_FirewallRuleDelete() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/FirewallRuleDelete.json @@ -74,12 +73,11 @@ public async Task Delete_FirewallRuleDelete() // invoke the operation await mySqlFirewallRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // FirewallRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FirewallRuleGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/FirewallRuleGet.json diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerAadAdministratorCollection.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerAadAdministratorCollection.cs index 0ddf199bf1192..626ba0217a2e8 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerAadAdministratorCollection.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerAadAdministratorCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MySql.FlexibleServers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.FlexibleServers.Samples { public partial class Sample_MySqlFlexibleServerAadAdministratorCollection { - // Create an azure ad administrator - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnAzureAdAdministrator() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/AAD/stable/2023-12-30/examples/AzureADAdministratorCreate.json @@ -59,9 +59,8 @@ public async Task CreateOrUpdate_CreateAnAzureAdAdministrator() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an azure ad administrator - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAzureAdAdministrator() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/AAD/stable/2023-12-30/examples/AzureADAdministratorGet.json @@ -94,9 +93,8 @@ public async Task Get_GetAnAzureAdAdministrator() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an azure ad administrator - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnAzureAdAdministrator() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/AAD/stable/2023-12-30/examples/AzureADAdministratorGet.json @@ -125,9 +123,8 @@ public async Task Exists_GetAnAzureAdAdministrator() Console.WriteLine($"Succeeded: {result}"); } - // Get an azure ad administrator - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnAzureAdAdministrator() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/AAD/stable/2023-12-30/examples/AzureADAdministratorGet.json @@ -156,7 +153,7 @@ public async Task GetIfExists_GetAnAzureAdAdministrator() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_GetAnAzureAdAdministrator() } } - // List Azure AD administrators in a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAzureADAdministratorsInAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/AAD/stable/2023-12-30/examples/AzureADAdministratorsListByServer.json @@ -202,7 +198,7 @@ public async Task GetAll_ListAzureADAdministratorsInAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerAadAdministratorResource.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerAadAdministratorResource.cs index d3402352a3d3e..7bc0ec4500fea 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerAadAdministratorResource.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerAadAdministratorResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MySql.FlexibleServers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.FlexibleServers.Samples { public partial class Sample_MySqlFlexibleServerAadAdministratorResource { - // Create an azure ad administrator - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAnAzureAdAdministrator() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/AAD/stable/2023-12-30/examples/AzureADAdministratorCreate.json @@ -56,9 +56,8 @@ public async Task Update_CreateAnAzureAdAdministrator() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an azure ad administrator - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnAzureAdAdministrator() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/AAD/stable/2023-12-30/examples/AzureADAdministratorDelete.json @@ -81,12 +80,11 @@ public async Task Delete_DeleteAnAzureAdAdministrator() // invoke the operation await mySqlFlexibleServerAadAdministrator.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an azure ad administrator - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAzureAdAdministrator() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/AAD/stable/2023-12-30/examples/AzureADAdministratorGet.json diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerBackupCollection.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerBackupCollection.cs index b115b6a1254c5..f45ce69c57bbb 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerBackupCollection.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerBackupCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.FlexibleServers.Samples { public partial class Sample_MySqlFlexibleServerBackupCollection { - // Create backup for a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateBackupForAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Backups/stable/2023-12-30/examples/BackupPut.json @@ -50,9 +50,8 @@ public async Task CreateOrUpdate_CreateBackupForAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a backup for a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetABackupForAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Backups/stable/2023-12-30/examples/BackupGet.json @@ -85,9 +84,8 @@ public async Task Get_GetABackupForAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a backup for a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetABackupForAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Backups/stable/2023-12-30/examples/BackupGet.json @@ -116,9 +114,8 @@ public async Task Exists_GetABackupForAServer() Console.WriteLine($"Succeeded: {result}"); } - // Get a backup for a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetABackupForAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Backups/stable/2023-12-30/examples/BackupGet.json @@ -147,7 +144,7 @@ public async Task GetIfExists_GetABackupForAServer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_GetABackupForAServer() } } - // List backups for a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListBackupsForAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Backups/stable/2023-12-30/examples/BackupsListByServer.json @@ -193,7 +189,7 @@ public async Task GetAll_ListBackupsForAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerBackupResource.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerBackupResource.cs index 6554a9b316163..1647d919ca7d7 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerBackupResource.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerBackupResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.FlexibleServers.Samples { public partial class Sample_MySqlFlexibleServerBackupResource { - // Create backup for a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateBackupForAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Backups/stable/2023-12-30/examples/BackupPut.json @@ -47,9 +47,8 @@ public async Task Update_CreateBackupForAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a backup for a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetABackupForAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Backups/stable/2023-12-30/examples/BackupGet.json diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerBackupV2Collection.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerBackupV2Collection.cs index 0058739802bf0..81281de55f4f1 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerBackupV2Collection.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerBackupV2Collection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.FlexibleServers.Samples { public partial class Sample_MySqlFlexibleServerBackupV2Collection { - // Create backup for a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateBackupForAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Backups/stable/2023-12-30/examples/LongRunningBackup.json @@ -51,9 +51,8 @@ public async Task CreateOrUpdate_CreateBackupForAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a backup for a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetABackupForAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Backups/stable/2023-12-30/examples/LongRunningBackupGet.json @@ -86,9 +85,8 @@ public async Task Get_GetABackupForAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a backup for a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetABackupForAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Backups/stable/2023-12-30/examples/LongRunningBackupGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetABackupForAServer() Console.WriteLine($"Succeeded: {result}"); } - // Get a backup for a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetABackupForAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Backups/stable/2023-12-30/examples/LongRunningBackupGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetABackupForAServer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GetABackupForAServer() } } - // List backups for a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListBackupsForAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Backups/stable/2023-12-30/examples/LongRunningBackupsListByServer.json @@ -194,7 +190,7 @@ public async Task GetAll_ListBackupsForAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerBackupV2Resource.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerBackupV2Resource.cs index 05e2044bfb0ca..b907889a9ee79 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerBackupV2Resource.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerBackupV2Resource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.FlexibleServers.Samples { public partial class Sample_MySqlFlexibleServerBackupV2Resource { - // Create backup for a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateBackupForAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Backups/stable/2023-12-30/examples/LongRunningBackup.json @@ -48,9 +48,8 @@ public async Task Update_CreateBackupForAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a backup for a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetABackupForAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Backups/stable/2023-12-30/examples/LongRunningBackupGet.json diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerCollection.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerCollection.cs index ccab762800917..f5c99069e434a 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerCollection.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.MySql.FlexibleServers.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.FlexibleServers.Samples { public partial class Sample_MySqlFlexibleServerCollection { - // Create a new server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateANewServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/ServerCreate.json @@ -82,9 +82,8 @@ public async Task CreateOrUpdate_CreateANewServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a replica server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAReplicaServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/ServerCreateReplica.json @@ -122,9 +121,8 @@ public async Task CreateOrUpdate_CreateAReplicaServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a server as a point in time restore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAServerAsAPointInTimeRestore() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/ServerCreateWithPointInTimeRestore.json @@ -168,9 +166,8 @@ public async Task CreateOrUpdate_CreateAServerAsAPointInTimeRestore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a server with byok - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAServerWithByok() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/ServerCreateWithBYOK.json @@ -248,9 +245,8 @@ public async Task CreateOrUpdate_CreateAServerWithByok() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/ServerGet.json @@ -282,9 +278,8 @@ public async Task Get_GetAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/ServerGet.json @@ -312,9 +307,8 @@ public async Task Exists_GetAServer() Console.WriteLine($"Succeeded: {result}"); } - // Get a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/ServerGet.json @@ -342,7 +336,7 @@ public async Task GetIfExists_GetAServer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -354,9 +348,8 @@ public async Task GetIfExists_GetAServer() } } - // Get a server with vnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerWithVnet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/ServerGetWithVnet.json @@ -388,9 +381,8 @@ public async Task Get_GetAServerWithVnet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a server with vnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAServerWithVnet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/ServerGetWithVnet.json @@ -418,9 +410,8 @@ public async Task Exists_GetAServerWithVnet() Console.WriteLine($"Succeeded: {result}"); } - // Get a server with vnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAServerWithVnet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/ServerGetWithVnet.json @@ -448,7 +439,7 @@ public async Task GetIfExists_GetAServerWithVnet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -460,9 +451,8 @@ public async Task GetIfExists_GetAServerWithVnet() } } - // List servers in a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListServersInAResourceGroup() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/ServersListByResourceGroup.json @@ -493,12 +483,11 @@ public async Task GetAll_ListServersInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List replicas for a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReplicas_ListReplicasForAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/ReplicasListByServer.json @@ -530,7 +519,7 @@ public async Task GetReplicas_ListReplicasForAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerConfigurationCollection.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerConfigurationCollection.cs index c89d4b417a03d..5cd97ba8ea6f2 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerConfigurationCollection.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerConfigurationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MySql.FlexibleServers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.FlexibleServers.Samples { public partial class Sample_MySqlFlexibleServerConfigurationCollection { - // ConfigurationCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ConfigurationCreateOrUpdate() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Configurations/stable/2023-12-30/examples/ConfigurationCreateOrUpdate.json @@ -56,9 +56,8 @@ public async Task CreateOrUpdate_ConfigurationCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAConfiguration() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Configurations/stable/2023-12-30/examples/ConfigurationGet.json @@ -91,9 +90,8 @@ public async Task Get_GetAConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAConfiguration() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Configurations/stable/2023-12-30/examples/ConfigurationGet.json @@ -122,9 +120,8 @@ public async Task Exists_GetAConfiguration() Console.WriteLine($"Succeeded: {result}"); } - // Get a configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAConfiguration() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Configurations/stable/2023-12-30/examples/ConfigurationGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetAConfiguration() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_GetAConfiguration() } } - // List all configurations for a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllConfigurationsForAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Configurations/stable/2023-12-30/examples/ConfigurationsListByServer.json @@ -201,7 +197,7 @@ public async Task GetAll_ListAllConfigurationsForAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerConfigurationResource.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerConfigurationResource.cs index 02713f3753b46..d868161258910 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerConfigurationResource.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerConfigurationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MySql.FlexibleServers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.FlexibleServers.Samples { public partial class Sample_MySqlFlexibleServerConfigurationResource { - // Update a user configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAUserConfiguration() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Configurations/stable/2023-12-30/examples/ConfigurationUpdate.json @@ -53,9 +53,8 @@ public async Task Update_UpdateAUserConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAConfiguration() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Configurations/stable/2023-12-30/examples/ConfigurationGet.json diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerDatabaseCollection.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerDatabaseCollection.cs index 73c06b4bc3a4a..fa79ec72777b6 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerDatabaseCollection.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerDatabaseCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.FlexibleServers.Samples { public partial class Sample_MySqlFlexibleServerDatabaseCollection { - // Create a database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADatabase() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Databases/stable/2023-12-30/examples/DatabaseCreate.json @@ -55,9 +55,8 @@ public async Task CreateOrUpdate_CreateADatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADatabase() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Databases/stable/2023-12-30/examples/DatabaseGet.json @@ -90,9 +89,8 @@ public async Task Get_GetADatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADatabase() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Databases/stable/2023-12-30/examples/DatabaseGet.json @@ -121,9 +119,8 @@ public async Task Exists_GetADatabase() Console.WriteLine($"Succeeded: {result}"); } - // Get a database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADatabase() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Databases/stable/2023-12-30/examples/DatabaseGet.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetADatabase() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_GetADatabase() } } - // List databases in a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDatabasesInAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Databases/stable/2023-12-30/examples/DatabasesListByServer.json @@ -198,7 +194,7 @@ public async Task GetAll_ListDatabasesInAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerDatabaseResource.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerDatabaseResource.cs index 27abb68a9fc66..2e1bdcefaf13f 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerDatabaseResource.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerDatabaseResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.FlexibleServers.Samples { public partial class Sample_MySqlFlexibleServerDatabaseResource { - // Create a database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateADatabase() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Databases/stable/2023-12-30/examples/DatabaseCreate.json @@ -52,9 +52,8 @@ public async Task Update_CreateADatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteADatabase() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Databases/stable/2023-12-30/examples/DatabaseDelete.json @@ -77,12 +76,11 @@ public async Task Delete_DeleteADatabase() // invoke the operation await mySqlFlexibleServerDatabase.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADatabase() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Databases/stable/2023-12-30/examples/DatabaseGet.json diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerFirewallRuleCollection.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerFirewallRuleCollection.cs index de80bffb3bea5..d3f9b1f603b0b 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerFirewallRuleCollection.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerFirewallRuleCollection.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.FlexibleServers.Samples { public partial class Sample_MySqlFlexibleServerFirewallRuleCollection { - // Create a firewall rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAFirewallRule() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Firewall/stable/2023-12-30/examples/FirewallRuleCreate.json @@ -52,9 +52,8 @@ public async Task CreateOrUpdate_CreateAFirewallRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a firewall rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAFirewallRule() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Firewall/stable/2023-12-30/examples/FirewallRuleGet.json @@ -87,9 +86,8 @@ public async Task Get_GetAFirewallRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a firewall rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAFirewallRule() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Firewall/stable/2023-12-30/examples/FirewallRuleGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetAFirewallRule() Console.WriteLine($"Succeeded: {result}"); } - // Get a firewall rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAFirewallRule() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Firewall/stable/2023-12-30/examples/FirewallRuleGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetAFirewallRule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetAFirewallRule() } } - // List all firewall rules in a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllFirewallRulesInAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Firewall/stable/2023-12-30/examples/FirewallRulesListByServer.json @@ -195,7 +191,7 @@ public async Task GetAll_ListAllFirewallRulesInAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerFirewallRuleResource.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerFirewallRuleResource.cs index 910945223c77a..53e534ead2856 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerFirewallRuleResource.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerFirewallRuleResource.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.FlexibleServers.Samples { public partial class Sample_MySqlFlexibleServerFirewallRuleResource { - // Create a firewall rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAFirewallRule() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Firewall/stable/2023-12-30/examples/FirewallRuleCreate.json @@ -49,9 +49,8 @@ public async Task Update_CreateAFirewallRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a firewall rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAFirewallRule() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Firewall/stable/2023-12-30/examples/FirewallRuleDelete.json @@ -74,12 +73,11 @@ public async Task Delete_DeleteAFirewallRule() // invoke the operation await mySqlFlexibleServerFirewallRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a firewall rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAFirewallRule() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Firewall/stable/2023-12-30/examples/FirewallRuleGet.json diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerMaintenanceCollection.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerMaintenanceCollection.cs index 9683a1ce3a905..bbb7e329a05f1 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerMaintenanceCollection.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerMaintenanceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.FlexibleServers.Samples { public partial class Sample_MySqlFlexibleServerMaintenanceCollection { - // Read a maintenance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ReadAMaintenance() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Maintenance/stable/2023-12-30/examples/MaintenanceRead.json @@ -49,9 +49,8 @@ public async Task Get_ReadAMaintenance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Read a maintenance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ReadAMaintenance() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Maintenance/stable/2023-12-30/examples/MaintenanceRead.json @@ -80,9 +79,8 @@ public async Task Exists_ReadAMaintenance() Console.WriteLine($"Succeeded: {result}"); } - // Read a maintenance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ReadAMaintenance() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Maintenance/stable/2023-12-30/examples/MaintenanceRead.json @@ -111,7 +109,7 @@ public async Task GetIfExists_ReadAMaintenance() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_ReadAMaintenance() } } - // List maintenances on a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListMaintenancesOnAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Maintenance/stable/2023-12-30/examples/MaintenancesListByServer.json @@ -157,7 +154,7 @@ public async Task GetAll_ListMaintenancesOnAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerMaintenanceResource.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerMaintenanceResource.cs index 2bed241ec5212..cf7e538528677 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerMaintenanceResource.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerMaintenanceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MySql.FlexibleServers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.FlexibleServers.Samples { public partial class Sample_MySqlFlexibleServerMaintenanceResource { - // Read a maintenance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ReadAMaintenance() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Maintenance/stable/2023-12-30/examples/MaintenanceRead.json @@ -47,9 +47,8 @@ public async Task Get_ReadAMaintenance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update maintenance on a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateMaintenanceOnAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Maintenance/stable/2023-12-30/examples/MaintenanceUpdate.json diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerResource.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerResource.cs index 24715119dbc82..59a2873be9f86 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerResource.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServerResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.MySql.FlexibleServers.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.FlexibleServers.Samples { public partial class Sample_MySqlFlexibleServerResource { - // Create and Export Backup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateBackupAndExport_CreateAndExportBackup() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Backups/stable/2023-12-30/examples/BackupAndExport.json @@ -49,9 +49,8 @@ public async Task CreateBackupAndExport_CreateAndExportBackup() Console.WriteLine($"Succeeded: {result}"); } - // Validate Backup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateBackup_ValidateBackup() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Backups/stable/2023-12-30/examples/ValidateBackup.json @@ -76,9 +75,8 @@ public async Task ValidateBackup_ValidateBackup() Console.WriteLine($"Succeeded: {result}"); } - // ConfigurationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateConfigurations_ConfigurationList() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/Configurations/stable/2023-12-30/examples/ConfigurationsBatchUpdate.json @@ -120,9 +118,8 @@ public async Task UpdateConfigurations_ConfigurationList() Console.WriteLine($"Succeeded: {result}"); } - // Update a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/ServerUpdate.json @@ -166,9 +163,8 @@ public async Task Update_UpdateAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update server customer maintenance window - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateServerCustomerMaintenanceWindow() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/ServerUpdateWithCustomerMaintenanceWindow.json @@ -208,9 +204,8 @@ public async Task Update_UpdateServerCustomerMaintenanceWindow() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update server with byok - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateServerWithByok() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/ServerUpdateWithBYOK.json @@ -258,9 +253,8 @@ public async Task Update_UpdateServerWithByok() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/ServerDelete.json @@ -282,12 +276,11 @@ public async Task Delete_DeleteAServer() // invoke the operation await mySqlFlexibleServer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/ServerGet.json @@ -316,9 +309,8 @@ public async Task Get_GetAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a server with vnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerWithVnet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/ServerGetWithVnet.json @@ -347,9 +339,8 @@ public async Task Get_GetAServerWithVnet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List servers in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMySqlFlexibleServers_ListServersInASubscription() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/ServersList.json @@ -376,12 +367,11 @@ public async Task GetMySqlFlexibleServers_ListServersInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Restart a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Failover_RestartAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/ServerFailover.json @@ -403,12 +393,11 @@ public async Task Failover_RestartAServer() // invoke the operation await mySqlFlexibleServer.FailoverAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Validate a validation and estimation of high availability. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateEstimateHighAvailability_ValidateAValidationAndEstimationOfHighAvailability() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/ServerValidateEstimateHighAvailability.json @@ -437,9 +426,8 @@ public async Task ValidateEstimateHighAvailability_ValidateAValidationAndEstimat Console.WriteLine($"Succeeded: {result}"); } - // Restart a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_RestartAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/ServerRestart.json @@ -466,12 +454,11 @@ public async Task Restart_RestartAServer() }; await mySqlFlexibleServer.RestartAsync(WaitUntil.Completed, mySqlFlexibleServerRestartParameter); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Start a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_StartAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/ServerStart.json @@ -493,12 +480,11 @@ public async Task Start_StartAServer() // invoke the operation await mySqlFlexibleServer.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Stop a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_StopAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/ServerStop.json @@ -520,12 +506,11 @@ public async Task Stop_StopAServer() // invoke the operation await mySqlFlexibleServer.StopAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Reset GTID on a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResetGtid_ResetGTIDOnAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/ServerResetGtid.json @@ -551,12 +536,11 @@ public async Task ResetGtid_ResetGTIDOnAServer() }; await mySqlFlexibleServer.ResetGtidAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Cutover migration for MySQL import - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CutoverMigrationServersMigration_CutoverMigrationForMySQLImport() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/stable/2023-12-30/examples/CutoverMigration.json @@ -586,9 +570,8 @@ public async Task CutoverMigrationServersMigration_CutoverMigrationForMySQLImpor Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all server log files for a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLogFiles_ListAllServerLogFilesForAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/LogFiles/stable/2023-12-30/examples/LogFilesListByServer.json @@ -613,7 +596,7 @@ public async Task GetLogFiles_ListAllServerLogFilesForAServer() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServersCapabilityCollection.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServersCapabilityCollection.cs index 515c25a247488..c132086fca40d 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServersCapabilityCollection.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServersCapabilityCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.FlexibleServers.Samples { public partial class Sample_MySqlFlexibleServersCapabilityCollection { - // CapabilitySetsResult - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CapabilitySetsResult() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/ServiceOperations/stable/2023-12-30/examples/CapabilitySetListByLocation.json @@ -48,12 +48,11 @@ public async Task GetAll_CapabilitySetsResult() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CapabilityResult - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CapabilityResult() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/ServiceOperations/stable/2023-12-30/examples/CapabilitySetByLocation.json @@ -85,9 +84,8 @@ public async Task Get_CapabilityResult() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CapabilityResult - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CapabilityResult() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/ServiceOperations/stable/2023-12-30/examples/CapabilitySetByLocation.json @@ -115,9 +113,8 @@ public async Task Exists_CapabilityResult() Console.WriteLine($"Succeeded: {result}"); } - // CapabilityResult - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CapabilityResult() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/ServiceOperations/stable/2023-12-30/examples/CapabilitySetByLocation.json @@ -145,7 +142,7 @@ public async Task GetIfExists_CapabilityResult() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServersCapabilityResource.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServersCapabilityResource.cs index cf4ab29579c5f..843e6b24e83c0 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServersCapabilityResource.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlFlexibleServersCapabilityResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.FlexibleServers.Samples { public partial class Sample_MySqlFlexibleServersCapabilityResource { - // CapabilityResult - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CapabilityResult() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/ServiceOperations/stable/2023-12-30/examples/CapabilitySetByLocation.json diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlPrivateEndpointConnectionCollection.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlPrivateEndpointConnectionCollection.cs index 5b5db69d9fb57..b77e358b58b9b 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlPrivateEndpointConnectionCollection.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MySql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlPrivateEndpointConnectionCollection { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/PrivateEndpointConnectionGet.json @@ -50,9 +50,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/PrivateEndpointConnectionGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/PrivateEndpointConnectionGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() } } - // Approve or reject a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/PrivateEndpointConnectionUpdate.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_ApproveOrRejectAPrivateEndpointConnectionWithAG Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets list of private endpoint connections on a server. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsListOfPrivateEndpointConnectionsOnAServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/PrivateEndpointConnectionList.json @@ -198,7 +194,7 @@ public async Task GetAll_GetsListOfPrivateEndpointConnectionsOnAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlPrivateEndpointConnectionResource.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlPrivateEndpointConnectionResource.cs index b82e8966b185e..6c9765aaad70e 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlPrivateEndpointConnectionResource.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MySql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlPrivateEndpointConnectionResource { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/PrivateEndpointConnectionGet.json @@ -47,9 +47,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/PrivateEndpointConnectionDelete.json @@ -72,12 +71,11 @@ public async Task Delete_DeletesAPrivateEndpointConnectionWithAGivenName() // invoke the operation await mySqlPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update private endpoint connection Tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatePrivateEndpointConnectionTags() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/PrivateEndpointConnectionUpdateTags.json diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlPrivateLinkResource.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlPrivateLinkResource.cs index 4075b0c6361d9..3075f2210bc9e 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlPrivateLinkResource.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlPrivateLinkResource { - // Gets a private link resource for MySQL. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAPrivateLinkResourceForMySQL() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/PrivateLinkResourcesGet.json diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlPrivateLinkResourceCollection.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlPrivateLinkResourceCollection.cs index 246b2044e9d3e..8f57ac08ada6a 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlPrivateLinkResourceCollection.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlPrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlPrivateLinkResourceCollection { - // Gets private link resources for MySQL. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsPrivateLinkResourcesForMySQL() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/PrivateLinkResourcesList.json @@ -48,12 +48,11 @@ public async Task GetAll_GetsPrivateLinkResourcesForMySQL() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a private link resource for MySQL. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAPrivateLinkResourceForMySQL() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/PrivateLinkResourcesGet.json @@ -86,9 +85,8 @@ public async Task Get_GetsAPrivateLinkResourceForMySQL() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a private link resource for MySQL. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAPrivateLinkResourceForMySQL() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/PrivateLinkResourcesGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetsAPrivateLinkResourceForMySQL() Console.WriteLine($"Succeeded: {result}"); } - // Gets a private link resource for MySQL. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAPrivateLinkResourceForMySQL() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/PrivateLinkResourcesGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetsAPrivateLinkResourceForMySQL() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlQueryStatisticCollection.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlQueryStatisticCollection.cs index e35a222384598..9470b142427a2 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlQueryStatisticCollection.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlQueryStatisticCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MySql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlQueryStatisticCollection { - // TopQueryStatisticsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TopQueryStatisticsGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/TopQueryStatisticsGet.json @@ -50,9 +50,8 @@ public async Task Get_TopQueryStatisticsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TopQueryStatisticsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_TopQueryStatisticsGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/TopQueryStatisticsGet.json @@ -81,9 +80,8 @@ public async Task Exists_TopQueryStatisticsGet() Console.WriteLine($"Succeeded: {result}"); } - // TopQueryStatisticsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TopQueryStatisticsGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/TopQueryStatisticsGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_TopQueryStatisticsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_TopQueryStatisticsGet() } } - // TopQueryStatisticsListByServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_TopQueryStatisticsListByServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/TopQueryStatisticsListByServer.json @@ -159,7 +156,7 @@ public async Task GetAll_TopQueryStatisticsListByServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlQueryStatisticResource.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlQueryStatisticResource.cs index 4599c11ddcce9..6a0973ea7176d 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlQueryStatisticResource.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlQueryStatisticResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlQueryStatisticResource { - // TopQueryStatisticsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TopQueryStatisticsGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/TopQueryStatisticsGet.json diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlQueryTextCollection.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlQueryTextCollection.cs index 9bd8fc37f693c..db73023159a99 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlQueryTextCollection.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlQueryTextCollection.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlQueryTextCollection { - // QueryTextsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QueryTextsGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/QueryTextsGet.json @@ -50,9 +50,8 @@ public async Task Get_QueryTextsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QueryTextsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_QueryTextsGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/QueryTextsGet.json @@ -81,9 +80,8 @@ public async Task Exists_QueryTextsGet() Console.WriteLine($"Succeeded: {result}"); } - // QueryTextsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_QueryTextsGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/QueryTextsGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_QueryTextsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_QueryTextsGet() } } - // QueryTextsListByServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_QueryTextsListByServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/QueryTextsListByServer.json @@ -162,7 +159,7 @@ public async Task GetAll_QueryTextsListByServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlQueryTextResource.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlQueryTextResource.cs index 71765f28010ff..5c294cdab73a1 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlQueryTextResource.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlQueryTextResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlQueryTextResource { - // QueryTextsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QueryTextsGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/QueryTextsGet.json diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlRecommendationActionCollection.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlRecommendationActionCollection.cs index 2149f70759df7..b81088aa7d837 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlRecommendationActionCollection.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlRecommendationActionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlRecommendationActionCollection { - // RecommendedActionsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RecommendedActionsGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/RecommendedActionsGet.json @@ -50,9 +50,8 @@ public async Task Get_RecommendedActionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RecommendedActionsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RecommendedActionsGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/RecommendedActionsGet.json @@ -82,9 +81,8 @@ public async Task Exists_RecommendedActionsGet() Console.WriteLine($"Succeeded: {result}"); } - // RecommendedActionsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RecommendedActionsGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/RecommendedActionsGet.json @@ -114,7 +112,7 @@ public async Task GetIfExists_RecommendedActionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -126,9 +124,8 @@ public async Task GetIfExists_RecommendedActionsGet() } } - // RecommendedActionsListByServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RecommendedActionsListByServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/RecommendedActionsListByServer.json @@ -161,7 +158,7 @@ public async Task GetAll_RecommendedActionsListByServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlRecommendationActionResource.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlRecommendationActionResource.cs index 25e8dbed09fea..b1bcc447f0536 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlRecommendationActionResource.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlRecommendationActionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlRecommendationActionResource { - // RecommendedActionsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RecommendedActionsGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/RecommendedActionsGet.json diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerAdministratorResource.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerAdministratorResource.cs index 5667a4ee3d291..f3b468e5ffb2d 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerAdministratorResource.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerAdministratorResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MySql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlServerAdministratorResource { - // ServerAdministratorGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServerAdministratorGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ServerAdminGet.json @@ -46,9 +46,8 @@ public async Task Get_ServerAdministratorGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerAdministratorCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ServerAdministratorCreate() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ServerAdminCreateUpdate.json @@ -85,9 +84,8 @@ public async Task CreateOrUpdate_ServerAdministratorCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerAdministratorsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ServerAdministratorsDelete() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ServerAdminDelete.json @@ -109,7 +107,7 @@ public async Task Delete_ServerAdministratorsDelete() // invoke the operation await mySqlServerAdministrator.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerCollection.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerCollection.cs index 7d9d1a146b350..3922c03d00810 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerCollection.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.MySql.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlServerCollection { - // Create a database as a point in time restore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADatabaseAsAPointInTimeRestore() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ServerCreatePointInTimeRestore.json @@ -64,9 +64,8 @@ public async Task CreateOrUpdate_CreateADatabaseAsAPointInTimeRestore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a new server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateANewServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ServerCreate.json @@ -121,9 +120,8 @@ public async Task CreateOrUpdate_CreateANewServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a replica server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAReplicaServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ServerCreateReplicaMode.json @@ -157,9 +155,8 @@ public async Task CreateOrUpdate_CreateAReplicaServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a server as a geo restore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAServerAsAGeoRestore() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ServerCreateGeoRestoreMode.json @@ -205,9 +202,8 @@ public async Task CreateOrUpdate_CreateAServerAsAGeoRestore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServerGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ServerGet.json @@ -239,9 +235,8 @@ public async Task Get_ServerGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ServerGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ServerGet.json @@ -269,9 +264,8 @@ public async Task Exists_ServerGet() Console.WriteLine($"Succeeded: {result}"); } - // ServerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ServerGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ServerGet.json @@ -299,7 +293,7 @@ public async Task GetIfExists_ServerGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -311,9 +305,8 @@ public async Task GetIfExists_ServerGet() } } - // ServerListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ServerListByResourceGroup() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ServerListByResourceGroup.json @@ -344,12 +337,11 @@ public async Task GetAll_ServerListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ReplicasListByServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReplicas_ReplicasListByServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ReplicasListByServer.json @@ -381,7 +373,7 @@ public async Task GetReplicas_ReplicasListByServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerKeyCollection.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerKeyCollection.cs index 0ef4efd988aa5..8dd70ee59247b 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerKeyCollection.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerKeyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MySql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlServerKeyCollection { - // List the keys for a MySQL Server. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTheKeysForAMySQLServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2020-01-01/examples/ServerKeyList.json @@ -49,12 +49,11 @@ public async Task GetAll_ListTheKeysForAMySQLServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the MySQL Server key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheMySQLServerKey() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2020-01-01/examples/ServerKeyGet.json @@ -87,9 +86,8 @@ public async Task Get_GetTheMySQLServerKey() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the MySQL Server key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheMySQLServerKey() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2020-01-01/examples/ServerKeyGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetTheMySQLServerKey() Console.WriteLine($"Succeeded: {result}"); } - // Get the MySQL Server key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheMySQLServerKey() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2020-01-01/examples/ServerKeyGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetTheMySQLServerKey() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetTheMySQLServerKey() } } - // Creates or updates a MySQL Server key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesAMySQLServerKey() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2020-01-01/examples/ServerKeyCreateOrUpdate.json diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerKeyResource.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerKeyResource.cs index 7dfedb7c03533..b2a24a5ea03a0 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerKeyResource.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerKeyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MySql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlServerKeyResource { - // Get the MySQL Server key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheMySQLServerKey() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2020-01-01/examples/ServerKeyGet.json @@ -47,9 +47,8 @@ public async Task Get_GetTheMySQLServerKey() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates a MySQL Server key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesOrUpdatesAMySQLServerKey() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2020-01-01/examples/ServerKeyCreateOrUpdate.json @@ -85,9 +84,8 @@ public async Task Update_CreatesOrUpdatesAMySQLServerKey() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete the MySQL Server key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteTheMySQLServerKey() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2020-01-01/examples/ServerKeyDelete.json @@ -110,7 +108,7 @@ public async Task Delete_DeleteTheMySQLServerKey() // invoke the operation await mySqlServerKey.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerResource.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerResource.cs index 3b209ef3b439b..7636ccc416dc2 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerResource.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.MySql.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlServerResource { - // ServerUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ServerUpdate() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ServerUpdate.json @@ -53,9 +53,8 @@ public async Task Update_ServerUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ServerDelete() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ServerDelete.json @@ -77,12 +76,11 @@ public async Task Delete_ServerDelete() // invoke the operation await mySqlServer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ServerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServerGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ServerGet.json @@ -111,9 +109,8 @@ public async Task Get_ServerGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMySqlServers_ServerList() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ServerList.json @@ -140,12 +137,11 @@ public async Task GetMySqlServers_ServerList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ServerRestart - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_ServerRestart() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ServerRestart.json @@ -167,12 +163,11 @@ public async Task Restart_ServerRestart() // invoke the operation await mySqlServer.RestartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ConfigurationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateConfigurations_ConfigurationList() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ConfigurationsUpdateByServer.json @@ -199,9 +194,8 @@ public async Task UpdateConfigurations_ConfigurationList() Console.WriteLine($"Succeeded: {result}"); } - // LogFileList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLogFiles_LogFileList() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/LogFileListByServer.json @@ -226,12 +220,11 @@ public async Task GetLogFiles_LogFileList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ReplicasListByServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRecoverableServer_ReplicasListByServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/RecoverableServersGet.json @@ -256,9 +249,8 @@ public async Task GetRecoverableServer_ReplicasListByServer() Console.WriteLine($"Succeeded: {result}"); } - // PerformanceTiersList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetServerBasedPerformanceTiers_PerformanceTiersList() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/PerformanceTiersListByServer.json @@ -283,12 +275,11 @@ public async Task GetServerBasedPerformanceTiers_PerformanceTiersList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // QueryPerformanceInsightResetData - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResetQueryPerformanceInsightData_QueryPerformanceInsightResetData() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/QueryPerformanceInsightResetData.json @@ -313,9 +304,8 @@ public async Task ResetQueryPerformanceInsightData_QueryPerformanceInsightResetD Console.WriteLine($"Succeeded: {result}"); } - // ServerStart - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_ServerStart() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2020-01-01/examples/ServerStart.json @@ -337,12 +327,11 @@ public async Task Start_ServerStart() // invoke the operation await mySqlServer.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ServerStop - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_ServerStop() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2020-01-01/examples/ServerStop.json @@ -364,12 +353,11 @@ public async Task Stop_ServerStop() // invoke the operation await mySqlServer.StopAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ServerUpgrade - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Upgrade_ServerUpgrade() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2020-01-01/examples/ServerUpgrade.json @@ -395,7 +383,7 @@ public async Task Upgrade_ServerUpgrade() }; await mySqlServer.UpgradeAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerSecurityAlertPolicyCollection.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerSecurityAlertPolicyCollection.cs index 90903440c4367..286ff50bf5ca0 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerSecurityAlertPolicyCollection.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerSecurityAlertPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MySql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlServerSecurityAlertPolicyCollection { - // Get a server's threat detection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerSThreatDetectionPolicy() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ServerSecurityAlertsGet.json @@ -50,9 +50,8 @@ public async Task Get_GetAServerSThreatDetectionPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a server's threat detection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAServerSThreatDetectionPolicy() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ServerSecurityAlertsGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetAServerSThreatDetectionPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Get a server's threat detection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAServerSThreatDetectionPolicy() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ServerSecurityAlertsGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetAServerSThreatDetectionPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetAServerSThreatDetectionPolicy() } } - // Update a server's threat detection policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAServerSThreatDetectionPolicyWithAllParameters() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ServerSecurityAlertsCreateMax.json @@ -176,9 +173,8 @@ public async Task CreateOrUpdate_UpdateAServerSThreatDetectionPolicyWithAllParam Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a server's threat detection policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAServerSThreatDetectionPolicyWithMinimalParameters() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ServerSecurityAlertsCreateMin.json @@ -217,9 +213,8 @@ public async Task CreateOrUpdate_UpdateAServerSThreatDetectionPolicyWithMinimalP Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List the server's threat detection policies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTheServerSThreatDetectionPolicies() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ServerSecurityAlertsListByServer.json @@ -251,7 +246,7 @@ public async Task GetAll_ListTheServerSThreatDetectionPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerSecurityAlertPolicyResource.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerSecurityAlertPolicyResource.cs index 057d8d1c1796e..484a4b61a338f 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerSecurityAlertPolicyResource.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlServerSecurityAlertPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MySql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlServerSecurityAlertPolicyResource { - // Get a server's threat detection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerSThreatDetectionPolicy() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ServerSecurityAlertsGet.json @@ -47,9 +47,8 @@ public async Task Get_GetAServerSThreatDetectionPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a server's threat detection policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAServerSThreatDetectionPolicyWithAllParameters() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ServerSecurityAlertsCreateMax.json @@ -96,9 +95,8 @@ public async Task Update_UpdateAServerSThreatDetectionPolicyWithAllParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a server's threat detection policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAServerSThreatDetectionPolicyWithMinimalParameters() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/ServerSecurityAlertsCreateMin.json diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlVirtualNetworkRuleCollection.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlVirtualNetworkRuleCollection.cs index c478395530be5..1213a0aba54fc 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlVirtualNetworkRuleCollection.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlVirtualNetworkRuleCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlVirtualNetworkRuleCollection { - // Gets a virtual network rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAVirtualNetworkRule() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/VirtualNetworkRulesGet.json @@ -49,9 +49,8 @@ public async Task Get_GetsAVirtualNetworkRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a virtual network rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAVirtualNetworkRule() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/VirtualNetworkRulesGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetsAVirtualNetworkRule() Console.WriteLine($"Succeeded: {result}"); } - // Gets a virtual network rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAVirtualNetworkRule() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/VirtualNetworkRulesGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetsAVirtualNetworkRule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetsAVirtualNetworkRule() } } - // Create or update a virtual network rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAVirtualNetworkRule() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/VirtualNetworkRulesCreateOrUpdate.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAVirtualNetworkRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List virtual network rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListVirtualNetworkRules() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/VirtualNetworkRulesList.json @@ -198,7 +194,7 @@ public async Task GetAll_ListVirtualNetworkRules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlVirtualNetworkRuleResource.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlVirtualNetworkRuleResource.cs index d0521684d3dfa..0d1ceffbd743d 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlVirtualNetworkRuleResource.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlVirtualNetworkRuleResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlVirtualNetworkRuleResource { - // Gets a virtual network rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAVirtualNetworkRule() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/VirtualNetworkRulesGet.json @@ -46,9 +46,8 @@ public async Task Get_GetsAVirtualNetworkRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a virtual network rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAVirtualNetworkRule() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/VirtualNetworkRulesCreateOrUpdate.json @@ -84,9 +83,8 @@ public async Task Update_CreateOrUpdateAVirtualNetworkRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a virtual network rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAVirtualNetworkRule() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2017-12-01/examples/VirtualNetworkRulesDelete.json @@ -109,7 +107,7 @@ public async Task Delete_DeleteAVirtualNetworkRule() // invoke the operation await mySqlVirtualNetworkRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlWaitStatisticCollection.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlWaitStatisticCollection.cs index c2e49dc9927ef..8694162fe184c 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlWaitStatisticCollection.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlWaitStatisticCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MySql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlWaitStatisticCollection { - // WaitStatisticsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WaitStatisticsGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/WaitStatisticsGet.json @@ -50,9 +50,8 @@ public async Task Get_WaitStatisticsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WaitStatisticsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WaitStatisticsGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/WaitStatisticsGet.json @@ -81,9 +80,8 @@ public async Task Exists_WaitStatisticsGet() Console.WriteLine($"Succeeded: {result}"); } - // WaitStatisticsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WaitStatisticsGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/WaitStatisticsGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_WaitStatisticsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_WaitStatisticsGet() } } - // WaitStatisticsListByServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WaitStatisticsListByServer() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/WaitStatisticsListByServer.json @@ -159,7 +156,7 @@ public async Task GetAll_WaitStatisticsListByServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlWaitStatisticResource.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlWaitStatisticResource.cs index 92bcc0218e460..806d1cda9bab3 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlWaitStatisticResource.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_MySqlWaitStatisticResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.Samples { public partial class Sample_MySqlWaitStatisticResource { - // WaitStatisticsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WaitStatisticsGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/legacy/stable/2018-06-01/examples/WaitStatisticsGet.json diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 04f233285008d..ffd87ab98324c 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.MySql.FlexibleServers.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.FlexibleServers.Samples { public partial class Sample_SubscriptionResourceExtensions { - // CapabilitiesList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLocationBasedCapabilities_CapabilitiesList() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/ServiceOperations/stable/2023-12-30/examples/CapabilitiesByLocationList.json @@ -42,12 +42,11 @@ public async Task GetLocationBasedCapabilities_CapabilitiesList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CheckVirtualNetworkSubnetUsage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExecuteCheckVirtualNetworkSubnetUsage_CheckVirtualNetworkSubnetUsage() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/ServiceOperations/stable/2023-12-30/examples/CheckVirtualNetworkSubnetUsage.json @@ -75,9 +74,8 @@ public async Task ExecuteCheckVirtualNetworkSubnetUsage_CheckVirtualNetworkSubne Console.WriteLine($"Succeeded: {result}"); } - // Check name availability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckMySqlFlexibleServerNameAvailability_CheckNameAvailability() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/ServiceOperations/stable/2023-12-30/examples/CheckNameAvailability.json @@ -105,9 +103,8 @@ public async Task CheckMySqlFlexibleServerNameAvailability_CheckNameAvailability Console.WriteLine($"Succeeded: {result}"); } - // Check name availability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckMySqlFlexibleServerNameAvailabilityWithoutLocation_CheckNameAvailability() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/ServiceOperations/stable/2023-12-30/examples/CheckNameAvailability.json @@ -134,9 +131,8 @@ public async Task CheckMySqlFlexibleServerNameAvailabilityWithoutLocation_CheckN Console.WriteLine($"Succeeded: {result}"); } - // OperationResults_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOperationResult_OperationResultsGet() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/ServiceOperations/stable/2023-12-30/examples/OperationResults_Get.json diff --git a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_TenantResourceExtensions.cs b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_TenantResourceExtensions.cs index f8d10c91d0170..fc7277af102cc 100644 --- a/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_TenantResourceExtensions.cs +++ b/sdk/mysql/Azure.ResourceManager.MySql/samples/Generated/Samples/Sample_TenantResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.MySql.FlexibleServers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.MySql.FlexibleServers.Samples { public partial class Sample_TenantResourceExtensions { - // GetPrivateDnsZoneSuffix - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExecuteGetPrivateDnsZoneSuffix_GetPrivateDnsZoneSuffix() { // Generated from example definition: specification/mysql/resource-manager/Microsoft.DBforMySQL/ServiceOperations/stable/2023-12-30/examples/GetPrivateDnsZoneSuffix.json diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_CapacityPoolCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_CapacityPoolCollection.cs index 65073f2e0cd07..9f142edc59238 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_CapacityPoolCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_CapacityPoolCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetApp.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetApp.Samples { public partial class Sample_CapacityPoolCollection { - // Pools_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PoolsList() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Pools_List.json @@ -49,12 +49,11 @@ public async Task GetAll_PoolsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Pools_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PoolsGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Pools_Get.json @@ -87,9 +86,8 @@ public async Task Get_PoolsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Pools_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PoolsGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Pools_Get.json @@ -118,9 +116,8 @@ public async Task Exists_PoolsGet() Console.WriteLine($"Succeeded: {result}"); } - // Pools_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PoolsGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Pools_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_PoolsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_PoolsGet() } } - // Pools_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PoolsCreateOrUpdate() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Pools_CreateOrUpdate.json diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_CapacityPoolResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_CapacityPoolResource.cs index 3bb936c136a8d..c2cd2ecc4af70 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_CapacityPoolResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_CapacityPoolResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetApp.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetApp.Samples { public partial class Sample_CapacityPoolResource { - // Pools_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PoolsGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Pools_Get.json @@ -47,9 +47,8 @@ public async Task Get_PoolsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Pools_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PoolsUpdate() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Pools_Update.json @@ -81,9 +80,8 @@ public async Task Update_PoolsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Pools_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PoolsDelete() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Pools_Delete.json @@ -106,7 +104,7 @@ public async Task Delete_PoolsDelete() // invoke the operation await capacityPool.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppAccountCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppAccountCollection.cs index 2b16d581a9db6..069401f91a9a0 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppAccountCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppAccountCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.NetApp.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetApp.Samples { public partial class Sample_NetAppAccountCollection { - // Accounts_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AccountsList() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Accounts_List.json @@ -49,12 +49,11 @@ public async Task GetAll_AccountsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Accounts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AccountsGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Accounts_Get.json @@ -86,9 +85,8 @@ public async Task Get_AccountsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Accounts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AccountsGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Accounts_Get.json @@ -116,9 +114,8 @@ public async Task Exists_AccountsGet() Console.WriteLine($"Succeeded: {result}"); } - // Accounts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AccountsGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Accounts_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_AccountsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_AccountsGet() } } - // Accounts_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AccountsCreateOrUpdate() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Accounts_CreateOrUpdate.json @@ -194,9 +190,8 @@ public async Task CreateOrUpdate_AccountsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Accounts_CreateOrUpdateWithActiveDirectory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AccountsCreateOrUpdateWithActiveDirectory() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Accounts_CreateOrUpdateAD.json diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppAccountResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppAccountResource.cs index 66f643dbd56ec..cf549a8970340 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppAccountResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppAccountResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.NetApp.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetApp.Samples { public partial class Sample_NetAppAccountResource { - // Accounts_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetAppAccounts_AccountsList() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Accounts_List.json @@ -45,12 +45,11 @@ public async Task GetNetAppAccounts_AccountsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Accounts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AccountsGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Accounts_Get.json @@ -79,9 +78,8 @@ public async Task Get_AccountsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Accounts_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AccountsDelete() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Accounts_Delete.json @@ -103,12 +101,11 @@ public async Task Delete_AccountsDelete() // invoke the operation await netAppAccount.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Accounts_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AccountsUpdate() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Accounts_Update.json @@ -145,9 +142,8 @@ public async Task Update_AccountsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Accounts_RenewCredentials - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RenewCredentials_AccountsRenewCredentials() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Accounts_RenewCredentials.json @@ -169,12 +165,11 @@ public async Task RenewCredentials_AccountsRenewCredentials() // invoke the operation await netAppAccount.RenewCredentialsAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VolumeGroups_List_Oracle - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVolumeGroups_VolumeGroupsListOracle() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_List_Oracle.json @@ -199,12 +194,11 @@ public async Task GetVolumeGroups_VolumeGroupsListOracle() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VolumeGroups_List_SapHana - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVolumeGroups_VolumeGroupsListSapHana() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_List_SapHana.json @@ -229,12 +223,11 @@ public async Task GetVolumeGroups_VolumeGroupsListSapHana() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BackupsUnderAccount_Migrate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateBackupsBackupsUnderAccount_BackupsUnderAccountMigrate() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupsUnderAccount_Migrate.json @@ -257,7 +250,7 @@ public async Task MigrateBackupsBackupsUnderAccount_BackupsUnderAccountMigrate() BackupsMigrationContent content = new BackupsMigrationContent("/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1"); await netAppAccount.MigrateBackupsBackupsUnderAccountAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupPolicyCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupPolicyCollection.cs index 5b559b5a9db77..b443bd9e05c0a 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupPolicyCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupPolicyCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.NetApp.Samples { public partial class Sample_NetAppBackupPolicyCollection { - // BackupPolicies_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BackupPoliciesList() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupPolicies_List.json @@ -48,12 +48,11 @@ public async Task GetAll_BackupPoliciesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Backups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BackupsGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupPolicies_Get.json @@ -86,9 +85,8 @@ public async Task Get_BackupsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Backups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BackupsGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupPolicies_Get.json @@ -117,9 +115,8 @@ public async Task Exists_BackupsGet() Console.WriteLine($"Succeeded: {result}"); } - // Backups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BackupsGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupPolicies_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_BackupsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_BackupsGet() } } - // BackupPolicies_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_BackupPoliciesCreate() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupPolicies_Create.json diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupPolicyResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupPolicyResource.cs index c9013b7bed967..6c25403de41b7 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupPolicyResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetApp.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetApp.Samples { public partial class Sample_NetAppBackupPolicyResource { - // Backups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BackupsGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupPolicies_Get.json @@ -47,9 +47,8 @@ public async Task Get_BackupsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BackupPolicies_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_BackupPoliciesUpdate() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupPolicies_Update.json @@ -87,9 +86,8 @@ public async Task Update_BackupPoliciesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BackupPolicies_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_BackupPoliciesDelete() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupPolicies_Delete.json @@ -112,7 +110,7 @@ public async Task Delete_BackupPoliciesDelete() // invoke the operation await netAppBackupPolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultBackupCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultBackupCollection.cs index fa7307a5d5469..a1e0c39a6f5d5 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultBackupCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultBackupCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.NetApp.Samples { public partial class Sample_NetAppBackupVaultBackupCollection { - // Backups_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BackupsList() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupsUnderBackupVault_List.json @@ -49,12 +49,11 @@ public async Task GetAll_BackupsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BackupsUnderBackupVault_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BackupsUnderBackupVaultGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupsUnderBackupVault_Get.json @@ -88,9 +87,8 @@ public async Task Get_BackupsUnderBackupVaultGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BackupsUnderBackupVault_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BackupsUnderBackupVaultGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupsUnderBackupVault_Get.json @@ -120,9 +118,8 @@ public async Task Exists_BackupsUnderBackupVaultGet() Console.WriteLine($"Succeeded: {result}"); } - // BackupsUnderBackupVault_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BackupsUnderBackupVaultGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupsUnderBackupVault_Get.json @@ -152,7 +149,7 @@ public async Task GetIfExists_BackupsUnderBackupVaultGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_BackupsUnderBackupVaultGet() } } - // BackupsUnderBackupVault_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_BackupsUnderBackupVaultCreate() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupsUnderBackupVault_Create.json diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultBackupResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultBackupResource.cs index dac8bc722a452..115687db6bd94 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultBackupResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultBackupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetApp.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetApp.Samples { public partial class Sample_NetAppBackupVaultBackupResource { - // BackupsUnderBackupVault_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BackupsUnderBackupVaultGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupsUnderBackupVault_Get.json @@ -48,9 +48,8 @@ public async Task Get_BackupsUnderBackupVaultGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BackupsUnderBackupVault_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_BackupsUnderBackupVaultUpdate() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupsUnderBackupVault_Update.json @@ -83,9 +82,8 @@ public async Task Update_BackupsUnderBackupVaultUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BackupsUnderBackupVault_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_BackupsUnderBackupVaultDelete() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupsUnderBackupVault_Delete.json @@ -109,12 +107,11 @@ public async Task Delete_BackupsUnderBackupVaultDelete() // invoke the operation await netAppBackupVaultBackup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Backups_SingleFileRestore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RestoreFilesBackupsUnderBackupVault_BackupsSingleFileRestore() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupsUnderBackupVault_SingleFileRestore.json @@ -142,7 +139,7 @@ public async Task RestoreFilesBackupsUnderBackupVault_BackupsSingleFileRestore() }, new ResourceIdentifier("/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1")); await netAppBackupVaultBackup.RestoreFilesBackupsUnderBackupVaultAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultCollection.cs index 160725f75b8c4..aa33534c445cc 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.NetApp.Samples { public partial class Sample_NetAppBackupVaultCollection { - // BackupVaults_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BackupVaultsList() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupVaults_List.json @@ -48,12 +48,11 @@ public async Task GetAll_BackupVaultsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BackupVaults_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BackupVaultsGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupVaults_Get.json @@ -86,9 +85,8 @@ public async Task Get_BackupVaultsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BackupVaults_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BackupVaultsGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupVaults_Get.json @@ -117,9 +115,8 @@ public async Task Exists_BackupVaultsGet() Console.WriteLine($"Succeeded: {result}"); } - // BackupVaults_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BackupVaultsGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupVaults_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_BackupVaultsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_BackupVaultsGet() } } - // BackupVault_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_BackupVaultCreateOrUpdate() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupVaults_Create.json diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultResource.cs index d0fd640c659ac..8255b837e55bd 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppBackupVaultResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetApp.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetApp.Samples { public partial class Sample_NetAppBackupVaultResource { - // BackupVaults_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BackupVaultsGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupVaults_Get.json @@ -47,9 +47,8 @@ public async Task Get_BackupVaultsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BackupVaults_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_BackupVaultsUpdate() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupVaults_Update.json @@ -87,9 +86,8 @@ public async Task Update_BackupVaultsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BackupVaults_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_BackupVaultsDelete() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupVaults_Delete.json @@ -112,7 +110,7 @@ public async Task Delete_BackupVaultsDelete() // invoke the operation await netAppBackupVault.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppSubvolumeInfoCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppSubvolumeInfoCollection.cs index 4ea59e8d61458..3f9590502d7c1 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppSubvolumeInfoCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppSubvolumeInfoCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.NetApp.Samples { public partial class Sample_NetAppSubvolumeInfoCollection { - // Subvolumes_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SubvolumesList() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Subvolumes_List.json @@ -50,12 +50,11 @@ public async Task GetAll_SubvolumesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Subvolumes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SubvolumesGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Subvolumes_Get.json @@ -90,9 +89,8 @@ public async Task Get_SubvolumesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Subvolumes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SubvolumesGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Subvolumes_Get.json @@ -123,9 +121,8 @@ public async Task Exists_SubvolumesGet() Console.WriteLine($"Succeeded: {result}"); } - // Subvolumes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SubvolumesGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Subvolumes_Get.json @@ -156,7 +153,7 @@ public async Task GetIfExists_SubvolumesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_SubvolumesGet() } } - // Subvolumes_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SubvolumesCreate() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Subvolumes_Create.json diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppSubvolumeInfoResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppSubvolumeInfoResource.cs index 51b02377e13f3..6510e5208e332 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppSubvolumeInfoResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppSubvolumeInfoResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetApp.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetApp.Samples { public partial class Sample_NetAppSubvolumeInfoResource { - // Subvolumes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SubvolumesGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Subvolumes_Get.json @@ -49,9 +49,8 @@ public async Task Get_SubvolumesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Subvolumes_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SubvolumesUpdate() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Subvolumes_Update.json @@ -88,9 +87,8 @@ public async Task Update_SubvolumesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Subvolumes_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SubvolumesDelete() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Subvolumes_Delete.json @@ -115,12 +113,11 @@ public async Task Delete_SubvolumesDelete() // invoke the operation await netAppSubvolumeInfo.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Subvolumes_Metadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMetadata_SubvolumesMetadata() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Subvolumes_Metadata.json diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeCollection.cs index e36cab2fd7938..dcf37a72fb124 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetApp.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetApp.Samples { public partial class Sample_NetAppVolumeCollection { - // Volumes_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VolumesList() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_List.json @@ -50,12 +50,11 @@ public async Task GetAll_VolumesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Volumes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VolumesGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_Get.json @@ -89,9 +88,8 @@ public async Task Get_VolumesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Volumes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VolumesGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_Get.json @@ -121,9 +119,8 @@ public async Task Exists_VolumesGet() Console.WriteLine($"Succeeded: {result}"); } - // Volumes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VolumesGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_Get.json @@ -153,7 +150,7 @@ public async Task GetIfExists_VolumesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_VolumesGet() } } - // Volumes_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VolumesCreateOrUpdate() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_CreateOrUpdate.json diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeGroupCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeGroupCollection.cs index 9dffe9fc485f9..a9a4a8cd64ba5 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeGroupCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeGroupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetApp.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetApp.Samples { public partial class Sample_NetAppVolumeGroupCollection { - // VolumeGroups_Get_Oracle - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VolumeGroupsGetOracle() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Get_Oracle.json @@ -50,9 +50,8 @@ public async Task Get_VolumeGroupsGetOracle() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VolumeGroups_Get_Oracle - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VolumeGroupsGetOracle() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Get_Oracle.json @@ -81,9 +80,8 @@ public async Task Exists_VolumeGroupsGetOracle() Console.WriteLine($"Succeeded: {result}"); } - // VolumeGroups_Get_Oracle - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VolumeGroupsGetOracle() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Get_Oracle.json @@ -112,7 +110,7 @@ public async Task GetIfExists_VolumeGroupsGetOracle() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_VolumeGroupsGetOracle() } } - // VolumeGroups_Get_SapHana - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VolumeGroupsGetSapHana() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Get_SapHana.json @@ -159,9 +156,8 @@ public async Task Get_VolumeGroupsGetSapHana() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VolumeGroups_Get_SapHana - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VolumeGroupsGetSapHana() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Get_SapHana.json @@ -190,9 +186,8 @@ public async Task Exists_VolumeGroupsGetSapHana() Console.WriteLine($"Succeeded: {result}"); } - // VolumeGroups_Get_SapHana - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VolumeGroupsGetSapHana() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Get_SapHana.json @@ -221,7 +216,7 @@ public async Task GetIfExists_VolumeGroupsGetSapHana() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -233,9 +228,8 @@ public async Task GetIfExists_VolumeGroupsGetSapHana() } } - // VolumeGroups_Create_Oracle - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VolumeGroupsCreateOracle() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Create_Oracle.json @@ -703,9 +697,8 @@ public async Task CreateOrUpdate_VolumeGroupsCreateOracle() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VolumeGroups_Create_SapHana - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VolumeGroupsCreateSapHana() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Create_SapHana.json diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeGroupResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeGroupResource.cs index 073599c3702d2..29759a1923ef9 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeGroupResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeGroupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetApp.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetApp.Samples { public partial class Sample_NetAppVolumeGroupResource { - // VolumeGroups_Get_Oracle - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VolumeGroupsGetOracle() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Get_Oracle.json @@ -47,9 +47,8 @@ public async Task Get_VolumeGroupsGetOracle() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VolumeGroups_Get_SapHana - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VolumeGroupsGetSapHana() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Get_SapHana.json @@ -79,9 +78,8 @@ public async Task Get_VolumeGroupsGetSapHana() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VolumeGroups_Create_Oracle - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VolumeGroupsCreateOracle() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Create_Oracle.json @@ -546,9 +544,8 @@ public async Task Update_VolumeGroupsCreateOracle() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VolumeGroups_Create_SapHana - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VolumeGroupsCreateSapHana() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Create_SapHana.json @@ -753,9 +750,8 @@ public async Task Update_VolumeGroupsCreateSapHana() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VolumeGroups_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VolumeGroupsDelete() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeGroups_Delete.json @@ -778,7 +774,7 @@ public async Task Delete_VolumeGroupsDelete() // invoke the operation await netAppVolumeGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeQuotaRuleCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeQuotaRuleCollection.cs index 75114006fa7e7..d49e63fbe488c 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeQuotaRuleCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeQuotaRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetApp.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetApp.Samples { public partial class Sample_NetAppVolumeQuotaRuleCollection { - // VolumeQuotaRules_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VolumeQuotaRulesList() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeQuotaRules_List.json @@ -51,12 +51,11 @@ public async Task GetAll_VolumeQuotaRulesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VolumeQuotaRules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VolumeQuotaRulesGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeQuotaRules_Get.json @@ -91,9 +90,8 @@ public async Task Get_VolumeQuotaRulesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VolumeQuotaRules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VolumeQuotaRulesGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeQuotaRules_Get.json @@ -124,9 +122,8 @@ public async Task Exists_VolumeQuotaRulesGet() Console.WriteLine($"Succeeded: {result}"); } - // VolumeQuotaRules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VolumeQuotaRulesGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeQuotaRules_Get.json @@ -157,7 +154,7 @@ public async Task GetIfExists_VolumeQuotaRulesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_VolumeQuotaRulesGet() } } - // VolumeQuotaRules_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VolumeQuotaRulesCreate() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeQuotaRules_Create.json diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeQuotaRuleResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeQuotaRuleResource.cs index 936eb2c4d5b94..4f978769a8648 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeQuotaRuleResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeQuotaRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetApp.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetApp.Samples { public partial class Sample_NetAppVolumeQuotaRuleResource { - // VolumeQuotaRules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VolumeQuotaRulesGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeQuotaRules_Get.json @@ -49,9 +49,8 @@ public async Task Get_VolumeQuotaRulesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VolumeQuotaRules_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VolumeQuotaRulesUpdate() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeQuotaRules_Update.json @@ -88,9 +87,8 @@ public async Task Update_VolumeQuotaRulesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VolumeQuotaRules_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VolumeQuotaRulesDelete() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/VolumeQuotaRules_Delete.json @@ -115,7 +113,7 @@ public async Task Delete_VolumeQuotaRulesDelete() // invoke the operation await netAppVolumeQuotaRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeResource.cs index 5fdbce168fc5c..2f0f4d473f8c8 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetApp.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetApp.Samples { public partial class Sample_NetAppVolumeResource { - // Volumes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VolumesGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_Get.json @@ -49,9 +49,8 @@ public async Task Get_VolumesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Volumes_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VolumesUpdate() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_Update.json @@ -84,9 +83,8 @@ public async Task Update_VolumesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Volumes_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VolumesDelete() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_Delete.json @@ -110,12 +108,11 @@ public async Task Delete_VolumesDelete() // invoke the operation await netAppVolume.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Volumes_PopulateAvailabilityZones - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PopulateAvailabilityZone_VolumesPopulateAvailabilityZones() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_PopulateAvailabilityZones.json @@ -147,9 +144,8 @@ public async Task PopulateAvailabilityZone_VolumesPopulateAvailabilityZones() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Volumes_Revert - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Revert_VolumesRevert() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_Revert.json @@ -177,12 +173,11 @@ public async Task Revert_VolumesRevert() }; await netAppVolume.RevertAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Volumes_ResetCifsPassword - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResetCifsPassword_VolumesResetCifsPassword() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_ResetCifsPassword.json @@ -206,12 +201,11 @@ public async Task ResetCifsPassword_VolumesResetCifsPassword() // invoke the operation await netAppVolume.ResetCifsPasswordAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Volumes_BreakFileLocks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task BreakFileLocks_VolumesBreakFileLocks() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_BreakFileLocks.json @@ -240,12 +234,11 @@ public async Task BreakFileLocks_VolumesBreakFileLocks() }; await netAppVolume.BreakFileLocksAsync(WaitUntil.Completed, content: content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetGroupIdListForUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetGetGroupIdListForLdapUser_GetGroupIdListForUser() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/GroupIdListForLDAPUser.json @@ -274,9 +267,8 @@ public async Task GetGetGroupIdListForLdapUser_GetGroupIdListForUser() Console.WriteLine($"Succeeded: {result}"); } - // Volumes_BreakReplication - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task BreakReplication_VolumesBreakReplication() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_BreakReplication.json @@ -304,12 +296,11 @@ public async Task BreakReplication_VolumesBreakReplication() }; await netAppVolume.BreakReplicationAsync(WaitUntil.Completed, content: content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Volumes_ReestablishReplication - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ReestablishReplication_VolumesReestablishReplication() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_ReestablishReplication.json @@ -337,12 +328,11 @@ public async Task ReestablishReplication_VolumesReestablishReplication() }; await netAppVolume.ReestablishReplicationAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Volumes_ReplicationStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReplicationStatus_VolumesReplicationStatus() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_ReplicationStatus.json @@ -369,9 +359,8 @@ public async Task GetReplicationStatus_VolumesReplicationStatus() Console.WriteLine($"Succeeded: {result}"); } - // Volumes_ListReplications - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReplications_VolumesListReplications() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_ListReplications.json @@ -398,12 +387,11 @@ public async Task GetReplications_VolumesListReplications() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Volumes_ResyncReplication - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResyncReplication_VolumesResyncReplication() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_ResyncReplication.json @@ -427,12 +415,11 @@ public async Task ResyncReplication_VolumesResyncReplication() // invoke the operation await netAppVolume.ResyncReplicationAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Volumes_DeleteReplication - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteReplication_VolumesDeleteReplication() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_DeleteReplication.json @@ -456,12 +443,11 @@ public async Task DeleteReplication_VolumesDeleteReplication() // invoke the operation await netAppVolume.DeleteReplicationAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Volumes_AuthorizeReplication - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AuthorizeReplication_VolumesAuthorizeReplication() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_AuthorizeReplication.json @@ -489,12 +475,11 @@ public async Task AuthorizeReplication_VolumesAuthorizeReplication() }; await netAppVolume.AuthorizeReplicationAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Volumes_ReInitializeReplication - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ReInitializeReplication_VolumesReInitializeReplication() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_ReInitializeReplication.json @@ -518,12 +503,11 @@ public async Task ReInitializeReplication_VolumesReInitializeReplication() // invoke the operation await netAppVolume.ReInitializeReplicationAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Volumes_PeerExternalCluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PeerExternalCluster_VolumesPeerExternalCluster() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_PeerExternalCluster.json @@ -555,9 +539,8 @@ public async Task PeerExternalCluster_VolumesPeerExternalCluster() Console.WriteLine($"Succeeded: {result}"); } - // Volumes_AuthorizeExternalReplication - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AuthorizeExternalReplication_VolumesAuthorizeExternalReplication() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_AuthorizeExternalReplication.json @@ -585,9 +568,8 @@ public async Task AuthorizeExternalReplication_VolumesAuthorizeExternalReplicati Console.WriteLine($"Succeeded: {result}"); } - // Volumes_FinalizeExternalReplication - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task FinalizeExternalReplication_VolumesFinalizeExternalReplication() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_FinalizeExternalReplication.json @@ -611,12 +593,11 @@ public async Task FinalizeExternalReplication_VolumesFinalizeExternalReplication // invoke the operation await netAppVolume.FinalizeExternalReplicationAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Volumes_PerformReplicationTransfer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PerformReplicationTransfer_VolumesPerformReplicationTransfer() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_PerformReplicationTransfer.json @@ -640,12 +621,11 @@ public async Task PerformReplicationTransfer_VolumesPerformReplicationTransfer() // invoke the operation await netAppVolume.PerformReplicationTransferAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Volumes_AuthorizeReplication - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PoolChange_VolumesAuthorizeReplication() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_PoolChange.json @@ -670,12 +650,11 @@ public async Task PoolChange_VolumesAuthorizeReplication() NetAppVolumePoolChangeContent content = new NetAppVolumePoolChangeContent(new ResourceIdentifier("/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1")); await netAppVolume.PoolChangeAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Volumes_Relocate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Relocate_VolumesRelocate() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_Relocate.json @@ -700,12 +679,11 @@ public async Task Relocate_VolumesRelocate() RelocateVolumeContent content = new RelocateVolumeContent(); await netAppVolume.RelocateAsync(WaitUntil.Completed, content: content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Volumes_FinalizeRelocation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task FinalizeRelocation_VolumesFinalizeRelocation() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_FinalizeRelocation.json @@ -729,12 +707,11 @@ public async Task FinalizeRelocation_VolumesFinalizeRelocation() // invoke the operation await netAppVolume.FinalizeRelocationAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Volumes_RevertRelocation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RevertRelocation_VolumesRevertRelocation() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_RevertRelocation.json @@ -758,12 +735,11 @@ public async Task RevertRelocation_VolumesRevertRelocation() // invoke the operation await netAppVolume.RevertRelocationAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Volumes_BackupStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLatestStatusBackup_VolumesBackupStatus() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_LatestBackupStatus.json @@ -790,9 +766,8 @@ public async Task GetLatestStatusBackup_VolumesBackupStatus() Console.WriteLine($"Succeeded: {result}"); } - // Volumes_RestoreStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVolumeLatestRestoreStatusBackup_VolumesRestoreStatus() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Volumes_LatestRestoreStatus.json @@ -819,9 +794,8 @@ public async Task GetVolumeLatestRestoreStatusBackup_VolumesRestoreStatus() Console.WriteLine($"Succeeded: {result}"); } - // BackupsUnderVolume_Migrate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateBackupsBackupsUnderVolume_BackupsUnderVolumeMigrate() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/BackupsUnderVolume_Migrate.json @@ -846,7 +820,7 @@ public async Task MigrateBackupsBackupsUnderVolume_BackupsUnderVolumeMigrate() BackupsMigrationContent content = new BackupsMigrationContent("/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupVaults/backupVault1"); await netAppVolume.MigrateBackupsBackupsUnderVolumeAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeSnapshotCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeSnapshotCollection.cs index 4719de2a16315..3082a6ecabf47 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeSnapshotCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeSnapshotCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.NetApp.Samples { public partial class Sample_NetAppVolumeSnapshotCollection { - // Snapshots_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SnapshotsList() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Snapshots_List.json @@ -50,12 +50,11 @@ public async Task GetAll_SnapshotsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Snapshots_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SnapshotsGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Snapshots_Get.json @@ -90,9 +89,8 @@ public async Task Get_SnapshotsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Snapshots_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SnapshotsGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Snapshots_Get.json @@ -123,9 +121,8 @@ public async Task Exists_SnapshotsGet() Console.WriteLine($"Succeeded: {result}"); } - // Snapshots_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SnapshotsGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Snapshots_Get.json @@ -156,7 +153,7 @@ public async Task GetIfExists_SnapshotsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_SnapshotsGet() } } - // Snapshots_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SnapshotsCreate() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Snapshots_Create.json diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeSnapshotResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeSnapshotResource.cs index 03d99c8aca075..621d5fa0f0566 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeSnapshotResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_NetAppVolumeSnapshotResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetApp.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetApp.Samples { public partial class Sample_NetAppVolumeSnapshotResource { - // Snapshots_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SnapshotsGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Snapshots_Get.json @@ -49,9 +49,8 @@ public async Task Get_SnapshotsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Snapshots_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SnapshotsCreate() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Snapshots_Create.json @@ -85,9 +84,8 @@ public async Task Update_SnapshotsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Snapshots_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SnapshotsDelete() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Snapshots_Delete.json @@ -112,12 +110,11 @@ public async Task Delete_SnapshotsDelete() // invoke the operation await netAppVolumeSnapshot.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Snapshots_SingleFileRestore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RestoreFiles_SnapshotsSingleFileRestore() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/Snapshots_SingleFileRestore.json @@ -146,7 +143,7 @@ public async Task RestoreFiles_SnapshotsSingleFileRestore() }); await netAppVolumeSnapshot.RestoreFilesAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_RegionInfoResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_RegionInfoResource.cs index 65a521c44baea..cf5cf3980da09 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_RegionInfoResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_RegionInfoResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.NetApp.Samples { public partial class Sample_RegionInfoResource { - // RegionInfos_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RegionInfosGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/RegionInfos_Get.json diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_RegionInfoResourceCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_RegionInfoResourceCollection.cs index eedcbcc85219a..68e3145fb8548 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_RegionInfoResourceCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_RegionInfoResourceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetApp.Samples { public partial class Sample_RegionInfoResourceCollection { - // RegionInfos_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RegionInfosList() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/RegionInfos_List.json @@ -48,12 +48,11 @@ public async Task GetAll_RegionInfosList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RegionInfos_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RegionInfosGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/RegionInfos_Get.json @@ -84,9 +83,8 @@ public async Task Get_RegionInfosGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RegionInfos_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RegionInfosGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/RegionInfos_Get.json @@ -113,9 +111,8 @@ public async Task Exists_RegionInfosGet() Console.WriteLine($"Succeeded: {result}"); } - // RegionInfos_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RegionInfosGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/RegionInfos_Get.json @@ -142,7 +139,7 @@ public async Task GetIfExists_RegionInfosGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_SnapshotPolicyCollection.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_SnapshotPolicyCollection.cs index 2292e26c68015..180890aa1f064 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_SnapshotPolicyCollection.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_SnapshotPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetApp.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetApp.Samples { public partial class Sample_SnapshotPolicyCollection { - // SnapshotPolicies_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SnapshotPoliciesList() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/SnapshotPolicies_List.json @@ -49,12 +49,11 @@ public async Task GetAll_SnapshotPoliciesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SnapshotPolicies_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SnapshotPoliciesGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/SnapshotPolicies_Get.json @@ -87,9 +86,8 @@ public async Task Get_SnapshotPoliciesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SnapshotPolicies_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SnapshotPoliciesGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/SnapshotPolicies_Get.json @@ -118,9 +116,8 @@ public async Task Exists_SnapshotPoliciesGet() Console.WriteLine($"Succeeded: {result}"); } - // SnapshotPolicies_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SnapshotPoliciesGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/SnapshotPolicies_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_SnapshotPoliciesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_SnapshotPoliciesGet() } } - // SnapshotPolicies_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SnapshotPoliciesCreate() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/SnapshotPolicies_Create.json diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_SnapshotPolicyResource.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_SnapshotPolicyResource.cs index e458e055c3132..b44bac74f72be 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_SnapshotPolicyResource.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_SnapshotPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetApp.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetApp.Samples { public partial class Sample_SnapshotPolicyResource { - // SnapshotPolicies_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SnapshotPoliciesGet() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/SnapshotPolicies_Get.json @@ -47,9 +47,8 @@ public async Task Get_SnapshotPoliciesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SnapshotPolicies_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SnapshotPoliciesUpdate() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/SnapshotPolicies_Update.json @@ -109,9 +108,8 @@ public async Task Update_SnapshotPoliciesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SnapshotPolicies_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SnapshotPoliciesDelete() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/SnapshotPolicies_Delete.json @@ -134,12 +132,11 @@ public async Task Delete_SnapshotPoliciesDelete() // invoke the operation await snapshotPolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SnapshotPolicies_ListVolumes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVolumes_SnapshotPoliciesListVolumes() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/SnapshotPolicies_ListVolumes.json @@ -169,7 +166,7 @@ public async Task GetVolumes_SnapshotPoliciesListVolumes() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 73bf5c52b1088..8032b0ec95265 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.NetApp.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetApp.Samples { public partial class Sample_SubscriptionResourceExtensions { - // CheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckNetAppNameAvailability_CheckNameAvailability() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/CheckNameAvailability.json @@ -43,9 +43,8 @@ public async Task CheckNetAppNameAvailability_CheckNameAvailability() Console.WriteLine($"Succeeded: {result}"); } - // CheckFilePathAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckNetAppFilePathAvailability_CheckFilePathAvailability() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/CheckFilePathAvailability.json @@ -70,9 +69,8 @@ public async Task CheckNetAppFilePathAvailability_CheckFilePathAvailability() Console.WriteLine($"Succeeded: {result}"); } - // CheckQuotaAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckNetAppQuotaAvailability_CheckQuotaAvailability() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/CheckQuotaAvailability.json @@ -97,9 +95,8 @@ public async Task CheckNetAppQuotaAvailability_CheckQuotaAvailability() Console.WriteLine($"Succeeded: {result}"); } - // RegionInfo_Query - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task QueryRegionInfoNetAppResource_RegionInfoQuery() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/RegionInfo.json @@ -123,9 +120,8 @@ public async Task QueryRegionInfoNetAppResource_RegionInfoQuery() Console.WriteLine($"Succeeded: {result}"); } - // NetworkSiblingSet_Query - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task QueryNetworkSiblingSetNetAppResource_NetworkSiblingSetQuery() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/NetworkSiblingSet_Query.json @@ -150,9 +146,8 @@ public async Task QueryNetworkSiblingSetNetAppResource_NetworkSiblingSetQuery() Console.WriteLine($"Succeeded: {result}"); } - // NetworkFeatures_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateNetworkSiblingSetNetAppResource_NetworkFeaturesUpdate() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/NetworkSiblingSet_Update.json @@ -178,9 +173,8 @@ public async Task UpdateNetworkSiblingSetNetAppResource_NetworkFeaturesUpdate() Console.WriteLine($"Succeeded: {result}"); } - // QuotaLimits - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetAppQuotaLimits_QuotaLimits() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/QuotaLimits_List.json @@ -204,12 +198,11 @@ public async Task GetNetAppQuotaLimits_QuotaLimits() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // QuotaLimits - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetAppQuotaLimit_QuotaLimits() { // Generated from example definition: specification/netapp/resource-manager/Microsoft.NetApp/stable/2024-07-01/examples/QuotaLimits_Get.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_AdminRuleGroupCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_AdminRuleGroupCollection.cs index a783f285eb048..0010d2a744b79 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_AdminRuleGroupCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_AdminRuleGroupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_AdminRuleGroupCollection { - // List security admin rule collections - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSecurityAdminRuleCollections() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerAdminRuleCollectionList.json @@ -50,12 +50,11 @@ public async Task GetAll_ListSecurityAdminRuleCollections() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets security admin rule collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsSecurityAdminRuleCollection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerAdminRuleCollectionGet.json @@ -89,9 +88,8 @@ public async Task Get_GetsSecurityAdminRuleCollection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets security admin rule collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsSecurityAdminRuleCollection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerAdminRuleCollectionGet.json @@ -121,9 +119,8 @@ public async Task Exists_GetsSecurityAdminRuleCollection() Console.WriteLine($"Succeeded: {result}"); } - // Gets security admin rule collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsSecurityAdminRuleCollection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerAdminRuleCollectionGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetsSecurityAdminRuleCollection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_GetsSecurityAdminRuleCollection() } } - // Create or Update an admin rule collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnAdminRuleCollection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerAdminRuleCollectionPut.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_AdminRuleGroupResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_AdminRuleGroupResource.cs index 488403fd0fb2a..8a91366e500c6 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_AdminRuleGroupResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_AdminRuleGroupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_AdminRuleGroupResource { - // Gets security admin rule collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsSecurityAdminRuleCollection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerAdminRuleCollectionGet.json @@ -48,9 +48,8 @@ public async Task Get_GetsSecurityAdminRuleCollection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update an admin rule collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAnAdminRuleCollection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerAdminRuleCollectionPut.json @@ -90,9 +89,8 @@ public async Task Update_CreateOrUpdateAnAdminRuleCollection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes an admin rule collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAnAdminRuleCollection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerAdminRuleCollectionDelete.json @@ -117,7 +115,7 @@ public async Task Delete_DeletesAnAdminRuleCollection() bool? force = false; await adminRuleGroup.DeleteAsync(WaitUntil.Completed, force: force); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationGatewayCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationGatewayCollection.cs index 611ae9675261a..8e5d51ec165a5 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationGatewayCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationGatewayCollection.cs @@ -13,14 +13,14 @@ using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ApplicationGatewayCollection { - // Get ApplicationGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetApplicationGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayGet.json @@ -52,9 +52,8 @@ public async Task Get_GetApplicationGateway() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get ApplicationGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetApplicationGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayGet.json @@ -82,9 +81,8 @@ public async Task Exists_GetApplicationGateway() Console.WriteLine($"Succeeded: {result}"); } - // Get ApplicationGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetApplicationGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetApplicationGateway() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetApplicationGateway() } } - // Create Application Gateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateApplicationGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayCreate.json @@ -391,9 +388,8 @@ public async Task CreateOrUpdate_CreateApplicationGateway() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Lists all application gateways in a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsAllApplicationGatewaysInAResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayList.json @@ -424,7 +420,7 @@ public async Task GetAll_ListsAllApplicationGatewaysInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationGatewayPrivateEndpointConnectionCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationGatewayPrivateEndpointConnectionCollection.cs index 5714e76a959a1..879037545fa78 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationGatewayPrivateEndpointConnectionCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationGatewayPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ApplicationGatewayPrivateEndpointConnectionCollection { - // Update Application Gateway Private Endpoint Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateApplicationGatewayPrivateEndpointConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayPrivateEndpointConnectionUpdate.json @@ -60,9 +60,8 @@ public async Task CreateOrUpdate_UpdateApplicationGatewayPrivateEndpointConnecti Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Application Gateway Private Endpoint Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetApplicationGatewayPrivateEndpointConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayPrivateEndpointConnectionGet.json @@ -95,9 +94,8 @@ public async Task Get_GetApplicationGatewayPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Application Gateway Private Endpoint Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetApplicationGatewayPrivateEndpointConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayPrivateEndpointConnectionGet.json @@ -126,9 +124,8 @@ public async Task Exists_GetApplicationGatewayPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // Get Application Gateway Private Endpoint Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetApplicationGatewayPrivateEndpointConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayPrivateEndpointConnectionGet.json @@ -157,7 +154,7 @@ public async Task GetIfExists_GetApplicationGatewayPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_GetApplicationGatewayPrivateEndpointConnection() } } - // Lists all private endpoint connections on application gateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsAllPrivateEndpointConnectionsOnApplicationGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayPrivateEndpointConnectionList.json @@ -203,7 +199,7 @@ public async Task GetAll_ListsAllPrivateEndpointConnectionsOnApplicationGateway( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationGatewayPrivateEndpointConnectionResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationGatewayPrivateEndpointConnectionResource.cs index 83e138c3f7929..0504bdee5eb65 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationGatewayPrivateEndpointConnectionResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationGatewayPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ApplicationGatewayPrivateEndpointConnectionResource { - // Delete Application Gateway Private Endpoint Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteApplicationGatewayPrivateEndpointConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayPrivateEndpointConnectionDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteApplicationGatewayPrivateEndpointConnection() // invoke the operation await applicationGatewayPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update Application Gateway Private Endpoint Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateApplicationGatewayPrivateEndpointConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayPrivateEndpointConnectionUpdate.json @@ -85,9 +84,8 @@ public async Task Update_UpdateApplicationGatewayPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Application Gateway Private Endpoint Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetApplicationGatewayPrivateEndpointConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayPrivateEndpointConnectionGet.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationGatewayResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationGatewayResource.cs index 5a647270c3bf5..a37bac8c040be 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationGatewayResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationGatewayResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ApplicationGatewayResource { - // Delete ApplicationGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteApplicationGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteApplicationGateway() // invoke the operation await applicationGateway.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get ApplicationGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetApplicationGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayGet.json @@ -74,9 +73,8 @@ public async Task Get_GetApplicationGateway() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Application Gateway tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateApplicationGatewayTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayUpdateTags.json @@ -113,9 +111,8 @@ public async Task Update_UpdateApplicationGatewayTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Lists all application gateways in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApplicationGateways_ListsAllApplicationGatewaysInASubscription() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayListAll.json @@ -142,12 +139,11 @@ public async Task GetApplicationGateways_ListsAllApplicationGatewaysInASubscript Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Start Application Gateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_StartApplicationGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayStart.json @@ -169,12 +165,11 @@ public async Task Start_StartApplicationGateway() // invoke the operation await applicationGateway.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Stop Application Gateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_StopApplicationGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayStop.json @@ -196,12 +191,11 @@ public async Task Stop_StopApplicationGateway() // invoke the operation await applicationGateway.StopAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Backend Health - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task BackendHealth_GetBackendHealth() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayBackendHealthGet.json @@ -227,9 +221,8 @@ public async Task BackendHealth_GetBackendHealth() Console.WriteLine($"Succeeded: {result}"); } - // Test Backend Health - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task BackendHealthOnDemand_TestBackendHealth() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayBackendHealthTest.json @@ -264,9 +257,8 @@ public async Task BackendHealthOnDemand_TestBackendHealth() Console.WriteLine($"Succeeded: {result}"); } - // Get Available Server Variables - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableServerVariablesApplicationGateways_GetAvailableServerVariables() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayAvailableServerVariablesGet.json @@ -289,12 +281,11 @@ public async Task GetAvailableServerVariablesApplicationGateways_GetAvailableSer Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Available Request Headers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableRequestHeadersApplicationGateways_GetAvailableRequestHeaders() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayAvailableRequestHeadersGet.json @@ -317,12 +308,11 @@ public async Task GetAvailableRequestHeadersApplicationGateways_GetAvailableRequ Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Available Response Headers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableResponseHeadersApplicationGateways_GetAvailableResponseHeaders() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayAvailableResponseHeadersGet.json @@ -345,12 +335,11 @@ public async Task GetAvailableResponseHeadersApplicationGateways_GetAvailableRes Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Available Waf Rule Sets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAppGatewayAvailableWafRuleSets_GetAvailableWafRuleSets() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayAvailableWafRuleSetsGet.json @@ -373,12 +362,11 @@ public async Task GetAppGatewayAvailableWafRuleSets_GetAvailableWafRuleSets() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Available Ssl Options - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApplicationGatewayAvailableSslOptions_GetAvailableSslOptions() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayAvailableSslOptionsGet.json @@ -401,9 +389,8 @@ public async Task GetApplicationGatewayAvailableSslOptions_GetAvailableSslOption Console.WriteLine($"Succeeded: {result}"); } - // Get Available Ssl Predefined Policies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApplicationGatewayAvailableSslPredefinedPolicies_GetAvailableSslPredefinedPolicies() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json @@ -426,12 +413,11 @@ public async Task GetApplicationGatewayAvailableSslPredefinedPolicies_GetAvailab Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Available Ssl Predefined Policy by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApplicationGatewaySslPredefinedPolicy_GetAvailableSslPredefinedPolicyByName() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json @@ -455,9 +441,8 @@ public async Task GetApplicationGatewaySslPredefinedPolicy_GetAvailableSslPredef Console.WriteLine($"Succeeded: {result}"); } - // Lists all private link resources on application gateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApplicationGatewayPrivateLinkResources_ListsAllPrivateLinkResourcesOnApplicationGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationGatewayPrivateLinkResourceList.json @@ -482,7 +467,7 @@ public async Task GetApplicationGatewayPrivateLinkResources_ListsAllPrivateLinkR Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationGatewayWafDynamicManifestCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationGatewayWafDynamicManifestCollection.cs index dc9f85716de50..44602d46ba642 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationGatewayWafDynamicManifestCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationGatewayWafDynamicManifestCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ApplicationGatewayWafDynamicManifestCollection { - // Gets WAF default manifest - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsWAFDefaultManifest() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/GetApplicationGatewayWafDynamicManifestsDefault.json @@ -48,9 +48,8 @@ public async Task Get_GetsWAFDefaultManifest() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets WAF default manifest - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsWAFDefaultManifest() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/GetApplicationGatewayWafDynamicManifestsDefault.json @@ -77,9 +76,8 @@ public async Task Exists_GetsWAFDefaultManifest() Console.WriteLine($"Succeeded: {result}"); } - // Gets WAF default manifest - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsWAFDefaultManifest() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/GetApplicationGatewayWafDynamicManifestsDefault.json @@ -106,7 +104,7 @@ public async Task GetIfExists_GetsWAFDefaultManifest() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -118,9 +116,8 @@ public async Task GetIfExists_GetsWAFDefaultManifest() } } - // Gets WAF manifests - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsWAFManifests() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/GetApplicationGatewayWafDynamicManifests.json @@ -151,7 +148,7 @@ public async Task GetAll_GetsWAFManifests() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationGatewayWafDynamicManifestResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationGatewayWafDynamicManifestResource.cs index 45df109af87f3..2e719c0867188 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationGatewayWafDynamicManifestResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationGatewayWafDynamicManifestResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ApplicationGatewayWafDynamicManifestResource { - // Gets WAF default manifest - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsWAFDefaultManifest() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/GetApplicationGatewayWafDynamicManifestsDefault.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationSecurityGroupCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationSecurityGroupCollection.cs index ee818b0fa9999..d9edd7250a6d0 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationSecurityGroupCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationSecurityGroupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ApplicationSecurityGroupCollection { - // Get application security group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetApplicationSecurityGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationSecurityGroupGet.json @@ -49,9 +49,8 @@ public async Task Get_GetApplicationSecurityGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get application security group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetApplicationSecurityGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationSecurityGroupGet.json @@ -79,9 +78,8 @@ public async Task Exists_GetApplicationSecurityGroup() Console.WriteLine($"Succeeded: {result}"); } - // Get application security group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetApplicationSecurityGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationSecurityGroupGet.json @@ -109,7 +107,7 @@ public async Task GetIfExists_GetApplicationSecurityGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_GetApplicationSecurityGroup() } } - // Create application security group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateApplicationSecurityGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationSecurityGroupCreate.json @@ -160,9 +157,8 @@ public async Task CreateOrUpdate_CreateApplicationSecurityGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List load balancers in resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListLoadBalancersInResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationSecurityGroupList.json @@ -193,7 +189,7 @@ public async Task GetAll_ListLoadBalancersInResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationSecurityGroupResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationSecurityGroupResource.cs index fe2e5c5116b90..0712755b5cc37 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationSecurityGroupResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ApplicationSecurityGroupResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ApplicationSecurityGroupResource { - // Delete application security group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteApplicationSecurityGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationSecurityGroupDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteApplicationSecurityGroup() // invoke the operation await applicationSecurityGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get application security group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetApplicationSecurityGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationSecurityGroupGet.json @@ -74,9 +73,8 @@ public async Task Get_GetApplicationSecurityGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update application security group tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateApplicationSecurityGroupTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationSecurityGroupUpdateTags.json @@ -113,9 +111,8 @@ public async Task Update_UpdateApplicationSecurityGroupTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all application security groups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApplicationSecurityGroups_ListAllApplicationSecurityGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ApplicationSecurityGroupListAll.json @@ -142,7 +139,7 @@ public async Task GetApplicationSecurityGroups_ListAllApplicationSecurityGroups( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_AzureFirewallCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_AzureFirewallCollection.cs index 2ad370ef27c10..2dee92c9936f0 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_AzureFirewallCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_AzureFirewallCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_AzureFirewallCollection { - // Get Azure Firewall - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureFirewall() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallGet.json @@ -50,9 +50,8 @@ public async Task Get_GetAzureFirewall() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Azure Firewall - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAzureFirewall() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetAzureFirewall() Console.WriteLine($"Succeeded: {result}"); } - // Get Azure Firewall - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAzureFirewall() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallGet.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetAzureFirewall() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetAzureFirewall() } } - // Get Azure Firewall With Additional Properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureFirewallWithAdditionalProperties() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallGetWithAdditionalProperties.json @@ -156,9 +153,8 @@ public async Task Get_GetAzureFirewallWithAdditionalProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Azure Firewall With Additional Properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAzureFirewallWithAdditionalProperties() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallGetWithAdditionalProperties.json @@ -186,9 +182,8 @@ public async Task Exists_GetAzureFirewallWithAdditionalProperties() Console.WriteLine($"Succeeded: {result}"); } - // Get Azure Firewall With Additional Properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAzureFirewallWithAdditionalProperties() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallGetWithAdditionalProperties.json @@ -216,7 +211,7 @@ public async Task GetIfExists_GetAzureFirewallWithAdditionalProperties() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -228,9 +223,8 @@ public async Task GetIfExists_GetAzureFirewallWithAdditionalProperties() } } - // Get Azure Firewall With IpGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureFirewallWithIpGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallGetWithIpGroups.json @@ -262,9 +256,8 @@ public async Task Get_GetAzureFirewallWithIpGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Azure Firewall With IpGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAzureFirewallWithIpGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallGetWithIpGroups.json @@ -292,9 +285,8 @@ public async Task Exists_GetAzureFirewallWithIpGroups() Console.WriteLine($"Succeeded: {result}"); } - // Get Azure Firewall With IpGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAzureFirewallWithIpGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallGetWithIpGroups.json @@ -322,7 +314,7 @@ public async Task GetIfExists_GetAzureFirewallWithIpGroups() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -334,9 +326,8 @@ public async Task GetIfExists_GetAzureFirewallWithIpGroups() } } - // Get Azure Firewall With Zones - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureFirewallWithZones() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallGetWithZones.json @@ -368,9 +359,8 @@ public async Task Get_GetAzureFirewallWithZones() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Azure Firewall With Zones - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAzureFirewallWithZones() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallGetWithZones.json @@ -398,9 +388,8 @@ public async Task Exists_GetAzureFirewallWithZones() Console.WriteLine($"Succeeded: {result}"); } - // Get Azure Firewall With Zones - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAzureFirewallWithZones() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallGetWithZones.json @@ -428,7 +417,7 @@ public async Task GetIfExists_GetAzureFirewallWithZones() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -440,9 +429,8 @@ public async Task GetIfExists_GetAzureFirewallWithZones() } } - // Get Azure Firewall With management subnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureFirewallWithManagementSubnet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallGetWithMgmtSubnet.json @@ -474,9 +462,8 @@ public async Task Get_GetAzureFirewallWithManagementSubnet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Azure Firewall With management subnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAzureFirewallWithManagementSubnet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallGetWithMgmtSubnet.json @@ -504,9 +491,8 @@ public async Task Exists_GetAzureFirewallWithManagementSubnet() Console.WriteLine($"Succeeded: {result}"); } - // Get Azure Firewall With management subnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAzureFirewallWithManagementSubnet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallGetWithMgmtSubnet.json @@ -534,7 +520,7 @@ public async Task GetIfExists_GetAzureFirewallWithManagementSubnet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -546,9 +532,8 @@ public async Task GetIfExists_GetAzureFirewallWithManagementSubnet() } } - // Create Azure Firewall - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAzureFirewall() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallPut.json @@ -753,9 +738,8 @@ public async Task CreateOrUpdate_CreateAzureFirewall() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Azure Firewall With Additional Properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAzureFirewallWithAdditionalProperties() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallPutWithAdditionalProperties.json @@ -965,9 +949,8 @@ public async Task CreateOrUpdate_CreateAzureFirewallWithAdditionalProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Azure Firewall With IpGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAzureFirewallWithIpGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallPutWithIpGroups.json @@ -1172,9 +1155,8 @@ public async Task CreateOrUpdate_CreateAzureFirewallWithIpGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Azure Firewall With Zones - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAzureFirewallWithZones() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallPutWithZones.json @@ -1380,9 +1362,8 @@ public async Task CreateOrUpdate_CreateAzureFirewallWithZones() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Azure Firewall With management subnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAzureFirewallWithManagementSubnet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallPutWithMgmtSubnet.json @@ -1593,9 +1574,8 @@ public async Task CreateOrUpdate_CreateAzureFirewallWithManagementSubnet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Azure Firewall in virtual Hub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAzureFirewallInVirtualHub() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallPutInHub.json @@ -1657,9 +1637,8 @@ public async Task CreateOrUpdate_CreateAzureFirewallInVirtualHub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all Azure Firewalls for a given resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllAzureFirewallsForAGivenResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallListByResourceGroup.json @@ -1690,7 +1669,7 @@ public async Task GetAll_ListAllAzureFirewallsForAGivenResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_AzureFirewallResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_AzureFirewallResource.cs index 9ee96427ec135..9873ea3bb15d5 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_AzureFirewallResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_AzureFirewallResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_AzureFirewallResource { - // Delete Azure Firewall - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAzureFirewall() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteAzureFirewall() // invoke the operation await azureFirewall.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Azure Firewall - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureFirewall() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallGet.json @@ -74,9 +73,8 @@ public async Task Get_GetAzureFirewall() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Azure Firewall With Additional Properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureFirewallWithAdditionalProperties() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallGetWithAdditionalProperties.json @@ -105,9 +103,8 @@ public async Task Get_GetAzureFirewallWithAdditionalProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Azure Firewall With IpGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureFirewallWithIpGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallGetWithIpGroups.json @@ -136,9 +133,8 @@ public async Task Get_GetAzureFirewallWithIpGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Azure Firewall With Zones - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureFirewallWithZones() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallGetWithZones.json @@ -167,9 +163,8 @@ public async Task Get_GetAzureFirewallWithZones() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Azure Firewall With management subnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureFirewallWithManagementSubnet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallGetWithMgmtSubnet.json @@ -198,9 +193,8 @@ public async Task Get_GetAzureFirewallWithManagementSubnet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Azure Firewall Tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAzureFirewallTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallUpdateTags.json @@ -238,9 +232,8 @@ public async Task Update_UpdateAzureFirewallTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all Azure Firewalls for a given subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAzureFirewalls_ListAllAzureFirewallsForAGivenSubscription() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallListBySubscription.json @@ -267,12 +260,11 @@ public async Task GetAzureFirewalls_ListAllAzureFirewallsForAGivenSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AzureFirewallListLearnedPrefixes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLearnedPrefixes_AzureFirewallListLearnedPrefixes() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallListLearnedIPPrefixes.json @@ -298,9 +290,8 @@ public async Task GetLearnedPrefixes_AzureFirewallListLearnedPrefixes() Console.WriteLine($"Succeeded: {result}"); } - // AzureFirewallPacketCapture - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PacketCapture_AzureFirewallPacketCapture() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallPacketCapture.json @@ -372,7 +363,7 @@ public async Task PacketCapture_AzureFirewallPacketCapture() }; await azureFirewall.PacketCaptureAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_AzureWebCategoryCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_AzureWebCategoryCollection.cs index 04a7629746125..8954cd668ddf4 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_AzureWebCategoryCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_AzureWebCategoryCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_AzureWebCategoryCollection { - // Get Azure Web Category by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureWebCategoryByName() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureWebCategoryGet.json @@ -48,9 +48,8 @@ public async Task Get_GetAzureWebCategoryByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Azure Web Category by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAzureWebCategoryByName() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureWebCategoryGet.json @@ -77,9 +76,8 @@ public async Task Exists_GetAzureWebCategoryByName() Console.WriteLine($"Succeeded: {result}"); } - // Get Azure Web Category by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAzureWebCategoryByName() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureWebCategoryGet.json @@ -106,7 +104,7 @@ public async Task GetIfExists_GetAzureWebCategoryByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -118,9 +116,8 @@ public async Task GetIfExists_GetAzureWebCategoryByName() } } - // List all Azure Web Categories for a given subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllAzureWebCategoriesForAGivenSubscription() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureWebCategoriesListBySubscription.json @@ -150,7 +147,7 @@ public async Task GetAll_ListAllAzureWebCategoriesForAGivenSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_AzureWebCategoryResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_AzureWebCategoryResource.cs index 71ed788137e52..4b39978c327b0 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_AzureWebCategoryResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_AzureWebCategoryResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_AzureWebCategoryResource { - // Get Azure Web Category by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureWebCategoryByName() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureWebCategoryGet.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BackendAddressPoolCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BackendAddressPoolCollection.cs index bf01d3dc6de65..1da353ea479f8 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BackendAddressPoolCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BackendAddressPoolCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_BackendAddressPoolCollection { - // Load balancer with BackendAddressPool containing BackendAddresses - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_LoadBalancerWithBackendAddressPoolContainingBackendAddresses() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LBBackendAddressPoolListWithBackendAddressesPoolType.json @@ -49,12 +49,11 @@ public async Task GetAll_LoadBalancerWithBackendAddressPoolContainingBackendAddr Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LoadBalancerBackendAddressPoolList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_LoadBalancerBackendAddressPoolList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerBackendAddressPoolList.json @@ -86,12 +85,11 @@ public async Task GetAll_LoadBalancerBackendAddressPoolList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LoadBalancer with BackendAddressPool with BackendAddresses - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LoadBalancerWithBackendAddressPoolWithBackendAddresses() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LBBackendAddressPoolWithBackendAddressesGet.json @@ -124,9 +122,8 @@ public async Task Get_LoadBalancerWithBackendAddressPoolWithBackendAddresses() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LoadBalancer with BackendAddressPool with BackendAddresses - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_LoadBalancerWithBackendAddressPoolWithBackendAddresses() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LBBackendAddressPoolWithBackendAddressesGet.json @@ -155,9 +152,8 @@ public async Task Exists_LoadBalancerWithBackendAddressPoolWithBackendAddresses( Console.WriteLine($"Succeeded: {result}"); } - // LoadBalancer with BackendAddressPool with BackendAddresses - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_LoadBalancerWithBackendAddressPoolWithBackendAddresses() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LBBackendAddressPoolWithBackendAddressesGet.json @@ -186,7 +182,7 @@ public async Task GetIfExists_LoadBalancerWithBackendAddressPoolWithBackendAddre if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -198,9 +194,8 @@ public async Task GetIfExists_LoadBalancerWithBackendAddressPoolWithBackendAddre } } - // LoadBalancerBackendAddressPoolGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LoadBalancerBackendAddressPoolGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerBackendAddressPoolGet.json @@ -233,9 +228,8 @@ public async Task Get_LoadBalancerBackendAddressPoolGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LoadBalancerBackendAddressPoolGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_LoadBalancerBackendAddressPoolGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerBackendAddressPoolGet.json @@ -264,9 +258,8 @@ public async Task Exists_LoadBalancerBackendAddressPoolGet() Console.WriteLine($"Succeeded: {result}"); } - // LoadBalancerBackendAddressPoolGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_LoadBalancerBackendAddressPoolGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerBackendAddressPoolGet.json @@ -295,7 +288,7 @@ public async Task GetIfExists_LoadBalancerBackendAddressPoolGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -307,9 +300,8 @@ public async Task GetIfExists_LoadBalancerBackendAddressPoolGet() } } - // Update load balancer backend pool with backend addresses containing virtual network and IP address. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateLoadBalancerBackendPoolWithBackendAddressesContainingVirtualNetworkAndIPAddress() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LBBackendAddressPoolWithBackendAddressesPut.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BackendAddressPoolResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BackendAddressPoolResource.cs index b2b04fe1a64fc..b6805a46ea320 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BackendAddressPoolResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BackendAddressPoolResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_BackendAddressPoolResource { - // Query inbound NAT rule port mapping - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetInboundNatRulePortMappingsLoadBalancer_QueryInboundNATRulePortMapping() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/QueryInboundNatRulePortMapping.json @@ -48,9 +48,8 @@ public async Task GetInboundNatRulePortMappingsLoadBalancer_QueryInboundNATRuleP Console.WriteLine($"Succeeded: {result}"); } - // LoadBalancer with BackendAddressPool with BackendAddresses - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LoadBalancerWithBackendAddressPoolWithBackendAddresses() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LBBackendAddressPoolWithBackendAddressesGet.json @@ -80,9 +79,8 @@ public async Task Get_LoadBalancerWithBackendAddressPoolWithBackendAddresses() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LoadBalancerBackendAddressPoolGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LoadBalancerBackendAddressPoolGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerBackendAddressPoolGet.json @@ -112,9 +110,8 @@ public async Task Get_LoadBalancerBackendAddressPoolGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update load balancer backend pool with backend addresses containing virtual network and IP address. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateLoadBalancerBackendPoolWithBackendAddressesContainingVirtualNetworkAndIPAddress() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LBBackendAddressPoolWithBackendAddressesPut.json @@ -162,9 +159,8 @@ public async Task Update_UpdateLoadBalancerBackendPoolWithBackendAddressesContai Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BackendAddressPoolDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_BackendAddressPoolDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerBackendAddressPoolDelete.json @@ -187,7 +183,7 @@ public async Task Delete_BackendAddressPoolDelete() // invoke the operation await backendAddressPool.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BaseAdminRuleCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BaseAdminRuleCollection.cs index acd4dec9eaf02..dbb66f1327e15 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BaseAdminRuleCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BaseAdminRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_BaseAdminRuleCollection { - // List security admin rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSecurityAdminRules() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerAdminRuleList.json @@ -51,12 +51,11 @@ public async Task GetAll_ListSecurityAdminRules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets security admin rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsSecurityAdminRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerAdminRuleGet.json @@ -91,9 +90,8 @@ public async Task Get_GetsSecurityAdminRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets security admin rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsSecurityAdminRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerAdminRuleGet.json @@ -124,9 +122,8 @@ public async Task Exists_GetsSecurityAdminRule() Console.WriteLine($"Succeeded: {result}"); } - // Gets security admin rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsSecurityAdminRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerAdminRuleGet.json @@ -157,7 +154,7 @@ public async Task GetIfExists_GetsSecurityAdminRule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_GetsSecurityAdminRule() } } - // Gets security default admin rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsSecurityDefaultAdminRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerDefaultAdminRuleGet.json @@ -206,9 +202,8 @@ public async Task Get_GetsSecurityDefaultAdminRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets security default admin rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsSecurityDefaultAdminRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerDefaultAdminRuleGet.json @@ -239,9 +234,8 @@ public async Task Exists_GetsSecurityDefaultAdminRule() Console.WriteLine($"Succeeded: {result}"); } - // Gets security default admin rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsSecurityDefaultAdminRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerDefaultAdminRuleGet.json @@ -272,7 +266,7 @@ public async Task GetIfExists_GetsSecurityDefaultAdminRule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -284,9 +278,8 @@ public async Task GetIfExists_GetsSecurityDefaultAdminRule() } } - // Create a default admin rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADefaultAdminRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerDefaultAdminRulePut.json @@ -326,9 +319,8 @@ public async Task CreateOrUpdate_CreateADefaultAdminRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an admin rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnAdminRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerAdminRulePut.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BaseAdminRuleResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BaseAdminRuleResource.cs index b9171223a03da..c45853c5d35da 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BaseAdminRuleResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BaseAdminRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_BaseAdminRuleResource { - // Gets security admin rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsSecurityAdminRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerAdminRuleGet.json @@ -49,9 +49,8 @@ public async Task Get_GetsSecurityAdminRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets security default admin rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsSecurityDefaultAdminRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerDefaultAdminRuleGet.json @@ -83,9 +82,8 @@ public async Task Get_GetsSecurityDefaultAdminRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a default admin rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateADefaultAdminRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerDefaultAdminRulePut.json @@ -122,9 +120,8 @@ public async Task Update_CreateADefaultAdminRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an admin rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAnAdminRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerAdminRulePut.json @@ -189,9 +186,8 @@ public async Task Update_CreateAnAdminRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes an admin rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAnAdminRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerAdminRuleDelete.json @@ -217,7 +213,7 @@ public async Task Delete_DeletesAnAdminRule() bool? force = false; await baseAdminRule.DeleteAsync(WaitUntil.Completed, force: force); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BastionHostCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BastionHostCollection.cs index 13fd6a841640a..fa822078d0564 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BastionHostCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BastionHostCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_BastionHostCollection { - // Get Bastion Host - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetBastionHost() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/BastionHostGet.json @@ -50,9 +50,8 @@ public async Task Get_GetBastionHost() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Bastion Host - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetBastionHost() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/BastionHostGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetBastionHost() Console.WriteLine($"Succeeded: {result}"); } - // Get Bastion Host - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetBastionHost() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/BastionHostGet.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetBastionHost() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetBastionHost() } } - // Get Bastion Host With Zones - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetBastionHostWithZones() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/BastionHostGetWithZones.json @@ -156,9 +153,8 @@ public async Task Get_GetBastionHostWithZones() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Bastion Host With Zones - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetBastionHostWithZones() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/BastionHostGetWithZones.json @@ -186,9 +182,8 @@ public async Task Exists_GetBastionHostWithZones() Console.WriteLine($"Succeeded: {result}"); } - // Get Bastion Host With Zones - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetBastionHostWithZones() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/BastionHostGetWithZones.json @@ -216,7 +211,7 @@ public async Task GetIfExists_GetBastionHostWithZones() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -228,9 +223,8 @@ public async Task GetIfExists_GetBastionHostWithZones() } } - // Get Developer Bastion Host - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDeveloperBastionHost() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/BastionHostDeveloperGet.json @@ -262,9 +256,8 @@ public async Task Get_GetDeveloperBastionHost() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Developer Bastion Host - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDeveloperBastionHost() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/BastionHostDeveloperGet.json @@ -292,9 +285,8 @@ public async Task Exists_GetDeveloperBastionHost() Console.WriteLine($"Succeeded: {result}"); } - // Get Developer Bastion Host - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDeveloperBastionHost() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/BastionHostDeveloperGet.json @@ -322,7 +314,7 @@ public async Task GetIfExists_GetDeveloperBastionHost() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -334,9 +326,8 @@ public async Task GetIfExists_GetDeveloperBastionHost() } } - // Create Bastion Host - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateBastionHost() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/BastionHostPut.json @@ -381,9 +372,8 @@ public async Task CreateOrUpdate_CreateBastionHost() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Bastion Host With Zones - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateBastionHostWithZones() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/BastionHostPutWithZones.json @@ -428,9 +418,8 @@ public async Task CreateOrUpdate_CreateBastionHostWithZones() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Developer Bastion Host - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateDeveloperBastionHost() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/BastionHostDeveloperPut.json @@ -477,9 +466,8 @@ public async Task CreateOrUpdate_CreateDeveloperBastionHost() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all Bastion Hosts for a given resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllBastionHostsForAGivenResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/BastionHostListByResourceGroup.json @@ -510,7 +498,7 @@ public async Task GetAll_ListAllBastionHostsForAGivenResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BastionHostResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BastionHostResource.cs index 427ec42b652ec..10f03bd771073 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BastionHostResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BastionHostResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_BastionHostResource { - // Delete Bastion Host - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteBastionHost() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/BastionHostDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteBastionHost() // invoke the operation await bastionHost.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Delete Developer Bastion Host - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteDeveloperBastionHost() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/BastionHostDeveloperDelete.json @@ -67,12 +66,11 @@ public async Task Delete_DeleteDeveloperBastionHost() // invoke the operation await bastionHost.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Bastion Host - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetBastionHost() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/BastionHostGet.json @@ -101,9 +99,8 @@ public async Task Get_GetBastionHost() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Bastion Host With Zones - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetBastionHostWithZones() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/BastionHostGetWithZones.json @@ -132,9 +129,8 @@ public async Task Get_GetBastionHostWithZones() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Developer Bastion Host - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDeveloperBastionHost() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/BastionHostDeveloperGet.json @@ -163,9 +159,8 @@ public async Task Get_GetDeveloperBastionHost() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch Bastion Host - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchBastionHost() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/BastionHostPatch.json @@ -203,9 +198,8 @@ public async Task Update_PatchBastionHost() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all Bastion Hosts for a given subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBastionHosts_ListAllBastionHostsForAGivenSubscription() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/BastionHostListBySubscription.json @@ -232,12 +226,11 @@ public async Task GetBastionHosts_ListAllBastionHostsForAGivenSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Delete Bastion Shareable Links for the request VMs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteBastionShareableLinkByToken_DeleteBastionShareableLinksForTheRequestVMs() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/BastionShareableLinkDeleteByToken.json @@ -266,7 +259,7 @@ public async Task DeleteBastionShareableLinkByToken_DeleteBastionShareableLinksF }; await bastionHost.DeleteBastionShareableLinkByTokenAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BgpConnectionCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BgpConnectionCollection.cs index 59e637a4837a4..0f97ce872073e 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BgpConnectionCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BgpConnectionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_BgpConnectionCollection { - // VirtualHubVirtualHubRouteTableV2Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualHubVirtualHubRouteTableV2Get() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubBgpConnectionGet.json @@ -49,9 +49,8 @@ public async Task Get_VirtualHubVirtualHubRouteTableV2Get() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualHubVirtualHubRouteTableV2Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VirtualHubVirtualHubRouteTableV2Get() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubBgpConnectionGet.json @@ -80,9 +79,8 @@ public async Task Exists_VirtualHubVirtualHubRouteTableV2Get() Console.WriteLine($"Succeeded: {result}"); } - // VirtualHubVirtualHubRouteTableV2Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VirtualHubVirtualHubRouteTableV2Get() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubBgpConnectionGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_VirtualHubVirtualHubRouteTableV2Get() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_VirtualHubVirtualHubRouteTableV2Get() } } - // VirtualHubRouteTableV2Put - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VirtualHubRouteTableV2Put() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubBgpConnectionPut.json @@ -165,9 +162,8 @@ public async Task CreateOrUpdate_VirtualHubRouteTableV2Put() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualHubRouteTableV2List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VirtualHubRouteTableV2List() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubBgpConnectionList.json @@ -199,7 +195,7 @@ public async Task GetAll_VirtualHubRouteTableV2List() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BgpConnectionResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BgpConnectionResource.cs index bab4cc4199354..9b7969077961c 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BgpConnectionResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_BgpConnectionResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_BgpConnectionResource { - // VirtualHubVirtualHubRouteTableV2Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualHubVirtualHubRouteTableV2Get() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubBgpConnectionGet.json @@ -48,9 +48,8 @@ public async Task Get_VirtualHubVirtualHubRouteTableV2Get() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualHubRouteTableV2Put - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VirtualHubRouteTableV2Put() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubBgpConnectionPut.json @@ -87,9 +86,8 @@ public async Task Update_VirtualHubRouteTableV2Put() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualHubRouteTableV2Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VirtualHubRouteTableV2Delete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubBgpConnectionDelete.json @@ -112,12 +110,11 @@ public async Task Delete_VirtualHubRouteTableV2Delete() // invoke the operation await bgpConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualRouterPeerListLearnedRoutes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualHubBgpConnectionLearnedRoutes_VirtualRouterPeerListLearnedRoutes() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualRouterPeerListLearnedRoute.json @@ -144,9 +141,8 @@ public async Task GetVirtualHubBgpConnectionLearnedRoutes_VirtualRouterPeerListL Console.WriteLine($"Succeeded: {result}"); } - // VirtualRouterPeerListAdvertisedRoutes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualHubBgpConnectionAdvertisedRoutes_VirtualRouterPeerListAdvertisedRoutes() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualRouterPeerListAdvertisedRoute.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_CloudServiceSwapCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_CloudServiceSwapCollection.cs index b48b2d0869015..a6976dddfddf2 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_CloudServiceSwapCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_CloudServiceSwapCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_CloudServiceSwapCollection { - // Get swap resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSwapResource() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/CloudServiceSwapGet.json @@ -50,9 +50,8 @@ public async Task Get_GetSwapResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get swap resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSwapResource() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/CloudServiceSwapGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetSwapResource() Console.WriteLine($"Succeeded: {result}"); } - // Get swap resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSwapResource() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/CloudServiceSwapGet.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetSwapResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetSwapResource() } } - // Put vip swap operation. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutVipSwapOperation() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/CloudServiceSwapPut.json @@ -153,12 +150,11 @@ public async Task CreateOrUpdate_PutVipSwapOperation() }; await collection.CreateOrUpdateAsync(WaitUntil.Completed, data); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get swap resource list - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetSwapResourceList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/CloudServiceSwapList.json @@ -190,7 +186,7 @@ public async Task GetAll_GetSwapResourceList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_CloudServiceSwapResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_CloudServiceSwapResource.cs index 6f4b0804b60bf..7deaed06484af 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_CloudServiceSwapResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_CloudServiceSwapResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_CloudServiceSwapResource { - // Get swap resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSwapResource() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/CloudServiceSwapGet.json @@ -46,9 +46,8 @@ public async Task Get_GetSwapResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put vip swap operation. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PutVipSwapOperation() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/CloudServiceSwapPut.json @@ -74,7 +73,7 @@ public async Task Update_PutVipSwapOperation() }; await cloudServiceSwap.UpdateAsync(WaitUntil.Completed, data); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ConnectionMonitorCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ConnectionMonitorCollection.cs index 7e7ba8a435c80..8aab0de9dea27 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ConnectionMonitorCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ConnectionMonitorCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ConnectionMonitorCollection { - // Create connection monitor V1 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateConnectionMonitorV1() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherConnectionMonitorCreate.json @@ -89,9 +89,8 @@ public async Task CreateOrUpdate_CreateConnectionMonitorV1() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create connection monitor V2 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateConnectionMonitorV2() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherConnectionMonitorV2Create.json @@ -187,9 +186,8 @@ public async Task CreateOrUpdate_CreateConnectionMonitorV2() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create connection monitor with Arc Network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateConnectionMonitorWithArcNetwork() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherConnectionMonitorCreateWithArcNetwork.json @@ -288,9 +286,8 @@ public async Task CreateOrUpdate_CreateConnectionMonitorWithArcNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get connection monitor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetConnectionMonitor() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherConnectionMonitorGet.json @@ -323,9 +320,8 @@ public async Task Get_GetConnectionMonitor() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get connection monitor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetConnectionMonitor() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherConnectionMonitorGet.json @@ -354,9 +350,8 @@ public async Task Exists_GetConnectionMonitor() Console.WriteLine($"Succeeded: {result}"); } - // Get connection monitor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetConnectionMonitor() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherConnectionMonitorGet.json @@ -385,7 +380,7 @@ public async Task GetIfExists_GetConnectionMonitor() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -397,9 +392,8 @@ public async Task GetIfExists_GetConnectionMonitor() } } - // List connection monitors - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListConnectionMonitors() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherConnectionMonitorList.json @@ -431,7 +425,7 @@ public async Task GetAll_ListConnectionMonitors() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ConnectionMonitorResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ConnectionMonitorResource.cs index 5570e3d4f7383..2a0f3aa26c9c0 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ConnectionMonitorResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ConnectionMonitorResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ConnectionMonitorResource { - // Get connection monitor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetConnectionMonitor() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherConnectionMonitorGet.json @@ -47,9 +47,8 @@ public async Task Get_GetConnectionMonitor() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete connection monitor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteConnectionMonitor() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherConnectionMonitorDelete.json @@ -72,12 +71,11 @@ public async Task Delete_DeleteConnectionMonitor() // invoke the operation await connectionMonitor.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update connection monitor tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateConnectionMonitorTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherConnectionMonitorUpdateTags.json @@ -115,9 +113,8 @@ public async Task Update_UpdateConnectionMonitorTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Stop connection monitor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_StopConnectionMonitor() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherConnectionMonitorStop.json @@ -140,12 +137,11 @@ public async Task Stop_StopConnectionMonitor() // invoke the operation await connectionMonitor.StopAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Start connection monitor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_StartConnectionMonitor() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherConnectionMonitorStart.json @@ -168,12 +164,11 @@ public async Task Start_StartConnectionMonitor() // invoke the operation await connectionMonitor.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Query connection monitor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Query_QueryConnectionMonitor() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherConnectionMonitorQuery.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ConnectivityConfigurationCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ConnectivityConfigurationCollection.cs index 07c12e70c981a..2194533fe1164 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ConnectivityConfigurationCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ConnectivityConfigurationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ConnectivityConfigurationCollection { - // ConnectivityConfigurationsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConnectivityConfigurationsGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerConnectivityConfigurationGet.json @@ -50,9 +50,8 @@ public async Task Get_ConnectivityConfigurationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConnectivityConfigurationsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ConnectivityConfigurationsGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerConnectivityConfigurationGet.json @@ -81,9 +80,8 @@ public async Task Exists_ConnectivityConfigurationsGet() Console.WriteLine($"Succeeded: {result}"); } - // ConnectivityConfigurationsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ConnectivityConfigurationsGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerConnectivityConfigurationGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_ConnectivityConfigurationsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_ConnectivityConfigurationsGet() } } - // ConnectivityConfigurationsPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ConnectivityConfigurationsPut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerConnectivityConfigurationPut.json @@ -183,9 +180,8 @@ public async Task CreateOrUpdate_ConnectivityConfigurationsPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConnectivityConfigurationsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ConnectivityConfigurationsList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerConnectivityConfigurationList.json @@ -217,7 +213,7 @@ public async Task GetAll_ConnectivityConfigurationsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ConnectivityConfigurationResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ConnectivityConfigurationResource.cs index d57ba613cdabe..3f05ade434199 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ConnectivityConfigurationResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ConnectivityConfigurationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ConnectivityConfigurationResource { - // ConnectivityConfigurationsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConnectivityConfigurationsGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerConnectivityConfigurationGet.json @@ -47,9 +47,8 @@ public async Task Get_ConnectivityConfigurationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConnectivityConfigurationsPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ConnectivityConfigurationsPut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerConnectivityConfigurationPut.json @@ -103,9 +102,8 @@ public async Task Update_ConnectivityConfigurationsPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConnectivityConfigurationsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ConnectivityConfigurationsDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerConnectivityConfigurationDelete.json @@ -129,7 +127,7 @@ public async Task Delete_ConnectivityConfigurationsDelete() bool? force = false; await connectivityConfiguration.DeleteAsync(WaitUntil.Completed, force: force); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_CustomIPPrefixCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_CustomIPPrefixCollection.cs index f5f0f84449f6d..7df4dcbeac707 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_CustomIPPrefixCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_CustomIPPrefixCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_CustomIPPrefixCollection { - // Get custom IP prefix - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCustomIPPrefix() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/CustomIpPrefixGet.json @@ -49,9 +49,8 @@ public async Task Get_GetCustomIPPrefix() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get custom IP prefix - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCustomIPPrefix() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/CustomIpPrefixGet.json @@ -79,9 +78,8 @@ public async Task Exists_GetCustomIPPrefix() Console.WriteLine($"Succeeded: {result}"); } - // Get custom IP prefix - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCustomIPPrefix() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/CustomIpPrefixGet.json @@ -109,7 +107,7 @@ public async Task GetIfExists_GetCustomIPPrefix() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_GetCustomIPPrefix() } } - // Create custom IP prefix allocation method - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateCustomIPPrefixAllocationMethod() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/CustomIpPrefixCreateCustomizedValues.json @@ -161,9 +158,8 @@ public async Task CreateOrUpdate_CreateCustomIPPrefixAllocationMethod() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List resource group Custom IP prefixes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListResourceGroupCustomIPPrefixes() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/CustomIpPrefixList.json @@ -194,7 +190,7 @@ public async Task GetAll_ListResourceGroupCustomIPPrefixes() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_CustomIPPrefixResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_CustomIPPrefixResource.cs index 90a456637ba54..5266573cdfdc9 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_CustomIPPrefixResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_CustomIPPrefixResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_CustomIPPrefixResource { - // Delete custom IP prefix - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteCustomIPPrefix() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/CustomIpPrefixDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteCustomIPPrefix() // invoke the operation await customIPPrefix.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get custom IP prefix - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCustomIPPrefix() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/CustomIpPrefixGet.json @@ -74,9 +73,8 @@ public async Task Get_GetCustomIPPrefix() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update public IP address tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatePublicIPAddressTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/CustomIpPrefixUpdateTags.json @@ -113,9 +111,8 @@ public async Task Update_UpdatePublicIPAddressTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all custom IP prefixes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCustomIPPrefixes_ListAllCustomIPPrefixes() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/CustomIpPrefixListAll.json @@ -142,7 +139,7 @@ public async Task GetCustomIPPrefixes_ListAllCustomIPPrefixes() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DdosCustomPolicyCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DdosCustomPolicyCollection.cs index 0cee15cf992a1..b289cd9aed6aa 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DdosCustomPolicyCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DdosCustomPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_DdosCustomPolicyCollection { - // Get DDoS custom policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDDoSCustomPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DdosCustomPolicyGet.json @@ -49,9 +49,8 @@ public async Task Get_GetDDoSCustomPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get DDoS custom policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDDoSCustomPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DdosCustomPolicyGet.json @@ -79,9 +78,8 @@ public async Task Exists_GetDDoSCustomPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Get DDoS custom policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDDoSCustomPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DdosCustomPolicyGet.json @@ -109,7 +107,7 @@ public async Task GetIfExists_GetDDoSCustomPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_GetDDoSCustomPolicy() } } - // Create DDoS custom policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateDDoSCustomPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DdosCustomPolicyCreate.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DdosCustomPolicyResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DdosCustomPolicyResource.cs index dba9147607fec..9d67433add852 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DdosCustomPolicyResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DdosCustomPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_DdosCustomPolicyResource { - // Delete DDoS custom policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteDDoSCustomPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DdosCustomPolicyDelete.json @@ -39,12 +39,11 @@ public async Task Delete_DeleteDDoSCustomPolicy() // invoke the operation await ddosCustomPolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get DDoS custom policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDDoSCustomPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DdosCustomPolicyGet.json @@ -73,9 +72,8 @@ public async Task Get_GetDDoSCustomPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DDoS Custom policy Update tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DDoSCustomPolicyUpdateTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DdosCustomPolicyUpdateTags.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DdosProtectionPlanCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DdosProtectionPlanCollection.cs index 0608548590345..fd7ad1a413190 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DdosProtectionPlanCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DdosProtectionPlanCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_DdosProtectionPlanCollection { - // Get DDoS protection plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDDoSProtectionPlan() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DdosProtectionPlanGet.json @@ -49,9 +49,8 @@ public async Task Get_GetDDoSProtectionPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get DDoS protection plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDDoSProtectionPlan() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DdosProtectionPlanGet.json @@ -79,9 +78,8 @@ public async Task Exists_GetDDoSProtectionPlan() Console.WriteLine($"Succeeded: {result}"); } - // Get DDoS protection plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDDoSProtectionPlan() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DdosProtectionPlanGet.json @@ -109,7 +107,7 @@ public async Task GetIfExists_GetDDoSProtectionPlan() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_GetDDoSProtectionPlan() } } - // Create DDoS protection plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateDDoSProtectionPlan() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DdosProtectionPlanCreate.json @@ -157,9 +154,8 @@ public async Task CreateOrUpdate_CreateDDoSProtectionPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List DDoS protection plans in resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDDoSProtectionPlansInResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DdosProtectionPlanList.json @@ -190,7 +186,7 @@ public async Task GetAll_ListDDoSProtectionPlansInResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DdosProtectionPlanResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DdosProtectionPlanResource.cs index 9987ddb376778..cabe3afc6efa6 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DdosProtectionPlanResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DdosProtectionPlanResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_DdosProtectionPlanResource { - // Delete DDoS protection plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteDDoSProtectionPlan() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DdosProtectionPlanDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteDDoSProtectionPlan() // invoke the operation await ddosProtectionPlan.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get DDoS protection plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDDoSProtectionPlan() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DdosProtectionPlanGet.json @@ -74,9 +73,8 @@ public async Task Get_GetDDoSProtectionPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DDoS protection plan Update tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DDoSProtectionPlanUpdateTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DdosProtectionPlanUpdateTags.json @@ -113,9 +111,8 @@ public async Task Update_DDoSProtectionPlanUpdateTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all DDoS protection plans - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDdosProtectionPlans_ListAllDDoSProtectionPlans() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DdosProtectionPlanListAll.json @@ -142,7 +139,7 @@ public async Task GetDdosProtectionPlans_ListAllDDoSProtectionPlans() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DefaultSecurityRuleCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DefaultSecurityRuleCollection.cs index 9da17a74099b9..7d7f35c58def3 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DefaultSecurityRuleCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DefaultSecurityRuleCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_DefaultSecurityRuleCollection { - // DefaultSecurityRuleList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DefaultSecurityRuleList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DefaultSecurityRuleList.json @@ -48,12 +48,11 @@ public async Task GetAll_DefaultSecurityRuleList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DefaultSecurityRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DefaultSecurityRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DefaultSecurityRuleGet.json @@ -86,9 +85,8 @@ public async Task Get_DefaultSecurityRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DefaultSecurityRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DefaultSecurityRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DefaultSecurityRuleGet.json @@ -117,9 +115,8 @@ public async Task Exists_DefaultSecurityRuleGet() Console.WriteLine($"Succeeded: {result}"); } - // DefaultSecurityRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DefaultSecurityRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DefaultSecurityRuleGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_DefaultSecurityRuleGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DefaultSecurityRuleResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DefaultSecurityRuleResource.cs index efc17790a6577..b936463c1429b 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DefaultSecurityRuleResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DefaultSecurityRuleResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_DefaultSecurityRuleResource { - // DefaultSecurityRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DefaultSecurityRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DefaultSecurityRuleGet.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DscpConfigurationCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DscpConfigurationCollection.cs index 7d02f1401f793..522e7ec42e547 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DscpConfigurationCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DscpConfigurationCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_DscpConfigurationCollection { - // Create DSCP Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateDSCPConfiguration() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DscpConfigurationCreate.json @@ -141,9 +141,8 @@ public async Task CreateOrUpdate_CreateDSCPConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Dscp Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDscpConfiguration() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DscpConfigurationGet.json @@ -175,9 +174,8 @@ public async Task Get_GetDscpConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Dscp Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDscpConfiguration() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DscpConfigurationGet.json @@ -205,9 +203,8 @@ public async Task Exists_GetDscpConfiguration() Console.WriteLine($"Succeeded: {result}"); } - // Get Dscp Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDscpConfiguration() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DscpConfigurationGet.json @@ -235,7 +232,7 @@ public async Task GetIfExists_GetDscpConfiguration() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -247,9 +244,8 @@ public async Task GetIfExists_GetDscpConfiguration() } } - // Get Dscp Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetDscpConfiguration() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DscpConfigurationList.json @@ -280,7 +276,7 @@ public async Task GetAll_GetDscpConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DscpConfigurationResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DscpConfigurationResource.cs index 9cbdac244f087..1eaaaf6110ee6 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DscpConfigurationResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_DscpConfigurationResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_DscpConfigurationResource { - // Create DSCP Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateDSCPConfiguration() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DscpConfigurationCreate.json @@ -138,9 +138,8 @@ public async Task Update_CreateDSCPConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete DSCP Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteDSCPConfiguration() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DscpConfigurationDelete.json @@ -162,12 +161,11 @@ public async Task Delete_DeleteDSCPConfiguration() // invoke the operation await dscpConfiguration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Dscp Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDscpConfiguration() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DscpConfigurationGet.json @@ -196,9 +194,8 @@ public async Task Get_GetDscpConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all network interfaces - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDscpConfigurations_ListAllNetworkInterfaces() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/DscpConfigurationListAll.json @@ -225,7 +222,7 @@ public async Task GetDscpConfigurations_ListAllNetworkInterfaces() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitAuthorizationCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitAuthorizationCollection.cs index 0c16c91d74d11..39a5ad904c81f 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitAuthorizationCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitAuthorizationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRouteCircuitAuthorizationCollection { - // Get ExpressRouteCircuit Authorization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetExpressRouteCircuitAuthorization() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitAuthorizationGet.json @@ -49,9 +49,8 @@ public async Task Get_GetExpressRouteCircuitAuthorization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get ExpressRouteCircuit Authorization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetExpressRouteCircuitAuthorization() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitAuthorizationGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetExpressRouteCircuitAuthorization() Console.WriteLine($"Succeeded: {result}"); } - // Get ExpressRouteCircuit Authorization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetExpressRouteCircuitAuthorization() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitAuthorizationGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetExpressRouteCircuitAuthorization() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetExpressRouteCircuitAuthorization() } } - // Create ExpressRouteCircuit Authorization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateExpressRouteCircuitAuthorization() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitAuthorizationCreate.json @@ -160,9 +157,8 @@ public async Task CreateOrUpdate_CreateExpressRouteCircuitAuthorization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List ExpressRouteCircuit Authorization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListExpressRouteCircuitAuthorization() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitAuthorizationList.json @@ -194,7 +190,7 @@ public async Task GetAll_ListExpressRouteCircuitAuthorization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitAuthorizationResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitAuthorizationResource.cs index fb446648e339f..8fe457709b1d1 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitAuthorizationResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitAuthorizationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRouteCircuitAuthorizationResource { - // Delete ExpressRouteCircuit Authorization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteExpressRouteCircuitAuthorization() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitAuthorizationDelete.json @@ -39,12 +39,11 @@ public async Task Delete_DeleteExpressRouteCircuitAuthorization() // invoke the operation await expressRouteCircuitAuthorization.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get ExpressRouteCircuit Authorization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetExpressRouteCircuitAuthorization() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitAuthorizationGet.json @@ -74,9 +73,8 @@ public async Task Get_GetExpressRouteCircuitAuthorization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create ExpressRouteCircuit Authorization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateExpressRouteCircuitAuthorization() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitAuthorizationCreate.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitCollection.cs index ceb5c1c4d7fb0..a730743ba87cc 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRouteCircuitCollection { - // Get ExpressRouteCircuit - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetExpressRouteCircuit() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitGet.json @@ -50,9 +50,8 @@ public async Task Get_GetExpressRouteCircuit() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get ExpressRouteCircuit - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetExpressRouteCircuit() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetExpressRouteCircuit() Console.WriteLine($"Succeeded: {result}"); } - // Get ExpressRouteCircuit - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetExpressRouteCircuit() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitGet.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetExpressRouteCircuit() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetExpressRouteCircuit() } } - // Create ExpressRouteCircuit - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateExpressRouteCircuit() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitCreate.json @@ -180,9 +177,8 @@ public async Task CreateOrUpdate_CreateExpressRouteCircuit() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create ExpressRouteCircuit on ExpressRoutePort - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateExpressRouteCircuitOnExpressRoutePort() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json @@ -229,9 +225,8 @@ public async Task CreateOrUpdate_CreateExpressRouteCircuitOnExpressRoutePort() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List ExpressRouteCircuits in a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListExpressRouteCircuitsInAResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitListByResourceGroup.json @@ -262,7 +257,7 @@ public async Task GetAll_ListExpressRouteCircuitsInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitConnectionCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitConnectionCollection.cs index 82062f1ee515c..d639553eee011 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitConnectionCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRouteCircuitConnectionCollection { - // ExpressRouteCircuitConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExpressRouteCircuitConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitConnectionGet.json @@ -51,9 +51,8 @@ public async Task Get_ExpressRouteCircuitConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExpressRouteCircuitConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ExpressRouteCircuitConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitConnectionGet.json @@ -83,9 +82,8 @@ public async Task Exists_ExpressRouteCircuitConnectionGet() Console.WriteLine($"Succeeded: {result}"); } - // ExpressRouteCircuitConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ExpressRouteCircuitConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitConnectionGet.json @@ -115,7 +113,7 @@ public async Task GetIfExists_ExpressRouteCircuitConnectionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_ExpressRouteCircuitConnectionGet() } } - // ExpressRouteCircuitConnectionCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ExpressRouteCircuitConnectionCreate() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitConnectionCreate.json @@ -175,9 +172,8 @@ public async Task CreateOrUpdate_ExpressRouteCircuitConnectionCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List ExpressRouteCircuit Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListExpressRouteCircuitConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitConnectionList.json @@ -210,7 +206,7 @@ public async Task GetAll_ListExpressRouteCircuitConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitConnectionResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitConnectionResource.cs index 82ba454cff309..2cb25a85ee9d5 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitConnectionResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRouteCircuitConnectionResource { - // Delete ExpressRouteCircuit - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteExpressRouteCircuit() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitConnectionDelete.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteExpressRouteCircuit() // invoke the operation await expressRouteCircuitConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExpressRouteCircuitConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExpressRouteCircuitConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitConnectionGet.json @@ -77,9 +76,8 @@ public async Task Get_ExpressRouteCircuitConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExpressRouteCircuitConnectionCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ExpressRouteCircuitConnectionCreate() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitConnectionCreate.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitPeeringCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitPeeringCollection.cs index e69e1db6e4745..4194e68b3f0a8 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitPeeringCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitPeeringCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRouteCircuitPeeringCollection { - // Get ExpressRouteCircuit Peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetExpressRouteCircuitPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitPeeringGet.json @@ -49,9 +49,8 @@ public async Task Get_GetExpressRouteCircuitPeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get ExpressRouteCircuit Peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetExpressRouteCircuitPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitPeeringGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetExpressRouteCircuitPeering() Console.WriteLine($"Succeeded: {result}"); } - // Get ExpressRouteCircuit Peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetExpressRouteCircuitPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitPeeringGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetExpressRouteCircuitPeering() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetExpressRouteCircuitPeering() } } - // Create ExpressRouteCircuit Peerings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateExpressRouteCircuitPeerings() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitPeeringCreate.json @@ -166,9 +163,8 @@ public async Task CreateOrUpdate_CreateExpressRouteCircuitPeerings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List ExpressRouteCircuit Peerings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListExpressRouteCircuitPeerings() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitPeeringList.json @@ -200,7 +196,7 @@ public async Task GetAll_ListExpressRouteCircuitPeerings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitPeeringResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitPeeringResource.cs index c107218758d98..a5aeb2aba3392 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitPeeringResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitPeeringResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRouteCircuitPeeringResource { - // Delete ExpressRouteCircuit Peerings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteExpressRouteCircuitPeerings() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitPeeringDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteExpressRouteCircuitPeerings() // invoke the operation await expressRouteCircuitPeering.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get ExpressRouteCircuit Peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetExpressRouteCircuitPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitPeeringGet.json @@ -75,9 +74,8 @@ public async Task Get_GetExpressRouteCircuitPeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create ExpressRouteCircuit Peerings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateExpressRouteCircuitPeerings() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitPeeringCreate.json @@ -115,9 +113,8 @@ public async Task Update_CreateExpressRouteCircuitPeerings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List ARP Table - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetArpTableExpressRouteCircuit_ListARPTable() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitARPTableList.json @@ -145,9 +142,8 @@ public async Task GetArpTableExpressRouteCircuit_ListARPTable() Console.WriteLine($"Succeeded: {result}"); } - // List Route Tables - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRoutesTableExpressRouteCircuit_ListRouteTables() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitRouteTableList.json @@ -175,9 +171,8 @@ public async Task GetRoutesTableExpressRouteCircuit_ListRouteTables() Console.WriteLine($"Succeeded: {result}"); } - // List Route Table Summary - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRoutesTableSummaryExpressRouteCircuit_ListRouteTableSummary() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitRouteTableSummaryList.json @@ -205,9 +200,8 @@ public async Task GetRoutesTableSummaryExpressRouteCircuit_ListRouteTableSummary Console.WriteLine($"Succeeded: {result}"); } - // Get ExpressRoute Circuit Peering Traffic Stats - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPeeringStatsExpressRouteCircuit_GetExpressRouteCircuitPeeringTrafficStats() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitPeeringStats.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitResource.cs index 8677d31d5ff3a..061305e6b2e84 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCircuitResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRouteCircuitResource { - // Delete ExpressRouteCircuit - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteExpressRouteCircuit() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteExpressRouteCircuit() // invoke the operation await expressRouteCircuit.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get ExpressRouteCircuit - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetExpressRouteCircuit() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitGet.json @@ -74,9 +73,8 @@ public async Task Get_GetExpressRouteCircuit() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Express Route Circuit Tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateExpressRouteCircuitTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitUpdateTags.json @@ -113,9 +111,8 @@ public async Task Update_UpdateExpressRouteCircuitTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get ExpressRoute Circuit Traffic Stats - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStats_GetExpressRouteCircuitTrafficStats() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitStats.json @@ -140,9 +137,8 @@ public async Task GetStats_GetExpressRouteCircuitTrafficStats() Console.WriteLine($"Succeeded: {result}"); } - // List ExpressRouteCircuits in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExpressRouteCircuits_ListExpressRouteCircuitsInASubscription() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCircuitListBySubscription.json @@ -169,7 +165,7 @@ public async Task GetExpressRouteCircuits_ListExpressRouteCircuitsInASubscriptio Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteConnectionCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteConnectionCollection.cs index 71f41cbf33fd1..6ce28f19dbd07 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteConnectionCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteConnectionCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRouteConnectionCollection { - // ExpressRouteConnectionCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ExpressRouteConnectionCreate() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteConnectionCreate.json @@ -86,9 +86,8 @@ public async Task CreateOrUpdate_ExpressRouteConnectionCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExpressRouteConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExpressRouteConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteConnectionGet.json @@ -121,9 +120,8 @@ public async Task Get_ExpressRouteConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExpressRouteConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ExpressRouteConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteConnectionGet.json @@ -152,9 +150,8 @@ public async Task Exists_ExpressRouteConnectionGet() Console.WriteLine($"Succeeded: {result}"); } - // ExpressRouteConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ExpressRouteConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteConnectionGet.json @@ -183,7 +180,7 @@ public async Task GetIfExists_ExpressRouteConnectionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -195,9 +192,8 @@ public async Task GetIfExists_ExpressRouteConnectionGet() } } - // ExpressRouteConnectionList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ExpressRouteConnectionList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteConnectionList.json @@ -229,7 +225,7 @@ public async Task GetAll_ExpressRouteConnectionList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteConnectionResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteConnectionResource.cs index 1091ce1c14191..e6827d067acab 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteConnectionResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteConnectionResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRouteConnectionResource { - // ExpressRouteConnectionCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ExpressRouteConnectionCreate() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteConnectionCreate.json @@ -83,9 +83,8 @@ public async Task Update_ExpressRouteConnectionCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExpressRouteConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExpressRouteConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteConnectionGet.json @@ -115,9 +114,8 @@ public async Task Get_ExpressRouteConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExpressRouteConnectionDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ExpressRouteConnectionDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteConnectionDelete.json @@ -140,7 +138,7 @@ public async Task Delete_ExpressRouteConnectionDelete() // invoke the operation await expressRouteConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCrossConnectionCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCrossConnectionCollection.cs index 521bfe54aa3a4..203d4747160b7 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCrossConnectionCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCrossConnectionCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRouteCrossConnectionCollection { - // ExpressRouteCrossConnectionListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ExpressRouteCrossConnectionListByResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCrossConnectionListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ExpressRouteCrossConnectionListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetExpressRouteCrossConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetExpressRouteCrossConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCrossConnectionGet.json @@ -86,9 +85,8 @@ public async Task Get_GetExpressRouteCrossConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetExpressRouteCrossConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetExpressRouteCrossConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCrossConnectionGet.json @@ -116,9 +114,8 @@ public async Task Exists_GetExpressRouteCrossConnection() Console.WriteLine($"Succeeded: {result}"); } - // GetExpressRouteCrossConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetExpressRouteCrossConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCrossConnectionGet.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetExpressRouteCrossConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetExpressRouteCrossConnection() } } - // UpdateExpressRouteCrossConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateExpressRouteCrossConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCrossConnectionUpdate.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCrossConnectionPeeringCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCrossConnectionPeeringCollection.cs index 78267f51f5d27..d7bdab194bace 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCrossConnectionPeeringCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCrossConnectionPeeringCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRouteCrossConnectionPeeringCollection { - // ExpressRouteCrossConnectionBgpPeeringList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ExpressRouteCrossConnectionBgpPeeringList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCrossConnectionBgpPeeringList.json @@ -49,12 +49,11 @@ public async Task GetAll_ExpressRouteCrossConnectionBgpPeeringList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetExpressRouteCrossConnectionBgpPeering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetExpressRouteCrossConnectionBgpPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCrossConnectionBgpPeeringGet.json @@ -87,9 +86,8 @@ public async Task Get_GetExpressRouteCrossConnectionBgpPeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetExpressRouteCrossConnectionBgpPeering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetExpressRouteCrossConnectionBgpPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCrossConnectionBgpPeeringGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetExpressRouteCrossConnectionBgpPeering() Console.WriteLine($"Succeeded: {result}"); } - // GetExpressRouteCrossConnectionBgpPeering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetExpressRouteCrossConnectionBgpPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCrossConnectionBgpPeeringGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetExpressRouteCrossConnectionBgpPeering() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetExpressRouteCrossConnectionBgpPeering() } } - // ExpressRouteCrossConnectionBgpPeeringCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ExpressRouteCrossConnectionBgpPeeringCreate() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCrossConnectionPeeringResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCrossConnectionPeeringResource.cs index d3037b1ca75da..40eea9d22cb1f 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCrossConnectionPeeringResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCrossConnectionPeeringResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRouteCrossConnectionPeeringResource { - // GetExpressRouteCrossConnectionsArpTable - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetArpTableExpressRouteCrossConnection_GetExpressRouteCrossConnectionsArpTable() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCrossConnectionsArpTable.json @@ -45,9 +45,8 @@ public async Task GetArpTableExpressRouteCrossConnection_GetExpressRouteCrossCon Console.WriteLine($"Succeeded: {result}"); } - // GetExpressRouteCrossConnectionsRouteTableSummary - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRoutesTableSummaryExpressRouteCrossConnection_GetExpressRouteCrossConnectionsRouteTableSummary() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCrossConnectionsRouteTableSummary.json @@ -75,9 +74,8 @@ public async Task GetRoutesTableSummaryExpressRouteCrossConnection_GetExpressRou Console.WriteLine($"Succeeded: {result}"); } - // GetExpressRouteCrossConnectionsRouteTable - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRoutesTableExpressRouteCrossConnection_GetExpressRouteCrossConnectionsRouteTable() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCrossConnectionsRouteTable.json @@ -105,9 +103,8 @@ public async Task GetRoutesTableExpressRouteCrossConnection_GetExpressRouteCross Console.WriteLine($"Succeeded: {result}"); } - // DeleteExpressRouteCrossConnectionBgpPeering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteExpressRouteCrossConnectionBgpPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCrossConnectionBgpPeeringDelete.json @@ -130,12 +127,11 @@ public async Task Delete_DeleteExpressRouteCrossConnectionBgpPeering() // invoke the operation await expressRouteCrossConnectionPeering.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetExpressRouteCrossConnectionBgpPeering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetExpressRouteCrossConnectionBgpPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCrossConnectionBgpPeeringGet.json @@ -165,9 +161,8 @@ public async Task Get_GetExpressRouteCrossConnectionBgpPeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExpressRouteCrossConnectionBgpPeeringCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ExpressRouteCrossConnectionBgpPeeringCreate() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCrossConnectionResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCrossConnectionResource.cs index 634ff72f65b12..b0ab13376438e 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCrossConnectionResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteCrossConnectionResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRouteCrossConnectionResource { - // ExpressRouteCrossConnectionList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExpressRouteCrossConnections_ExpressRouteCrossConnectionList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCrossConnectionList.json @@ -45,12 +45,11 @@ public async Task GetExpressRouteCrossConnections_ExpressRouteCrossConnectionLis Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetExpressRouteCrossConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetExpressRouteCrossConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCrossConnectionGet.json @@ -79,9 +78,8 @@ public async Task Get_GetExpressRouteCrossConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UpdateExpressRouteCrossConnectionTags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateExpressRouteCrossConnectionTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteCrossConnectionUpdateTags.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteGatewayCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteGatewayCollection.cs index 6c6f5358c35fb..2fd15d39bc86f 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteGatewayCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteGatewayCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRouteGatewayCollection { - // ExpressRouteGatewayListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ExpressRouteGatewayListByResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteGatewayListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ExpressRouteGatewayListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExpressRouteGatewayCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ExpressRouteGatewayCreate() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteGatewayCreate.json @@ -97,9 +96,8 @@ public async Task CreateOrUpdate_ExpressRouteGatewayCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExpressRouteGatewayGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExpressRouteGatewayGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteGatewayGet.json @@ -131,9 +129,8 @@ public async Task Get_ExpressRouteGatewayGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExpressRouteGatewayGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ExpressRouteGatewayGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteGatewayGet.json @@ -161,9 +158,8 @@ public async Task Exists_ExpressRouteGatewayGet() Console.WriteLine($"Succeeded: {result}"); } - // ExpressRouteGatewayGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ExpressRouteGatewayGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteGatewayGet.json @@ -191,7 +187,7 @@ public async Task GetIfExists_ExpressRouteGatewayGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteGatewayResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteGatewayResource.cs index 8fcec8ae81e94..9cacc21ce3b7a 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteGatewayResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteGatewayResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRouteGatewayResource { - // ExpressRouteGatewayListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExpressRouteGateways_ExpressRouteGatewayListBySubscription() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteGatewayListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetExpressRouteGateways_ExpressRouteGatewayListBySubscription( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExpressRouteGatewayUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ExpressRouteGatewayUpdate() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteGatewayUpdateTags.json @@ -88,9 +87,8 @@ public async Task Update_ExpressRouteGatewayUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExpressRouteGatewayGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExpressRouteGatewayGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteGatewayGet.json @@ -119,9 +117,8 @@ public async Task Get_ExpressRouteGatewayGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExpressRouteGatewayDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ExpressRouteGatewayDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteGatewayDelete.json @@ -143,7 +140,7 @@ public async Task Delete_ExpressRouteGatewayDelete() // invoke the operation await expressRouteGateway.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteLinkCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteLinkCollection.cs index 6e0e10fa0592a..4e2dc45455c90 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteLinkCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteLinkCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRouteLinkCollection { - // ExpressRouteLinkGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExpressRouteLinkGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteLinkGet.json @@ -49,9 +49,8 @@ public async Task Get_ExpressRouteLinkGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExpressRouteLinkGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ExpressRouteLinkGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteLinkGet.json @@ -80,9 +79,8 @@ public async Task Exists_ExpressRouteLinkGet() Console.WriteLine($"Succeeded: {result}"); } - // ExpressRouteLinkGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ExpressRouteLinkGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteLinkGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_ExpressRouteLinkGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_ExpressRouteLinkGet() } } - // ExpressRouteLinkGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ExpressRouteLinkGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteLinkList.json @@ -157,7 +154,7 @@ public async Task GetAll_ExpressRouteLinkGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteLinkResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteLinkResource.cs index 3819c34fee757..c2d9a988b2d63 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteLinkResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRouteLinkResource { - // ExpressRouteLinkGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExpressRouteLinkGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteLinkGet.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRoutePortAuthorizationCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRoutePortAuthorizationCollection.cs index fc29d9201e603..fd02fe7dc1daa 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRoutePortAuthorizationCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRoutePortAuthorizationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRoutePortAuthorizationCollection { - // Get ExpressRoutePort Authorization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetExpressRoutePortAuthorization() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRoutePortAuthorizationGet.json @@ -49,9 +49,8 @@ public async Task Get_GetExpressRoutePortAuthorization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get ExpressRoutePort Authorization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetExpressRoutePortAuthorization() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRoutePortAuthorizationGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetExpressRoutePortAuthorization() Console.WriteLine($"Succeeded: {result}"); } - // Get ExpressRoutePort Authorization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetExpressRoutePortAuthorization() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRoutePortAuthorizationGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetExpressRoutePortAuthorization() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetExpressRoutePortAuthorization() } } - // Create ExpressRoutePort Authorization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateExpressRoutePortAuthorization() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRoutePortAuthorizationCreate.json @@ -160,9 +157,8 @@ public async Task CreateOrUpdate_CreateExpressRoutePortAuthorization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List ExpressRoutePort Authorization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListExpressRoutePortAuthorization() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRoutePortAuthorizationList.json @@ -194,7 +190,7 @@ public async Task GetAll_ListExpressRoutePortAuthorization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRoutePortAuthorizationResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRoutePortAuthorizationResource.cs index fd6fc53c80ca8..551dc9a329b17 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRoutePortAuthorizationResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRoutePortAuthorizationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRoutePortAuthorizationResource { - // Delete ExpressRoutePort Authorization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteExpressRoutePortAuthorization() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRoutePortAuthorizationDelete.json @@ -39,12 +39,11 @@ public async Task Delete_DeleteExpressRoutePortAuthorization() // invoke the operation await expressRoutePortAuthorization.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get ExpressRoutePort Authorization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetExpressRoutePortAuthorization() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRoutePortAuthorizationGet.json @@ -74,9 +73,8 @@ public async Task Get_GetExpressRoutePortAuthorization() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create ExpressRoutePort Authorization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateExpressRoutePortAuthorization() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRoutePortAuthorizationCreate.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRoutePortCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRoutePortCollection.cs index bbda33f272eeb..7b12567e888b6 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRoutePortCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRoutePortCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRoutePortCollection { - // ExpressRoutePortGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExpressRoutePortGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRoutePortGet.json @@ -50,9 +50,8 @@ public async Task Get_ExpressRoutePortGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExpressRoutePortGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ExpressRoutePortGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRoutePortGet.json @@ -80,9 +79,8 @@ public async Task Exists_ExpressRoutePortGet() Console.WriteLine($"Succeeded: {result}"); } - // ExpressRoutePortGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ExpressRoutePortGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRoutePortGet.json @@ -110,7 +108,7 @@ public async Task GetIfExists_ExpressRoutePortGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_ExpressRoutePortGet() } } - // ExpressRoutePortCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ExpressRoutePortCreate() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRoutePortCreate.json @@ -165,9 +162,8 @@ public async Task CreateOrUpdate_ExpressRoutePortCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExpressRoutePortUpdateLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ExpressRoutePortUpdateLink() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRoutePortUpdateLink.json @@ -216,9 +212,8 @@ public async Task CreateOrUpdate_ExpressRoutePortUpdateLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExpressRoutePortListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ExpressRoutePortListByResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRoutePortListByResourceGroup.json @@ -249,7 +244,7 @@ public async Task GetAll_ExpressRoutePortListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRoutePortResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRoutePortResource.cs index 58945bf2182f9..4581800ad6e45 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRoutePortResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRoutePortResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRoutePortResource { - // ExpressRoutePortDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ExpressRoutePortDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRoutePortDelete.json @@ -40,12 +40,11 @@ public async Task Delete_ExpressRoutePortDelete() // invoke the operation await expressRoutePort.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExpressRoutePortGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExpressRoutePortGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRoutePortGet.json @@ -74,9 +73,8 @@ public async Task Get_ExpressRoutePortGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExpressRoutePortUpdateTags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ExpressRoutePortUpdateTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRoutePortUpdateTags.json @@ -113,9 +111,8 @@ public async Task Update_ExpressRoutePortUpdateTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExpressRoutePortList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExpressRoutePorts_ExpressRoutePortList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRoutePortList.json @@ -142,12 +139,11 @@ public async Task GetExpressRoutePorts_ExpressRoutePortList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GenerateExpressRoutePortLOA - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateLoa_GenerateExpressRoutePortLOA() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/GenerateExpressRoutePortsLOA.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRoutePortsLocationCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRoutePortsLocationCollection.cs index 9ce744d2139d9..ba3c6a55f3d48 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRoutePortsLocationCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRoutePortsLocationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRoutePortsLocationCollection { - // ExpressRoutePortsLocationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ExpressRoutePortsLocationList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRoutePortsLocationList.json @@ -47,12 +47,11 @@ public async Task GetAll_ExpressRoutePortsLocationList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExpressRoutePortsLocationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExpressRoutePortsLocationGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRoutePortsLocationGet.json @@ -83,9 +82,8 @@ public async Task Get_ExpressRoutePortsLocationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExpressRoutePortsLocationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ExpressRoutePortsLocationGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRoutePortsLocationGet.json @@ -112,9 +110,8 @@ public async Task Exists_ExpressRoutePortsLocationGet() Console.WriteLine($"Succeeded: {result}"); } - // ExpressRoutePortsLocationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ExpressRoutePortsLocationGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRoutePortsLocationGet.json @@ -141,7 +138,7 @@ public async Task GetIfExists_ExpressRoutePortsLocationGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRoutePortsLocationResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRoutePortsLocationResource.cs index 43cdd3e8f5195..c2747c48d7b83 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRoutePortsLocationResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRoutePortsLocationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRoutePortsLocationResource { - // ExpressRoutePortsLocationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExpressRoutePortsLocationGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRoutePortsLocationGet.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteProviderPortCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteProviderPortCollection.cs index f4d46a0e1e749..f9e16c03e19b4 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteProviderPortCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteProviderPortCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRouteProviderPortCollection { - // ExpressRouteProviderPort - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExpressRouteProviderPort() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/expressRouteProviderPort.json @@ -48,9 +48,8 @@ public async Task Get_ExpressRouteProviderPort() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExpressRouteProviderPort - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ExpressRouteProviderPort() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/expressRouteProviderPort.json @@ -77,9 +76,8 @@ public async Task Exists_ExpressRouteProviderPort() Console.WriteLine($"Succeeded: {result}"); } - // ExpressRouteProviderPort - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ExpressRouteProviderPort() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/expressRouteProviderPort.json @@ -106,7 +104,7 @@ public async Task GetIfExists_ExpressRouteProviderPort() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -118,9 +116,8 @@ public async Task GetIfExists_ExpressRouteProviderPort() } } - // ExpressRouteProviderPortList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ExpressRouteProviderPortList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/expressRouteProviderPortList.json @@ -150,7 +147,7 @@ public async Task GetAll_ExpressRouteProviderPortList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteProviderPortResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteProviderPortResource.cs index ad54c9bc96ef4..d4a79bd284840 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteProviderPortResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ExpressRouteProviderPortResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ExpressRouteProviderPortResource { - // Check Dns Name Availability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckDnsNameAvailability_CheckDnsNameAvailability() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/CheckDnsNameAvailability.json @@ -43,9 +43,8 @@ public async Task CheckDnsNameAvailability_CheckDnsNameAvailability() Console.WriteLine($"Succeeded: {result}"); } - // ExpressRouteProviderPort - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExpressRouteProviderPort() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/expressRouteProviderPort.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FirewallPolicyCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FirewallPolicyCollection.cs index 6a2313329a470..d7eb2a8944e7a 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FirewallPolicyCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FirewallPolicyCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_FirewallPolicyCollection { - // Get FirewallPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFirewallPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyGet.json @@ -50,9 +50,8 @@ public async Task Get_GetFirewallPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get FirewallPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetFirewallPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetFirewallPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Get FirewallPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetFirewallPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyGet.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetFirewallPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetFirewallPolicy() } } - // Create FirewallPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateFirewallPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyPut.json @@ -267,9 +264,8 @@ public async Task CreateOrUpdate_CreateFirewallPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all Firewall Policies for a given resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllFirewallPoliciesForAGivenResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyListByResourceGroup.json @@ -300,7 +296,7 @@ public async Task GetAll_ListAllFirewallPoliciesForAGivenResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FirewallPolicyDraftResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FirewallPolicyDraftResource.cs index efd764a29f6cb..28f8484049def 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FirewallPolicyDraftResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FirewallPolicyDraftResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_FirewallPolicyDraftResource { - // create or update firewall policy draft - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateFirewallPolicyDraft() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyDraftPut.json @@ -146,9 +146,8 @@ public async Task CreateOrUpdate_CreateOrUpdateFirewallPolicyDraft() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // delete firewall policy draft - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteFirewallPolicyDraft() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyDraftDelete.json @@ -170,12 +169,11 @@ public async Task Delete_DeleteFirewallPolicyDraft() // invoke the operation await firewallPolicyDraft.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // get firewall policy draft - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFirewallPolicyDraft() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyDraftGet.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FirewallPolicyResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FirewallPolicyResource.cs index 522f1119e63ca..3fc30f9ba642a 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FirewallPolicyResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FirewallPolicyResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_FirewallPolicyResource { - // Delete Firewall Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteFirewallPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteFirewallPolicy() // invoke the operation await firewallPolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get FirewallPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFirewallPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyGet.json @@ -74,9 +73,8 @@ public async Task Get_GetFirewallPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update FirewallPolicy Tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateFirewallPolicyTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyPatch.json @@ -113,9 +111,8 @@ public async Task Update_UpdateFirewallPolicyTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all Firewall Policies for a given subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFirewallPolicies_ListAllFirewallPoliciesForAGivenSubscription() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyListBySubscription.json @@ -142,12 +139,11 @@ public async Task GetFirewallPolicies_ListAllFirewallPoliciesForAGivenSubscripti Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // query signature overrides - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFirewallPolicyIdpsSignature_QuerySignatureOverrides() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyQuerySignatureOverrides.json @@ -194,9 +190,8 @@ public async Task GetFirewallPolicyIdpsSignature_QuerySignatureOverrides() Console.WriteLine($"Succeeded: {result}"); } - // query signature overrides - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFirewallPolicyIdpsSignaturesFilterValue_QuerySignatureOverrides() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyQuerySignatureOverridesFilterValues.json @@ -225,9 +220,8 @@ public async Task GetFirewallPolicyIdpsSignaturesFilterValue_QuerySignatureOverr Console.WriteLine($"Succeeded: {result}"); } - // deploy firewall policy draft - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeployFirewallPolicyDeployment_DeployFirewallPolicyDraft() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyDraftDeploy.json @@ -249,7 +243,7 @@ public async Task DeployFirewallPolicyDeployment_DeployFirewallPolicyDraft() // invoke the operation await firewallPolicy.DeployFirewallPolicyDeploymentAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FirewallPolicyRuleCollectionGroupCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FirewallPolicyRuleCollectionGroupCollection.cs index 467b9d63aea9a..f307d21a81f1d 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FirewallPolicyRuleCollectionGroupCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FirewallPolicyRuleCollectionGroupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_FirewallPolicyRuleCollectionGroupCollection { - // Get FirewallPolicyNatRuleCollectionGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFirewallPolicyNatRuleCollectionGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyNatRuleCollectionGroupGet.json @@ -50,9 +50,8 @@ public async Task Get_GetFirewallPolicyNatRuleCollectionGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get FirewallPolicyNatRuleCollectionGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetFirewallPolicyNatRuleCollectionGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyNatRuleCollectionGroupGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetFirewallPolicyNatRuleCollectionGroup() Console.WriteLine($"Succeeded: {result}"); } - // Get FirewallPolicyNatRuleCollectionGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetFirewallPolicyNatRuleCollectionGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyNatRuleCollectionGroupGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetFirewallPolicyNatRuleCollectionGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetFirewallPolicyNatRuleCollectionGroup() } } - // Get FirewallPolicyRuleCollectionGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFirewallPolicyRuleCollectionGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupGet.json @@ -159,9 +156,8 @@ public async Task Get_GetFirewallPolicyRuleCollectionGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get FirewallPolicyRuleCollectionGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetFirewallPolicyRuleCollectionGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupGet.json @@ -190,9 +186,8 @@ public async Task Exists_GetFirewallPolicyRuleCollectionGroup() Console.WriteLine($"Succeeded: {result}"); } - // Get FirewallPolicyRuleCollectionGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetFirewallPolicyRuleCollectionGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupGet.json @@ -221,7 +216,7 @@ public async Task GetIfExists_GetFirewallPolicyRuleCollectionGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -233,9 +228,8 @@ public async Task GetIfExists_GetFirewallPolicyRuleCollectionGroup() } } - // Get FirewallPolicyRuleCollectionGroup With IpGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFirewallPolicyRuleCollectionGroupWithIpGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupWithIpGroupsGet.json @@ -268,9 +262,8 @@ public async Task Get_GetFirewallPolicyRuleCollectionGroupWithIpGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get FirewallPolicyRuleCollectionGroup With IpGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetFirewallPolicyRuleCollectionGroupWithIpGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupWithIpGroupsGet.json @@ -299,9 +292,8 @@ public async Task Exists_GetFirewallPolicyRuleCollectionGroupWithIpGroups() Console.WriteLine($"Succeeded: {result}"); } - // Get FirewallPolicyRuleCollectionGroup With IpGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetFirewallPolicyRuleCollectionGroupWithIpGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupWithIpGroupsGet.json @@ -330,7 +322,7 @@ public async Task GetIfExists_GetFirewallPolicyRuleCollectionGroupWithIpGroups() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -342,9 +334,8 @@ public async Task GetIfExists_GetFirewallPolicyRuleCollectionGroupWithIpGroups() } } - // Get FirewallPolicyRuleCollectionGroup With Web Categories - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFirewallPolicyRuleCollectionGroupWithWebCategories() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupWithWebCategoriesGet.json @@ -377,9 +368,8 @@ public async Task Get_GetFirewallPolicyRuleCollectionGroupWithWebCategories() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get FirewallPolicyRuleCollectionGroup With Web Categories - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetFirewallPolicyRuleCollectionGroupWithWebCategories() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupWithWebCategoriesGet.json @@ -408,9 +398,8 @@ public async Task Exists_GetFirewallPolicyRuleCollectionGroupWithWebCategories() Console.WriteLine($"Succeeded: {result}"); } - // Get FirewallPolicyRuleCollectionGroup With Web Categories - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetFirewallPolicyRuleCollectionGroupWithWebCategories() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupWithWebCategoriesGet.json @@ -439,7 +428,7 @@ public async Task GetIfExists_GetFirewallPolicyRuleCollectionGroupWithWebCategor if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -451,9 +440,8 @@ public async Task GetIfExists_GetFirewallPolicyRuleCollectionGroupWithWebCategor } } - // Create Firewall Policy Nat Rule Collection Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateFirewallPolicyNatRuleCollectionGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyNatRuleCollectionGroupPut.json @@ -528,9 +516,8 @@ public async Task CreateOrUpdate_CreateFirewallPolicyNatRuleCollectionGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Firewall Policy Rule Collection Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateFirewallPolicyRuleCollectionGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupPut.json @@ -600,9 +587,8 @@ public async Task CreateOrUpdate_CreateFirewallPolicyRuleCollectionGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Firewall Policy Rule Collection Group With IP Groups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateFirewallPolicyRuleCollectionGroupWithIPGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupWithIpGroupsPut.json @@ -671,9 +657,8 @@ public async Task CreateOrUpdate_CreateFirewallPolicyRuleCollectionGroupWithIPGr Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Firewall Policy Rule Collection Group With Web Categories - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateFirewallPolicyRuleCollectionGroupWithWebCategories() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupWithWebCategoriesPut.json @@ -743,9 +728,8 @@ public async Task CreateOrUpdate_CreateFirewallPolicyRuleCollectionGroupWithWebC Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Firewall Policy Rule Collection Group With http header to insert - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateFirewallPolicyRuleCollectionGroupWithHttpHeaderToInsert() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupWithHttpHeadersToInsert.json @@ -823,9 +807,8 @@ public async Task CreateOrUpdate_CreateFirewallPolicyRuleCollectionGroupWithHttp Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all FirewallPolicyRuleCollectionGroup With Web Categories - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllFirewallPolicyRuleCollectionGroupWithWebCategories() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupWithWebCategoriesList.json @@ -857,12 +840,11 @@ public async Task GetAll_ListAllFirewallPolicyRuleCollectionGroupWithWebCategori Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List all FirewallPolicyRuleCollectionGroups for a given FirewallPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllFirewallPolicyRuleCollectionGroupsForAGivenFirewallPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupList.json @@ -894,12 +876,11 @@ public async Task GetAll_ListAllFirewallPolicyRuleCollectionGroupsForAGivenFirew Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List all FirewallPolicyRuleCollectionGroups with IpGroups for a given FirewallPolicy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllFirewallPolicyRuleCollectionGroupsWithIpGroupsForAGivenFirewallPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupWithIpGroupsList.json @@ -931,7 +912,7 @@ public async Task GetAll_ListAllFirewallPolicyRuleCollectionGroupsWithIpGroupsFo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FirewallPolicyRuleCollectionGroupDraftResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FirewallPolicyRuleCollectionGroupDraftResource.cs index b98664c61b772..cc80d8acbe298 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FirewallPolicyRuleCollectionGroupDraftResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FirewallPolicyRuleCollectionGroupDraftResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_FirewallPolicyRuleCollectionGroupDraftResource { - // delete firewall rule collection group draft - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteFirewallRuleCollectionGroupDraft() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupDraftDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteFirewallRuleCollectionGroupDraft() // invoke the operation await firewallPolicyRuleCollectionGroupDraft.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // create or update rule collection group draft - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateRuleCollectionGroupDraft() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupDraftPut.json @@ -112,9 +111,8 @@ public async Task CreateOrUpdate_CreateOrUpdateRuleCollectionGroupDraft() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // get rule collection group draft - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRuleCollectionGroupDraft() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupDraftGet.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FirewallPolicyRuleCollectionGroupResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FirewallPolicyRuleCollectionGroupResource.cs index 1ed93311f9ab7..26162668b0256 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FirewallPolicyRuleCollectionGroupResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FirewallPolicyRuleCollectionGroupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_FirewallPolicyRuleCollectionGroupResource { - // Delete FirewallPolicyRuleCollectionGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteFirewallPolicyRuleCollectionGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteFirewallPolicyRuleCollectionGroup() // invoke the operation await firewallPolicyRuleCollectionGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get FirewallPolicyNatRuleCollectionGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFirewallPolicyNatRuleCollectionGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyNatRuleCollectionGroupGet.json @@ -75,9 +74,8 @@ public async Task Get_GetFirewallPolicyNatRuleCollectionGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get FirewallPolicyRuleCollectionGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFirewallPolicyRuleCollectionGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupGet.json @@ -107,9 +105,8 @@ public async Task Get_GetFirewallPolicyRuleCollectionGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get FirewallPolicyRuleCollectionGroup With IpGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFirewallPolicyRuleCollectionGroupWithIpGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupWithIpGroupsGet.json @@ -139,9 +136,8 @@ public async Task Get_GetFirewallPolicyRuleCollectionGroupWithIpGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get FirewallPolicyRuleCollectionGroup With Web Categories - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFirewallPolicyRuleCollectionGroupWithWebCategories() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupWithWebCategoriesGet.json @@ -171,9 +167,8 @@ public async Task Get_GetFirewallPolicyRuleCollectionGroupWithWebCategories() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Firewall Policy Nat Rule Collection Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateFirewallPolicyNatRuleCollectionGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyNatRuleCollectionGroupPut.json @@ -245,9 +240,8 @@ public async Task Update_CreateFirewallPolicyNatRuleCollectionGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Firewall Policy Rule Collection Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateFirewallPolicyRuleCollectionGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupPut.json @@ -314,9 +308,8 @@ public async Task Update_CreateFirewallPolicyRuleCollectionGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Firewall Policy Rule Collection Group With IP Groups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateFirewallPolicyRuleCollectionGroupWithIPGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupWithIpGroupsPut.json @@ -382,9 +375,8 @@ public async Task Update_CreateFirewallPolicyRuleCollectionGroupWithIPGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Firewall Policy Rule Collection Group With Web Categories - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateFirewallPolicyRuleCollectionGroupWithWebCategories() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupWithWebCategoriesPut.json @@ -451,9 +443,8 @@ public async Task Update_CreateFirewallPolicyRuleCollectionGroupWithWebCategorie Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Firewall Policy Rule Collection Group With http header to insert - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateFirewallPolicyRuleCollectionGroupWithHttpHeaderToInsert() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicyRuleCollectionGroupWithHttpHeadersToInsert.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FlowLogCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FlowLogCollection.cs index 7deca11c58eed..dae21ae0ff9d7 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FlowLogCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FlowLogCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Models; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_FlowLogCollection { - // Create or update flow log - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateFlowLog() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherFlowLogCreate.json @@ -72,9 +72,8 @@ public async Task CreateOrUpdate_CreateOrUpdateFlowLog() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get flow log - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFlowLog() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherFlowLogGet.json @@ -107,9 +106,8 @@ public async Task Get_GetFlowLog() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get flow log - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetFlowLog() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherFlowLogGet.json @@ -138,9 +136,8 @@ public async Task Exists_GetFlowLog() Console.WriteLine($"Succeeded: {result}"); } - // Get flow log - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetFlowLog() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherFlowLogGet.json @@ -169,7 +166,7 @@ public async Task GetIfExists_GetFlowLog() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -181,9 +178,8 @@ public async Task GetIfExists_GetFlowLog() } } - // List connection monitors - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListConnectionMonitors() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherFlowLogList.json @@ -215,7 +211,7 @@ public async Task GetAll_ListConnectionMonitors() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FlowLogResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FlowLogResource.cs index babd5bd7c7a96..a8ece5cf9e640 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FlowLogResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FlowLogResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_FlowLogResource { - // Update flow log tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateFlowLogTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherFlowLogUpdateTags.json @@ -55,9 +55,8 @@ public async Task Update_UpdateFlowLogTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get flow log - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFlowLog() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherFlowLogGet.json @@ -87,9 +86,8 @@ public async Task Get_GetFlowLog() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete flow log - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteFlowLog() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherFlowLogDelete.json @@ -112,7 +110,7 @@ public async Task Delete_DeleteFlowLog() // invoke the operation await flowLog.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FrontendIPConfigurationCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FrontendIPConfigurationCollection.cs index 428550c8a5f2d..ba8c0b9ee5ba7 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FrontendIPConfigurationCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FrontendIPConfigurationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_FrontendIPConfigurationCollection { - // LoadBalancerFrontendIPConfigurationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_LoadBalancerFrontendIPConfigurationList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerFrontendIPConfigurationList.json @@ -48,12 +48,11 @@ public async Task GetAll_LoadBalancerFrontendIPConfigurationList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LoadBalancerFrontendIPConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LoadBalancerFrontendIPConfigurationGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerFrontendIPConfigurationGet.json @@ -86,9 +85,8 @@ public async Task Get_LoadBalancerFrontendIPConfigurationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LoadBalancerFrontendIPConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_LoadBalancerFrontendIPConfigurationGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerFrontendIPConfigurationGet.json @@ -117,9 +115,8 @@ public async Task Exists_LoadBalancerFrontendIPConfigurationGet() Console.WriteLine($"Succeeded: {result}"); } - // LoadBalancerFrontendIPConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_LoadBalancerFrontendIPConfigurationGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerFrontendIPConfigurationGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_LoadBalancerFrontendIPConfigurationGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FrontendIPConfigurationResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FrontendIPConfigurationResource.cs index c3a506146aa86..ff203c4773cae 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FrontendIPConfigurationResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_FrontendIPConfigurationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_FrontendIPConfigurationResource { - // LoadBalancerFrontendIPConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LoadBalancerFrontendIPConfigurationGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerFrontendIPConfigurationGet.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_HubIPConfigurationCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_HubIPConfigurationCollection.cs index fcf19ed859d10..a929655821efa 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_HubIPConfigurationCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_HubIPConfigurationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_HubIPConfigurationCollection { - // VirtualHubVirtualHubRouteTableV2Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualHubVirtualHubRouteTableV2Get() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubIpConfigurationGet.json @@ -49,9 +49,8 @@ public async Task Get_VirtualHubVirtualHubRouteTableV2Get() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualHubVirtualHubRouteTableV2Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VirtualHubVirtualHubRouteTableV2Get() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubIpConfigurationGet.json @@ -80,9 +79,8 @@ public async Task Exists_VirtualHubVirtualHubRouteTableV2Get() Console.WriteLine($"Succeeded: {result}"); } - // VirtualHubVirtualHubRouteTableV2Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VirtualHubVirtualHubRouteTableV2Get() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubIpConfigurationGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_VirtualHubVirtualHubRouteTableV2Get() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_VirtualHubVirtualHubRouteTableV2Get() } } - // VirtualHubIpConfigurationPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VirtualHubIpConfigurationPut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubIpConfigurationPut.json @@ -166,9 +163,8 @@ public async Task CreateOrUpdate_VirtualHubIpConfigurationPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualHubRouteTableV2List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VirtualHubRouteTableV2List() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubIpConfigurationList.json @@ -200,7 +196,7 @@ public async Task GetAll_VirtualHubRouteTableV2List() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_HubIPConfigurationResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_HubIPConfigurationResource.cs index e23b09171f155..ed88f60917899 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_HubIPConfigurationResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_HubIPConfigurationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_HubIPConfigurationResource { - // VirtualHubVirtualHubRouteTableV2Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualHubVirtualHubRouteTableV2Get() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubIpConfigurationGet.json @@ -46,9 +46,8 @@ public async Task Get_VirtualHubVirtualHubRouteTableV2Get() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualHubIpConfigurationPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VirtualHubIpConfigurationPut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubIpConfigurationPut.json @@ -86,9 +85,8 @@ public async Task Update_VirtualHubIpConfigurationPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualHubIpConfigurationDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VirtualHubIpConfigurationDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubIpConfigurationDelete.json @@ -111,7 +109,7 @@ public async Task Delete_VirtualHubIpConfigurationDelete() // invoke the operation await hubIPConfiguration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_HubRouteTableCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_HubRouteTableCollection.cs index a90343f9bb693..c266a31d97a6c 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_HubRouteTableCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_HubRouteTableCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_HubRouteTableCollection { - // RouteTablePut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RouteTablePut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/HubRouteTablePut.json @@ -65,9 +65,8 @@ public async Task CreateOrUpdate_RouteTablePut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RouteTableGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RouteTableGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/HubRouteTableGet.json @@ -100,9 +99,8 @@ public async Task Get_RouteTableGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RouteTableGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RouteTableGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/HubRouteTableGet.json @@ -131,9 +129,8 @@ public async Task Exists_RouteTableGet() Console.WriteLine($"Succeeded: {result}"); } - // RouteTableGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RouteTableGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/HubRouteTableGet.json @@ -162,7 +159,7 @@ public async Task GetIfExists_RouteTableGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -174,9 +171,8 @@ public async Task GetIfExists_RouteTableGet() } } - // RouteTableList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RouteTableList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/HubRouteTableList.json @@ -208,7 +204,7 @@ public async Task GetAll_RouteTableList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_HubRouteTableResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_HubRouteTableResource.cs index bcac96f454fe3..e55d1f616b7f2 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_HubRouteTableResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_HubRouteTableResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_HubRouteTableResource { - // RouteTablePut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RouteTablePut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/HubRouteTablePut.json @@ -62,9 +62,8 @@ public async Task Update_RouteTablePut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RouteTableGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RouteTableGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/HubRouteTableGet.json @@ -94,9 +93,8 @@ public async Task Get_RouteTableGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RouteTableDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RouteTableDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/HubRouteTableDelete.json @@ -119,7 +117,7 @@ public async Task Delete_RouteTableDelete() // invoke the operation await hubRouteTable.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_HubVirtualNetworkConnectionCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_HubVirtualNetworkConnectionCollection.cs index 408b0058b7a3b..61ee42bc8fedf 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_HubVirtualNetworkConnectionCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_HubVirtualNetworkConnectionCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_HubVirtualNetworkConnectionCollection { - // HubVirtualNetworkConnectionPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_HubVirtualNetworkConnectionPut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/HubVirtualNetworkConnectionPut.json @@ -104,9 +104,8 @@ public async Task CreateOrUpdate_HubVirtualNetworkConnectionPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HubVirtualNetworkConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_HubVirtualNetworkConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/HubVirtualNetworkConnectionGet.json @@ -139,9 +138,8 @@ public async Task Get_HubVirtualNetworkConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HubVirtualNetworkConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_HubVirtualNetworkConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/HubVirtualNetworkConnectionGet.json @@ -170,9 +168,8 @@ public async Task Exists_HubVirtualNetworkConnectionGet() Console.WriteLine($"Succeeded: {result}"); } - // HubVirtualNetworkConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_HubVirtualNetworkConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/HubVirtualNetworkConnectionGet.json @@ -201,7 +198,7 @@ public async Task GetIfExists_HubVirtualNetworkConnectionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -213,9 +210,8 @@ public async Task GetIfExists_HubVirtualNetworkConnectionGet() } } - // HubVirtualNetworkConnectionList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_HubVirtualNetworkConnectionList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/HubVirtualNetworkConnectionList.json @@ -247,7 +243,7 @@ public async Task GetAll_HubVirtualNetworkConnectionList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_HubVirtualNetworkConnectionResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_HubVirtualNetworkConnectionResource.cs index d77027938b692..8574e9c19cf74 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_HubVirtualNetworkConnectionResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_HubVirtualNetworkConnectionResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_HubVirtualNetworkConnectionResource { - // HubVirtualNetworkConnectionPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_HubVirtualNetworkConnectionPut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/HubVirtualNetworkConnectionPut.json @@ -101,9 +101,8 @@ public async Task Update_HubVirtualNetworkConnectionPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // HubVirtualNetworkConnectionDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_HubVirtualNetworkConnectionDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/HubVirtualNetworkConnectionDelete.json @@ -126,12 +125,11 @@ public async Task Delete_HubVirtualNetworkConnectionDelete() // invoke the operation await hubVirtualNetworkConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // HubVirtualNetworkConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_HubVirtualNetworkConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/HubVirtualNetworkConnectionGet.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_IPAllocationCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_IPAllocationCollection.cs index 726a7534a32d2..0c96b78a680c1 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_IPAllocationCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_IPAllocationCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_IPAllocationCollection { - // Get IpAllocation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetIpAllocation() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/IpAllocationGet.json @@ -50,9 +50,8 @@ public async Task Get_GetIpAllocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get IpAllocation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetIpAllocation() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/IpAllocationGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetIpAllocation() Console.WriteLine($"Succeeded: {result}"); } - // Get IpAllocation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetIpAllocation() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/IpAllocationGet.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetIpAllocation() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetIpAllocation() } } - // Create IpAllocation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateIpAllocation() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/IpAllocationCreate.json @@ -167,9 +164,8 @@ public async Task CreateOrUpdate_CreateIpAllocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List IpAllocations in resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListIpAllocationsInResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/IpAllocationListByResourceGroup.json @@ -200,7 +196,7 @@ public async Task GetAll_ListIpAllocationsInResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_IPAllocationResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_IPAllocationResource.cs index 6b43966ed2209..a224ae336521a 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_IPAllocationResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_IPAllocationResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_IPAllocationResource { - // Delete IpAllocation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteIpAllocation() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/IpAllocationDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteIpAllocation() // invoke the operation await ipAllocation.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get IpAllocation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetIpAllocation() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/IpAllocationGet.json @@ -74,9 +73,8 @@ public async Task Get_GetIpAllocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update virtual network tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateVirtualNetworkTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/IpAllocationUpdateTags.json @@ -113,9 +111,8 @@ public async Task Update_UpdateVirtualNetworkTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all IpAllocations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIPAllocations_ListAllIpAllocations() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/IpAllocationList.json @@ -142,7 +139,7 @@ public async Task GetIPAllocations_ListAllIpAllocations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_IPGroupCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_IPGroupCollection.cs index eabfa2e7975ae..caa55bb12e36e 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_IPGroupCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_IPGroupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_IPGroupCollection { - // Get_IpGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetIpGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/IpGroupsGet.json @@ -49,9 +49,8 @@ public async Task Get_GetIpGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get_IpGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetIpGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/IpGroupsGet.json @@ -79,9 +78,8 @@ public async Task Exists_GetIpGroups() Console.WriteLine($"Succeeded: {result}"); } - // Get_IpGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetIpGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/IpGroupsGet.json @@ -109,7 +107,7 @@ public async Task GetIfExists_GetIpGroups() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_GetIpGroups() } } - // CreateOrUpdate_IpGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateIpGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/IpGroupsCreate.json @@ -168,9 +165,8 @@ public async Task CreateOrUpdate_CreateOrUpdateIpGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ListByResourceGroup_IpGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListByResourceGroupIpGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/IpGroupsListByResourceGroup.json @@ -201,7 +197,7 @@ public async Task GetAll_ListByResourceGroupIpGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_IPGroupResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_IPGroupResource.cs index c45f64efa49ff..2d9e5311517ac 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_IPGroupResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_IPGroupResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_IPGroupResource { - // Get_IpGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetIpGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/IpGroupsGet.json @@ -47,9 +47,8 @@ public async Task Get_GetIpGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update_IpGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateIpGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/IpGroupsUpdateTags.json @@ -86,9 +85,8 @@ public async Task Update_UpdateIpGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete_IpGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteIpGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/IpGroupsDelete.json @@ -110,12 +108,11 @@ public async Task Delete_DeleteIpGroups() // invoke the operation await ipGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List_IpGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIPGroups_ListIpGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/IpGroupsListBySubscription.json @@ -142,7 +139,7 @@ public async Task GetIPGroups_ListIpGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_InboundNatRuleCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_InboundNatRuleCollection.cs index ceddd08938735..1ef838de510fc 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_InboundNatRuleCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_InboundNatRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_InboundNatRuleCollection { - // InboundNatRuleList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_InboundNatRuleList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/InboundNatRuleList.json @@ -49,12 +49,11 @@ public async Task GetAll_InboundNatRuleList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // InboundNatRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_InboundNatRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/InboundNatRuleGet.json @@ -87,9 +86,8 @@ public async Task Get_InboundNatRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // InboundNatRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_InboundNatRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/InboundNatRuleGet.json @@ -118,9 +116,8 @@ public async Task Exists_InboundNatRuleGet() Console.WriteLine($"Succeeded: {result}"); } - // InboundNatRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_InboundNatRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/InboundNatRuleGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_InboundNatRuleGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_InboundNatRuleGet() } } - // InboundNatRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_InboundNatRuleCreate() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/InboundNatRuleCreate.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_InboundNatRuleResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_InboundNatRuleResource.cs index 128d72a375db7..656b78786bb89 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_InboundNatRuleResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_InboundNatRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_InboundNatRuleResource { - // InboundNatRuleDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_InboundNatRuleDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/InboundNatRuleDelete.json @@ -40,12 +40,11 @@ public async Task Delete_InboundNatRuleDelete() // invoke the operation await inboundNatRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // InboundNatRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_InboundNatRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/InboundNatRuleGet.json @@ -75,9 +74,8 @@ public async Task Get_InboundNatRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // InboundNatRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_InboundNatRuleCreate() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/InboundNatRuleCreate.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_InboundSecurityRuleCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_InboundSecurityRuleCollection.cs index f379dba09d21d..ff7ed4fc7094c 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_InboundSecurityRuleCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_InboundSecurityRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_InboundSecurityRuleCollection { - // Create Network Virtual Appliance Inbound Security Rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNetworkVirtualApplianceInboundSecurityRules() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/InboundSecurityRulePut.json @@ -73,9 +73,8 @@ public async Task CreateOrUpdate_CreateNetworkVirtualApplianceInboundSecurityRul Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Network Virtual Appliance Inbound Security Rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CreateNetworkVirtualApplianceInboundSecurityRules() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/InboundSecurityRuleGet.json @@ -108,9 +107,8 @@ public async Task Get_CreateNetworkVirtualApplianceInboundSecurityRules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Network Virtual Appliance Inbound Security Rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CreateNetworkVirtualApplianceInboundSecurityRules() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/InboundSecurityRuleGet.json @@ -139,9 +137,8 @@ public async Task Exists_CreateNetworkVirtualApplianceInboundSecurityRules() Console.WriteLine($"Succeeded: {result}"); } - // Create Network Virtual Appliance Inbound Security Rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CreateNetworkVirtualApplianceInboundSecurityRules() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/InboundSecurityRuleGet.json @@ -170,7 +167,7 @@ public async Task GetIfExists_CreateNetworkVirtualApplianceInboundSecurityRules( if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_InboundSecurityRuleResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_InboundSecurityRuleResource.cs index 48b60a3306f68..98f8a723095fa 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_InboundSecurityRuleResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_InboundSecurityRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_InboundSecurityRuleResource { - // Create Network Virtual Appliance Inbound Security Rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateNetworkVirtualApplianceInboundSecurityRules() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/InboundSecurityRulePut.json @@ -70,9 +70,8 @@ public async Task Update_CreateNetworkVirtualApplianceInboundSecurityRules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Network Virtual Appliance Inbound Security Rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CreateNetworkVirtualApplianceInboundSecurityRules() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/InboundSecurityRuleGet.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_LoadBalancerCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_LoadBalancerCollection.cs index bc63c7466c1b3..4fef9c953a6c3 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_LoadBalancerCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_LoadBalancerCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_LoadBalancerCollection { - // Get load balancer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetLoadBalancer() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerGet.json @@ -51,9 +51,8 @@ public async Task Get_GetLoadBalancer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get load balancer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetLoadBalancer() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetLoadBalancer() Console.WriteLine($"Succeeded: {result}"); } - // Get load balancer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetLoadBalancer() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetLoadBalancer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetLoadBalancer() } } - // Get load balancer with inbound NAT rule port mapping - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetLoadBalancerWithInboundNATRulePortMapping() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerGetInboundNatRulePortMapping.json @@ -157,9 +154,8 @@ public async Task Get_GetLoadBalancerWithInboundNATRulePortMapping() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get load balancer with inbound NAT rule port mapping - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetLoadBalancerWithInboundNATRulePortMapping() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerGetInboundNatRulePortMapping.json @@ -187,9 +183,8 @@ public async Task Exists_GetLoadBalancerWithInboundNATRulePortMapping() Console.WriteLine($"Succeeded: {result}"); } - // Get load balancer with inbound NAT rule port mapping - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetLoadBalancerWithInboundNATRulePortMapping() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerGetInboundNatRulePortMapping.json @@ -217,7 +212,7 @@ public async Task GetIfExists_GetLoadBalancerWithInboundNATRulePortMapping() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -229,9 +224,8 @@ public async Task GetIfExists_GetLoadBalancerWithInboundNATRulePortMapping() } } - // Create load balancer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateLoadBalancer() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerCreate.json @@ -333,9 +327,8 @@ public async Task CreateOrUpdate_CreateLoadBalancer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create load balancer with Frontend IP in Zone 1 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateLoadBalancerWithFrontendIPInZone1() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerCreateWithZones.json @@ -446,9 +439,8 @@ public async Task CreateOrUpdate_CreateLoadBalancerWithFrontendIPInZone1() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create load balancer with Gateway Load Balancer Consumer configured - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateLoadBalancerWithGatewayLoadBalancerConsumerConfigured() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerCreateGatewayLoadBalancerConsumer.json @@ -556,9 +548,8 @@ public async Task CreateOrUpdate_CreateLoadBalancerWithGatewayLoadBalancerConsum Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create load balancer with Gateway Load Balancer Provider configured with one Backend Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateLoadBalancerWithGatewayLoadBalancerProviderConfiguredWithOneBackendPool() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerCreateGatewayLoadBalancerProviderWithOneBackendPool.json @@ -674,9 +665,8 @@ public async Task CreateOrUpdate_CreateLoadBalancerWithGatewayLoadBalancerProvid Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create load balancer with Gateway Load Balancer Provider configured with two Backend Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateLoadBalancerWithGatewayLoadBalancerProviderConfiguredWithTwoBackendPool() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerCreateGatewayLoadBalancerProviderWithTwoBackendPool.json @@ -782,9 +772,8 @@ public async Task CreateOrUpdate_CreateLoadBalancerWithGatewayLoadBalancerProvid Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create load balancer with Global Tier and one regional load balancer in its backend pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateLoadBalancerWithGlobalTierAndOneRegionalLoadBalancerInItsBackendPool() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerCreateGlobalTier.json @@ -881,9 +870,8 @@ public async Task CreateOrUpdate_CreateLoadBalancerWithGlobalTierAndOneRegionalL Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create load balancer with Standard SKU - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateLoadBalancerWithStandardSKU() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerCreateStandardSku.json @@ -990,9 +978,8 @@ public async Task CreateOrUpdate_CreateLoadBalancerWithStandardSKU() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create load balancer with Sync Mode Property on Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateLoadBalancerWithSyncModePropertyOnPool() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerCreateWithSyncModePropertyOnPool.json @@ -1101,9 +1088,8 @@ public async Task CreateOrUpdate_CreateLoadBalancerWithSyncModePropertyOnPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create load balancer with inbound nat pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateLoadBalancerWithInboundNatPool() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerCreateWithInboundNatPool.json @@ -1191,9 +1177,8 @@ public async Task CreateOrUpdate_CreateLoadBalancerWithInboundNatPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create load balancer with outbound rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateLoadBalancerWithOutboundRules() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerCreateWithOutboundRules.json @@ -1314,9 +1299,8 @@ public async Task CreateOrUpdate_CreateLoadBalancerWithOutboundRules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List load balancers in resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListLoadBalancersInResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerList.json @@ -1347,7 +1331,7 @@ public async Task GetAll_ListLoadBalancersInResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_LoadBalancerResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_LoadBalancerResource.cs index 076cf51f76ab6..24c5f69e917df 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_LoadBalancerResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_LoadBalancerResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_LoadBalancerResource { - // Delete load balancer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteLoadBalancer() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteLoadBalancer() // invoke the operation await loadBalancer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get load balancer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetLoadBalancer() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerGet.json @@ -74,9 +73,8 @@ public async Task Get_GetLoadBalancer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get load balancer with inbound NAT rule port mapping - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetLoadBalancerWithInboundNATRulePortMapping() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerGetInboundNatRulePortMapping.json @@ -105,9 +103,8 @@ public async Task Get_GetLoadBalancerWithInboundNATRulePortMapping() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update load balancer tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateLoadBalancerTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerUpdateTags.json @@ -144,9 +141,8 @@ public async Task Update_UpdateLoadBalancerTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all load balancers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLoadBalancers_ListAllLoadBalancers() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerListAll.json @@ -173,12 +169,11 @@ public async Task GetLoadBalancers_ListAllLoadBalancers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Swap VIPs between two load balancers. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SwapPublicIPAddressesLoadBalancer_SwapVIPsBetweenTwoLoadBalancers() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancersSwapPublicIpAddresses.json @@ -214,12 +209,11 @@ public async Task SwapPublicIPAddressesLoadBalancer_SwapVIPsBetweenTwoLoadBalanc }; await subscriptionResource.SwapPublicIPAddressesLoadBalancerAsync(WaitUntil.Completed, location, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Migrate load balancer to IP Based - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateToIPBased_MigrateLoadBalancerToIPBased() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/MigrateLoadBalancerToIPBased.json @@ -251,9 +245,8 @@ public async Task MigrateToIPBased_MigrateLoadBalancerToIPBased() Console.WriteLine($"Succeeded: {result}"); } - // LoadBalancerNetworkInterfaceListSimple - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLoadBalancerNetworkInterfaces_LoadBalancerNetworkInterfaceListSimple() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerNetworkInterfaceListSimple.json @@ -282,12 +275,11 @@ public async Task GetLoadBalancerNetworkInterfaces_LoadBalancerNetworkInterfaceL Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LoadBalancerNetworkInterfaceListVmss - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLoadBalancerNetworkInterfaces_LoadBalancerNetworkInterfaceListVmss() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerNetworkInterfaceListVmss.json @@ -316,7 +308,7 @@ public async Task GetLoadBalancerNetworkInterfaces_LoadBalancerNetworkInterfaceL Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_LoadBalancingRuleCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_LoadBalancingRuleCollection.cs index b5e0e9c414e5f..ed56059b0cdb3 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_LoadBalancingRuleCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_LoadBalancingRuleCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_LoadBalancingRuleCollection { - // LoadBalancerLoadBalancingRuleList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_LoadBalancerLoadBalancingRuleList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerLoadBalancingRuleList.json @@ -48,12 +48,11 @@ public async Task GetAll_LoadBalancerLoadBalancingRuleList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LoadBalancerLoadBalancingRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LoadBalancerLoadBalancingRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerLoadBalancingRuleGet.json @@ -86,9 +85,8 @@ public async Task Get_LoadBalancerLoadBalancingRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LoadBalancerLoadBalancingRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_LoadBalancerLoadBalancingRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerLoadBalancingRuleGet.json @@ -117,9 +115,8 @@ public async Task Exists_LoadBalancerLoadBalancingRuleGet() Console.WriteLine($"Succeeded: {result}"); } - // LoadBalancerLoadBalancingRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_LoadBalancerLoadBalancingRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerLoadBalancingRuleGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_LoadBalancerLoadBalancingRuleGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_LoadBalancingRuleResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_LoadBalancingRuleResource.cs index 8c6ef70f441d8..a7e1dddf9e9e1 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_LoadBalancingRuleResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_LoadBalancingRuleResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_LoadBalancingRuleResource { - // LoadBalancerLoadBalancingRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LoadBalancerLoadBalancingRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerLoadBalancingRuleGet.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_LocalNetworkGatewayCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_LocalNetworkGatewayCollection.cs index 1add632d97b6e..406f6e0a3548b 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_LocalNetworkGatewayCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_LocalNetworkGatewayCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_LocalNetworkGatewayCollection { - // CreateLocalNetworkGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateLocalNetworkGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LocalNetworkGatewayCreate.json @@ -60,9 +60,8 @@ public async Task CreateOrUpdate_CreateLocalNetworkGateway() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetLocalNetworkGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetLocalNetworkGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LocalNetworkGatewayGet.json @@ -94,9 +93,8 @@ public async Task Get_GetLocalNetworkGateway() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetLocalNetworkGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetLocalNetworkGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LocalNetworkGatewayGet.json @@ -124,9 +122,8 @@ public async Task Exists_GetLocalNetworkGateway() Console.WriteLine($"Succeeded: {result}"); } - // GetLocalNetworkGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetLocalNetworkGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LocalNetworkGatewayGet.json @@ -154,7 +151,7 @@ public async Task GetIfExists_GetLocalNetworkGateway() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -166,9 +163,8 @@ public async Task GetIfExists_GetLocalNetworkGateway() } } - // ListLocalNetworkGateways - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListLocalNetworkGateways() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LocalNetworkGatewayList.json @@ -199,7 +195,7 @@ public async Task GetAll_ListLocalNetworkGateways() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_LocalNetworkGatewayResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_LocalNetworkGatewayResource.cs index 7fa05dee9c9f2..fdadecd8ecf64 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_LocalNetworkGatewayResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_LocalNetworkGatewayResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_LocalNetworkGatewayResource { - // GetLocalNetworkGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetLocalNetworkGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LocalNetworkGatewayGet.json @@ -46,9 +46,8 @@ public async Task Get_GetLocalNetworkGateway() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteLocalNetworkGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteLocalNetworkGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LocalNetworkGatewayDelete.json @@ -70,12 +69,11 @@ public async Task Delete_DeleteLocalNetworkGateway() // invoke the operation await localNetworkGateway.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // UpdateLocalNetworkGatewayTags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateLocalNetworkGatewayTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LocalNetworkGatewayUpdateTags.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ManagementGroupNetworkManagerConnectionCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ManagementGroupNetworkManagerConnectionCollection.cs index 653d574c0c8b5..076ca46fc9a9d 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ManagementGroupNetworkManagerConnectionCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ManagementGroupNetworkManagerConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ManagementGroups; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ManagementGroupNetworkManagerConnectionCollection { - // Create or Update Management Group Network Manager Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateManagementGroupNetworkManagerConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerConnectionManagementGroupPut.json @@ -53,9 +53,8 @@ public async Task CreateOrUpdate_CreateOrUpdateManagementGroupNetworkManagerConn Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Management Group Network Manager Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagementGroupNetworkManagerConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerConnectionManagementGroupGet.json @@ -86,9 +85,8 @@ public async Task Get_GetManagementGroupNetworkManagerConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Management Group Network Manager Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetManagementGroupNetworkManagerConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerConnectionManagementGroupGet.json @@ -115,9 +113,8 @@ public async Task Exists_GetManagementGroupNetworkManagerConnection() Console.WriteLine($"Succeeded: {result}"); } - // Get Management Group Network Manager Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetManagementGroupNetworkManagerConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerConnectionManagementGroupGet.json @@ -144,7 +141,7 @@ public async Task GetIfExists_GetManagementGroupNetworkManagerConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -156,9 +153,8 @@ public async Task GetIfExists_GetManagementGroupNetworkManagerConnection() } } - // List Management Group Network Manager Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListManagementGroupNetworkManagerConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerConnectionManagementGroupList.json @@ -188,7 +184,7 @@ public async Task GetAll_ListManagementGroupNetworkManagerConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ManagementGroupNetworkManagerConnectionResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ManagementGroupNetworkManagerConnectionResource.cs index b3352ae4f9fc5..fd33c40f7aa58 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ManagementGroupNetworkManagerConnectionResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ManagementGroupNetworkManagerConnectionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ManagementGroupNetworkManagerConnectionResource { - // Create or Update Management Group Network Manager Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateManagementGroupNetworkManagerConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerConnectionManagementGroupPut.json @@ -49,9 +49,8 @@ public async Task Update_CreateOrUpdateManagementGroupNetworkManagerConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Management Group Network Manager Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagementGroupNetworkManagerConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerConnectionManagementGroupGet.json @@ -79,9 +78,8 @@ public async Task Get_GetManagementGroupNetworkManagerConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Management Group Network Manager Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteManagementGroupNetworkManagerConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerConnectionManagementGroupDelete.json @@ -102,7 +100,7 @@ public async Task Delete_DeleteManagementGroupNetworkManagerConnection() // invoke the operation await managementGroupNetworkManagerConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NatGatewayCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NatGatewayCollection.cs index 0ccdf67fbb6f0..5b68d6cac4430 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NatGatewayCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NatGatewayCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NatGatewayCollection { - // Get nat gateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNatGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NatGatewayGet.json @@ -51,9 +51,8 @@ public async Task Get_GetNatGateway() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get nat gateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetNatGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NatGatewayGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetNatGateway() Console.WriteLine($"Succeeded: {result}"); } - // Get nat gateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetNatGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NatGatewayGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetNatGateway() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetNatGateway() } } - // Create nat gateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNatGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NatGatewayCreateOrUpdate.json @@ -177,9 +174,8 @@ public async Task CreateOrUpdate_CreateNatGateway() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List nat gateways in resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListNatGatewaysInResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NatGatewayList.json @@ -210,7 +206,7 @@ public async Task GetAll_ListNatGatewaysInResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NatGatewayResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NatGatewayResource.cs index 84fa18f197f6f..06e6aaf8584ff 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NatGatewayResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NatGatewayResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NatGatewayResource { - // Delete nat gateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteNatGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NatGatewayDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteNatGateway() // invoke the operation await natGateway.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get nat gateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNatGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NatGatewayGet.json @@ -74,9 +73,8 @@ public async Task Get_GetNatGateway() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update nat gateway tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateNatGatewayTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NatGatewayUpdateTags.json @@ -113,9 +111,8 @@ public async Task Update_UpdateNatGatewayTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all nat gateways - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNatGateways_ListAllNatGateways() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NatGatewayListAll.json @@ -142,7 +139,7 @@ public async Task GetNatGateways_ListAllNatGateways() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkGroupCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkGroupCollection.cs index 46e05353d365f..a403b8ed1906b 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkGroupCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkGroupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkGroupCollection { - // NetworkGroupsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkGroupsGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerGroupGet.json @@ -50,9 +50,8 @@ public async Task Get_NetworkGroupsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkGroupsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NetworkGroupsGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerGroupGet.json @@ -81,9 +80,8 @@ public async Task Exists_NetworkGroupsGet() Console.WriteLine($"Succeeded: {result}"); } - // NetworkGroupsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NetworkGroupsGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerGroupGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_NetworkGroupsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_NetworkGroupsGet() } } - // NetworkGroupsPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NetworkGroupsPut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerGroupPut.json @@ -165,9 +162,8 @@ public async Task CreateOrUpdate_NetworkGroupsPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkGroupsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NetworkGroupsList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerGroupList.json @@ -199,7 +195,7 @@ public async Task GetAll_NetworkGroupsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkGroupResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkGroupResource.cs index 26144720cef47..5839308478c23 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkGroupResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkGroupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkGroupResource { - // NetworkGroupsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkGroupsGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerGroupGet.json @@ -47,9 +47,8 @@ public async Task Get_NetworkGroupsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkGroupsPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NetworkGroupsPut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerGroupPut.json @@ -85,9 +84,8 @@ public async Task Update_NetworkGroupsPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkGroupsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NetworkGroupsDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerGroupDelete.json @@ -111,7 +109,7 @@ public async Task Delete_NetworkGroupsDelete() bool? force = false; await networkGroup.DeleteAsync(WaitUntil.Completed, force: force); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkGroupStaticMemberCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkGroupStaticMemberCollection.cs index 41652780d5b0c..ec278f5879124 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkGroupStaticMemberCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkGroupStaticMemberCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkGroupStaticMemberCollection { - // StaticMembersGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StaticMembersGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerStaticMemberGet.json @@ -50,9 +50,8 @@ public async Task Get_StaticMembersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StaticMembersGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_StaticMembersGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerStaticMemberGet.json @@ -82,9 +81,8 @@ public async Task Exists_StaticMembersGet() Console.WriteLine($"Succeeded: {result}"); } - // StaticMembersGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_StaticMembersGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerStaticMemberGet.json @@ -114,7 +112,7 @@ public async Task GetIfExists_StaticMembersGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -126,9 +124,8 @@ public async Task GetIfExists_StaticMembersGet() } } - // StaticMemberPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StaticMemberPut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerStaticMemberPut.json @@ -167,9 +164,8 @@ public async Task CreateOrUpdate_StaticMemberPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StaticMembersList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_StaticMembersList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerStaticMemberList.json @@ -202,7 +198,7 @@ public async Task GetAll_StaticMembersList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkGroupStaticMemberResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkGroupStaticMemberResource.cs index a9805ade428e5..97288e06f50ee 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkGroupStaticMemberResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkGroupStaticMemberResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkGroupStaticMemberResource { - // StaticMembersGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StaticMembersGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerStaticMemberGet.json @@ -47,9 +47,8 @@ public async Task Get_StaticMembersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StaticMemberPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StaticMemberPut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerStaticMemberPut.json @@ -85,9 +84,8 @@ public async Task Update_StaticMemberPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StaticMembersDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_StaticMembersDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerStaticMemberDelete.json @@ -111,7 +109,7 @@ public async Task Delete_StaticMembersDelete() // invoke the operation await networkGroupStaticMember.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkInterfaceCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkInterfaceCollection.cs index f8e194097841c..109e2b4a4d50a 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkInterfaceCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkInterfaceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkInterfaceCollection { - // Get network interface - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkInterface() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceGet.json @@ -49,9 +49,8 @@ public async Task Get_GetNetworkInterface() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get network interface - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetNetworkInterface() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceGet.json @@ -79,9 +78,8 @@ public async Task Exists_GetNetworkInterface() Console.WriteLine($"Succeeded: {result}"); } - // Get network interface - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetNetworkInterface() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceGet.json @@ -109,7 +107,7 @@ public async Task GetIfExists_GetNetworkInterface() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_GetNetworkInterface() } } - // Create network interface - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNetworkInterface() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceCreate.json @@ -181,9 +178,8 @@ public async Task CreateOrUpdate_CreateNetworkInterface() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create network interface with Gateway Load Balancer Consumer configured - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNetworkInterfaceWithGatewayLoadBalancerConsumerConfigured() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceCreateGatewayLoadBalancerConsumer.json @@ -237,9 +233,8 @@ public async Task CreateOrUpdate_CreateNetworkInterfaceWithGatewayLoadBalancerCo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List network interfaces in resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListNetworkInterfacesInResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceList.json @@ -270,7 +265,7 @@ public async Task GetAll_ListNetworkInterfacesInResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkInterfaceIPConfigurationCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkInterfaceIPConfigurationCollection.cs index ca49449a2680e..72c69f824cd45 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkInterfaceIPConfigurationCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkInterfaceIPConfigurationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkInterfaceIPConfigurationCollection { - // NetworkInterfaceIPConfigurationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NetworkInterfaceIPConfigurationList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceIPConfigurationList.json @@ -48,12 +48,11 @@ public async Task GetAll_NetworkInterfaceIPConfigurationList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NetworkInterfaceIPConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkInterfaceIPConfigurationGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceIPConfigurationGet.json @@ -86,9 +85,8 @@ public async Task Get_NetworkInterfaceIPConfigurationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkInterfaceIPConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NetworkInterfaceIPConfigurationGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceIPConfigurationGet.json @@ -117,9 +115,8 @@ public async Task Exists_NetworkInterfaceIPConfigurationGet() Console.WriteLine($"Succeeded: {result}"); } - // NetworkInterfaceIPConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NetworkInterfaceIPConfigurationGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceIPConfigurationGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_NetworkInterfaceIPConfigurationGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkInterfaceIPConfigurationResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkInterfaceIPConfigurationResource.cs index 254ecd2e13fc8..5a95eef133c7d 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkInterfaceIPConfigurationResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkInterfaceIPConfigurationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkInterfaceIPConfigurationResource { - // NetworkInterfaceIPConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkInterfaceIPConfigurationGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceIPConfigurationGet.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkInterfaceResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkInterfaceResource.cs index 07bc8037f9f38..22555a94bfa0d 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkInterfaceResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkInterfaceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkInterfaceResource { - // Delete network interface - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteNetworkInterface() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteNetworkInterface() // invoke the operation await networkInterface.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get network interface - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkInterface() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceGet.json @@ -74,9 +73,8 @@ public async Task Get_GetNetworkInterface() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update network interface tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateNetworkInterfaceTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceUpdateTags.json @@ -113,9 +111,8 @@ public async Task Update_UpdateNetworkInterfaceTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all network interfaces - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkInterfaces_ListAllNetworkInterfaces() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceListAll.json @@ -142,12 +139,11 @@ public async Task GetNetworkInterfaces_ListAllNetworkInterfaces() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Show network interface effective route tables - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEffectiveRouteTable_ShowNetworkInterfaceEffectiveRouteTables() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceEffectiveRouteTableList.json @@ -173,9 +169,8 @@ public async Task GetEffectiveRouteTable_ShowNetworkInterfaceEffectiveRouteTable Console.WriteLine($"Succeeded: {result}"); } - // List network interface effective network security groups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEffectiveNetworkSecurityGroups_ListNetworkInterfaceEffectiveNetworkSecurityGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceEffectiveNSGList.json @@ -201,9 +196,8 @@ public async Task GetEffectiveNetworkSecurityGroups_ListNetworkInterfaceEffectiv Console.WriteLine($"Succeeded: {result}"); } - // NetworkInterfaceLoadBalancerList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkInterfaceLoadBalancers_NetworkInterfaceLoadBalancerList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceLoadBalancerList.json @@ -232,7 +226,7 @@ public async Task GetNetworkInterfaceLoadBalancers_NetworkInterfaceLoadBalancerL Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkInterfaceTapConfigurationCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkInterfaceTapConfigurationCollection.cs index c45f653d5a4a4..8a28d74d27446 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkInterfaceTapConfigurationCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkInterfaceTapConfigurationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkInterfaceTapConfigurationCollection { - // Get Network Interface Tap Configurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkInterfaceTapConfigurations() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceTapConfigurationGet.json @@ -49,9 +49,8 @@ public async Task Get_GetNetworkInterfaceTapConfigurations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Network Interface Tap Configurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetNetworkInterfaceTapConfigurations() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceTapConfigurationGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetNetworkInterfaceTapConfigurations() Console.WriteLine($"Succeeded: {result}"); } - // Get Network Interface Tap Configurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetNetworkInterfaceTapConfigurations() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceTapConfigurationGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetNetworkInterfaceTapConfigurations() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetNetworkInterfaceTapConfigurations() } } - // Create Network Interface Tap Configurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNetworkInterfaceTapConfigurations() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceTapConfigurationCreate.json @@ -166,9 +163,8 @@ public async Task CreateOrUpdate_CreateNetworkInterfaceTapConfigurations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List virtual network tap configurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListVirtualNetworkTapConfigurations() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceTapConfigurationList.json @@ -200,7 +196,7 @@ public async Task GetAll_ListVirtualNetworkTapConfigurations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkInterfaceTapConfigurationResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkInterfaceTapConfigurationResource.cs index 001194aaf06d3..db7336d807d07 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkInterfaceTapConfigurationResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkInterfaceTapConfigurationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkInterfaceTapConfigurationResource { - // Delete tap configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteTapConfiguration() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceTapConfigurationDelete.json @@ -39,12 +39,11 @@ public async Task Delete_DeleteTapConfiguration() // invoke the operation await networkInterfaceTapConfiguration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Network Interface Tap Configurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkInterfaceTapConfigurations() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceTapConfigurationGet.json @@ -74,9 +73,8 @@ public async Task Get_GetNetworkInterfaceTapConfigurations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Network Interface Tap Configurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateNetworkInterfaceTapConfigurations() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkInterfaceTapConfigurationCreate.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerCollection.cs index c97e9a6dd8186..30770289fafe5 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkManagerCollection { - // NetworkManagersGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkManagersGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerGet.json @@ -50,9 +50,8 @@ public async Task Get_NetworkManagersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkManagersGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NetworkManagersGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerGet.json @@ -80,9 +79,8 @@ public async Task Exists_NetworkManagersGet() Console.WriteLine($"Succeeded: {result}"); } - // NetworkManagersGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NetworkManagersGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerGet.json @@ -110,7 +108,7 @@ public async Task GetIfExists_NetworkManagersGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_NetworkManagersGet() } } - // Put Network Manager - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutNetworkManager() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerPut.json @@ -176,9 +173,8 @@ public async Task CreateOrUpdate_PutNetworkManager() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List Network Manager - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListNetworkManager() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerList.json @@ -209,7 +205,7 @@ public async Task GetAll_ListNetworkManager() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerResource.cs index 45941094fc8fa..589a1a9a99caa 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkManagerResource { - // List Active Connectivity Configurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetActiveConnectivityConfigurations_ListActiveConnectivityConfigurations() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerActiveConnectivityConfigurationsList.json @@ -51,12 +51,11 @@ public async Task GetActiveConnectivityConfigurations_ListActiveConnectivityConf Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Active Security Admin Rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetActiveSecurityAdminRules_ListActiveSecurityAdminRules() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerActiveSecurityAdminRulesList.json @@ -89,12 +88,11 @@ public async Task GetActiveSecurityAdminRules_ListActiveSecurityAdminRules() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NetworkManagersGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkManagersGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerGet.json @@ -123,9 +121,8 @@ public async Task Get_NetworkManagersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkManagersDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NetworkManagersDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerDelete.json @@ -148,12 +145,11 @@ public async Task Delete_NetworkManagersDelete() bool? force = false; await networkManager.DeleteAsync(WaitUntil.Completed, force: force); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NetworkManagesPatch - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NetworkManagesPatch() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerPatch.json @@ -190,9 +186,8 @@ public async Task Update_NetworkManagesPatch() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkManagersList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkManagers_NetworkManagersList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerListAll.json @@ -219,12 +214,11 @@ public async Task GetNetworkManagers_NetworkManagersList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NetworkManageCommitPost - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PostNetworkManagerCommit_NetworkManageCommitPost() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerCommitPost.json @@ -260,9 +254,8 @@ public async Task PostNetworkManagerCommit_NetworkManageCommitPost() Console.WriteLine($"Succeeded: {result}"); } - // NetworkManagerDeploymentStatusList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkManagerDeploymentStatus_NetworkManagerDeploymentStatusList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerDeploymentStatusList.json @@ -299,7 +292,7 @@ public async Task GetNetworkManagerDeploymentStatus_NetworkManagerDeploymentStat Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerRoutingConfigurationCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerRoutingConfigurationCollection.cs index 68b008a732c59..dd23320c5e8b8 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerRoutingConfigurationCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerRoutingConfigurationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkManagerRoutingConfigurationCollection { - // List routing configurations in a network manager - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRoutingConfigurationsInANetworkManager() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingConfigurationList.json @@ -48,12 +48,11 @@ public async Task GetAll_ListRoutingConfigurationsInANetworkManager() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get routing configurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRoutingConfigurations() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingConfigurationGet.json @@ -86,9 +85,8 @@ public async Task Get_GetRoutingConfigurations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get routing configurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRoutingConfigurations() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingConfigurationGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetRoutingConfigurations() Console.WriteLine($"Succeeded: {result}"); } - // Get routing configurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRoutingConfigurations() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingConfigurationGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetRoutingConfigurations() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GetRoutingConfigurations() } } - // Create network manager routing configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNetworkManagerRoutingConfiguration() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingConfigurationPut.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerRoutingConfigurationResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerRoutingConfigurationResource.cs index ed5659eb894e9..5562a181bdbf5 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerRoutingConfigurationResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerRoutingConfigurationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkManagerRoutingConfigurationResource { - // Get routing configurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRoutingConfigurations() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingConfigurationGet.json @@ -46,9 +46,8 @@ public async Task Get_GetRoutingConfigurations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create network manager routing configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateNetworkManagerRoutingConfiguration() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingConfigurationPut.json @@ -83,9 +82,8 @@ public async Task Update_CreateNetworkManagerRoutingConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete network manager routing configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteNetworkManagerRoutingConfiguration() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingConfigurationDelete.json @@ -108,7 +106,7 @@ public async Task Delete_DeleteNetworkManagerRoutingConfiguration() // invoke the operation await networkManagerRoutingConfiguration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerRoutingRuleCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerRoutingRuleCollection.cs index 5edccdbdab23d..6c3763c4caa4f 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerRoutingRuleCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerRoutingRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkManagerRoutingRuleCollection { - // List routing rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRoutingRules() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingRuleList.json @@ -51,12 +51,11 @@ public async Task GetAll_ListRoutingRules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets routing rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsRoutingRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingRuleGet.json @@ -91,9 +90,8 @@ public async Task Get_GetsRoutingRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets routing rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsRoutingRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingRuleGet.json @@ -124,9 +122,8 @@ public async Task Exists_GetsRoutingRule() Console.WriteLine($"Succeeded: {result}"); } - // Gets routing rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsRoutingRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingRuleGet.json @@ -157,7 +154,7 @@ public async Task GetIfExists_GetsRoutingRule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_GetsRoutingRule() } } - // Create a default routing rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADefaultRoutingRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingRulePut.json @@ -213,9 +209,8 @@ public async Task CreateOrUpdate_CreateADefaultRoutingRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an routing rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnRoutingRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingRulePut.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerRoutingRuleResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerRoutingRuleResource.cs index 8912ab7496ec7..f9ec5ed61c50d 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerRoutingRuleResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerRoutingRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkManagerRoutingRuleResource { - // Gets routing rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsRoutingRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingRuleGet.json @@ -49,9 +49,8 @@ public async Task Get_GetsRoutingRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a default routing rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateADefaultRoutingRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingRulePut.json @@ -90,9 +89,8 @@ public async Task Update_CreateADefaultRoutingRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an routing rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAnRoutingRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingRulePut.json @@ -131,9 +129,8 @@ public async Task Update_CreateAnRoutingRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a routing rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesARoutingRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingRuleDelete.json @@ -159,7 +156,7 @@ public async Task Delete_DeletesARoutingRule() bool? force = false; await networkManagerRoutingRule.DeleteAsync(WaitUntil.Completed, force: force); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerRoutingRulesCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerRoutingRulesCollection.cs index 5ad0cd05b5875..0b76464395260 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerRoutingRulesCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerRoutingRulesCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkManagerRoutingRulesCollection { - // List routing rule collections - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRoutingRuleCollections() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingRuleCollectionList.json @@ -50,12 +50,11 @@ public async Task GetAll_ListRoutingRuleCollections() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets routing rule collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsRoutingRuleCollection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingRuleCollectionGet.json @@ -89,9 +88,8 @@ public async Task Get_GetsRoutingRuleCollection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets routing rule collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsRoutingRuleCollection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingRuleCollectionGet.json @@ -121,9 +119,8 @@ public async Task Exists_GetsRoutingRuleCollection() Console.WriteLine($"Succeeded: {result}"); } - // Gets routing rule collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsRoutingRuleCollection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingRuleCollectionGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetsRoutingRuleCollection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_GetsRoutingRuleCollection() } } - // Create or Update a routing rule collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateARoutingRuleCollection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingRuleCollectionPut.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerRoutingRulesResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerRoutingRulesResource.cs index d7352aa66ab23..7c6a32f4c5ee7 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerRoutingRulesResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerRoutingRulesResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkManagerRoutingRulesResource { - // Gets routing rule collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsRoutingRuleCollection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingRuleCollectionGet.json @@ -48,9 +48,8 @@ public async Task Get_GetsRoutingRuleCollection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update a routing rule collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateARoutingRuleCollection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingRuleCollectionPut.json @@ -90,9 +89,8 @@ public async Task Update_CreateOrUpdateARoutingRuleCollection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes an routing rule collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAnRoutingRuleCollection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerRoutingRuleCollectionDelete.json @@ -116,7 +114,7 @@ public async Task Delete_DeletesAnRoutingRuleCollection() // invoke the operation await networkManagerRoutingRules.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerSecurityUserConfigurationCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerSecurityUserConfigurationCollection.cs index 5716bc217c630..1daff060a071b 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerSecurityUserConfigurationCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerSecurityUserConfigurationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkManagerSecurityUserConfigurationCollection { - // List security user configurations in a network manager - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSecurityUserConfigurationsInANetworkManager() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityUserConfigurationList.json @@ -48,12 +48,11 @@ public async Task GetAll_ListSecurityUserConfigurationsInANetworkManager() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get security user configurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityUserConfigurations() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityUserConfigurationGet.json @@ -86,9 +85,8 @@ public async Task Get_GetSecurityUserConfigurations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get security user configurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSecurityUserConfigurations() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityUserConfigurationGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetSecurityUserConfigurations() Console.WriteLine($"Succeeded: {result}"); } - // Get security user configurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSecurityUserConfigurations() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityUserConfigurationGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetSecurityUserConfigurations() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GetSecurityUserConfigurations() } } - // Create network manager security user configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNetworkManagerSecurityUserConfiguration() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityUserConfigurationPut.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerSecurityUserConfigurationResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerSecurityUserConfigurationResource.cs index 0009727cc3df2..ba4513f654ea8 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerSecurityUserConfigurationResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerSecurityUserConfigurationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkManagerSecurityUserConfigurationResource { - // Get security user configurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityUserConfigurations() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityUserConfigurationGet.json @@ -46,9 +46,8 @@ public async Task Get_GetSecurityUserConfigurations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create network manager security user configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateNetworkManagerSecurityUserConfiguration() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityUserConfigurationPut.json @@ -83,9 +82,8 @@ public async Task Update_CreateNetworkManagerSecurityUserConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete network manager security user configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteNetworkManagerSecurityUserConfiguration() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityUserConfigurationDelete.json @@ -109,7 +107,7 @@ public async Task Delete_DeleteNetworkManagerSecurityUserConfiguration() bool? force = false; await networkManagerSecurityUserConfiguration.DeleteAsync(WaitUntil.Completed, force: force); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerSecurityUserRuleCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerSecurityUserRuleCollection.cs index 5574a6ad911d7..bf2d8c561df87 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerSecurityUserRuleCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerSecurityUserRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkManagerSecurityUserRuleCollection { - // List security user rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSecurityUserRules() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityUserRuleList.json @@ -51,12 +51,11 @@ public async Task GetAll_ListSecurityUserRules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a security user rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsASecurityUserRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityUserRuleGet.json @@ -91,9 +90,8 @@ public async Task Get_GetsASecurityUserRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a security user rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsASecurityUserRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityUserRuleGet.json @@ -124,9 +122,8 @@ public async Task Exists_GetsASecurityUserRule() Console.WriteLine($"Succeeded: {result}"); } - // Gets a security user rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsASecurityUserRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityUserRuleGet.json @@ -157,7 +154,7 @@ public async Task GetIfExists_GetsASecurityUserRule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_GetsASecurityUserRule() } } - // Create a security user rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateASecurityUserRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityUserRulePut.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerSecurityUserRuleResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerSecurityUserRuleResource.cs index e78c5cc766f70..43f36fd6db643 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerSecurityUserRuleResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerSecurityUserRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkManagerSecurityUserRuleResource { - // Gets a security user rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsASecurityUserRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityUserRuleGet.json @@ -49,9 +49,8 @@ public async Task Get_GetsASecurityUserRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a security user rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateASecurityUserRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityUserRulePut.json @@ -114,9 +113,8 @@ public async Task Update_CreateASecurityUserRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a security user rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteASecurityUserRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityUserRuleDelete.json @@ -142,7 +140,7 @@ public async Task Delete_DeleteASecurityUserRule() bool? force = false; await networkManagerSecurityUserRule.DeleteAsync(WaitUntil.Completed, force: force); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerSecurityUserRulesCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerSecurityUserRulesCollection.cs index 952281616b44c..74705df129cd9 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerSecurityUserRulesCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerSecurityUserRulesCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkManagerSecurityUserRulesCollection { - // List rule collections in a security configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRuleCollectionsInASecurityConfiguration() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityUserRuleCollectionList.json @@ -50,12 +50,11 @@ public async Task GetAll_ListRuleCollectionsInASecurityConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets security user rule collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsSecurityUserRuleCollection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityUserRuleCollectionGet.json @@ -89,9 +88,8 @@ public async Task Get_GetsSecurityUserRuleCollection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets security user rule collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsSecurityUserRuleCollection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityUserRuleCollectionGet.json @@ -121,9 +119,8 @@ public async Task Exists_GetsSecurityUserRuleCollection() Console.WriteLine($"Succeeded: {result}"); } - // Gets security user rule collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsSecurityUserRuleCollection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityUserRuleCollectionGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetsSecurityUserRuleCollection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_GetsSecurityUserRuleCollection() } } - // Create or Update a Security User Rule Collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateASecurityUserRuleCollection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityUserRuleCollectionPut.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerSecurityUserRulesResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerSecurityUserRulesResource.cs index 2f3837ab06c46..16fd87df02945 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerSecurityUserRulesResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkManagerSecurityUserRulesResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkManagerSecurityUserRulesResource { - // Gets security user rule collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsSecurityUserRuleCollection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityUserRuleCollectionGet.json @@ -48,9 +48,8 @@ public async Task Get_GetsSecurityUserRuleCollection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update a Security User Rule Collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateASecurityUserRuleCollection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityUserRuleCollectionPut.json @@ -90,9 +89,8 @@ public async Task Update_CreateOrUpdateASecurityUserRuleCollection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a Security User Rule collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesASecurityUserRuleCollection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityUserRuleCollectionDelete.json @@ -117,7 +115,7 @@ public async Task Delete_DeletesASecurityUserRuleCollection() bool? force = false; await networkManagerSecurityUserRules.DeleteAsync(WaitUntil.Completed, force: force); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkPrivateEndpointConnectionCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkPrivateEndpointConnectionCollection.cs index d2bbcfafdf3e4..1bfa4a12135d1 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkPrivateEndpointConnectionCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkPrivateEndpointConnectionCollection { - // Get private end point connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateEndPointConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateLinkServiceGetPrivateEndpointConnection.json @@ -50,9 +50,8 @@ public async Task Get_GetPrivateEndPointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get private end point connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPrivateEndPointConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateLinkServiceGetPrivateEndpointConnection.json @@ -81,9 +80,8 @@ public async Task Exists_GetPrivateEndPointConnection() Console.WriteLine($"Succeeded: {result}"); } - // Get private end point connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPrivateEndPointConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateLinkServiceGetPrivateEndpointConnection.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetPrivateEndPointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetPrivateEndPointConnection() } } - // approve or reject private end point connection for a private link service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApproveOrRejectPrivateEndPointConnectionForAPrivateLinkService() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json @@ -169,9 +166,8 @@ public async Task CreateOrUpdate_ApproveOrRejectPrivateEndPointConnectionForAPri Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List private link service in resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPrivateLinkServiceInResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateLinkServiceListPrivateEndpointConnection.json @@ -203,7 +199,7 @@ public async Task GetAll_ListPrivateLinkServiceInResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkPrivateEndpointConnectionResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkPrivateEndpointConnectionResource.cs index 99980ead3c9c4..d3bee760f6c4d 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkPrivateEndpointConnectionResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkPrivateEndpointConnectionResource { - // Get private end point connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateEndPointConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateLinkServiceGetPrivateEndpointConnection.json @@ -47,9 +47,8 @@ public async Task Get_GetPrivateEndPointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // approve or reject private end point connection for a private link service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApproveOrRejectPrivateEndPointConnectionForAPrivateLinkService() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json @@ -89,9 +88,8 @@ public async Task Update_ApproveOrRejectPrivateEndPointConnectionForAPrivateLink Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // delete private end point connection for a private link service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletePrivateEndPointConnectionForAPrivateLinkService() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateLinkServiceDeletePrivateEndpointConnection.json @@ -114,7 +112,7 @@ public async Task Delete_DeletePrivateEndPointConnectionForAPrivateLinkService() // invoke the operation await networkPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkProfileCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkProfileCollection.cs index 5ff174ce1708e..a1abbef01dbf2 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkProfileCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkProfileCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkProfileCollection { - // Get network profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkProfile() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkProfileGetConfigOnly.json @@ -50,9 +50,8 @@ public async Task Get_GetNetworkProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get network profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetNetworkProfile() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkProfileGetConfigOnly.json @@ -80,9 +79,8 @@ public async Task Exists_GetNetworkProfile() Console.WriteLine($"Succeeded: {result}"); } - // Get network profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetNetworkProfile() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkProfileGetConfigOnly.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetNetworkProfile() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetNetworkProfile() } } - // Get network profile with container network interfaces - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkProfileWithContainerNetworkInterfaces() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkProfileGetWithContainerNic.json @@ -156,9 +153,8 @@ public async Task Get_GetNetworkProfileWithContainerNetworkInterfaces() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get network profile with container network interfaces - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetNetworkProfileWithContainerNetworkInterfaces() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkProfileGetWithContainerNic.json @@ -186,9 +182,8 @@ public async Task Exists_GetNetworkProfileWithContainerNetworkInterfaces() Console.WriteLine($"Succeeded: {result}"); } - // Get network profile with container network interfaces - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetNetworkProfileWithContainerNetworkInterfaces() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkProfileGetWithContainerNic.json @@ -216,7 +211,7 @@ public async Task GetIfExists_GetNetworkProfileWithContainerNetworkInterfaces() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -228,9 +223,8 @@ public async Task GetIfExists_GetNetworkProfileWithContainerNetworkInterfaces() } } - // Create network profile defaults - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNetworkProfileDefaults() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkProfileCreateConfigOnly.json @@ -285,9 +279,8 @@ public async Task CreateOrUpdate_CreateNetworkProfileDefaults() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List resource group network profiles - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListResourceGroupNetworkProfiles() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkProfileList.json @@ -318,7 +311,7 @@ public async Task GetAll_ListResourceGroupNetworkProfiles() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkProfileResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkProfileResource.cs index d28c8d44f0daf..4e3da8949f570 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkProfileResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkProfileResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkProfileResource { - // Delete network profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteNetworkProfile() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkProfileDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteNetworkProfile() // invoke the operation await networkProfile.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get network profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkProfile() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkProfileGetConfigOnly.json @@ -74,9 +73,8 @@ public async Task Get_GetNetworkProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get network profile with container network interfaces - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkProfileWithContainerNetworkInterfaces() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkProfileGetWithContainerNic.json @@ -105,9 +103,8 @@ public async Task Get_GetNetworkProfileWithContainerNetworkInterfaces() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update network profile tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateNetworkProfileTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkProfileUpdateTags.json @@ -144,9 +141,8 @@ public async Task Update_UpdateNetworkProfileTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all network profiles - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkProfiles_ListAllNetworkProfiles() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkProfileListAll.json @@ -173,7 +169,7 @@ public async Task GetNetworkProfiles_ListAllNetworkProfiles() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkSecurityGroupCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkSecurityGroupCollection.cs index 3fe3c1e64a200..4184b8fc837a5 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkSecurityGroupCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkSecurityGroupCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkSecurityGroupCollection { - // Get network security group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkSecurityGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkSecurityGroupGet.json @@ -50,9 +50,8 @@ public async Task Get_GetNetworkSecurityGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get network security group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetNetworkSecurityGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkSecurityGroupGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetNetworkSecurityGroup() Console.WriteLine($"Succeeded: {result}"); } - // Get network security group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetNetworkSecurityGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkSecurityGroupGet.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetNetworkSecurityGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetNetworkSecurityGroup() } } - // Create network security group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNetworkSecurityGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkSecurityGroupCreate.json @@ -161,9 +158,8 @@ public async Task CreateOrUpdate_CreateNetworkSecurityGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create network security group with rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNetworkSecurityGroupWithRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkSecurityGroupCreateWithRule.json @@ -215,9 +211,8 @@ public async Task CreateOrUpdate_CreateNetworkSecurityGroupWithRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List network security groups in resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListNetworkSecurityGroupsInResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkSecurityGroupList.json @@ -248,7 +243,7 @@ public async Task GetAll_ListNetworkSecurityGroupsInResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkSecurityGroupResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkSecurityGroupResource.cs index 451cc22335d73..f37465ee47bde 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkSecurityGroupResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkSecurityGroupResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkSecurityGroupResource { - // Delete network security group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteNetworkSecurityGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkSecurityGroupDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteNetworkSecurityGroup() // invoke the operation await networkSecurityGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get network security group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkSecurityGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkSecurityGroupGet.json @@ -74,9 +73,8 @@ public async Task Get_GetNetworkSecurityGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update network security group tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateNetworkSecurityGroupTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkSecurityGroupUpdateTags.json @@ -113,9 +111,8 @@ public async Task Update_UpdateNetworkSecurityGroupTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all network security groups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkSecurityGroups_ListAllNetworkSecurityGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkSecurityGroupListAll.json @@ -142,7 +139,7 @@ public async Task GetNetworkSecurityGroups_ListAllNetworkSecurityGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkVirtualApplianceCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkVirtualApplianceCollection.cs index 13ee3057b3a50..7d80dd3120e9f 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkVirtualApplianceCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkVirtualApplianceCollection.cs @@ -13,14 +13,14 @@ using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkVirtualApplianceCollection { - // Get NetworkVirtualAppliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkVirtualAppliance() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceGet.json @@ -52,9 +52,8 @@ public async Task Get_GetNetworkVirtualAppliance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get NetworkVirtualAppliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetNetworkVirtualAppliance() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceGet.json @@ -82,9 +81,8 @@ public async Task Exists_GetNetworkVirtualAppliance() Console.WriteLine($"Succeeded: {result}"); } - // Get NetworkVirtualAppliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetNetworkVirtualAppliance() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetNetworkVirtualAppliance() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetNetworkVirtualAppliance() } } - // Create NetworkVirtualAppliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNetworkVirtualAppliance() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualAppliancePut.json @@ -239,9 +236,8 @@ public async Task CreateOrUpdate_CreateNetworkVirtualAppliance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create SaaS NetworkVirtualAppliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSaaSNetworkVirtualAppliance() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceSaaSPut.json @@ -287,9 +283,8 @@ public async Task CreateOrUpdate_CreateSaaSNetworkVirtualAppliance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all Network Virtual Appliance for a given resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllNetworkVirtualApplianceForAGivenResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceListByResourceGroup.json @@ -320,7 +315,7 @@ public async Task GetAll_ListAllNetworkVirtualApplianceForAGivenResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkVirtualApplianceConnectionCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkVirtualApplianceConnectionCollection.cs index 9925712e17c4a..07f2c1eb9144b 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkVirtualApplianceConnectionCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkVirtualApplianceConnectionCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkVirtualApplianceConnectionCollection { - // NetworkVirtualApplianceConnectionPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NetworkVirtualApplianceConnectionPut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceConnectionPut.json @@ -84,9 +84,8 @@ public async Task CreateOrUpdate_NetworkVirtualApplianceConnectionPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkVirtualApplianceConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkVirtualApplianceConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceConnectionGet.json @@ -119,9 +118,8 @@ public async Task Get_NetworkVirtualApplianceConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkVirtualApplianceConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NetworkVirtualApplianceConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceConnectionGet.json @@ -150,9 +148,8 @@ public async Task Exists_NetworkVirtualApplianceConnectionGet() Console.WriteLine($"Succeeded: {result}"); } - // NetworkVirtualApplianceConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NetworkVirtualApplianceConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceConnectionGet.json @@ -181,7 +178,7 @@ public async Task GetIfExists_NetworkVirtualApplianceConnectionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -193,9 +190,8 @@ public async Task GetIfExists_NetworkVirtualApplianceConnectionGet() } } - // NetworkVirtualApplianceConnectionList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NetworkVirtualApplianceConnectionList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceConnectionList.json @@ -227,7 +223,7 @@ public async Task GetAll_NetworkVirtualApplianceConnectionList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkVirtualApplianceConnectionResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkVirtualApplianceConnectionResource.cs index fcbc8f6cd215d..21866d534634f 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkVirtualApplianceConnectionResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkVirtualApplianceConnectionResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkVirtualApplianceConnectionResource { - // NetworkVirtualApplianceConnectionPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NetworkVirtualApplianceConnectionPut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceConnectionPut.json @@ -81,9 +81,8 @@ public async Task Update_NetworkVirtualApplianceConnectionPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkVirtualApplianceConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkVirtualApplianceConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceConnectionGet.json @@ -113,9 +112,8 @@ public async Task Get_NetworkVirtualApplianceConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkVirtualApplianceConnectionDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NetworkVirtualApplianceConnectionDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceConnectionDelete.json @@ -138,7 +136,7 @@ public async Task Delete_NetworkVirtualApplianceConnectionDelete() // invoke the operation await networkVirtualApplianceConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkVirtualApplianceResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkVirtualApplianceResource.cs index 7b45223f20c2a..edf2c13bf80b0 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkVirtualApplianceResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkVirtualApplianceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkVirtualApplianceResource { - // Delete NetworkVirtualAppliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteNetworkVirtualAppliance() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteNetworkVirtualAppliance() // invoke the operation await networkVirtualAppliance.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get NetworkVirtualAppliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkVirtualAppliance() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceGet.json @@ -74,9 +73,8 @@ public async Task Get_GetNetworkVirtualAppliance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update NetworkVirtualAppliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateNetworkVirtualAppliance() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceUpdateTags.json @@ -113,9 +111,8 @@ public async Task Update_UpdateNetworkVirtualAppliance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Restart All NetworkVirtualAppliance VMs in VM Scale Set - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_RestartAllNetworkVirtualApplianceVMsInVMScaleSet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceEmptyRestart.json @@ -141,9 +138,8 @@ public async Task Restart_RestartAllNetworkVirtualApplianceVMsInVMScaleSet() Console.WriteLine($"Succeeded: {result}"); } - // Restart Specific NetworkVirtualAppliance VMs in VM Scale Set - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_RestartSpecificNetworkVirtualApplianceVMsInVMScaleSet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceSpecificRestart.json @@ -169,9 +165,8 @@ public async Task Restart_RestartSpecificNetworkVirtualApplianceVMsInVMScaleSet( Console.WriteLine($"Succeeded: {result}"); } - // List all Network Virtual Appliances for a given subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkVirtualAppliances_ListAllNetworkVirtualAppliancesForAGivenSubscription() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceListBySubscription.json @@ -198,7 +193,7 @@ public async Task GetNetworkVirtualAppliances_ListAllNetworkVirtualAppliancesFor Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkVirtualApplianceSkuCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkVirtualApplianceSkuCollection.cs index 1922cd459f502..5bd1fe0ebb8b5 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkVirtualApplianceSkuCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkVirtualApplianceSkuCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkVirtualApplianceSkuCollection { - // NetworkVirtualApplianceSkuListResult - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NetworkVirtualApplianceSkuListResult() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceSkuList.json @@ -47,12 +47,11 @@ public async Task GetAll_NetworkVirtualApplianceSkuListResult() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NetworkVirtualApplianceSkuGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkVirtualApplianceSkuGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceSkuGet.json @@ -83,9 +82,8 @@ public async Task Get_NetworkVirtualApplianceSkuGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkVirtualApplianceSkuGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NetworkVirtualApplianceSkuGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceSkuGet.json @@ -112,9 +110,8 @@ public async Task Exists_NetworkVirtualApplianceSkuGet() Console.WriteLine($"Succeeded: {result}"); } - // NetworkVirtualApplianceSkuGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NetworkVirtualApplianceSkuGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceSkuGet.json @@ -141,7 +138,7 @@ public async Task GetIfExists_NetworkVirtualApplianceSkuGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkVirtualApplianceSkuResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkVirtualApplianceSkuResource.cs index 4e24b2b7d92eb..fee8a3b7c3019 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkVirtualApplianceSkuResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkVirtualApplianceSkuResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkVirtualApplianceSkuResource { - // NetworkVirtualApplianceSkuGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NetworkVirtualApplianceSkuGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceSkuGet.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkWatcherCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkWatcherCollection.cs index f043b615e71ff..8981973510793 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkWatcherCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkWatcherCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkWatcherCollection { - // Create network watcher - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNetworkWatcher() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherCreate.json @@ -54,9 +54,8 @@ public async Task CreateOrUpdate_CreateNetworkWatcher() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get network watcher - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkWatcher() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherGet.json @@ -88,9 +87,8 @@ public async Task Get_GetNetworkWatcher() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get network watcher - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetNetworkWatcher() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetNetworkWatcher() Console.WriteLine($"Succeeded: {result}"); } - // Get network watcher - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetNetworkWatcher() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetNetworkWatcher() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GetNetworkWatcher() } } - // List network watchers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListNetworkWatchers() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherList.json @@ -193,7 +189,7 @@ public async Task GetAll_ListNetworkWatchers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkWatcherResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkWatcherResource.cs index 7bda56c029f9c..f921456154793 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkWatcherResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_NetworkWatcherResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_NetworkWatcherResource { - // Get network watcher - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkWatcher() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherGet.json @@ -48,9 +48,8 @@ public async Task Get_GetNetworkWatcher() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete network watcher - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteNetworkWatcher() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherDelete.json @@ -72,12 +71,11 @@ public async Task Delete_DeleteNetworkWatcher() // invoke the operation await networkWatcher.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update network watcher tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateNetworkWatcherTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherUpdateTags.json @@ -114,9 +112,8 @@ public async Task Update_UpdateNetworkWatcherTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all network watchers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkWatchers_ListAllNetworkWatchers() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherListAll.json @@ -143,12 +140,11 @@ public async Task GetNetworkWatchers_ListAllNetworkWatchers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Topology - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTopology_GetTopology() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherTopologyGet.json @@ -177,9 +173,8 @@ public async Task GetTopology_GetTopology() Console.WriteLine($"Succeeded: {result}"); } - // Ip flow verify - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task VerifyIPFlow_IpFlowVerify() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherIpFlowVerify.json @@ -206,9 +201,8 @@ public async Task VerifyIPFlow_IpFlowVerify() Console.WriteLine($"Succeeded: {result}"); } - // Get next hop - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNextHop_GetNextHop() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherNextHopGet.json @@ -238,9 +232,8 @@ public async Task GetNextHop_GetNextHop() Console.WriteLine($"Succeeded: {result}"); } - // Get security group view - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVmSecurityRules_GetSecurityGroupView() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherSecurityGroupViewGet.json @@ -267,9 +260,8 @@ public async Task GetVmSecurityRules_GetSecurityGroupView() Console.WriteLine($"Succeeded: {result}"); } - // Get troubleshooting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTroubleshooting_GetTroubleshooting() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherTroubleshootGet.json @@ -296,9 +288,8 @@ public async Task GetTroubleshooting_GetTroubleshooting() Console.WriteLine($"Succeeded: {result}"); } - // Get troubleshoot result - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTroubleshootingResult_GetTroubleshootResult() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherTroubleshootResultQuery.json @@ -325,9 +316,8 @@ public async Task GetTroubleshootingResult_GetTroubleshootResult() Console.WriteLine($"Succeeded: {result}"); } - // Configure flow log - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SetFlowLogConfiguration_ConfigureFlowLog() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherFlowLogConfigure.json @@ -363,9 +353,8 @@ public async Task SetFlowLogConfiguration_ConfigureFlowLog() Console.WriteLine($"Succeeded: {result}"); } - // Get flow log status - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFlowLogStatus_GetFlowLogStatus() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherFlowLogStatusQuery.json @@ -392,9 +381,8 @@ public async Task GetFlowLogStatus_GetFlowLogStatus() Console.WriteLine($"Succeeded: {result}"); } - // Check connectivity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckConnectivity_CheckConnectivity() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherConnectivityCheck.json @@ -428,9 +416,8 @@ public async Task CheckConnectivity_CheckConnectivity() Console.WriteLine($"Succeeded: {result}"); } - // Get Azure Reachability Report - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAzureReachabilityReport_GetAzureReachabilityReport() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherAzureReachabilityReportGet.json @@ -470,9 +457,8 @@ public async Task GetAzureReachabilityReport_GetAzureReachabilityReport() Console.WriteLine($"Succeeded: {result}"); } - // Get Available Providers List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableProviders_GetAvailableProvidersList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherAvailableProvidersListGet.json @@ -508,9 +494,8 @@ public async Task GetAvailableProviders_GetAvailableProvidersList() Console.WriteLine($"Succeeded: {result}"); } - // Network configuration diagnostic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkConfigurationDiagnostic_NetworkConfigurationDiagnostic() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_OutboundRuleCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_OutboundRuleCollection.cs index c12630d0552ae..401dd01f27186 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_OutboundRuleCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_OutboundRuleCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_OutboundRuleCollection { - // LoadBalancerOutboundRuleList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_LoadBalancerOutboundRuleList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerOutboundRuleList.json @@ -48,12 +48,11 @@ public async Task GetAll_LoadBalancerOutboundRuleList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LoadBalancerOutboundRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LoadBalancerOutboundRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerOutboundRuleGet.json @@ -86,9 +85,8 @@ public async Task Get_LoadBalancerOutboundRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LoadBalancerOutboundRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_LoadBalancerOutboundRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerOutboundRuleGet.json @@ -117,9 +115,8 @@ public async Task Exists_LoadBalancerOutboundRuleGet() Console.WriteLine($"Succeeded: {result}"); } - // LoadBalancerOutboundRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_LoadBalancerOutboundRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerOutboundRuleGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_LoadBalancerOutboundRuleGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_OutboundRuleResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_OutboundRuleResource.cs index 2f2f4a5cacc65..9e642c9e9ebb9 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_OutboundRuleResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_OutboundRuleResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_OutboundRuleResource { - // LoadBalancerOutboundRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LoadBalancerOutboundRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerOutboundRuleGet.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_P2SVpnGatewayCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_P2SVpnGatewayCollection.cs index b5d2ce64877ee..a97114e2b1e9d 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_P2SVpnGatewayCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_P2SVpnGatewayCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_P2SVpnGatewayCollection { - // P2SVpnGatewayGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_P2SVpnGatewayGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/P2SVpnGatewayGet.json @@ -51,9 +51,8 @@ public async Task Get_P2SVpnGatewayGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // P2SVpnGatewayGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_P2SVpnGatewayGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/P2SVpnGatewayGet.json @@ -81,9 +80,8 @@ public async Task Exists_P2SVpnGatewayGet() Console.WriteLine($"Succeeded: {result}"); } - // P2SVpnGatewayGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_P2SVpnGatewayGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/P2SVpnGatewayGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_P2SVpnGatewayGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_P2SVpnGatewayGet() } } - // P2SVpnGatewayPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_P2SVpnGatewayPut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/P2SVpnGatewayPut.json @@ -216,9 +213,8 @@ public async Task CreateOrUpdate_P2SVpnGatewayPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // P2SVpnGatewayListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_P2SVpnGatewayListByResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/P2SVpnGatewayListByResourceGroup.json @@ -249,7 +245,7 @@ public async Task GetAll_P2SVpnGatewayListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_P2SVpnGatewayResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_P2SVpnGatewayResource.cs index 6ee8c3af8c272..4e025c3f60317 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_P2SVpnGatewayResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_P2SVpnGatewayResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_P2SVpnGatewayResource { - // P2SVpnGatewayGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_P2SVpnGatewayGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/P2SVpnGatewayGet.json @@ -47,9 +47,8 @@ public async Task Get_P2SVpnGatewayGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // P2SVpnGatewayUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_P2SVpnGatewayUpdate() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/P2SVpnGatewayUpdateTags.json @@ -87,9 +86,8 @@ public async Task Update_P2SVpnGatewayUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // P2SVpnGatewayDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_P2SVpnGatewayDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/P2SVpnGatewayDelete.json @@ -111,12 +109,11 @@ public async Task Delete_P2SVpnGatewayDelete() // invoke the operation await p2sVpnGateway.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // P2SVpnGatewayListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetP2SVpnGateways_P2SVpnGatewayListBySubscription() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/P2SVpnGatewayList.json @@ -143,12 +140,11 @@ public async Task GetP2SVpnGateways_P2SVpnGatewayListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ResetP2SVpnGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reset_ResetP2SVpnGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/P2SVpnGatewayReset.json @@ -178,9 +174,8 @@ public async Task Reset_ResetP2SVpnGateway() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GenerateP2SVpnGatewayVPNProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateVpnProfile_GenerateP2SVpnGatewayVPNProfile() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/P2SVpnGatewayGenerateVpnProfile.json @@ -210,9 +205,8 @@ public async Task GenerateVpnProfile_GenerateP2SVpnGatewayVPNProfile() Console.WriteLine($"Succeeded: {result}"); } - // P2SVpnGatewayGetConnectionHealth - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetP2SVpnConnectionHealth_P2SVpnGatewayGetConnectionHealth() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/P2SVpnGatewayGetConnectionHealth.json @@ -242,9 +236,8 @@ public async Task GetP2SVpnConnectionHealth_P2SVpnGatewayGetConnectionHealth() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // P2SVpnGatewayGetConnectionHealthDetailed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetP2SVpnConnectionHealthDetailed_P2SVpnGatewayGetConnectionHealthDetailed() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/P2SVpnGatewayGetConnectionHealthDetailed.json @@ -278,9 +271,8 @@ public async Task GetP2SVpnConnectionHealthDetailed_P2SVpnGatewayGetConnectionHe Console.WriteLine($"Succeeded: {result}"); } - // Disconnect VpnConnections from P2sVpn Gateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DisconnectP2SVpnConnections_DisconnectVpnConnectionsFromP2sVpnGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/P2sVpnGatewaysDisconnectP2sVpnConnections.json @@ -309,7 +301,7 @@ public async Task DisconnectP2SVpnConnections_DisconnectVpnConnectionsFromP2sVpn }; await p2sVpnGateway.DisconnectP2SVpnConnectionsAsync(WaitUntil.Completed, request); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PacketCaptureCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PacketCaptureCollection.cs index 67a4295cdea1e..b80bb7514243b 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PacketCaptureCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PacketCaptureCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_PacketCaptureCollection { - // Create packet capture - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePacketCapture() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherPacketCaptureCreate.json @@ -71,9 +71,8 @@ public async Task CreateOrUpdate_CreatePacketCapture() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get packet capture - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPacketCapture() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherPacketCaptureGet.json @@ -106,9 +105,8 @@ public async Task Get_GetPacketCapture() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get packet capture - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPacketCapture() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherPacketCaptureGet.json @@ -137,9 +135,8 @@ public async Task Exists_GetPacketCapture() Console.WriteLine($"Succeeded: {result}"); } - // Get packet capture - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPacketCapture() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherPacketCaptureGet.json @@ -168,7 +165,7 @@ public async Task GetIfExists_GetPacketCapture() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -180,9 +177,8 @@ public async Task GetIfExists_GetPacketCapture() } } - // List packet captures - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPacketCaptures() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherPacketCapturesList.json @@ -214,7 +210,7 @@ public async Task GetAll_ListPacketCaptures() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PacketCaptureResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PacketCaptureResource.cs index 9c6e31c9c3a9c..046122d331979 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PacketCaptureResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PacketCaptureResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_PacketCaptureResource { - // Create packet capture - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatePacketCapture() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherPacketCaptureCreate.json @@ -68,9 +68,8 @@ public async Task Update_CreatePacketCapture() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get packet capture - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPacketCapture() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherPacketCaptureGet.json @@ -100,9 +99,8 @@ public async Task Get_GetPacketCapture() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete packet capture - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletePacketCapture() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherPacketCaptureDelete.json @@ -125,12 +123,11 @@ public async Task Delete_DeletePacketCapture() // invoke the operation await packetCapture.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Stop packet capture - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_StopPacketCapture() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherPacketCaptureStop.json @@ -153,12 +150,11 @@ public async Task Stop_StopPacketCapture() // invoke the operation await packetCapture.StopAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Query packet capture status - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStatus_QueryPacketCaptureStatus() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkWatcherPacketCaptureQueryStatus.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PeerExpressRouteCircuitConnectionCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PeerExpressRouteCircuitConnectionCollection.cs index 8290d47750da5..b85f8df96795b 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PeerExpressRouteCircuitConnectionCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PeerExpressRouteCircuitConnectionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_PeerExpressRouteCircuitConnectionCollection { - // PeerExpressRouteCircuitConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PeerExpressRouteCircuitConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PeerExpressRouteCircuitConnectionGet.json @@ -50,9 +50,8 @@ public async Task Get_PeerExpressRouteCircuitConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PeerExpressRouteCircuitConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PeerExpressRouteCircuitConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PeerExpressRouteCircuitConnectionGet.json @@ -82,9 +81,8 @@ public async Task Exists_PeerExpressRouteCircuitConnectionGet() Console.WriteLine($"Succeeded: {result}"); } - // PeerExpressRouteCircuitConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PeerExpressRouteCircuitConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PeerExpressRouteCircuitConnectionGet.json @@ -114,7 +112,7 @@ public async Task GetIfExists_PeerExpressRouteCircuitConnectionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -126,9 +124,8 @@ public async Task GetIfExists_PeerExpressRouteCircuitConnectionGet() } } - // List Peer ExpressRouteCircuit Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPeerExpressRouteCircuitConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PeerExpressRouteCircuitConnectionList.json @@ -161,7 +158,7 @@ public async Task GetAll_ListPeerExpressRouteCircuitConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PeerExpressRouteCircuitConnectionResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PeerExpressRouteCircuitConnectionResource.cs index 752baf76c6efa..92f1a439efe1c 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PeerExpressRouteCircuitConnectionResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PeerExpressRouteCircuitConnectionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_PeerExpressRouteCircuitConnectionResource { - // PeerExpressRouteCircuitConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PeerExpressRouteCircuitConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PeerExpressRouteCircuitConnectionGet.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PolicySignaturesOverridesForIdpsResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PolicySignaturesOverridesForIdpsResource.cs index ce7c3f610dcde..3101fb5e40b03 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PolicySignaturesOverridesForIdpsResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PolicySignaturesOverridesForIdpsResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_PolicySignaturesOverridesForIdpsResource { - // patch signature overrides - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchSignatureOverrides() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicySignatureOverridesPatch.json @@ -56,9 +56,8 @@ public async Task Update_PatchSignatureOverrides() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // put signature overrides - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutSignatureOverrides() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicySignatureOverridesPut.json @@ -99,9 +98,8 @@ public async Task CreateOrUpdate_PutSignatureOverrides() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // get signature overrides - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSignatureOverrides() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/FirewallPolicySignatureOverridesGet.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PrivateDnsZoneGroupCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PrivateDnsZoneGroupCollection.cs index 7a0561dde27c9..73b10138870b0 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PrivateDnsZoneGroupCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PrivateDnsZoneGroupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_PrivateDnsZoneGroupCollection { - // Get private dns zone group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateDnsZoneGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointDnsZoneGroupGet.json @@ -50,9 +50,8 @@ public async Task Get_GetPrivateDnsZoneGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get private dns zone group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPrivateDnsZoneGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointDnsZoneGroupGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetPrivateDnsZoneGroup() Console.WriteLine($"Succeeded: {result}"); } - // Get private dns zone group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPrivateDnsZoneGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointDnsZoneGroupGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetPrivateDnsZoneGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetPrivateDnsZoneGroup() } } - // Create private dns zone group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePrivateDnsZoneGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointDnsZoneGroupCreate.json @@ -170,9 +167,8 @@ public async Task CreateOrUpdate_CreatePrivateDnsZoneGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List private endpoints in resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPrivateEndpointsInResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointDnsZoneGroupList.json @@ -204,7 +200,7 @@ public async Task GetAll_ListPrivateEndpointsInResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PrivateDnsZoneGroupResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PrivateDnsZoneGroupResource.cs index f2f21423a44da..bf0769637fcec 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PrivateDnsZoneGroupResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PrivateDnsZoneGroupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_PrivateDnsZoneGroupResource { - // Delete private dns zone group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletePrivateDnsZoneGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointDnsZoneGroupDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeletePrivateDnsZoneGroup() // invoke the operation await privateDnsZoneGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get private dns zone group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateDnsZoneGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointDnsZoneGroupGet.json @@ -75,9 +74,8 @@ public async Task Get_GetPrivateDnsZoneGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create private dns zone group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatePrivateDnsZoneGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointDnsZoneGroupCreate.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PrivateEndpointCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PrivateEndpointCollection.cs index a1bbcf2346506..f178518f185a2 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PrivateEndpointCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PrivateEndpointCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_PrivateEndpointCollection { - // Get private endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateEndpoint() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointGet.json @@ -51,9 +51,8 @@ public async Task Get_GetPrivateEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get private endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPrivateEndpoint() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetPrivateEndpoint() Console.WriteLine($"Succeeded: {result}"); } - // Get private endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPrivateEndpoint() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetPrivateEndpoint() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetPrivateEndpoint() } } - // Get private endpoint with application security groups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateEndpointWithApplicationSecurityGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointGetWithASG.json @@ -157,9 +154,8 @@ public async Task Get_GetPrivateEndpointWithApplicationSecurityGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get private endpoint with application security groups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPrivateEndpointWithApplicationSecurityGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointGetWithASG.json @@ -187,9 +183,8 @@ public async Task Exists_GetPrivateEndpointWithApplicationSecurityGroups() Console.WriteLine($"Succeeded: {result}"); } - // Get private endpoint with application security groups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPrivateEndpointWithApplicationSecurityGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointGetWithASG.json @@ -217,7 +212,7 @@ public async Task GetIfExists_GetPrivateEndpointWithApplicationSecurityGroups() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -229,9 +224,8 @@ public async Task GetIfExists_GetPrivateEndpointWithApplicationSecurityGroups() } } - // Get private endpoint with manual approval connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateEndpointWithManualApprovalConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointGetForManualApproval.json @@ -263,9 +257,8 @@ public async Task Get_GetPrivateEndpointWithManualApprovalConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get private endpoint with manual approval connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPrivateEndpointWithManualApprovalConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointGetForManualApproval.json @@ -293,9 +286,8 @@ public async Task Exists_GetPrivateEndpointWithManualApprovalConnection() Console.WriteLine($"Succeeded: {result}"); } - // Get private endpoint with manual approval connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPrivateEndpointWithManualApprovalConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointGetForManualApproval.json @@ -323,7 +315,7 @@ public async Task GetIfExists_GetPrivateEndpointWithManualApprovalConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -335,9 +327,8 @@ public async Task GetIfExists_GetPrivateEndpointWithManualApprovalConnection() } } - // Create private endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePrivateEndpoint() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointCreate.json @@ -401,9 +392,8 @@ public async Task CreateOrUpdate_CreatePrivateEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create private endpoint with application security groups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePrivateEndpointWithApplicationSecurityGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointCreateWithASG.json @@ -463,9 +453,8 @@ public async Task CreateOrUpdate_CreatePrivateEndpointWithApplicationSecurityGro Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create private endpoint with manual approval connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePrivateEndpointWithManualApprovalConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointCreateForManualApproval.json @@ -529,9 +518,8 @@ public async Task CreateOrUpdate_CreatePrivateEndpointWithManualApprovalConnecti Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List private endpoints in resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPrivateEndpointsInResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointList.json @@ -562,7 +550,7 @@ public async Task GetAll_ListPrivateEndpointsInResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PrivateEndpointResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PrivateEndpointResource.cs index 18a8add004565..85b4cf80dafd4 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PrivateEndpointResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PrivateEndpointResource.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_PrivateEndpointResource { - // Delete private endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletePrivateEndpoint() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointDelete.json @@ -41,12 +41,11 @@ public async Task Delete_DeletePrivateEndpoint() // invoke the operation await privateEndpoint.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get private endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateEndpoint() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointGet.json @@ -75,9 +74,8 @@ public async Task Get_GetPrivateEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get private endpoint with application security groups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateEndpointWithApplicationSecurityGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointGetWithASG.json @@ -106,9 +104,8 @@ public async Task Get_GetPrivateEndpointWithApplicationSecurityGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get private endpoint with manual approval connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateEndpointWithManualApprovalConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointGetForManualApproval.json @@ -137,9 +134,8 @@ public async Task Get_GetPrivateEndpointWithManualApprovalConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create private endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatePrivateEndpoint() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointCreate.json @@ -200,9 +196,8 @@ public async Task Update_CreatePrivateEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create private endpoint with application security groups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatePrivateEndpointWithApplicationSecurityGroups() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointCreateWithASG.json @@ -259,9 +254,8 @@ public async Task Update_CreatePrivateEndpointWithApplicationSecurityGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create private endpoint with manual approval connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatePrivateEndpointWithManualApprovalConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointCreateForManualApproval.json @@ -322,9 +316,8 @@ public async Task Update_CreatePrivateEndpointWithManualApprovalConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all private endpoints - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateEndpoints_ListAllPrivateEndpoints() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateEndpointListAll.json @@ -351,7 +344,7 @@ public async Task GetPrivateEndpoints_ListAllPrivateEndpoints() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PrivateLinkServiceCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PrivateLinkServiceCollection.cs index 149892a232020..07e178ca85731 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PrivateLinkServiceCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PrivateLinkServiceCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_PrivateLinkServiceCollection { - // Get private link service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateLinkService() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateLinkServiceGet.json @@ -50,9 +50,8 @@ public async Task Get_GetPrivateLinkService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get private link service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPrivateLinkService() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateLinkServiceGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetPrivateLinkService() Console.WriteLine($"Succeeded: {result}"); } - // Get private link service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPrivateLinkService() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateLinkServiceGet.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetPrivateLinkService() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetPrivateLinkService() } } - // Create private link service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePrivateLinkService() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateLinkServiceCreate.json @@ -194,9 +191,8 @@ public async Task CreateOrUpdate_CreatePrivateLinkService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List private link service in resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPrivateLinkServiceInResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateLinkServiceList.json @@ -227,7 +223,7 @@ public async Task GetAll_ListPrivateLinkServiceInResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PrivateLinkServiceResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PrivateLinkServiceResource.cs index ee21449f179c5..fd8f4dc58f132 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PrivateLinkServiceResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PrivateLinkServiceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_PrivateLinkServiceResource { - // Delete private link service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletePrivateLinkService() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateLinkServiceDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeletePrivateLinkService() // invoke the operation await privateLinkService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get private link service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateLinkService() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateLinkServiceGet.json @@ -74,9 +73,8 @@ public async Task Get_GetPrivateLinkService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create private link service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatePrivateLinkService() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateLinkServiceCreate.json @@ -143,9 +141,8 @@ public async Task Update_CreatePrivateLinkService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all private list service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinkServices_ListAllPrivateListService() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PrivateLinkServiceListAll.json @@ -172,7 +169,7 @@ public async Task GetPrivateLinkServices_ListAllPrivateListService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ProbeCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ProbeCollection.cs index 72794f21cdbbb..a05940176d91b 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ProbeCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ProbeCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ProbeCollection { - // LoadBalancerProbeList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_LoadBalancerProbeList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerProbeList.json @@ -48,12 +48,11 @@ public async Task GetAll_LoadBalancerProbeList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LoadBalancerProbeGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LoadBalancerProbeGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerProbeGet.json @@ -86,9 +85,8 @@ public async Task Get_LoadBalancerProbeGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LoadBalancerProbeGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_LoadBalancerProbeGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerProbeGet.json @@ -117,9 +115,8 @@ public async Task Exists_LoadBalancerProbeGet() Console.WriteLine($"Succeeded: {result}"); } - // LoadBalancerProbeGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_LoadBalancerProbeGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerProbeGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_LoadBalancerProbeGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ProbeResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ProbeResource.cs index 4b5d5a8af9eda..a4cd71e996658 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ProbeResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ProbeResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ProbeResource { - // LoadBalancerProbeGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LoadBalancerProbeGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/LoadBalancerProbeGet.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PublicIPAddressCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PublicIPAddressCollection.cs index 2d383f8a6dfa2..30713160a7e2f 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PublicIPAddressCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PublicIPAddressCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_PublicIPAddressCollection { - // Get public IP address - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPublicIPAddress() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PublicIpAddressGet.json @@ -50,9 +50,8 @@ public async Task Get_GetPublicIPAddress() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get public IP address - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPublicIPAddress() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PublicIpAddressGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetPublicIPAddress() Console.WriteLine($"Succeeded: {result}"); } - // Get public IP address - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPublicIPAddress() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PublicIpAddressGet.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetPublicIPAddress() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetPublicIPAddress() } } - // Create public IP address DNS - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePublicIPAddressDNS() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PublicIpAddressCreateDns.json @@ -165,9 +162,8 @@ public async Task CreateOrUpdate_CreatePublicIPAddressDNS() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create public IP address DNS with Domain Name Label Scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePublicIPAddressDNSWithDomainNameLabelScope() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PublicIpAddressCreateDnsWithDomainNameLabelScope.json @@ -209,9 +205,8 @@ public async Task CreateOrUpdate_CreatePublicIPAddressDNSWithDomainNameLabelScop Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create public IP address allocation method - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePublicIPAddressAllocationMethod() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PublicIpAddressCreateCustomizedValues.json @@ -256,9 +251,8 @@ public async Task CreateOrUpdate_CreatePublicIPAddressAllocationMethod() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create public IP address defaults - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePublicIPAddressDefaults() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PublicIpAddressCreateDefaults.json @@ -295,9 +289,8 @@ public async Task CreateOrUpdate_CreatePublicIPAddressDefaults() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List resource group public IP addresses - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListResourceGroupPublicIPAddresses() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PublicIpAddressList.json @@ -328,7 +321,7 @@ public async Task GetAll_ListResourceGroupPublicIPAddresses() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PublicIPAddressResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PublicIPAddressResource.cs index fc6ea7ef22e74..45edf5fcab395 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PublicIPAddressResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PublicIPAddressResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_PublicIPAddressResource { - // Delete public IP address - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletePublicIPAddress() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PublicIpAddressDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeletePublicIPAddress() // invoke the operation await publicIPAddress.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get public IP address - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPublicIPAddress() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PublicIpAddressGet.json @@ -74,9 +73,8 @@ public async Task Get_GetPublicIPAddress() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update public IP address tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatePublicIPAddressTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PublicIpAddressUpdateTags.json @@ -113,9 +111,8 @@ public async Task Update_UpdatePublicIPAddressTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all public IP addresses - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPublicIPAddresses_ListAllPublicIPAddresses() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PublicIpAddressListAll.json @@ -142,12 +139,11 @@ public async Task GetPublicIPAddresses_ListAllPublicIPAddresses() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Ddos Protection Status of a Public IP Address - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DdosProtectionStatus_GetDdosProtectionStatusOfAPublicIPAddress() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PublicIpAddressGetDdosProtectionStatus.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PublicIPPrefixCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PublicIPPrefixCollection.cs index c1a703be5ecfe..13663d79dee45 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PublicIPPrefixCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PublicIPPrefixCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_PublicIPPrefixCollection { - // Get public IP prefix - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPublicIPPrefix() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PublicIpPrefixGet.json @@ -50,9 +50,8 @@ public async Task Get_GetPublicIPPrefix() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get public IP prefix - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPublicIPPrefix() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PublicIpPrefixGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetPublicIPPrefix() Console.WriteLine($"Succeeded: {result}"); } - // Get public IP prefix - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPublicIPPrefix() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PublicIpPrefixGet.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetPublicIPPrefix() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetPublicIPPrefix() } } - // Create public IP prefix allocation method - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePublicIPPrefixAllocationMethod() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PublicIpPrefixCreateCustomizedValues.json @@ -168,9 +165,8 @@ public async Task CreateOrUpdate_CreatePublicIPPrefixAllocationMethod() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create public IP prefix defaults - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePublicIPPrefixDefaults() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PublicIpPrefixCreateDefaults.json @@ -212,9 +208,8 @@ public async Task CreateOrUpdate_CreatePublicIPPrefixDefaults() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List resource group public IP prefixes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListResourceGroupPublicIPPrefixes() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PublicIpPrefixList.json @@ -245,7 +240,7 @@ public async Task GetAll_ListResourceGroupPublicIPPrefixes() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PublicIPPrefixResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PublicIPPrefixResource.cs index bc14fb0cae4ff..2cf08f814ca7d 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PublicIPPrefixResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_PublicIPPrefixResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_PublicIPPrefixResource { - // Delete public IP prefix - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletePublicIPPrefix() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PublicIpPrefixDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeletePublicIPPrefix() // invoke the operation await publicIPPrefix.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get public IP prefix - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPublicIPPrefix() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PublicIpPrefixGet.json @@ -74,9 +73,8 @@ public async Task Get_GetPublicIPPrefix() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update public IP prefix tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatePublicIPPrefixTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PublicIpPrefixUpdateTags.json @@ -113,9 +111,8 @@ public async Task Update_UpdatePublicIPPrefixTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all public IP prefixes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPublicIPPrefixes_ListAllPublicIPPrefixes() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/PublicIpPrefixListAll.json @@ -142,7 +139,7 @@ public async Task GetPublicIPPrefixes_ListAllPublicIPPrefixes() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs index 0427f4b65e661..2a78a8337c8e6 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ResourceGroupResourceExtensions { - // Get available delegations in the resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableResourceGroupDelegations_GetAvailableDelegationsInTheResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AvailableDelegationsResourceGroupGet.json @@ -43,12 +43,11 @@ public async Task GetAvailableResourceGroupDelegations_GetAvailableDelegationsIn Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get available service aliases in the resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableServiceAliasesByResourceGroup_GetAvailableServiceAliasesInTheResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AvailableServiceAliasesListByResourceGroup.json @@ -73,12 +72,11 @@ public async Task GetAvailableServiceAliasesByResourceGroup_GetAvailableServiceA Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get available PrivateEndpoint types in the resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailablePrivateEndpointTypesByResourceGroup_GetAvailablePrivateEndpointTypesInTheResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json @@ -103,12 +101,11 @@ public async Task GetAvailablePrivateEndpointTypesByResourceGroup_GetAvailablePr Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Check private link service visibility - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckPrivateLinkServiceVisibilityByResourceGroupPrivateLinkService_CheckPrivateLinkServiceVisibility() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json @@ -138,9 +135,8 @@ public async Task CheckPrivateLinkServiceVisibilityByResourceGroupPrivateLinkSer Console.WriteLine($"Succeeded: {result}"); } - // Get list of private link service id that can be linked to a private end point with auto approved - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAutoApprovedPrivateLinkServicesByResourceGroupPrivateLinkServices_GetListOfPrivateLinkServiceIdThatCanBeLinkedToAPrivateEndPointWithAutoApproved() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json @@ -165,7 +161,7 @@ public async Task GetAutoApprovedPrivateLinkServicesByResourceGroupPrivateLinkSe Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteCollection.cs index 31ba0abc425a5..5fbce2a029b6f 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_RouteCollection { - // Get route - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRoute() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteTableRouteGet.json @@ -50,9 +50,8 @@ public async Task Get_GetRoute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get route - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRoute() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteTableRouteGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetRoute() Console.WriteLine($"Succeeded: {result}"); } - // Get route - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRoute() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteTableRouteGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetRoute() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetRoute() } } - // Create route - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateRoute() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteTableRouteCreate.json @@ -165,9 +162,8 @@ public async Task CreateOrUpdate_CreateRoute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List routes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRoutes() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteTableRouteList.json @@ -199,7 +195,7 @@ public async Task GetAll_ListRoutes() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteFilterCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteFilterCollection.cs index a98a27d9c212e..e02f8b501836d 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteFilterCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteFilterCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_RouteFilterCollection { - // RouteFilterGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RouteFilterGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteFilterGet.json @@ -50,9 +50,8 @@ public async Task Get_RouteFilterGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RouteFilterGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RouteFilterGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteFilterGet.json @@ -80,9 +79,8 @@ public async Task Exists_RouteFilterGet() Console.WriteLine($"Succeeded: {result}"); } - // RouteFilterGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RouteFilterGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteFilterGet.json @@ -110,7 +108,7 @@ public async Task GetIfExists_RouteFilterGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_RouteFilterGet() } } - // RouteFilterCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RouteFilterCreate() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteFilterCreate.json @@ -178,9 +175,8 @@ public async Task CreateOrUpdate_RouteFilterCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RouteFilterListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RouteFilterListByResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteFilterListByResourceGroup.json @@ -211,7 +207,7 @@ public async Task GetAll_RouteFilterListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteFilterResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteFilterResource.cs index 7f1ee7ce8847f..e9f0090d9df1f 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteFilterResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteFilterResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_RouteFilterResource { - // RouteFilterDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RouteFilterDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteFilterDelete.json @@ -40,12 +40,11 @@ public async Task Delete_RouteFilterDelete() // invoke the operation await routeFilter.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RouteFilterGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RouteFilterGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteFilterGet.json @@ -74,9 +73,8 @@ public async Task Get_RouteFilterGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update route filter tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateRouteFilterTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteFilterUpdateTags.json @@ -112,9 +110,8 @@ public async Task Update_UpdateRouteFilterTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RouteFilterList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRouteFilters_RouteFilterList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteFilterList.json @@ -141,7 +138,7 @@ public async Task GetRouteFilters_RouteFilterList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteFilterRuleCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteFilterRuleCollection.cs index 592b060c8e9f7..6d8e44e277bb6 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteFilterRuleCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteFilterRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_RouteFilterRuleCollection { - // RouteFilterRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RouteFilterRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteFilterRuleGet.json @@ -50,9 +50,8 @@ public async Task Get_RouteFilterRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RouteFilterRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RouteFilterRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteFilterRuleGet.json @@ -81,9 +80,8 @@ public async Task Exists_RouteFilterRuleGet() Console.WriteLine($"Succeeded: {result}"); } - // RouteFilterRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RouteFilterRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteFilterRuleGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_RouteFilterRuleGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_RouteFilterRuleGet() } } - // RouteFilterRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RouteFilterRuleCreate() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteFilterRuleCreate.json @@ -169,9 +166,8 @@ public async Task CreateOrUpdate_RouteFilterRuleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RouteFilterRuleListByRouteFilter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RouteFilterRuleListByRouteFilter() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteFilterRuleListByRouteFilter.json @@ -203,7 +199,7 @@ public async Task GetAll_RouteFilterRuleListByRouteFilter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteFilterRuleResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteFilterRuleResource.cs index 7d9f4ebcca878..41bc3e9f2af4a 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteFilterRuleResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteFilterRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_RouteFilterRuleResource { - // RouteFilterRuleDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RouteFilterRuleDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteFilterRuleDelete.json @@ -40,12 +40,11 @@ public async Task Delete_RouteFilterRuleDelete() // invoke the operation await routeFilterRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RouteFilterRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RouteFilterRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteFilterRuleGet.json @@ -75,9 +74,8 @@ public async Task Get_RouteFilterRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RouteFilterRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RouteFilterRuleCreate() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteFilterRuleCreate.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteMapCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteMapCollection.cs index 5fb9c0ec5c230..f10a5eb03110a 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteMapCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteMapCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_RouteMapCollection { - // RouteMapGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RouteMapGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteMapGet.json @@ -50,9 +50,8 @@ public async Task Get_RouteMapGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RouteMapGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RouteMapGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteMapGet.json @@ -81,9 +80,8 @@ public async Task Exists_RouteMapGet() Console.WriteLine($"Succeeded: {result}"); } - // RouteMapGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RouteMapGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteMapGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_RouteMapGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_RouteMapGet() } } - // RouteMapPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RouteMapPut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteMapPut.json @@ -218,9 +215,8 @@ public async Task CreateOrUpdate_RouteMapPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RouteMapList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RouteMapList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteMapList.json @@ -252,7 +248,7 @@ public async Task GetAll_RouteMapList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteMapResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteMapResource.cs index dd11ab516d83c..71592d3196610 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteMapResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteMapResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_RouteMapResource { - // RouteMapGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RouteMapGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteMapGet.json @@ -47,9 +47,8 @@ public async Task Get_RouteMapGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RouteMapPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RouteMapPut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteMapPut.json @@ -138,9 +137,8 @@ public async Task Update_RouteMapPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RouteMapDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RouteMapDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteMapDelete.json @@ -163,7 +161,7 @@ public async Task Delete_RouteMapDelete() // invoke the operation await routeMap.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteResource.cs index c4c16aaa8235b..92b2d23274b5e 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_RouteResource { - // Delete route - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteRoute() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteTableRouteDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteRoute() // invoke the operation await route.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get route - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRoute() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteTableRouteGet.json @@ -75,9 +74,8 @@ public async Task Get_GetRoute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create route - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateRoute() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteTableRouteCreate.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteTableCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteTableCollection.cs index 25e97d7e3ed4e..8d2206a5d5620 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteTableCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteTableCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_RouteTableCollection { - // Get route table - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRouteTable() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteTableGet.json @@ -50,9 +50,8 @@ public async Task Get_GetRouteTable() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get route table - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRouteTable() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteTableGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetRouteTable() Console.WriteLine($"Succeeded: {result}"); } - // Get route table - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRouteTable() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteTableGet.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetRouteTable() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetRouteTable() } } - // Create route table - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateRouteTable() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteTableCreate.json @@ -161,9 +158,8 @@ public async Task CreateOrUpdate_CreateRouteTable() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create route table with route - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateRouteTableWithRoute() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteTableCreateWithRoute.json @@ -210,9 +206,8 @@ public async Task CreateOrUpdate_CreateRouteTableWithRoute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List route tables in resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRouteTablesInResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteTableList.json @@ -243,7 +238,7 @@ public async Task GetAll_ListRouteTablesInResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteTableResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteTableResource.cs index 7f5f26c6831e8..ceefb75131286 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteTableResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RouteTableResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_RouteTableResource { - // Delete route table - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteRouteTable() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteTableDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteRouteTable() // invoke the operation await routeTable.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get route table - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRouteTable() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteTableGet.json @@ -74,9 +73,8 @@ public async Task Get_GetRouteTable() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update route table tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateRouteTableTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteTableUpdateTags.json @@ -113,9 +111,8 @@ public async Task Update_UpdateRouteTableTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all route tables - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRouteTables_ListAllRouteTables() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RouteTableListAll.json @@ -142,7 +139,7 @@ public async Task GetRouteTables_ListAllRouteTables() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RoutingIntentCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RoutingIntentCollection.cs index 34a0b45dd1974..092a6b0101731 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RoutingIntentCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RoutingIntentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_RoutingIntentCollection { - // RouteTablePut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RouteTablePut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RoutingIntentPut.json @@ -64,9 +64,8 @@ public async Task CreateOrUpdate_RouteTablePut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RouteTableGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RouteTableGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RoutingIntentGet.json @@ -99,9 +98,8 @@ public async Task Get_RouteTableGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RouteTableGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RouteTableGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RoutingIntentGet.json @@ -130,9 +128,8 @@ public async Task Exists_RouteTableGet() Console.WriteLine($"Succeeded: {result}"); } - // RouteTableGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RouteTableGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RoutingIntentGet.json @@ -161,7 +158,7 @@ public async Task GetIfExists_RouteTableGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -173,9 +170,8 @@ public async Task GetIfExists_RouteTableGet() } } - // RoutingIntentList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RoutingIntentList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RoutingIntentList.json @@ -207,7 +203,7 @@ public async Task GetAll_RoutingIntentList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RoutingIntentResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RoutingIntentResource.cs index d3fa93cd88f88..6d43aa9609c35 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RoutingIntentResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_RoutingIntentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_RoutingIntentResource { - // RouteTablePut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RouteTablePut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RoutingIntentPut.json @@ -61,9 +61,8 @@ public async Task Update_RouteTablePut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RouteTableGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RouteTableGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RoutingIntentGet.json @@ -93,9 +92,8 @@ public async Task Get_RouteTableGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RouteTableDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RouteTableDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/RoutingIntentDelete.json @@ -118,7 +116,7 @@ public async Task Delete_RouteTableDelete() // invoke the operation await routingIntent.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ScopeConnectionCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ScopeConnectionCollection.cs index 32f88ed3637bd..99a23f38b81f1 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ScopeConnectionCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ScopeConnectionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ScopeConnectionCollection { - // Create or Update Network Manager Scope Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateNetworkManagerScopeConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerScopeConnectionPut.json @@ -56,9 +56,8 @@ public async Task CreateOrUpdate_CreateOrUpdateNetworkManagerScopeConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Network Manager Scope Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkManagerScopeConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerScopeConnectionGet.json @@ -91,9 +90,8 @@ public async Task Get_GetNetworkManagerScopeConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Network Manager Scope Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetNetworkManagerScopeConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerScopeConnectionGet.json @@ -122,9 +120,8 @@ public async Task Exists_GetNetworkManagerScopeConnection() Console.WriteLine($"Succeeded: {result}"); } - // Get Network Manager Scope Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetNetworkManagerScopeConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerScopeConnectionGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetNetworkManagerScopeConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_GetNetworkManagerScopeConnection() } } - // List Network Manager Scope Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListNetworkManagerScopeConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerScopeConnectionList.json @@ -199,7 +195,7 @@ public async Task GetAll_ListNetworkManagerScopeConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ScopeConnectionResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ScopeConnectionResource.cs index 8dadddaf014a0..103830f218295 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ScopeConnectionResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ScopeConnectionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ScopeConnectionResource { - // Create or Update Network Manager Scope Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateNetworkManagerScopeConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerScopeConnectionPut.json @@ -53,9 +53,8 @@ public async Task Update_CreateOrUpdateNetworkManagerScopeConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Network Manager Scope Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkManagerScopeConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerScopeConnectionGet.json @@ -85,9 +84,8 @@ public async Task Get_GetNetworkManagerScopeConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Network Manager Scope Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteNetworkManagerScopeConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerScopeConnectionDelete.json @@ -110,7 +108,7 @@ public async Task Delete_DeleteNetworkManagerScopeConnection() // invoke the operation await scopeConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SecurityAdminConfigurationCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SecurityAdminConfigurationCollection.cs index 4d89cf0efe193..54d14ff4b76fb 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SecurityAdminConfigurationCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SecurityAdminConfigurationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_SecurityAdminConfigurationCollection { - // List security admin configurations in a network manager - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSecurityAdminConfigurationsInANetworkManager() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityAdminConfigurationList.json @@ -49,12 +49,11 @@ public async Task GetAll_ListSecurityAdminConfigurationsInANetworkManager() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get security admin configurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityAdminConfigurations() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityAdminConfigurationGet.json @@ -87,9 +86,8 @@ public async Task Get_GetSecurityAdminConfigurations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get security admin configurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSecurityAdminConfigurations() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityAdminConfigurationGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetSecurityAdminConfigurations() Console.WriteLine($"Succeeded: {result}"); } - // Get security admin configurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSecurityAdminConfigurations() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityAdminConfigurationGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetSecurityAdminConfigurations() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetSecurityAdminConfigurations() } } - // Create network manager security admin configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNetworkManagerSecurityAdminConfiguration() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityAdminConfigurationPut.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SecurityAdminConfigurationResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SecurityAdminConfigurationResource.cs index 5b852aaca8216..327b8f6c0b0e4 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SecurityAdminConfigurationResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SecurityAdminConfigurationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_SecurityAdminConfigurationResource { - // Get security admin configurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityAdminConfigurations() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityAdminConfigurationGet.json @@ -47,9 +47,8 @@ public async Task Get_GetSecurityAdminConfigurations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create network manager security admin configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateNetworkManagerSecurityAdminConfiguration() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityAdminConfigurationPut.json @@ -88,9 +87,8 @@ public async Task Update_CreateNetworkManagerSecurityAdminConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete network manager security admin configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteNetworkManagerSecurityAdminConfiguration() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerSecurityAdminConfigurationDelete.json @@ -114,7 +112,7 @@ public async Task Delete_DeleteNetworkManagerSecurityAdminConfiguration() bool? force = false; await securityAdminConfiguration.DeleteAsync(WaitUntil.Completed, force: force); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SecurityPartnerProviderCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SecurityPartnerProviderCollection.cs index 5449237e192fe..0319d19bdde89 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SecurityPartnerProviderCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SecurityPartnerProviderCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_SecurityPartnerProviderCollection { - // Get Security Partner Provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityPartnerProvider() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SecurityPartnerProviderGet.json @@ -50,9 +50,8 @@ public async Task Get_GetSecurityPartnerProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Security Partner Provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSecurityPartnerProvider() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SecurityPartnerProviderGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetSecurityPartnerProvider() Console.WriteLine($"Succeeded: {result}"); } - // Get Security Partner Provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSecurityPartnerProvider() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SecurityPartnerProviderGet.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetSecurityPartnerProvider() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetSecurityPartnerProvider() } } - // Create Security Partner Provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSecurityPartnerProvider() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SecurityPartnerProviderPut.json @@ -167,9 +164,8 @@ public async Task CreateOrUpdate_CreateSecurityPartnerProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all Security Partner Providers for a given resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllSecurityPartnerProvidersForAGivenResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SecurityPartnerProviderListByResourceGroup.json @@ -200,7 +196,7 @@ public async Task GetAll_ListAllSecurityPartnerProvidersForAGivenResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SecurityPartnerProviderResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SecurityPartnerProviderResource.cs index 8989e7d4f0079..6e0a18834ae96 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SecurityPartnerProviderResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SecurityPartnerProviderResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_SecurityPartnerProviderResource { - // Delete Security Partner Provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSecurityPartnerProvider() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SecurityPartnerProviderDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteSecurityPartnerProvider() // invoke the operation await securityPartnerProvider.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Security Partner Provider - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityPartnerProvider() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SecurityPartnerProviderGet.json @@ -74,9 +73,8 @@ public async Task Get_GetSecurityPartnerProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Security Partner Provider Tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateSecurityPartnerProviderTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SecurityPartnerProviderUpdateTags.json @@ -113,9 +111,8 @@ public async Task Update_UpdateSecurityPartnerProviderTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all Security Partner Providers for a given subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecurityPartnerProviders_ListAllSecurityPartnerProvidersForAGivenSubscription() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SecurityPartnerProviderListBySubscription.json @@ -142,7 +139,7 @@ public async Task GetSecurityPartnerProviders_ListAllSecurityPartnerProvidersFor Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SecurityRuleCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SecurityRuleCollection.cs index a7f951ba5d5c7..42f77edb05925 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SecurityRuleCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SecurityRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_SecurityRuleCollection { - // Get network security rule in network security group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkSecurityRuleInNetworkSecurityGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkSecurityGroupRuleGet.json @@ -50,9 +50,8 @@ public async Task Get_GetNetworkSecurityRuleInNetworkSecurityGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get network security rule in network security group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetNetworkSecurityRuleInNetworkSecurityGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkSecurityGroupRuleGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetNetworkSecurityRuleInNetworkSecurityGroup() Console.WriteLine($"Succeeded: {result}"); } - // Get network security rule in network security group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetNetworkSecurityRuleInNetworkSecurityGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkSecurityGroupRuleGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetNetworkSecurityRuleInNetworkSecurityGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetNetworkSecurityRuleInNetworkSecurityGroup() } } - // Create security rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSecurityRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkSecurityGroupRuleCreate.json @@ -171,9 +168,8 @@ public async Task CreateOrUpdate_CreateSecurityRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List network security rules in network security group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListNetworkSecurityRulesInNetworkSecurityGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkSecurityGroupRuleList.json @@ -205,7 +201,7 @@ public async Task GetAll_ListNetworkSecurityRulesInNetworkSecurityGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SecurityRuleResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SecurityRuleResource.cs index 02f4a867f4b1b..fc5799891fadf 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SecurityRuleResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SecurityRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_SecurityRuleResource { - // Delete network security rule from network security group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteNetworkSecurityRuleFromNetworkSecurityGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkSecurityGroupRuleDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteNetworkSecurityRuleFromNetworkSecurityGroup() // invoke the operation await securityRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get network security rule in network security group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkSecurityRuleInNetworkSecurityGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkSecurityGroupRuleGet.json @@ -75,9 +74,8 @@ public async Task Get_GetNetworkSecurityRuleInNetworkSecurityGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create security rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateSecurityRule() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkSecurityGroupRuleCreate.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ServiceEndpointPolicyCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ServiceEndpointPolicyCollection.cs index 8509be91f25b8..e13862e5abb25 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ServiceEndpointPolicyCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ServiceEndpointPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ServiceEndpointPolicyCollection { - // Get service endPoint Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetServiceEndPointPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ServiceEndpointPolicyGet.json @@ -49,9 +49,8 @@ public async Task Get_GetServiceEndPointPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get service endPoint Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetServiceEndPointPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ServiceEndpointPolicyGet.json @@ -79,9 +78,8 @@ public async Task Exists_GetServiceEndPointPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Get service endPoint Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetServiceEndPointPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ServiceEndpointPolicyGet.json @@ -109,7 +107,7 @@ public async Task GetIfExists_GetServiceEndPointPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_GetServiceEndPointPolicy() } } - // Create service endpoint policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateServiceEndpointPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ServiceEndpointPolicyCreate.json @@ -160,9 +157,8 @@ public async Task CreateOrUpdate_CreateServiceEndpointPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create service endpoint policy with definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateServiceEndpointPolicyWithDefinition() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ServiceEndpointPolicyCreateWithDefinition.json @@ -212,9 +208,8 @@ public async Task CreateOrUpdate_CreateServiceEndpointPolicyWithDefinition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List resource group service endpoint policies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListResourceGroupServiceEndpointPolicies() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ServiceEndpointPolicyList.json @@ -245,7 +240,7 @@ public async Task GetAll_ListResourceGroupServiceEndpointPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ServiceEndpointPolicyDefinitionCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ServiceEndpointPolicyDefinitionCollection.cs index 3ed7651ccec7d..0feb943b5df56 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ServiceEndpointPolicyDefinitionCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ServiceEndpointPolicyDefinitionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ServiceEndpointPolicyDefinitionCollection { - // Get service endpoint definition in service endpoint policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetServiceEndpointDefinitionInServiceEndpointPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ServiceEndpointPolicyDefinitionGet.json @@ -49,9 +49,8 @@ public async Task Get_GetServiceEndpointDefinitionInServiceEndpointPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get service endpoint definition in service endpoint policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetServiceEndpointDefinitionInServiceEndpointPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ServiceEndpointPolicyDefinitionGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetServiceEndpointDefinitionInServiceEndpointPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Get service endpoint definition in service endpoint policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetServiceEndpointDefinitionInServiceEndpointPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ServiceEndpointPolicyDefinitionGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetServiceEndpointDefinitionInServiceEndpointPolic if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetServiceEndpointDefinitionInServiceEndpointPolic } } - // Create service endpoint policy definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateServiceEndpointPolicyDefinition() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ServiceEndpointPolicyDefinitionCreate.json @@ -168,9 +165,8 @@ public async Task CreateOrUpdate_CreateServiceEndpointPolicyDefinition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List service endpoint definitions in service end point policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListServiceEndpointDefinitionsInServiceEndPointPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ServiceEndpointPolicyDefinitionList.json @@ -202,7 +198,7 @@ public async Task GetAll_ListServiceEndpointDefinitionsInServiceEndPointPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ServiceEndpointPolicyDefinitionResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ServiceEndpointPolicyDefinitionResource.cs index 3d44d7d50a0c3..8480c3b2b5a7c 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ServiceEndpointPolicyDefinitionResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ServiceEndpointPolicyDefinitionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ServiceEndpointPolicyDefinitionResource { - // Delete service endpoint policy definitions from service endpoint policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteServiceEndpointPolicyDefinitionsFromServiceEndpointPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ServiceEndpointPolicyDefinitionDelete.json @@ -39,12 +39,11 @@ public async Task Delete_DeleteServiceEndpointPolicyDefinitionsFromServiceEndpoi // invoke the operation await serviceEndpointPolicyDefinition.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get service endpoint definition in service endpoint policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetServiceEndpointDefinitionInServiceEndpointPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ServiceEndpointPolicyDefinitionGet.json @@ -74,9 +73,8 @@ public async Task Get_GetServiceEndpointDefinitionInServiceEndpointPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create service endpoint policy definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateServiceEndpointPolicyDefinition() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ServiceEndpointPolicyDefinitionCreate.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ServiceEndpointPolicyResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ServiceEndpointPolicyResource.cs index 0548c041b0fc1..86f86237a5c6c 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ServiceEndpointPolicyResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_ServiceEndpointPolicyResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_ServiceEndpointPolicyResource { - // Delete service endpoint policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteServiceEndpointPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ServiceEndpointPolicyDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteServiceEndpointPolicy() // invoke the operation await serviceEndpointPolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get service endPoint Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetServiceEndPointPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ServiceEndpointPolicyGet.json @@ -74,9 +73,8 @@ public async Task Get_GetServiceEndPointPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update service endpoint policy tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateServiceEndpointPolicyTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ServiceEndpointPolicyUpdateTags.json @@ -113,9 +111,8 @@ public async Task Update_UpdateServiceEndpointPolicyTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all service endpoint policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetServiceEndpointPoliciesByServiceEndpointPolicy_ListAllServiceEndpointPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ServiceEndpointPolicyListAll.json @@ -142,7 +139,7 @@ public async Task GetServiceEndpointPoliciesByServiceEndpointPolicy_ListAllServi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SubnetCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SubnetCollection.cs index 52acff30c2849..1578f751b12b3 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SubnetCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SubnetCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_SubnetCollection { - // Get subnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSubnet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetGet.json @@ -50,9 +50,8 @@ public async Task Get_GetSubnet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get subnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSubnet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetSubnet() Console.WriteLine($"Succeeded: {result}"); } - // Get subnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSubnet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetSubnet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetSubnet() } } - // Get subnet with a delegation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSubnetWithADelegation() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetGetWithDelegation.json @@ -159,9 +156,8 @@ public async Task Get_GetSubnetWithADelegation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get subnet with a delegation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSubnetWithADelegation() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetGetWithDelegation.json @@ -190,9 +186,8 @@ public async Task Exists_GetSubnetWithADelegation() Console.WriteLine($"Succeeded: {result}"); } - // Get subnet with a delegation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSubnetWithADelegation() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetGetWithDelegation.json @@ -221,7 +216,7 @@ public async Task GetIfExists_GetSubnetWithADelegation() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -233,9 +228,8 @@ public async Task GetIfExists_GetSubnetWithADelegation() } } - // Get subnet with sharing scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSubnetWithSharingScope() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetGetWithSharingScope.json @@ -268,9 +262,8 @@ public async Task Get_GetSubnetWithSharingScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get subnet with sharing scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSubnetWithSharingScope() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetGetWithSharingScope.json @@ -299,9 +292,8 @@ public async Task Exists_GetSubnetWithSharingScope() Console.WriteLine($"Succeeded: {result}"); } - // Get subnet with sharing scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSubnetWithSharingScope() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetGetWithSharingScope.json @@ -330,7 +322,7 @@ public async Task GetIfExists_GetSubnetWithSharingScope() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -342,9 +334,8 @@ public async Task GetIfExists_GetSubnetWithSharingScope() } } - // Create subnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSubnet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetCreate.json @@ -382,9 +373,8 @@ public async Task CreateOrUpdate_CreateSubnet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create subnet with a delegation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSubnetWithADelegation() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetCreateWithDelegation.json @@ -422,9 +412,8 @@ public async Task CreateOrUpdate_CreateSubnetWithADelegation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create subnet with service endpoints - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSubnetWithServiceEndpoints() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetCreateServiceEndpoint.json @@ -469,9 +458,8 @@ public async Task CreateOrUpdate_CreateSubnetWithServiceEndpoints() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create subnet with service endpoints with network identifier - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSubnetWithServiceEndpointsWithNetworkIdentifier() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetCreateServiceEndpointNetworkIdentifier.json @@ -517,9 +505,8 @@ public async Task CreateOrUpdate_CreateSubnetWithServiceEndpointsWithNetworkIden Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create subnet with sharing scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSubnetWithSharingScope() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetCreateWithSharingScope.json @@ -557,9 +544,8 @@ public async Task CreateOrUpdate_CreateSubnetWithSharingScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List subnets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSubnets() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetList.json @@ -591,7 +577,7 @@ public async Task GetAll_ListSubnets() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SubnetResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SubnetResource.cs index 6881d8129134d..f8a0b4ddbe60f 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SubnetResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SubnetResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_SubnetResource { - // Delete subnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSubnet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteSubnet() // invoke the operation await subnet.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get subnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSubnet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetGet.json @@ -75,9 +74,8 @@ public async Task Get_GetSubnet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get subnet with a delegation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSubnetWithADelegation() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetGetWithDelegation.json @@ -107,9 +105,8 @@ public async Task Get_GetSubnetWithADelegation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get subnet with sharing scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSubnetWithSharingScope() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetGetWithSharingScope.json @@ -139,9 +136,8 @@ public async Task Get_GetSubnetWithSharingScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create subnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateSubnet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetCreate.json @@ -176,9 +172,8 @@ public async Task Update_CreateSubnet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create subnet with a delegation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateSubnetWithADelegation() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetCreateWithDelegation.json @@ -213,9 +208,8 @@ public async Task Update_CreateSubnetWithADelegation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create subnet with service endpoints - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateSubnetWithServiceEndpoints() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetCreateServiceEndpoint.json @@ -257,9 +251,8 @@ public async Task Update_CreateSubnetWithServiceEndpoints() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create subnet with service endpoints with network identifier - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateSubnetWithServiceEndpointsWithNetworkIdentifier() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetCreateServiceEndpointNetworkIdentifier.json @@ -302,9 +295,8 @@ public async Task Update_CreateSubnetWithServiceEndpointsWithNetworkIdentifier() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create subnet with sharing scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateSubnetWithSharingScope() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetCreateWithSharingScope.json @@ -339,9 +331,8 @@ public async Task Update_CreateSubnetWithSharingScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Prepare Network Policies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PrepareNetworkPolicies_PrepareNetworkPolicies() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetPrepareNetworkPolicies.json @@ -368,12 +359,11 @@ public async Task PrepareNetworkPolicies_PrepareNetworkPolicies() }; await subnet.PrepareNetworkPoliciesAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Unprepare Network Policies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UnprepareNetworkPolicies_UnprepareNetworkPolicies() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/SubnetUnprepareNetworkPolicies.json @@ -400,12 +390,11 @@ public async Task UnprepareNetworkPolicies_UnprepareNetworkPolicies() }; await subnet.UnprepareNetworkPoliciesAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Resource Navigation Links - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResourceNavigationLinks_GetResourceNavigationLinks() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGetResourceNavigationLinks.json @@ -431,12 +420,11 @@ public async Task GetResourceNavigationLinks_GetResourceNavigationLinks() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Service Association Links - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetServiceAssociationLinks_GetServiceAssociationLinks() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGetServiceAssociationLinks.json @@ -462,7 +450,7 @@ public async Task GetServiceAssociationLinks_GetServiceAssociationLinks() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SubscriptionNetworkManagerConnectionCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SubscriptionNetworkManagerConnectionCollection.cs index b647bcfe46db1..f7a763fc070db 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SubscriptionNetworkManagerConnectionCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SubscriptionNetworkManagerConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_SubscriptionNetworkManagerConnectionCollection { - // Create or Update Subscription Network Manager Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateSubscriptionNetworkManagerConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerConnectionSubscriptionPut.json @@ -53,9 +53,8 @@ public async Task CreateOrUpdate_CreateOrUpdateSubscriptionNetworkManagerConnect Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Subscription Network Manager Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSubscriptionNetworkManagerConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerConnectionSubscriptionGet.json @@ -86,9 +85,8 @@ public async Task Get_GetSubscriptionNetworkManagerConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Subscription Network Manager Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSubscriptionNetworkManagerConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerConnectionSubscriptionGet.json @@ -115,9 +113,8 @@ public async Task Exists_GetSubscriptionNetworkManagerConnection() Console.WriteLine($"Succeeded: {result}"); } - // Get Subscription Network Manager Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSubscriptionNetworkManagerConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerConnectionSubscriptionGet.json @@ -144,7 +141,7 @@ public async Task GetIfExists_GetSubscriptionNetworkManagerConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -156,9 +153,8 @@ public async Task GetIfExists_GetSubscriptionNetworkManagerConnection() } } - // List Subscription Network Manager Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSubscriptionNetworkManagerConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerConnectionSubscriptionList.json @@ -188,7 +184,7 @@ public async Task GetAll_ListSubscriptionNetworkManagerConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SubscriptionNetworkManagerConnectionResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SubscriptionNetworkManagerConnectionResource.cs index 448a1063a69ae..d9e885396a052 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SubscriptionNetworkManagerConnectionResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SubscriptionNetworkManagerConnectionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_SubscriptionNetworkManagerConnectionResource { - // Create or Update Subscription Network Manager Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateSubscriptionNetworkManagerConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerConnectionSubscriptionPut.json @@ -49,9 +49,8 @@ public async Task Update_CreateOrUpdateSubscriptionNetworkManagerConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Subscription Network Manager Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSubscriptionNetworkManagerConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerConnectionSubscriptionGet.json @@ -79,9 +78,8 @@ public async Task Get_GetSubscriptionNetworkManagerConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Subscription Network Manager Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSubscriptionNetworkManagerConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerConnectionSubscriptionDelete.json @@ -102,7 +100,7 @@ public async Task Delete_DeleteSubscriptionNetworkManagerConnection() // invoke the operation await subscriptionNetworkManagerConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index ace6c173f2e0d..f8f02644b4edc 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Get available delegations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableDelegations_GetAvailableDelegations() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AvailableDelegationsSubscriptionGet.json @@ -42,12 +42,11 @@ public async Task GetAvailableDelegations_GetAvailableDelegations() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get available service aliases - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableServiceAliases_GetAvailableServiceAliases() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AvailableServiceAliasesList.json @@ -71,12 +70,11 @@ public async Task GetAvailableServiceAliases_GetAvailableServiceAliases() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List all Azure Firewall FQDN Tags for a given subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAzureFirewallFqdnTags_ListAllAzureFirewallFQDNTagsForAGivenSubscription() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AzureFirewallFqdnTagsListBySubscription.json @@ -99,12 +97,11 @@ public async Task GetAzureFirewallFqdnTags_ListAllAzureFirewallFQDNTagsForAGiven Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // EndpointServicesList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableEndpointServices_EndpointServicesList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/EndpointServicesList.json @@ -128,12 +125,11 @@ public async Task GetAvailableEndpointServices_EndpointServicesList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List ExpressRoute providers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExpressRouteServiceProviders_ListExpressRouteProviders() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ExpressRouteProviderList.json @@ -156,12 +152,11 @@ public async Task GetExpressRouteServiceProviders_ListExpressRouteProviders() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get available PrivateEndpoint types - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailablePrivateEndpointTypes_GetAvailablePrivateEndpointTypes() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AvailablePrivateEndpointTypesGet.json @@ -185,12 +180,11 @@ public async Task GetAvailablePrivateEndpointTypes_GetAvailablePrivateEndpointTy Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Check private link service visibility - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckPrivateLinkServiceVisibilityPrivateLinkService_CheckPrivateLinkServiceVisibility() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/CheckPrivateLinkServiceVisibility.json @@ -219,9 +213,8 @@ public async Task CheckPrivateLinkServiceVisibilityPrivateLinkService_CheckPriva Console.WriteLine($"Succeeded: {result}"); } - // Get list of private link service id that can be linked to a private end point with auto approved - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAutoApprovedPrivateLinkServicesPrivateLinkServices_GetListOfPrivateLinkServiceIdThatCanBeLinkedToAPrivateEndPointWithAutoApproved() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/AutoApprovedPrivateLinkServicesGet.json @@ -245,12 +238,11 @@ public async Task GetAutoApprovedPrivateLinkServicesPrivateLinkServices_GetListO Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ServiceCommunityList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBgpServiceCommunities_ServiceCommunityList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ServiceCommunityList.json @@ -273,12 +265,11 @@ public async Task GetBgpServiceCommunities_ServiceCommunityList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get list of service tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetServiceTag_GetListOfServiceTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ServiceTagsList.json @@ -302,9 +293,8 @@ public async Task GetServiceTag_GetListOfServiceTags() Console.WriteLine($"Succeeded: {result}"); } - // Get list of service tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllServiceTagInformation_GetListOfServiceTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ServiceTagInformationListResult.json @@ -328,12 +318,11 @@ public async Task GetAllServiceTagInformation_GetListOfServiceTags() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get list of service tags with no address prefixes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllServiceTagInformation_GetListOfServiceTagsWithNoAddressPrefixes() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ServiceTagInformationListResultWithNoAddressPrefixes.json @@ -358,12 +347,11 @@ public async Task GetAllServiceTagInformation_GetListOfServiceTagsWithNoAddressP Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get list of service tags with tag name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllServiceTagInformation_GetListOfServiceTagsWithTagName() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ServiceTagInformationListResultWithTagname.json @@ -388,12 +376,11 @@ public async Task GetAllServiceTagInformation_GetListOfServiceTagsWithTagName() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List usages - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsages_ListUsages() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/UsageList.json @@ -417,12 +404,11 @@ public async Task GetUsages_ListUsages() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List usages spaced location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsages_ListUsagesSpacedLocation() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/UsageListSpacedLocation.json @@ -446,7 +432,7 @@ public async Task GetUsages_ListUsagesSpacedLocation() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualApplianceSiteCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualApplianceSiteCollection.cs index 979744cb603e1..212358faf1fe6 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualApplianceSiteCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualApplianceSiteCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VirtualApplianceSiteCollection { - // GetNetwork Virtual Appliance Site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkVirtualApplianceSite() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceSiteGet.json @@ -50,9 +50,8 @@ public async Task Get_GetNetworkVirtualApplianceSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetNetwork Virtual Appliance Site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetNetworkVirtualApplianceSite() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceSiteGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetNetworkVirtualApplianceSite() Console.WriteLine($"Succeeded: {result}"); } - // GetNetwork Virtual Appliance Site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetNetworkVirtualApplianceSite() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceSiteGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetNetworkVirtualApplianceSite() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetNetworkVirtualApplianceSite() } } - // Create Network Virtual Appliance Site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNetworkVirtualApplianceSite() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceSitePut.json @@ -170,9 +167,8 @@ public async Task CreateOrUpdate_CreateNetworkVirtualApplianceSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all Network Virtual Appliance sites for a given Network Virtual Appliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllNetworkVirtualApplianceSitesForAGivenNetworkVirtualAppliance() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceSiteList.json @@ -204,7 +200,7 @@ public async Task GetAll_ListAllNetworkVirtualApplianceSitesForAGivenNetworkVirt Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualApplianceSiteResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualApplianceSiteResource.cs index 1c4a79e2682f0..332586fcfd726 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualApplianceSiteResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualApplianceSiteResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VirtualApplianceSiteResource { - // Delete Network Virtual Appliance Site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteNetworkVirtualApplianceSite() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceSiteDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteNetworkVirtualApplianceSite() // invoke the operation await virtualApplianceSite.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetNetwork Virtual Appliance Site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetNetworkVirtualApplianceSite() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceSiteGet.json @@ -75,9 +74,8 @@ public async Task Get_GetNetworkVirtualApplianceSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Network Virtual Appliance Site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateNetworkVirtualApplianceSite() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkVirtualApplianceSitePut.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualHubCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualHubCollection.cs index 2a783100a47c9..53f64b4ebcf12 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualHubCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualHubCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VirtualHubCollection { - // VirtualHubGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualHubGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubGet.json @@ -49,9 +49,8 @@ public async Task Get_VirtualHubGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualHubGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VirtualHubGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubGet.json @@ -79,9 +78,8 @@ public async Task Exists_VirtualHubGet() Console.WriteLine($"Succeeded: {result}"); } - // VirtualHubGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VirtualHubGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubGet.json @@ -109,7 +107,7 @@ public async Task GetIfExists_VirtualHubGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_VirtualHubGet() } } - // VirtualHubPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VirtualHubPut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubPut.json @@ -167,9 +164,8 @@ public async Task CreateOrUpdate_VirtualHubPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualHubListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VirtualHubListByResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubListByResourceGroup.json @@ -200,7 +196,7 @@ public async Task GetAll_VirtualHubListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualHubResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualHubResource.cs index 032cea138ff7d..e55ac52d7105e 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualHubResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualHubResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VirtualHubResource { - // VirtualHubGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualHubGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubGet.json @@ -47,9 +47,8 @@ public async Task Get_VirtualHubGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualHubUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VirtualHubUpdate() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubUpdateTags.json @@ -86,9 +85,8 @@ public async Task Update_VirtualHubUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualHubDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VirtualHubDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubDelete.json @@ -110,12 +108,11 @@ public async Task Delete_VirtualHubDelete() // invoke the operation await virtualHub.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualHubList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualHubs_VirtualHubList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubList.json @@ -142,12 +139,11 @@ public async Task GetVirtualHubs_VirtualHubList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Effective Routes for a Connection resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualHubEffectiveRoutes_EffectiveRoutesForAConnectionResource() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/EffectiveRoutesListForConnection.json @@ -178,9 +174,8 @@ public async Task GetVirtualHubEffectiveRoutes_EffectiveRoutesForAConnectionReso Console.WriteLine($"Succeeded: {result}"); } - // Effective Routes for a Route Table resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualHubEffectiveRoutes_EffectiveRoutesForARouteTableResource() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/EffectiveRoutesListForRouteTable.json @@ -211,9 +206,8 @@ public async Task GetVirtualHubEffectiveRoutes_EffectiveRoutesForARouteTableReso Console.WriteLine($"Succeeded: {result}"); } - // Effective Routes for the Virtual Hub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualHubEffectiveRoutes_EffectiveRoutesForTheVirtualHub() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/EffectiveRoutesListForVirtualHub.json @@ -240,9 +234,8 @@ public async Task GetVirtualHubEffectiveRoutes_EffectiveRoutesForTheVirtualHub() Console.WriteLine($"Succeeded: {result}"); } - // Inbound Routes for the Virtual Hub on a Particular Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualHubInboundRoutes_InboundRoutesForTheVirtualHubOnAParticularConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/GetInboundRoutes.json @@ -273,9 +266,8 @@ public async Task GetVirtualHubInboundRoutes_InboundRoutesForTheVirtualHubOnAPar Console.WriteLine($"Succeeded: {result}"); } - // Outbound Routes for the Virtual Hub on a Particular Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualHubOutboundRoutes_OutboundRoutesForTheVirtualHubOnAParticularConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/GetOutboundRoutes.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualHubRouteTableV2Collection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualHubRouteTableV2Collection.cs index 80ee151f9ebd3..96176b16d1418 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualHubRouteTableV2Collection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualHubRouteTableV2Collection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VirtualHubRouteTableV2Collection { - // VirtualHubVirtualHubRouteTableV2Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualHubVirtualHubRouteTableV2Get() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubRouteTableV2Get.json @@ -50,9 +50,8 @@ public async Task Get_VirtualHubVirtualHubRouteTableV2Get() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualHubVirtualHubRouteTableV2Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VirtualHubVirtualHubRouteTableV2Get() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubRouteTableV2Get.json @@ -81,9 +80,8 @@ public async Task Exists_VirtualHubVirtualHubRouteTableV2Get() Console.WriteLine($"Succeeded: {result}"); } - // VirtualHubVirtualHubRouteTableV2Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VirtualHubVirtualHubRouteTableV2Get() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubRouteTableV2Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_VirtualHubVirtualHubRouteTableV2Get() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_VirtualHubVirtualHubRouteTableV2Get() } } - // VirtualHubRouteTableV2Put - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VirtualHubRouteTableV2Put() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubRouteTableV2Put.json @@ -195,9 +192,8 @@ public async Task CreateOrUpdate_VirtualHubRouteTableV2Put() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualHubRouteTableV2List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VirtualHubRouteTableV2List() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubRouteTableV2List.json @@ -229,7 +225,7 @@ public async Task GetAll_VirtualHubRouteTableV2List() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualHubRouteTableV2Resource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualHubRouteTableV2Resource.cs index 176e6c0d3a2ed..72f24ae124348 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualHubRouteTableV2Resource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualHubRouteTableV2Resource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VirtualHubRouteTableV2Resource { - // VirtualHubVirtualHubRouteTableV2Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualHubVirtualHubRouteTableV2Get() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubRouteTableV2Get.json @@ -47,9 +47,8 @@ public async Task Get_VirtualHubVirtualHubRouteTableV2Get() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualHubRouteTableV2Put - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VirtualHubRouteTableV2Put() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubRouteTableV2Put.json @@ -115,9 +114,8 @@ public async Task Update_VirtualHubRouteTableV2Put() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualHubRouteTableV2Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VirtualHubRouteTableV2Delete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualHubRouteTableV2Delete.json @@ -140,7 +138,7 @@ public async Task Delete_VirtualHubRouteTableV2Delete() // invoke the operation await virtualHubRouteTableV2.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkCollection.cs index f0cc1aec5dc62..a58131c9ee591 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VirtualNetworkCollection { - // Get virtual network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetwork() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGet.json @@ -50,9 +50,8 @@ public async Task Get_GetVirtualNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get virtual network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVirtualNetwork() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetVirtualNetwork() Console.WriteLine($"Succeeded: {result}"); } - // Get virtual network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVirtualNetwork() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGet.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetVirtualNetwork() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetVirtualNetwork() } } - // Get virtual network with a delegated subnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetworkWithADelegatedSubnet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGetWithSubnetDelegation.json @@ -156,9 +153,8 @@ public async Task Get_GetVirtualNetworkWithADelegatedSubnet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get virtual network with a delegated subnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVirtualNetworkWithADelegatedSubnet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGetWithSubnetDelegation.json @@ -186,9 +182,8 @@ public async Task Exists_GetVirtualNetworkWithADelegatedSubnet() Console.WriteLine($"Succeeded: {result}"); } - // Get virtual network with a delegated subnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVirtualNetworkWithADelegatedSubnet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGetWithSubnetDelegation.json @@ -216,7 +211,7 @@ public async Task GetIfExists_GetVirtualNetworkWithADelegatedSubnet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -228,9 +223,8 @@ public async Task GetIfExists_GetVirtualNetworkWithADelegatedSubnet() } } - // Get virtual network with service association links - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetworkWithServiceAssociationLinks() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGetWithServiceAssociationLink.json @@ -262,9 +256,8 @@ public async Task Get_GetVirtualNetworkWithServiceAssociationLinks() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get virtual network with service association links - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVirtualNetworkWithServiceAssociationLinks() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGetWithServiceAssociationLink.json @@ -292,9 +285,8 @@ public async Task Exists_GetVirtualNetworkWithServiceAssociationLinks() Console.WriteLine($"Succeeded: {result}"); } - // Get virtual network with service association links - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVirtualNetworkWithServiceAssociationLinks() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGetWithServiceAssociationLink.json @@ -322,7 +314,7 @@ public async Task GetIfExists_GetVirtualNetworkWithServiceAssociationLinks() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -334,9 +326,8 @@ public async Task GetIfExists_GetVirtualNetworkWithServiceAssociationLinks() } } - // Create virtual network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVirtualNetwork() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkCreate.json @@ -378,9 +369,8 @@ public async Task CreateOrUpdate_CreateVirtualNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create virtual network with Bgp Communities - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVirtualNetworkWithBgpCommunities() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkCreateWithBgpCommunities.json @@ -430,9 +420,8 @@ public async Task CreateOrUpdate_CreateVirtualNetworkWithBgpCommunities() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create virtual network with delegated subnets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVirtualNetworkWithDelegatedSubnets() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkCreateSubnetWithDelegation.json @@ -489,9 +478,8 @@ public async Task CreateOrUpdate_CreateVirtualNetworkWithDelegatedSubnets() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create virtual network with encryption - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVirtualNetworkWithEncryption() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkCreateWithEncryption.json @@ -544,9 +532,8 @@ public async Task CreateOrUpdate_CreateVirtualNetworkWithEncryption() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create virtual network with service endpoints - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVirtualNetworkWithServiceEndpoints() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkCreateServiceEndpoints.json @@ -602,9 +589,8 @@ public async Task CreateOrUpdate_CreateVirtualNetworkWithServiceEndpoints() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create virtual network with service endpoints and service endpoint policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVirtualNetworkWithServiceEndpointsAndServiceEndpointPolicy() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkCreateServiceEndpointPolicy.json @@ -667,9 +653,8 @@ public async Task CreateOrUpdate_CreateVirtualNetworkWithServiceEndpointsAndServ Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create virtual network with subnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVirtualNetworkWithSubnet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkCreateSubnet.json @@ -718,9 +703,8 @@ public async Task CreateOrUpdate_CreateVirtualNetworkWithSubnet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create virtual network with subnet containing address prefixes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVirtualNetworkWithSubnetContainingAddressPrefixes() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json @@ -772,9 +756,8 @@ public async Task CreateOrUpdate_CreateVirtualNetworkWithSubnetContainingAddress Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List virtual networks in resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListVirtualNetworksInResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkList.json @@ -805,7 +788,7 @@ public async Task GetAll_ListVirtualNetworksInResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkGatewayCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkGatewayCollection.cs index 26a1baa7458bd..e627cf37a2452 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkGatewayCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkGatewayCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VirtualNetworkGatewayCollection { - // UpdateVirtualNetworkGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateVirtualNetworkGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayUpdate.json @@ -156,9 +156,8 @@ public async Task CreateOrUpdate_UpdateVirtualNetworkGateway() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UpdateVirtualNetworkScalableGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateVirtualNetworkScalableGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkScalableGatewayUpdate.json @@ -266,9 +265,8 @@ public async Task CreateOrUpdate_UpdateVirtualNetworkScalableGateway() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetVirtualNetworkGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetworkGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayGet.json @@ -300,9 +298,8 @@ public async Task Get_GetVirtualNetworkGateway() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetVirtualNetworkGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVirtualNetworkGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayGet.json @@ -330,9 +327,8 @@ public async Task Exists_GetVirtualNetworkGateway() Console.WriteLine($"Succeeded: {result}"); } - // GetVirtualNetworkGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVirtualNetworkGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayGet.json @@ -360,7 +356,7 @@ public async Task GetIfExists_GetVirtualNetworkGateway() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -372,9 +368,8 @@ public async Task GetIfExists_GetVirtualNetworkGateway() } } - // GetVirtualNetworkScalableGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetworkScalableGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkScalableGatewayGet.json @@ -406,9 +401,8 @@ public async Task Get_GetVirtualNetworkScalableGateway() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetVirtualNetworkScalableGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVirtualNetworkScalableGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkScalableGatewayGet.json @@ -436,9 +430,8 @@ public async Task Exists_GetVirtualNetworkScalableGateway() Console.WriteLine($"Succeeded: {result}"); } - // GetVirtualNetworkScalableGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVirtualNetworkScalableGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkScalableGatewayGet.json @@ -466,7 +459,7 @@ public async Task GetIfExists_GetVirtualNetworkScalableGateway() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -478,9 +471,8 @@ public async Task GetIfExists_GetVirtualNetworkScalableGateway() } } - // ListVirtualNetworkGatewaysinResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListVirtualNetworkGatewaysinResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayList.json @@ -511,7 +503,7 @@ public async Task GetAll_ListVirtualNetworkGatewaysinResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkGatewayConnectionCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkGatewayConnectionCollection.cs index fcea91224cd84..87f299bb8af8e 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkGatewayConnectionCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkGatewayConnectionCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VirtualNetworkGatewayConnectionCollection { - // CreateVirtualNetworkGatewayConnection_S2S - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVirtualNetworkGatewayConnectionS2S() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayConnectionCreate.json @@ -133,9 +133,8 @@ public async Task CreateOrUpdate_CreateVirtualNetworkGatewayConnectionS2S() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetVirtualNetworkGatewayConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetworkGatewayConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayConnectionGet.json @@ -167,9 +166,8 @@ public async Task Get_GetVirtualNetworkGatewayConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetVirtualNetworkGatewayConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVirtualNetworkGatewayConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayConnectionGet.json @@ -197,9 +195,8 @@ public async Task Exists_GetVirtualNetworkGatewayConnection() Console.WriteLine($"Succeeded: {result}"); } - // GetVirtualNetworkGatewayConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVirtualNetworkGatewayConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayConnectionGet.json @@ -227,7 +224,7 @@ public async Task GetIfExists_GetVirtualNetworkGatewayConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -239,9 +236,8 @@ public async Task GetIfExists_GetVirtualNetworkGatewayConnection() } } - // ListVirtualNetworkGatewayConnectionsinResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListVirtualNetworkGatewayConnectionsinResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayConnectionsList.json @@ -272,7 +268,7 @@ public async Task GetAll_ListVirtualNetworkGatewayConnectionsinResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkGatewayConnectionResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkGatewayConnectionResource.cs index 1fb3388d7236a..2abb320139a7a 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkGatewayConnectionResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkGatewayConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VirtualNetworkGatewayConnectionResource { - // GetVPNDeviceConfigurationScript - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task VpnDeviceConfigurationScript_GetVPNDeviceConfigurationScript() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json @@ -48,9 +48,8 @@ public async Task VpnDeviceConfigurationScript_GetVPNDeviceConfigurationScript() Console.WriteLine($"Succeeded: {result}"); } - // GetVirtualNetworkGatewayConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetworkGatewayConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayConnectionGet.json @@ -79,9 +78,8 @@ public async Task Get_GetVirtualNetworkGatewayConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteVirtualNetworkGatewayConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteVirtualNetworkGatewayConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayConnectionDelete.json @@ -103,12 +101,11 @@ public async Task Delete_DeleteVirtualNetworkGatewayConnection() // invoke the operation await virtualNetworkGatewayConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // UpdateVirtualNetworkGatewayConnectionTags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateVirtualNetworkGatewayConnectionTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json @@ -146,9 +143,8 @@ public async Task Update_UpdateVirtualNetworkGatewayConnectionTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SetVirtualNetworkGatewayConnectionSharedKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SetSharedKey_SetVirtualNetworkGatewayConnectionSharedKey() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json @@ -175,9 +171,8 @@ public async Task SetSharedKey_SetVirtualNetworkGatewayConnectionSharedKey() Console.WriteLine($"Succeeded: {result}"); } - // GetVirtualNetworkGatewayConnectionSharedKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSharedKey_GetVirtualNetworkGatewayConnectionSharedKey() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json @@ -202,9 +197,8 @@ public async Task GetSharedKey_GetVirtualNetworkGatewayConnectionSharedKey() Console.WriteLine($"Succeeded: {result}"); } - // ResetVirtualNetworkGatewayConnectionSharedKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResetSharedKey_ResetVirtualNetworkGatewayConnectionSharedKey() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json @@ -231,9 +225,8 @@ public async Task ResetSharedKey_ResetVirtualNetworkGatewayConnectionSharedKey() Console.WriteLine($"Succeeded: {result}"); } - // Start packet capture on virtual network gateway connection with filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartPacketCapture_StartPacketCaptureOnVirtualNetworkGatewayConnectionWithFilter() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayConnectionStartPacketCaptureFilterData.json @@ -263,9 +256,8 @@ public async Task StartPacketCapture_StartPacketCaptureOnVirtualNetworkGatewayCo Console.WriteLine($"Succeeded: {result}"); } - // Start packet capture on virtual network gateway connection without filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartPacketCapture_StartPacketCaptureOnVirtualNetworkGatewayConnectionWithoutFilter() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayConnectionStartPacketCapture.json @@ -291,9 +283,8 @@ public async Task StartPacketCapture_StartPacketCaptureOnVirtualNetworkGatewayCo Console.WriteLine($"Succeeded: {result}"); } - // Stop packet capture on virtual network gateway connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StopPacketCapture_StopPacketCaptureOnVirtualNetworkGatewayConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayConnectionStopPacketCapture.json @@ -323,9 +314,8 @@ public async Task StopPacketCapture_StopPacketCaptureOnVirtualNetworkGatewayConn Console.WriteLine($"Succeeded: {result}"); } - // GetVirtualNetworkGatewayConnectionIkeSa - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIkeSas_GetVirtualNetworkGatewayConnectionIkeSa() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayConnectionGetIkeSas.json @@ -351,9 +341,8 @@ public async Task GetIkeSas_GetVirtualNetworkGatewayConnectionIkeSa() Console.WriteLine($"Succeeded: {result}"); } - // ResetVirtualNetworkGatewayConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResetConnection_ResetVirtualNetworkGatewayConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayConnectionReset.json @@ -375,7 +364,7 @@ public async Task ResetConnection_ResetVirtualNetworkGatewayConnection() // invoke the operation await virtualNetworkGatewayConnection.ResetConnectionAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkGatewayNatRuleCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkGatewayNatRuleCollection.cs index d165c8cb28c7d..e8496dc35bf00 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkGatewayNatRuleCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkGatewayNatRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VirtualNetworkGatewayNatRuleCollection { - // VirtualNetworkGatewayNatRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualNetworkGatewayNatRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayNatRuleGet.json @@ -50,9 +50,8 @@ public async Task Get_VirtualNetworkGatewayNatRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualNetworkGatewayNatRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VirtualNetworkGatewayNatRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayNatRuleGet.json @@ -81,9 +80,8 @@ public async Task Exists_VirtualNetworkGatewayNatRuleGet() Console.WriteLine($"Succeeded: {result}"); } - // VirtualNetworkGatewayNatRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VirtualNetworkGatewayNatRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayNatRuleGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_VirtualNetworkGatewayNatRuleGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_VirtualNetworkGatewayNatRuleGet() } } - // VirtualNetworkGatewayNatRulePut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VirtualNetworkGatewayNatRulePut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayNatRulePut.json @@ -182,9 +179,8 @@ public async Task CreateOrUpdate_VirtualNetworkGatewayNatRulePut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualNetworkGatewayNatRuleList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VirtualNetworkGatewayNatRuleList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayNatRuleList.json @@ -216,7 +212,7 @@ public async Task GetAll_VirtualNetworkGatewayNatRuleList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkGatewayNatRuleResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkGatewayNatRuleResource.cs index c7f327407e6bf..7ee8c1a0e5ec4 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkGatewayNatRuleResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkGatewayNatRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VirtualNetworkGatewayNatRuleResource { - // VirtualNetworkGatewayNatRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualNetworkGatewayNatRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayNatRuleGet.json @@ -47,9 +47,8 @@ public async Task Get_VirtualNetworkGatewayNatRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualNetworkGatewayNatRulePut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VirtualNetworkGatewayNatRulePut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayNatRulePut.json @@ -102,9 +101,8 @@ public async Task Update_VirtualNetworkGatewayNatRulePut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualNetworkGatewayNatRuleDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VirtualNetworkGatewayNatRuleDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayNatRuleDelete.json @@ -127,7 +125,7 @@ public async Task Delete_VirtualNetworkGatewayNatRuleDelete() // invoke the operation await virtualNetworkGatewayNatRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkGatewayResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkGatewayResource.cs index 907f7c5dcf6e7..5679247d6deca 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkGatewayResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkGatewayResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VirtualNetworkGatewayResource { - // GetVirtualNetworkGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetworkGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayGet.json @@ -46,9 +46,8 @@ public async Task Get_GetVirtualNetworkGateway() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetVirtualNetworkScalableGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetworkScalableGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkScalableGatewayGet.json @@ -77,9 +76,8 @@ public async Task Get_GetVirtualNetworkScalableGateway() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteVirtualNetworkGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteVirtualNetworkGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayDelete.json @@ -101,12 +99,11 @@ public async Task Delete_DeleteVirtualNetworkGateway() // invoke the operation await virtualNetworkGateway.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // UpdateVirtualNetworkGatewayTags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateVirtualNetworkGatewayTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayUpdateTags.json @@ -144,9 +141,8 @@ public async Task Update_UpdateVirtualNetworkGatewayTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualNetworkGatewaysListConnections - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConnections_VirtualNetworkGatewaysListConnections() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewaysListConnections.json @@ -171,12 +167,11 @@ public async Task GetConnections_VirtualNetworkGatewaysListConnections() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ResetVirtualNetworkGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reset_ResetVirtualNetworkGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayReset.json @@ -206,9 +201,8 @@ public async Task Reset_ResetVirtualNetworkGateway() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ResetVpnClientSharedKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResetVpnClientSharedKey_ResetVpnClientSharedKey() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json @@ -230,12 +224,11 @@ public async Task ResetVpnClientSharedKey_ResetVpnClientSharedKey() // invoke the operation await virtualNetworkGateway.ResetVpnClientSharedKeyAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GenerateVPNClientPackage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateVpnClientPackage_GenerateVPNClientPackage() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json @@ -262,9 +255,8 @@ public async Task GenerateVpnClientPackage_GenerateVPNClientPackage() Console.WriteLine($"Succeeded: {result}"); } - // GenerateVirtualNetworkGatewayVPNProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateVpnProfile_GenerateVirtualNetworkGatewayVPNProfile() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json @@ -291,9 +283,8 @@ public async Task GenerateVpnProfile_GenerateVirtualNetworkGatewayVPNProfile() Console.WriteLine($"Succeeded: {result}"); } - // GetVirtualNetworkGatewayVPNProfilePackageURL - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVpnProfilePackageUrl_GetVirtualNetworkGatewayVPNProfilePackageURL() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json @@ -319,9 +310,8 @@ public async Task GetVpnProfilePackageUrl_GetVirtualNetworkGatewayVPNProfilePack Console.WriteLine($"Succeeded: {result}"); } - // GetVirtualNetworkGatewayBGPPeerStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBgpPeerStatus_GetVirtualNetworkGatewayBGPPeerStatus() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json @@ -347,9 +337,8 @@ public async Task GetBgpPeerStatus_GetVirtualNetworkGatewayBGPPeerStatus() Console.WriteLine($"Succeeded: {result}"); } - // ListVirtualNetworkGatewaySupportedVPNDevices - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SupportedVpnDevices_ListVirtualNetworkGatewaySupportedVPNDevices() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json @@ -374,9 +363,8 @@ public async Task SupportedVpnDevices_ListVirtualNetworkGatewaySupportedVPNDevic Console.WriteLine($"Succeeded: {result}"); } - // GetVirtualNetworkGatewayLearnedRoutes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLearnedRoutes_GetVirtualNetworkGatewayLearnedRoutes() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayLearnedRoutes.json @@ -402,9 +390,8 @@ public async Task GetLearnedRoutes_GetVirtualNetworkGatewayLearnedRoutes() Console.WriteLine($"Succeeded: {result}"); } - // GetVirtualNetworkGatewayAdvertisedRoutes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAdvertisedRoutes_GetVirtualNetworkGatewayAdvertisedRoutes() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json @@ -431,9 +418,8 @@ public async Task GetAdvertisedRoutes_GetVirtualNetworkGatewayAdvertisedRoutes() Console.WriteLine($"Succeeded: {result}"); } - // Set VirtualNetworkGateway VpnClientIpsecParameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SetVpnclientIPsecParameters_SetVirtualNetworkGatewayVpnClientIpsecParameters() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json @@ -460,9 +446,8 @@ public async Task SetVpnclientIPsecParameters_SetVirtualNetworkGatewayVpnClientI Console.WriteLine($"Succeeded: {result}"); } - // Get VirtualNetworkGateway VpnClientIpsecParameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVpnclientIPsecParameters_GetVirtualNetworkGatewayVpnClientIpsecParameters() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json @@ -488,9 +473,8 @@ public async Task GetVpnclientIPsecParameters_GetVirtualNetworkGatewayVpnClientI Console.WriteLine($"Succeeded: {result}"); } - // Start packet capture on virtual network gateway with filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartPacketCapture_StartPacketCaptureOnVirtualNetworkGatewayWithFilter() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayStartPacketCaptureFilterData.json @@ -520,9 +504,8 @@ public async Task StartPacketCapture_StartPacketCaptureOnVirtualNetworkGatewayWi Console.WriteLine($"Succeeded: {result}"); } - // Start packet capture on virtual network gateway without filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartPacketCapture_StartPacketCaptureOnVirtualNetworkGatewayWithoutFilter() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayStartPacketCapture.json @@ -548,9 +531,8 @@ public async Task StartPacketCapture_StartPacketCaptureOnVirtualNetworkGatewayWi Console.WriteLine($"Succeeded: {result}"); } - // Stop packet capture on virtual network gateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StopPacketCapture_StopPacketCaptureOnVirtualNetworkGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayStopPacketCapture.json @@ -580,9 +562,8 @@ public async Task StopPacketCapture_StopPacketCaptureOnVirtualNetworkGateway() Console.WriteLine($"Succeeded: {result}"); } - // GetVirtualNetworkGatewayVpnclientConnectionHealth - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVpnclientConnectionHealth_GetVirtualNetworkGatewayVpnclientConnectionHealth() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewayGetVpnclientConnectionHealth.json @@ -608,9 +589,8 @@ public async Task GetVpnclientConnectionHealth_GetVirtualNetworkGatewayVpnclient Console.WriteLine($"Succeeded: {result}"); } - // Disconnect VpnConnections from Virtual Network Gateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DisconnectVirtualNetworkGatewayVpnConnections_DisconnectVpnConnectionsFromVirtualNetworkGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGatewaysDisconnectP2sVpnConnections.json @@ -639,7 +619,7 @@ public async Task DisconnectVirtualNetworkGatewayVpnConnections_DisconnectVpnCon }; await virtualNetworkGateway.DisconnectVirtualNetworkGatewayVpnConnectionsAsync(WaitUntil.Completed, request); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkPeeringCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkPeeringCollection.cs index ef89f50fe13cf..cf1a87fa36aee 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkPeeringCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkPeeringCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VirtualNetworkPeeringCollection { - // Get V6 subnet peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetV6SubnetPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkV6SubnetPeeringGet.json @@ -50,9 +50,8 @@ public async Task Get_GetV6SubnetPeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get V6 subnet peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetV6SubnetPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkV6SubnetPeeringGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetV6SubnetPeering() Console.WriteLine($"Succeeded: {result}"); } - // Get V6 subnet peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetV6SubnetPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkV6SubnetPeeringGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetV6SubnetPeering() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetV6SubnetPeering() } } - // Get peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkPeeringGet.json @@ -159,9 +156,8 @@ public async Task Get_GetPeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkPeeringGet.json @@ -190,9 +186,8 @@ public async Task Exists_GetPeering() Console.WriteLine($"Succeeded: {result}"); } - // Get peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkPeeringGet.json @@ -221,7 +216,7 @@ public async Task GetIfExists_GetPeering() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -233,9 +228,8 @@ public async Task GetIfExists_GetPeering() } } - // Get peering with remote virtual network encryption - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPeeringWithRemoteVirtualNetworkEncryption() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkPeeringGetWithRemoteVirtualNetworkEncryption.json @@ -268,9 +262,8 @@ public async Task Get_GetPeeringWithRemoteVirtualNetworkEncryption() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get peering with remote virtual network encryption - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPeeringWithRemoteVirtualNetworkEncryption() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkPeeringGetWithRemoteVirtualNetworkEncryption.json @@ -299,9 +292,8 @@ public async Task Exists_GetPeeringWithRemoteVirtualNetworkEncryption() Console.WriteLine($"Succeeded: {result}"); } - // Get peering with remote virtual network encryption - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPeeringWithRemoteVirtualNetworkEncryption() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkPeeringGetWithRemoteVirtualNetworkEncryption.json @@ -330,7 +322,7 @@ public async Task GetIfExists_GetPeeringWithRemoteVirtualNetworkEncryption() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -342,9 +334,8 @@ public async Task GetIfExists_GetPeeringWithRemoteVirtualNetworkEncryption() } } - // Get subnet peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSubnetPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkSubnetPeeringGet.json @@ -377,9 +368,8 @@ public async Task Get_GetSubnetPeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get subnet peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSubnetPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkSubnetPeeringGet.json @@ -408,9 +398,8 @@ public async Task Exists_GetSubnetPeering() Console.WriteLine($"Succeeded: {result}"); } - // Get subnet peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSubnetPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkSubnetPeeringGet.json @@ -439,7 +428,7 @@ public async Task GetIfExists_GetSubnetPeering() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -451,9 +440,8 @@ public async Task GetIfExists_GetSubnetPeering() } } - // Create V6 Subnet peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateV6SubnetPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkV6SubnetPeeringCreate.json @@ -505,9 +493,8 @@ public async Task CreateOrUpdate_CreateV6SubnetPeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkPeeringCreate.json @@ -549,9 +536,8 @@ public async Task CreateOrUpdate_CreatePeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create peering with remote virtual network encryption - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePeeringWithRemoteVirtualNetworkEncryption() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkPeeringCreateWithRemoteVirtualNetworkEncryption.json @@ -593,9 +579,8 @@ public async Task CreateOrUpdate_CreatePeeringWithRemoteVirtualNetworkEncryption Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create subnet peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSubnetPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkSubnetPeeringCreate.json @@ -647,9 +632,8 @@ public async Task CreateOrUpdate_CreateSubnetPeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sync Peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SyncPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkPeeringSync.json @@ -692,9 +676,8 @@ public async Task CreateOrUpdate_SyncPeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sync V6 Subnet Peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SyncV6SubnetPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkV6SubnetPeeringSync.json @@ -739,9 +722,8 @@ public async Task CreateOrUpdate_SyncV6SubnetPeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sync subnet Peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SyncSubnetPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkSubnetPeeringSync.json @@ -786,9 +768,8 @@ public async Task CreateOrUpdate_SyncSubnetPeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List peerings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPeerings() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkPeeringList.json @@ -820,12 +801,11 @@ public async Task GetAll_ListPeerings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List peerings with remote virtual network encryption - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPeeringsWithRemoteVirtualNetworkEncryption() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkPeeringListWithRemoteVirtualNetworkEncryption.json @@ -857,7 +837,7 @@ public async Task GetAll_ListPeeringsWithRemoteVirtualNetworkEncryption() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkPeeringResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkPeeringResource.cs index cb9b662015ce8..05e19eecf499f 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkPeeringResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkPeeringResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VirtualNetworkPeeringResource { - // Delete peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletePeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkPeeringDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeletePeering() // invoke the operation await virtualNetworkPeering.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get V6 subnet peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetV6SubnetPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkV6SubnetPeeringGet.json @@ -75,9 +74,8 @@ public async Task Get_GetV6SubnetPeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkPeeringGet.json @@ -107,9 +105,8 @@ public async Task Get_GetPeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get peering with remote virtual network encryption - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPeeringWithRemoteVirtualNetworkEncryption() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkPeeringGetWithRemoteVirtualNetworkEncryption.json @@ -139,9 +136,8 @@ public async Task Get_GetPeeringWithRemoteVirtualNetworkEncryption() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get subnet peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSubnetPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkSubnetPeeringGet.json @@ -171,9 +167,8 @@ public async Task Get_GetSubnetPeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create V6 Subnet peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateV6SubnetPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkV6SubnetPeeringCreate.json @@ -222,9 +217,8 @@ public async Task Update_CreateV6SubnetPeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatePeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkPeeringCreate.json @@ -263,9 +257,8 @@ public async Task Update_CreatePeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create peering with remote virtual network encryption - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatePeeringWithRemoteVirtualNetworkEncryption() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkPeeringCreateWithRemoteVirtualNetworkEncryption.json @@ -304,9 +297,8 @@ public async Task Update_CreatePeeringWithRemoteVirtualNetworkEncryption() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create subnet peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateSubnetPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkSubnetPeeringCreate.json @@ -355,9 +347,8 @@ public async Task Update_CreateSubnetPeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sync Peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SyncPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkPeeringSync.json @@ -397,9 +388,8 @@ public async Task Update_SyncPeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sync V6 Subnet Peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SyncV6SubnetPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkV6SubnetPeeringSync.json @@ -441,9 +431,8 @@ public async Task Update_SyncV6SubnetPeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sync subnet Peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SyncSubnetPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkSubnetPeeringSync.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkResource.cs index 392e240f4dc71..488623691bd7c 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VirtualNetworkResource { - // List effective connectivity configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkManagerEffectiveConnectivityConfigurations_ListEffectiveConnectivityConfiguration() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerEffectiveConnectivityConfigurationsList.json @@ -47,12 +47,11 @@ public async Task GetNetworkManagerEffectiveConnectivityConfigurations_ListEffec Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List effective security admin rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkManagerEffectiveSecurityAdminRules_ListEffectiveSecurityAdminRules() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NetworkManagerEffectiveSecurityAdminRulesList.json @@ -81,12 +80,11 @@ public async Task GetNetworkManagerEffectiveSecurityAdminRules_ListEffectiveSecu Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Delete virtual network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteVirtualNetwork() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkDelete.json @@ -108,12 +106,11 @@ public async Task Delete_DeleteVirtualNetwork() // invoke the operation await virtualNetwork.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get virtual network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetwork() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGet.json @@ -142,9 +139,8 @@ public async Task Get_GetVirtualNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get virtual network with a delegated subnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetworkWithADelegatedSubnet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGetWithSubnetDelegation.json @@ -173,9 +169,8 @@ public async Task Get_GetVirtualNetworkWithADelegatedSubnet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get virtual network with service association links - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetworkWithServiceAssociationLinks() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkGetWithServiceAssociationLink.json @@ -204,9 +199,8 @@ public async Task Get_GetVirtualNetworkWithServiceAssociationLinks() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update virtual network tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateVirtualNetworkTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkUpdateTags.json @@ -243,9 +237,8 @@ public async Task Update_UpdateVirtualNetworkTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all virtual networks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualNetworks_ListAllVirtualNetworks() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkListAll.json @@ -272,12 +265,11 @@ public async Task GetVirtualNetworks_ListAllVirtualNetworks() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Check IP address availability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckIPAddressAvailability_CheckIPAddressAvailability() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkCheckIPAddressAvailability.json @@ -303,9 +295,8 @@ public async Task CheckIPAddressAvailability_CheckIPAddressAvailability() Console.WriteLine($"Succeeded: {result}"); } - // VnetGetUsage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsage_VnetGetUsage() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkListUsage.json @@ -330,7 +321,7 @@ public async Task GetUsage_VnetGetUsage() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkTapCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkTapCollection.cs index 0d6308714597d..8921ed73e32e6 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkTapCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkTapCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VirtualNetworkTapCollection { - // Get Virtual Network Tap - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetworkTap() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkTapGet.json @@ -49,9 +49,8 @@ public async Task Get_GetVirtualNetworkTap() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Virtual Network Tap - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVirtualNetworkTap() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkTapGet.json @@ -79,9 +78,8 @@ public async Task Exists_GetVirtualNetworkTap() Console.WriteLine($"Succeeded: {result}"); } - // Get Virtual Network Tap - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVirtualNetworkTap() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkTapGet.json @@ -109,7 +107,7 @@ public async Task GetIfExists_GetVirtualNetworkTap() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_GetVirtualNetworkTap() } } - // Create Virtual Network Tap - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVirtualNetworkTap() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkTapCreate.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_CreateVirtualNetworkTap() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List virtual network taps in resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListVirtualNetworkTapsInResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkTapList.json @@ -197,7 +193,7 @@ public async Task GetAll_ListVirtualNetworkTapsInResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkTapResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkTapResource.cs index ecd98c7fac45c..8b1613f727263 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkTapResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualNetworkTapResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VirtualNetworkTapResource { - // Delete Virtual Network Tap resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteVirtualNetworkTapResource() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkTapDelete.json @@ -40,12 +40,11 @@ public async Task Delete_DeleteVirtualNetworkTapResource() // invoke the operation await virtualNetworkTap.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Virtual Network Tap - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetworkTap() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkTapGet.json @@ -74,9 +73,8 @@ public async Task Get_GetVirtualNetworkTap() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update virtual network tap tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateVirtualNetworkTapTags() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkTapUpdateTags.json @@ -113,9 +111,8 @@ public async Task Update_UpdateVirtualNetworkTapTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all virtual network taps - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualNetworkTaps_ListAllVirtualNetworkTaps() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualNetworkTapListAll.json @@ -142,7 +139,7 @@ public async Task GetVirtualNetworkTaps_ListAllVirtualNetworkTaps() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualRouterCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualRouterCollection.cs index 97336e208963b..dc751f0ee7b75 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualRouterCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualRouterCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VirtualRouterCollection { - // Get VirtualRouter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualRouter() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualRouterGet.json @@ -49,9 +49,8 @@ public async Task Get_GetVirtualRouter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get VirtualRouter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVirtualRouter() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualRouterGet.json @@ -79,9 +78,8 @@ public async Task Exists_GetVirtualRouter() Console.WriteLine($"Succeeded: {result}"); } - // Get VirtualRouter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVirtualRouter() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualRouterGet.json @@ -109,7 +107,7 @@ public async Task GetIfExists_GetVirtualRouter() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_GetVirtualRouter() } } - // Create VirtualRouter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVirtualRouter() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualRouterPut.json @@ -165,9 +162,8 @@ public async Task CreateOrUpdate_CreateVirtualRouter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all Virtual Router for a given resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllVirtualRouterForAGivenResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualRouterListByResourceGroup.json @@ -198,7 +194,7 @@ public async Task GetAll_ListAllVirtualRouterForAGivenResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualRouterPeeringCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualRouterPeeringCollection.cs index d2191fa1f4a7c..a08bc88e88072 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualRouterPeeringCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualRouterPeeringCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VirtualRouterPeeringCollection { - // Get Virtual Router Peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualRouterPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualRouterPeeringGet.json @@ -49,9 +49,8 @@ public async Task Get_GetVirtualRouterPeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Virtual Router Peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVirtualRouterPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualRouterPeeringGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetVirtualRouterPeering() Console.WriteLine($"Succeeded: {result}"); } - // Get Virtual Router Peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVirtualRouterPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualRouterPeeringGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetVirtualRouterPeering() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetVirtualRouterPeering() } } - // Create Virtual Router Peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVirtualRouterPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualRouterPeeringPut.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_CreateVirtualRouterPeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all Virtual Router Peerings for a given Virtual Router - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllVirtualRouterPeeringsForAGivenVirtualRouter() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualRouterPeeringList.json @@ -198,7 +194,7 @@ public async Task GetAll_ListAllVirtualRouterPeeringsForAGivenVirtualRouter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualRouterPeeringResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualRouterPeeringResource.cs index a7feb4a258fe5..0e0c643e9e440 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualRouterPeeringResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualRouterPeeringResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VirtualRouterPeeringResource { - // Delete VirtualRouterPeering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteVirtualRouterPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualRouterPeeringDelete.json @@ -39,12 +39,11 @@ public async Task Delete_DeleteVirtualRouterPeering() // invoke the operation await virtualRouterPeering.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Virtual Router Peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualRouterPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualRouterPeeringGet.json @@ -74,9 +73,8 @@ public async Task Get_GetVirtualRouterPeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Virtual Router Peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateVirtualRouterPeering() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualRouterPeeringPut.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualRouterResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualRouterResource.cs index 878d63f266cea..9f2c3e3ee70bc 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualRouterResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualRouterResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VirtualRouterResource { - // Delete VirtualRouter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteVirtualRouter() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualRouterDelete.json @@ -39,12 +39,11 @@ public async Task Delete_DeleteVirtualRouter() // invoke the operation await virtualRouter.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get VirtualRouter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualRouter() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualRouterGet.json @@ -73,9 +72,8 @@ public async Task Get_GetVirtualRouter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create VirtualRouter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateVirtualRouter() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualRouterPut.json @@ -114,9 +112,8 @@ public async Task Update_CreateVirtualRouter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all Virtual Routers for a given subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualRouters_ListAllVirtualRoutersForAGivenSubscription() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualRouterListBySubscription.json @@ -143,7 +140,7 @@ public async Task GetVirtualRouters_ListAllVirtualRoutersForAGivenSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualWanCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualWanCollection.cs index 1699cd93e9975..b0cd2d83ab7e0 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualWanCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualWanCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VirtualWanCollection { - // VirtualWANGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualWANGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualWANGet.json @@ -49,9 +49,8 @@ public async Task Get_VirtualWANGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualWANGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VirtualWANGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualWANGet.json @@ -79,9 +78,8 @@ public async Task Exists_VirtualWANGet() Console.WriteLine($"Succeeded: {result}"); } - // VirtualWANGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VirtualWANGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualWANGet.json @@ -109,7 +107,7 @@ public async Task GetIfExists_VirtualWANGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_VirtualWANGet() } } - // VirtualWANCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VirtualWANCreate() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualWANPut.json @@ -166,9 +163,8 @@ public async Task CreateOrUpdate_VirtualWANCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualWANListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VirtualWANListByResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualWANListByResourceGroup.json @@ -199,7 +195,7 @@ public async Task GetAll_VirtualWANListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualWanResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualWanResource.cs index 08ac59d4c3124..ce0ade205dd37 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualWanResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VirtualWanResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VirtualWanResource { - // supportedSecurityProviders - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SupportedSecurityProviders_SupportedSecurityProviders() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualWanSupportedSecurityProviders.json @@ -43,9 +43,8 @@ public async Task SupportedSecurityProviders_SupportedSecurityProviders() Console.WriteLine($"Succeeded: {result}"); } - // GenerateVirtualWanVpnServerConfigurationVpnProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateVirtualWanVpnServerConfigurationVpnProfile_GenerateVirtualWanVpnServerConfigurationVpnProfile() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/GenerateVirtualWanVpnServerConfigurationVpnProfile.json @@ -76,9 +75,8 @@ public async Task GenerateVirtualWanVpnServerConfigurationVpnProfile_GenerateVir Console.WriteLine($"Succeeded: {result}"); } - // VirtualWANGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualWANGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualWANGet.json @@ -107,9 +105,8 @@ public async Task Get_VirtualWANGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualWANUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VirtualWANUpdate() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualWANUpdateTags.json @@ -146,9 +143,8 @@ public async Task Update_VirtualWANUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualWANDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VirtualWANDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualWANDelete.json @@ -170,12 +166,11 @@ public async Task Delete_VirtualWANDelete() // invoke the operation await virtualWan.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualWANList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualWans_VirtualWANList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VirtualWANList.json @@ -202,12 +197,11 @@ public async Task GetVirtualWans_VirtualWANList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VpnSitesConfigurationDownload - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DownloadVpnSitesConfiguration_VpnSitesConfigurationDownload() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnSitesConfigurationDownload.json @@ -236,12 +230,11 @@ public async Task DownloadVpnSitesConfiguration_VpnSitesConfigurationDownload() }; await virtualWan.DownloadVpnSitesConfigurationAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetVirtualWanVpnServerConfigurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVpnServerConfigurationsAssociatedWithVirtualWan_GetVirtualWanVpnServerConfigurations() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/GetVirtualWanVpnServerConfigurations.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnConnectionCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnConnectionCollection.cs index b5b6392d62fd0..6555420d74231 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnConnectionCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnConnectionCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VpnConnectionCollection { - // VpnConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VpnConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnConnectionGet.json @@ -51,9 +51,8 @@ public async Task Get_VpnConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VpnConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VpnConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnConnectionGet.json @@ -82,9 +81,8 @@ public async Task Exists_VpnConnectionGet() Console.WriteLine($"Succeeded: {result}"); } - // VpnConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VpnConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnConnectionGet.json @@ -113,7 +111,7 @@ public async Task GetIfExists_VpnConnectionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -125,9 +123,8 @@ public async Task GetIfExists_VpnConnectionGet() } } - // VpnConnectionPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VpnConnectionPut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnConnectionPut.json @@ -207,9 +204,8 @@ public async Task CreateOrUpdate_VpnConnectionPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VpnConnectionList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VpnConnectionList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnConnectionList.json @@ -241,7 +237,7 @@ public async Task GetAll_VpnConnectionList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnConnectionResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnConnectionResource.cs index 9f6fe4cd071c7..cc0944cc304aa 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnConnectionResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnConnectionResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VpnConnectionResource { - // VpnConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VpnConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnConnectionGet.json @@ -48,9 +48,8 @@ public async Task Get_VpnConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VpnConnectionPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VpnConnectionPut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnConnectionPut.json @@ -127,9 +126,8 @@ public async Task Update_VpnConnectionPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VpnConnectionDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VpnConnectionDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnConnectionDelete.json @@ -152,12 +150,11 @@ public async Task Delete_VpnConnectionDelete() // invoke the operation await vpnConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Start packet capture on vpn connection with filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartPacketCapture_StartPacketCaptureOnVpnConnectionWithFilter() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnConnectionStartPacketCaptureFilterData.json @@ -192,9 +189,8 @@ public async Task StartPacketCapture_StartPacketCaptureOnVpnConnectionWithFilter Console.WriteLine($"Succeeded: {result}"); } - // Start packet capture on vpn connection without filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartPacketCapture_StartPacketCaptureOnVpnConnectionWithoutFilter() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnConnectionStartPacketCapture.json @@ -228,9 +224,8 @@ public async Task StartPacketCapture_StartPacketCaptureOnVpnConnectionWithoutFil Console.WriteLine($"Succeeded: {result}"); } - // Start packet capture on vpn connection without filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StopPacketCapture_StartPacketCaptureOnVpnConnectionWithoutFilter() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnConnectionStopPacketCapture.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnGatewayCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnGatewayCollection.cs index cfd54d39e2aba..36f5ef9901ecc 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnGatewayCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnGatewayCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VpnGatewayCollection { - // VpnGatewayGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VpnGatewayGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnGatewayGet.json @@ -51,9 +51,8 @@ public async Task Get_VpnGatewayGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VpnGatewayGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VpnGatewayGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnGatewayGet.json @@ -81,9 +80,8 @@ public async Task Exists_VpnGatewayGet() Console.WriteLine($"Succeeded: {result}"); } - // VpnGatewayGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VpnGatewayGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnGatewayGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_VpnGatewayGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_VpnGatewayGet() } } - // VpnGatewayPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VpnGatewayPut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnGatewayPut.json @@ -242,9 +239,8 @@ public async Task CreateOrUpdate_VpnGatewayPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VpnGatewayListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VpnGatewayListByResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnGatewayListByResourceGroup.json @@ -275,7 +271,7 @@ public async Task GetAll_VpnGatewayListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnGatewayNatRuleCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnGatewayNatRuleCollection.cs index 5928982c15aaf..c3ea078e3d72b 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnGatewayNatRuleCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnGatewayNatRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VpnGatewayNatRuleCollection { - // NatRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NatRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NatRuleGet.json @@ -50,9 +50,8 @@ public async Task Get_NatRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NatRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NatRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NatRuleGet.json @@ -81,9 +80,8 @@ public async Task Exists_NatRuleGet() Console.WriteLine($"Succeeded: {result}"); } - // NatRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NatRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NatRuleGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_NatRuleGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_NatRuleGet() } } - // NatRulePut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NatRulePut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NatRulePut.json @@ -180,9 +177,8 @@ public async Task CreateOrUpdate_NatRulePut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NatRuleList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NatRuleList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NatRuleList.json @@ -214,7 +210,7 @@ public async Task GetAll_NatRuleList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnGatewayNatRuleResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnGatewayNatRuleResource.cs index c95ff89288102..f02bce4d0ca28 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnGatewayNatRuleResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnGatewayNatRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VpnGatewayNatRuleResource { - // NatRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NatRuleGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NatRuleGet.json @@ -47,9 +47,8 @@ public async Task Get_NatRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NatRulePut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NatRulePut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NatRulePut.json @@ -100,9 +99,8 @@ public async Task Update_NatRulePut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NatRuleDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NatRuleDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/NatRuleDelete.json @@ -125,7 +123,7 @@ public async Task Delete_NatRuleDelete() // invoke the operation await vpnGatewayNatRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnGatewayResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnGatewayResource.cs index aa5b850419505..ff889e649c9fe 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnGatewayResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnGatewayResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VpnGatewayResource { - // VpnGatewayGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VpnGatewayGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnGatewayGet.json @@ -47,9 +47,8 @@ public async Task Get_VpnGatewayGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VpnGatewayUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VpnGatewayUpdate() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnGatewayUpdateTags.json @@ -87,9 +86,8 @@ public async Task Update_VpnGatewayUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VpnGatewayDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VpnGatewayDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnGatewayDelete.json @@ -111,12 +109,11 @@ public async Task Delete_VpnGatewayDelete() // invoke the operation await vpnGateway.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ResetVpnGateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reset_ResetVpnGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnGatewayReset.json @@ -146,9 +143,8 @@ public async Task Reset_ResetVpnGateway() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Start packet capture on vpn gateway with filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartPacketCapture_StartPacketCaptureOnVpnGatewayWithFilter() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnGatewayStartPacketCaptureFilterData.json @@ -178,9 +174,8 @@ public async Task StartPacketCapture_StartPacketCaptureOnVpnGatewayWithFilter() Console.WriteLine($"Succeeded: {result}"); } - // Start packet capture on vpn gateway without filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartPacketCapture_StartPacketCaptureOnVpnGatewayWithoutFilter() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnGatewayStartPacketCapture.json @@ -206,9 +201,8 @@ public async Task StartPacketCapture_StartPacketCaptureOnVpnGatewayWithoutFilter Console.WriteLine($"Succeeded: {result}"); } - // Stop packet capture on vpn gateway - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StopPacketCapture_StopPacketCaptureOnVpnGateway() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnGatewayStopPacketCapture.json @@ -238,9 +232,8 @@ public async Task StopPacketCapture_StopPacketCaptureOnVpnGateway() Console.WriteLine($"Succeeded: {result}"); } - // VpnGatewayListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVpnGateways_VpnGatewayListBySubscription() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnGatewayList.json @@ -267,7 +260,7 @@ public async Task GetVpnGateways_VpnGatewayListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnLinkConnectionSharedKeyResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnLinkConnectionSharedKeyResource.cs index e2ae11ad8c48a..85c561e59797b 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnLinkConnectionSharedKeyResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnLinkConnectionSharedKeyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VpnLinkConnectionSharedKeyResource { - // VpnSiteLinkConnectionDefaultSharedKeyGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VpnSiteLinkConnectionDefaultSharedKeyGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnSiteLinkConnectionDefaultSharedKeyGet.json @@ -48,9 +48,8 @@ public async Task Get_VpnSiteLinkConnectionDefaultSharedKeyGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VpnSiteLinkConnectionDefaultSharedKeyPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VpnSiteLinkConnectionDefaultSharedKeyPut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnSiteLinkConnectionDefaultSharedKeyPut.json @@ -89,9 +88,8 @@ public async Task CreateOrUpdate_VpnSiteLinkConnectionDefaultSharedKeyPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VpnSiteLinkConnectionDefaultSharedKeyList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDefaultSharedKey_VpnSiteLinkConnectionDefaultSharedKeyList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnSiteLinkConnectionDefaultSharedKeyList.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnServerConfigurationCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnServerConfigurationCollection.cs index 28c7569d4a8de..6b19f5b0e6e71 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnServerConfigurationCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnServerConfigurationCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VpnServerConfigurationCollection { - // VpnServerConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VpnServerConfigurationGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnServerConfigurationGet.json @@ -50,9 +50,8 @@ public async Task Get_VpnServerConfigurationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VpnServerConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VpnServerConfigurationGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnServerConfigurationGet.json @@ -80,9 +79,8 @@ public async Task Exists_VpnServerConfigurationGet() Console.WriteLine($"Succeeded: {result}"); } - // VpnServerConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VpnServerConfigurationGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnServerConfigurationGet.json @@ -110,7 +108,7 @@ public async Task GetIfExists_VpnServerConfigurationGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_VpnServerConfigurationGet() } } - // VpnServerConfigurationCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VpnServerConfigurationCreate() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnServerConfigurationPut.json @@ -247,9 +244,8 @@ public async Task CreateOrUpdate_VpnServerConfigurationCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VpnServerConfigurationListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VpnServerConfigurationListByResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnServerConfigurationListByResourceGroup.json @@ -280,7 +276,7 @@ public async Task GetAll_VpnServerConfigurationListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnServerConfigurationPolicyGroupCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnServerConfigurationPolicyGroupCollection.cs index 467428a0cff60..d6842ff6b0135 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnServerConfigurationPolicyGroupCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnServerConfigurationPolicyGroupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VpnServerConfigurationPolicyGroupCollection { - // ConfigurationPolicyGroupPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ConfigurationPolicyGroupPut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ConfigurationPolicyGroupPut.json @@ -70,9 +70,8 @@ public async Task CreateOrUpdate_ConfigurationPolicyGroupPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfigurationPolicyGroupGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConfigurationPolicyGroupGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ConfigurationPolicyGroupGet.json @@ -105,9 +104,8 @@ public async Task Get_ConfigurationPolicyGroupGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfigurationPolicyGroupGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ConfigurationPolicyGroupGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ConfigurationPolicyGroupGet.json @@ -136,9 +134,8 @@ public async Task Exists_ConfigurationPolicyGroupGet() Console.WriteLine($"Succeeded: {result}"); } - // ConfigurationPolicyGroupGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ConfigurationPolicyGroupGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ConfigurationPolicyGroupGet.json @@ -167,7 +164,7 @@ public async Task GetIfExists_ConfigurationPolicyGroupGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -179,9 +176,8 @@ public async Task GetIfExists_ConfigurationPolicyGroupGet() } } - // ConfigurationPolicyGroupListByVpnServerConfiguration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ConfigurationPolicyGroupListByVpnServerConfiguration() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ConfigurationPolicyGroupListByVpnServerConfiguration.json @@ -213,7 +209,7 @@ public async Task GetAll_ConfigurationPolicyGroupListByVpnServerConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnServerConfigurationPolicyGroupResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnServerConfigurationPolicyGroupResource.cs index 5bc1150e01e07..f0310936ba98c 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnServerConfigurationPolicyGroupResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnServerConfigurationPolicyGroupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Network.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VpnServerConfigurationPolicyGroupResource { - // ConfigurationPolicyGroupPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ConfigurationPolicyGroupPut() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ConfigurationPolicyGroupPut.json @@ -67,9 +67,8 @@ public async Task Update_ConfigurationPolicyGroupPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfigurationPolicyGroupDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ConfigurationPolicyGroupDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ConfigurationPolicyGroupDelete.json @@ -92,12 +91,11 @@ public async Task Delete_ConfigurationPolicyGroupDelete() // invoke the operation await vpnServerConfigurationPolicyGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ConfigurationPolicyGroupGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConfigurationPolicyGroupGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/ConfigurationPolicyGroupGet.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnServerConfigurationResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnServerConfigurationResource.cs index df0e9c84f49a8..f8f97cceab92b 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnServerConfigurationResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnServerConfigurationResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VpnServerConfigurationResource { - // VpnServerConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VpnServerConfigurationGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnServerConfigurationGet.json @@ -47,9 +47,8 @@ public async Task Get_VpnServerConfigurationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VpnServerConfigurationUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VpnServerConfigurationUpdate() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnServerConfigurationUpdateTags.json @@ -86,9 +85,8 @@ public async Task Update_VpnServerConfigurationUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VpnServerConfigurationDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VpnServerConfigurationDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnServerConfigurationDelete.json @@ -110,12 +108,11 @@ public async Task Delete_VpnServerConfigurationDelete() // invoke the operation await vpnServerConfiguration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VpnServerConfigurationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVpnServerConfigurations_VpnServerConfigurationList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnServerConfigurationList.json @@ -142,7 +139,7 @@ public async Task GetVpnServerConfigurations_VpnServerConfigurationList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnSiteCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnSiteCollection.cs index 8c364f08a82d7..62a2da677eb4e 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnSiteCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnSiteCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VpnSiteCollection { - // VpnSiteGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VpnSiteGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnSiteGet.json @@ -50,9 +50,8 @@ public async Task Get_VpnSiteGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VpnSiteGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VpnSiteGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnSiteGet.json @@ -80,9 +79,8 @@ public async Task Exists_VpnSiteGet() Console.WriteLine($"Succeeded: {result}"); } - // VpnSiteGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VpnSiteGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnSiteGet.json @@ -110,7 +108,7 @@ public async Task GetIfExists_VpnSiteGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_VpnSiteGet() } } - // VpnSiteCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VpnSiteCreate() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnSitePut.json @@ -196,9 +193,8 @@ public async Task CreateOrUpdate_VpnSiteCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VpnSiteListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VpnSiteListByResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnSiteListByResourceGroup.json @@ -229,7 +225,7 @@ public async Task GetAll_VpnSiteListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnSiteLinkCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnSiteLinkCollection.cs index e4fad9123958c..f6b02efd61d8b 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnSiteLinkCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnSiteLinkCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VpnSiteLinkCollection { - // VpnSiteGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VpnSiteGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnSiteLinkGet.json @@ -49,9 +49,8 @@ public async Task Get_VpnSiteGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VpnSiteGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VpnSiteGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnSiteLinkGet.json @@ -80,9 +79,8 @@ public async Task Exists_VpnSiteGet() Console.WriteLine($"Succeeded: {result}"); } - // VpnSiteGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VpnSiteGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnSiteLinkGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_VpnSiteGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_VpnSiteGet() } } - // VpnSiteLinkListByVpnSite - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VpnSiteLinkListByVpnSite() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnSiteLinkListByVpnSite.json @@ -157,7 +154,7 @@ public async Task GetAll_VpnSiteLinkListByVpnSite() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnSiteLinkConnectionCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnSiteLinkConnectionCollection.cs index 0080d129503c8..f853ba007916f 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnSiteLinkConnectionCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnSiteLinkConnectionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VpnSiteLinkConnectionCollection { - // VpnSiteLinkConnectionList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VpnSiteLinkConnectionList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnSiteLinkConnectionList.json @@ -49,12 +49,11 @@ public async Task GetAll_VpnSiteLinkConnectionList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VpnSiteLinkConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VpnSiteLinkConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnSiteLinkConnectionGet.json @@ -88,9 +87,8 @@ public async Task Get_VpnSiteLinkConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VpnSiteLinkConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VpnSiteLinkConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnSiteLinkConnectionGet.json @@ -120,9 +118,8 @@ public async Task Exists_VpnSiteLinkConnectionGet() Console.WriteLine($"Succeeded: {result}"); } - // VpnSiteLinkConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VpnSiteLinkConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnSiteLinkConnectionGet.json @@ -152,7 +149,7 @@ public async Task GetIfExists_VpnSiteLinkConnectionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnSiteLinkConnectionResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnSiteLinkConnectionResource.cs index fca2a936afd7e..242fad2ae91f1 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnSiteLinkConnectionResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnSiteLinkConnectionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VpnSiteLinkConnectionResource { - // ResetVpnLinkConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResetConnectionVpnLinkConnection_ResetVpnLinkConnection() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnSiteLinkConnectionReset.json @@ -40,12 +40,11 @@ public async Task ResetConnectionVpnLinkConnection_ResetVpnLinkConnection() // invoke the operation await vpnSiteLinkConnection.ResetConnectionVpnLinkConnectionAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetVpnLinkConnectionIkeSa - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIkeSasVpnLinkConnection_GetVpnLinkConnectionIkeSa() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnSiteLinkConnectionGetIkeSas.json @@ -73,9 +72,8 @@ public async Task GetIkeSasVpnLinkConnection_GetVpnLinkConnectionIkeSa() Console.WriteLine($"Succeeded: {result}"); } - // VpnSiteLinkConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VpnSiteLinkConnectionGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnSiteLinkConnectionGet.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnSiteLinkResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnSiteLinkResource.cs index b56f3ab35fd68..76aa6b5d4e1e8 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnSiteLinkResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnSiteLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VpnSiteLinkResource { - // VpnSiteGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VpnSiteGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnSiteLinkGet.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnSiteResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnSiteResource.cs index 202bec59b8cb3..632581c84e666 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnSiteResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_VpnSiteResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_VpnSiteResource { - // VpnSiteGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VpnSiteGet() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnSiteGet.json @@ -47,9 +47,8 @@ public async Task Get_VpnSiteGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VpnSiteUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VpnSiteUpdate() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnSiteUpdateTags.json @@ -86,9 +85,8 @@ public async Task Update_VpnSiteUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VpnSiteDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VpnSiteDelete() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnSiteDelete.json @@ -110,12 +108,11 @@ public async Task Delete_VpnSiteDelete() // invoke the operation await vpnSite.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VpnSiteList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVpnSites_VpnSiteList() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/VpnSiteList.json @@ -142,7 +139,7 @@ public async Task GetVpnSites_VpnSiteList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_WebApplicationFirewallPolicyCollection.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_WebApplicationFirewallPolicyCollection.cs index bde98411d4e26..c44200b85065e 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_WebApplicationFirewallPolicyCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_WebApplicationFirewallPolicyCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_WebApplicationFirewallPolicyCollection { - // Lists all WAF policies in a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsAllWAFPoliciesInAResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/WafListPolicies.json @@ -49,12 +49,11 @@ public async Task GetAll_ListsAllWAFPoliciesInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a WAF policy within a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAWAFPolicyWithinAResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/WafPolicyGet.json @@ -86,9 +85,8 @@ public async Task Get_GetsAWAFPolicyWithinAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a WAF policy within a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAWAFPolicyWithinAResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/WafPolicyGet.json @@ -116,9 +114,8 @@ public async Task Exists_GetsAWAFPolicyWithinAResourceGroup() Console.WriteLine($"Succeeded: {result}"); } - // Gets a WAF policy within a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAWAFPolicyWithinAResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/WafPolicyGet.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetsAWAFPolicyWithinAResourceGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetsAWAFPolicyWithinAResourceGroup() } } - // Creates or updates a WAF policy within a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesAWAFPolicyWithinAResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/WafPolicyCreateOrUpdate.json diff --git a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_WebApplicationFirewallPolicyResource.cs b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_WebApplicationFirewallPolicyResource.cs index 93fe5bd5870b6..71620c10513d2 100644 --- a/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_WebApplicationFirewallPolicyResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/samples/Generated/Samples/Sample_WebApplicationFirewallPolicyResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Network.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Network.Samples { public partial class Sample_WebApplicationFirewallPolicyResource { - // Lists all WAF policies in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetWebApplicationFirewallPolicies_ListsAllWAFPoliciesInASubscription() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/WafListAllPolicies.json @@ -45,12 +45,11 @@ public async Task GetWebApplicationFirewallPolicies_ListsAllWAFPoliciesInASubscr Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a WAF policy within a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAWAFPolicyWithinAResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/WafPolicyGet.json @@ -79,9 +78,8 @@ public async Task Get_GetsAWAFPolicyWithinAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates a WAF policy within a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesOrUpdatesAWAFPolicyWithinAResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/WafPolicyCreateOrUpdate.json @@ -374,9 +372,8 @@ public async Task Update_CreatesOrUpdatesAWAFPolicyWithinAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a WAF policy within a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAWAFPolicyWithinAResourceGroup() { // Generated from example definition: specification/network/resource-manager/Microsoft.Network/stable/2024-03-01/examples/WafPolicyDelete.json @@ -398,7 +395,7 @@ public async Task Delete_DeletesAWAFPolicyWithinAResourceGroup() // invoke the operation await webApplicationFirewallPolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/networkanalytics/Azure.ResourceManager.NetworkAnalytics/samples/Generated/Samples/Sample_DataProductCollection.cs b/sdk/networkanalytics/Azure.ResourceManager.NetworkAnalytics/samples/Generated/Samples/Sample_DataProductCollection.cs index b537d52524acf..6802a20784045 100644 --- a/sdk/networkanalytics/Azure.ResourceManager.NetworkAnalytics/samples/Generated/Samples/Sample_DataProductCollection.cs +++ b/sdk/networkanalytics/Azure.ResourceManager.NetworkAnalytics/samples/Generated/Samples/Sample_DataProductCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.NetworkAnalytics.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkAnalytics.Samples { public partial class Sample_DataProductCollection { - // DataProducts_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DataProductsListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_ListByResourceGroup_MaximumSet_Gen.json @@ -50,12 +50,11 @@ public async Task GetAll_DataProductsListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DataProducts_ListByResourceGroup_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DataProductsListByResourceGroupMaximumSetGenGeneratedByMinimumSetRuleMinimumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_ListByResourceGroup_MinimumSet_Gen.json @@ -86,12 +85,11 @@ public async Task GetAll_DataProductsListByResourceGroupMaximumSetGenGeneratedBy Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DataProducts_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DataProductsGetMaximumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Get_MaximumSet_Gen.json @@ -123,9 +121,8 @@ public async Task Get_DataProductsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataProducts_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DataProductsGetMaximumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Get_MaximumSet_Gen.json @@ -153,9 +150,8 @@ public async Task Exists_DataProductsGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // DataProducts_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DataProductsGetMaximumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Get_MaximumSet_Gen.json @@ -183,7 +179,7 @@ public async Task GetIfExists_DataProductsGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -195,9 +191,8 @@ public async Task GetIfExists_DataProductsGetMaximumSetGen() } } - // DataProducts_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DataProductsGetMaximumSetGenGeneratedByMinimumSetRuleMinimumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Get_MinimumSet_Gen.json @@ -229,9 +224,8 @@ public async Task Get_DataProductsGetMaximumSetGenGeneratedByMinimumSetRuleMinim Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataProducts_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DataProductsGetMaximumSetGenGeneratedByMinimumSetRuleMinimumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Get_MinimumSet_Gen.json @@ -259,9 +253,8 @@ public async Task Exists_DataProductsGetMaximumSetGenGeneratedByMinimumSetRuleMi Console.WriteLine($"Succeeded: {result}"); } - // DataProducts_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DataProductsGetMaximumSetGenGeneratedByMinimumSetRuleMinimumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Get_MinimumSet_Gen.json @@ -289,7 +282,7 @@ public async Task GetIfExists_DataProductsGetMaximumSetGenGeneratedByMinimumSetR if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -301,9 +294,8 @@ public async Task GetIfExists_DataProductsGetMaximumSetGenGeneratedByMinimumSetR } } - // DataProducts_Create_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DataProductsCreateMaximumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Create_MaximumSet_Gen.json @@ -383,9 +375,8 @@ public async Task CreateOrUpdate_DataProductsCreateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataProducts_Create_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DataProductsCreateMaximumSetGenGeneratedByMinimumSetRuleMinimumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Create_MinimumSet_Gen.json diff --git a/sdk/networkanalytics/Azure.ResourceManager.NetworkAnalytics/samples/Generated/Samples/Sample_DataProductResource.cs b/sdk/networkanalytics/Azure.ResourceManager.NetworkAnalytics/samples/Generated/Samples/Sample_DataProductResource.cs index d13d83ab0f18f..31ca7a3a1ec9c 100644 --- a/sdk/networkanalytics/Azure.ResourceManager.NetworkAnalytics/samples/Generated/Samples/Sample_DataProductResource.cs +++ b/sdk/networkanalytics/Azure.ResourceManager.NetworkAnalytics/samples/Generated/Samples/Sample_DataProductResource.cs @@ -13,14 +13,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.NetworkAnalytics.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkAnalytics.Samples { public partial class Sample_DataProductResource { - // DataProducts_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDataProducts_DataProductsListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_ListBySubscription_MaximumSet_Gen.json @@ -47,12 +47,11 @@ public async Task GetDataProducts_DataProductsListBySubscriptionMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DataProducts_ListBySubscription_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDataProducts_DataProductsListBySubscriptionMaximumSetGenGeneratedByMinimumSetRuleMinimumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_ListBySubscription_MinimumSet_Gen.json @@ -79,12 +78,11 @@ public async Task GetDataProducts_DataProductsListBySubscriptionMaximumSetGenGen Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DataProducts_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DataProductsGetMaximumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Get_MaximumSet_Gen.json @@ -113,9 +111,8 @@ public async Task Get_DataProductsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataProducts_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DataProductsGetMaximumSetGenGeneratedByMinimumSetRuleMinimumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Get_MinimumSet_Gen.json @@ -144,9 +141,8 @@ public async Task Get_DataProductsGetMaximumSetGenGeneratedByMinimumSetRuleMinim Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataProducts_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DataProductsUpdateMaximumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Update_MaximumSet_Gen.json @@ -198,9 +194,8 @@ public async Task Update_DataProductsUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataProducts_Update_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DataProductsUpdateMaximumSetGenGeneratedByMinimumSetRuleMinimumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Update_MinimumSet_Gen.json @@ -231,9 +226,8 @@ public async Task Update_DataProductsUpdateMaximumSetGenGeneratedByMinimumSetRul Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataProducts_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DataProductsDeleteMaximumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Delete_MaximumSet_Gen.json @@ -255,12 +249,11 @@ public async Task Delete_DataProductsDeleteMaximumSetGen() // invoke the operation await dataProduct.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DataProducts_Delete_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DataProductsDeleteMaximumSetGenGeneratedByMinimumSetRuleMinimumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_Delete_MinimumSet_Gen.json @@ -282,12 +275,11 @@ public async Task Delete_DataProductsDeleteMaximumSetGenGeneratedByMinimumSetRul // invoke the operation await dataProduct.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DataProducts_AddUserRole_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AddUserRole_DataProductsAddUserRoleMaximumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_AddUserRole_MaximumSet_Gen.json @@ -316,9 +308,8 @@ public async Task AddUserRole_DataProductsAddUserRoleMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // DataProducts_AddUserRole_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AddUserRole_DataProductsAddUserRoleMaximumSetGenGeneratedByMinimumSetRuleMinimumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_AddUserRole_MinimumSet_Gen.json @@ -347,9 +338,8 @@ public async Task AddUserRole_DataProductsAddUserRoleMaximumSetGenGeneratedByMin Console.WriteLine($"Succeeded: {result}"); } - // DataProducts_GenerateStorageAccountSasToken_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateStorageAccountSasToken_DataProductsGenerateStorageAccountSasTokenMaximumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_GenerateStorageAccountSasToken_MaximumSet_Gen.json @@ -375,9 +365,8 @@ public async Task GenerateStorageAccountSasToken_DataProductsGenerateStorageAcco Console.WriteLine($"Succeeded: {result}"); } - // DataProducts_GenerateStorageAccountSasToken_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateStorageAccountSasToken_DataProductsGenerateStorageAccountSasTokenMaximumSetGenGeneratedByMinimumSetRuleMinimumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_GenerateStorageAccountSasToken_MinimumSet_Gen.json @@ -403,9 +392,8 @@ public async Task GenerateStorageAccountSasToken_DataProductsGenerateStorageAcco Console.WriteLine($"Succeeded: {result}"); } - // DataProducts_ListRolesAssignments_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRolesAssignments_DataProductsListRolesAssignmentsMaximumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_ListRolesAssignments_MaximumSet_Gen.json @@ -433,9 +421,8 @@ public async Task GetRolesAssignments_DataProductsListRolesAssignmentsMaximumSet Console.WriteLine($"Succeeded: {result}"); } - // DataProducts_ListRolesAssignments_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRolesAssignments_DataProductsListRolesAssignmentsMaximumSetGenGeneratedByMinimumSetRuleMinimumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_ListRolesAssignments_MinimumSet_Gen.json @@ -463,9 +450,8 @@ public async Task GetRolesAssignments_DataProductsListRolesAssignmentsMaximumSet Console.WriteLine($"Succeeded: {result}"); } - // DataProducts_RemoveUserRole_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RemoveUserRole_DataProductsRemoveUserRoleMaximumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_RemoveUserRole_MaximumSet_Gen.json @@ -491,12 +477,11 @@ public async Task RemoveUserRole_DataProductsRemoveUserRoleMaximumSetGen() }, "User", DataProductUserRole.Reader, "00000000-0000-0000-0000-00000000000"); await dataProduct.RemoveUserRoleAsync(body); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DataProducts_RemoveUserRole_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RemoveUserRole_DataProductsRemoveUserRoleMaximumSetGenGeneratedByMinimumSetRuleMinimumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_RemoveUserRole_MinimumSet_Gen.json @@ -522,12 +507,11 @@ public async Task RemoveUserRole_DataProductsRemoveUserRoleMaximumSetGenGenerate }, "User", DataProductUserRole.Reader, "00000000-0000-0000-0000-00000000000"); await dataProduct.RemoveUserRoleAsync(body); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DataProducts_RotateKey_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RotateKey_DataProductsRotateKeyMaximumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_RotateKey_MaximumSet_Gen.json @@ -550,12 +534,11 @@ public async Task RotateKey_DataProductsRotateKeyMaximumSetGen() NetworkAnalyticsKeyVaultContent content = new NetworkAnalyticsKeyVaultContent(new Uri("https://myKeyVault.vault.azure.net")); await dataProduct.RotateKeyAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DataProducts_RotateKey_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RotateKey_DataProductsRotateKeyMaximumSetGenGeneratedByMinimumSetRuleMinimumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProducts_RotateKey_MinimumSet_Gen.json @@ -578,12 +561,11 @@ public async Task RotateKey_DataProductsRotateKeyMaximumSetGenGeneratedByMinimum NetworkAnalyticsKeyVaultContent content = new NetworkAnalyticsKeyVaultContent(new Uri("https://myKeyVault.vault.azure.net")); await dataProduct.RotateKeyAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DataTypes_ListByDataProduct_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDataTypes_DataTypesListByDataProductMaximumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_ListByDataProduct_MaximumSet_Gen.json @@ -608,12 +590,11 @@ public async Task GetDataTypes_DataTypesListByDataProductMaximumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DataTypes_ListByDataProduct_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDataTypes_DataTypesListByDataProductMaximumSetGenGeneratedByMinimumSetRuleMinimumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataTypes_ListByDataProduct_MinimumSet_Gen.json @@ -638,7 +619,7 @@ public async Task GetDataTypes_DataTypesListByDataProductMaximumSetGenGeneratedB Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/networkanalytics/Azure.ResourceManager.NetworkAnalytics/samples/Generated/Samples/Sample_DataProductsCatalogResource.cs b/sdk/networkanalytics/Azure.ResourceManager.NetworkAnalytics/samples/Generated/Samples/Sample_DataProductsCatalogResource.cs index 3d51e75f9f07c..cd6a0ea83d1ca 100644 --- a/sdk/networkanalytics/Azure.ResourceManager.NetworkAnalytics/samples/Generated/Samples/Sample_DataProductsCatalogResource.cs +++ b/sdk/networkanalytics/Azure.ResourceManager.NetworkAnalytics/samples/Generated/Samples/Sample_DataProductsCatalogResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkAnalytics.Samples { public partial class Sample_DataProductsCatalogResource { - // DataProductsCatalogs_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDataProductsCatalogs_DataProductsCatalogsListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProductsCatalogs_ListBySubscription_MaximumSet_Gen.json @@ -44,12 +44,11 @@ public async Task GetDataProductsCatalogs_DataProductsCatalogsListBySubscription Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DataProductsCatalogs_ListBySubscription_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDataProductsCatalogs_DataProductsCatalogsListBySubscriptionMinimumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProductsCatalogs_ListBySubscription_MinimumSet_Gen.json @@ -76,12 +75,11 @@ public async Task GetDataProductsCatalogs_DataProductsCatalogsListBySubscription Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DataProductsCatalogs_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DataProductsCatalogsGetMaximumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProductsCatalogs_Get_MaximumSet_Gen.json @@ -109,9 +107,8 @@ public async Task Get_DataProductsCatalogsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataProductsCatalogs_Get_MaximumSet_Gen - generated by [MinimumSet] rule_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DataProductsCatalogsGetMaximumSetGenGeneratedByMinimumSetRuleMinimumSetGen() { // Generated from example definition: specification/networkanalytics/resource-manager/Microsoft.NetworkAnalytics/stable/2023-11-15/examples/DataProductsCatalogs_Get_MinimumSet_Gen.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudAgentPoolCollection.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudAgentPoolCollection.cs index 9ece59ee176ec..e533182266320 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudAgentPoolCollection.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudAgentPoolCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudAgentPoolCollection { - // List agent pools of the Kubernetes cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAgentPoolsOfTheKubernetesCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/AgentPools_ListByKubernetesCluster.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAgentPoolsOfTheKubernetesCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Kubernetes cluster agent pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetKubernetesClusterAgentPool() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/AgentPools_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetKubernetesClusterAgentPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Kubernetes cluster agent pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetKubernetesClusterAgentPool() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/AgentPools_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetKubernetesClusterAgentPool() Console.WriteLine($"Succeeded: {result}"); } - // Get Kubernetes cluster agent pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetKubernetesClusterAgentPool() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/AgentPools_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetKubernetesClusterAgentPool() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetKubernetesClusterAgentPool() } } - // Create or update Kubernetes cluster agent pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateKubernetesClusterAgentPool() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/AgentPools_Create.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudAgentPoolResource.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudAgentPoolResource.cs index defbc9749d20a..bdda22f42bd06 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudAgentPoolResource.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudAgentPoolResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudAgentPoolResource { - // Get Kubernetes cluster agent pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetKubernetesClusterAgentPool() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/AgentPools_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetKubernetesClusterAgentPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch Kubernetes cluster agent pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchKubernetesClusterAgentPool() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/AgentPools_Patch.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudBareMetalMachineCollection.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudBareMetalMachineCollection.cs index 3ae1811802391..ecf0bb33bc13e 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudBareMetalMachineCollection.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudBareMetalMachineCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudBareMetalMachineCollection { - // List bare metal machines for resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListBareMetalMachinesForResourceGroup() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BareMetalMachines_ListByResourceGroup.json @@ -48,12 +48,11 @@ public async Task GetAll_ListBareMetalMachinesForResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get bare metal machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetBareMetalMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BareMetalMachines_Get.json @@ -85,9 +84,8 @@ public async Task Get_GetBareMetalMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get bare metal machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetBareMetalMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BareMetalMachines_Get.json @@ -115,9 +113,8 @@ public async Task Exists_GetBareMetalMachine() Console.WriteLine($"Succeeded: {result}"); } - // Get bare metal machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetBareMetalMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BareMetalMachines_Get.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetBareMetalMachine() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudBareMetalMachineKeySetCollection.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudBareMetalMachineKeySetCollection.cs index 9254c19707b21..79557a58fd378 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudBareMetalMachineKeySetCollection.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudBareMetalMachineKeySetCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudBareMetalMachineKeySetCollection { - // List bare metal machine key sets of the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListBareMetalMachineKeySetsOfTheCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BareMetalMachineKeySets_ListByCluster.json @@ -50,12 +50,11 @@ public async Task GetAll_ListBareMetalMachineKeySetsOfTheCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get bare metal machine key set of cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetBareMetalMachineKeySetOfCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BareMetalMachineKeySets_Get.json @@ -88,9 +87,8 @@ public async Task Get_GetBareMetalMachineKeySetOfCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get bare metal machine key set of cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetBareMetalMachineKeySetOfCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BareMetalMachineKeySets_Get.json @@ -119,9 +117,8 @@ public async Task Exists_GetBareMetalMachineKeySetOfCluster() Console.WriteLine($"Succeeded: {result}"); } - // Get bare metal machine key set of cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetBareMetalMachineKeySetOfCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BareMetalMachineKeySets_Get.json @@ -150,7 +147,7 @@ public async Task GetIfExists_GetBareMetalMachineKeySetOfCluster() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_GetBareMetalMachineKeySetOfCluster() } } - // Create or update bare metal machine key set of cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateBareMetalMachineKeySetOfCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BareMetalMachineKeySets_Create.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudBareMetalMachineKeySetResource.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudBareMetalMachineKeySetResource.cs index 8448a385725bf..eec6df13060f1 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudBareMetalMachineKeySetResource.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudBareMetalMachineKeySetResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudBareMetalMachineKeySetResource { - // Get bare metal machine key set of cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetBareMetalMachineKeySetOfCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BareMetalMachineKeySets_Get.json @@ -48,9 +48,8 @@ public async Task Get_GetBareMetalMachineKeySetOfCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch bare metal machine key set of cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchBareMetalMachineKeySetOfCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BareMetalMachineKeySets_Patch.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudBareMetalMachineResource.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudBareMetalMachineResource.cs index 8aaeb3083588f..28db57dc977eb 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudBareMetalMachineResource.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudBareMetalMachineResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudBareMetalMachineResource { - // List bare metal machines for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkCloudBareMetalMachines_ListBareMetalMachinesForSubscription() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BareMetalMachines_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetNetworkCloudBareMetalMachines_ListBareMetalMachinesForSubsc Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get bare metal machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetBareMetalMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BareMetalMachines_Get.json @@ -79,9 +78,8 @@ public async Task Get_GetBareMetalMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch bare metal machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchBareMetalMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BareMetalMachines_Patch.json @@ -120,9 +118,8 @@ public async Task Update_PatchBareMetalMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Cordon bare metal machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cordon_CordonBareMetalMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BareMetalMachines_Cordon.json @@ -152,9 +149,8 @@ public async Task Cordon_CordonBareMetalMachine() Console.WriteLine($"Succeeded: {result}"); } - // Power off bare metal machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PowerOff_PowerOffBareMetalMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BareMetalMachines_PowerOff.json @@ -184,9 +180,8 @@ public async Task PowerOff_PowerOffBareMetalMachine() Console.WriteLine($"Succeeded: {result}"); } - // Reimage bare metal machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reimage_ReimageBareMetalMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BareMetalMachines_Reimage.json @@ -212,9 +207,8 @@ public async Task Reimage_ReimageBareMetalMachine() Console.WriteLine($"Succeeded: {result}"); } - // Replace bare metal machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Replace_ReplaceBareMetalMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BareMetalMachines_Replace.json @@ -251,9 +245,8 @@ public async Task Replace_ReplaceBareMetalMachine() Console.WriteLine($"Succeeded: {result}"); } - // Restart bare metal machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_RestartBareMetalMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BareMetalMachines_Restart.json @@ -279,9 +272,8 @@ public async Task Restart_RestartBareMetalMachine() Console.WriteLine($"Succeeded: {result}"); } - // Run command on bare metal machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RunCommand_RunCommandOnBareMetalMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BareMetalMachines_RunCommand.json @@ -314,9 +306,8 @@ public async Task RunCommand_RunCommandOnBareMetalMachine() Console.WriteLine($"Succeeded: {result}"); } - // Run data extraction on bare metal machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RunDataExtracts_RunDataExtractionOnBareMetalMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BareMetalMachines_RunDataExtracts.json @@ -352,9 +343,8 @@ public async Task RunDataExtracts_RunDataExtractionOnBareMetalMachine() Console.WriteLine($"Succeeded: {result}"); } - // Run and retrieve output from read only commands on bare metal machine. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RunReadCommands_RunAndRetrieveOutputFromReadOnlyCommandsOnBareMetalMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BareMetalMachines_RunReadCommands.json @@ -396,9 +386,8 @@ public async Task RunReadCommands_RunAndRetrieveOutputFromReadOnlyCommandsOnBare Console.WriteLine($"Succeeded: {result}"); } - // Start bare metal machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_StartBareMetalMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BareMetalMachines_Start.json @@ -424,9 +413,8 @@ public async Task Start_StartBareMetalMachine() Console.WriteLine($"Succeeded: {result}"); } - // Uncordon bare metal machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Uncordon_UncordonBareMetalMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BareMetalMachines_Uncordon.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudBmcKeySetCollection.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudBmcKeySetCollection.cs index fb9111032905e..1a1f5129538bd 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudBmcKeySetCollection.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudBmcKeySetCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudBmcKeySetCollection { - // List baseboard management controller key sets of the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListBaseboardManagementControllerKeySetsOfTheCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BmcKeySets_ListByCluster.json @@ -49,12 +49,11 @@ public async Task GetAll_ListBaseboardManagementControllerKeySetsOfTheCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get baseboard management controller key set of cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetBaseboardManagementControllerKeySetOfCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BmcKeySets_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetBaseboardManagementControllerKeySetOfCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get baseboard management controller key set of cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetBaseboardManagementControllerKeySetOfCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BmcKeySets_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetBaseboardManagementControllerKeySetOfCluster() Console.WriteLine($"Succeeded: {result}"); } - // Get baseboard management controller key set of cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetBaseboardManagementControllerKeySetOfCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BmcKeySets_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetBaseboardManagementControllerKeySetOfCluster() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetBaseboardManagementControllerKeySetOfCluster() } } - // Create or update baseboard management controller key set of cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateBaseboardManagementControllerKeySetOfCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BmcKeySets_Create.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudBmcKeySetResource.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudBmcKeySetResource.cs index 82255c26d39ec..1c9108f3d09c6 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudBmcKeySetResource.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudBmcKeySetResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudBmcKeySetResource { - // Get baseboard management controller key set of cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetBaseboardManagementControllerKeySetOfCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BmcKeySets_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetBaseboardManagementControllerKeySetOfCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch baseboard management controller key set of cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchBaseboardManagementControllerKeySetOfCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/BmcKeySets_Patch.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudCloudServicesNetworkCollection.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudCloudServicesNetworkCollection.cs index 35a7bcdec32c5..29029020e890c 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudCloudServicesNetworkCollection.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudCloudServicesNetworkCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudCloudServicesNetworkCollection { - // List cloud services networks for resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCloudServicesNetworksForResourceGroup() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/CloudServicesNetworks_ListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListCloudServicesNetworksForResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get cloud services network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCloudServicesNetwork() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/CloudServicesNetworks_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetCloudServicesNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get cloud services network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCloudServicesNetwork() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/CloudServicesNetworks_Get.json @@ -116,9 +114,8 @@ public async Task Exists_GetCloudServicesNetwork() Console.WriteLine($"Succeeded: {result}"); } - // Get cloud services network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCloudServicesNetwork() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/CloudServicesNetworks_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetCloudServicesNetwork() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetCloudServicesNetwork() } } - // Create or update cloud services network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateCloudServicesNetwork() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/CloudServicesNetworks_Create.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudCloudServicesNetworkResource.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudCloudServicesNetworkResource.cs index dbad93e3fbe10..34e751fc9cc22 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudCloudServicesNetworkResource.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudCloudServicesNetworkResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudCloudServicesNetworkResource { - // List cloud services networks for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkCloudCloudServicesNetworks_ListCloudServicesNetworksForSubscription() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/CloudServicesNetworks_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetNetworkCloudCloudServicesNetworks_ListCloudServicesNetworks Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get cloud services network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCloudServicesNetwork() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/CloudServicesNetworks_Get.json @@ -79,9 +78,8 @@ public async Task Get_GetCloudServicesNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch cloud services network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchCloudServicesNetwork() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/CloudServicesNetworks_Patch.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudClusterCollection.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudClusterCollection.cs index da914643e9c71..dfe0d45cc3c22 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudClusterCollection.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudClusterCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.NetworkCloud.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudClusterCollection { - // List clusters for resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListClustersForResourceGroup() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Clusters_ListByResourceGroup.json @@ -50,12 +50,11 @@ public async Task GetAll_ListClustersForResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Clusters_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Clusters_Get.json @@ -117,9 +115,8 @@ public async Task Exists_GetCluster() Console.WriteLine($"Succeeded: {result}"); } - // Get cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Clusters_Get.json @@ -147,7 +144,7 @@ public async Task GetIfExists_GetCluster() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_GetCluster() } } - // Create or update cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Clusters_Create.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudClusterManagerCollection.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudClusterManagerCollection.cs index 9c031046db5df..7155a8b7f02e2 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudClusterManagerCollection.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudClusterManagerCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.NetworkCloud.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudClusterManagerCollection { - // List cluster managers for resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListClusterManagersForResourceGroup() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/ClusterManagers_ListByResourceGroup.json @@ -50,12 +50,11 @@ public async Task GetAll_ListClusterManagersForResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get cluster manager - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetClusterManager() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/ClusterManagers_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetClusterManager() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get cluster manager - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetClusterManager() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/ClusterManagers_Get.json @@ -117,9 +115,8 @@ public async Task Exists_GetClusterManager() Console.WriteLine($"Succeeded: {result}"); } - // Get cluster manager - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetClusterManager() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/ClusterManagers_Get.json @@ -147,7 +144,7 @@ public async Task GetIfExists_GetClusterManager() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_GetClusterManager() } } - // Create or update cluster manager - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateClusterManager() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/ClusterManagers_Create.json @@ -209,9 +205,8 @@ public async Task CreateOrUpdate_CreateOrUpdateClusterManager() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update cluster manager with user assigned identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateClusterManagerWithUserAssignedIdentity() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/ClusterManagers_Create_Uami.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudClusterManagerResource.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudClusterManagerResource.cs index b0efa5f824409..c1efde5da9d85 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudClusterManagerResource.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudClusterManagerResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.NetworkCloud.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudClusterManagerResource { - // List cluster managers for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkCloudClusterManagers_ListClusterManagersForSubscription() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/ClusterManagers_ListBySubscription.json @@ -46,12 +46,11 @@ public async Task GetNetworkCloudClusterManagers_ListClusterManagersForSubscript Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get cluster manager - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetClusterManager() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/ClusterManagers_Get.json @@ -80,9 +79,8 @@ public async Task Get_GetClusterManager() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch cluster manager - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchClusterManager() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/ClusterManagers_Patch.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudClusterMetricsConfigurationCollection.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudClusterMetricsConfigurationCollection.cs index 42d0cd3f47de9..2c92abbae8677 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudClusterMetricsConfigurationCollection.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudClusterMetricsConfigurationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudClusterMetricsConfigurationCollection { - // List metrics configurations of the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListMetricsConfigurationsOfTheCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/ClusterMetricsConfigurations_ListByCluster.json @@ -49,12 +49,11 @@ public async Task GetAll_ListMetricsConfigurationsOfTheCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get metrics configuration of cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMetricsConfigurationOfCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/ClusterMetricsConfigurations_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetMetricsConfigurationOfCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get metrics configuration of cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetMetricsConfigurationOfCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/ClusterMetricsConfigurations_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetMetricsConfigurationOfCluster() Console.WriteLine($"Succeeded: {result}"); } - // Get metrics configuration of cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetMetricsConfigurationOfCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/ClusterMetricsConfigurations_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetMetricsConfigurationOfCluster() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetMetricsConfigurationOfCluster() } } - // Create or update metrics configuration of cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateMetricsConfigurationOfCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/ClusterMetricsConfigurations_Create.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudClusterMetricsConfigurationResource.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudClusterMetricsConfigurationResource.cs index 6c77355ee104c..86633244f42cc 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudClusterMetricsConfigurationResource.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudClusterMetricsConfigurationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudClusterMetricsConfigurationResource { - // Get metrics configuration of cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMetricsConfigurationOfCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/ClusterMetricsConfigurations_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetMetricsConfigurationOfCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch metrics configuration of cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchMetricsConfigurationOfCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/ClusterMetricsConfigurations_Patch.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudClusterResource.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudClusterResource.cs index 9c38039cc4c0e..b24a2564ae93c 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudClusterResource.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudClusterResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.NetworkCloud.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudClusterResource { - // List clusters for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkCloudClusters_ListClustersForSubscription() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Clusters_ListBySubscription.json @@ -46,12 +46,11 @@ public async Task GetNetworkCloudClusters_ListClustersForSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Clusters_Get.json @@ -80,9 +79,8 @@ public async Task Get_GetCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch cluster AggregatorOrSingleRackDefinition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchClusterAggregatorOrSingleRackDefinition() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Clusters_Patch_AggregatorOrSingleRackDefinition.json @@ -153,9 +151,8 @@ public async Task Update_PatchClusterAggregatorOrSingleRackDefinition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch cluster command output - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchClusterCommandOutput() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Clusters_Patch_CommandOutput.json @@ -210,9 +207,8 @@ [new ResourceIdentifier("/subscriptions/123e4567-e89b-12d3-a456-426655440000/res Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch cluster location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchClusterLocation() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Clusters_Patch_Location.json @@ -251,9 +247,8 @@ public async Task Update_PatchClusterLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch runtime protection configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchRuntimeProtectionConfiguration() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Clusters_Patch_RuntimeProtectionConfiguration.json @@ -292,9 +287,8 @@ public async Task Update_PatchRuntimeProtectionConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch secret archive - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchSecretArchive() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Clusters_Patch_SecretArchive.json @@ -336,9 +330,8 @@ public async Task Update_PatchSecretArchive() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch update strategy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchUpdateStrategy() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Clusters_Patch_UpdateStrategy.json @@ -381,9 +374,8 @@ public async Task Update_PatchUpdateStrategy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Continue update cluster version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ContinueUpdateVersion_ContinueUpdateClusterVersion() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Clusters_ContinueUpdateVersion.json @@ -413,9 +405,8 @@ public async Task ContinueUpdateVersion_ContinueUpdateClusterVersion() Console.WriteLine($"Succeeded: {result}"); } - // Deploy cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Deploy_DeployCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Clusters_Deploy.json @@ -442,9 +433,8 @@ public async Task Deploy_DeployCluster() Console.WriteLine($"Succeeded: {result}"); } - // Deploy cluster skipping validation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Deploy_DeployClusterSkippingValidation() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Clusters_Deploy_SkipValidation.json @@ -477,9 +467,8 @@ public async Task Deploy_DeployClusterSkippingValidation() Console.WriteLine($"Succeeded: {result}"); } - // Execute a runtime protection scan on the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ScanRuntime_ExecuteARuntimeProtectionScanOnTheCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Clusters_ScanRuntime.json @@ -509,9 +498,8 @@ public async Task ScanRuntime_ExecuteARuntimeProtectionScanOnTheCluster() Console.WriteLine($"Succeeded: {result}"); } - // Update cluster version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateVersion_UpdateClusterVersion() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Clusters_UpdateVersion.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudKubernetesClusterCollection.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudKubernetesClusterCollection.cs index a029a0405f1bd..ad5028ab25f0c 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudKubernetesClusterCollection.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudKubernetesClusterCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudKubernetesClusterCollection { - // List Kubernetes clusters for resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListKubernetesClustersForResourceGroup() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/KubernetesClusters_ListByResourceGroup.json @@ -50,12 +50,11 @@ public async Task GetAll_ListKubernetesClustersForResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Kubernetes cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetKubernetesCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/KubernetesClusters_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetKubernetesCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Kubernetes cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetKubernetesCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/KubernetesClusters_Get.json @@ -117,9 +115,8 @@ public async Task Exists_GetKubernetesCluster() Console.WriteLine($"Succeeded: {result}"); } - // Get Kubernetes cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetKubernetesCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/KubernetesClusters_Get.json @@ -147,7 +144,7 @@ public async Task GetIfExists_GetKubernetesCluster() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_GetKubernetesCluster() } } - // Create or update Kubernetes cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateKubernetesCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/KubernetesClusters_Create.json @@ -372,9 +368,8 @@ public async Task CreateOrUpdate_CreateOrUpdateKubernetesCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update Kubernetes cluster with a layer 2 load balancer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateKubernetesClusterWithALayer2LoadBalancer() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/KubernetesClusters_L2LoadBalancer_Create.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudKubernetesClusterFeatureCollection.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudKubernetesClusterFeatureCollection.cs index c7655568b3d1e..13d332ed021e1 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudKubernetesClusterFeatureCollection.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudKubernetesClusterFeatureCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudKubernetesClusterFeatureCollection { - // List features for the Kubernetes cluster. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListFeaturesForTheKubernetesCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/KubernetesClusterFeatures_ListByKubernetesCluster.json @@ -49,12 +49,11 @@ public async Task GetAll_ListFeaturesForTheKubernetesCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Kubernetes cluster feature - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetKubernetesClusterFeature() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/KubernetesClusterFeatures_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetKubernetesClusterFeature() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Kubernetes cluster feature - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetKubernetesClusterFeature() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/KubernetesClusterFeatures_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetKubernetesClusterFeature() Console.WriteLine($"Succeeded: {result}"); } - // Get Kubernetes cluster feature - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetKubernetesClusterFeature() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/KubernetesClusterFeatures_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetKubernetesClusterFeature() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetKubernetesClusterFeature() } } - // Create or update Kubernetes cluster feature - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateKubernetesClusterFeature() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/KubernetesClusterFeatures_Create.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudKubernetesClusterFeatureResource.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudKubernetesClusterFeatureResource.cs index 2686d45a81d15..016105a0160dd 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudKubernetesClusterFeatureResource.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudKubernetesClusterFeatureResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudKubernetesClusterFeatureResource { - // Get Kubernetes cluster feature - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetKubernetesClusterFeature() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/KubernetesClusterFeatures_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetKubernetesClusterFeature() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Kubernetes cluster feature - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteKubernetesClusterFeature() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/KubernetesClusterFeatures_Delete.json @@ -76,9 +75,8 @@ public async Task Delete_DeleteKubernetesClusterFeature() Console.WriteLine($"Succeeded: {result}"); } - // Patch Kubernetes cluster feature - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchKubernetesClusterFeature() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/KubernetesClusterFeatures_Patch.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudKubernetesClusterResource.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudKubernetesClusterResource.cs index 8a8780efd903d..5992b8e86292e 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudKubernetesClusterResource.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudKubernetesClusterResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudKubernetesClusterResource { - // List Kubernetes clusters for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkCloudKubernetesClusters_ListKubernetesClustersForSubscription() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/KubernetesClusters_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetNetworkCloudKubernetesClusters_ListKubernetesClustersForSub Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Kubernetes cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetKubernetesCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/KubernetesClusters_Get.json @@ -79,9 +78,8 @@ public async Task Get_GetKubernetesCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch Kubernetes cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchKubernetesCluster() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/KubernetesClusters_Patch.json @@ -132,9 +130,8 @@ public async Task Update_PatchKubernetesCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Restart a Kubernetes cluster node - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RestartNode_RestartAKubernetesClusterNode() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/KubernetesClusters_RestartNode.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudL2NetworkCollection.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudL2NetworkCollection.cs index 3f9a27c9ebaa4..acf8d8df33929 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudL2NetworkCollection.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudL2NetworkCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudL2NetworkCollection { - // List L2 networks for resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListL2NetworksForResourceGroup() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/L2Networks_ListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListL2NetworksForResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get L2 network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetL2Network() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/L2Networks_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetL2Network() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get L2 network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetL2Network() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/L2Networks_Get.json @@ -116,9 +114,8 @@ public async Task Exists_GetL2Network() Console.WriteLine($"Succeeded: {result}"); } - // Get L2 network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetL2Network() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/L2Networks_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetL2Network() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetL2Network() } } - // Create or update L2 network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateL2Network() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/L2Networks_Create.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudL2NetworkResource.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudL2NetworkResource.cs index 86c9e403e2dd0..9e3384f807653 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudL2NetworkResource.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudL2NetworkResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudL2NetworkResource { - // List L2 networks for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkCloudL2Networks_ListL2NetworksForSubscription() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/L2Networks_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetNetworkCloudL2Networks_ListL2NetworksForSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get L2 network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetL2Network() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/L2Networks_Get.json @@ -79,9 +78,8 @@ public async Task Get_GetL2Network() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch L2 network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchL2Network() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/L2Networks_Patch.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudL3NetworkCollection.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudL3NetworkCollection.cs index 1631292325129..36dff73c78c6a 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudL3NetworkCollection.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudL3NetworkCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudL3NetworkCollection { - // List L3 networks for resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListL3NetworksForResourceGroup() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/L3Networks_ListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListL3NetworksForResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get L3network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetL3network() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/L3Networks_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetL3network() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get L3network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetL3network() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/L3Networks_Get.json @@ -116,9 +114,8 @@ public async Task Exists_GetL3network() Console.WriteLine($"Succeeded: {result}"); } - // Get L3network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetL3network() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/L3Networks_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetL3network() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetL3network() } } - // Create or update L3 network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateL3Network() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/L3Networks_Create.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudL3NetworkResource.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudL3NetworkResource.cs index b619841501c7a..7d711009a781d 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudL3NetworkResource.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudL3NetworkResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudL3NetworkResource { - // List L3 networks for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkCloudL3Networks_ListL3NetworksForSubscription() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/L3Networks_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetNetworkCloudL3Networks_ListL3NetworksForSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get L3network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetL3network() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/L3Networks_Get.json @@ -79,9 +78,8 @@ public async Task Get_GetL3network() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch L3 network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchL3Network() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/L3Networks_Patch.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudRackCollection.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudRackCollection.cs index 9f4e8b05ba19d..fdc533d28c412 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudRackCollection.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudRackCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudRackCollection { - // List racks for resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRacksForResourceGroup() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Racks_ListByResourceGroup.json @@ -48,12 +48,11 @@ public async Task GetAll_ListRacksForResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get rack - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRack() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Racks_Get.json @@ -85,9 +84,8 @@ public async Task Get_GetRack() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get rack - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRack() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Racks_Get.json @@ -115,9 +113,8 @@ public async Task Exists_GetRack() Console.WriteLine($"Succeeded: {result}"); } - // Get rack - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRack() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Racks_Get.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetRack() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudRackResource.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudRackResource.cs index 0e91ebb5cd47e..40cd992dc361a 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudRackResource.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudRackResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudRackResource { - // List racks for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkCloudRacks_ListRacksForSubscription() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Racks_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetNetworkCloudRacks_ListRacksForSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get rack - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRack() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Racks_Get.json @@ -79,9 +78,8 @@ public async Task Get_GetRack() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch rack - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchRack() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Racks_Patch.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudRackSkuCollection.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudRackSkuCollection.cs index d900a4ab0c2fd..7c60bc7c5d375 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudRackSkuCollection.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudRackSkuCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudRackSkuCollection { - // List rack SKUs for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRackSKUsForSubscription() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/RackSkus_ListBySubscription.json @@ -47,12 +47,11 @@ public async Task GetAll_ListRackSKUsForSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get rack SKU resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRackSKUResource() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/RackSkus_Get.json @@ -83,9 +82,8 @@ public async Task Get_GetRackSKUResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get rack SKU resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRackSKUResource() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/RackSkus_Get.json @@ -112,9 +110,8 @@ public async Task Exists_GetRackSKUResource() Console.WriteLine($"Succeeded: {result}"); } - // Get rack SKU resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRackSKUResource() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/RackSkus_Get.json @@ -141,7 +138,7 @@ public async Task GetIfExists_GetRackSKUResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudRackSkuResource.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudRackSkuResource.cs index 455af30f7c303..29f427cc7d374 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudRackSkuResource.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudRackSkuResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudRackSkuResource { - // Get rack SKU resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRackSKUResource() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/RackSkus_Get.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudStorageApplianceCollection.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudStorageApplianceCollection.cs index a51b87d453596..517ce1fb429c6 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudStorageApplianceCollection.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudStorageApplianceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudStorageApplianceCollection { - // List storage appliances for resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListStorageAppliancesForResourceGroup() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/StorageAppliances_ListByResourceGroup.json @@ -48,12 +48,11 @@ public async Task GetAll_ListStorageAppliancesForResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get storage appliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetStorageAppliance() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/StorageAppliances_Get.json @@ -85,9 +84,8 @@ public async Task Get_GetStorageAppliance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get storage appliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetStorageAppliance() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/StorageAppliances_Get.json @@ -115,9 +113,8 @@ public async Task Exists_GetStorageAppliance() Console.WriteLine($"Succeeded: {result}"); } - // Get storage appliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetStorageAppliance() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/StorageAppliances_Get.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetStorageAppliance() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudStorageApplianceResource.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudStorageApplianceResource.cs index 7dd98404b14d6..444467830dfe3 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudStorageApplianceResource.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudStorageApplianceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudStorageApplianceResource { - // List storage appliances for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkCloudStorageAppliances_ListStorageAppliancesForSubscription() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/StorageAppliances_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetNetworkCloudStorageAppliances_ListStorageAppliancesForSubsc Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get storage appliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetStorageAppliance() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/StorageAppliances_Get.json @@ -79,9 +78,8 @@ public async Task Get_GetStorageAppliance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch storage appliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchStorageAppliance() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/StorageAppliances_Patch.json @@ -120,9 +118,8 @@ public async Task Update_PatchStorageAppliance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Turn off remote vendor management for storage appliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DisableRemoteVendorManagement_TurnOffRemoteVendorManagementForStorageAppliance() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/StorageAppliances_DisableRemoteVendorManagement.json @@ -148,9 +145,8 @@ public async Task DisableRemoteVendorManagement_TurnOffRemoteVendorManagementFor Console.WriteLine($"Succeeded: {result}"); } - // Turn on remote vendor management for storage appliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task EnableRemoteVendorManagement_TurnOnRemoteVendorManagementForStorageAppliance() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/StorageAppliances_EnableRemoteVendorManagement.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudTrunkedNetworkCollection.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudTrunkedNetworkCollection.cs index 4e7c781446e16..66460a422c478 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudTrunkedNetworkCollection.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudTrunkedNetworkCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudTrunkedNetworkCollection { - // List Trunked networks for resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTrunkedNetworksForResourceGroup() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/TrunkedNetworks_ListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListTrunkedNetworksForResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Trunked network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTrunkedNetwork() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/TrunkedNetworks_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetTrunkedNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Trunked network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTrunkedNetwork() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/TrunkedNetworks_Get.json @@ -116,9 +114,8 @@ public async Task Exists_GetTrunkedNetwork() Console.WriteLine($"Succeeded: {result}"); } - // Get Trunked network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTrunkedNetwork() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/TrunkedNetworks_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetTrunkedNetwork() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetTrunkedNetwork() } } - // Create or update trunked network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateTrunkedNetwork() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/TrunkedNetworks_Create.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudTrunkedNetworkResource.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudTrunkedNetworkResource.cs index 0932c5605efb8..766319efc5115 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudTrunkedNetworkResource.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudTrunkedNetworkResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudTrunkedNetworkResource { - // List trunked networks for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkCloudTrunkedNetworks_ListTrunkedNetworksForSubscription() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/TrunkedNetworks_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetNetworkCloudTrunkedNetworks_ListTrunkedNetworksForSubscript Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Trunked network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTrunkedNetwork() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/TrunkedNetworks_Get.json @@ -79,9 +78,8 @@ public async Task Get_GetTrunkedNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch trunked network - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchTrunkedNetwork() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/TrunkedNetworks_Patch.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudVirtualMachineCollection.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudVirtualMachineCollection.cs index d34da3221ccfa..027f2cd765177 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudVirtualMachineCollection.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudVirtualMachineCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudVirtualMachineCollection { - // List virtual machines for resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListVirtualMachinesForResourceGroup() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/VirtualMachines_ListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListVirtualMachinesForResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/VirtualMachines_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetVirtualMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVirtualMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/VirtualMachines_Get.json @@ -116,9 +114,8 @@ public async Task Exists_GetVirtualMachine() Console.WriteLine($"Succeeded: {result}"); } - // Get virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVirtualMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/VirtualMachines_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetVirtualMachine() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetVirtualMachine() } } - // Create or update virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateVirtualMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/VirtualMachines_Create.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudVirtualMachineConsoleCollection.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudVirtualMachineConsoleCollection.cs index b042214a5b614..f0ae338c33626 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudVirtualMachineConsoleCollection.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudVirtualMachineConsoleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudVirtualMachineConsoleCollection { - // List consoles of the virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListConsolesOfTheVirtualMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Consoles_ListByVirtualMachine.json @@ -49,12 +49,11 @@ public async Task GetAll_ListConsolesOfTheVirtualMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get virtual machine console - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualMachineConsole() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Consoles_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetVirtualMachineConsole() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get virtual machine console - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVirtualMachineConsole() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Consoles_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetVirtualMachineConsole() Console.WriteLine($"Succeeded: {result}"); } - // Get virtual machine console - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVirtualMachineConsole() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Consoles_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetVirtualMachineConsole() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetVirtualMachineConsole() } } - // Create or update virtual machine console - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateVirtualMachineConsole() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Consoles_Create.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudVirtualMachineConsoleResource.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudVirtualMachineConsoleResource.cs index 9919d2c37f102..2fbb22df6d2d2 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudVirtualMachineConsoleResource.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudVirtualMachineConsoleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudVirtualMachineConsoleResource { - // Get virtual machine console - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualMachineConsole() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Consoles_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetVirtualMachineConsole() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch virtual machine console - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchVirtualMachineConsole() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Consoles_Patch.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudVirtualMachineResource.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudVirtualMachineResource.cs index d6546691dd99d..401d3e7949e93 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudVirtualMachineResource.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudVirtualMachineResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudVirtualMachineResource { - // List virtual machines for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkCloudVirtualMachines_ListVirtualMachinesForSubscription() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/VirtualMachines_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetNetworkCloudVirtualMachines_ListVirtualMachinesForSubscript Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/VirtualMachines_Get.json @@ -79,9 +78,8 @@ public async Task Get_GetVirtualMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchVirtualMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/VirtualMachines_Patch.json @@ -123,9 +121,8 @@ public async Task Update_PatchVirtualMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Power off virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PowerOff_PowerOffVirtualMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/VirtualMachines_PowerOff.json @@ -155,9 +152,8 @@ public async Task PowerOff_PowerOffVirtualMachine() Console.WriteLine($"Succeeded: {result}"); } - // Reimage virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reimage_ReimageVirtualMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/VirtualMachines_Reimage.json @@ -183,9 +179,8 @@ public async Task Reimage_ReimageVirtualMachine() Console.WriteLine($"Succeeded: {result}"); } - // Restart virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_RestartVirtualMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/VirtualMachines_Restart.json @@ -211,9 +206,8 @@ public async Task Restart_RestartVirtualMachine() Console.WriteLine($"Succeeded: {result}"); } - // Start virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_StartVirtualMachine() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/VirtualMachines_Start.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudVolumeCollection.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudVolumeCollection.cs index dfd403a08fdf2..18ac911555b2f 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudVolumeCollection.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudVolumeCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudVolumeCollection { - // List volumes for resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListVolumesForResourceGroup() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Volumes_ListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListVolumesForResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get volume - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVolume() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Volumes_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetVolume() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get volume - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVolume() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Volumes_Get.json @@ -116,9 +114,8 @@ public async Task Exists_GetVolume() Console.WriteLine($"Succeeded: {result}"); } - // Get volume - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVolume() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Volumes_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetVolume() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetVolume() } } - // Create or update volume - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateVolume() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Volumes_Create.json diff --git a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudVolumeResource.cs b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudVolumeResource.cs index 7db9a3f4c5ca4..d58380e013124 100644 --- a/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudVolumeResource.cs +++ b/sdk/networkcloud/Azure.ResourceManager.NetworkCloud/samples/Generated/Samples/Sample_NetworkCloudVolumeResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.NetworkCloud.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkCloud.Samples { public partial class Sample_NetworkCloudVolumeResource { - // List volume for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkCloudVolumes_ListVolumeForSubscription() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Volumes_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetNetworkCloudVolumes_ListVolumeForSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get volume - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVolume() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Volumes_Get.json @@ -79,9 +78,8 @@ public async Task Get_GetVolume() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch volume - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchVolume() { // Generated from example definition: specification/networkcloud/resource-manager/Microsoft.NetworkCloud/preview/2024-06-01-preview/examples/Volumes_Patch.json diff --git a/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/samples/Generated/Samples/Sample_AzureTrafficCollectorCollection.cs b/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/samples/Generated/Samples/Sample_AzureTrafficCollectorCollection.cs index 4a9b062a9cc7a..d44ba2d9373e6 100644 --- a/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/samples/Generated/Samples/Sample_AzureTrafficCollectorCollection.cs +++ b/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/samples/Generated/Samples/Sample_AzureTrafficCollectorCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkFunction.Samples { public partial class Sample_AzureTrafficCollectorCollection { - // List of Traffic Collectors by ResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListOfTrafficCollectorsByResourceGroup() { // Generated from example definition: specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-11-01/examples/AzureTrafficCollectorsByResourceGroupList.json @@ -48,12 +48,11 @@ public async Task GetAll_ListOfTrafficCollectorsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Traffic Collector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTrafficCollector() { // Generated from example definition: specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-11-01/examples/AzureTrafficCollectorGet.json @@ -85,9 +84,8 @@ public async Task Get_GetTrafficCollector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Traffic Collector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTrafficCollector() { // Generated from example definition: specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-11-01/examples/AzureTrafficCollectorGet.json @@ -115,9 +113,8 @@ public async Task Exists_GetTrafficCollector() Console.WriteLine($"Succeeded: {result}"); } - // Get Traffic Collector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTrafficCollector() { // Generated from example definition: specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-11-01/examples/AzureTrafficCollectorGet.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetTrafficCollector() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -157,9 +154,8 @@ public async Task GetIfExists_GetTrafficCollector() } } - // Create a traffic collector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateATrafficCollector() { // Generated from example definition: specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-11-01/examples/AzureTrafficCollectorCreate.json diff --git a/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/samples/Generated/Samples/Sample_AzureTrafficCollectorResource.cs b/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/samples/Generated/Samples/Sample_AzureTrafficCollectorResource.cs index 49c843108abab..250d3d9958a1f 100644 --- a/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/samples/Generated/Samples/Sample_AzureTrafficCollectorResource.cs +++ b/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/samples/Generated/Samples/Sample_AzureTrafficCollectorResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetworkFunction.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkFunction.Samples { public partial class Sample_AzureTrafficCollectorResource { - // Get Traffic Collector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTrafficCollector() { // Generated from example definition: specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-11-01/examples/AzureTrafficCollectorGet.json @@ -46,9 +46,8 @@ public async Task Get_GetTrafficCollector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Traffic Collector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteTrafficCollector() { // Generated from example definition: specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-11-01/examples/AzureTrafficCollectorDelete.json @@ -70,12 +69,11 @@ public async Task Delete_DeleteTrafficCollector() // invoke the operation await azureTrafficCollector.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update Traffic Collector tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateTrafficCollectorTags() { // Generated from example definition: specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-11-01/examples/AzureTrafficCollectorUpdateTags.json diff --git a/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/samples/Generated/Samples/Sample_CollectorPolicyCollection.cs b/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/samples/Generated/Samples/Sample_CollectorPolicyCollection.cs index 06f7503b23df3..a0c0cc21957da 100644 --- a/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/samples/Generated/Samples/Sample_CollectorPolicyCollection.cs +++ b/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/samples/Generated/Samples/Sample_CollectorPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetworkFunction.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkFunction.Samples { public partial class Sample_CollectorPolicyCollection { - // List of Collection Policies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListOfCollectionPolicies() { // Generated from example definition: specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-11-01/examples/CollectorPoliciesList.json @@ -49,12 +49,11 @@ public async Task GetAll_ListOfCollectionPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Collection Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCollectionPolicy() { // Generated from example definition: specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-11-01/examples/CollectorPolicyGet.json @@ -87,9 +86,8 @@ public async Task Get_GetCollectionPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Collection Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCollectionPolicy() { // Generated from example definition: specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-11-01/examples/CollectorPolicyGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetCollectionPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Get Collection Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCollectionPolicy() { // Generated from example definition: specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-11-01/examples/CollectorPolicyGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetCollectionPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetCollectionPolicy() } } - // Create a collection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateACollectionPolicy() { // Generated from example definition: specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-11-01/examples/CollectorPolicyCreate.json diff --git a/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/samples/Generated/Samples/Sample_CollectorPolicyResource.cs b/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/samples/Generated/Samples/Sample_CollectorPolicyResource.cs index 746dde6695dac..c8f4fb5c51eb2 100644 --- a/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/samples/Generated/Samples/Sample_CollectorPolicyResource.cs +++ b/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/samples/Generated/Samples/Sample_CollectorPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NetworkFunction.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkFunction.Samples { public partial class Sample_CollectorPolicyResource { - // Get Collection Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCollectionPolicy() { // Generated from example definition: specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-11-01/examples/CollectorPolicyGet.json @@ -47,9 +47,8 @@ public async Task Get_GetCollectionPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Collection Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteCollectionPolicy() { // Generated from example definition: specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-11-01/examples/CollectorPolicyDelete.json @@ -72,12 +71,11 @@ public async Task Delete_DeleteCollectionPolicy() // invoke the operation await collectorPolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update Collector Policy tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateCollectorPolicyTags() { // Generated from example definition: specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-11-01/examples/CollectorPolicyUpdateTags.json diff --git a/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index c6054895218ed..9fbd7efb538e3 100644 --- a/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/networkfunction/Azure.ResourceManager.NetworkFunction/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NetworkFunction.Samples { public partial class Sample_SubscriptionResourceExtensions { - // List of Traffic Collectors by Subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAzureTrafficCollectors_ListOfTrafficCollectorsBySubscription() { // Generated from example definition: specification/networkfunction/resource-manager/Microsoft.NetworkFunction/stable/2022-11-01/examples/AzureTrafficCollectorsBySubscriptionList.json @@ -44,7 +44,7 @@ public async Task GetAzureTrafficCollectors_ListOfTrafficCollectorsBySubscriptio Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_NewRelicMonitorResource.cs b/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_NewRelicMonitorResource.cs index 0710fc49b2d6c..ff3a547f392a1 100644 --- a/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_NewRelicMonitorResource.cs +++ b/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_NewRelicMonitorResource.cs @@ -13,14 +13,14 @@ using Azure.ResourceManager.NewRelicObservability.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NewRelicObservability.Samples { public partial class Sample_NewRelicMonitorResource { - // Monitors_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNewRelicMonitorResources_MonitorsListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Monitors_ListBySubscription_MaximumSet_Gen.json @@ -47,12 +47,11 @@ public async Task GetNewRelicMonitorResources_MonitorsListBySubscriptionMaximumS Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Monitors_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MonitorsGetMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Monitors_Get_MaximumSet_Gen.json @@ -81,9 +80,8 @@ public async Task Get_MonitorsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Monitors_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_MonitorsUpdateMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Monitors_Update_MaximumSet_Gen.json @@ -162,9 +160,8 @@ public async Task Update_MonitorsUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Monitors_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_MonitorsDeleteMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Monitors_Delete_MaximumSet_Gen.json @@ -187,12 +184,11 @@ public async Task Delete_MonitorsDeleteMaximumSetGen() string userEmail = "ruxvg@xqkmdhrnoo.hlmbpm"; await newRelicMonitorResource.DeleteAsync(WaitUntil.Completed, userEmail); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Monitors_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_MonitorsDeleteMinimumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Monitors_Delete_MinimumSet_Gen.json @@ -215,12 +211,11 @@ public async Task Delete_MonitorsDeleteMinimumSetGen() string userEmail = "ruxvg@xqkmdhrnoo.hlmbpm"; await newRelicMonitorResource.DeleteAsync(WaitUntil.Completed, userEmail); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Monitors_GetMetricRules_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMetricRules_MonitorsGetMetricRulesMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Monitors_GetMetricRules_MaximumSet_Gen.json @@ -246,9 +241,8 @@ public async Task GetMetricRules_MonitorsGetMetricRulesMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Monitors_GetMetricRules_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMetricRules_MonitorsGetMetricRulesMinimumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Monitors_GetMetricRules_MinimumSet_Gen.json @@ -274,9 +268,8 @@ public async Task GetMetricRules_MonitorsGetMetricRulesMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Monitors_GetMetricStatus_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMetricStatus_MonitorsGetMetricStatusMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Monitors_GetMetricStatus_MaximumSet_Gen.json @@ -308,9 +301,8 @@ public async Task GetMetricStatus_MonitorsGetMetricStatusMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Monitors_GetMetricStatus_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMetricStatus_MonitorsGetMetricStatusMinimumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Monitors_GetMetricStatus_MinimumSet_Gen.json @@ -342,9 +334,8 @@ public async Task GetMetricStatus_MonitorsGetMetricStatusMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Monitors_ListAppServices_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAppServices_MonitorsListAppServicesMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Monitors_ListAppServices_MaximumSet_Gen.json @@ -376,12 +367,11 @@ public async Task GetAppServices_MonitorsListAppServicesMaximumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Monitors_ListAppServices_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAppServices_MonitorsListAppServicesMinimumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Monitors_ListAppServices_MinimumSet_Gen.json @@ -413,12 +403,11 @@ public async Task GetAppServices_MonitorsListAppServicesMinimumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Monitors_SwitchBilling_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SwitchBilling_MonitorsSwitchBillingMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Monitors_SwitchBilling_MaximumSet_Gen.json @@ -459,9 +448,8 @@ public async Task SwitchBilling_MonitorsSwitchBillingMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Monitors_SwitchBilling_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SwitchBilling_MonitorsSwitchBillingMinimumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Monitors_SwitchBilling_MinimumSet_Gen.json @@ -491,9 +479,8 @@ public async Task SwitchBilling_MonitorsSwitchBillingMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Monitors_ListHosts_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetHosts_MonitorsListHostsMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Monitors_ListHosts_MaximumSet_Gen.json @@ -525,12 +512,11 @@ public async Task GetHosts_MonitorsListHostsMaximumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Monitors_ListHosts_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetHosts_MonitorsListHostsMinimumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Monitors_ListHosts_MinimumSet_Gen.json @@ -562,12 +548,11 @@ public async Task GetHosts_MonitorsListHostsMinimumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Monitors_ListMonitoredResources_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMonitoredResources_MonitorsListMonitoredResourcesMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Monitors_ListMonitoredResources_MaximumSet_Gen.json @@ -592,12 +577,11 @@ public async Task GetMonitoredResources_MonitorsListMonitoredResourcesMaximumSet Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Monitors_ListMonitoredResources_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMonitoredResources_MonitorsListMonitoredResourcesMinimumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Monitors_ListMonitoredResources_MinimumSet_Gen.json @@ -622,12 +606,11 @@ public async Task GetMonitoredResources_MonitorsListMonitoredResourcesMinimumSet Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Monitors_ListLinkedResources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLinkedResources_MonitorsListLinkedResources() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/LinkedResources_List.json @@ -652,12 +635,11 @@ public async Task GetLinkedResources_MonitorsListLinkedResources() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Monitors_VmHostPayload_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task VmHostPayload_MonitorsVmHostPayloadMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Monitors_VmHostPayload_MaximumSet_Gen.json @@ -682,9 +664,8 @@ public async Task VmHostPayload_MonitorsVmHostPayloadMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Monitors_VmHostPayload_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task VmHostPayload_MonitorsVmHostPayloadMinimumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Monitors_VmHostPayload_MinimumSet_Gen.json @@ -709,9 +690,8 @@ public async Task VmHostPayload_MonitorsVmHostPayloadMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // BillingInfo_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBillingInfo_BillingInfoGet() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/BillingInfo_Get.json @@ -736,9 +716,8 @@ public async Task GetBillingInfo_BillingInfoGet() Console.WriteLine($"Succeeded: {result}"); } - // ConnectedPartnerResources_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConnectedPartnerResources_ConnectedPartnerResourcesList() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/ConnectedPartnerResources_List.json @@ -763,7 +742,7 @@ public async Task GetConnectedPartnerResources_ConnectedPartnerResourcesList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_NewRelicMonitorResourceCollection.cs b/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_NewRelicMonitorResourceCollection.cs index bc76164b22f1f..165674122d52c 100644 --- a/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_NewRelicMonitorResourceCollection.cs +++ b/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_NewRelicMonitorResourceCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.NewRelicObservability.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NewRelicObservability.Samples { public partial class Sample_NewRelicMonitorResourceCollection { - // Monitors_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_MonitorsListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Monitors_ListByResourceGroup_MaximumSet_Gen.json @@ -50,12 +50,11 @@ public async Task GetAll_MonitorsListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Monitors_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MonitorsGetMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Monitors_Get_MaximumSet_Gen.json @@ -87,9 +86,8 @@ public async Task Get_MonitorsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Monitors_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_MonitorsGetMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Monitors_Get_MaximumSet_Gen.json @@ -117,9 +115,8 @@ public async Task Exists_MonitorsGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Monitors_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_MonitorsGetMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Monitors_Get_MaximumSet_Gen.json @@ -147,7 +144,7 @@ public async Task GetIfExists_MonitorsGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_MonitorsGetMaximumSetGen() } } - // Monitors_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_MonitorsCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Monitors_CreateOrUpdate_MaximumSet_Gen.json diff --git a/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_NewRelicMonitoredSubscriptionCollection.cs b/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_NewRelicMonitoredSubscriptionCollection.cs index c602bfd8b4181..5a97f40a8f0d9 100644 --- a/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_NewRelicMonitoredSubscriptionCollection.cs +++ b/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_NewRelicMonitoredSubscriptionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NewRelicObservability.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NewRelicObservability.Samples { public partial class Sample_NewRelicMonitoredSubscriptionCollection { - // Monitors_GetMonitoredSubscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_MonitorsGetMonitoredSubscriptions() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/MonitoredSubscriptions_List.json @@ -49,12 +49,11 @@ public async Task GetAll_MonitorsGetMonitoredSubscriptions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Monitors_GetMonitoredSubscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MonitorsGetMonitoredSubscriptions() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/MonitoredSubscriptions_Get.json @@ -87,9 +86,8 @@ public async Task Get_MonitorsGetMonitoredSubscriptions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Monitors_GetMonitoredSubscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_MonitorsGetMonitoredSubscriptions() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/MonitoredSubscriptions_Get.json @@ -118,9 +116,8 @@ public async Task Exists_MonitorsGetMonitoredSubscriptions() Console.WriteLine($"Succeeded: {result}"); } - // Monitors_GetMonitoredSubscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_MonitorsGetMonitoredSubscriptions() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/MonitoredSubscriptions_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_MonitorsGetMonitoredSubscriptions() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_MonitorsGetMonitoredSubscriptions() } } - // Monitors_AddMonitoredSubscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_MonitorsAddMonitoredSubscriptions() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/MonitoredSubscriptions_CreateOrUpdate.json diff --git a/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_NewRelicMonitoredSubscriptionResource.cs b/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_NewRelicMonitoredSubscriptionResource.cs index c4d8a67784f9a..e1a464d162e3f 100644 --- a/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_NewRelicMonitoredSubscriptionResource.cs +++ b/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_NewRelicMonitoredSubscriptionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NewRelicObservability.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NewRelicObservability.Samples { public partial class Sample_NewRelicMonitoredSubscriptionResource { - // Monitors_GetMonitoredSubscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MonitorsGetMonitoredSubscriptions() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/MonitoredSubscriptions_Get.json @@ -47,9 +47,8 @@ public async Task Get_MonitorsGetMonitoredSubscriptions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Monitors_UpdateMonitoredSubscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_MonitorsUpdateMonitoredSubscriptions() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/MonitoredSubscriptions_Update.json @@ -81,9 +80,8 @@ public async Task Update_MonitorsUpdateMonitoredSubscriptions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Monitors_DeleteMonitoredSubscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_MonitorsDeleteMonitoredSubscriptions() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/MonitoredSubscriptions_Delete.json @@ -106,7 +104,7 @@ public async Task Delete_MonitorsDeleteMonitoredSubscriptions() // invoke the operation await newRelicMonitoredSubscription.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_NewRelicObservabilityTagRuleCollection.cs b/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_NewRelicObservabilityTagRuleCollection.cs index 85873c625f659..4667aa981677a 100644 --- a/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_NewRelicObservabilityTagRuleCollection.cs +++ b/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_NewRelicObservabilityTagRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NewRelicObservability.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NewRelicObservability.Samples { public partial class Sample_NewRelicObservabilityTagRuleCollection { - // TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_TagRulesListByNewRelicMonitorResourceMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/TagRules_ListByNewRelicMonitorResource_MaximumSet_Gen.json @@ -49,12 +49,11 @@ public async Task GetAll_TagRulesListByNewRelicMonitorResourceMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_TagRulesListByNewRelicMonitorResourceMinimumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/TagRules_ListByNewRelicMonitorResource_MinimumSet_Gen.json @@ -86,12 +85,11 @@ public async Task GetAll_TagRulesListByNewRelicMonitorResourceMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TagRules_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TagRulesGetMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/TagRules_Get_MaximumSet_Gen.json @@ -124,9 +122,8 @@ public async Task Get_TagRulesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TagRules_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_TagRulesGetMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/TagRules_Get_MaximumSet_Gen.json @@ -155,9 +152,8 @@ public async Task Exists_TagRulesGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // TagRules_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TagRulesGetMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/TagRules_Get_MaximumSet_Gen.json @@ -186,7 +182,7 @@ public async Task GetIfExists_TagRulesGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -198,9 +194,8 @@ public async Task GetIfExists_TagRulesGetMaximumSetGen() } } - // TagRules_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TagRulesGetMinimumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/TagRules_Get_MinimumSet_Gen.json @@ -233,9 +228,8 @@ public async Task Get_TagRulesGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TagRules_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_TagRulesGetMinimumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/TagRules_Get_MinimumSet_Gen.json @@ -264,9 +258,8 @@ public async Task Exists_TagRulesGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // TagRules_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TagRulesGetMinimumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/TagRules_Get_MinimumSet_Gen.json @@ -295,7 +288,7 @@ public async Task GetIfExists_TagRulesGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -307,9 +300,8 @@ public async Task GetIfExists_TagRulesGetMinimumSetGen() } } - // TagRules_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TagRulesCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/TagRules_CreateOrUpdate_MaximumSet_Gen.json @@ -374,9 +366,8 @@ public async Task CreateOrUpdate_TagRulesCreateOrUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TagRules_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TagRulesCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/TagRules_CreateOrUpdate_MinimumSet_Gen.json diff --git a/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_NewRelicObservabilityTagRuleResource.cs b/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_NewRelicObservabilityTagRuleResource.cs index 8e149694d12b3..631229b4cd3e3 100644 --- a/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_NewRelicObservabilityTagRuleResource.cs +++ b/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_NewRelicObservabilityTagRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NewRelicObservability.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NewRelicObservability.Samples { public partial class Sample_NewRelicObservabilityTagRuleResource { - // TagRules_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TagRulesGetMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/TagRules_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_TagRulesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TagRules_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TagRulesGetMinimumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/TagRules_Get_MinimumSet_Gen.json @@ -79,9 +78,8 @@ public async Task Get_TagRulesGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TagRules_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_TagRulesDeleteMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/TagRules_Delete_MaximumSet_Gen.json @@ -104,12 +102,11 @@ public async Task Delete_TagRulesDeleteMaximumSetGen() // invoke the operation await newRelicObservabilityTagRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TagRules_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_TagRulesDeleteMinimumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/TagRules_Delete_MinimumSet_Gen.json @@ -132,12 +129,11 @@ public async Task Delete_TagRulesDeleteMinimumSetGen() // invoke the operation await newRelicObservabilityTagRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TagRules_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TagRulesUpdateMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/TagRules_Update_MaximumSet_Gen.json @@ -198,9 +194,8 @@ public async Task Update_TagRulesUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TagRules_Update_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TagRulesUpdateMinimumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/TagRules_Update_MinimumSet_Gen.json diff --git a/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 6e078d0522801..2f9672ef7bda2 100644 --- a/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/newrelicobservability/Azure.ResourceManager.NewRelicObservability/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.NewRelicObservability.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NewRelicObservability.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Accounts_List_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNewRelicAccounts_AccountsListMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Accounts_List_MaximumSet_Gen.json @@ -43,12 +43,11 @@ public async Task GetNewRelicAccounts_AccountsListMaximumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Accounts_List_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNewRelicAccounts_AccountsListMinimumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Accounts_List_MinimumSet_Gen.json @@ -73,12 +72,11 @@ public async Task GetNewRelicAccounts_AccountsListMinimumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Organizations_List_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNewRelicOrganizations_OrganizationsListMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Organizations_List_MaximumSet_Gen.json @@ -103,12 +101,11 @@ public async Task GetNewRelicOrganizations_OrganizationsListMaximumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Organizations_List_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNewRelicOrganizations_OrganizationsListMinimumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Organizations_List_MinimumSet_Gen.json @@ -133,12 +130,11 @@ public async Task GetNewRelicOrganizations_OrganizationsListMinimumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Plans_List_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNewRelicPlans_PlansListMaximumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Plans_List_MaximumSet_Gen.json @@ -163,12 +159,11 @@ public async Task GetNewRelicPlans_PlansListMaximumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Plans_List_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNewRelicPlans_PlansListMinimumSetGen() { // Generated from example definition: specification/newrelic/resource-manager/NewRelic.Observability/stable/2024-03-01/examples/Plans_List_MinimumSet_Gen.json @@ -192,7 +187,7 @@ public async Task GetNewRelicPlans_PlansListMinimumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/nginx/Azure.ResourceManager.Nginx/samples/Generated/Samples/Sample_NginxCertificateCollection.cs b/sdk/nginx/Azure.ResourceManager.Nginx/samples/Generated/Samples/Sample_NginxCertificateCollection.cs index a1bd383c2cff9..dbd1df017b204 100644 --- a/sdk/nginx/Azure.ResourceManager.Nginx/samples/Generated/Samples/Sample_NginxCertificateCollection.cs +++ b/sdk/nginx/Azure.ResourceManager.Nginx/samples/Generated/Samples/Sample_NginxCertificateCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Nginx.Samples { public partial class Sample_NginxCertificateCollection { - // Certificates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CertificatesGet() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Certificates_Get.json @@ -49,9 +49,8 @@ public async Task Get_CertificatesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Certificates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CertificatesGet() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Certificates_Get.json @@ -80,9 +79,8 @@ public async Task Exists_CertificatesGet() Console.WriteLine($"Succeeded: {result}"); } - // Certificates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CertificatesGet() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Certificates_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_CertificatesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_CertificatesGet() } } - // Certificates_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CertificatesCreateOrUpdate() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Certificates_CreateOrUpdate.json @@ -160,9 +157,8 @@ public async Task CreateOrUpdate_CertificatesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Certificates_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CertificatesList() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Certificates_List.json @@ -194,7 +190,7 @@ public async Task GetAll_CertificatesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/nginx/Azure.ResourceManager.Nginx/samples/Generated/Samples/Sample_NginxCertificateResource.cs b/sdk/nginx/Azure.ResourceManager.Nginx/samples/Generated/Samples/Sample_NginxCertificateResource.cs index 373867513175c..6d7ab3a8f5e75 100644 --- a/sdk/nginx/Azure.ResourceManager.Nginx/samples/Generated/Samples/Sample_NginxCertificateResource.cs +++ b/sdk/nginx/Azure.ResourceManager.Nginx/samples/Generated/Samples/Sample_NginxCertificateResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Nginx.Samples { public partial class Sample_NginxCertificateResource { - // Certificates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CertificatesGet() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Certificates_Get.json @@ -46,9 +46,8 @@ public async Task Get_CertificatesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Certificates_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CertificatesCreateOrUpdate() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Certificates_CreateOrUpdate.json @@ -80,9 +79,8 @@ public async Task Update_CertificatesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Certificates_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CertificatesDelete() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Certificates_Delete.json @@ -105,7 +103,7 @@ public async Task Delete_CertificatesDelete() // invoke the operation await nginxCertificate.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/nginx/Azure.ResourceManager.Nginx/samples/Generated/Samples/Sample_NginxConfigurationCollection.cs b/sdk/nginx/Azure.ResourceManager.Nginx/samples/Generated/Samples/Sample_NginxConfigurationCollection.cs index 9ba8ca8af3991..59dabcbe6d8e3 100644 --- a/sdk/nginx/Azure.ResourceManager.Nginx/samples/Generated/Samples/Sample_NginxConfigurationCollection.cs +++ b/sdk/nginx/Azure.ResourceManager.Nginx/samples/Generated/Samples/Sample_NginxConfigurationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Nginx.Samples { public partial class Sample_NginxConfigurationCollection { - // Configurations_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ConfigurationsList() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Configurations_List.json @@ -48,12 +48,11 @@ public async Task GetAll_ConfigurationsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Configurations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConfigurationsGet() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Configurations_Get.json @@ -86,9 +85,8 @@ public async Task Get_ConfigurationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Configurations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ConfigurationsGet() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Configurations_Get.json @@ -117,9 +115,8 @@ public async Task Exists_ConfigurationsGet() Console.WriteLine($"Succeeded: {result}"); } - // Configurations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ConfigurationsGet() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Configurations_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_ConfigurationsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_ConfigurationsGet() } } - // Configurations_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ConfigurationsCreateOrUpdate() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Configurations_CreateOrUpdate.json diff --git a/sdk/nginx/Azure.ResourceManager.Nginx/samples/Generated/Samples/Sample_NginxConfigurationResource.cs b/sdk/nginx/Azure.ResourceManager.Nginx/samples/Generated/Samples/Sample_NginxConfigurationResource.cs index 994d5089d2bd2..277bed9ea925a 100644 --- a/sdk/nginx/Azure.ResourceManager.Nginx/samples/Generated/Samples/Sample_NginxConfigurationResource.cs +++ b/sdk/nginx/Azure.ResourceManager.Nginx/samples/Generated/Samples/Sample_NginxConfigurationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Nginx.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Nginx.Samples { public partial class Sample_NginxConfigurationResource { - // Configurations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConfigurationsGet() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Configurations_Get.json @@ -47,9 +47,8 @@ public async Task Get_ConfigurationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Configurations_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ConfigurationsCreateOrUpdate() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Configurations_CreateOrUpdate.json @@ -81,9 +80,8 @@ public async Task Update_ConfigurationsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Configurations_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ConfigurationsDelete() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Configurations_Delete.json @@ -106,12 +104,11 @@ public async Task Delete_ConfigurationsDelete() // invoke the operation await nginxConfiguration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Configurations_Analysis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Analysis_ConfigurationsAnalysis() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Configurations_Analysis.json diff --git a/sdk/nginx/Azure.ResourceManager.Nginx/samples/Generated/Samples/Sample_NginxDeploymentCollection.cs b/sdk/nginx/Azure.ResourceManager.Nginx/samples/Generated/Samples/Sample_NginxDeploymentCollection.cs index 9dbdde540f592..142e6255421b4 100644 --- a/sdk/nginx/Azure.ResourceManager.Nginx/samples/Generated/Samples/Sample_NginxDeploymentCollection.cs +++ b/sdk/nginx/Azure.ResourceManager.Nginx/samples/Generated/Samples/Sample_NginxDeploymentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Nginx.Samples { public partial class Sample_NginxDeploymentCollection { - // Deployments_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DeploymentsGet() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Deployments_Get.json @@ -49,9 +49,8 @@ public async Task Get_DeploymentsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deployments_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DeploymentsGet() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Deployments_Get.json @@ -79,9 +78,8 @@ public async Task Exists_DeploymentsGet() Console.WriteLine($"Succeeded: {result}"); } - // Deployments_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DeploymentsGet() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Deployments_Get.json @@ -109,7 +107,7 @@ public async Task GetIfExists_DeploymentsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_DeploymentsGet() } } - // Deployments_Get_AutoScale - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DeploymentsGetAutoScale() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Deployments_Get_AutoScale.json @@ -155,9 +152,8 @@ public async Task Get_DeploymentsGetAutoScale() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deployments_Get_AutoScale - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DeploymentsGetAutoScale() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Deployments_Get_AutoScale.json @@ -185,9 +181,8 @@ public async Task Exists_DeploymentsGetAutoScale() Console.WriteLine($"Succeeded: {result}"); } - // Deployments_Get_AutoScale - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DeploymentsGetAutoScale() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Deployments_Get_AutoScale.json @@ -215,7 +210,7 @@ public async Task GetIfExists_DeploymentsGetAutoScale() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -227,9 +222,8 @@ public async Task GetIfExists_DeploymentsGetAutoScale() } } - // Deployments_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DeploymentsCreate() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Deployments_Create.json @@ -263,9 +257,8 @@ public async Task CreateOrUpdate_DeploymentsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deployments_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DeploymentsListByResourceGroup() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Deployments_ListByResourceGroup.json @@ -296,7 +289,7 @@ public async Task GetAll_DeploymentsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/nginx/Azure.ResourceManager.Nginx/samples/Generated/Samples/Sample_NginxDeploymentResource.cs b/sdk/nginx/Azure.ResourceManager.Nginx/samples/Generated/Samples/Sample_NginxDeploymentResource.cs index 2dcd05ac33c0d..e6e81908886c0 100644 --- a/sdk/nginx/Azure.ResourceManager.Nginx/samples/Generated/Samples/Sample_NginxDeploymentResource.cs +++ b/sdk/nginx/Azure.ResourceManager.Nginx/samples/Generated/Samples/Sample_NginxDeploymentResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Nginx.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Nginx.Samples { public partial class Sample_NginxDeploymentResource { - // Deployments_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DeploymentsGet() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Deployments_Get.json @@ -47,9 +47,8 @@ public async Task Get_DeploymentsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deployments_Get_AutoScale - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DeploymentsGetAutoScale() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Deployments_Get_AutoScale.json @@ -78,9 +77,8 @@ public async Task Get_DeploymentsGetAutoScale() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deployments_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DeploymentsUpdate() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Deployments_Update.json @@ -111,9 +109,8 @@ public async Task Update_DeploymentsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deployments_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeploymentsDelete() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Deployments_Delete.json @@ -135,12 +132,11 @@ public async Task Delete_DeploymentsDelete() // invoke the operation await nginxDeployment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Deployments_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNginxDeployments_DeploymentsList() { // Generated from example definition: specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-06-01-preview/examples/Deployments_List.json @@ -167,7 +163,7 @@ public async Task GetNginxDeployments_DeploymentsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubAuthorizationRuleCollection.cs b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubAuthorizationRuleCollection.cs index 1bacfcd97b5ec..c9905acb90235 100644 --- a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubAuthorizationRuleCollection.cs +++ b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubAuthorizationRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NotificationHubs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NotificationHubs.Samples { public partial class Sample_NotificationHubAuthorizationRuleCollection { - // NotificationHubs_CreateOrUpdateAuthorizationRule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NotificationHubsCreateOrUpdateAuthorizationRule() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleCreateOrUpdate.json @@ -59,9 +59,8 @@ public async Task CreateOrUpdate_NotificationHubsCreateOrUpdateAuthorizationRule Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NotificationHubs_GetAuthorizationRule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NotificationHubsGetAuthorizationRule() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleGet.json @@ -95,9 +94,8 @@ public async Task Get_NotificationHubsGetAuthorizationRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NotificationHubs_GetAuthorizationRule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NotificationHubsGetAuthorizationRule() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleGet.json @@ -127,9 +125,8 @@ public async Task Exists_NotificationHubsGetAuthorizationRule() Console.WriteLine($"Succeeded: {result}"); } - // NotificationHubs_GetAuthorizationRule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NotificationHubsGetAuthorizationRule() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleGet.json @@ -159,7 +156,7 @@ public async Task GetIfExists_NotificationHubsGetAuthorizationRule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -171,9 +168,8 @@ public async Task GetIfExists_NotificationHubsGetAuthorizationRule() } } - // NotificationHubs_ListAuthorizationRules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NotificationHubsListAuthorizationRules() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleList.json @@ -206,7 +202,7 @@ public async Task GetAll_NotificationHubsListAuthorizationRules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubAuthorizationRuleResource.cs b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubAuthorizationRuleResource.cs index 60cb1c53de316..3ee523db0e548 100644 --- a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubAuthorizationRuleResource.cs +++ b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubAuthorizationRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NotificationHubs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NotificationHubs.Samples { public partial class Sample_NotificationHubAuthorizationRuleResource { - // NotificationHubs_CreateOrUpdateAuthorizationRule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NotificationHubsCreateOrUpdateAuthorizationRule() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleCreateOrUpdate.json @@ -56,9 +56,8 @@ public async Task Update_NotificationHubsCreateOrUpdateAuthorizationRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NotificationHubs_DeleteAuthorizationRule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NotificationHubsDeleteAuthorizationRule() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleDelete.json @@ -82,12 +81,11 @@ public async Task Delete_NotificationHubsDeleteAuthorizationRule() // invoke the operation await notificationHubAuthorizationRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NotificationHubs_GetAuthorizationRule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NotificationHubsGetAuthorizationRule() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleGet.json @@ -118,9 +116,8 @@ public async Task Get_NotificationHubsGetAuthorizationRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NotificationHubs_ListKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_NotificationHubsListKeys() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleListKeys.json @@ -147,9 +144,8 @@ public async Task GetKeys_NotificationHubsListKeys() Console.WriteLine($"Succeeded: {result}"); } - // NotificationHubs_RegenerateKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKeys_NotificationHubsRegenerateKeys() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/AuthorizationRuleRegenerateKey.json diff --git a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubCollection.cs b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubCollection.cs index c725ddb2c572d..84016d84d3403 100644 --- a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubCollection.cs +++ b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.NotificationHubs.Samples { public partial class Sample_NotificationHubCollection { - // NotificationHubs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NotificationHubsGet() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/Get.json @@ -49,9 +49,8 @@ public async Task Get_NotificationHubsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NotificationHubs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NotificationHubsGet() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/Get.json @@ -80,9 +79,8 @@ public async Task Exists_NotificationHubsGet() Console.WriteLine($"Succeeded: {result}"); } - // NotificationHubs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NotificationHubsGet() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_NotificationHubsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_NotificationHubsGet() } } - // NotificationHubs_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NotificationHubsCreateOrUpdate() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/CreateOrUpdate.json @@ -160,9 +157,8 @@ public async Task CreateOrUpdate_NotificationHubsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NotificationHubs_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NotificationHubsList() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/List.json @@ -194,7 +190,7 @@ public async Task GetAll_NotificationHubsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubNamespaceAuthorizationRuleCollection.cs b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubNamespaceAuthorizationRuleCollection.cs index 0de33da9a404b..a374b048392e0 100644 --- a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubNamespaceAuthorizationRuleCollection.cs +++ b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubNamespaceAuthorizationRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NotificationHubs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NotificationHubs.Samples { public partial class Sample_NotificationHubNamespaceAuthorizationRuleCollection { - // Namespaces_CreateOrUpdateAuthorizationRule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NamespacesCreateOrUpdateAuthorizationRule() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleCreateOrUpdate.json @@ -58,9 +58,8 @@ public async Task CreateOrUpdate_NamespacesCreateOrUpdateAuthorizationRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Namespaces_GetAuthorizationRule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NamespacesGetAuthorizationRule() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleGet.json @@ -93,9 +92,8 @@ public async Task Get_NamespacesGetAuthorizationRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Namespaces_GetAuthorizationRule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NamespacesGetAuthorizationRule() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleGet.json @@ -124,9 +122,8 @@ public async Task Exists_NamespacesGetAuthorizationRule() Console.WriteLine($"Succeeded: {result}"); } - // Namespaces_GetAuthorizationRule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NamespacesGetAuthorizationRule() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleGet.json @@ -155,7 +152,7 @@ public async Task GetIfExists_NamespacesGetAuthorizationRule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -167,9 +164,8 @@ public async Task GetIfExists_NamespacesGetAuthorizationRule() } } - // Namespaces_ListAuthorizationRules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NamespacesListAuthorizationRules() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleList.json @@ -201,7 +197,7 @@ public async Task GetAll_NamespacesListAuthorizationRules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubNamespaceAuthorizationRuleResource.cs b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubNamespaceAuthorizationRuleResource.cs index 5e582be45e5bb..6b0fd3d504dae 100644 --- a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubNamespaceAuthorizationRuleResource.cs +++ b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubNamespaceAuthorizationRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NotificationHubs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NotificationHubs.Samples { public partial class Sample_NotificationHubNamespaceAuthorizationRuleResource { - // Namespaces_CreateOrUpdateAuthorizationRule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NamespacesCreateOrUpdateAuthorizationRule() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleCreateOrUpdate.json @@ -55,9 +55,8 @@ public async Task Update_NamespacesCreateOrUpdateAuthorizationRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Namespaces_DeleteAuthorizationRule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NamespacesDeleteAuthorizationRule() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleDelete.json @@ -80,12 +79,11 @@ public async Task Delete_NamespacesDeleteAuthorizationRule() // invoke the operation await notificationHubNamespaceAuthorizationRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Namespaces_GetAuthorizationRule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NamespacesGetAuthorizationRule() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleGet.json @@ -115,9 +113,8 @@ public async Task Get_NamespacesGetAuthorizationRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Namespaces_ListKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_NamespacesListKeys() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleListKeys.json @@ -143,9 +140,8 @@ public async Task GetKeys_NamespacesListKeys() Console.WriteLine($"Succeeded: {result}"); } - // Namespaces_RegenerateKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKeys_NamespacesRegenerateKeys() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/AuthorizationRuleRegenerateKey.json diff --git a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubNamespaceCollection.cs b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubNamespaceCollection.cs index 984526e72843e..d69095cfb3a9f 100644 --- a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubNamespaceCollection.cs +++ b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubNamespaceCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.NotificationHubs.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NotificationHubs.Samples { public partial class Sample_NotificationHubNamespaceCollection { - // Namespaces_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NamespacesGet() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/Get.json @@ -50,9 +50,8 @@ public async Task Get_NamespacesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Namespaces_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NamespacesGet() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/Get.json @@ -80,9 +79,8 @@ public async Task Exists_NamespacesGet() Console.WriteLine($"Succeeded: {result}"); } - // Namespaces_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NamespacesGet() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/Get.json @@ -110,7 +108,7 @@ public async Task GetIfExists_NamespacesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_NamespacesGet() } } - // Namespaces_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NamespacesCreateOrUpdate() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/CreateOrUpdate.json @@ -183,9 +180,8 @@ public async Task CreateOrUpdate_NamespacesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Namespaces_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NamespacesList() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/ListByResourceGroup.json @@ -216,7 +212,7 @@ public async Task GetAll_NamespacesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubNamespaceResource.cs b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubNamespaceResource.cs index 8929a983648dc..a46ee36ac6a72 100644 --- a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubNamespaceResource.cs +++ b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubNamespaceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.NotificationHubs.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.NotificationHubs.Samples { public partial class Sample_NotificationHubNamespaceResource { - // NotificationHubs_CheckNotificationHubAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckNotificationHubAvailability_NotificationHubsCheckNotificationHubAvailability() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/CheckAvailability.json @@ -44,9 +44,8 @@ public async Task CheckNotificationHubAvailability_NotificationHubsCheckNotifica Console.WriteLine($"Succeeded: {result}"); } - // Namespaces_CheckAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckNotificationHubNamespaceAvailability_NamespacesCheckAvailability() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/CheckAvailability.json @@ -70,9 +69,8 @@ public async Task CheckNotificationHubNamespaceAvailability_NamespacesCheckAvail Console.WriteLine($"Succeeded: {result}"); } - // Namespaces_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NamespacesGet() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/Get.json @@ -101,9 +99,8 @@ public async Task Get_NamespacesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Namespaces_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NamespacesUpdate() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/Update.json @@ -150,9 +147,8 @@ public async Task Update_NamespacesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Namespaces_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NamespacesDelete() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/Delete.json @@ -174,12 +170,11 @@ public async Task Delete_NamespacesDelete() // invoke the operation await notificationHubNamespace.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Namespaces_ListAll - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNotificationHubNamespaces_NamespacesListAll() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/ListBySubscription.json @@ -206,12 +201,11 @@ public async Task GetNotificationHubNamespaces_NamespacesListAll() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Namespaces_GetPnsCredentials - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPnsCredentials_NamespacesGetPnsCredentials() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PnsCredentialsGet.json diff --git a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubPrivateEndpointConnectionCollection.cs b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubPrivateEndpointConnectionCollection.cs index 4c2aa43234212..52c62c9671dd7 100644 --- a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubPrivateEndpointConnectionCollection.cs +++ b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NotificationHubs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NotificationHubs.Samples { public partial class Sample_NotificationHubPrivateEndpointConnectionCollection { - // PrivateEndpointConnections_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateEndpointConnectionsUpdate() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateEndpointConnectionUpdate.json @@ -61,9 +61,8 @@ public async Task CreateOrUpdate_PrivateEndpointConnectionsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateEndpointConnectionGet.json @@ -96,9 +95,8 @@ public async Task Get_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateEndpointConnectionGet.json @@ -127,9 +125,8 @@ public async Task Exists_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateEndpointConnectionGet.json @@ -158,7 +155,7 @@ public async Task GetIfExists_PrivateEndpointConnectionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -170,9 +167,8 @@ public async Task GetIfExists_PrivateEndpointConnectionsGet() } } - // PrivateEndpointConnections_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndpointConnectionsList() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateEndpointConnectionList.json @@ -204,7 +200,7 @@ public async Task GetAll_PrivateEndpointConnectionsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubPrivateEndpointConnectionResource.cs b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubPrivateEndpointConnectionResource.cs index 011fda86b2c61..638dab95ec8e8 100644 --- a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubPrivateEndpointConnectionResource.cs +++ b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NotificationHubs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NotificationHubs.Samples { public partial class Sample_NotificationHubPrivateEndpointConnectionResource { - // PrivateEndpointConnections_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateEndpointConnectionsUpdate() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateEndpointConnectionUpdate.json @@ -58,9 +58,8 @@ public async Task Update_PrivateEndpointConnectionsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateEndpointConnectionsDelete() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateEndpointConnectionDelete.json @@ -83,12 +82,11 @@ public async Task Delete_PrivateEndpointConnectionsDelete() // invoke the operation await notificationHubPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateEndpointConnectionGet.json diff --git a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubResource.cs b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubResource.cs index 26b8f5eb5da3b..32fc7b455b8a3 100644 --- a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubResource.cs +++ b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.NotificationHubs.Models; +using NUnit.Framework; namespace Azure.ResourceManager.NotificationHubs.Samples { public partial class Sample_NotificationHubResource { - // NotificationHubs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NotificationHubsGet() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/Get.json @@ -47,9 +47,8 @@ public async Task Get_NotificationHubsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NotificationHubs_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NotificationHubsUpdate() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/Update.json @@ -87,9 +86,8 @@ public async Task Update_NotificationHubsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NotificationHubs_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NotificationHubsDelete() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/Delete.json @@ -112,12 +110,11 @@ public async Task Delete_NotificationHubsDelete() // invoke the operation await notificationHub.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NotificationHubs_DebugSend - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DebugSend_NotificationHubsDebugSend() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/DebugSend.json @@ -143,9 +140,8 @@ public async Task DebugSend_NotificationHubsDebugSend() Console.WriteLine($"Succeeded: {result}"); } - // NotificationHubs_GetPnsCredentials - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPnsCredentials_NotificationHubsGetPnsCredentials() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/NotificationHubs/PnsCredentialsGet.json diff --git a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubsPrivateLinkResource.cs b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubsPrivateLinkResource.cs index 75afc5ac8154c..85e44ce524de9 100644 --- a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubsPrivateLinkResource.cs +++ b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubsPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.NotificationHubs.Samples { public partial class Sample_NotificationHubsPrivateLinkResource { - // PrivateEndpointConnections_GetGroupId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGetGroupId() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateLinkResourceGet.json diff --git a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubsPrivateLinkResourceCollection.cs b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubsPrivateLinkResourceCollection.cs index ef32a8078cbe4..9334629e894ce 100644 --- a/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubsPrivateLinkResourceCollection.cs +++ b/sdk/notificationhubs/Azure.ResourceManager.NotificationHubs/samples/Generated/Samples/Sample_NotificationHubsPrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.NotificationHubs.Samples { public partial class Sample_NotificationHubsPrivateLinkResourceCollection { - // PrivateEndpointConnections_GetGroupId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGetGroupId() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateLinkResourceGet.json @@ -49,9 +49,8 @@ public async Task Get_PrivateEndpointConnectionsGetGroupId() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_GetGroupId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateEndpointConnectionsGetGroupId() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateLinkResourceGet.json @@ -80,9 +79,8 @@ public async Task Exists_PrivateEndpointConnectionsGetGroupId() Console.WriteLine($"Succeeded: {result}"); } - // PrivateEndpointConnections_GetGroupId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateEndpointConnectionsGetGroupId() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateLinkResourceGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_PrivateEndpointConnectionsGetGroupId() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_PrivateEndpointConnectionsGetGroupId() } } - // PrivateEndpointConnections_ListGroupIds - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndpointConnectionsListGroupIds() { // Generated from example definition: specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/preview/2023-10-01-preview/examples/Namespaces/PrivateLinkResourceList.json @@ -157,7 +154,7 @@ public async Task GetAll_PrivateEndpointConnectionsListGroupIds() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_LogAnalyticsQueryCollection.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_LogAnalyticsQueryCollection.cs index 21cfc781a7b98..6cc99c82f9b65 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_LogAnalyticsQueryCollection.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_LogAnalyticsQueryCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.OperationalInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.OperationalInsights.Samples { public partial class Sample_LogAnalyticsQueryCollection { - // QueryList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_QueryList() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/examples/QueryPackQueriesList.json @@ -50,12 +50,11 @@ public async Task GetAll_QueryList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // QueryGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QueryGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/examples/QueryPackQueriesGet.json @@ -88,9 +87,8 @@ public async Task Get_QueryGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QueryGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_QueryGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/examples/QueryPackQueriesGet.json @@ -119,9 +117,8 @@ public async Task Exists_QueryGet() Console.WriteLine($"Succeeded: {result}"); } - // QueryGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_QueryGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/examples/QueryPackQueriesGet.json @@ -150,7 +147,7 @@ public async Task GetIfExists_QueryGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_QueryGet() } } - // QueryPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_QueryPut() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/examples/QueryPackQueriesPut.json diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_LogAnalyticsQueryPackCollection.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_LogAnalyticsQueryPackCollection.cs index e57e42ddc099e..e7caf8cc9342d 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_LogAnalyticsQueryPackCollection.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_LogAnalyticsQueryPackCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.OperationalInsights.Samples { public partial class Sample_LogAnalyticsQueryPackCollection { - // QueryPackListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_QueryPackListByResourceGroup() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/examples/QueryPacksListByResourceGroup.json @@ -48,12 +48,11 @@ public async Task GetAll_QueryPackListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // QueryPackGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QueryPackGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/examples/QueryPacksGet.json @@ -85,9 +84,8 @@ public async Task Get_QueryPackGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QueryPackGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_QueryPackGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/examples/QueryPacksGet.json @@ -115,9 +113,8 @@ public async Task Exists_QueryPackGet() Console.WriteLine($"Succeeded: {result}"); } - // QueryPackGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_QueryPackGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/examples/QueryPacksGet.json @@ -145,7 +142,7 @@ public async Task GetIfExists_QueryPackGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -157,9 +154,8 @@ public async Task GetIfExists_QueryPackGet() } } - // QueryPackCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_QueryPackCreate() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/examples/QueryPacksCreate.json @@ -193,9 +189,8 @@ public async Task CreateOrUpdate_QueryPackCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QueryPackUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_QueryPackUpdate() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/examples/QueryPacksUpdate.json diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_LogAnalyticsQueryPackResource.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_LogAnalyticsQueryPackResource.cs index c0759bcda93af..d41f804cd9057 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_LogAnalyticsQueryPackResource.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_LogAnalyticsQueryPackResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.OperationalInsights.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.OperationalInsights.Samples { public partial class Sample_LogAnalyticsQueryPackResource { - // QueryPacksList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLogAnalyticsQueryPacks_QueryPacksList() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/examples/QueryPacksList.json @@ -45,12 +45,11 @@ public async Task GetLogAnalyticsQueryPacks_QueryPacksList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // QueryPackCreateNoName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateWithoutNameQueryPack_QueryPackCreateNoName() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/examples/QueryPacksCreateNoName.json @@ -79,9 +78,8 @@ public async Task CreateOrUpdateWithoutNameQueryPack_QueryPackCreateNoName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QueryPackUpdateNoName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateWithoutNameQueryPack_QueryPackUpdateNoName() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/examples/QueryPackUpdateNoName.json @@ -116,9 +114,8 @@ public async Task CreateOrUpdateWithoutNameQueryPack_QueryPackUpdateNoName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QueryPacksDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_QueryPacksDelete() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/examples/QueryPacksDelete.json @@ -140,12 +137,11 @@ public async Task Delete_QueryPacksDelete() // invoke the operation await logAnalyticsQueryPack.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // QueryPackGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QueryPackGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/examples/QueryPacksGet.json @@ -174,9 +170,8 @@ public async Task Get_QueryPackGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QueryPackUpdateTagsOnly - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_QueryPackUpdateTagsOnly() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/examples/QueryPacksUpdateTagsOnly.json @@ -213,9 +208,8 @@ public async Task Update_QueryPackUpdateTagsOnly() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QuerySearch - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SearchQueries_QuerySearch() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/examples/QueryPackQueriesSearch.json @@ -263,7 +257,7 @@ public async Task SearchQueries_QuerySearch() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_LogAnalyticsQueryResource.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_LogAnalyticsQueryResource.cs index d8d14ff6a8c1a..1ed3608a6bf02 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_LogAnalyticsQueryResource.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_LogAnalyticsQueryResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.OperationalInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.OperationalInsights.Samples { public partial class Sample_LogAnalyticsQueryResource { - // QueryGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QueryGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/examples/QueryPackQueriesGet.json @@ -47,9 +47,8 @@ public async Task Get_QueryGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QueryPatch - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_QueryPatch() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/examples/QueryPackQueriesUpdate.json @@ -103,9 +102,8 @@ public async Task Update_QueryPatch() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QueryDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_QueryDelete() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2019-09-01/examples/QueryPackQueriesDelete.json @@ -128,7 +126,7 @@ public async Task Delete_QueryDelete() // invoke the operation await logAnalyticsQuery.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsClusterCollection.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsClusterCollection.cs index fe467097b55af..b26a286398636 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsClusterCollection.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsClusterCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.OperationalInsights.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.OperationalInsights.Samples { public partial class Sample_OperationalInsightsClusterCollection { - // ClustersGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ClustersGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ClustersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ClustersCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ClustersCreate() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersCreate.json @@ -99,9 +98,8 @@ public async Task CreateOrUpdate_ClustersCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ClustersGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ClustersGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersGet.json @@ -133,9 +131,8 @@ public async Task Get_ClustersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ClustersGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ClustersGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersGet.json @@ -163,9 +160,8 @@ public async Task Exists_ClustersGet() Console.WriteLine($"Succeeded: {result}"); } - // ClustersGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ClustersGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersGet.json @@ -193,7 +189,7 @@ public async Task GetIfExists_ClustersGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsClusterResource.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsClusterResource.cs index 2d368f98d3237..7dde19debe7ad 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsClusterResource.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsClusterResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.OperationalInsights.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.OperationalInsights.Samples { public partial class Sample_OperationalInsightsClusterResource { - // ClustersSubscriptionList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOperationalInsightsClusters_ClustersSubscriptionList() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersSubscriptionList.json @@ -46,12 +46,11 @@ public async Task GetOperationalInsightsClusters_ClustersSubscriptionList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ClustersDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ClustersDelete() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersDelete.json @@ -73,12 +72,11 @@ public async Task Delete_ClustersDelete() // invoke the operation await operationalInsightsCluster.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ClustersGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ClustersGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersGet.json @@ -107,9 +105,8 @@ public async Task Get_ClustersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ClustersPatch - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ClustersPatch() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersUpdate.json diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsDataExportCollection.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsDataExportCollection.cs index ff7b627d73f0f..45b6a318c5738 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsDataExportCollection.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsDataExportCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.OperationalInsights.Samples { public partial class Sample_OperationalInsightsDataExportCollection { - // DataExportGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DataExportGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/DataExportListByWorkspace.json @@ -48,12 +48,11 @@ public async Task GetAll_DataExportGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DataExportCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DataExportCreate() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/DataExportCreateOrUpdate.json @@ -95,9 +94,8 @@ public async Task CreateOrUpdate_DataExportCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataExportGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DataExportGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/DataExportGet.json @@ -130,9 +128,8 @@ public async Task Get_DataExportGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataExportGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DataExportGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/DataExportGet.json @@ -161,9 +158,8 @@ public async Task Exists_DataExportGet() Console.WriteLine($"Succeeded: {result}"); } - // DataExportGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DataExportGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/DataExportGet.json @@ -192,7 +188,7 @@ public async Task GetIfExists_DataExportGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsDataExportResource.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsDataExportResource.cs index 94f78971e359d..e5a47ad2370f8 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsDataExportResource.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsDataExportResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.OperationalInsights.Samples { public partial class Sample_OperationalInsightsDataExportResource { - // DataExportCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DataExportCreate() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/DataExportCreateOrUpdate.json @@ -55,9 +55,8 @@ public async Task Update_DataExportCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataExportGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DataExportGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/DataExportGet.json @@ -87,9 +86,8 @@ public async Task Get_DataExportGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataExportDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DataExportDelete() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/DataExportDelete.json @@ -112,7 +110,7 @@ public async Task Delete_DataExportDelete() // invoke the operation await operationalInsightsDataExport.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsDataSourceCollection.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsDataSourceCollection.cs index 999b69216e6c0..7aeec51d1c756 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsDataSourceCollection.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsDataSourceCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.OperationalInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.OperationalInsights.Samples { public partial class Sample_OperationalInsightsDataSourceCollection { - // DataSourcesCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DataSourcesCreate() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/DataSourcesCreate.json @@ -56,9 +56,8 @@ public async Task CreateOrUpdate_DataSourcesCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSourcesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DataSourcesGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/DataSourcesGet.json @@ -91,9 +90,8 @@ public async Task Get_DataSourcesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSourcesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DataSourcesGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/DataSourcesGet.json @@ -122,9 +120,8 @@ public async Task Exists_DataSourcesGet() Console.WriteLine($"Succeeded: {result}"); } - // DataSourcesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DataSourcesGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/DataSourcesGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_DataSourcesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_DataSourcesGet() } } - // DataSourcesListByWorkspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DataSourcesListByWorkspace() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/DataSourcesListByWorkspace.json @@ -200,7 +196,7 @@ public async Task GetAll_DataSourcesListByWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsDataSourceResource.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsDataSourceResource.cs index ef9c0082e03ec..2ac1bd0c15f74 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsDataSourceResource.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsDataSourceResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.OperationalInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.OperationalInsights.Samples { public partial class Sample_OperationalInsightsDataSourceResource { - // DataSourcesCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DataSourcesCreate() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/DataSourcesCreate.json @@ -53,9 +53,8 @@ public async Task Update_DataSourcesCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSourcesDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DataSourcesDelete() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/DataSourcesDelete.json @@ -78,12 +77,11 @@ public async Task Delete_DataSourcesDelete() // invoke the operation await operationalInsightsDataSource.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DataSourcesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DataSourcesGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/DataSourcesGet.json diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsLinkedServiceCollection.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsLinkedServiceCollection.cs index 6036fc808202d..15b2de6b80fd2 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsLinkedServiceCollection.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsLinkedServiceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.OperationalInsights.Samples { public partial class Sample_OperationalInsightsLinkedServiceCollection { - // LinkedServicesCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_LinkedServicesCreate() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedServicesCreate.json @@ -54,9 +54,8 @@ public async Task CreateOrUpdate_LinkedServicesCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LinkedServicesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LinkedServicesGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedServicesGet.json @@ -89,9 +88,8 @@ public async Task Get_LinkedServicesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LinkedServicesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_LinkedServicesGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedServicesGet.json @@ -120,9 +118,8 @@ public async Task Exists_LinkedServicesGet() Console.WriteLine($"Succeeded: {result}"); } - // LinkedServicesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_LinkedServicesGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedServicesGet.json @@ -151,7 +148,7 @@ public async Task GetIfExists_LinkedServicesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -163,9 +160,8 @@ public async Task GetIfExists_LinkedServicesGet() } } - // LinkedServicesListByWorkspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_LinkedServicesListByWorkspace() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedServicesListByWorkspace.json @@ -197,7 +193,7 @@ public async Task GetAll_LinkedServicesListByWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsLinkedServiceResource.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsLinkedServiceResource.cs index 2f38288504e7b..28ad1c8ddc937 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsLinkedServiceResource.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsLinkedServiceResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.OperationalInsights.Samples { public partial class Sample_OperationalInsightsLinkedServiceResource { - // LinkedServicesCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_LinkedServicesCreate() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedServicesCreate.json @@ -51,9 +51,8 @@ public async Task Update_LinkedServicesCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LinkedServicesDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_LinkedServicesDelete() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedServicesDelete.json @@ -84,9 +83,8 @@ public async Task Delete_LinkedServicesDelete() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LinkedServicesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LinkedServicesGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedServicesGet.json diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsLinkedStorageAccountsCollection.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsLinkedStorageAccountsCollection.cs index 70645d4396dba..dff6b7a0e0ca1 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsLinkedStorageAccountsCollection.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsLinkedStorageAccountsCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.OperationalInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.OperationalInsights.Samples { public partial class Sample_OperationalInsightsLinkedStorageAccountsCollection { - // LinkedStorageAccountsCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_LinkedStorageAccountsCreate() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedStorageAccountsCreate.json @@ -58,9 +58,8 @@ public async Task CreateOrUpdate_LinkedStorageAccountsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LinkedStorageAccountsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LinkedStorageAccountsGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedStorageAccountsGet.json @@ -93,9 +92,8 @@ public async Task Get_LinkedStorageAccountsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LinkedStorageAccountsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_LinkedStorageAccountsGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedStorageAccountsGet.json @@ -124,9 +122,8 @@ public async Task Exists_LinkedStorageAccountsGet() Console.WriteLine($"Succeeded: {result}"); } - // LinkedStorageAccountsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_LinkedStorageAccountsGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedStorageAccountsGet.json @@ -155,7 +152,7 @@ public async Task GetIfExists_LinkedStorageAccountsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -167,9 +164,8 @@ public async Task GetIfExists_LinkedStorageAccountsGet() } } - // Gets list of linked storage accounts on a workspace. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsListOfLinkedStorageAccountsOnAWorkspace() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedStorageAccountsListByWorkspace.json @@ -201,7 +197,7 @@ public async Task GetAll_GetsListOfLinkedStorageAccountsOnAWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsLinkedStorageAccountsResource.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsLinkedStorageAccountsResource.cs index 7e0602537ff7a..8581f38fec8b7 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsLinkedStorageAccountsResource.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsLinkedStorageAccountsResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.OperationalInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.OperationalInsights.Samples { public partial class Sample_OperationalInsightsLinkedStorageAccountsResource { - // LinkedStorageAccountsCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_LinkedStorageAccountsCreate() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedStorageAccountsCreate.json @@ -55,9 +55,8 @@ public async Task Update_LinkedStorageAccountsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LinkedStorageAccountsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_LinkedStorageAccountsDelete() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedStorageAccountsDelete.json @@ -80,12 +79,11 @@ public async Task Delete_LinkedStorageAccountsDelete() // invoke the operation await operationalInsightsLinkedStorageAccounts.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LinkedStorageAccountsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LinkedStorageAccountsGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/LinkedStorageAccountsGet.json diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsSavedSearchCollection.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsSavedSearchCollection.cs index 7d0c9fb39afc2..84f37e1976df0 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsSavedSearchCollection.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsSavedSearchCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.OperationalInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.OperationalInsights.Samples { public partial class Sample_OperationalInsightsSavedSearchCollection { - // SavedSearchCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SavedSearchCreateOrUpdate() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/WorkspacesSavedSearchesCreateOrUpdate.json @@ -61,9 +61,8 @@ public async Task CreateOrUpdate_SavedSearchCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SavedSearchesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SavedSearchesGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/WorkspacesSavedSearchesGet.json @@ -96,9 +95,8 @@ public async Task Get_SavedSearchesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SavedSearchesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SavedSearchesGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/WorkspacesSavedSearchesGet.json @@ -127,9 +125,8 @@ public async Task Exists_SavedSearchesGet() Console.WriteLine($"Succeeded: {result}"); } - // SavedSearchesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SavedSearchesGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/WorkspacesSavedSearchesGet.json @@ -158,7 +155,7 @@ public async Task GetIfExists_SavedSearchesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -170,9 +167,8 @@ public async Task GetIfExists_SavedSearchesGet() } } - // SavedSearchesList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SavedSearchesList() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/SavedSearchesListByWorkspace.json @@ -204,7 +200,7 @@ public async Task GetAll_SavedSearchesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsSavedSearchResource.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsSavedSearchResource.cs index edfb49853f935..f36e1ff4cf310 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsSavedSearchResource.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsSavedSearchResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.OperationalInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.OperationalInsights.Samples { public partial class Sample_OperationalInsightsSavedSearchResource { - // SavedSearchesDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SavedSearchesDelete() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/WorkspacesDeleteSavedSearches.json @@ -40,12 +40,11 @@ public async Task Delete_SavedSearchesDelete() // invoke the operation await operationalInsightsSavedSearch.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SavedSearchCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SavedSearchCreateOrUpdate() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/WorkspacesSavedSearchesCreateOrUpdate.json @@ -86,9 +85,8 @@ public async Task Update_SavedSearchCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SavedSearchesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SavedSearchesGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/WorkspacesSavedSearchesGet.json diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsTableCollection.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsTableCollection.cs index 40f167734da45..3b54d740527cf 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsTableCollection.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsTableCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.OperationalInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.OperationalInsights.Samples { public partial class Sample_OperationalInsightsTableCollection { - // TablesListByWorkspace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_TablesListByWorkspace() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/examples/TablesList.json @@ -49,12 +49,11 @@ public async Task GetAll_TablesListByWorkspace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TablesUpsert - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TablesUpsert() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/examples/TablesUpsert.json @@ -105,9 +104,8 @@ public async Task CreateOrUpdate_TablesUpsert() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TablesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TablesGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/examples/TablesGet.json @@ -140,9 +138,8 @@ public async Task Get_TablesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TablesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_TablesGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/examples/TablesGet.json @@ -171,9 +168,8 @@ public async Task Exists_TablesGet() Console.WriteLine($"Succeeded: {result}"); } - // TablesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TablesGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/examples/TablesGet.json @@ -202,7 +198,7 @@ public async Task GetIfExists_TablesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsTableResource.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsTableResource.cs index ab5f47bf26265..f20fc2480463d 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsTableResource.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsTableResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.OperationalInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.OperationalInsights.Samples { public partial class Sample_OperationalInsightsTableResource { - // TablesUpsert - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TablesUpsert() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/examples/TablesUpsert.json @@ -65,9 +65,8 @@ public async Task Update_TablesUpsert() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TablesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TablesGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/examples/TablesGet.json @@ -97,9 +96,8 @@ public async Task Get_TablesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TablesDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_TablesDelete() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/examples/TablesDelete.json @@ -122,12 +120,11 @@ public async Task Delete_TablesDelete() // invoke the operation await operationalInsightsTable.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TablesMigrate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Migrate_TablesMigrate() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/examples/TablesMigrate.json @@ -150,12 +147,11 @@ public async Task Migrate_TablesMigrate() // invoke the operation await operationalInsightsTable.MigrateAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TablesSearchCancel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CancelSearch_TablesSearchCancel() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/examples/TablesSearchCancel.json @@ -178,7 +174,7 @@ public async Task CancelSearch_TablesSearchCancel() // invoke the operation await operationalInsightsTable.CancelSearchAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsWorkspaceCollection.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsWorkspaceCollection.cs index 8680a0e8b81ac..7ed47064fb11c 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsWorkspaceCollection.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsWorkspaceCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.OperationalInsights.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.OperationalInsights.Samples { public partial class Sample_OperationalInsightsWorkspaceCollection { - // WorkspacesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WorkspacesGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/examples/WorkspacesListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_WorkspacesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkspacesCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_WorkspacesCreate() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/examples/WorkspacesCreate.json @@ -96,9 +95,8 @@ public async Task CreateOrUpdate_WorkspacesCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkspaceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkspaceGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/examples/WorkspacesGet.json @@ -130,9 +128,8 @@ public async Task Get_WorkspaceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkspaceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WorkspaceGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/examples/WorkspacesGet.json @@ -160,9 +157,8 @@ public async Task Exists_WorkspaceGet() Console.WriteLine($"Succeeded: {result}"); } - // WorkspaceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WorkspaceGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/examples/WorkspacesGet.json @@ -190,7 +186,7 @@ public async Task GetIfExists_WorkspaceGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsWorkspaceResource.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsWorkspaceResource.cs index e09547bd2e94a..76865df40ead7 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsWorkspaceResource.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_OperationalInsightsWorkspaceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.OperationalInsights.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.OperationalInsights.Samples { public partial class Sample_OperationalInsightsWorkspaceResource { - // IntelligencePacksDisable - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DisableIntelligencePack_IntelligencePacksDisable() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/WorkspacesDisableIntelligencePack.json @@ -41,12 +41,11 @@ public async Task DisableIntelligencePack_IntelligencePacksDisable() string intelligencePackName = "ChangeTracking"; await operationalInsightsWorkspace.DisableIntelligencePackAsync(intelligencePackName); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // IntelligencePacksEnable - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task EnableIntelligencePack_IntelligencePacksEnable() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/WorkspacesEnableIntelligencePack.json @@ -69,12 +68,11 @@ public async Task EnableIntelligencePack_IntelligencePacksEnable() string intelligencePackName = "ChangeTracking"; await operationalInsightsWorkspace.EnableIntelligencePackAsync(intelligencePackName); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // IntelligencePacksList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIntelligencePacks_IntelligencePacksList() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/WorkspacesListIntelligencePacks.json @@ -99,12 +97,11 @@ public async Task GetIntelligencePacks_IntelligencePacksList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkspacesListManagementGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagementGroups_WorkspacesListManagementGroups() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/WorkspacesListManagementGroups.json @@ -129,12 +126,11 @@ public async Task GetManagementGroups_WorkspacesListManagementGroups() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SharedKeysList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSharedKeys_SharedKeysList() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/WorkspacesGetSharedKeys.json @@ -159,9 +155,8 @@ public async Task GetSharedKeys_SharedKeysList() Console.WriteLine($"Succeeded: {result}"); } - // RegenerateSharedKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateSharedKey_RegenerateSharedKeys() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/WorkspacesRegenerateSharedKeys.json @@ -186,9 +181,8 @@ public async Task RegenerateSharedKey_RegenerateSharedKeys() Console.WriteLine($"Succeeded: {result}"); } - // UsagesList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsages_UsagesList() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/WorkspacesListUsages.json @@ -213,12 +207,11 @@ public async Task GetUsages_UsagesList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AvailableServiceTiers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableServiceTiers_AvailableServiceTiers() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/WorkspacesAvailableServiceTiers.json @@ -243,12 +236,11 @@ public async Task GetAvailableServiceTiers_AvailableServiceTiers() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DeleteGateways - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteGateway_DeleteGateways() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/WorkspacesGatewaysDelete.json @@ -271,12 +263,11 @@ public async Task DeleteGateway_DeleteGateways() Guid gatewayId = Guid.Parse("00000000-0000-0000-0000-00000000000"); await operationalInsightsWorkspace.DeleteGatewayAsync(gatewayId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkspacesGetSchema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSchemas_WorkspacesGetSchema() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/SavedSearchesGetSchema.json @@ -301,12 +292,11 @@ public async Task GetSchemas_WorkspacesGetSchema() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkspacePurge - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Purge_WorkspacePurge() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/WorkspacesPurge.json @@ -340,9 +330,8 @@ public async Task Purge_WorkspacePurge() Console.WriteLine($"Succeeded: {result}"); } - // WorkspacePurgeResourceId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Purge_WorkspacePurgeResourceId() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/WorkspacesPurgeResourceId.json @@ -376,9 +365,8 @@ public async Task Purge_WorkspacePurgeResourceId() Console.WriteLine($"Succeeded: {result}"); } - // WorkspacePurgeOperation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPurgeStatus_WorkspacePurgeOperation() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/WorkspacesPurgeOperation.json @@ -404,9 +392,8 @@ public async Task GetPurgeStatus_WorkspacePurgeOperation() Console.WriteLine($"Succeeded: {result}"); } - // WorkspacesSubscriptionList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOperationalInsightsWorkspaces_WorkspacesSubscriptionList() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/examples/WorkspacesSubscriptionList.json @@ -433,12 +420,11 @@ public async Task GetOperationalInsightsWorkspaces_WorkspacesSubscriptionList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkspacesDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_WorkspacesDelete() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/examples/WorkspacesDelete.json @@ -460,12 +446,11 @@ public async Task Delete_WorkspacesDelete() // invoke the operation await operationalInsightsWorkspace.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WorkspaceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkspaceGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/examples/WorkspacesGet.json @@ -494,9 +479,8 @@ public async Task Get_WorkspaceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WorkspacesPatch - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_WorkspacesPatch() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/examples/WorkspacesUpdate.json diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs index 910758b50376e..ac792283ac4ac 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.OperationalInsights.Samples { public partial class Sample_ResourceGroupResourceExtensions { - // WorkspacesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeletedWorkspaces_WorkspacesGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/examples/WorkspacesListByResourceGroup.json @@ -45,7 +45,7 @@ public async Task GetDeletedWorkspaces_WorkspacesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_StorageInsightCollection.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_StorageInsightCollection.cs index afc6386ce6664..5f424fd2e06db 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_StorageInsightCollection.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_StorageInsightCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.OperationalInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.OperationalInsights.Samples { public partial class Sample_StorageInsightCollection { - // StorageInsightsCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageInsightsCreate() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/StorageInsightsCreateOrUpdate.json @@ -63,9 +63,8 @@ public async Task CreateOrUpdate_StorageInsightsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageInsightsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageInsightsGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/StorageInsightsGet.json @@ -98,9 +97,8 @@ public async Task Get_StorageInsightsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageInsightsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_StorageInsightsGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/StorageInsightsGet.json @@ -129,9 +127,8 @@ public async Task Exists_StorageInsightsGet() Console.WriteLine($"Succeeded: {result}"); } - // StorageInsightsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_StorageInsightsGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/StorageInsightsGet.json @@ -160,7 +157,7 @@ public async Task GetIfExists_StorageInsightsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -172,9 +169,8 @@ public async Task GetIfExists_StorageInsightsGet() } } - // StorageInsightsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_StorageInsightsList() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/StorageInsightsListByWorkspace.json @@ -206,7 +202,7 @@ public async Task GetAll_StorageInsightsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_StorageInsightResource.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_StorageInsightResource.cs index ac721fde06237..aab231fad6092 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_StorageInsightResource.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_StorageInsightResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.OperationalInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.OperationalInsights.Samples { public partial class Sample_StorageInsightResource { - // StorageInsightsCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StorageInsightsCreate() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/StorageInsightsCreateOrUpdate.json @@ -60,9 +60,8 @@ public async Task Update_StorageInsightsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageInsightsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageInsightsGet() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/StorageInsightsGet.json @@ -92,9 +91,8 @@ public async Task Get_StorageInsightsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageInsightsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_StorageInsightsDelete() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2020-08-01/examples/StorageInsightsDelete.json @@ -117,7 +115,7 @@ public async Task Delete_StorageInsightsDelete() // invoke the operation await storageInsight.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index d0e114c3dd87b..c6cb0400b3b3a 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.OperationalInsights.Samples { public partial class Sample_SubscriptionResourceExtensions { - // WorkspacesSubscriptionList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeletedWorkspaces_WorkspacesSubscriptionList() { // Generated from example definition: specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2022-10-01/examples/WorkspacesSubscriptionList.json @@ -44,7 +44,7 @@ public async Task GetDeletedWorkspaces_WorkspacesSubscriptionList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDBVersionCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDBVersionCollection.cs index c4b69be9a8f8a..e3de9206b8c86 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDBVersionCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDBVersionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_AutonomousDBVersionCollection { - // List an autonomous versions by location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAnAutonomousVersionsByLocation() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseVersion_listByLocation.json @@ -48,12 +48,11 @@ public async Task GetAll_ListAnAutonomousVersionsByLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an autonomous version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAutonomousVersion() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseVersion_get.json @@ -85,9 +84,8 @@ public async Task Get_GetAnAutonomousVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an autonomous version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnAutonomousVersion() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseVersion_get.json @@ -115,9 +113,8 @@ public async Task Exists_GetAnAutonomousVersion() Console.WriteLine($"Succeeded: {result}"); } - // Get an autonomous version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnAutonomousVersion() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseVersion_get.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetAnAutonomousVersion() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDBVersionResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDBVersionResource.cs index f856d6fb7efc3..93d42fbf71b94 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDBVersionResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDBVersionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_AutonomousDBVersionResource { - // Get an autonomous version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAutonomousVersion() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseVersion_get.json diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseBackupCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseBackupCollection.cs index 39754185cbdf6..4d7aabed70b0e 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseBackupCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseBackupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.OracleDatabase.Models; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_AutonomousDatabaseBackupCollection { - // AutonomousDatabaseBackups_ListByAutonomousDatabase - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AutonomousDatabaseBackupsListByAutonomousDatabase() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_listByParent.json @@ -49,12 +49,11 @@ public async Task GetAll_AutonomousDatabaseBackupsListByAutonomousDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Autonomous Database Backups by Autonomous Database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAutonomousDatabaseBackupsByAutonomousDatabase() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_listByParent.json @@ -86,12 +85,11 @@ public async Task GetAll_ListAutonomousDatabaseBackupsByAutonomousDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AutonomousDatabaseBackups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AutonomousDatabaseBackupsGet() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_get.json @@ -124,9 +122,8 @@ public async Task Get_AutonomousDatabaseBackupsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AutonomousDatabaseBackups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AutonomousDatabaseBackupsGet() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_get.json @@ -155,9 +152,8 @@ public async Task Exists_AutonomousDatabaseBackupsGet() Console.WriteLine($"Succeeded: {result}"); } - // AutonomousDatabaseBackups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AutonomousDatabaseBackupsGet() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_get.json @@ -186,7 +182,7 @@ public async Task GetIfExists_AutonomousDatabaseBackupsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -198,9 +194,8 @@ public async Task GetIfExists_AutonomousDatabaseBackupsGet() } } - // Get Autonomous Database Backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAutonomousDatabaseBackup() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_get.json @@ -233,9 +228,8 @@ public async Task Get_GetAutonomousDatabaseBackup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Autonomous Database Backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAutonomousDatabaseBackup() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_get.json @@ -264,9 +258,8 @@ public async Task Exists_GetAutonomousDatabaseBackup() Console.WriteLine($"Succeeded: {result}"); } - // Get Autonomous Database Backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAutonomousDatabaseBackup() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_get.json @@ -295,7 +288,7 @@ public async Task GetIfExists_GetAutonomousDatabaseBackup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -307,9 +300,8 @@ public async Task GetIfExists_GetAutonomousDatabaseBackup() } } - // AutonomousDatabaseBackups_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AutonomousDatabaseBackupsCreateOrUpdate() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_create.json @@ -351,9 +343,8 @@ public async Task CreateOrUpdate_AutonomousDatabaseBackupsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Autonomous Database Backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAutonomousDatabaseBackup() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_create.json diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseBackupResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseBackupResource.cs index 414375b5b0c8d..f0c166c9abe18 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseBackupResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseBackupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.OracleDatabase.Models; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_AutonomousDatabaseBackupResource { - // AutonomousDatabaseBackups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AutonomousDatabaseBackupsGet() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_get.json @@ -47,9 +47,8 @@ public async Task Get_AutonomousDatabaseBackupsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Autonomous Database Backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAutonomousDatabaseBackup() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_get.json @@ -79,9 +78,8 @@ public async Task Get_GetAutonomousDatabaseBackup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AutonomousDatabaseBackups_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AutonomousDatabaseBackupsUpdate() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_patch.json @@ -113,9 +111,8 @@ public async Task Update_AutonomousDatabaseBackupsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch Autonomous Database Backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchAutonomousDatabaseBackup() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_patch.json @@ -147,9 +144,8 @@ public async Task Update_PatchAutonomousDatabaseBackup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AutonomousDatabaseBackups_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AutonomousDatabaseBackupsDelete() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_delete.json @@ -172,12 +168,11 @@ public async Task Delete_AutonomousDatabaseBackupsDelete() // invoke the operation await autonomousDatabaseBackup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Delete Autonomous Database Backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAutonomousDatabaseBackup() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_delete.json @@ -200,7 +195,7 @@ public async Task Delete_DeleteAutonomousDatabaseBackup() // invoke the operation await autonomousDatabaseBackup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseCharacterSetCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseCharacterSetCollection.cs index 00321b2f4263e..af466af5ce409 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseCharacterSetCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseCharacterSetCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_AutonomousDatabaseCharacterSetCollection { - // List autonomous db character sets by location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAutonomousDbCharacterSetsByLocation() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseCharacterSet_listByLocation.json @@ -48,12 +48,11 @@ public async Task GetAll_ListAutonomousDbCharacterSetsByLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get autonomous db character set - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAutonomousDbCharacterSet() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseCharacterSet_get.json @@ -85,9 +84,8 @@ public async Task Get_GetAutonomousDbCharacterSet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get autonomous db character set - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAutonomousDbCharacterSet() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseCharacterSet_get.json @@ -115,9 +113,8 @@ public async Task Exists_GetAutonomousDbCharacterSet() Console.WriteLine($"Succeeded: {result}"); } - // Get autonomous db character set - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAutonomousDbCharacterSet() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseCharacterSet_get.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetAutonomousDbCharacterSet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseCharacterSetResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseCharacterSetResource.cs index 44998c3697742..6aab022ca5e23 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseCharacterSetResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseCharacterSetResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_AutonomousDatabaseCharacterSetResource { - // Get autonomous db character set - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAutonomousDbCharacterSet() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseCharacterSet_get.json diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseCollection.cs index 31d7d0b9a8885..748ac1f8dcce0 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.OracleDatabase.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_AutonomousDatabaseCollection { - // List Autonomous Database by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAutonomousDatabaseByResourceGroup() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_listByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAutonomousDatabaseByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AutonomousDatabases_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AutonomousDatabasesGet() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_get.json @@ -86,9 +85,8 @@ public async Task Get_AutonomousDatabasesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AutonomousDatabases_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AutonomousDatabasesGet() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_get.json @@ -116,9 +114,8 @@ public async Task Exists_AutonomousDatabasesGet() Console.WriteLine($"Succeeded: {result}"); } - // AutonomousDatabases_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AutonomousDatabasesGet() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_AutonomousDatabasesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_AutonomousDatabasesGet() } } - // Get Autonomous Database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAutonomousDatabase() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_get.json @@ -192,9 +188,8 @@ public async Task Get_GetAutonomousDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Autonomous Database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAutonomousDatabase() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_get.json @@ -222,9 +217,8 @@ public async Task Exists_GetAutonomousDatabase() Console.WriteLine($"Succeeded: {result}"); } - // Get Autonomous Database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAutonomousDatabase() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_get.json @@ -252,7 +246,7 @@ public async Task GetIfExists_GetAutonomousDatabase() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -264,9 +258,8 @@ public async Task GetIfExists_GetAutonomousDatabase() } } - // AutonomousDatabases_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AutonomousDatabasesCreateOrUpdate() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_create.json @@ -319,9 +312,8 @@ public async Task CreateOrUpdate_AutonomousDatabasesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AutonomousDatabases_CreateOrUpdate_clone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AutonomousDatabasesCreateOrUpdateClone() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseClone_create.json @@ -373,9 +365,8 @@ public async Task CreateOrUpdate_AutonomousDatabasesCreateOrUpdateClone() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Autonomous Database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAutonomousDatabase() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_create.json @@ -428,9 +419,8 @@ public async Task CreateOrUpdate_CreateAutonomousDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create clone Autonomous Database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateCloneAutonomousDatabase() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseClone_create.json diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseNationalCharacterSetCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseNationalCharacterSetCollection.cs index 1e1284553ecb1..3ed8a763dff50 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseNationalCharacterSetCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseNationalCharacterSetCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_AutonomousDatabaseNationalCharacterSetCollection { - // List autonomous db national character sets by location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAutonomousDbNationalCharacterSetsByLocation() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseNationalCharacterSet_listByLocation.json @@ -48,12 +48,11 @@ public async Task GetAll_ListAutonomousDbNationalCharacterSetsByLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get autonomous db national character set - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAutonomousDbNationalCharacterSet() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseNationalCharacterSet_get.json @@ -85,9 +84,8 @@ public async Task Get_GetAutonomousDbNationalCharacterSet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get autonomous db national character set - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAutonomousDbNationalCharacterSet() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseNationalCharacterSet_get.json @@ -115,9 +113,8 @@ public async Task Exists_GetAutonomousDbNationalCharacterSet() Console.WriteLine($"Succeeded: {result}"); } - // Get autonomous db national character set - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAutonomousDbNationalCharacterSet() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseNationalCharacterSet_get.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetAutonomousDbNationalCharacterSet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseNationalCharacterSetResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseNationalCharacterSetResource.cs index d39d6da083649..94f4b756aa341 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseNationalCharacterSetResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseNationalCharacterSetResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_AutonomousDatabaseNationalCharacterSetResource { - // Get autonomous db national character set - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAutonomousDbNationalCharacterSet() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseNationalCharacterSet_get.json diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseResource.cs index 52e84e7d9693d..2724721b72a03 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.OracleDatabase.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_AutonomousDatabaseResource { - // List Autonomous Database by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAutonomousDatabases_ListAutonomousDatabaseBySubscription() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_listBySubscription.json @@ -45,12 +45,11 @@ public async Task GetAutonomousDatabases_ListAutonomousDatabaseBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AutonomousDatabases_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AutonomousDatabasesGet() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_get.json @@ -79,9 +78,8 @@ public async Task Get_AutonomousDatabasesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Autonomous Database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAutonomousDatabase() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_get.json @@ -110,9 +108,8 @@ public async Task Get_GetAutonomousDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch Autonomous Database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchAutonomousDatabase() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_patch.json @@ -143,9 +140,8 @@ public async Task Update_PatchAutonomousDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Autonomous Database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAutonomousDatabase() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_delete.json @@ -167,12 +163,11 @@ public async Task Delete_DeleteAutonomousDatabase() // invoke the operation await autonomousDatabase.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AutonomousDatabases_Failover - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Failover_AutonomousDatabasesFailover() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_failover.json @@ -206,9 +201,8 @@ public async Task Failover_AutonomousDatabasesFailover() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Perform failover action on Autonomous Database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Failover_PerformFailoverActionOnAutonomousDatabase() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_failover.json @@ -242,9 +236,8 @@ public async Task Failover_PerformFailoverActionOnAutonomousDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Generate wallet action on Autonomous Database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateWallet_GenerateWalletActionOnAutonomousDatabase() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_generateWallet.json @@ -274,9 +267,8 @@ public async Task GenerateWallet_GenerateWalletActionOnAutonomousDatabase() Console.WriteLine($"Succeeded: {result}"); } - // AutonomousDatabases_Restore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restore_AutonomousDatabasesRestore() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_restore.json @@ -307,9 +299,8 @@ public async Task Restore_AutonomousDatabasesRestore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Perform restore action on Autonomous Database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restore_PerformRestoreActionOnAutonomousDatabase() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_restore.json @@ -340,9 +331,8 @@ public async Task Restore_PerformRestoreActionOnAutonomousDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Perform shrink action on Autonomous Database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Shrink_PerformShrinkActionOnAutonomousDatabase() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_shrink.json @@ -372,9 +362,8 @@ public async Task Shrink_PerformShrinkActionOnAutonomousDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AutonomousDatabases_Switchover - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Switchover_AutonomousDatabasesSwitchover() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_switchover.json @@ -408,9 +397,8 @@ public async Task Switchover_AutonomousDatabasesSwitchover() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Perform switchover action on Autonomous Database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Switchover_PerformSwitchoverActionOnAutonomousDatabase() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_switchover.json diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudExadataInfrastructureCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudExadataInfrastructureCollection.cs index 07a3fa96e6598..af79b632d3582 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudExadataInfrastructureCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudExadataInfrastructureCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.OracleDatabase.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_CloudExadataInfrastructureCollection { - // List Exadata Infrastructure by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListExadataInfrastructureByResourceGroup() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_listByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListExadataInfrastructureByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Exadata Infrastructure - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetExadataInfrastructure() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_get.json @@ -86,9 +85,8 @@ public async Task Get_GetExadataInfrastructure() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Exadata Infrastructure - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetExadataInfrastructure() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_get.json @@ -116,9 +114,8 @@ public async Task Exists_GetExadataInfrastructure() Console.WriteLine($"Succeeded: {result}"); } - // Get Exadata Infrastructure - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetExadataInfrastructure() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetExadataInfrastructure() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetExadataInfrastructure() } } - // Create Exadata Infrastructure - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateExadataInfrastructure() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_create.json diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudExadataInfrastructureResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudExadataInfrastructureResource.cs index d469449d78ded..094e44cf24d37 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudExadataInfrastructureResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudExadataInfrastructureResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.OracleDatabase.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_CloudExadataInfrastructureResource { - // List Exadata Infrastructure by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCloudExadataInfrastructures_ListExadataInfrastructureBySubscription() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_listBySubscription.json @@ -45,12 +45,11 @@ public async Task GetCloudExadataInfrastructures_ListExadataInfrastructureBySubs Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Exadata Infrastructure - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetExadataInfrastructure() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_get.json @@ -79,9 +78,8 @@ public async Task Get_GetExadataInfrastructure() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch Exadata Infrastructure - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchExadataInfrastructure() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_patch.json @@ -112,9 +110,8 @@ public async Task Update_PatchExadataInfrastructure() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Exadata Infrastructure - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteExadataInfrastructure() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_delete.json @@ -136,12 +133,11 @@ public async Task Delete_DeleteExadataInfrastructure() // invoke the operation await cloudExadataInfrastructure.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Perform add storage capacity on exadata infra - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AddStorageCapacity_PerformAddStorageCapacityOnExadataInfra() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_addStorageCapacity.json diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterCollection.cs index 17d21dded846d..ec85b942f81d6 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.OracleDatabase.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_CloudVmClusterCollection { - // List VM Clusters by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListVMClustersByResourceGroup() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_listByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListVMClustersByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get VM Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVMCluster() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_get.json @@ -86,9 +85,8 @@ public async Task Get_GetVMCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get VM Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVMCluster() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_get.json @@ -116,9 +114,8 @@ public async Task Exists_GetVMCluster() Console.WriteLine($"Succeeded: {result}"); } - // Get VM Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVMCluster() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetVMCluster() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetVMCluster() } } - // Create VM Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVMCluster() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_create.json diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterDBNodeCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterDBNodeCollection.cs index ddec9db1807c9..a1f1c1dd4b085 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterDBNodeCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterDBNodeCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_CloudVmClusterDBNodeCollection { - // List DbNodes by VM Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDbNodesByVMCluster() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbNodes_listByParent.json @@ -48,12 +48,11 @@ public async Task GetAll_ListDbNodesByVMCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get DbNode - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDbNode() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbNodes_get.json @@ -86,9 +85,8 @@ public async Task Get_GetDbNode() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get DbNode - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDbNode() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbNodes_get.json @@ -117,9 +115,8 @@ public async Task Exists_GetDbNode() Console.WriteLine($"Succeeded: {result}"); } - // Get DbNode - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDbNode() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbNodes_get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetDbNode() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterDBNodeResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterDBNodeResource.cs index f4a6704ed9470..81ca799f3a6c2 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterDBNodeResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterDBNodeResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.OracleDatabase.Models; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_CloudVmClusterDBNodeResource { - // Get DbNode - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDbNode() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbNodes_get.json @@ -47,9 +47,8 @@ public async Task Get_GetDbNode() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DbNodes_Action - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Action_DbNodesAction() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbNodes_action.json @@ -81,9 +80,8 @@ public async Task Action_DbNodesAction() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VM actions on DbNodes of VM Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Action_VMActionsOnDbNodesOfVMCluster() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbNodes_action.json diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterResource.cs index 60c021d5dab1f..5ff530a6f22d5 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.OracleDatabase.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_CloudVmClusterResource { - // List VM Clusters by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCloudVmClusters_ListVMClustersBySubscription() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_listBySubscription.json @@ -45,12 +45,11 @@ public async Task GetCloudVmClusters_ListVMClustersBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get VM Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVMCluster() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_get.json @@ -79,9 +78,8 @@ public async Task Get_GetVMCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch VM Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchVMCluster() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_patch.json @@ -112,9 +110,8 @@ public async Task Update_PatchVMCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete VM Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteVMCluster() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_delete.json @@ -136,12 +133,11 @@ public async Task Delete_DeleteVMCluster() // invoke the operation await cloudVmCluster.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Add VMs to VM Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AddVms_AddVMsToVMCluster() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_addVms.json @@ -175,9 +171,8 @@ public async Task AddVms_AddVMsToVMCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List Private IP Addresses for VM Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateIPAddresses_ListPrivateIPAddressesForVMCluster() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_listPrivateIpAddresses.json @@ -203,12 +198,11 @@ public async Task GetPrivateIPAddresses_ListPrivateIPAddressesForVMCluster() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Remove VMs from VM Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RemoveVms_RemoveVMsFromVMCluster() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_removeVms.json diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterVirtualNetworkAddressCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterVirtualNetworkAddressCollection.cs index 299524b50f06e..78eeaf7500cbf 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterVirtualNetworkAddressCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterVirtualNetworkAddressCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.OracleDatabase.Models; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_CloudVmClusterVirtualNetworkAddressCollection { - // List Virtual Network Addresses by VM Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListVirtualNetworkAddressesByVMCluster() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/virtualNetworkAddresses_listByParent.json @@ -49,12 +49,11 @@ public async Task GetAll_ListVirtualNetworkAddressesByVMCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Virtual Network Address - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetworkAddress() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/virtualNetworkAddresses_get.json @@ -87,9 +86,8 @@ public async Task Get_GetVirtualNetworkAddress() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Virtual Network Address - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVirtualNetworkAddress() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/virtualNetworkAddresses_get.json @@ -118,9 +116,8 @@ public async Task Exists_GetVirtualNetworkAddress() Console.WriteLine($"Succeeded: {result}"); } - // Get Virtual Network Address - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVirtualNetworkAddress() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/virtualNetworkAddresses_get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetVirtualNetworkAddress() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetVirtualNetworkAddress() } } - // Create Virtual Network Address - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVirtualNetworkAddress() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/virtualNetworkAddresses_create.json diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterVirtualNetworkAddressResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterVirtualNetworkAddressResource.cs index 93160442b451d..f65280cd8e0ce 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterVirtualNetworkAddressResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterVirtualNetworkAddressResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.OracleDatabase.Models; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_CloudVmClusterVirtualNetworkAddressResource { - // Get Virtual Network Address - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetworkAddress() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/virtualNetworkAddresses_get.json @@ -47,9 +47,8 @@ public async Task Get_GetVirtualNetworkAddress() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Virtual Network Address - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateVirtualNetworkAddress() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/virtualNetworkAddresses_create.json @@ -88,9 +87,8 @@ public async Task Update_CreateVirtualNetworkAddress() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Virtual Network Address - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteVirtualNetworkAddress() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/virtualNetworkAddresses_delete.json @@ -113,7 +111,7 @@ public async Task Delete_DeleteVirtualNetworkAddress() // invoke the operation await cloudVmClusterVirtualNetworkAddress.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBServerCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBServerCollection.cs index b09384e8d699a..0cf6913f905ac 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBServerCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBServerCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_OracleDBServerCollection { - // List DbServers by Exadata Infrastructure - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDbServersByExadataInfrastructure() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbServers_listByParent.json @@ -48,12 +48,11 @@ public async Task GetAll_ListDbServersByExadataInfrastructure() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get DbServer by parent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDbServerByParent() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbServers_get.json @@ -86,9 +85,8 @@ public async Task Get_GetDbServerByParent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get DbServer by parent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDbServerByParent() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbServers_get.json @@ -117,9 +115,8 @@ public async Task Exists_GetDbServerByParent() Console.WriteLine($"Succeeded: {result}"); } - // Get DbServer by parent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDbServerByParent() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbServers_get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetDbServerByParent() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBServerResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBServerResource.cs index 76d23a7cbbb27..f48d07468acf0 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBServerResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBServerResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_OracleDBServerResource { - // Get DbServer by parent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDbServerByParent() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbServers_get.json diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBSystemShapeCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBSystemShapeCollection.cs index 03a7b9936b06f..4d09b62541f66 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBSystemShapeCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBSystemShapeCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_OracleDBSystemShapeCollection { - // List DbSystemShapes by location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDbSystemShapesByLocation() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbSystemShapes_listByLocation.json @@ -48,12 +48,11 @@ public async Task GetAll_ListDbSystemShapesByLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a DbSystemShape by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADbSystemShapeByName() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbSystemShapes_get.json @@ -85,9 +84,8 @@ public async Task Get_GetADbSystemShapeByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a DbSystemShape by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADbSystemShapeByName() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbSystemShapes_get.json @@ -115,9 +113,8 @@ public async Task Exists_GetADbSystemShapeByName() Console.WriteLine($"Succeeded: {result}"); } - // Get a DbSystemShape by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADbSystemShapeByName() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbSystemShapes_get.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetADbSystemShapeByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBSystemShapeResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBSystemShapeResource.cs index 46e6e18a1cc5c..36e5e73449f81 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBSystemShapeResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBSystemShapeResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_OracleDBSystemShapeResource { - // Get a DbSystemShape by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADbSystemShapeByName() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbSystemShapes_get.json diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateViewCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateViewCollection.cs index 539044f2d0a3f..e363813bdf9b6 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateViewCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateViewCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_OracleDnsPrivateViewCollection { - // List DnsPrivateViews by location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDnsPrivateViewsByLocation() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dnsPrivateViews_listByLocation.json @@ -48,12 +48,11 @@ public async Task GetAll_ListDnsPrivateViewsByLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a DnsPrivateView by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADnsPrivateViewByName() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dnsPrivateViews_get.json @@ -85,9 +84,8 @@ public async Task Get_GetADnsPrivateViewByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a DnsPrivateView by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADnsPrivateViewByName() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dnsPrivateViews_get.json @@ -115,9 +113,8 @@ public async Task Exists_GetADnsPrivateViewByName() Console.WriteLine($"Succeeded: {result}"); } - // Get a DnsPrivateView by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADnsPrivateViewByName() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dnsPrivateViews_get.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetADnsPrivateViewByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateViewResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateViewResource.cs index ca387bb84c9e7..126e764a58f35 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateViewResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateViewResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_OracleDnsPrivateViewResource { - // Get a DnsPrivateView by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADnsPrivateViewByName() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dnsPrivateViews_get.json diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateZoneCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateZoneCollection.cs index c6a1e5292411e..f4dead2b04c34 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateZoneCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateZoneCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_OracleDnsPrivateZoneCollection { - // List DnsPrivateZones by location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDnsPrivateZonesByLocation() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dnsPrivateZones_listByLocation.json @@ -48,12 +48,11 @@ public async Task GetAll_ListDnsPrivateZonesByLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a DnsPrivateZone by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADnsPrivateZoneByName() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dnsPrivateZones_get.json @@ -85,9 +84,8 @@ public async Task Get_GetADnsPrivateZoneByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a DnsPrivateZone by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADnsPrivateZoneByName() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dnsPrivateZones_get.json @@ -115,9 +113,8 @@ public async Task Exists_GetADnsPrivateZoneByName() Console.WriteLine($"Succeeded: {result}"); } - // Get a DnsPrivateZone by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADnsPrivateZoneByName() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dnsPrivateZones_get.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetADnsPrivateZoneByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateZoneResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateZoneResource.cs index 2480a1be0f522..b3f7b790f24b0 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateZoneResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateZoneResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_OracleDnsPrivateZoneResource { - // Get a DnsPrivateZone by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADnsPrivateZoneByName() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dnsPrivateZones_get.json diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleGIVersionCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleGIVersionCollection.cs index 6e5ebe1620721..e64d6e1320b92 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleGIVersionCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleGIVersionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_OracleGIVersionCollection { - // List GiVersions by location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListGiVersionsByLocation() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/giVersions_listByLocation.json @@ -48,12 +48,11 @@ public async Task GetAll_ListGiVersionsByLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a GiVersion by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGiVersionByName() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/giVersions_get.json @@ -85,9 +84,8 @@ public async Task Get_GetAGiVersionByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a GiVersion by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAGiVersionByName() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/giVersions_get.json @@ -115,9 +113,8 @@ public async Task Exists_GetAGiVersionByName() Console.WriteLine($"Succeeded: {result}"); } - // Get a GiVersion by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAGiVersionByName() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/giVersions_get.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetAGiVersionByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleGIVersionResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleGIVersionResource.cs index 17b7a4513844a..94f2c9198e3bb 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleGIVersionResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleGIVersionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_OracleGIVersionResource { - // Get a GiVersion by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGiVersionByName() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/giVersions_get.json diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleSubscriptionResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleSubscriptionResource.cs index 155088b463f10..c24d95d60fef1 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleSubscriptionResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleSubscriptionResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Models; using Azure.ResourceManager.OracleDatabase.Models; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_OracleSubscriptionResource { - // Get Oracle Subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetOracleSubscription() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/oracleSubscriptions_get.json @@ -45,9 +45,8 @@ public async Task Get_GetOracleSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Oracle Subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateOracleSubscription() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/oracleSubscriptions_create.json @@ -84,9 +83,8 @@ public async Task CreateOrUpdate_CreateOrUpdateOracleSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch Oracle Subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchOracleSubscription() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/oracleSubscriptions_patch.json @@ -115,9 +113,8 @@ public async Task Update_PatchOracleSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Oracle Subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteOracleSubscription() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/oracleSubscriptions_delete.json @@ -137,12 +134,11 @@ public async Task Delete_DeleteOracleSubscription() // invoke the operation await oracleSubscription.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Activation Links for the Oracle Subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetActivationLinks_ListActivationLinksForTheOracleSubscription() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/oracleSubscriptions_listActivationLinks.json @@ -166,9 +162,8 @@ public async Task GetActivationLinks_ListActivationLinksForTheOracleSubscription Console.WriteLine($"Succeeded: {result}"); } - // List Cloud Account details for the Oracle Subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCloudAccountDetails_ListCloudAccountDetailsForTheOracleSubscription() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/oracleSubscriptions_listCloudAccountDetails.json @@ -192,9 +187,8 @@ public async Task GetCloudAccountDetails_ListCloudAccountDetailsForTheOracleSubs Console.WriteLine($"Succeeded: {result}"); } - // List Saas Subscription details for the Oracle Subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSaasSubscriptionDetails_ListSaasSubscriptionDetailsForTheOracleSubscription() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/oracleSubscriptions_listSaasSubscriptionDetails.json diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleSystemVersionCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleSystemVersionCollection.cs index 27ba98e99de6d..b8d91f8bd4f0d 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleSystemVersionCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleSystemVersionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_OracleSystemVersionCollection { - // List Exadata System Versions by the provided filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListExadataSystemVersionsByTheProvidedFilter() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/systemVersions_listByLocation.json @@ -48,12 +48,11 @@ public async Task GetAll_ListExadataSystemVersionsByTheProvidedFilter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // systemVersions_listByLocation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SystemVersionsListByLocation() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/systemVersions_listByLocation.json @@ -84,12 +83,11 @@ public async Task GetAll_SystemVersionsListByLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Exadata System Version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetExadataSystemVersion() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/systemVersions_get.json @@ -121,9 +119,8 @@ public async Task Get_GetExadataSystemVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Exadata System Version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetExadataSystemVersion() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/systemVersions_get.json @@ -151,9 +148,8 @@ public async Task Exists_GetExadataSystemVersion() Console.WriteLine($"Succeeded: {result}"); } - // Get Exadata System Version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetExadataSystemVersion() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/systemVersions_get.json @@ -181,7 +177,7 @@ public async Task GetIfExists_GetExadataSystemVersion() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -193,9 +189,8 @@ public async Task GetIfExists_GetExadataSystemVersion() } } - // systemVersions_listSystemVersions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SystemVersionsListSystemVersions() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/systemVersions_get.json @@ -227,9 +222,8 @@ public async Task Get_SystemVersionsListSystemVersions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // systemVersions_listSystemVersions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SystemVersionsListSystemVersions() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/systemVersions_get.json @@ -257,9 +251,8 @@ public async Task Exists_SystemVersionsListSystemVersions() Console.WriteLine($"Succeeded: {result}"); } - // systemVersions_listSystemVersions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SystemVersionsListSystemVersions() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/systemVersions_get.json @@ -287,7 +280,7 @@ public async Task GetIfExists_SystemVersionsListSystemVersions() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleSystemVersionResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleSystemVersionResource.cs index 7b7cb57e7ce86..7dd004f8ea512 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleSystemVersionResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleSystemVersionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.OracleDatabase.Samples { public partial class Sample_OracleSystemVersionResource { - // Get Exadata System Version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetExadataSystemVersion() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/systemVersions_get.json @@ -45,9 +45,8 @@ public async Task Get_GetExadataSystemVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // systemVersions_listSystemVersions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SystemVersionsListSystemVersions() { // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/systemVersions_get.json diff --git a/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_AvailableGroundStationCollection.cs b/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_AvailableGroundStationCollection.cs index 8b79c5f61f09d..e885f38402445 100644 --- a/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_AvailableGroundStationCollection.cs +++ b/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_AvailableGroundStationCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Orbital.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Orbital.Samples { public partial class Sample_AvailableGroundStationCollection { - // List of Ground Stations by Capability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListOfGroundStationsByCapability() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/AvailableGroundStationsByCapabilityList.json @@ -49,12 +49,11 @@ public async Task GetAll_ListOfGroundStationsByCapability() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get GroundStation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetGroundStation() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/AvailableGroundStationGet.json @@ -85,9 +84,8 @@ public async Task Get_GetGroundStation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get GroundStation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetGroundStation() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/AvailableGroundStationGet.json @@ -114,9 +112,8 @@ public async Task Exists_GetGroundStation() Console.WriteLine($"Succeeded: {result}"); } - // Get GroundStation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetGroundStation() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/AvailableGroundStationGet.json @@ -143,7 +140,7 @@ public async Task GetIfExists_GetGroundStation() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_AvailableGroundStationResource.cs b/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_AvailableGroundStationResource.cs index 1658490093605..85f3d6a7ccd15 100644 --- a/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_AvailableGroundStationResource.cs +++ b/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_AvailableGroundStationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Orbital.Samples { public partial class Sample_AvailableGroundStationResource { - // Get GroundStation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetGroundStation() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/AvailableGroundStationGet.json diff --git a/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_OrbitalContactCollection.cs b/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_OrbitalContactCollection.cs index d45af7d12a786..ccaa17b78a1a8 100644 --- a/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_OrbitalContactCollection.cs +++ b/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_OrbitalContactCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Orbital.Samples { public partial class Sample_OrbitalContactCollection { - // List of Spacecraft - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListOfSpacecraft() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactsBySpacecraftNameList.json @@ -48,12 +48,11 @@ public async Task GetAll_ListOfSpacecraft() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Contact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetContact() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactGet.json @@ -86,9 +85,8 @@ public async Task Get_GetContact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Contact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetContact() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetContact() Console.WriteLine($"Succeeded: {result}"); } - // Get Contact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetContact() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetContact() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GetContact() } } - // Create a contact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAContact() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactCreate.json diff --git a/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_OrbitalContactProfileCollection.cs b/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_OrbitalContactProfileCollection.cs index c5d14b9025574..e96d6d11dd499 100644 --- a/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_OrbitalContactProfileCollection.cs +++ b/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_OrbitalContactProfileCollection.cs @@ -13,14 +13,14 @@ using Azure.Identity; using Azure.ResourceManager.Orbital.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Orbital.Samples { public partial class Sample_OrbitalContactProfileCollection { - // Get a contact profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAContactProfile() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactProfileGet.json @@ -52,9 +52,8 @@ public async Task Get_GetAContactProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a contact profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAContactProfile() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactProfileGet.json @@ -82,9 +81,8 @@ public async Task Exists_GetAContactProfile() Console.WriteLine($"Succeeded: {result}"); } - // Get a contact profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAContactProfile() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactProfileGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetAContactProfile() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetAContactProfile() } } - // Create a contact profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAContactProfile() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactProfileCreate.json @@ -185,9 +182,8 @@ public async Task CreateOrUpdate_CreateAContactProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List of Contact Profiles by Resource Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListOfContactProfilesByResourceGroup() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactProfilesByResourceGroupList.json @@ -218,7 +214,7 @@ public async Task GetAll_ListOfContactProfilesByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_OrbitalContactProfileResource.cs b/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_OrbitalContactProfileResource.cs index 115f3bd95c454..f5ffc69c834a6 100644 --- a/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_OrbitalContactProfileResource.cs +++ b/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_OrbitalContactProfileResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Orbital.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Orbital.Samples { public partial class Sample_OrbitalContactProfileResource { - // Get a contact profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAContactProfile() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactProfileGet.json @@ -47,9 +47,8 @@ public async Task Get_GetAContactProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Contact Profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteContactProfile() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactProfileDelete.json @@ -71,12 +70,11 @@ public async Task Delete_DeleteContactProfile() // invoke the operation await orbitalContactProfile.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update Contact Profile tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateContactProfileTags() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactProfileUpdateTag.json @@ -114,9 +112,8 @@ public async Task Update_UpdateContactProfileTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List of Contact Profiles - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOrbitalContactProfiles_ListOfContactProfiles() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactProfilesBySubscriptionList.json @@ -143,7 +140,7 @@ public async Task GetOrbitalContactProfiles_ListOfContactProfiles() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_OrbitalContactResource.cs b/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_OrbitalContactResource.cs index 2a5c045ed1c0b..9537346e28858 100644 --- a/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_OrbitalContactResource.cs +++ b/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_OrbitalContactResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Orbital.Samples { public partial class Sample_OrbitalContactResource { - // Get Contact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetContact() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactGet.json @@ -46,9 +46,8 @@ public async Task Get_GetContact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a contact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAContact() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactCreate.json @@ -86,9 +85,8 @@ public async Task Update_CreateAContact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Contact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteContact() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/ContactDelete.json @@ -111,7 +109,7 @@ public async Task Delete_DeleteContact() // invoke the operation await orbitalContact.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_OrbitalSpacecraftCollection.cs b/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_OrbitalSpacecraftCollection.cs index 629b4f73fabe9..324e3018c578b 100644 --- a/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_OrbitalSpacecraftCollection.cs +++ b/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_OrbitalSpacecraftCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Orbital.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Orbital.Samples { public partial class Sample_OrbitalSpacecraftCollection { - // List of Spacecraft by Resource Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListOfSpacecraftByResourceGroup() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/SpacecraftsByResourceGroupList.json @@ -49,12 +49,11 @@ public async Task GetAll_ListOfSpacecraftByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Spacecraft - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSpacecraft() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/SpacecraftGet.json @@ -86,9 +85,8 @@ public async Task Get_GetSpacecraft() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Spacecraft - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSpacecraft() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/SpacecraftGet.json @@ -116,9 +114,8 @@ public async Task Exists_GetSpacecraft() Console.WriteLine($"Succeeded: {result}"); } - // Get Spacecraft - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSpacecraft() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/SpacecraftGet.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetSpacecraft() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetSpacecraft() } } - // Create a spacecraft - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateASpacecraft() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/SpacecraftCreate.json diff --git a/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_OrbitalSpacecraftResource.cs b/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_OrbitalSpacecraftResource.cs index d4b819d054654..27e384942bd83 100644 --- a/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_OrbitalSpacecraftResource.cs +++ b/sdk/orbital/Azure.ResourceManager.Orbital/samples/Generated/Samples/Sample_OrbitalSpacecraftResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Orbital.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Orbital.Samples { public partial class Sample_OrbitalSpacecraftResource { - // List of Spacecraft by Subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOrbitalSpacecrafts_ListOfSpacecraftBySubscription() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/SpacecraftsBySubscriptionList.json @@ -46,12 +46,11 @@ public async Task GetOrbitalSpacecrafts_ListOfSpacecraftBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Spacecraft - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSpacecraft() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/SpacecraftGet.json @@ -80,9 +79,8 @@ public async Task Get_GetSpacecraft() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Spacecraft - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSpacecraft() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/SpacecraftDelete.json @@ -104,12 +102,11 @@ public async Task Delete_DeleteSpacecraft() // invoke the operation await orbitalSpacecraft.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update Spacecraft tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateSpacecraftTags() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/SpacecraftUpdateTags.json @@ -147,9 +144,8 @@ public async Task Update_UpdateSpacecraftTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List of Contact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllAvailableContacts_ListOfContact() { // Generated from example definition: specification/orbital/resource-manager/Microsoft.Orbital/stable/2022-03-01/examples/AvailableContactsList.json diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackCertificateObjectCollection.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackCertificateObjectCollection.cs index 82e11e02f9ca3..f22c61d61d4f8 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackCertificateObjectCollection.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackCertificateObjectCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw.Samples { public partial class Sample_GlobalRulestackCertificateObjectCollection { - // CertificateObjectGlobalRulestack_List_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CertificateObjectGlobalRulestackListMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectGlobalRulestack_List_MaximumSet_Gen.json @@ -47,12 +47,11 @@ public async Task GetAll_CertificateObjectGlobalRulestackListMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CertificateObjectGlobalRulestack_List_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CertificateObjectGlobalRulestackListMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectGlobalRulestack_List_MinimumSet_Gen.json @@ -82,12 +81,11 @@ public async Task GetAll_CertificateObjectGlobalRulestackListMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CertificateObjectGlobalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CertificateObjectGlobalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectGlobalRulestack_Get_MaximumSet_Gen.json @@ -118,9 +116,8 @@ public async Task Get_CertificateObjectGlobalRulestackGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CertificateObjectGlobalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CertificateObjectGlobalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectGlobalRulestack_Get_MaximumSet_Gen.json @@ -147,9 +144,8 @@ public async Task Exists_CertificateObjectGlobalRulestackGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // CertificateObjectGlobalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CertificateObjectGlobalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectGlobalRulestack_Get_MaximumSet_Gen.json @@ -176,7 +172,7 @@ public async Task GetIfExists_CertificateObjectGlobalRulestackGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -188,9 +184,8 @@ public async Task GetIfExists_CertificateObjectGlobalRulestackGetMaximumSetGen() } } - // CertificateObjectGlobalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CertificateObjectGlobalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectGlobalRulestack_Get_MinimumSet_Gen.json @@ -221,9 +216,8 @@ public async Task Get_CertificateObjectGlobalRulestackGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CertificateObjectGlobalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CertificateObjectGlobalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectGlobalRulestack_Get_MinimumSet_Gen.json @@ -250,9 +244,8 @@ public async Task Exists_CertificateObjectGlobalRulestackGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // CertificateObjectGlobalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CertificateObjectGlobalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectGlobalRulestack_Get_MinimumSet_Gen.json @@ -279,7 +272,7 @@ public async Task GetIfExists_CertificateObjectGlobalRulestackGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -291,9 +284,8 @@ public async Task GetIfExists_CertificateObjectGlobalRulestackGetMinimumSetGen() } } - // CertificateObjectGlobalRulestack_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CertificateObjectGlobalRulestackCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectGlobalRulestack_CreateOrUpdate_MaximumSet_Gen.json @@ -332,9 +324,8 @@ public async Task CreateOrUpdate_CertificateObjectGlobalRulestackCreateOrUpdateM Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CertificateObjectGlobalRulestack_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CertificateObjectGlobalRulestackCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectGlobalRulestack_CreateOrUpdate_MinimumSet_Gen.json diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackCertificateObjectResource.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackCertificateObjectResource.cs index d2f63b7191ead..85c08e6b27016 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackCertificateObjectResource.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackCertificateObjectResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw.Samples { public partial class Sample_GlobalRulestackCertificateObjectResource { - // CertificateObjectGlobalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CertificateObjectGlobalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectGlobalRulestack_Get_MaximumSet_Gen.json @@ -45,9 +45,8 @@ public async Task Get_CertificateObjectGlobalRulestackGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CertificateObjectGlobalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CertificateObjectGlobalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectGlobalRulestack_Get_MinimumSet_Gen.json @@ -75,9 +74,8 @@ public async Task Get_CertificateObjectGlobalRulestackGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CertificateObjectGlobalRulestack_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CertificateObjectGlobalRulestackCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectGlobalRulestack_CreateOrUpdate_MaximumSet_Gen.json @@ -113,9 +111,8 @@ public async Task Update_CertificateObjectGlobalRulestackCreateOrUpdateMaximumSe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CertificateObjectGlobalRulestack_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CertificateObjectGlobalRulestackCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectGlobalRulestack_CreateOrUpdate_MinimumSet_Gen.json @@ -145,9 +142,8 @@ public async Task Update_CertificateObjectGlobalRulestackCreateOrUpdateMinimumSe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CertificateObjectGlobalRulestack_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CertificateObjectGlobalRulestackDeleteMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectGlobalRulestack_Delete_MaximumSet_Gen.json @@ -168,12 +164,11 @@ public async Task Delete_CertificateObjectGlobalRulestackDeleteMaximumSetGen() // invoke the operation await globalRulestackCertificateObject.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CertificateObjectGlobalRulestack_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CertificateObjectGlobalRulestackDeleteMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectGlobalRulestack_Delete_MinimumSet_Gen.json @@ -194,7 +189,7 @@ public async Task Delete_CertificateObjectGlobalRulestackDeleteMinimumSetGen() // invoke the operation await globalRulestackCertificateObject.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackCollection.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackCollection.cs index a53affadc8be9..49d6785dc7118 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackCollection.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Models; using Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw.Samples { public partial class Sample_GlobalRulestackCollection { - // GlobalRulestack_List_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GlobalRulestackListMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_List_MaximumSet_Gen.json @@ -46,12 +46,11 @@ public async Task GetAll_GlobalRulestackListMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GlobalRulestack_List_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GlobalRulestackListMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_List_MinimumSet_Gen.json @@ -79,12 +78,11 @@ public async Task GetAll_GlobalRulestackListMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GlobalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GlobalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_Get_MaximumSet_Gen.json @@ -113,9 +111,8 @@ public async Task Get_GlobalRulestackGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GlobalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GlobalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_Get_MaximumSet_Gen.json @@ -140,9 +137,8 @@ public async Task Exists_GlobalRulestackGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // GlobalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GlobalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_Get_MaximumSet_Gen.json @@ -167,7 +163,7 @@ public async Task GetIfExists_GlobalRulestackGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -179,9 +175,8 @@ public async Task GetIfExists_GlobalRulestackGetMaximumSetGen() } } - // GlobalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GlobalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_Get_MinimumSet_Gen.json @@ -210,9 +205,8 @@ public async Task Get_GlobalRulestackGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GlobalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GlobalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_Get_MinimumSet_Gen.json @@ -237,9 +231,8 @@ public async Task Exists_GlobalRulestackGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // GlobalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GlobalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_Get_MinimumSet_Gen.json @@ -264,7 +257,7 @@ public async Task GetIfExists_GlobalRulestackGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -276,9 +269,8 @@ public async Task GetIfExists_GlobalRulestackGetMinimumSetGen() } } - // GlobalRulestack_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_GlobalRulestackCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_CreateOrUpdate_MaximumSet_Gen.json @@ -339,9 +331,8 @@ public async Task CreateOrUpdate_GlobalRulestackCreateOrUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GlobalRulestack_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_GlobalRulestackCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_CreateOrUpdate_MinimumSet_Gen.json diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackFqdnCollection.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackFqdnCollection.cs index 787405574b582..46972781b734d 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackFqdnCollection.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackFqdnCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw.Samples { public partial class Sample_GlobalRulestackFqdnCollection { - // FqdnListGlobalRulestack_List_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_FqdnListGlobalRulestackListMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListGlobalRulestack_List_MaximumSet_Gen.json @@ -46,12 +46,11 @@ public async Task GetAll_FqdnListGlobalRulestackListMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // FqdnListGlobalRulestack_List_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_FqdnListGlobalRulestackListMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListGlobalRulestack_List_MinimumSet_Gen.json @@ -81,12 +80,11 @@ public async Task GetAll_FqdnListGlobalRulestackListMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // FqdnListGlobalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FqdnListGlobalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListGlobalRulestack_Get_MaximumSet_Gen.json @@ -117,9 +115,8 @@ public async Task Get_FqdnListGlobalRulestackGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FqdnListGlobalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_FqdnListGlobalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListGlobalRulestack_Get_MaximumSet_Gen.json @@ -146,9 +143,8 @@ public async Task Exists_FqdnListGlobalRulestackGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // FqdnListGlobalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_FqdnListGlobalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListGlobalRulestack_Get_MaximumSet_Gen.json @@ -175,7 +171,7 @@ public async Task GetIfExists_FqdnListGlobalRulestackGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -187,9 +183,8 @@ public async Task GetIfExists_FqdnListGlobalRulestackGetMaximumSetGen() } } - // FqdnListGlobalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FqdnListGlobalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListGlobalRulestack_Get_MinimumSet_Gen.json @@ -220,9 +215,8 @@ public async Task Get_FqdnListGlobalRulestackGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FqdnListGlobalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_FqdnListGlobalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListGlobalRulestack_Get_MinimumSet_Gen.json @@ -249,9 +243,8 @@ public async Task Exists_FqdnListGlobalRulestackGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // FqdnListGlobalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_FqdnListGlobalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListGlobalRulestack_Get_MinimumSet_Gen.json @@ -278,7 +271,7 @@ public async Task GetIfExists_FqdnListGlobalRulestackGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -290,9 +283,8 @@ public async Task GetIfExists_FqdnListGlobalRulestackGetMinimumSetGen() } } - // FqdnListGlobalRulestack_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_FqdnListGlobalRulestackCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListGlobalRulestack_CreateOrUpdate_MaximumSet_Gen.json @@ -333,9 +325,8 @@ public async Task CreateOrUpdate_FqdnListGlobalRulestackCreateOrUpdateMaximumSet Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FqdnListGlobalRulestack_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_FqdnListGlobalRulestackCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListGlobalRulestack_CreateOrUpdate_MinimumSet_Gen.json diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackFqdnResource.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackFqdnResource.cs index 4ed89de61c469..0b37b509125bf 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackFqdnResource.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackFqdnResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw.Samples { public partial class Sample_GlobalRulestackFqdnResource { - // FqdnListGlobalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FqdnListGlobalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListGlobalRulestack_Get_MaximumSet_Gen.json @@ -44,9 +44,8 @@ public async Task Get_FqdnListGlobalRulestackGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FqdnListGlobalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FqdnListGlobalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListGlobalRulestack_Get_MinimumSet_Gen.json @@ -74,9 +73,8 @@ public async Task Get_FqdnListGlobalRulestackGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FqdnListGlobalRulestack_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_FqdnListGlobalRulestackCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListGlobalRulestack_CreateOrUpdate_MaximumSet_Gen.json @@ -114,9 +112,8 @@ public async Task Update_FqdnListGlobalRulestackCreateOrUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FqdnListGlobalRulestack_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_FqdnListGlobalRulestackCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListGlobalRulestack_CreateOrUpdate_MinimumSet_Gen.json @@ -149,9 +146,8 @@ public async Task Update_FqdnListGlobalRulestackCreateOrUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FqdnListGlobalRulestack_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_FqdnListGlobalRulestackDeleteMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListGlobalRulestack_Delete_MaximumSet_Gen.json @@ -172,12 +168,11 @@ public async Task Delete_FqdnListGlobalRulestackDeleteMaximumSetGen() // invoke the operation await globalRulestackFqdn.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // FqdnListGlobalRulestack_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_FqdnListGlobalRulestackDeleteMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListGlobalRulestack_Delete_MinimumSet_Gen.json @@ -198,7 +193,7 @@ public async Task Delete_FqdnListGlobalRulestackDeleteMinimumSetGen() // invoke the operation await globalRulestackFqdn.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackPrefixCollection.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackPrefixCollection.cs index ed89cfff5fdcd..677fa3441f775 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackPrefixCollection.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackPrefixCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw.Samples { public partial class Sample_GlobalRulestackPrefixCollection { - // PrefixListGlobalRulestack_List_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrefixListGlobalRulestackListMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListGlobalRulestack_List_MaximumSet_Gen.json @@ -46,12 +46,11 @@ public async Task GetAll_PrefixListGlobalRulestackListMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrefixListGlobalRulestack_List_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrefixListGlobalRulestackListMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListGlobalRulestack_List_MinimumSet_Gen.json @@ -81,12 +80,11 @@ public async Task GetAll_PrefixListGlobalRulestackListMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrefixListGlobalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrefixListGlobalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListGlobalRulestack_Get_MaximumSet_Gen.json @@ -117,9 +115,8 @@ public async Task Get_PrefixListGlobalRulestackGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrefixListGlobalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrefixListGlobalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListGlobalRulestack_Get_MaximumSet_Gen.json @@ -146,9 +143,8 @@ public async Task Exists_PrefixListGlobalRulestackGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // PrefixListGlobalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrefixListGlobalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListGlobalRulestack_Get_MaximumSet_Gen.json @@ -175,7 +171,7 @@ public async Task GetIfExists_PrefixListGlobalRulestackGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -187,9 +183,8 @@ public async Task GetIfExists_PrefixListGlobalRulestackGetMaximumSetGen() } } - // PrefixListGlobalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrefixListGlobalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListGlobalRulestack_Get_MinimumSet_Gen.json @@ -220,9 +215,8 @@ public async Task Get_PrefixListGlobalRulestackGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrefixListGlobalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrefixListGlobalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListGlobalRulestack_Get_MinimumSet_Gen.json @@ -249,9 +243,8 @@ public async Task Exists_PrefixListGlobalRulestackGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // PrefixListGlobalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrefixListGlobalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListGlobalRulestack_Get_MinimumSet_Gen.json @@ -278,7 +271,7 @@ public async Task GetIfExists_PrefixListGlobalRulestackGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -290,9 +283,8 @@ public async Task GetIfExists_PrefixListGlobalRulestackGetMinimumSetGen() } } - // PrefixListGlobalRulestack_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrefixListGlobalRulestackCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListGlobalRulestack_CreateOrUpdate_MaximumSet_Gen.json @@ -333,9 +325,8 @@ public async Task CreateOrUpdate_PrefixListGlobalRulestackCreateOrUpdateMaximumS Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrefixListGlobalRulestack_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrefixListGlobalRulestackCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListGlobalRulestack_CreateOrUpdate_MinimumSet_Gen.json diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackPrefixResource.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackPrefixResource.cs index 8854c10a36bc5..a4c503d0c1246 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackPrefixResource.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackPrefixResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw.Samples { public partial class Sample_GlobalRulestackPrefixResource { - // PrefixListGlobalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrefixListGlobalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListGlobalRulestack_Get_MaximumSet_Gen.json @@ -44,9 +44,8 @@ public async Task Get_PrefixListGlobalRulestackGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrefixListGlobalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrefixListGlobalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListGlobalRulestack_Get_MinimumSet_Gen.json @@ -74,9 +73,8 @@ public async Task Get_PrefixListGlobalRulestackGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrefixListGlobalRulestack_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrefixListGlobalRulestackCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListGlobalRulestack_CreateOrUpdate_MaximumSet_Gen.json @@ -114,9 +112,8 @@ public async Task Update_PrefixListGlobalRulestackCreateOrUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrefixListGlobalRulestack_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrefixListGlobalRulestackCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListGlobalRulestack_CreateOrUpdate_MinimumSet_Gen.json @@ -149,9 +146,8 @@ public async Task Update_PrefixListGlobalRulestackCreateOrUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrefixListGlobalRulestack_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrefixListGlobalRulestackDeleteMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListGlobalRulestack_Delete_MaximumSet_Gen.json @@ -172,12 +168,11 @@ public async Task Delete_PrefixListGlobalRulestackDeleteMaximumSetGen() // invoke the operation await globalRulestackPrefix.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrefixListGlobalRulestack_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrefixListGlobalRulestackDeleteMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListGlobalRulestack_Delete_MinimumSet_Gen.json @@ -198,7 +193,7 @@ public async Task Delete_PrefixListGlobalRulestackDeleteMinimumSetGen() // invoke the operation await globalRulestackPrefix.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackResource.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackResource.cs index 3b971d75f3ced..c86e66395055b 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackResource.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_GlobalRulestackResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Models; using Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw.Samples { public partial class Sample_GlobalRulestackResource { - // GlobalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GlobalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_Get_MaximumSet_Gen.json @@ -45,9 +45,8 @@ public async Task Get_GlobalRulestackGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GlobalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GlobalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_Get_MinimumSet_Gen.json @@ -74,9 +73,8 @@ public async Task Get_GlobalRulestackGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GlobalRulestack_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_GlobalRulestackUpdateMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_Update_MaximumSet_Gen.json @@ -138,9 +136,8 @@ public async Task Update_GlobalRulestackUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GlobalRulestack_Update_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_GlobalRulestackUpdateMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_Update_MinimumSet_Gen.json @@ -168,9 +165,8 @@ public async Task Update_GlobalRulestackUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GlobalRulestack_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_GlobalRulestackDeleteMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_Delete_MaximumSet_Gen.json @@ -190,12 +186,11 @@ public async Task Delete_GlobalRulestackDeleteMaximumSetGen() // invoke the operation await globalRulestack.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GlobalRulestack_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_GlobalRulestackDeleteMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_Delete_MinimumSet_Gen.json @@ -215,12 +210,11 @@ public async Task Delete_GlobalRulestackDeleteMinimumSetGen() // invoke the operation await globalRulestack.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GlobalRulestack_commit_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Commit_GlobalRulestackCommitMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_commit_MaximumSet_Gen.json @@ -240,12 +234,11 @@ public async Task Commit_GlobalRulestackCommitMaximumSetGen() // invoke the operation await globalRulestack.CommitAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GlobalRulestack_commit_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Commit_GlobalRulestackCommitMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_commit_MinimumSet_Gen.json @@ -265,12 +258,11 @@ public async Task Commit_GlobalRulestackCommitMinimumSetGen() // invoke the operation await globalRulestack.CommitAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GlobalRulestack_getChangeLog_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetChangeLog_GlobalRulestackGetChangeLogMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_getChangeLog_MaximumSet_Gen.json @@ -293,9 +285,8 @@ public async Task GetChangeLog_GlobalRulestackGetChangeLogMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // GlobalRulestack_getChangeLog_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetChangeLog_GlobalRulestackGetChangeLogMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_getChangeLog_MinimumSet_Gen.json @@ -318,9 +309,8 @@ public async Task GetChangeLog_GlobalRulestackGetChangeLogMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // GlobalRulestack_listAdvancedSecurityObjects_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAdvancedSecurityObjects_GlobalRulestackListAdvancedSecurityObjectsMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_listAdvancedSecurityObjects_MaximumSet_Gen.json @@ -346,9 +336,8 @@ public async Task GetAdvancedSecurityObjects_GlobalRulestackListAdvancedSecurity Console.WriteLine($"Succeeded: {result}"); } - // GlobalRulestack_listAdvancedSecurityObjects_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAdvancedSecurityObjects_GlobalRulestackListAdvancedSecurityObjectsMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_listAdvancedSecurityObjects_MinimumSet_Gen.json @@ -372,9 +361,8 @@ public async Task GetAdvancedSecurityObjects_GlobalRulestackListAdvancedSecurity Console.WriteLine($"Succeeded: {result}"); } - // GlobalRulestack_listAppIds_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAppIds_GlobalRulestackListAppIdsMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_listAppIds_MaximumSet_Gen.json @@ -401,12 +389,11 @@ public async Task GetAppIds_GlobalRulestackListAppIdsMaximumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GlobalRulestack_listAppIds_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAppIds_GlobalRulestackListAppIdsMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_listAppIds_MinimumSet_Gen.json @@ -429,12 +416,11 @@ public async Task GetAppIds_GlobalRulestackListAppIdsMinimumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GlobalRulestack_listCountries_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCountries_GlobalRulestackListCountriesMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_listCountries_MaximumSet_Gen.json @@ -459,12 +445,11 @@ public async Task GetCountries_GlobalRulestackListCountriesMaximumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GlobalRulestack_listCountries_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCountries_GlobalRulestackListCountriesMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_listCountries_MinimumSet_Gen.json @@ -487,12 +472,11 @@ public async Task GetCountries_GlobalRulestackListCountriesMinimumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GlobalRulestack_listFirewalls_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFirewalls_GlobalRulestackListFirewallsMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_listFirewalls_MaximumSet_Gen.json @@ -515,12 +499,11 @@ public async Task GetFirewalls_GlobalRulestackListFirewallsMaximumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GlobalRulestack_listFirewalls_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFirewalls_GlobalRulestackListFirewallsMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_listFirewalls_MinimumSet_Gen.json @@ -543,12 +526,11 @@ public async Task GetFirewalls_GlobalRulestackListFirewallsMinimumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GlobalRulestack_listPredefinedUrlCategories_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPredefinedUrlCategories_GlobalRulestackListPredefinedUrlCategoriesMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_listPredefinedUrlCategories_MaximumSet_Gen.json @@ -573,12 +555,11 @@ public async Task GetPredefinedUrlCategories_GlobalRulestackListPredefinedUrlCat Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GlobalRulestack_listPredefinedUrlCategories_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPredefinedUrlCategories_GlobalRulestackListPredefinedUrlCategoriesMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_listPredefinedUrlCategories_MinimumSet_Gen.json @@ -601,12 +582,11 @@ public async Task GetPredefinedUrlCategories_GlobalRulestackListPredefinedUrlCat Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GlobalRulestack_listSecurityServices_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecurityServices_GlobalRulestackListSecurityServicesMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_listSecurityServices_MaximumSet_Gen.json @@ -632,9 +612,8 @@ public async Task GetSecurityServices_GlobalRulestackListSecurityServicesMaximum Console.WriteLine($"Succeeded: {result}"); } - // GlobalRulestack_listSecurityServices_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecurityServices_GlobalRulestackListSecurityServicesMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_listSecurityServices_MinimumSet_Gen.json @@ -658,9 +637,8 @@ public async Task GetSecurityServices_GlobalRulestackListSecurityServicesMinimum Console.WriteLine($"Succeeded: {result}"); } - // GlobalRulestack_revert_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Revert_GlobalRulestackRevertMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_revert_MaximumSet_Gen.json @@ -680,12 +658,11 @@ public async Task Revert_GlobalRulestackRevertMaximumSetGen() // invoke the operation await globalRulestack.RevertAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GlobalRulestack_revert_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Revert_GlobalRulestackRevertMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/GlobalRulestack_revert_MinimumSet_Gen.json @@ -705,7 +682,7 @@ public async Task Revert_GlobalRulestackRevertMinimumSetGen() // invoke the operation await globalRulestack.RevertAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackCertificateObjectCollection.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackCertificateObjectCollection.cs index b5a75dc574ee4..35174ebd534ce 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackCertificateObjectCollection.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackCertificateObjectCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw.Samples { public partial class Sample_LocalRulestackCertificateObjectCollection { - // CertificateObjectLocalRulestack_ListByLocalRulestacks_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CertificateObjectLocalRulestackListByLocalRulestacksMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectLocalRulestack_ListByLocalRulestacks_MaximumSet_Gen.json @@ -49,12 +49,11 @@ public async Task GetAll_CertificateObjectLocalRulestackListByLocalRulestacksMax Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CertificateObjectLocalRulestack_ListByLocalRulestacks_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CertificateObjectLocalRulestackListByLocalRulestacksMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectLocalRulestack_ListByLocalRulestacks_MinimumSet_Gen.json @@ -86,12 +85,11 @@ public async Task GetAll_CertificateObjectLocalRulestackListByLocalRulestacksMin Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CertificateObjectLocalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CertificateObjectLocalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectLocalRulestack_Get_MaximumSet_Gen.json @@ -124,9 +122,8 @@ public async Task Get_CertificateObjectLocalRulestackGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CertificateObjectLocalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CertificateObjectLocalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectLocalRulestack_Get_MaximumSet_Gen.json @@ -155,9 +152,8 @@ public async Task Exists_CertificateObjectLocalRulestackGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // CertificateObjectLocalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CertificateObjectLocalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectLocalRulestack_Get_MaximumSet_Gen.json @@ -186,7 +182,7 @@ public async Task GetIfExists_CertificateObjectLocalRulestackGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -198,9 +194,8 @@ public async Task GetIfExists_CertificateObjectLocalRulestackGetMaximumSetGen() } } - // CertificateObjectLocalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CertificateObjectLocalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectLocalRulestack_Get_MinimumSet_Gen.json @@ -233,9 +228,8 @@ public async Task Get_CertificateObjectLocalRulestackGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CertificateObjectLocalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CertificateObjectLocalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectLocalRulestack_Get_MinimumSet_Gen.json @@ -264,9 +258,8 @@ public async Task Exists_CertificateObjectLocalRulestackGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // CertificateObjectLocalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CertificateObjectLocalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectLocalRulestack_Get_MinimumSet_Gen.json @@ -295,7 +288,7 @@ public async Task GetIfExists_CertificateObjectLocalRulestackGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -307,9 +300,8 @@ public async Task GetIfExists_CertificateObjectLocalRulestackGetMinimumSetGen() } } - // CertificateObjectLocalRulestack_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CertificateObjectLocalRulestackCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectLocalRulestack_CreateOrUpdate_MaximumSet_Gen.json @@ -350,9 +342,8 @@ public async Task CreateOrUpdate_CertificateObjectLocalRulestackCreateOrUpdateMa Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CertificateObjectLocalRulestack_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CertificateObjectLocalRulestackCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectLocalRulestack_CreateOrUpdate_MinimumSet_Gen.json diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackCertificateObjectResource.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackCertificateObjectResource.cs index 2c3cc12463b60..ae134661dbdca 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackCertificateObjectResource.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackCertificateObjectResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw.Samples { public partial class Sample_LocalRulestackCertificateObjectResource { - // CertificateObjectLocalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CertificateObjectLocalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectLocalRulestack_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_CertificateObjectLocalRulestackGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CertificateObjectLocalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CertificateObjectLocalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectLocalRulestack_Get_MinimumSet_Gen.json @@ -79,9 +78,8 @@ public async Task Get_CertificateObjectLocalRulestackGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CertificateObjectLocalRulestack_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CertificateObjectLocalRulestackCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectLocalRulestack_CreateOrUpdate_MaximumSet_Gen.json @@ -119,9 +117,8 @@ public async Task Update_CertificateObjectLocalRulestackCreateOrUpdateMaximumSet Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CertificateObjectLocalRulestack_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CertificateObjectLocalRulestackCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectLocalRulestack_CreateOrUpdate_MinimumSet_Gen.json @@ -153,9 +150,8 @@ public async Task Update_CertificateObjectLocalRulestackCreateOrUpdateMinimumSet Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CertificateObjectLocalRulestack_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CertificateObjectLocalRulestackDeleteMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectLocalRulestack_Delete_MaximumSet_Gen.json @@ -178,12 +174,11 @@ public async Task Delete_CertificateObjectLocalRulestackDeleteMaximumSetGen() // invoke the operation await localRulestackCertificateObject.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CertificateObjectLocalRulestack_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CertificateObjectLocalRulestackDeleteMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/CertificateObjectLocalRulestack_Delete_MinimumSet_Gen.json @@ -206,7 +201,7 @@ public async Task Delete_CertificateObjectLocalRulestackDeleteMinimumSetGen() // invoke the operation await localRulestackCertificateObject.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackCollection.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackCollection.cs index bbf602cea0aa8..ca3f7be29b5ca 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackCollection.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw.Samples { public partial class Sample_LocalRulestackCollection { - // LocalRulestacks_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_LocalRulestacksListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_ListByResourceGroup_MaximumSet_Gen.json @@ -50,12 +50,11 @@ public async Task GetAll_LocalRulestacksListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LocalRulestacks_ListByResourceGroup_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_LocalRulestacksListByResourceGroupMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_ListByResourceGroup_MinimumSet_Gen.json @@ -86,12 +85,11 @@ public async Task GetAll_LocalRulestacksListByResourceGroupMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LocalRulestacks_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LocalRulestacksGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_Get_MaximumSet_Gen.json @@ -123,9 +121,8 @@ public async Task Get_LocalRulestacksGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LocalRulestacks_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_LocalRulestacksGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_Get_MaximumSet_Gen.json @@ -153,9 +150,8 @@ public async Task Exists_LocalRulestacksGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // LocalRulestacks_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_LocalRulestacksGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_Get_MaximumSet_Gen.json @@ -183,7 +179,7 @@ public async Task GetIfExists_LocalRulestacksGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -195,9 +191,8 @@ public async Task GetIfExists_LocalRulestacksGetMaximumSetGen() } } - // LocalRulestacks_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LocalRulestacksGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_Get_MinimumSet_Gen.json @@ -229,9 +224,8 @@ public async Task Get_LocalRulestacksGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LocalRulestacks_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_LocalRulestacksGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_Get_MinimumSet_Gen.json @@ -259,9 +253,8 @@ public async Task Exists_LocalRulestacksGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // LocalRulestacks_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_LocalRulestacksGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_Get_MinimumSet_Gen.json @@ -289,7 +282,7 @@ public async Task GetIfExists_LocalRulestacksGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -301,9 +294,8 @@ public async Task GetIfExists_LocalRulestacksGetMinimumSetGen() } } - // LocalRulestacks_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_LocalRulestacksCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_CreateOrUpdate_MaximumSet_Gen.json @@ -371,9 +363,8 @@ public async Task CreateOrUpdate_LocalRulestacksCreateOrUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LocalRulestacks_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_LocalRulestacksCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_CreateOrUpdate_MinimumSet_Gen.json diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackFqdnCollection.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackFqdnCollection.cs index 471167f4071ea..c718d88962f86 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackFqdnCollection.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackFqdnCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw.Samples { public partial class Sample_LocalRulestackFqdnCollection { - // FqdnListLocalRulestack_ListByLocalRulestacks_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_FqdnListLocalRulestackListByLocalRulestacksMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListLocalRulestack_ListByLocalRulestacks_MaximumSet_Gen.json @@ -48,12 +48,11 @@ public async Task GetAll_FqdnListLocalRulestackListByLocalRulestacksMaximumSetGe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // FqdnListLocalRulestack_ListByLocalRulestacks_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_FqdnListLocalRulestackListByLocalRulestacksMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListLocalRulestack_ListByLocalRulestacks_MinimumSet_Gen.json @@ -85,12 +84,11 @@ public async Task GetAll_FqdnListLocalRulestackListByLocalRulestacksMinimumSetGe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // FqdnListLocalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FqdnListLocalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListLocalRulestack_Get_MaximumSet_Gen.json @@ -123,9 +121,8 @@ public async Task Get_FqdnListLocalRulestackGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FqdnListLocalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_FqdnListLocalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListLocalRulestack_Get_MaximumSet_Gen.json @@ -154,9 +151,8 @@ public async Task Exists_FqdnListLocalRulestackGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // FqdnListLocalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_FqdnListLocalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListLocalRulestack_Get_MaximumSet_Gen.json @@ -185,7 +181,7 @@ public async Task GetIfExists_FqdnListLocalRulestackGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -197,9 +193,8 @@ public async Task GetIfExists_FqdnListLocalRulestackGetMaximumSetGen() } } - // FqdnListLocalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FqdnListLocalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListLocalRulestack_Get_MinimumSet_Gen.json @@ -232,9 +227,8 @@ public async Task Get_FqdnListLocalRulestackGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FqdnListLocalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_FqdnListLocalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListLocalRulestack_Get_MinimumSet_Gen.json @@ -263,9 +257,8 @@ public async Task Exists_FqdnListLocalRulestackGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // FqdnListLocalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_FqdnListLocalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListLocalRulestack_Get_MinimumSet_Gen.json @@ -294,7 +287,7 @@ public async Task GetIfExists_FqdnListLocalRulestackGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -306,9 +299,8 @@ public async Task GetIfExists_FqdnListLocalRulestackGetMinimumSetGen() } } - // FqdnListLocalRulestack_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_FqdnListLocalRulestackCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListLocalRulestack_CreateOrUpdate_MaximumSet_Gen.json @@ -351,9 +343,8 @@ public async Task CreateOrUpdate_FqdnListLocalRulestackCreateOrUpdateMaximumSetG Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FqdnListLocalRulestack_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_FqdnListLocalRulestackCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListLocalRulestack_CreateOrUpdate_MinimumSet_Gen.json diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackFqdnResource.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackFqdnResource.cs index 3772efa934684..5f192f78daeff 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackFqdnResource.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackFqdnResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw.Samples { public partial class Sample_LocalRulestackFqdnResource { - // FqdnListLocalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FqdnListLocalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListLocalRulestack_Get_MaximumSet_Gen.json @@ -46,9 +46,8 @@ public async Task Get_FqdnListLocalRulestackGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FqdnListLocalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FqdnListLocalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListLocalRulestack_Get_MinimumSet_Gen.json @@ -78,9 +77,8 @@ public async Task Get_FqdnListLocalRulestackGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FqdnListLocalRulestack_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_FqdnListLocalRulestackCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListLocalRulestack_CreateOrUpdate_MaximumSet_Gen.json @@ -120,9 +118,8 @@ public async Task Update_FqdnListLocalRulestackCreateOrUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FqdnListLocalRulestack_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_FqdnListLocalRulestackCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListLocalRulestack_CreateOrUpdate_MinimumSet_Gen.json @@ -157,9 +154,8 @@ public async Task Update_FqdnListLocalRulestackCreateOrUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FqdnListLocalRulestack_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_FqdnListLocalRulestackDeleteMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListLocalRulestack_Delete_MaximumSet_Gen.json @@ -182,12 +178,11 @@ public async Task Delete_FqdnListLocalRulestackDeleteMaximumSetGen() // invoke the operation await localRulestackFqdn.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // FqdnListLocalRulestack_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_FqdnListLocalRulestackDeleteMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FqdnListLocalRulestack_Delete_MinimumSet_Gen.json @@ -210,7 +205,7 @@ public async Task Delete_FqdnListLocalRulestackDeleteMinimumSetGen() // invoke the operation await localRulestackFqdn.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackPrefixCollection.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackPrefixCollection.cs index c766dc88a84f7..ca1c9e41fa103 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackPrefixCollection.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackPrefixCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw.Samples { public partial class Sample_LocalRulestackPrefixCollection { - // PrefixListLocalRulestack_ListByLocalRulestacks_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrefixListLocalRulestackListByLocalRulestacksMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListLocalRulestack_ListByLocalRulestacks_MaximumSet_Gen.json @@ -48,12 +48,11 @@ public async Task GetAll_PrefixListLocalRulestackListByLocalRulestacksMaximumSet Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrefixListLocalRulestack_ListByLocalRulestacks_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrefixListLocalRulestackListByLocalRulestacksMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListLocalRulestack_ListByLocalRulestacks_MinimumSet_Gen.json @@ -85,12 +84,11 @@ public async Task GetAll_PrefixListLocalRulestackListByLocalRulestacksMinimumSet Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrefixListLocalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrefixListLocalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListLocalRulestack_Get_MaximumSet_Gen.json @@ -123,9 +121,8 @@ public async Task Get_PrefixListLocalRulestackGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrefixListLocalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrefixListLocalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListLocalRulestack_Get_MaximumSet_Gen.json @@ -154,9 +151,8 @@ public async Task Exists_PrefixListLocalRulestackGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // PrefixListLocalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrefixListLocalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListLocalRulestack_Get_MaximumSet_Gen.json @@ -185,7 +181,7 @@ public async Task GetIfExists_PrefixListLocalRulestackGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -197,9 +193,8 @@ public async Task GetIfExists_PrefixListLocalRulestackGetMaximumSetGen() } } - // PrefixListLocalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrefixListLocalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListLocalRulestack_Get_MinimumSet_Gen.json @@ -232,9 +227,8 @@ public async Task Get_PrefixListLocalRulestackGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrefixListLocalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrefixListLocalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListLocalRulestack_Get_MinimumSet_Gen.json @@ -263,9 +257,8 @@ public async Task Exists_PrefixListLocalRulestackGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // PrefixListLocalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrefixListLocalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListLocalRulestack_Get_MinimumSet_Gen.json @@ -294,7 +287,7 @@ public async Task GetIfExists_PrefixListLocalRulestackGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -306,9 +299,8 @@ public async Task GetIfExists_PrefixListLocalRulestackGetMinimumSetGen() } } - // PrefixListLocalRulestack_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrefixListLocalRulestackCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListLocalRulestack_CreateOrUpdate_MaximumSet_Gen.json @@ -351,9 +343,8 @@ public async Task CreateOrUpdate_PrefixListLocalRulestackCreateOrUpdateMaximumSe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrefixListLocalRulestack_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrefixListLocalRulestackCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListLocalRulestack_CreateOrUpdate_MinimumSet_Gen.json diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackPrefixResource.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackPrefixResource.cs index f880c3eb02963..c85901f346288 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackPrefixResource.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackPrefixResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw.Samples { public partial class Sample_LocalRulestackPrefixResource { - // PrefixListLocalRulestack_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrefixListLocalRulestackGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListLocalRulestack_Get_MaximumSet_Gen.json @@ -46,9 +46,8 @@ public async Task Get_PrefixListLocalRulestackGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrefixListLocalRulestack_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrefixListLocalRulestackGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListLocalRulestack_Get_MinimumSet_Gen.json @@ -78,9 +77,8 @@ public async Task Get_PrefixListLocalRulestackGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrefixListLocalRulestack_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrefixListLocalRulestackCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListLocalRulestack_CreateOrUpdate_MaximumSet_Gen.json @@ -120,9 +118,8 @@ public async Task Update_PrefixListLocalRulestackCreateOrUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrefixListLocalRulestack_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrefixListLocalRulestackCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListLocalRulestack_CreateOrUpdate_MinimumSet_Gen.json @@ -157,9 +154,8 @@ public async Task Update_PrefixListLocalRulestackCreateOrUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrefixListLocalRulestack_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrefixListLocalRulestackDeleteMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListLocalRulestack_Delete_MaximumSet_Gen.json @@ -182,12 +178,11 @@ public async Task Delete_PrefixListLocalRulestackDeleteMaximumSetGen() // invoke the operation await localRulestackPrefix.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrefixListLocalRulestack_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrefixListLocalRulestackDeleteMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PrefixListLocalRulestack_Delete_MinimumSet_Gen.json @@ -210,7 +205,7 @@ public async Task Delete_PrefixListLocalRulestackDeleteMinimumSetGen() // invoke the operation await localRulestackPrefix.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackResource.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackResource.cs index c473d64a79316..c8e91a03068f5 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackResource.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw.Samples { public partial class Sample_LocalRulestackResource { - // LocalRulestacks_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLocalRulestacks_LocalRulestacksListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_ListBySubscription_MaximumSet_Gen.json @@ -46,12 +46,11 @@ public async Task GetLocalRulestacks_LocalRulestacksListBySubscriptionMaximumSet Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LocalRulestacks_ListBySubscription_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLocalRulestacks_LocalRulestacksListBySubscriptionMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_ListBySubscription_MinimumSet_Gen.json @@ -78,12 +77,11 @@ public async Task GetLocalRulestacks_LocalRulestacksListBySubscriptionMinimumSet Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LocalRulestacks_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LocalRulestacksGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_Get_MaximumSet_Gen.json @@ -112,9 +110,8 @@ public async Task Get_LocalRulestacksGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LocalRulestacks_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LocalRulestacksGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_Get_MinimumSet_Gen.json @@ -143,9 +140,8 @@ public async Task Get_LocalRulestacksGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LocalRulestacks_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_LocalRulestacksUpdateMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_Update_MaximumSet_Gen.json @@ -212,9 +208,8 @@ public async Task Update_LocalRulestacksUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LocalRulestacks_Update_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_LocalRulestacksUpdateMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_Update_MinimumSet_Gen.json @@ -244,9 +239,8 @@ public async Task Update_LocalRulestacksUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LocalRulestacks_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_LocalRulestacksDeleteMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_Delete_MaximumSet_Gen.json @@ -268,12 +262,11 @@ public async Task Delete_LocalRulestacksDeleteMaximumSetGen() // invoke the operation await localRulestack.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LocalRulestacks_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_LocalRulestacksDeleteMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_Delete_MinimumSet_Gen.json @@ -295,12 +288,11 @@ public async Task Delete_LocalRulestacksDeleteMinimumSetGen() // invoke the operation await localRulestack.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LocalRulestacks_commit_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Commit_LocalRulestacksCommitMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_commit_MaximumSet_Gen.json @@ -322,12 +314,11 @@ public async Task Commit_LocalRulestacksCommitMaximumSetGen() // invoke the operation await localRulestack.CommitAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LocalRulestacks_commit_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Commit_LocalRulestacksCommitMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_commit_MinimumSet_Gen.json @@ -349,12 +340,11 @@ public async Task Commit_LocalRulestacksCommitMinimumSetGen() // invoke the operation await localRulestack.CommitAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LocalRulestacks_getChangeLog_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetChangeLog_LocalRulestacksGetChangeLogMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_getChangeLog_MaximumSet_Gen.json @@ -379,9 +369,8 @@ public async Task GetChangeLog_LocalRulestacksGetChangeLogMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // LocalRulestacks_getChangeLog_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetChangeLog_LocalRulestacksGetChangeLogMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_getChangeLog_MinimumSet_Gen.json @@ -406,9 +395,8 @@ public async Task GetChangeLog_LocalRulestacksGetChangeLogMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // LocalRulestacks_getSupportInfo_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSupportInfo_LocalRulestacksGetSupportInfoMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_getSupportInfo_MaximumSet_Gen.json @@ -434,9 +422,8 @@ public async Task GetSupportInfo_LocalRulestacksGetSupportInfoMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // LocalRulestacks_getSupportInfo_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSupportInfo_LocalRulestacksGetSupportInfoMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_getSupportInfo_MinimumSet_Gen.json @@ -461,9 +448,8 @@ public async Task GetSupportInfo_LocalRulestacksGetSupportInfoMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // LocalRulestacks_listAdvancedSecurityObjects_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAdvancedSecurityObjects_LocalRulestacksListAdvancedSecurityObjectsMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_listAdvancedSecurityObjects_MaximumSet_Gen.json @@ -491,9 +477,8 @@ public async Task GetAdvancedSecurityObjects_LocalRulestacksListAdvancedSecurity Console.WriteLine($"Succeeded: {result}"); } - // LocalRulestacks_listAdvancedSecurityObjects_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAdvancedSecurityObjects_LocalRulestacksListAdvancedSecurityObjectsMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_listAdvancedSecurityObjects_MinimumSet_Gen.json @@ -519,9 +504,8 @@ public async Task GetAdvancedSecurityObjects_LocalRulestacksListAdvancedSecurity Console.WriteLine($"Succeeded: {result}"); } - // LocalRulestacks_listAppIds_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAppIds_LocalRulestacksListAppIdsMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_listAppIds_MaximumSet_Gen.json @@ -550,12 +534,11 @@ public async Task GetAppIds_LocalRulestacksListAppIdsMaximumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LocalRulestacks_listAppIds_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAppIds_LocalRulestacksListAppIdsMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_listAppIds_MinimumSet_Gen.json @@ -580,12 +563,11 @@ public async Task GetAppIds_LocalRulestacksListAppIdsMinimumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LocalRulestacks_listCountries_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCountries_LocalRulestacksListCountriesMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_listCountries_MaximumSet_Gen.json @@ -612,12 +594,11 @@ public async Task GetCountries_LocalRulestacksListCountriesMaximumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LocalRulestacks_listCountries_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCountries_LocalRulestacksListCountriesMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_listCountries_MinimumSet_Gen.json @@ -642,12 +623,11 @@ public async Task GetCountries_LocalRulestacksListCountriesMinimumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LocalRulestacks_listFirewalls_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFirewalls_LocalRulestacksListFirewallsMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_listFirewalls_MaximumSet_Gen.json @@ -672,12 +652,11 @@ public async Task GetFirewalls_LocalRulestacksListFirewallsMaximumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LocalRulestacks_listFirewalls_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFirewalls_LocalRulestacksListFirewallsMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_listFirewalls_MinimumSet_Gen.json @@ -702,12 +681,11 @@ public async Task GetFirewalls_LocalRulestacksListFirewallsMinimumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LocalRulestacks_listPredefinedUrlCategories_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPredefinedUrlCategories_LocalRulestacksListPredefinedUrlCategoriesMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_listPredefinedUrlCategories_MaximumSet_Gen.json @@ -734,12 +712,11 @@ public async Task GetPredefinedUrlCategories_LocalRulestacksListPredefinedUrlCat Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LocalRulestacks_listPredefinedUrlCategories_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPredefinedUrlCategories_LocalRulestacksListPredefinedUrlCategoriesMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_listPredefinedUrlCategories_MinimumSet_Gen.json @@ -764,12 +741,11 @@ public async Task GetPredefinedUrlCategories_LocalRulestacksListPredefinedUrlCat Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LocalRulestacks_listSecurityServices_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecurityServices_LocalRulestacksListSecurityServicesMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_listSecurityServices_MaximumSet_Gen.json @@ -797,9 +773,8 @@ public async Task GetSecurityServices_LocalRulestacksListSecurityServicesMaximum Console.WriteLine($"Succeeded: {result}"); } - // LocalRulestacks_listSecurityServices_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecurityServices_LocalRulestacksListSecurityServicesMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_listSecurityServices_MinimumSet_Gen.json @@ -825,9 +800,8 @@ public async Task GetSecurityServices_LocalRulestacksListSecurityServicesMinimum Console.WriteLine($"Succeeded: {result}"); } - // LocalRulestacks_revert_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Revert_LocalRulestacksRevertMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_revert_MaximumSet_Gen.json @@ -849,12 +823,11 @@ public async Task Revert_LocalRulestacksRevertMaximumSetGen() // invoke the operation await localRulestack.RevertAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LocalRulestacks_revert_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Revert_LocalRulestacksRevertMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRulestacks_revert_MinimumSet_Gen.json @@ -876,7 +849,7 @@ public async Task Revert_LocalRulestacksRevertMinimumSetGen() // invoke the operation await localRulestack.RevertAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackRuleCollection.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackRuleCollection.cs index bebe9ea170214..ef335e970f72d 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackRuleCollection.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw.Samples { public partial class Sample_LocalRulestackRuleCollection { - // LocalRules_ListByLocalRulestacks_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_LocalRulesListByLocalRulestacksMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRules_ListByLocalRulestacks_MaximumSet_Gen.json @@ -49,12 +49,11 @@ public async Task GetAll_LocalRulesListByLocalRulestacksMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LocalRules_ListByLocalRulestacks_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_LocalRulesListByLocalRulestacksMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRules_ListByLocalRulestacks_MinimumSet_Gen.json @@ -86,12 +85,11 @@ public async Task GetAll_LocalRulesListByLocalRulestacksMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LocalRules_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LocalRulesGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRules_Get_MaximumSet_Gen.json @@ -124,9 +122,8 @@ public async Task Get_LocalRulesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LocalRules_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_LocalRulesGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRules_Get_MaximumSet_Gen.json @@ -155,9 +152,8 @@ public async Task Exists_LocalRulesGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // LocalRules_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_LocalRulesGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRules_Get_MaximumSet_Gen.json @@ -186,7 +182,7 @@ public async Task GetIfExists_LocalRulesGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -198,9 +194,8 @@ public async Task GetIfExists_LocalRulesGetMaximumSetGen() } } - // LocalRules_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LocalRulesGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRules_Get_MinimumSet_Gen.json @@ -233,9 +228,8 @@ public async Task Get_LocalRulesGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LocalRules_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_LocalRulesGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRules_Get_MinimumSet_Gen.json @@ -264,9 +258,8 @@ public async Task Exists_LocalRulesGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // LocalRules_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_LocalRulesGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRules_Get_MinimumSet_Gen.json @@ -295,7 +288,7 @@ public async Task GetIfExists_LocalRulesGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -307,9 +300,8 @@ public async Task GetIfExists_LocalRulesGetMinimumSetGen() } } - // LocalRules_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_LocalRulesCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRules_CreateOrUpdate_MaximumSet_Gen.json @@ -418,9 +410,8 @@ public async Task CreateOrUpdate_LocalRulesCreateOrUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LocalRules_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_LocalRulesCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRules_CreateOrUpdate_MinimumSet_Gen.json diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackRuleResource.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackRuleResource.cs index a72e899b166bd..e450b5b196b62 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackRuleResource.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_LocalRulestackRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw.Samples { public partial class Sample_LocalRulestackRuleResource { - // LocalRules_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LocalRulesGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRules_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_LocalRulesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LocalRules_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LocalRulesGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRules_Get_MinimumSet_Gen.json @@ -79,9 +78,8 @@ public async Task Get_LocalRulesGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LocalRules_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_LocalRulesCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRules_CreateOrUpdate_MaximumSet_Gen.json @@ -187,9 +185,8 @@ public async Task Update_LocalRulesCreateOrUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LocalRules_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_LocalRulesCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRules_CreateOrUpdate_MinimumSet_Gen.json @@ -221,9 +218,8 @@ public async Task Update_LocalRulesCreateOrUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LocalRules_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_LocalRulesDeleteMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRules_Delete_MaximumSet_Gen.json @@ -246,12 +242,11 @@ public async Task Delete_LocalRulesDeleteMaximumSetGen() // invoke the operation await localRulestackRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LocalRules_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_LocalRulesDeleteMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRules_Delete_MinimumSet_Gen.json @@ -274,12 +269,11 @@ public async Task Delete_LocalRulesDeleteMinimumSetGen() // invoke the operation await localRulestackRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LocalRules_getCounters_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCounters_LocalRulesGetCountersMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRules_getCounters_MaximumSet_Gen.json @@ -306,9 +300,8 @@ public async Task GetCounters_LocalRulesGetCountersMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // LocalRules_getCounters_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCounters_LocalRulesGetCountersMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRules_getCounters_MinimumSet_Gen.json @@ -334,9 +327,8 @@ public async Task GetCounters_LocalRulesGetCountersMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // LocalRules_refreshCounters_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RefreshCounters_LocalRulesRefreshCountersMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRules_refreshCounters_MaximumSet_Gen.json @@ -360,12 +352,11 @@ public async Task RefreshCounters_LocalRulesRefreshCountersMaximumSetGen() string firewallName = "firewall1"; await localRulestackRule.RefreshCountersAsync(firewallName: firewallName); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LocalRules_refreshCounters_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RefreshCounters_LocalRulesRefreshCountersMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRules_refreshCounters_MinimumSet_Gen.json @@ -388,12 +379,11 @@ public async Task RefreshCounters_LocalRulesRefreshCountersMinimumSetGen() // invoke the operation await localRulestackRule.RefreshCountersAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LocalRules_resetCounters_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResetCounters_LocalRulesResetCountersMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRules_resetCounters_MaximumSet_Gen.json @@ -420,9 +410,8 @@ public async Task ResetCounters_LocalRulesResetCountersMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // LocalRules_resetCounters_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResetCounters_LocalRulesResetCountersMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/LocalRules_resetCounters_MinimumSet_Gen.json diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PaloAltoNetworksFirewallCollection.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PaloAltoNetworksFirewallCollection.cs index f85086bf309f8..2f82520c03860 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PaloAltoNetworksFirewallCollection.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PaloAltoNetworksFirewallCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw.Samples { public partial class Sample_PaloAltoNetworksFirewallCollection { - // Firewalls_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_FirewallsListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_ListByResourceGroup_MaximumSet_Gen.json @@ -50,12 +50,11 @@ public async Task GetAll_FirewallsListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Firewalls_ListByResourceGroup_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_FirewallsListByResourceGroupMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_ListByResourceGroup_MinimumSet_Gen.json @@ -86,12 +85,11 @@ public async Task GetAll_FirewallsListByResourceGroupMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Firewalls_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FirewallsGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_Get_MaximumSet_Gen.json @@ -123,9 +121,8 @@ public async Task Get_FirewallsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Firewalls_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_FirewallsGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_Get_MaximumSet_Gen.json @@ -153,9 +150,8 @@ public async Task Exists_FirewallsGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Firewalls_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_FirewallsGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_Get_MaximumSet_Gen.json @@ -183,7 +179,7 @@ public async Task GetIfExists_FirewallsGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -195,9 +191,8 @@ public async Task GetIfExists_FirewallsGetMaximumSetGen() } } - // Firewalls_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FirewallsGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_Get_MinimumSet_Gen.json @@ -229,9 +224,8 @@ public async Task Get_FirewallsGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Firewalls_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_FirewallsGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_Get_MinimumSet_Gen.json @@ -259,9 +253,8 @@ public async Task Exists_FirewallsGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Firewalls_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_FirewallsGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_Get_MinimumSet_Gen.json @@ -289,7 +282,7 @@ public async Task GetIfExists_FirewallsGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -301,9 +294,8 @@ public async Task GetIfExists_FirewallsGetMinimumSetGen() } } - // Firewalls_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_FirewallsCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_CreateOrUpdate_MaximumSet_Gen.json @@ -453,9 +445,8 @@ public async Task CreateOrUpdate_FirewallsCreateOrUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Firewalls_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_FirewallsCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_CreateOrUpdate_MinimumSet_Gen.json diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PaloAltoNetworksFirewallResource.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PaloAltoNetworksFirewallResource.cs index 6a7a4b16f65c6..3552af5277a0f 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PaloAltoNetworksFirewallResource.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PaloAltoNetworksFirewallResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw.Samples { public partial class Sample_PaloAltoNetworksFirewallResource { - // Firewalls_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPaloAltoNetworksFirewalls_FirewallsListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_ListBySubscription_MaximumSet_Gen.json @@ -46,12 +46,11 @@ public async Task GetPaloAltoNetworksFirewalls_FirewallsListBySubscriptionMaximu Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Firewalls_ListBySubscription_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPaloAltoNetworksFirewalls_FirewallsListBySubscriptionMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_ListBySubscription_MinimumSet_Gen.json @@ -78,12 +77,11 @@ public async Task GetPaloAltoNetworksFirewalls_FirewallsListBySubscriptionMinimu Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Firewalls_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FirewallsGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_Get_MaximumSet_Gen.json @@ -112,9 +110,8 @@ public async Task Get_FirewallsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Firewalls_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FirewallsGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_Get_MinimumSet_Gen.json @@ -143,9 +140,8 @@ public async Task Get_FirewallsGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Firewalls_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_FirewallsUpdateMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_Update_MaximumSet_Gen.json @@ -298,9 +294,8 @@ public async Task Update_FirewallsUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Firewalls_Update_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_FirewallsUpdateMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_Update_MinimumSet_Gen.json @@ -330,9 +325,8 @@ public async Task Update_FirewallsUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Firewalls_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_FirewallsDeleteMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_Delete_MaximumSet_Gen.json @@ -354,12 +348,11 @@ public async Task Delete_FirewallsDeleteMaximumSetGen() // invoke the operation await paloAltoNetworksFirewall.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Firewalls_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_FirewallsDeleteMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_Delete_MinimumSet_Gen.json @@ -381,12 +374,11 @@ public async Task Delete_FirewallsDeleteMinimumSetGen() // invoke the operation await paloAltoNetworksFirewall.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Firewalls_getGlobalRulestack_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetGlobalRulestack_FirewallsGetGlobalRulestackMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_getGlobalRulestack_MaximumSet_Gen.json @@ -411,9 +403,8 @@ public async Task GetGlobalRulestack_FirewallsGetGlobalRulestackMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Firewalls_getGlobalRulestack_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetGlobalRulestack_FirewallsGetGlobalRulestackMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_getGlobalRulestack_MinimumSet_Gen.json @@ -438,9 +429,8 @@ public async Task GetGlobalRulestack_FirewallsGetGlobalRulestackMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Firewalls_getLogProfile_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLogProfile_FirewallsGetLogProfileMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_getLogProfile_MaximumSet_Gen.json @@ -465,9 +455,8 @@ public async Task GetLogProfile_FirewallsGetLogProfileMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Firewalls_getLogProfile_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLogProfile_FirewallsGetLogProfileMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_getLogProfile_MinimumSet_Gen.json @@ -492,9 +481,8 @@ public async Task GetLogProfile_FirewallsGetLogProfileMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Firewalls_getSupportInfo_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSupportInfo_FirewallsGetSupportInfoMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_getSupportInfo_MaximumSet_Gen.json @@ -520,9 +508,8 @@ public async Task GetSupportInfo_FirewallsGetSupportInfoMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Firewalls_getSupportInfo_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSupportInfo_FirewallsGetSupportInfoMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_getSupportInfo_MinimumSet_Gen.json @@ -547,9 +534,8 @@ public async Task GetSupportInfo_FirewallsGetSupportInfoMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Firewalls_saveLogProfile_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SaveLogProfile_FirewallsSaveLogProfileMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_saveLogProfile_MaximumSet_Gen.json @@ -681,12 +667,11 @@ public async Task SaveLogProfile_FirewallsSaveLogProfileMaximumSetGen() }; await paloAltoNetworksFirewall.SaveLogProfileAsync(logSettings: logSettings); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Firewalls_saveLogProfile_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SaveLogProfile_FirewallsSaveLogProfileMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/Firewalls_saveLogProfile_MinimumSet_Gen.json @@ -708,7 +693,7 @@ public async Task SaveLogProfile_FirewallsSaveLogProfileMinimumSetGen() // invoke the operation await paloAltoNetworksFirewall.SaveLogProfileAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PaloAltoNetworksFirewallStatusResource.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PaloAltoNetworksFirewallStatusResource.cs index 05ee2d6d3e45d..a611ea9221bb7 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PaloAltoNetworksFirewallStatusResource.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PaloAltoNetworksFirewallStatusResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw.Samples { public partial class Sample_PaloAltoNetworksFirewallStatusResource { - // FirewallStatus_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FirewallStatusGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FirewallStatus_Get_MaximumSet_Gen.json @@ -45,9 +45,8 @@ public async Task Get_FirewallStatusGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FirewallStatus_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FirewallStatusGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/FirewallStatus_Get_MinimumSet_Gen.json diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PostRulestackRuleCollection.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PostRulestackRuleCollection.cs index 228c1d0a29952..51060e686e948 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PostRulestackRuleCollection.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PostRulestackRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw.Samples { public partial class Sample_PostRulestackRuleCollection { - // PostRules_List_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PostRulesListMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PostRules_List_MaximumSet_Gen.json @@ -47,12 +47,11 @@ public async Task GetAll_PostRulesListMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PostRules_List_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PostRulesListMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PostRules_List_MinimumSet_Gen.json @@ -82,12 +81,11 @@ public async Task GetAll_PostRulesListMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PostRules_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PostRulesGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PostRules_Get_MaximumSet_Gen.json @@ -118,9 +116,8 @@ public async Task Get_PostRulesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PostRules_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PostRulesGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PostRules_Get_MaximumSet_Gen.json @@ -147,9 +144,8 @@ public async Task Exists_PostRulesGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // PostRules_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PostRulesGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PostRules_Get_MaximumSet_Gen.json @@ -176,7 +172,7 @@ public async Task GetIfExists_PostRulesGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -188,9 +184,8 @@ public async Task GetIfExists_PostRulesGetMaximumSetGen() } } - // PostRules_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PostRulesGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PostRules_Get_MinimumSet_Gen.json @@ -221,9 +216,8 @@ public async Task Get_PostRulesGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PostRules_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PostRulesGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PostRules_Get_MinimumSet_Gen.json @@ -250,9 +244,8 @@ public async Task Exists_PostRulesGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // PostRules_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PostRulesGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PostRules_Get_MinimumSet_Gen.json @@ -279,7 +272,7 @@ public async Task GetIfExists_PostRulesGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -291,9 +284,8 @@ public async Task GetIfExists_PostRulesGetMinimumSetGen() } } - // PostRules_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PostRulesCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PostRules_CreateOrUpdate_MaximumSet_Gen.json @@ -400,9 +392,8 @@ public async Task CreateOrUpdate_PostRulesCreateOrUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PostRules_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PostRulesCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PostRules_CreateOrUpdate_MinimumSet_Gen.json diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PostRulestackRuleResource.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PostRulestackRuleResource.cs index 99f2372140c34..3b32f784a2cea 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PostRulestackRuleResource.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PostRulestackRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw.Samples { public partial class Sample_PostRulestackRuleResource { - // PostRules_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PostRulesGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PostRules_Get_MaximumSet_Gen.json @@ -45,9 +45,8 @@ public async Task Get_PostRulesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PostRules_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PostRulesGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PostRules_Get_MinimumSet_Gen.json @@ -75,9 +74,8 @@ public async Task Get_PostRulesGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PostRules_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PostRulesCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PostRules_CreateOrUpdate_MaximumSet_Gen.json @@ -181,9 +179,8 @@ public async Task Update_PostRulesCreateOrUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PostRules_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PostRulesCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PostRules_CreateOrUpdate_MinimumSet_Gen.json @@ -213,9 +210,8 @@ public async Task Update_PostRulesCreateOrUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PostRules_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PostRulesDeleteMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PostRules_Delete_MaximumSet_Gen.json @@ -236,12 +232,11 @@ public async Task Delete_PostRulesDeleteMaximumSetGen() // invoke the operation await postRulestackRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PostRules_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PostRulesDeleteMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PostRules_Delete_MinimumSet_Gen.json @@ -262,12 +257,11 @@ public async Task Delete_PostRulesDeleteMinimumSetGen() // invoke the operation await postRulestackRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PostRules_getCounters_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCounters_PostRulesGetCountersMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PostRules_getCounters_MaximumSet_Gen.json @@ -292,9 +286,8 @@ public async Task GetCounters_PostRulesGetCountersMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // PostRules_getCounters_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCounters_PostRulesGetCountersMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PostRules_getCounters_MinimumSet_Gen.json @@ -318,9 +311,8 @@ public async Task GetCounters_PostRulesGetCountersMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // PostRules_refreshCounters_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RefreshCounters_PostRulesRefreshCountersMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PostRules_refreshCounters_MaximumSet_Gen.json @@ -342,12 +334,11 @@ public async Task RefreshCounters_PostRulesRefreshCountersMaximumSetGen() string firewallName = "firewall1"; await postRulestackRule.RefreshCountersAsync(firewallName: firewallName); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PostRules_refreshCounters_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RefreshCounters_PostRulesRefreshCountersMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PostRules_refreshCounters_MinimumSet_Gen.json @@ -368,12 +359,11 @@ public async Task RefreshCounters_PostRulesRefreshCountersMinimumSetGen() // invoke the operation await postRulestackRule.RefreshCountersAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PostRules_resetCounters_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResetCounters_PostRulesResetCountersMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PostRules_resetCounters_MaximumSet_Gen.json @@ -398,9 +388,8 @@ public async Task ResetCounters_PostRulesResetCountersMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // PostRules_resetCounters_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResetCounters_PostRulesResetCountersMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PostRules_resetCounters_MinimumSet_Gen.json diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PreRulestackRuleCollection.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PreRulestackRuleCollection.cs index abb454df56fc1..c3a6b05955403 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PreRulestackRuleCollection.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PreRulestackRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw.Samples { public partial class Sample_PreRulestackRuleCollection { - // PreRules_List_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PreRulesListMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PreRules_List_MaximumSet_Gen.json @@ -47,12 +47,11 @@ public async Task GetAll_PreRulesListMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PreRules_List_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PreRulesListMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PreRules_List_MinimumSet_Gen.json @@ -82,12 +81,11 @@ public async Task GetAll_PreRulesListMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PreRules_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PreRulesGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PreRules_Get_MaximumSet_Gen.json @@ -118,9 +116,8 @@ public async Task Get_PreRulesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PreRules_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PreRulesGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PreRules_Get_MaximumSet_Gen.json @@ -147,9 +144,8 @@ public async Task Exists_PreRulesGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // PreRules_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PreRulesGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PreRules_Get_MaximumSet_Gen.json @@ -176,7 +172,7 @@ public async Task GetIfExists_PreRulesGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -188,9 +184,8 @@ public async Task GetIfExists_PreRulesGetMaximumSetGen() } } - // PreRules_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PreRulesGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PreRules_Get_MinimumSet_Gen.json @@ -221,9 +216,8 @@ public async Task Get_PreRulesGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PreRules_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PreRulesGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PreRules_Get_MinimumSet_Gen.json @@ -250,9 +244,8 @@ public async Task Exists_PreRulesGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // PreRules_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PreRulesGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PreRules_Get_MinimumSet_Gen.json @@ -279,7 +272,7 @@ public async Task GetIfExists_PreRulesGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -291,9 +284,8 @@ public async Task GetIfExists_PreRulesGetMinimumSetGen() } } - // PreRules_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PreRulesCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PreRules_CreateOrUpdate_MaximumSet_Gen.json @@ -400,9 +392,8 @@ public async Task CreateOrUpdate_PreRulesCreateOrUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PreRules_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PreRulesCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PreRules_CreateOrUpdate_MinimumSet_Gen.json diff --git a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PreRulestackRuleResource.cs b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PreRulestackRuleResource.cs index 9eae695b8ae0c..cba637b2bfb28 100644 --- a/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PreRulestackRuleResource.cs +++ b/sdk/paloaltonetworks.ngfw/Azure.ResourceManager.PaloAltoNetworks.Ngfw/samples/Generated/Samples/Sample_PreRulestackRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PaloAltoNetworks.Ngfw.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PaloAltoNetworks.Ngfw.Samples { public partial class Sample_PreRulestackRuleResource { - // PreRules_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PreRulesGetMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PreRules_Get_MaximumSet_Gen.json @@ -45,9 +45,8 @@ public async Task Get_PreRulesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PreRules_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PreRulesGetMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PreRules_Get_MinimumSet_Gen.json @@ -75,9 +74,8 @@ public async Task Get_PreRulesGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PreRules_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PreRulesCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PreRules_CreateOrUpdate_MaximumSet_Gen.json @@ -181,9 +179,8 @@ public async Task Update_PreRulesCreateOrUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PreRules_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PreRulesCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PreRules_CreateOrUpdate_MinimumSet_Gen.json @@ -213,9 +210,8 @@ public async Task Update_PreRulesCreateOrUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PreRules_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PreRulesDeleteMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PreRules_Delete_MaximumSet_Gen.json @@ -236,12 +232,11 @@ public async Task Delete_PreRulesDeleteMaximumSetGen() // invoke the operation await preRulestackRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PreRules_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PreRulesDeleteMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PreRules_Delete_MinimumSet_Gen.json @@ -262,12 +257,11 @@ public async Task Delete_PreRulesDeleteMinimumSetGen() // invoke the operation await preRulestackRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PreRules_getCounters_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCounters_PreRulesGetCountersMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PreRules_getCounters_MaximumSet_Gen.json @@ -292,9 +286,8 @@ public async Task GetCounters_PreRulesGetCountersMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // PreRules_getCounters_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCounters_PreRulesGetCountersMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PreRules_getCounters_MinimumSet_Gen.json @@ -318,9 +311,8 @@ public async Task GetCounters_PreRulesGetCountersMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // PreRules_refreshCounters_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RefreshCounters_PreRulesRefreshCountersMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PreRules_refreshCounters_MaximumSet_Gen.json @@ -342,12 +334,11 @@ public async Task RefreshCounters_PreRulesRefreshCountersMaximumSetGen() string firewallName = "firewall1"; await preRulestackRule.RefreshCountersAsync(firewallName: firewallName); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PreRules_refreshCounters_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RefreshCounters_PreRulesRefreshCountersMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PreRules_refreshCounters_MinimumSet_Gen.json @@ -368,12 +359,11 @@ public async Task RefreshCounters_PreRulesRefreshCountersMinimumSetGen() // invoke the operation await preRulestackRule.RefreshCountersAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PreRules_resetCounters_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResetCounters_PreRulesResetCountersMaximumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PreRules_resetCounters_MaximumSet_Gen.json @@ -398,9 +388,8 @@ public async Task ResetCounters_PreRulesResetCountersMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // PreRules_resetCounters_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResetCounters_PreRulesResetCountersMinimumSetGen() { // Generated from example definition: specification/paloaltonetworks/resource-manager/PaloAltoNetworks.Cloudngfw/stable/2023-09-01/examples/PreRules_resetCounters_MinimumSet_Gen.json diff --git a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_ConnectionMonitorTestCollection.cs b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_ConnectionMonitorTestCollection.cs index 0d2d4573e9b1c..419b55ec8889d 100644 --- a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_ConnectionMonitorTestCollection.cs +++ b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_ConnectionMonitorTestCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Peering.Samples { public partial class Sample_ConnectionMonitorTestCollection { - // Get Connection Monitor Test - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetConnectionMonitorTest() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetConnectionMonitorTest.json @@ -49,9 +49,8 @@ public async Task Get_GetConnectionMonitorTest() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Connection Monitor Test - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetConnectionMonitorTest() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetConnectionMonitorTest.json @@ -80,9 +79,8 @@ public async Task Exists_GetConnectionMonitorTest() Console.WriteLine($"Succeeded: {result}"); } - // Get Connection Monitor Test - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetConnectionMonitorTest() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetConnectionMonitorTest.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetConnectionMonitorTest() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetConnectionMonitorTest() } } - // Create or Update Connection Monitor Test - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateConnectionMonitorTest() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/CreateOrUpdateConnectionMonitorTest.json @@ -166,9 +163,8 @@ public async Task CreateOrUpdate_CreateOrUpdateConnectionMonitorTest() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all Connection Monitor Tests associated with the peering service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllConnectionMonitorTestsAssociatedWithThePeeringService() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/ListConnectionMonitorTestsByPeeringService.json @@ -200,7 +196,7 @@ public async Task GetAll_ListAllConnectionMonitorTestsAssociatedWithThePeeringSe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_ConnectionMonitorTestResource.cs b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_ConnectionMonitorTestResource.cs index c98291f916dcc..82b279145f43f 100644 --- a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_ConnectionMonitorTestResource.cs +++ b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_ConnectionMonitorTestResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Peering.Samples { public partial class Sample_ConnectionMonitorTestResource { - // Get Connection Monitor Test - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetConnectionMonitorTest() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetConnectionMonitorTest.json @@ -46,9 +46,8 @@ public async Task Get_GetConnectionMonitorTest() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Connection Monitor Test - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateConnectionMonitorTest() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/CreateOrUpdateConnectionMonitorTest.json @@ -86,9 +85,8 @@ public async Task Update_CreateOrUpdateConnectionMonitorTest() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Connection Monitor Test - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteConnectionMonitorTest() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/DeleteConnectionMonitorTest.json @@ -111,7 +109,7 @@ public async Task Delete_DeleteConnectionMonitorTest() // invoke the operation await connectionMonitorTest.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeerAsnCollection.cs b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeerAsnCollection.cs index 017900862f2b6..bb1d8dcbb6475 100644 --- a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeerAsnCollection.cs +++ b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeerAsnCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Peering.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Peering.Samples { public partial class Sample_PeerAsnCollection { - // Get a peer ASN - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPeerASN() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetPeerAsn.json @@ -49,9 +49,8 @@ public async Task Get_GetAPeerASN() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a peer ASN - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAPeerASN() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetPeerAsn.json @@ -78,9 +77,8 @@ public async Task Exists_GetAPeerASN() Console.WriteLine($"Succeeded: {result}"); } - // Get a peer ASN - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAPeerASN() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetPeerAsn.json @@ -107,7 +105,7 @@ public async Task GetIfExists_GetAPeerASN() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -119,9 +117,8 @@ public async Task GetIfExists_GetAPeerASN() } } - // Create a peer ASN - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAPeerASN() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/CreatePeerAsn.json @@ -177,9 +174,8 @@ public async Task CreateOrUpdate_CreateAPeerASN() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List peer ASNs in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPeerASNsInASubscription() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/ListPeerAsnsBySubscription.json @@ -209,7 +205,7 @@ public async Task GetAll_ListPeerASNsInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeerAsnResource.cs b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeerAsnResource.cs index 6a94cc5970b40..411a37722d702 100644 --- a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeerAsnResource.cs +++ b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeerAsnResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Peering.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Peering.Samples { public partial class Sample_PeerAsnResource { - // Get a peer ASN - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPeerASN() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetPeerAsn.json @@ -45,9 +45,8 @@ public async Task Get_GetAPeerASN() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a peer ASN - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAPeerASN() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/CreatePeerAsn.json @@ -100,9 +99,8 @@ public async Task Update_CreateAPeerASN() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a peer ASN - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAPeerASN() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/DeletePeerAsn.json @@ -123,7 +121,7 @@ public async Task Delete_DeleteAPeerASN() // invoke the operation await peerAsn.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringCollection.cs b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringCollection.cs index 7f8a7eca9cdde..4e3bb0966c8c0 100644 --- a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringCollection.cs +++ b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Peering.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Peering.Samples { public partial class Sample_PeeringCollection { - // Get a peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPeering() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetPeering.json @@ -51,9 +51,8 @@ public async Task Get_GetAPeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAPeering() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetPeering.json @@ -81,9 +80,8 @@ public async Task Exists_GetAPeering() Console.WriteLine($"Succeeded: {result}"); } - // Get a peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAPeering() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetPeering.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetAPeering() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetAPeering() } } - // Create a direct peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADirectPeering() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/CreateDirectPeering.json @@ -196,9 +193,8 @@ public async Task CreateOrUpdate_CreateADirectPeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a peering with exchange route server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAPeeringWithExchangeRouteServer() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/CreatePeeringWithExchangeRouteServer.json @@ -262,9 +258,8 @@ public async Task CreateOrUpdate_CreateAPeeringWithExchangeRouteServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an exchange peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnExchangePeering() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/CreateExchangePeering.json @@ -336,9 +331,8 @@ public async Task CreateOrUpdate_CreateAnExchangePeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List peerings in a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPeeringsInAResourceGroup() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/ListPeeringsByResourceGroup.json @@ -369,7 +363,7 @@ public async Task GetAll_ListPeeringsInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringRegisteredAsnCollection.cs b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringRegisteredAsnCollection.cs index 85ab40c1b62eb..29699e2258418 100644 --- a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringRegisteredAsnCollection.cs +++ b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringRegisteredAsnCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Peering.Samples { public partial class Sample_PeeringRegisteredAsnCollection { - // Get a registered ASN associated with the peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARegisteredASNAssociatedWithThePeering() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetRegisteredAsn.json @@ -49,9 +49,8 @@ public async Task Get_GetARegisteredASNAssociatedWithThePeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a registered ASN associated with the peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetARegisteredASNAssociatedWithThePeering() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetRegisteredAsn.json @@ -80,9 +79,8 @@ public async Task Exists_GetARegisteredASNAssociatedWithThePeering() Console.WriteLine($"Succeeded: {result}"); } - // Get a registered ASN associated with the peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetARegisteredASNAssociatedWithThePeering() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetRegisteredAsn.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetARegisteredASNAssociatedWithThePeering() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetARegisteredASNAssociatedWithThePeering() } } - // Create or update a registered ASN for the peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateARegisteredASNForThePeering() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/CreateRegisteredAsn.json @@ -163,9 +160,8 @@ public async Task CreateOrUpdate_CreateOrUpdateARegisteredASNForThePeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all the registered ASNs associated with the peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllTheRegisteredASNsAssociatedWithThePeering() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/ListRegisteredAsnsByPeering.json @@ -197,7 +193,7 @@ public async Task GetAll_ListAllTheRegisteredASNsAssociatedWithThePeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringRegisteredAsnResource.cs b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringRegisteredAsnResource.cs index 7e324e45aa8d5..4c69d679167d1 100644 --- a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringRegisteredAsnResource.cs +++ b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringRegisteredAsnResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Peering.Samples { public partial class Sample_PeeringRegisteredAsnResource { - // Get a registered ASN associated with the peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARegisteredASNAssociatedWithThePeering() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetRegisteredAsn.json @@ -46,9 +46,8 @@ public async Task Get_GetARegisteredASNAssociatedWithThePeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a registered ASN for the peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateARegisteredASNForThePeering() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/CreateRegisteredAsn.json @@ -83,9 +82,8 @@ public async Task Update_CreateOrUpdateARegisteredASNForThePeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a registered ASN associated with the peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesARegisteredASNAssociatedWithThePeering() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/DeleteRegisteredAsn.json @@ -108,7 +106,7 @@ public async Task Delete_DeletesARegisteredASNAssociatedWithThePeering() // invoke the operation await peeringRegisteredAsn.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringRegisteredPrefixCollection.cs b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringRegisteredPrefixCollection.cs index 08654ebea04d6..0ab244e949d52 100644 --- a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringRegisteredPrefixCollection.cs +++ b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringRegisteredPrefixCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Peering.Samples { public partial class Sample_PeeringRegisteredPrefixCollection { - // Get a registered prefix associated with the peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARegisteredPrefixAssociatedWithThePeering() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetRegisteredPrefix.json @@ -49,9 +49,8 @@ public async Task Get_GetARegisteredPrefixAssociatedWithThePeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a registered prefix associated with the peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetARegisteredPrefixAssociatedWithThePeering() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetRegisteredPrefix.json @@ -80,9 +79,8 @@ public async Task Exists_GetARegisteredPrefixAssociatedWithThePeering() Console.WriteLine($"Succeeded: {result}"); } - // Get a registered prefix associated with the peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetARegisteredPrefixAssociatedWithThePeering() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetRegisteredPrefix.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetARegisteredPrefixAssociatedWithThePeering() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetARegisteredPrefixAssociatedWithThePeering() } } - // Create or update a registered prefix for the peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateARegisteredPrefixForThePeering() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/CreateRegisteredPrefix.json @@ -163,9 +160,8 @@ public async Task CreateOrUpdate_CreateOrUpdateARegisteredPrefixForThePeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all the registered prefixes associated with the peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllTheRegisteredPrefixesAssociatedWithThePeering() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/ListRegisteredPrefixesByPeering.json @@ -197,7 +193,7 @@ public async Task GetAll_ListAllTheRegisteredPrefixesAssociatedWithThePeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringRegisteredPrefixResource.cs b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringRegisteredPrefixResource.cs index 7ad3f192b443f..d548e191986f1 100644 --- a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringRegisteredPrefixResource.cs +++ b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringRegisteredPrefixResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Peering.Samples { public partial class Sample_PeeringRegisteredPrefixResource { - // Get a registered prefix associated with the peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARegisteredPrefixAssociatedWithThePeering() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetRegisteredPrefix.json @@ -46,9 +46,8 @@ public async Task Get_GetARegisteredPrefixAssociatedWithThePeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a registered prefix for the peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateARegisteredPrefixForThePeering() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/CreateRegisteredPrefix.json @@ -83,9 +82,8 @@ public async Task Update_CreateOrUpdateARegisteredPrefixForThePeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a registered prefix associated with the peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesARegisteredPrefixAssociatedWithThePeering() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/DeleteRegisteredPrefix.json @@ -108,12 +106,11 @@ public async Task Delete_DeletesARegisteredPrefixAssociatedWithThePeering() // invoke the operation await peeringRegisteredPrefix.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Validate a registered prefix associated with the peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Validate_ValidateARegisteredPrefixAssociatedWithThePeering() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/ValidateRegisteredPrefix.json diff --git a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringResource.cs b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringResource.cs index 1437364a1b21d..357634785220d 100644 --- a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringResource.cs +++ b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Peering.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Peering.Samples { public partial class Sample_PeeringResource { - // Get a peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPeering() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetPeering.json @@ -47,9 +47,8 @@ public async Task Get_GetAPeering() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a peering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAPeering() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/DeletePeering.json @@ -71,12 +70,11 @@ public async Task Delete_DeleteAPeering() // invoke the operation await peering.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update peering tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatePeeringTags() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/UpdatePeeringTags.json @@ -113,9 +111,8 @@ public async Task Update_UpdatePeeringTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List peerings in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPeerings_ListPeeringsInASubscription() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/ListPeeringsBySubscription.json @@ -142,12 +139,11 @@ public async Task GetPeerings_ListPeeringsInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Lists the prefixes received over the specified peering under the given subscription and resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReceivedRoutes_ListsThePrefixesReceivedOverTheSpecifiedPeeringUnderTheGivenSubscriptionAndResourceGroup() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetPeeringReceivedRoutes.json @@ -176,12 +172,11 @@ public async Task GetReceivedRoutes_ListsThePrefixesReceivedOverTheSpecifiedPeer Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List all the RP unbilled prefixes advertised at a particular peering location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRpUnbilledPrefixes_ListAllTheRPUnbilledPrefixesAdvertisedAtAParticularPeeringLocation() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/ListRpUnbilledPrefixes.json @@ -207,7 +202,7 @@ public async Task GetRpUnbilledPrefixes_ListAllTheRPUnbilledPrefixesAdvertisedAt Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringServiceCollection.cs b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringServiceCollection.cs index 36e13b8c8da9a..4832a4f44938d 100644 --- a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringServiceCollection.cs +++ b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringServiceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Peering.Samples { public partial class Sample_PeeringServiceCollection { - // Get a peering service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPeeringService() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetPeeringService.json @@ -49,9 +49,8 @@ public async Task Get_GetAPeeringService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a peering service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAPeeringService() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetPeeringService.json @@ -79,9 +78,8 @@ public async Task Exists_GetAPeeringService() Console.WriteLine($"Succeeded: {result}"); } - // Get a peering service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAPeeringService() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetPeeringService.json @@ -109,7 +107,7 @@ public async Task GetIfExists_GetAPeeringService() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_GetAPeeringService() } } - // Create a peering service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAPeeringService() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/CreatePeeringService.json @@ -163,9 +160,8 @@ public async Task CreateOrUpdate_CreateAPeeringService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List peering services in a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPeeringServicesInAResourceGroup() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/ListPeeringServicesByResourceGroup.json @@ -196,7 +192,7 @@ public async Task GetAll_ListPeeringServicesInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringServicePrefixCollection.cs b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringServicePrefixCollection.cs index 5324743dfda84..8b1b02eeebf7b 100644 --- a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringServicePrefixCollection.cs +++ b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringServicePrefixCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Peering.Samples { public partial class Sample_PeeringServicePrefixCollection { - // Get a prefix associated with the peering service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPrefixAssociatedWithThePeeringService() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetPeeringServicePrefix.json @@ -49,9 +49,8 @@ public async Task Get_GetAPrefixAssociatedWithThePeeringService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a prefix associated with the peering service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAPrefixAssociatedWithThePeeringService() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetPeeringServicePrefix.json @@ -80,9 +79,8 @@ public async Task Exists_GetAPrefixAssociatedWithThePeeringService() Console.WriteLine($"Succeeded: {result}"); } - // Get a prefix associated with the peering service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAPrefixAssociatedWithThePeeringService() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetPeeringServicePrefix.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetAPrefixAssociatedWithThePeeringService() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetAPrefixAssociatedWithThePeeringService() } } - // Create or update a prefix for the peering service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAPrefixForThePeeringService() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/CreatePeeringServicePrefix.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAPrefixForThePeeringService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all the prefixes associated with the peering service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllThePrefixesAssociatedWithThePeeringService() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/ListPrefixesByPeeringService.json @@ -198,7 +194,7 @@ public async Task GetAll_ListAllThePrefixesAssociatedWithThePeeringService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringServicePrefixResource.cs b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringServicePrefixResource.cs index 908b32a920573..a3f1f6cfec5d8 100644 --- a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringServicePrefixResource.cs +++ b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringServicePrefixResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Peering.Samples { public partial class Sample_PeeringServicePrefixResource { - // Get a prefix associated with the peering service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPrefixAssociatedWithThePeeringService() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetPeeringServicePrefix.json @@ -46,9 +46,8 @@ public async Task Get_GetAPrefixAssociatedWithThePeeringService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a prefix for the peering service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAPrefixForThePeeringService() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/CreatePeeringServicePrefix.json @@ -84,9 +83,8 @@ public async Task Update_CreateOrUpdateAPrefixForThePeeringService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a prefix associated with the peering service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAPrefixAssociatedWithThePeeringService() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/DeletePeeringServicePrefix.json @@ -109,7 +107,7 @@ public async Task Delete_DeleteAPrefixAssociatedWithThePeeringService() // invoke the operation await peeringServicePrefix.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringServiceResource.cs b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringServiceResource.cs index 247ab6db3dc9c..70b9d68e32e29 100644 --- a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringServiceResource.cs +++ b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_PeeringServiceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Peering.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Peering.Samples { public partial class Sample_PeeringServiceResource { - // Get a peering service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPeeringService() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/GetPeeringService.json @@ -47,9 +47,8 @@ public async Task Get_GetAPeeringService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a peering service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAPeeringService() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/DeletePeeringService.json @@ -71,12 +70,11 @@ public async Task Delete_DeleteAPeeringService() // invoke the operation await peeringService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update peering service tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatePeeringServiceTags() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/UpdatePeeringServiceTags.json @@ -113,9 +111,8 @@ public async Task Update_UpdatePeeringServiceTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List peering services in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPeeringServices_ListPeeringServicesInASubscription() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/ListPeeringServicesBySubscription.json @@ -142,12 +139,11 @@ public async Task GetPeeringServices_ListPeeringServicesInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Initialize Peering Service for Connection Monitor functionality - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task InitializePeeringServiceConnectionMonitor_InitializePeeringServiceForConnectionMonitorFunctionality() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/InitializeConnectionMonitor.json @@ -167,7 +163,7 @@ public async Task InitializePeeringServiceConnectionMonitor_InitializePeeringSer // invoke the operation await subscriptionResource.InitializePeeringServiceConnectionMonitorAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 65eedc58afea2..b8c86b96cccbe 100644 --- a/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/peering/Azure.ResourceManager.Peering/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Peering.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Peering.Samples { public partial class Sample_SubscriptionResourceExtensions { - // List all the cdn peering prefixes advertised at a particular peering location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCdnPeeringPrefixes_ListAllTheCdnPeeringPrefixesAdvertisedAtAParticularPeeringLocation() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/ListCdnPeeringPrefixes.json @@ -42,12 +42,11 @@ public async Task GetCdnPeeringPrefixes_ListAllTheCdnPeeringPrefixesAdvertisedAt Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Check if peering service provider is available in customer location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckPeeringServiceProviderAvailability_CheckIfPeeringServiceProviderIsAvailableInCustomerLocation() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/CheckServiceProviderAvailability.json @@ -75,9 +74,8 @@ public async Task CheckPeeringServiceProviderAvailability_CheckIfPeeringServiceP Console.WriteLine($"Succeeded: {result}"); } - // List legacy peerings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPeeringsByLegacyPeering_ListLegacyPeerings() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/ListLegacyPeerings.json @@ -107,12 +105,11 @@ public async Task GetPeeringsByLegacyPeering_ListLegacyPeerings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Call looking glass to execute a command - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task InvokeLookingGlass_CallLookingGlassToExecuteACommand() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/LookingGlassInvokeCommand.json @@ -139,9 +136,8 @@ public async Task InvokeLookingGlass_CallLookingGlassToExecuteACommand() Console.WriteLine($"Succeeded: {result}"); } - // List direct peering locations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPeeringLocations_ListDirectPeeringLocations() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/ListDirectPeeringLocations.json @@ -165,12 +161,11 @@ public async Task GetPeeringLocations_ListDirectPeeringLocations() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List exchange peering locations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPeeringLocations_ListExchangePeeringLocations() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/ListExchangePeeringLocations.json @@ -194,12 +189,11 @@ public async Task GetPeeringLocations_ListExchangePeeringLocations() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List peering service countries - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPeeringServiceCountries_ListPeeringServiceCountries() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/ListPeeringServiceCountriesBySubscription.json @@ -222,12 +216,11 @@ public async Task GetPeeringServiceCountries_ListPeeringServiceCountries() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List peering service locations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPeeringServiceLocations_ListPeeringServiceLocations() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/ListPeeringServiceLocationsBySubscription.json @@ -250,12 +243,11 @@ public async Task GetPeeringServiceLocations_ListPeeringServiceLocations() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List peering service providers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPeeringServiceProviders_ListPeeringServiceProviders() { // Generated from example definition: specification/peering/resource-manager/Microsoft.Peering/stable/2022-10-01/examples/ListPeeringServiceProviders.json @@ -278,7 +270,7 @@ public async Task GetPeeringServiceProviders_ListPeeringServiceProviders() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/playwrighttesting/Azure.ResourceManager.PlaywrightTesting/samples/Generated/Samples/Sample_PlaywrightTestingAccountCollection.cs b/sdk/playwrighttesting/Azure.ResourceManager.PlaywrightTesting/samples/Generated/Samples/Sample_PlaywrightTestingAccountCollection.cs index e5322325e219d..7f4425a88943b 100644 --- a/sdk/playwrighttesting/Azure.ResourceManager.PlaywrightTesting/samples/Generated/Samples/Sample_PlaywrightTestingAccountCollection.cs +++ b/sdk/playwrighttesting/Azure.ResourceManager.PlaywrightTesting/samples/Generated/Samples/Sample_PlaywrightTestingAccountCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.PlaywrightTesting.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.PlaywrightTesting.Samples { public partial class Sample_PlaywrightTestingAccountCollection { - // Accounts_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AccountsListByResourceGroup() { // Generated from example definition: specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2023-10-01-preview/examples/Accounts_ListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_AccountsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Accounts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AccountsGet() { // Generated from example definition: specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2023-10-01-preview/examples/Accounts_Get.json @@ -86,9 +85,8 @@ public async Task Get_AccountsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Accounts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AccountsGet() { // Generated from example definition: specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2023-10-01-preview/examples/Accounts_Get.json @@ -116,9 +114,8 @@ public async Task Exists_AccountsGet() Console.WriteLine($"Succeeded: {result}"); } - // Accounts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AccountsGet() { // Generated from example definition: specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2023-10-01-preview/examples/Accounts_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_AccountsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_AccountsGet() } } - // Accounts_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AccountsCreateOrUpdate() { // Generated from example definition: specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2023-10-01-preview/examples/Accounts_CreateOrUpdate.json diff --git a/sdk/playwrighttesting/Azure.ResourceManager.PlaywrightTesting/samples/Generated/Samples/Sample_PlaywrightTestingAccountResource.cs b/sdk/playwrighttesting/Azure.ResourceManager.PlaywrightTesting/samples/Generated/Samples/Sample_PlaywrightTestingAccountResource.cs index 655202019b349..c6541e40bcfcb 100644 --- a/sdk/playwrighttesting/Azure.ResourceManager.PlaywrightTesting/samples/Generated/Samples/Sample_PlaywrightTestingAccountResource.cs +++ b/sdk/playwrighttesting/Azure.ResourceManager.PlaywrightTesting/samples/Generated/Samples/Sample_PlaywrightTestingAccountResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.PlaywrightTesting.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.PlaywrightTesting.Samples { public partial class Sample_PlaywrightTestingAccountResource { - // Accounts_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPlaywrightTestingAccounts_AccountsListBySubscription() { // Generated from example definition: specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2023-10-01-preview/examples/Accounts_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetPlaywrightTestingAccounts_AccountsListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Accounts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AccountsGet() { // Generated from example definition: specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2023-10-01-preview/examples/Accounts_Get.json @@ -79,9 +78,8 @@ public async Task Get_AccountsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Accounts_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AccountsUpdate() { // Generated from example definition: specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2023-10-01-preview/examples/Accounts_Update.json @@ -119,9 +117,8 @@ public async Task Update_AccountsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Accounts_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AccountsDelete() { // Generated from example definition: specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2023-10-01-preview/examples/Accounts_Delete.json @@ -143,7 +140,7 @@ public async Task Delete_AccountsDelete() // invoke the operation await playwrightTestingAccount.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/playwrighttesting/Azure.ResourceManager.PlaywrightTesting/samples/Generated/Samples/Sample_PlaywrightTestingQuotaCollection.cs b/sdk/playwrighttesting/Azure.ResourceManager.PlaywrightTesting/samples/Generated/Samples/Sample_PlaywrightTestingQuotaCollection.cs index 4ff945d4dab74..948ca1b2e0053 100644 --- a/sdk/playwrighttesting/Azure.ResourceManager.PlaywrightTesting/samples/Generated/Samples/Sample_PlaywrightTestingQuotaCollection.cs +++ b/sdk/playwrighttesting/Azure.ResourceManager.PlaywrightTesting/samples/Generated/Samples/Sample_PlaywrightTestingQuotaCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.PlaywrightTesting.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.PlaywrightTesting.Samples { public partial class Sample_PlaywrightTestingQuotaCollection { - // Quotas_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_QuotasListBySubscription() { // Generated from example definition: specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2023-10-01-preview/examples/Quotas_ListBySubscription.json @@ -49,12 +49,11 @@ public async Task GetAll_QuotasListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Quotas_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotasGet() { // Generated from example definition: specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2023-10-01-preview/examples/Quotas_Get.json @@ -86,9 +85,8 @@ public async Task Get_QuotasGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Quotas_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_QuotasGet() { // Generated from example definition: specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2023-10-01-preview/examples/Quotas_Get.json @@ -116,9 +114,8 @@ public async Task Exists_QuotasGet() Console.WriteLine($"Succeeded: {result}"); } - // Quotas_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_QuotasGet() { // Generated from example definition: specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2023-10-01-preview/examples/Quotas_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_QuotasGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/playwrighttesting/Azure.ResourceManager.PlaywrightTesting/samples/Generated/Samples/Sample_PlaywrightTestingQuotaResource.cs b/sdk/playwrighttesting/Azure.ResourceManager.PlaywrightTesting/samples/Generated/Samples/Sample_PlaywrightTestingQuotaResource.cs index fe954d0c1bb3a..2268453872cb5 100644 --- a/sdk/playwrighttesting/Azure.ResourceManager.PlaywrightTesting/samples/Generated/Samples/Sample_PlaywrightTestingQuotaResource.cs +++ b/sdk/playwrighttesting/Azure.ResourceManager.PlaywrightTesting/samples/Generated/Samples/Sample_PlaywrightTestingQuotaResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PlaywrightTesting.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PlaywrightTesting.Samples { public partial class Sample_PlaywrightTestingQuotaResource { - // Quotas_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotasGet() { // Generated from example definition: specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2023-10-01-preview/examples/Quotas_Get.json diff --git a/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_ManagementGroupResourceExtensions.cs b/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_ManagementGroupResourceExtensions.cs index f09500804ded7..87ca228800f42 100644 --- a/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_ManagementGroupResourceExtensions.cs +++ b/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_ManagementGroupResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagementGroups; using Azure.ResourceManager.PolicyInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PolicyInsights.Samples { public partial class Sample_ManagementGroupResourceExtensions { - // Query at management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyTrackedResourceQueryResults_QueryAtManagementGroupScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryManagementGroupScope.json @@ -42,12 +42,11 @@ public async Task GetPolicyTrackedResourceQueryResults_QueryAtManagementGroupSco Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Query at management group scope using query parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyTrackedResourceQueryResults_QueryAtManagementGroupScopeUsingQueryParameters() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryManagementGroupScopeWithFilterAndTop.json @@ -71,12 +70,11 @@ public async Task GetPolicyTrackedResourceQueryResults_QueryAtManagementGroupSco Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Query at management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyEventQueryResults_QueryAtManagementGroupScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyEvents_QueryManagementGroupScope.json @@ -100,12 +98,11 @@ public async Task GetPolicyEventQueryResults_QueryAtManagementGroupScope() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Query at management group scope with next link - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyEventQueryResults_QueryAtManagementGroupScopeWithNextLink() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyEvents_QueryManagementGroupScopeNextLink.json @@ -129,12 +126,11 @@ public async Task GetPolicyEventQueryResults_QueryAtManagementGroupScopeWithNext Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Query latest at management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyStateQueryResults_QueryLatestAtManagementGroupScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_QueryManagementGroupScope.json @@ -158,12 +154,11 @@ public async Task GetPolicyStateQueryResults_QueryLatestAtManagementGroupScope() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Query latest at management group scope with next link - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyStateQueryResults_QueryLatestAtManagementGroupScopeWithNextLink() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_QueryManagementGroupScopeNextLink.json @@ -187,12 +182,11 @@ public async Task GetPolicyStateQueryResults_QueryLatestAtManagementGroupScopeWi Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Summarize at management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SummarizePolicyStates_SummarizeAtManagementGroupScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_SummarizeManagementGroupScope.json @@ -216,12 +210,11 @@ public async Task SummarizePolicyStates_SummarizeAtManagementGroupScope() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Check policy restrictions at management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckPolicyRestrictions_CheckPolicyRestrictionsAtManagementGroupScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2022-03-01/examples/PolicyRestrictions_CheckAtManagementGroupScope.json diff --git a/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_PolicyAttestationCollection.cs b/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_PolicyAttestationCollection.cs index 92948a2fdf77d..38fd10e63f328 100644 --- a/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_PolicyAttestationCollection.cs +++ b/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_PolicyAttestationCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PolicyInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PolicyInsights.Samples { public partial class Sample_PolicyAttestationCollection { - // List attestations at individual resource scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAttestationsAtIndividualResourceScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2022-09-01/examples/Attestations_ListResourceScope.json @@ -47,12 +47,11 @@ public async Task GetAll_ListAttestationsAtIndividualResourceScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List attestations at individual resource scope with query parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAttestationsAtIndividualResourceScopeWithQueryParameters() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2022-09-01/examples/Attestations_ListResourceScope_WithQuery.json @@ -81,12 +80,11 @@ public async Task GetAll_ListAttestationsAtIndividualResourceScopeWithQueryParam Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create attestation at individual resource scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAttestationAtIndividualResourceScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2022-09-01/examples/Attestations_CreateResourceScope.json @@ -138,9 +136,8 @@ public async Task CreateOrUpdate_CreateAttestationAtIndividualResourceScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get attestation at individual resource scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAttestationAtIndividualResourceScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2022-09-01/examples/Attestations_GetResourceScope.json @@ -170,9 +167,8 @@ public async Task Get_GetAttestationAtIndividualResourceScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get attestation at individual resource scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAttestationAtIndividualResourceScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2022-09-01/examples/Attestations_GetResourceScope.json @@ -198,9 +194,8 @@ public async Task Exists_GetAttestationAtIndividualResourceScope() Console.WriteLine($"Succeeded: {result}"); } - // Get attestation at individual resource scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAttestationAtIndividualResourceScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2022-09-01/examples/Attestations_GetResourceScope.json @@ -226,7 +221,7 @@ public async Task GetIfExists_GetAttestationAtIndividualResourceScope() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_PolicyAttestationResource.cs b/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_PolicyAttestationResource.cs index bc1be8602a2f1..7fbb375c993ec 100644 --- a/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_PolicyAttestationResource.cs +++ b/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_PolicyAttestationResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PolicyInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PolicyInsights.Samples { public partial class Sample_PolicyAttestationResource { - // Create attestation at individual resource scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAttestationAtIndividualResourceScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2022-09-01/examples/Attestations_CreateResourceScope.json @@ -68,9 +68,8 @@ public async Task Update_CreateAttestationAtIndividualResourceScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get attestation at individual resource scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAttestationAtIndividualResourceScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2022-09-01/examples/Attestations_GetResourceScope.json @@ -98,9 +97,8 @@ public async Task Get_GetAttestationAtIndividualResourceScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete attestation at individual resource scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAttestationAtIndividualResourceScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2022-09-01/examples/Attestations_DeleteResourceScope.json @@ -121,7 +119,7 @@ public async Task Delete_DeleteAttestationAtIndividualResourceScope() // invoke the operation await policyAttestation.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_PolicyMetadataCollection.cs b/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_PolicyMetadataCollection.cs index b226f76fba24b..558580ee06372 100644 --- a/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_PolicyMetadataCollection.cs +++ b/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_PolicyMetadataCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PolicyInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PolicyInsights.Samples { public partial class Sample_PolicyMetadataCollection { - // Get a single policy metadata resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASinglePolicyMetadataResource() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyMetadata_GetResource.json @@ -46,9 +46,8 @@ public async Task Get_GetASinglePolicyMetadataResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a single policy metadata resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetASinglePolicyMetadataResource() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyMetadata_GetResource.json @@ -73,9 +72,8 @@ public async Task Exists_GetASinglePolicyMetadataResource() Console.WriteLine($"Succeeded: {result}"); } - // Get a single policy metadata resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetASinglePolicyMetadataResource() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyMetadata_GetResource.json @@ -100,7 +98,7 @@ public async Task GetIfExists_GetASinglePolicyMetadataResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -112,9 +110,8 @@ public async Task GetIfExists_GetASinglePolicyMetadataResource() } } - // Get collection of policy metadata resources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetCollectionOfPolicyMetadataResources() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyMetadata_List.json @@ -138,12 +135,11 @@ public async Task GetAll_GetCollectionOfPolicyMetadataResources() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get collection of policy metadata resources using top query parameter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetCollectionOfPolicyMetadataResourcesUsingTopQueryParameter() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyMetadata_List_WithTop.json @@ -167,7 +163,7 @@ public async Task GetAll_GetCollectionOfPolicyMetadataResourcesUsingTopQueryPara Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_PolicyMetadataResource.cs b/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_PolicyMetadataResource.cs index a9879bd44b366..f718cd9391d43 100644 --- a/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_PolicyMetadataResource.cs +++ b/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_PolicyMetadataResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PolicyInsights.Samples { public partial class Sample_PolicyMetadataResource { - // Get a single policy metadata resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASinglePolicyMetadataResource() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyMetadata_GetResource.json diff --git a/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_PolicyRemediationCollection.cs b/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_PolicyRemediationCollection.cs index 1dd443764d90f..96290e0f52dc3 100644 --- a/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_PolicyRemediationCollection.cs +++ b/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_PolicyRemediationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PolicyInsights.Samples { public partial class Sample_PolicyRemediationCollection { - // List remediations at individual resource scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRemediationsAtIndividualResourceScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListResourceScope.json @@ -45,12 +45,11 @@ public async Task GetAll_ListRemediationsAtIndividualResourceScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List remediations at individual resource scope with query parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRemediationsAtIndividualResourceScopeWithQueryParameters() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListResourceScope_WithQuery.json @@ -79,12 +78,11 @@ public async Task GetAll_ListRemediationsAtIndividualResourceScopeWithQueryParam Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create remediation at individual resource scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateRemediationAtIndividualResourceScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CreateResourceScope.json @@ -119,9 +117,8 @@ public async Task CreateOrUpdate_CreateRemediationAtIndividualResourceScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get remediation at individual resource scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRemediationAtIndividualResourceScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_GetResourceScope.json @@ -151,9 +148,8 @@ public async Task Get_GetRemediationAtIndividualResourceScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get remediation at individual resource scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRemediationAtIndividualResourceScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_GetResourceScope.json @@ -179,9 +175,8 @@ public async Task Exists_GetRemediationAtIndividualResourceScope() Console.WriteLine($"Succeeded: {result}"); } - // Get remediation at individual resource scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRemediationAtIndividualResourceScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_GetResourceScope.json @@ -207,7 +202,7 @@ public async Task GetIfExists_GetRemediationAtIndividualResourceScope() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_PolicyRemediationResource.cs b/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_PolicyRemediationResource.cs index 52c1b6367032b..180ca304769f3 100644 --- a/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_PolicyRemediationResource.cs +++ b/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_PolicyRemediationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PolicyInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PolicyInsights.Samples { public partial class Sample_PolicyRemediationResource { - // List deployments for a remediation at individual resource scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeployments_ListDeploymentsForARemediationAtIndividualResourceScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_ListDeploymentsResourceScope.json @@ -41,12 +41,11 @@ public async Task GetDeployments_ListDeploymentsForARemediationAtIndividualResou Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Cancel a remediation at individual resource scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cancel_CancelARemediationAtIndividualResourceScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CancelResourceScope.json @@ -74,9 +73,8 @@ public async Task Cancel_CancelARemediationAtIndividualResourceScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create remediation at individual resource scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateRemediationAtIndividualResourceScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_CreateResourceScope.json @@ -109,9 +107,8 @@ public async Task Update_CreateRemediationAtIndividualResourceScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get remediation at individual resource scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRemediationAtIndividualResourceScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_GetResourceScope.json @@ -139,9 +136,8 @@ public async Task Get_GetRemediationAtIndividualResourceScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete remediation at individual resource scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteRemediationAtIndividualResourceScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2021-10-01/examples/Remediations_DeleteResourceScope.json diff --git a/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs b/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs index 9c6e3e1670cf2..ad6109536a83d 100644 --- a/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs +++ b/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.PolicyInsights.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.PolicyInsights.Samples { public partial class Sample_ResourceGroupResourceExtensions { - // Query at resource group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyTrackedResourceQueryResults_QueryAtResourceGroupScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryResourceGroupScope.json @@ -44,12 +44,11 @@ public async Task GetPolicyTrackedResourceQueryResults_QueryAtResourceGroupScope Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Query at resource group scope using query parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyTrackedResourceQueryResults_QueryAtResourceGroupScopeUsingQueryParameters() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QueryResourceGroupScopeWithFilterAndTop.json @@ -74,12 +73,11 @@ public async Task GetPolicyTrackedResourceQueryResults_QueryAtResourceGroupScope Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Query at resource group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyEventQueryResults_QueryAtResourceGroupScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyEvents_QueryResourceGroupScope.json @@ -104,12 +102,11 @@ public async Task GetPolicyEventQueryResults_QueryAtResourceGroupScope() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Query at resource group scope with next link - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyEventQueryResults_QueryAtResourceGroupScopeWithNextLink() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyEvents_QueryResourceGroupScopeNextLink.json @@ -134,12 +131,11 @@ public async Task GetPolicyEventQueryResults_QueryAtResourceGroupScopeWithNextLi Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Query latest at resource group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyStateQueryResults_QueryLatestAtResourceGroupScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_QueryResourceGroupScope.json @@ -164,12 +160,11 @@ public async Task GetPolicyStateQueryResults_QueryLatestAtResourceGroupScope() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Query latest at resource group scope with next link - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyStateQueryResults_QueryLatestAtResourceGroupScopeWithNextLink() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_QueryResourceGroupScopeNextLink.json @@ -194,12 +189,11 @@ public async Task GetPolicyStateQueryResults_QueryLatestAtResourceGroupScopeWith Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Summarize at resource group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SummarizePolicyStates_SummarizeAtResourceGroupScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_SummarizeResourceGroupScope.json @@ -224,12 +218,11 @@ public async Task SummarizePolicyStates_SummarizeAtResourceGroupScope() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Trigger evaluations for all resources in a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TriggerPolicyStateEvaluation_TriggerEvaluationsForAllResourcesInAResourceGroup() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_TriggerResourceGroupEvaluation.json @@ -250,12 +243,11 @@ public async Task TriggerPolicyStateEvaluation_TriggerEvaluationsForAllResources // invoke the operation await resourceGroupResource.TriggerPolicyStateEvaluationAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Check policy restrictions at resource group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckPolicyRestrictions_CheckPolicyRestrictionsAtResourceGroupScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2022-03-01/examples/PolicyRestrictions_CheckAtResourceGroupScope.json diff --git a/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index cc6722b584b1e..3d2455300c846 100644 --- a/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/policyinsights/Azure.ResourceManager.PolicyInsights/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.PolicyInsights.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.PolicyInsights.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Query at subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyTrackedResourceQueryResults_QueryAtSubscriptionScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QuerySubscriptionScope.json @@ -43,12 +43,11 @@ public async Task GetPolicyTrackedResourceQueryResults_QueryAtSubscriptionScope( Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Query at subscription scope using query parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyTrackedResourceQueryResults_QueryAtSubscriptionScopeUsingQueryParameters() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/examples/PolicyTrackedResources_QuerySubscriptionScopeWithFilterAndTop.json @@ -72,12 +71,11 @@ public async Task GetPolicyTrackedResourceQueryResults_QueryAtSubscriptionScopeU Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Filter and aggregate only - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyEventQueryResults_FilterAndAggregateOnly() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyEvents_FilterAndAggregateOnly.json @@ -101,12 +99,11 @@ public async Task GetPolicyEventQueryResults_FilterAndAggregateOnly() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Filter and group with aggregate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyEventQueryResults_FilterAndGroupWithAggregate() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyEvents_FilterAndGroupByWithAggregate.json @@ -130,12 +127,11 @@ public async Task GetPolicyEventQueryResults_FilterAndGroupWithAggregate() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Filter and group without aggregate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyEventQueryResults_FilterAndGroupWithoutAggregate() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json @@ -159,12 +155,11 @@ public async Task GetPolicyEventQueryResults_FilterAndGroupWithoutAggregate() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Filter and multiple groups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyEventQueryResults_FilterAndMultipleGroups() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyEvents_FilterAndMultipleGroups.json @@ -188,12 +183,11 @@ public async Task GetPolicyEventQueryResults_FilterAndMultipleGroups() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Query at subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyEventQueryResults_QueryAtSubscriptionScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyEvents_QuerySubscriptionScope.json @@ -217,12 +211,11 @@ public async Task GetPolicyEventQueryResults_QueryAtSubscriptionScope() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Query at subscription scope with next link - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyEventQueryResults_QueryAtSubscriptionScopeWithNextLink() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyEvents_QuerySubscriptionScopeNextLink.json @@ -246,12 +239,11 @@ public async Task GetPolicyEventQueryResults_QueryAtSubscriptionScopeWithNextLin Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Time range; sort, select and limit - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyEventQueryResults_TimeRangeSortSelectAndLimit() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyEvents_TimeRangeSortSelectTop.json @@ -275,12 +267,11 @@ public async Task GetPolicyEventQueryResults_TimeRangeSortSelectAndLimit() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Filter and aggregate only - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyStateQueryResults_FilterAndAggregateOnly() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_FilterAndAggregateOnly.json @@ -304,12 +295,11 @@ public async Task GetPolicyStateQueryResults_FilterAndAggregateOnly() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Filter and group with aggregate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyStateQueryResults_FilterAndGroupWithAggregate() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_FilterAndGroupByWithAggregate.json @@ -333,12 +323,11 @@ public async Task GetPolicyStateQueryResults_FilterAndGroupWithAggregate() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Filter and group without aggregate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyStateQueryResults_FilterAndGroupWithoutAggregate() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_FilterAndGroupByWithoutAggregate.json @@ -362,12 +351,11 @@ public async Task GetPolicyStateQueryResults_FilterAndGroupWithoutAggregate() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Filter and multiple groups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyStateQueryResults_FilterAndMultipleGroups() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_FilterAndMultipleGroups.json @@ -391,12 +379,11 @@ public async Task GetPolicyStateQueryResults_FilterAndMultipleGroups() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Query latest at subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyStateQueryResults_QueryLatestAtSubscriptionScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_QuerySubscriptionScope.json @@ -420,12 +407,11 @@ public async Task GetPolicyStateQueryResults_QueryLatestAtSubscriptionScope() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Query latest at subscription scope with next link - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyStateQueryResults_QueryLatestAtSubscriptionScopeWithNextLink() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_QuerySubscriptionScopeNextLink.json @@ -449,12 +435,11 @@ public async Task GetPolicyStateQueryResults_QueryLatestAtSubscriptionScopeWithN Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Time range; sort, select and limit - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPolicyStateQueryResults_TimeRangeSortSelectAndLimit() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_TimeRangeSortSelectTop.json @@ -478,12 +463,11 @@ public async Task GetPolicyStateQueryResults_TimeRangeSortSelectAndLimit() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Summarize at subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SummarizePolicyStates_SummarizeAtSubscriptionScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_SummarizeSubscriptionScope.json @@ -507,12 +491,11 @@ public async Task SummarizePolicyStates_SummarizeAtSubscriptionScope() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Summarize at subscription scope for a policy definition group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SummarizePolicyStates_SummarizeAtSubscriptionScopeForAPolicyDefinitionGroup() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_SummarizeSubscriptionScopeForPolicyGroup.json @@ -536,12 +519,11 @@ public async Task SummarizePolicyStates_SummarizeAtSubscriptionScopeForAPolicyDe Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Trigger evaluations for all resources in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TriggerPolicyStateEvaluation_TriggerEvaluationsForAllResourcesInASubscription() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/examples/PolicyStates_TriggerSubscriptionEvaluation.json @@ -561,12 +543,11 @@ public async Task TriggerPolicyStateEvaluation_TriggerEvaluationsForAllResources // invoke the operation await subscriptionResource.TriggerPolicyStateEvaluationAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Check policy restrictions at subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckPolicyRestrictions_CheckPolicyRestrictionsAtSubscriptionScope() { // Generated from example definition: specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2022-03-01/examples/PolicyRestrictions_CheckAtSubscriptionScope.json diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlConfigurationCollection.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlConfigurationCollection.cs index f9e15a33e9398..258b0c8754297 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlConfigurationCollection.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlConfigurationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.Samples { public partial class Sample_PostgreSqlConfigurationCollection { - // ConfigurationCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ConfigurationCreateOrUpdate() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ConfigurationCreateOrUpdate.json @@ -55,9 +55,8 @@ public async Task CreateOrUpdate_ConfigurationCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConfigurationGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ConfigurationGet.json @@ -90,9 +89,8 @@ public async Task Get_ConfigurationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ConfigurationGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ConfigurationGet.json @@ -121,9 +119,8 @@ public async Task Exists_ConfigurationGet() Console.WriteLine($"Succeeded: {result}"); } - // ConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ConfigurationGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ConfigurationGet.json @@ -152,7 +149,7 @@ public async Task GetIfExists_ConfigurationGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_ConfigurationGet() } } - // ConfigurationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ConfigurationList() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ConfigurationListByServer.json @@ -198,7 +194,7 @@ public async Task GetAll_ConfigurationList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlConfigurationResource.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlConfigurationResource.cs index f5233ed82bf3b..52303a2069fb0 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlConfigurationResource.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlConfigurationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.Samples { public partial class Sample_PostgreSqlConfigurationResource { - // ConfigurationCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ConfigurationCreateOrUpdate() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ConfigurationCreateOrUpdate.json @@ -52,9 +52,8 @@ public async Task Update_ConfigurationCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConfigurationGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ConfigurationGet.json diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlDatabaseCollection.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlDatabaseCollection.cs index ef4bbfe3af0be..e08bdc5e2ed21 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlDatabaseCollection.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlDatabaseCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.Samples { public partial class Sample_PostgreSqlDatabaseCollection { - // DatabaseCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DatabaseCreate() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/DatabaseCreate.json @@ -55,9 +55,8 @@ public async Task CreateOrUpdate_DatabaseCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DatabaseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DatabaseGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/DatabaseGet.json @@ -90,9 +89,8 @@ public async Task Get_DatabaseGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DatabaseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DatabaseGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/DatabaseGet.json @@ -121,9 +119,8 @@ public async Task Exists_DatabaseGet() Console.WriteLine($"Succeeded: {result}"); } - // DatabaseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DatabaseGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/DatabaseGet.json @@ -152,7 +149,7 @@ public async Task GetIfExists_DatabaseGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_DatabaseGet() } } - // DatabaseList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DatabaseList() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/DatabaseListByServer.json @@ -198,7 +194,7 @@ public async Task GetAll_DatabaseList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlDatabaseResource.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlDatabaseResource.cs index c70dd89460875..87b1446349110 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlDatabaseResource.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlDatabaseResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.Samples { public partial class Sample_PostgreSqlDatabaseResource { - // DatabaseCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DatabaseCreate() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/DatabaseCreate.json @@ -52,9 +52,8 @@ public async Task Update_DatabaseCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DatabaseDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DatabaseDelete() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/DatabaseDelete.json @@ -77,12 +76,11 @@ public async Task Delete_DatabaseDelete() // invoke the operation await postgreSqlDatabase.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DatabaseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DatabaseGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/DatabaseGet.json diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFirewallRuleCollection.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFirewallRuleCollection.cs index 0a8599c83c220..e4e2a6e7716f9 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFirewallRuleCollection.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFirewallRuleCollection.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.Samples { public partial class Sample_PostgreSqlFirewallRuleCollection { - // FirewallRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_FirewallRuleCreate() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/FirewallRuleCreate.json @@ -52,9 +52,8 @@ public async Task CreateOrUpdate_FirewallRuleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FirewallRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FirewallRuleGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/FirewallRuleGet.json @@ -87,9 +86,8 @@ public async Task Get_FirewallRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FirewallRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_FirewallRuleGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/FirewallRuleGet.json @@ -118,9 +116,8 @@ public async Task Exists_FirewallRuleGet() Console.WriteLine($"Succeeded: {result}"); } - // FirewallRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_FirewallRuleGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/FirewallRuleGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_FirewallRuleGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_FirewallRuleGet() } } - // FirewallRuleList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_FirewallRuleList() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/FirewallRuleListByServer.json @@ -195,7 +191,7 @@ public async Task GetAll_FirewallRuleList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFirewallRuleResource.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFirewallRuleResource.cs index 837fc8df4fadb..e208ddf12da38 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFirewallRuleResource.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFirewallRuleResource.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.Samples { public partial class Sample_PostgreSqlFirewallRuleResource { - // FirewallRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_FirewallRuleCreate() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/FirewallRuleCreate.json @@ -49,9 +49,8 @@ public async Task Update_FirewallRuleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FirewallRuleDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_FirewallRuleDelete() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/FirewallRuleDelete.json @@ -74,12 +73,11 @@ public async Task Delete_FirewallRuleDelete() // invoke the operation await postgreSqlFirewallRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // FirewallRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FirewallRuleGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/FirewallRuleGet.json diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerActiveDirectoryAdministratorCollection.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerActiveDirectoryAdministratorCollection.cs index 07ad14e15cce9..307280a6ff0f3 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerActiveDirectoryAdministratorCollection.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerActiveDirectoryAdministratorCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PostgreSql.FlexibleServers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_PostgreSqlFlexibleServerActiveDirectoryAdministratorCollection { - // Adds an Active DIrectory Administrator for the server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AddsAnActiveDIrectoryAdministratorForTheServer() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/AdministratorAdd.json @@ -57,9 +57,8 @@ public async Task CreateOrUpdate_AddsAnActiveDIrectoryAdministratorForTheServer( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServerGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/AdministratorGet.json @@ -92,9 +91,8 @@ public async Task Get_ServerGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ServerGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/AdministratorGet.json @@ -123,9 +121,8 @@ public async Task Exists_ServerGet() Console.WriteLine($"Succeeded: {result}"); } - // ServerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ServerGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/AdministratorGet.json @@ -154,7 +151,7 @@ public async Task GetIfExists_ServerGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -166,9 +163,8 @@ public async Task GetIfExists_ServerGet() } } - // AdministratorsListByServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AdministratorsListByServer() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/AdministratorsListByServer.json @@ -200,7 +196,7 @@ public async Task GetAll_AdministratorsListByServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerActiveDirectoryAdministratorResource.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerActiveDirectoryAdministratorResource.cs index 0cb95afe9bc60..5cd7790f2bf1c 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerActiveDirectoryAdministratorResource.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerActiveDirectoryAdministratorResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PostgreSql.FlexibleServers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_PostgreSqlFlexibleServerActiveDirectoryAdministratorResource { - // Adds an Active DIrectory Administrator for the server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AddsAnActiveDIrectoryAdministratorForTheServer() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/AdministratorAdd.json @@ -54,9 +54,8 @@ public async Task Update_AddsAnActiveDIrectoryAdministratorForTheServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AdministratorDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AdministratorDelete() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/AdministratorDelete.json @@ -79,12 +78,11 @@ public async Task Delete_AdministratorDelete() // invoke the operation await postgreSqlFlexibleServerActiveDirectoryAdministrator.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ServerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServerGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/AdministratorGet.json diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerBackupCollection.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerBackupCollection.cs index 5fd63817392d0..1c56a902b0c49 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerBackupCollection.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerBackupCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_PostgreSqlFlexibleServerBackupCollection { - // Create a new Backup for a flexible server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateANewBackupForAFlexibleServer() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/BackupCreate.json @@ -50,9 +50,8 @@ public async Task CreateOrUpdate_CreateANewBackupForAFlexibleServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a backup for a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetABackupForAServer() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/BackupGet.json @@ -85,9 +84,8 @@ public async Task Get_GetABackupForAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a backup for a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetABackupForAServer() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/BackupGet.json @@ -116,9 +114,8 @@ public async Task Exists_GetABackupForAServer() Console.WriteLine($"Succeeded: {result}"); } - // Get a backup for a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetABackupForAServer() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/BackupGet.json @@ -147,7 +144,7 @@ public async Task GetIfExists_GetABackupForAServer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_GetABackupForAServer() } } - // List backups for a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListBackupsForAServer() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/BackupListByServer.json @@ -193,7 +189,7 @@ public async Task GetAll_ListBackupsForAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerBackupResource.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerBackupResource.cs index 2410992f2caa5..50021efe0f498 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerBackupResource.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerBackupResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_PostgreSqlFlexibleServerBackupResource { - // Create a new Backup for a flexible server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateANewBackupForAFlexibleServer() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/BackupCreate.json @@ -47,9 +47,8 @@ public async Task Update_CreateANewBackupForAFlexibleServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a specific backup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteASpecificBackup() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/BackupDelete.json @@ -72,12 +71,11 @@ public async Task Delete_DeleteASpecificBackup() // invoke the operation await postgreSqlFlexibleServerBackup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a backup for a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetABackupForAServer() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/BackupGet.json diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerCollection.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerCollection.cs index bf8b9b4a6d687..251b05890adbd 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerCollection.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.PostgreSql.FlexibleServers.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_PostgreSqlFlexibleServerCollection { - // Create a database as a geo-restore in geo-paired location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADatabaseAsAGeoRestoreInGeoPairedLocation() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerCreateGeoRestoreWithDataEncryptionEnabled.json @@ -74,9 +74,8 @@ public async Task CreateOrUpdate_CreateADatabaseAsAGeoRestoreInGeoPairedLocation Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a database as a point in time restore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADatabaseAsAPointInTimeRestore() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerCreatePointInTimeRestore.json @@ -115,9 +114,8 @@ public async Task CreateOrUpdate_CreateADatabaseAsAPointInTimeRestore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a new server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateANewServer() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerCreate.json @@ -183,9 +181,8 @@ public async Task CreateOrUpdate_CreateANewServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a new server with active directory authentication enabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateANewServerWithActiveDirectoryAuthenticationEnabled() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerCreateWithAadAuthEnabled.json @@ -261,9 +258,8 @@ public async Task CreateOrUpdate_CreateANewServerWithActiveDirectoryAuthenticati Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerCreateReplica - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ServerCreateReplica() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerCreateReplica.json @@ -317,9 +313,8 @@ public async Task CreateOrUpdate_ServerCreateReplica() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerCreateReviveDropped - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ServerCreateReviveDropped() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerCreateReviveDropped.json @@ -358,9 +353,8 @@ public async Task CreateOrUpdate_ServerCreateReviveDropped() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerCreateWithDataEncryptionEnabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ServerCreateWithDataEncryptionEnabled() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerCreateWithDataEncryptionEnabled.json @@ -440,9 +434,8 @@ public async Task CreateOrUpdate_ServerCreateWithDataEncryptionEnabled() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServerGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerGet.json @@ -474,9 +467,8 @@ public async Task Get_ServerGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ServerGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerGet.json @@ -504,9 +496,8 @@ public async Task Exists_ServerGet() Console.WriteLine($"Succeeded: {result}"); } - // ServerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ServerGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerGet.json @@ -534,7 +525,7 @@ public async Task GetIfExists_ServerGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -546,9 +537,8 @@ public async Task GetIfExists_ServerGet() } } - // ServerGetWithPrivateEndpoints - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServerGetWithPrivateEndpoints() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerGetWithPrivateEndpoints.json @@ -580,9 +570,8 @@ public async Task Get_ServerGetWithPrivateEndpoints() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerGetWithPrivateEndpoints - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ServerGetWithPrivateEndpoints() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerGetWithPrivateEndpoints.json @@ -610,9 +599,8 @@ public async Task Exists_ServerGetWithPrivateEndpoints() Console.WriteLine($"Succeeded: {result}"); } - // ServerGetWithPrivateEndpoints - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ServerGetWithPrivateEndpoints() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerGetWithPrivateEndpoints.json @@ -640,7 +628,7 @@ public async Task GetIfExists_ServerGetWithPrivateEndpoints() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -652,9 +640,8 @@ public async Task GetIfExists_ServerGetWithPrivateEndpoints() } } - // ServerGetWithVnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServerGetWithVnet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerGetWithVnet.json @@ -686,9 +673,8 @@ public async Task Get_ServerGetWithVnet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerGetWithVnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ServerGetWithVnet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerGetWithVnet.json @@ -716,9 +702,8 @@ public async Task Exists_ServerGetWithVnet() Console.WriteLine($"Succeeded: {result}"); } - // ServerGetWithVnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ServerGetWithVnet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerGetWithVnet.json @@ -746,7 +731,7 @@ public async Task GetIfExists_ServerGetWithVnet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -758,9 +743,8 @@ public async Task GetIfExists_ServerGetWithVnet() } } - // ServerListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ServerListByResourceGroup() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerListByResourceGroup.json @@ -791,12 +775,11 @@ public async Task GetAll_ServerListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ReplicasListByServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReplicas_ReplicasListByServer() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ReplicasListByServer.json @@ -828,7 +811,7 @@ public async Task GetReplicas_ReplicasListByServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerConfigurationCollection.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerConfigurationCollection.cs index fbe8addc0e5ba..7a3246f1512c3 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerConfigurationCollection.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerConfigurationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_PostgreSqlFlexibleServerConfigurationCollection { - // ConfigurationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ConfigurationList() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ConfigurationListByServer.json @@ -48,12 +48,11 @@ public async Task GetAll_ConfigurationList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConfigurationGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ConfigurationGet.json @@ -86,9 +85,8 @@ public async Task Get_ConfigurationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ConfigurationGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ConfigurationGet.json @@ -117,9 +115,8 @@ public async Task Exists_ConfigurationGet() Console.WriteLine($"Succeeded: {result}"); } - // ConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ConfigurationGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ConfigurationGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_ConfigurationGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_ConfigurationGet() } } - // Update a user configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAUserConfiguration() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ConfigurationUpdate.json diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerConfigurationResource.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerConfigurationResource.cs index 86ca28f5b0cc3..acab8d8ad9180 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerConfigurationResource.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerConfigurationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_PostgreSqlFlexibleServerConfigurationResource { - // ConfigurationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConfigurationGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ConfigurationGet.json @@ -46,9 +46,8 @@ public async Task Get_ConfigurationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a user configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAUserConfiguration() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ConfigurationUpdate.json diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerDatabaseCollection.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerDatabaseCollection.cs index 421864c43d23b..608acc10f9dad 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerDatabaseCollection.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerDatabaseCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_PostgreSqlFlexibleServerDatabaseCollection { - // Create a database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADatabase() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/DatabaseCreate.json @@ -55,9 +55,8 @@ public async Task CreateOrUpdate_CreateADatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADatabase() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/DatabaseGet.json @@ -90,9 +89,8 @@ public async Task Get_GetADatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADatabase() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/DatabaseGet.json @@ -121,9 +119,8 @@ public async Task Exists_GetADatabase() Console.WriteLine($"Succeeded: {result}"); } - // Get a database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADatabase() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/DatabaseGet.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetADatabase() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_GetADatabase() } } - // List databases in a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDatabasesInAServer() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/DatabasesListByServer.json @@ -198,7 +194,7 @@ public async Task GetAll_ListDatabasesInAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerDatabaseResource.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerDatabaseResource.cs index 2fa449bb287d3..9fb7602b37e5b 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerDatabaseResource.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerDatabaseResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_PostgreSqlFlexibleServerDatabaseResource { - // Create a database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateADatabase() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/DatabaseCreate.json @@ -52,9 +52,8 @@ public async Task Update_CreateADatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteADatabase() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/DatabaseDelete.json @@ -77,12 +76,11 @@ public async Task Delete_DeleteADatabase() // invoke the operation await postgreSqlFlexibleServerDatabase.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADatabase() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/DatabaseGet.json diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerFirewallRuleCollection.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerFirewallRuleCollection.cs index b8e1ae02edd8f..5b1fba3ee4b99 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerFirewallRuleCollection.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerFirewallRuleCollection.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_PostgreSqlFlexibleServerFirewallRuleCollection { - // FirewallRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_FirewallRuleCreate() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/FirewallRuleCreate.json @@ -52,9 +52,8 @@ public async Task CreateOrUpdate_FirewallRuleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FirewallRuleList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FirewallRuleList() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/FirewallRuleGet.json @@ -87,9 +86,8 @@ public async Task Get_FirewallRuleList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FirewallRuleList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_FirewallRuleList() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/FirewallRuleGet.json @@ -118,9 +116,8 @@ public async Task Exists_FirewallRuleList() Console.WriteLine($"Succeeded: {result}"); } - // FirewallRuleList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_FirewallRuleList() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/FirewallRuleGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_FirewallRuleList() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_FirewallRuleList() } } - // FirewallRuleList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_FirewallRuleList() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/FirewallRuleListByServer.json @@ -195,7 +191,7 @@ public async Task GetAll_FirewallRuleList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerFirewallRuleResource.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerFirewallRuleResource.cs index 09d3878cc482a..9a8428c868c19 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerFirewallRuleResource.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerFirewallRuleResource.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_PostgreSqlFlexibleServerFirewallRuleResource { - // FirewallRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_FirewallRuleCreate() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/FirewallRuleCreate.json @@ -49,9 +49,8 @@ public async Task Update_FirewallRuleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FirewallRuleDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_FirewallRuleDelete() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/FirewallRuleDelete.json @@ -74,12 +73,11 @@ public async Task Delete_FirewallRuleDelete() // invoke the operation await postgreSqlFlexibleServerFirewallRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // FirewallRuleList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FirewallRuleList() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/FirewallRuleGet.json diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerResource.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerResource.cs index cf6f26da246cb..9b1d4090eb1fb 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerResource.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServerResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.PostgreSql.FlexibleServers.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_PostgreSqlFlexibleServerResource { - // ServerCapabilitiesList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetServerCapabilities_ServerCapabilitiesList() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerCapabilities.json @@ -44,12 +44,11 @@ public async Task GetServerCapabilities_ServerCapabilitiesList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Promote a replica server as a Standalone server as forced, i.e. it will promote a replica server immediately without waiting for primary and replica to be in sync. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PromoteAReplicaServerAsAStandaloneServerAsForcedIEItWillPromoteAReplicaServerImmediatelyWithoutWaitingForPrimaryAndReplicaToBeInSync() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/PromoteReplicaAsForcedStandaloneServer.json @@ -87,9 +86,8 @@ public async Task Update_PromoteAReplicaServerAsAStandaloneServerAsForcedIEItWil Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Promote a replica server as a Standalone server as planned, i.e. it will wait for replication to complete. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PromoteAReplicaServerAsAStandaloneServerAsPlannedIEItWillWaitForReplicationToComplete() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/PromoteReplicaAsPlannedStandaloneServer.json @@ -127,9 +125,8 @@ public async Task Update_PromoteAReplicaServerAsAStandaloneServerAsPlannedIEItWi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ServerUpdate() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerUpdate.json @@ -175,9 +172,8 @@ public async Task Update_ServerUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerUpdateWithAadAuthEnabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ServerUpdateWithAadAuthEnabled() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerUpdateWithAadAuthEnabled.json @@ -229,9 +225,8 @@ public async Task Update_ServerUpdateWithAadAuthEnabled() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerUpdateWithCustomerMaintenanceWindow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ServerUpdateWithCustomerMaintenanceWindow() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerUpdateWithCustomerMaintenanceWindow.json @@ -272,9 +267,8 @@ public async Task Update_ServerUpdateWithCustomerMaintenanceWindow() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerUpdateWithDataEncryptionEnabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ServerUpdateWithDataEncryptionEnabled() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerUpdateWithDataEncryptionEnabled.json @@ -330,9 +324,8 @@ public async Task Update_ServerUpdateWithDataEncryptionEnabled() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerUpdateWithMajorVersionUpgrade - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ServerUpdateWithMajorVersionUpgrade() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerUpdateWithMajorVersionUpgrade.json @@ -367,9 +360,8 @@ public async Task Update_ServerUpdateWithMajorVersionUpgrade() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SwitchOver a replica server as forced, i.e. it will replica as Primary and original primary as replica immediately without waiting for primary and replica to be in sync. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SwitchOverAReplicaServerAsForcedIEItWillReplicaAsPrimaryAndOriginalPrimaryAsReplicaImmediatelyWithoutWaitingForPrimaryAndReplicaToBeInSync() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/PromoteReplicaAsForcedSwitchover.json @@ -407,9 +399,8 @@ public async Task Update_SwitchOverAReplicaServerAsForcedIEItWillReplicaAsPrimar Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SwitchOver a replica server as planned, i.e. it will wait for replication to complete before promoting replica as Primary and original primary as replica. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SwitchOverAReplicaServerAsPlannedIEItWillWaitForReplicationToCompleteBeforePromotingReplicaAsPrimaryAndOriginalPrimaryAsReplica() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/PromoteReplicaAsPlannedSwitchover.json @@ -447,9 +438,8 @@ public async Task Update_SwitchOverAReplicaServerAsPlannedIEItWillWaitForReplica Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ServerDelete() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerDelete.json @@ -471,12 +461,11 @@ public async Task Delete_ServerDelete() // invoke the operation await postgreSqlFlexibleServer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ServerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServerGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerGet.json @@ -505,9 +494,8 @@ public async Task Get_ServerGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerGetWithPrivateEndpoints - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServerGetWithPrivateEndpoints() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerGetWithPrivateEndpoints.json @@ -536,9 +524,8 @@ public async Task Get_ServerGetWithPrivateEndpoints() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerGetWithVnet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServerGetWithVnet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerGetWithVnet.json @@ -567,9 +554,8 @@ public async Task Get_ServerGetWithVnet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPostgreSqlFlexibleServers_ServerList() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerList.json @@ -596,12 +582,11 @@ public async Task GetPostgreSqlFlexibleServers_ServerList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ServerRestart - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_ServerRestart() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerRestart.json @@ -623,12 +608,11 @@ public async Task Restart_ServerRestart() // invoke the operation await postgreSqlFlexibleServer.RestartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ServerRestartWithFailover - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_ServerRestartWithFailover() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerRestartWithFailover.json @@ -655,12 +639,11 @@ public async Task Restart_ServerRestartWithFailover() }; await postgreSqlFlexibleServer.RestartAsync(WaitUntil.Completed, postgreSqlFlexibleServerRestartParameter: postgreSqlFlexibleServerRestartParameter); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ServerStart - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_ServerStart() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerStart.json @@ -682,12 +665,11 @@ public async Task Start_ServerStart() // invoke the operation await postgreSqlFlexibleServer.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ServerStop - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_ServerStop() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerStop.json @@ -709,12 +691,11 @@ public async Task Stop_ServerStop() // invoke the operation await postgreSqlFlexibleServer.StopAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Sample_Prebackup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TriggerLtrPreBackupFlexibleServer_SamplePrebackup() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/LongTermRetentionPreBackup.json @@ -740,9 +721,8 @@ public async Task TriggerLtrPreBackupFlexibleServer_SamplePrebackup() Console.WriteLine($"Succeeded: {result}"); } - // Sample_ExecuteBackup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartLtrBackupFlexibleServer_SampleExecuteBackup() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/LongTermRetentionBackup.json @@ -772,9 +752,8 @@ public async Task StartLtrBackupFlexibleServer_SampleExecuteBackup() Console.WriteLine($"Succeeded: {result}"); } - // CheckMigrationNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckPostgreSqlMigrationNameAvailability_CheckMigrationNameAvailability() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/CheckMigrationNameAvailability.json @@ -800,9 +779,8 @@ public async Task CheckPostgreSqlMigrationNameAvailability_CheckMigrationNameAva Console.WriteLine($"Succeeded: {result}"); } - // List all server log files for a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPostgreSqlFlexibleServerLogFiles_ListAllServerLogFilesForAServer() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/LogFilesListByServer.json @@ -827,7 +805,7 @@ public async Task GetPostgreSqlFlexibleServerLogFiles_ListAllServerLogFilesForAS Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServersPrivateEndpointConnectionCollection.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServersPrivateEndpointConnectionCollection.cs index 9180c0023b2a0..aeeb946a802c5 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServersPrivateEndpointConnectionCollection.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServersPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PostgreSql.FlexibleServers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_PostgreSqlFlexibleServersPrivateEndpointConnectionCollection { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/PrivateEndpointConnectionGet.json @@ -50,9 +50,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/PrivateEndpointConnectionGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/PrivateEndpointConnectionGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() } } - // Gets list of private endpoint connections on a server. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsListOfPrivateEndpointConnectionsOnAServer() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/PrivateEndpointConnectionList.json @@ -158,12 +155,11 @@ public async Task GetAll_GetsListOfPrivateEndpointConnectionsOnAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Approve or reject a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/PrivateEndpointConnectionUpdate.json diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServersPrivateEndpointConnectionResource.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServersPrivateEndpointConnectionResource.cs index c9c4b3e0d0b8e..248d80f9e8511 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServersPrivateEndpointConnectionResource.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServersPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PostgreSql.FlexibleServers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_PostgreSqlFlexibleServersPrivateEndpointConnectionResource { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/PrivateEndpointConnectionGet.json @@ -47,9 +47,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Approve or reject a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/PrivateEndpointConnectionUpdate.json @@ -88,9 +87,8 @@ public async Task Update_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/PrivateEndpointConnectionDelete.json @@ -113,7 +111,7 @@ public async Task Delete_DeletesAPrivateEndpointConnectionWithAGivenName() // invoke the operation await postgreSqlFlexibleServersPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServersPrivateLinkResource.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServersPrivateLinkResource.cs index 0dc04148e481f..f295a060ab034 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServersPrivateLinkResource.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServersPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_PostgreSqlFlexibleServersPrivateLinkResource { - // Gets a private link resource for PostgreSQL. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAPrivateLinkResourceForPostgreSQL() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/PrivateLinkResourcesGet.json diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServersPrivateLinkResourceCollection.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServersPrivateLinkResourceCollection.cs index b7138d4f8f603..44e06e4034ec5 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServersPrivateLinkResourceCollection.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlFlexibleServersPrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_PostgreSqlFlexibleServersPrivateLinkResourceCollection { - // Gets private link resources for PostgreSQL. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsPrivateLinkResourcesForPostgreSQL() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/PrivateLinkResourcesList.json @@ -48,12 +48,11 @@ public async Task GetAll_GetsPrivateLinkResourcesForPostgreSQL() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a private link resource for PostgreSQL. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAPrivateLinkResourceForPostgreSQL() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/PrivateLinkResourcesGet.json @@ -86,9 +85,8 @@ public async Task Get_GetsAPrivateLinkResourceForPostgreSQL() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a private link resource for PostgreSQL. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAPrivateLinkResourceForPostgreSQL() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/PrivateLinkResourcesGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetsAPrivateLinkResourceForPostgreSQL() Console.WriteLine($"Succeeded: {result}"); } - // Gets a private link resource for PostgreSQL. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAPrivateLinkResourceForPostgreSQL() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/PrivateLinkResourcesGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetsAPrivateLinkResourceForPostgreSQL() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlLtrServerBackupOperationCollection.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlLtrServerBackupOperationCollection.cs index a3abca9b12545..866b2a0da4e5b 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlLtrServerBackupOperationCollection.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlLtrServerBackupOperationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_PostgreSqlLtrServerBackupOperationCollection { - // Sample - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_Sample() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/LongTermRetentionOperationGet.json @@ -49,9 +49,8 @@ public async Task Get_Sample() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sample - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_Sample() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/LongTermRetentionOperationGet.json @@ -80,9 +79,8 @@ public async Task Exists_Sample() Console.WriteLine($"Succeeded: {result}"); } - // Sample - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_Sample() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/LongTermRetentionOperationGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_Sample() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_Sample() } } - // Sample List of Long Tern Retention Operations by Flexible Server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SampleListOfLongTernRetentionOperationsByFlexibleServer() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/LongTermRetentionOperationListByServer.json @@ -157,7 +154,7 @@ public async Task GetAll_SampleListOfLongTernRetentionOperationsByFlexibleServer Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlLtrServerBackupOperationResource.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlLtrServerBackupOperationResource.cs index d91dd604c9770..28e6273ad4351 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlLtrServerBackupOperationResource.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlLtrServerBackupOperationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_PostgreSqlLtrServerBackupOperationResource { - // Sample - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_Sample() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/LongTermRetentionOperationGet.json diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlMigrationCollection.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlMigrationCollection.cs index 2fcf53c7d978b..aeabc1b1e0db3 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlMigrationCollection.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlMigrationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PostgreSql.FlexibleServers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_PostgreSqlMigrationCollection { - // Create Migration with other source types for Validate and Migrate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateMigrationWithOtherSourceTypesForValidateAndMigrate() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_Create_Other_SourceTypes_Validate_Migrate.json @@ -65,9 +65,8 @@ public async Task CreateOrUpdate_CreateMigrationWithOtherSourceTypesForValidateA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Pre-migration Validation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatePreMigrationValidation() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_Create_Validate_Only.json @@ -113,9 +112,8 @@ public async Task CreateOrUpdate_CreatePreMigrationValidation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Migrations Create by passing user names - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_MigrationsCreateByPassingUserNames() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_Create_With_Other_Users.json @@ -163,9 +161,8 @@ public async Task CreateOrUpdate_MigrationsCreateByPassingUserNames() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Migrations Create with private endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_MigrationsCreateWithPrivateEndpoint() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_Create_With_PrivateEndpoint_Servers.json @@ -211,9 +208,8 @@ public async Task CreateOrUpdate_MigrationsCreateWithPrivateEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Migrations Create with roles - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_MigrationsCreateWithRoles() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_Create_With_Roles.json @@ -259,9 +255,8 @@ public async Task CreateOrUpdate_MigrationsCreateWithRoles() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Migrations_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_MigrationsCreate() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_Create.json @@ -307,9 +302,8 @@ public async Task CreateOrUpdate_MigrationsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Migrations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MigrationsGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_Get.json @@ -342,9 +336,8 @@ public async Task Get_MigrationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Migrations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_MigrationsGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_Get.json @@ -373,9 +366,8 @@ public async Task Exists_MigrationsGet() Console.WriteLine($"Succeeded: {result}"); } - // Migrations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_MigrationsGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_Get.json @@ -404,7 +396,7 @@ public async Task GetIfExists_MigrationsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -416,9 +408,8 @@ public async Task GetIfExists_MigrationsGet() } } - // Migrations_GetMigrationWithSuccessfulValidationAndMigration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MigrationsGetMigrationWithSuccessfulValidationAndMigration() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationAndMigration.json @@ -451,9 +442,8 @@ public async Task Get_MigrationsGetMigrationWithSuccessfulValidationAndMigration Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Migrations_GetMigrationWithSuccessfulValidationAndMigration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_MigrationsGetMigrationWithSuccessfulValidationAndMigration() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationAndMigration.json @@ -482,9 +472,8 @@ public async Task Exists_MigrationsGetMigrationWithSuccessfulValidationAndMigrat Console.WriteLine($"Succeeded: {result}"); } - // Migrations_GetMigrationWithSuccessfulValidationAndMigration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_MigrationsGetMigrationWithSuccessfulValidationAndMigration() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationAndMigration.json @@ -513,7 +502,7 @@ public async Task GetIfExists_MigrationsGetMigrationWithSuccessfulValidationAndM if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -525,9 +514,8 @@ public async Task GetIfExists_MigrationsGetMigrationWithSuccessfulValidationAndM } } - // Migrations_GetMigrationWithSuccessfulValidationButMigrationFailure - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MigrationsGetMigrationWithSuccessfulValidationButMigrationFailure() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationButMigrationFailure.json @@ -560,9 +548,8 @@ public async Task Get_MigrationsGetMigrationWithSuccessfulValidationButMigration Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Migrations_GetMigrationWithSuccessfulValidationButMigrationFailure - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_MigrationsGetMigrationWithSuccessfulValidationButMigrationFailure() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationButMigrationFailure.json @@ -591,9 +578,8 @@ public async Task Exists_MigrationsGetMigrationWithSuccessfulValidationButMigrat Console.WriteLine($"Succeeded: {result}"); } - // Migrations_GetMigrationWithSuccessfulValidationButMigrationFailure - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_MigrationsGetMigrationWithSuccessfulValidationButMigrationFailure() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationButMigrationFailure.json @@ -622,7 +608,7 @@ public async Task GetIfExists_MigrationsGetMigrationWithSuccessfulValidationButM if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -634,9 +620,8 @@ public async Task GetIfExists_MigrationsGetMigrationWithSuccessfulValidationButM } } - // Migrations_GetMigrationWithSuccessfulValidationOnly - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MigrationsGetMigrationWithSuccessfulValidationOnly() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationOnly.json @@ -669,9 +654,8 @@ public async Task Get_MigrationsGetMigrationWithSuccessfulValidationOnly() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Migrations_GetMigrationWithSuccessfulValidationOnly - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_MigrationsGetMigrationWithSuccessfulValidationOnly() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationOnly.json @@ -700,9 +684,8 @@ public async Task Exists_MigrationsGetMigrationWithSuccessfulValidationOnly() Console.WriteLine($"Succeeded: {result}"); } - // Migrations_GetMigrationWithSuccessfulValidationOnly - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_MigrationsGetMigrationWithSuccessfulValidationOnly() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationOnly.json @@ -731,7 +714,7 @@ public async Task GetIfExists_MigrationsGetMigrationWithSuccessfulValidationOnly if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -743,9 +726,8 @@ public async Task GetIfExists_MigrationsGetMigrationWithSuccessfulValidationOnly } } - // Migrations_GetMigrationWithValidationFailures - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MigrationsGetMigrationWithValidationFailures() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_GetMigrationWithValidationFailures.json @@ -778,9 +760,8 @@ public async Task Get_MigrationsGetMigrationWithValidationFailures() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Migrations_GetMigrationWithValidationFailures - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_MigrationsGetMigrationWithValidationFailures() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_GetMigrationWithValidationFailures.json @@ -809,9 +790,8 @@ public async Task Exists_MigrationsGetMigrationWithValidationFailures() Console.WriteLine($"Succeeded: {result}"); } - // Migrations_GetMigrationWithValidationFailures - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_MigrationsGetMigrationWithValidationFailures() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_GetMigrationWithValidationFailures.json @@ -840,7 +820,7 @@ public async Task GetIfExists_MigrationsGetMigrationWithValidationFailures() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -852,9 +832,8 @@ public async Task GetIfExists_MigrationsGetMigrationWithValidationFailures() } } - // Migrations_ListByTargetServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_MigrationsListByTargetServer() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_ListByTargetServer.json @@ -887,7 +866,7 @@ public async Task GetAll_MigrationsListByTargetServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlMigrationResource.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlMigrationResource.cs index a676574119d42..3cb6e6c253459 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlMigrationResource.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlMigrationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PostgreSql.FlexibleServers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_PostgreSqlMigrationResource { - // Migrations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MigrationsGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_Get.json @@ -47,9 +47,8 @@ public async Task Get_MigrationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Migrations_GetMigrationWithSuccessfulValidationAndMigration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MigrationsGetMigrationWithSuccessfulValidationAndMigration() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationAndMigration.json @@ -79,9 +78,8 @@ public async Task Get_MigrationsGetMigrationWithSuccessfulValidationAndMigration Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Migrations_GetMigrationWithSuccessfulValidationButMigrationFailure - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MigrationsGetMigrationWithSuccessfulValidationButMigrationFailure() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationButMigrationFailure.json @@ -111,9 +109,8 @@ public async Task Get_MigrationsGetMigrationWithSuccessfulValidationButMigration Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Migrations_GetMigrationWithSuccessfulValidationOnly - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MigrationsGetMigrationWithSuccessfulValidationOnly() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_GetMigrationWithSuccessfulValidationOnly.json @@ -143,9 +140,8 @@ public async Task Get_MigrationsGetMigrationWithSuccessfulValidationOnly() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Migrations_GetMigrationWithValidationFailures - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MigrationsGetMigrationWithValidationFailures() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_GetMigrationWithValidationFailures.json @@ -175,9 +171,8 @@ public async Task Get_MigrationsGetMigrationWithValidationFailures() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Cancel migration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CancelMigration() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_Cancel.json @@ -211,9 +206,8 @@ public async Task Update_CancelMigration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Migrations_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_MigrationsUpdate() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_Update.json @@ -247,9 +241,8 @@ public async Task Update_MigrationsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Migrations_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_MigrationsDelete() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/Migrations_Delete.json @@ -272,7 +265,7 @@ public async Task Delete_MigrationsDelete() // invoke the operation await postgreSqlMigration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlPrivateEndpointConnectionCollection.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlPrivateEndpointConnectionCollection.cs index dc705726106da..5f76cd45304cf 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlPrivateEndpointConnectionCollection.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PostgreSql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.Samples { public partial class Sample_PostgreSqlPrivateEndpointConnectionCollection { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2018-06-01/examples/PrivateEndpointConnectionGet.json @@ -50,9 +50,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2018-06-01/examples/PrivateEndpointConnectionGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2018-06-01/examples/PrivateEndpointConnectionGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() } } - // Approve or reject a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2018-06-01/examples/PrivateEndpointConnectionUpdate.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_ApproveOrRejectAPrivateEndpointConnectionWithAG Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets list of private endpoint connections on a server. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsListOfPrivateEndpointConnectionsOnAServer() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2018-06-01/examples/PrivateEndpointConnectionList.json @@ -198,7 +194,7 @@ public async Task GetAll_GetsListOfPrivateEndpointConnectionsOnAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlPrivateEndpointConnectionResource.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlPrivateEndpointConnectionResource.cs index bbe6b68ba85a5..aa386f3e033f3 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlPrivateEndpointConnectionResource.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PostgreSql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.Samples { public partial class Sample_PostgreSqlPrivateEndpointConnectionResource { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2018-06-01/examples/PrivateEndpointConnectionGet.json @@ -47,9 +47,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2018-06-01/examples/PrivateEndpointConnectionDelete.json @@ -72,12 +71,11 @@ public async Task Delete_DeletesAPrivateEndpointConnectionWithAGivenName() // invoke the operation await postgreSqlPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update private endpoint connection Tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatePrivateEndpointConnectionTags() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2018-06-01/examples/PrivateEndpointConnectionUpdateTags.json diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlPrivateLinkResource.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlPrivateLinkResource.cs index d0fe884735be3..7ac005560ee41 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlPrivateLinkResource.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.Samples { public partial class Sample_PostgreSqlPrivateLinkResource { - // Gets a private link resource for PostgreSQL. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAPrivateLinkResourceForPostgreSQL() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2018-06-01/examples/PrivateLinkResourcesGet.json diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlPrivateLinkResourceCollection.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlPrivateLinkResourceCollection.cs index 39e5796bdda00..587d2d1ef051f 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlPrivateLinkResourceCollection.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlPrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.Samples { public partial class Sample_PostgreSqlPrivateLinkResourceCollection { - // Gets private link resources for PostgreSQL. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsPrivateLinkResourcesForPostgreSQL() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2018-06-01/examples/PrivateLinkResourcesList.json @@ -48,12 +48,11 @@ public async Task GetAll_GetsPrivateLinkResourcesForPostgreSQL() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a private link resource for PostgreSQL. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAPrivateLinkResourceForPostgreSQL() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2018-06-01/examples/PrivateLinkResourcesGet.json @@ -86,9 +85,8 @@ public async Task Get_GetsAPrivateLinkResourceForPostgreSQL() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a private link resource for PostgreSQL. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAPrivateLinkResourceForPostgreSQL() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2018-06-01/examples/PrivateLinkResourcesGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetsAPrivateLinkResourceForPostgreSQL() Console.WriteLine($"Succeeded: {result}"); } - // Gets a private link resource for PostgreSQL. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAPrivateLinkResourceForPostgreSQL() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2018-06-01/examples/PrivateLinkResourcesGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetsAPrivateLinkResourceForPostgreSQL() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerAdministratorResource.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerAdministratorResource.cs index c89cf0678f339..6098595cb5505 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerAdministratorResource.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerAdministratorResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PostgreSql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.Samples { public partial class Sample_PostgreSqlServerAdministratorResource { - // ServerAdministratorGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServerAdministratorGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerAdminGet.json @@ -46,9 +46,8 @@ public async Task Get_ServerAdministratorGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerAdministratorCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ServerAdministratorCreate() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerAdminCreateUpdate.json @@ -85,9 +84,8 @@ public async Task CreateOrUpdate_ServerAdministratorCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerAdministratorsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ServerAdministratorsDelete() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerAdminDelete.json @@ -109,7 +107,7 @@ public async Task Delete_ServerAdministratorsDelete() // invoke the operation await postgreSqlServerAdministrator.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerCollection.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerCollection.cs index bb7276aae81bb..a1e72fd133cce 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerCollection.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.PostgreSql.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.Samples { public partial class Sample_PostgreSqlServerCollection { - // Create a database as a point in time restore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADatabaseAsAPointInTimeRestore() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerCreatePointInTimeRestore.json @@ -64,9 +64,8 @@ public async Task CreateOrUpdate_CreateADatabaseAsAPointInTimeRestore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a new server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateANewServer() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerCreate.json @@ -122,9 +121,8 @@ public async Task CreateOrUpdate_CreateANewServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a replica server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAReplicaServer() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerCreateReplicaMode.json @@ -166,9 +164,8 @@ public async Task CreateOrUpdate_CreateAReplicaServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a server as a geo restore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAServerAsAGeoRestore() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerCreateGeoRestoreMode.json @@ -214,9 +211,8 @@ public async Task CreateOrUpdate_CreateAServerAsAGeoRestore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServerGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerGet.json @@ -248,9 +244,8 @@ public async Task Get_ServerGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ServerGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerGet.json @@ -278,9 +273,8 @@ public async Task Exists_ServerGet() Console.WriteLine($"Succeeded: {result}"); } - // ServerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ServerGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerGet.json @@ -308,7 +302,7 @@ public async Task GetIfExists_ServerGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -320,9 +314,8 @@ public async Task GetIfExists_ServerGet() } } - // ServerListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ServerListByResourceGroup() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerListByResourceGroup.json @@ -353,12 +346,11 @@ public async Task GetAll_ServerListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ReplicasListByServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReplicas_ReplicasListByServer() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ReplicasListByServer.json @@ -390,7 +382,7 @@ public async Task GetReplicas_ReplicasListByServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerKeyCollection.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerKeyCollection.cs index 473a378e5bfc5..79979ca10475d 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerKeyCollection.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerKeyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PostgreSql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.Samples { public partial class Sample_PostgreSqlServerKeyCollection { - // List the keys for a PostgreSQL Server. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTheKeysForAPostgreSQLServer() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2020-01-01/examples/ServerKeyList.json @@ -49,12 +49,11 @@ public async Task GetAll_ListTheKeysForAPostgreSQLServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the PostgreSQL Server key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetThePostgreSQLServerKey() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2020-01-01/examples/ServerKeyGet.json @@ -87,9 +86,8 @@ public async Task Get_GetThePostgreSQLServerKey() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the PostgreSQL Server key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetThePostgreSQLServerKey() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2020-01-01/examples/ServerKeyGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetThePostgreSQLServerKey() Console.WriteLine($"Succeeded: {result}"); } - // Get the PostgreSQL Server key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetThePostgreSQLServerKey() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2020-01-01/examples/ServerKeyGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetThePostgreSQLServerKey() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetThePostgreSQLServerKey() } } - // Creates or updates a PostgreSQL Server key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesAPostgreSQLServerKey() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2020-01-01/examples/ServerKeyCreateOrUpdate.json diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerKeyResource.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerKeyResource.cs index 64687ba9fdfe5..38d325bb3de99 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerKeyResource.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerKeyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PostgreSql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.Samples { public partial class Sample_PostgreSqlServerKeyResource { - // Get the PostgreSQL Server key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetThePostgreSQLServerKey() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2020-01-01/examples/ServerKeyGet.json @@ -47,9 +47,8 @@ public async Task Get_GetThePostgreSQLServerKey() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates a PostgreSQL Server key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesOrUpdatesAPostgreSQLServerKey() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2020-01-01/examples/ServerKeyCreateOrUpdate.json @@ -85,9 +84,8 @@ public async Task Update_CreatesOrUpdatesAPostgreSQLServerKey() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete the PostgreSQL Server key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteThePostgreSQLServerKey() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2020-01-01/examples/ServerKeyDelete.json @@ -110,7 +108,7 @@ public async Task Delete_DeleteThePostgreSQLServerKey() // invoke the operation await postgreSqlServerKey.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerResource.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerResource.cs index 063da40733df2..730ee24eb5b31 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerResource.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.PostgreSql.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.Samples { public partial class Sample_PostgreSqlServerResource { - // ServerUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ServerUpdate() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerUpdate.json @@ -54,9 +54,8 @@ public async Task Update_ServerUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ServerDelete() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerDelete.json @@ -78,12 +77,11 @@ public async Task Delete_ServerDelete() // invoke the operation await postgreSqlServer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ServerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServerGet() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerGet.json @@ -112,9 +110,8 @@ public async Task Get_ServerGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ServerList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPostgreSqlServers_ServerList() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerList.json @@ -141,12 +138,11 @@ public async Task GetPostgreSqlServers_ServerList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ServerRestart - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_ServerRestart() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerRestart.json @@ -168,12 +164,11 @@ public async Task Restart_ServerRestart() // invoke the operation await postgreSqlServer.RestartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ConfigurationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateConfigurations_ConfigurationList() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ConfigurationsUpdateByServer.json @@ -200,9 +195,8 @@ public async Task UpdateConfigurations_ConfigurationList() Console.WriteLine($"Succeeded: {result}"); } - // LogFileList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLogFiles_LogFileList() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/LogFileListByServer.json @@ -227,12 +221,11 @@ public async Task GetLogFiles_LogFileList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ReplicasListByServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRecoverableServer_ReplicasListByServer() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/RecoverableServersGet.json @@ -257,9 +250,8 @@ public async Task GetRecoverableServer_ReplicasListByServer() Console.WriteLine($"Succeeded: {result}"); } - // PerformanceTiersList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetServerBasedPerformanceTiers_PerformanceTiersList() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/PerformanceTiersListByServer.json @@ -284,7 +276,7 @@ public async Task GetServerBasedPerformanceTiers_PerformanceTiersList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerSecurityAlertPolicyCollection.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerSecurityAlertPolicyCollection.cs index 81db60db396da..25878db459962 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerSecurityAlertPolicyCollection.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerSecurityAlertPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PostgreSql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.Samples { public partial class Sample_PostgreSqlServerSecurityAlertPolicyCollection { - // Get a server's threat detection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerSThreatDetectionPolicy() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerSecurityAlertsGet.json @@ -50,9 +50,8 @@ public async Task Get_GetAServerSThreatDetectionPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a server's threat detection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAServerSThreatDetectionPolicy() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerSecurityAlertsGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetAServerSThreatDetectionPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Get a server's threat detection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAServerSThreatDetectionPolicy() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerSecurityAlertsGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetAServerSThreatDetectionPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetAServerSThreatDetectionPolicy() } } - // Update a server's threat detection policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAServerSThreatDetectionPolicyWithAllParameters() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerSecurityAlertsCreateMax.json @@ -176,9 +173,8 @@ public async Task CreateOrUpdate_UpdateAServerSThreatDetectionPolicyWithAllParam Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a server's threat detection policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAServerSThreatDetectionPolicyWithMinimalParameters() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerSecurityAlertsCreateMin.json @@ -217,9 +213,8 @@ public async Task CreateOrUpdate_UpdateAServerSThreatDetectionPolicyWithMinimalP Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List the server's threat detection policies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTheServerSThreatDetectionPolicies() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerSecurityAlertsListByServer.json @@ -251,7 +246,7 @@ public async Task GetAll_ListTheServerSThreatDetectionPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerSecurityAlertPolicyResource.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerSecurityAlertPolicyResource.cs index e1d38e2880ecc..57df4ae23ce9d 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerSecurityAlertPolicyResource.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlServerSecurityAlertPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PostgreSql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.Samples { public partial class Sample_PostgreSqlServerSecurityAlertPolicyResource { - // Get a server's threat detection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerSThreatDetectionPolicy() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerSecurityAlertsGet.json @@ -47,9 +47,8 @@ public async Task Get_GetAServerSThreatDetectionPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a server's threat detection policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAServerSThreatDetectionPolicyWithAllParameters() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerSecurityAlertsCreateMax.json @@ -96,9 +95,8 @@ public async Task Update_UpdateAServerSThreatDetectionPolicyWithAllParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a server's threat detection policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAServerSThreatDetectionPolicyWithMinimalParameters() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerSecurityAlertsCreateMin.json diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlVirtualNetworkRuleCollection.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlVirtualNetworkRuleCollection.cs index ab3d4cc390d91..f50746be9c153 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlVirtualNetworkRuleCollection.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlVirtualNetworkRuleCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.Samples { public partial class Sample_PostgreSqlVirtualNetworkRuleCollection { - // Gets a virtual network rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAVirtualNetworkRule() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/VirtualNetworkRulesGet.json @@ -49,9 +49,8 @@ public async Task Get_GetsAVirtualNetworkRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a virtual network rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAVirtualNetworkRule() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/VirtualNetworkRulesGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetsAVirtualNetworkRule() Console.WriteLine($"Succeeded: {result}"); } - // Gets a virtual network rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAVirtualNetworkRule() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/VirtualNetworkRulesGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetsAVirtualNetworkRule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetsAVirtualNetworkRule() } } - // Create or update a virtual network rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAVirtualNetworkRule() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/VirtualNetworkRulesCreateOrUpdate.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAVirtualNetworkRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List virtual network rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListVirtualNetworkRules() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/VirtualNetworkRulesList.json @@ -198,7 +194,7 @@ public async Task GetAll_ListVirtualNetworkRules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlVirtualNetworkRuleResource.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlVirtualNetworkRuleResource.cs index 646435a3bc7f9..437d2de31854c 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlVirtualNetworkRuleResource.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_PostgreSqlVirtualNetworkRuleResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.Samples { public partial class Sample_PostgreSqlVirtualNetworkRuleResource { - // Gets a virtual network rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAVirtualNetworkRule() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/VirtualNetworkRulesGet.json @@ -46,9 +46,8 @@ public async Task Get_GetsAVirtualNetworkRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a virtual network rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAVirtualNetworkRule() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/VirtualNetworkRulesCreateOrUpdate.json @@ -84,9 +83,8 @@ public async Task Update_CreateOrUpdateAVirtualNetworkRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a virtual network rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAVirtualNetworkRule() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/VirtualNetworkRulesDelete.json @@ -109,7 +107,7 @@ public async Task Delete_DeleteAVirtualNetworkRule() // invoke the operation await postgreSqlVirtualNetworkRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_ServerThreatProtectionSettingsModelCollection.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_ServerThreatProtectionSettingsModelCollection.cs index 1ab77a7fef3ce..3fc46f16c6af9 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_ServerThreatProtectionSettingsModelCollection.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_ServerThreatProtectionSettingsModelCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PostgreSql.FlexibleServers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_ServerThreatProtectionSettingsModelCollection { - // Get a server's Advanced Threat Protection settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAServerSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerThreatProtectionSettingsListByServer.json @@ -49,12 +49,11 @@ public async Task GetAll_GetAServerSAdvancedThreatProtectionSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a server's Threat Protection settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerSThreatProtectionSettings() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerThreatProtectionSettingsGet.json @@ -87,9 +86,8 @@ public async Task Get_GetAServerSThreatProtectionSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a server's Threat Protection settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAServerSThreatProtectionSettings() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerThreatProtectionSettingsGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetAServerSThreatProtectionSettings() Console.WriteLine($"Succeeded: {result}"); } - // Get a server's Threat Protection settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAServerSThreatProtectionSettings() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerThreatProtectionSettingsGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetAServerSThreatProtectionSettings() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetAServerSThreatProtectionSettings() } } - // Update a server's Threat Protection settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAServerSThreatProtectionSettings() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerThreatProtectionSettingsCreateOrUpdate.json diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_ServerThreatProtectionSettingsModelResource.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_ServerThreatProtectionSettingsModelResource.cs index 028ffc9fb48ce..8cc6f32d3ceca 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_ServerThreatProtectionSettingsModelResource.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_ServerThreatProtectionSettingsModelResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PostgreSql.FlexibleServers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_ServerThreatProtectionSettingsModelResource { - // Get a server's Threat Protection settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerSThreatProtectionSettings() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerThreatProtectionSettingsGet.json @@ -47,9 +47,8 @@ public async Task Get_GetAServerSThreatProtectionSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a server's Threat Protection settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAServerSThreatProtectionSettings() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/ServerThreatProtectionSettingsCreateOrUpdate.json diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 6a5f6cc838342..a4ccb27c53194 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.PostgreSql.FlexibleServers.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_SubscriptionResourceExtensions { - // CapabilitiesList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExecuteLocationBasedCapabilities_CapabilitiesList() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/CapabilitiesByLocation.json @@ -42,12 +42,11 @@ public async Task ExecuteLocationBasedCapabilities_CapabilitiesList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckPostgreSqlFlexibleServerNameAvailability_NameAvailability() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/CheckNameAvailability.json @@ -74,9 +73,8 @@ public async Task CheckPostgreSqlFlexibleServerNameAvailability_NameAvailability Console.WriteLine($"Succeeded: {result}"); } - // NameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckPostgreSqlFlexibleServerNameAvailabilityWithLocation_NameAvailability() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/CheckNameAvailabilityLocationBased.json @@ -104,9 +102,8 @@ public async Task CheckPostgreSqlFlexibleServerNameAvailabilityWithLocation_Name Console.WriteLine($"Succeeded: {result}"); } - // VirtualNetworkSubnetUsageList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExecuteVirtualNetworkSubnetUsage_VirtualNetworkSubnetUsageList() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/VirtualNetworkSubnetUsage.json diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_TenantResourceExtensions.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_TenantResourceExtensions.cs index 86d994aeff07f..cc72a9eb52c3d 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_TenantResourceExtensions.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_TenantResourceExtensions.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_TenantResourceExtensions { - // GetPrivateDnsZoneSuffix - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExecuteGetPrivateDnsZoneSuffix_GetPrivateDnsZoneSuffix() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/GetPrivateDnsZoneSuffix.json diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_VirtualEndpointResource.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_VirtualEndpointResource.cs index cb21e0c5cd7f5..f41d6ba6b29db 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_VirtualEndpointResource.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_VirtualEndpointResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PostgreSql.FlexibleServers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_VirtualEndpointResource { - // Update a virtual endpoint for a server to update the - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAVirtualEndpointForAServerToUpdateThe() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/VirtualEndpointUpdate.json @@ -56,9 +56,8 @@ public async Task Update_UpdateAVirtualEndpointForAServerToUpdateThe() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a virtual endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAVirtualEndpoint() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/VirtualEndpointDelete.json @@ -81,12 +80,11 @@ public async Task Delete_DeleteAVirtualEndpoint() // invoke the operation await virtualEndpointResource.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a virtual endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAVirtualEndpoint() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/VirtualEndpointsGet.json diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_VirtualEndpointResourceCollection.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_VirtualEndpointResourceCollection.cs index badfe8100d8ee..16aec41d00ef9 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_VirtualEndpointResourceCollection.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/samples/Generated/Samples/Sample_VirtualEndpointResourceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.PostgreSql.FlexibleServers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Samples { public partial class Sample_VirtualEndpointResourceCollection { - // Create a new virtual endpoint for a flexible server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateANewVirtualEndpointForAFlexibleServer() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/VirtualEndpointCreate.json @@ -59,9 +59,8 @@ public async Task CreateOrUpdate_CreateANewVirtualEndpointForAFlexibleServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a virtual endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAVirtualEndpoint() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/VirtualEndpointsGet.json @@ -94,9 +93,8 @@ public async Task Get_GetAVirtualEndpoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a virtual endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAVirtualEndpoint() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/VirtualEndpointsGet.json @@ -125,9 +123,8 @@ public async Task Exists_GetAVirtualEndpoint() Console.WriteLine($"Succeeded: {result}"); } - // Get a virtual endpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAVirtualEndpoint() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/VirtualEndpointsGet.json @@ -156,7 +153,7 @@ public async Task GetIfExists_GetAVirtualEndpoint() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_GetAVirtualEndpoint() } } - // VirtualEndpointListByServer - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VirtualEndpointListByServer() { // Generated from example definition: specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/examples/VirtualEndpointsListByServer.json @@ -202,7 +198,7 @@ public async Task GetAll_VirtualEndpointListByServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/samples/Generated/Samples/Sample_AutoScaleVCoreCollection.cs b/sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/samples/Generated/Samples/Sample_AutoScaleVCoreCollection.cs index 51a6ce4ad7d2f..1b3c471a04f63 100644 --- a/sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/samples/Generated/Samples/Sample_AutoScaleVCoreCollection.cs +++ b/sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/samples/Generated/Samples/Sample_AutoScaleVCoreCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.PowerBIDedicated.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.PowerBIDedicated.Samples { public partial class Sample_AutoScaleVCoreCollection { - // Get details of an auto scale v-core - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfAnAutoScaleVCore() { // Generated from example definition: specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2021-01-01/examples/getAutoScaleVCore.json @@ -50,9 +50,8 @@ public async Task Get_GetDetailsOfAnAutoScaleVCore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get details of an auto scale v-core - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDetailsOfAnAutoScaleVCore() { // Generated from example definition: specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2021-01-01/examples/getAutoScaleVCore.json @@ -80,9 +79,8 @@ public async Task Exists_GetDetailsOfAnAutoScaleVCore() Console.WriteLine($"Succeeded: {result}"); } - // Get details of an auto scale v-core - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDetailsOfAnAutoScaleVCore() { // Generated from example definition: specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2021-01-01/examples/getAutoScaleVCore.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetDetailsOfAnAutoScaleVCore() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetDetailsOfAnAutoScaleVCore() } } - // Create auto scale v-core - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAutoScaleVCore() { // Generated from example definition: specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2021-01-01/examples/createAutoScaleVCore.json @@ -170,9 +167,8 @@ public async Task CreateOrUpdate_CreateAutoScaleVCore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List auto scale v-cores in resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAutoScaleVCoresInResourceGroup() { // Generated from example definition: specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2021-01-01/examples/listAutoScaleVCoresInResourceGroup.json @@ -203,7 +199,7 @@ public async Task GetAll_ListAutoScaleVCoresInResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/samples/Generated/Samples/Sample_AutoScaleVCoreResource.cs b/sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/samples/Generated/Samples/Sample_AutoScaleVCoreResource.cs index 29200ac2e8a81..b862041851006 100644 --- a/sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/samples/Generated/Samples/Sample_AutoScaleVCoreResource.cs +++ b/sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/samples/Generated/Samples/Sample_AutoScaleVCoreResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.PowerBIDedicated.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.PowerBIDedicated.Samples { public partial class Sample_AutoScaleVCoreResource { - // Get details of an auto scale v-core - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfAnAutoScaleVCore() { // Generated from example definition: specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2021-01-01/examples/getAutoScaleVCore.json @@ -47,9 +47,8 @@ public async Task Get_GetDetailsOfAnAutoScaleVCore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an auto scale v-core - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnAutoScaleVCore() { // Generated from example definition: specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2021-01-01/examples/deleteAutoScaleVCore.json @@ -71,12 +70,11 @@ public async Task Delete_DeleteAnAutoScaleVCore() // invoke the operation await autoScaleVCore.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update auto scale v-core parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAutoScaleVCoreParameters() { // Generated from example definition: specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2021-01-01/examples/updateAutoScaleVCore.json @@ -118,9 +116,8 @@ public async Task Update_UpdateAutoScaleVCoreParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List auto scale v-cores in subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAutoScaleVCores_ListAutoScaleVCoresInSubscription() { // Generated from example definition: specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2021-01-01/examples/listAutoScaleVCoresInSubscription.json @@ -147,7 +144,7 @@ public async Task GetAutoScaleVCores_ListAutoScaleVCoresInSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/samples/Generated/Samples/Sample_DedicatedCapacityCollection.cs b/sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/samples/Generated/Samples/Sample_DedicatedCapacityCollection.cs index ae4d3b149de2a..e91ff5c2f8208 100644 --- a/sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/samples/Generated/Samples/Sample_DedicatedCapacityCollection.cs +++ b/sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/samples/Generated/Samples/Sample_DedicatedCapacityCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.PowerBIDedicated.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.PowerBIDedicated.Samples { public partial class Sample_DedicatedCapacityCollection { - // Get details of a capacity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfACapacity() { // Generated from example definition: specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2021-01-01/examples/getCapacity.json @@ -50,9 +50,8 @@ public async Task Get_GetDetailsOfACapacity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get details of a capacity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDetailsOfACapacity() { // Generated from example definition: specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2021-01-01/examples/getCapacity.json @@ -80,9 +79,8 @@ public async Task Exists_GetDetailsOfACapacity() Console.WriteLine($"Succeeded: {result}"); } - // Get details of a capacity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDetailsOfACapacity() { // Generated from example definition: specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2021-01-01/examples/getCapacity.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetDetailsOfACapacity() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetDetailsOfACapacity() } } - // Create capacity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateCapacity() { // Generated from example definition: specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2021-01-01/examples/createCapacity.json @@ -171,9 +168,8 @@ public async Task CreateOrUpdate_CreateCapacity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List capacities in resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCapacitiesInResourceGroup() { // Generated from example definition: specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2021-01-01/examples/listCapacitiesInResourceGroup.json @@ -204,7 +200,7 @@ public async Task GetAll_ListCapacitiesInResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/samples/Generated/Samples/Sample_DedicatedCapacityResource.cs b/sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/samples/Generated/Samples/Sample_DedicatedCapacityResource.cs index 7e3ec361ec8f1..b821003df0949 100644 --- a/sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/samples/Generated/Samples/Sample_DedicatedCapacityResource.cs +++ b/sdk/powerbidedicated/Azure.ResourceManager.PowerBIDedicated/samples/Generated/Samples/Sample_DedicatedCapacityResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.PowerBIDedicated.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.PowerBIDedicated.Samples { public partial class Sample_DedicatedCapacityResource { - // Get details of a capacity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDetailsOfACapacity() { // Generated from example definition: specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2021-01-01/examples/getCapacity.json @@ -47,9 +47,8 @@ public async Task Get_GetDetailsOfACapacity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get details of a capacity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_GetDetailsOfACapacity() { // Generated from example definition: specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2021-01-01/examples/deleteCapacity.json @@ -71,12 +70,11 @@ public async Task Delete_GetDetailsOfACapacity() // invoke the operation await dedicatedCapacity.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update capacity parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateCapacityParameters() { // Generated from example definition: specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2021-01-01/examples/updateCapacity.json @@ -121,9 +119,8 @@ public async Task Update_UpdateCapacityParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update capacity to Generation 2 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateCapacityToGeneration2() { // Generated from example definition: specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2021-01-01/examples/updateToGen2.json @@ -165,9 +162,8 @@ public async Task Update_UpdateCapacityToGeneration2() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Suspend capacity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Suspend_SuspendCapacity() { // Generated from example definition: specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2021-01-01/examples/suspendCapacity.json @@ -189,12 +185,11 @@ public async Task Suspend_SuspendCapacity() // invoke the operation await dedicatedCapacity.SuspendAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get details of a capacity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Resume_GetDetailsOfACapacity() { // Generated from example definition: specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2021-01-01/examples/resumeCapacity.json @@ -216,12 +211,11 @@ public async Task Resume_GetDetailsOfACapacity() // invoke the operation await dedicatedCapacity.ResumeAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get details of a capacity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDedicatedCapacities_GetDetailsOfACapacity() { // Generated from example definition: specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2021-01-01/examples/listCapacitiesInSubscription.json @@ -248,12 +242,11 @@ public async Task GetDedicatedCapacities_GetDetailsOfACapacity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List eligible SKUs for a new capacity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSkusCapacities_ListEligibleSKUsForANewCapacity() { // Generated from example definition: specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2021-01-01/examples/listSKUsForNew.json @@ -276,12 +269,11 @@ public async Task GetSkusCapacities_ListEligibleSKUsForANewCapacity() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List eligible SKUs for an existing capacity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSkusForCapacity_ListEligibleSKUsForAnExistingCapacity() { // Generated from example definition: specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2021-01-01/examples/listSKUsForExisting.json @@ -306,12 +298,11 @@ public async Task GetSkusForCapacity_ListEligibleSKUsForAnExistingCapacity() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Check name availability of a capacity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckNameAvailabilityCapacity_CheckNameAvailabilityOfACapacity() { // Generated from example definition: specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2021-01-01/examples/checkNameAvailability.json diff --git a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_CustomRolloutCollection.cs b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_CustomRolloutCollection.cs index 0da3ab2adbc77..41ceb90dbafd6 100644 --- a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_CustomRolloutCollection.cs +++ b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_CustomRolloutCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ProviderHub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ProviderHub.Samples { public partial class Sample_CustomRolloutCollection { - // CustomRollouts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CustomRolloutsGet() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/CustomRollouts_Get.json @@ -49,9 +49,8 @@ public async Task Get_CustomRolloutsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CustomRollouts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CustomRolloutsGet() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/CustomRollouts_Get.json @@ -79,9 +78,8 @@ public async Task Exists_CustomRolloutsGet() Console.WriteLine($"Succeeded: {result}"); } - // CustomRollouts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CustomRolloutsGet() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/CustomRollouts_Get.json @@ -109,7 +107,7 @@ public async Task GetIfExists_CustomRolloutsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_CustomRolloutsGet() } } - // CustomRollouts_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CustomRolloutsCreateOrUpdate() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/CustomRollouts_CreateOrUpdate.json @@ -163,9 +160,8 @@ public async Task CreateOrUpdate_CustomRolloutsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CustomRollouts_ListByProviderRegistration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CustomRolloutsListByProviderRegistration() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/CustomRollouts_ListByProviderRegistration.json @@ -196,7 +192,7 @@ public async Task GetAll_CustomRolloutsListByProviderRegistration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_CustomRolloutResource.cs b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_CustomRolloutResource.cs index 1a785e94f8e3a..737c3221f8903 100644 --- a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_CustomRolloutResource.cs +++ b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_CustomRolloutResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ProviderHub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ProviderHub.Samples { public partial class Sample_CustomRolloutResource { - // CustomRollouts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CustomRolloutsGet() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/CustomRollouts_Get.json @@ -46,9 +46,8 @@ public async Task Get_CustomRolloutsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CustomRollouts_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CustomRolloutsCreateOrUpdate() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/CustomRollouts_CreateOrUpdate.json diff --git a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_DefaultRolloutCollection.cs b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_DefaultRolloutCollection.cs index 04e3ddea622c7..405bc60cdfabd 100644 --- a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_DefaultRolloutCollection.cs +++ b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_DefaultRolloutCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ProviderHub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ProviderHub.Samples { public partial class Sample_DefaultRolloutCollection { - // DefaultRollouts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DefaultRolloutsGet() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/DefaultRollouts_Get.json @@ -50,9 +50,8 @@ public async Task Get_DefaultRolloutsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DefaultRollouts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DefaultRolloutsGet() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/DefaultRollouts_Get.json @@ -80,9 +79,8 @@ public async Task Exists_DefaultRolloutsGet() Console.WriteLine($"Succeeded: {result}"); } - // DefaultRollouts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DefaultRolloutsGet() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/DefaultRollouts_Get.json @@ -110,7 +108,7 @@ public async Task GetIfExists_DefaultRolloutsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_DefaultRolloutsGet() } } - // DefaultRollouts_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DefaultRolloutsCreateOrUpdate() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/DefaultRollouts_CreateOrUpdate.json @@ -177,9 +174,8 @@ public async Task CreateOrUpdate_DefaultRolloutsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DefaultRollouts_ListByProviderRegistration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DefaultRolloutsListByProviderRegistration() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/DefaultRollouts_ListByProviderRegistration.json @@ -210,7 +206,7 @@ public async Task GetAll_DefaultRolloutsListByProviderRegistration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_DefaultRolloutResource.cs b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_DefaultRolloutResource.cs index daca7e508d92a..935db93ff133f 100644 --- a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_DefaultRolloutResource.cs +++ b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_DefaultRolloutResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ProviderHub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ProviderHub.Samples { public partial class Sample_DefaultRolloutResource { - // DefaultRollouts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DefaultRolloutsGet() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/DefaultRollouts_Get.json @@ -47,9 +47,8 @@ public async Task Get_DefaultRolloutsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DefaultRollouts_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DefaultRolloutsDelete() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/DefaultRollouts_Delete.json @@ -71,12 +70,11 @@ public async Task Delete_DefaultRolloutsDelete() // invoke the operation await defaultRollout.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DefaultRollouts_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DefaultRolloutsCreateOrUpdate() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/DefaultRollouts_CreateOrUpdate.json @@ -126,9 +124,8 @@ public async Task Update_DefaultRolloutsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DefaultRollouts_Stop - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_DefaultRolloutsStop() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/DefaultRollouts_Stop.json @@ -150,7 +147,7 @@ public async Task Stop_DefaultRolloutsStop() // invoke the operation await defaultRollout.StopAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NestedResourceTypeFirstSkuCollection.cs b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NestedResourceTypeFirstSkuCollection.cs index e2d294693a304..f4e7ff375cb31 100644 --- a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NestedResourceTypeFirstSkuCollection.cs +++ b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NestedResourceTypeFirstSkuCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ProviderHub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ProviderHub.Samples { public partial class Sample_NestedResourceTypeFirstSkuCollection { - // Skus_GetNestedResourceTypeFirst - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SkusGetNestedResourceTypeFirst() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_GetNestedResourceTypeFirst.json @@ -51,9 +51,8 @@ public async Task Get_SkusGetNestedResourceTypeFirst() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Skus_GetNestedResourceTypeFirst - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SkusGetNestedResourceTypeFirst() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_GetNestedResourceTypeFirst.json @@ -83,9 +82,8 @@ public async Task Exists_SkusGetNestedResourceTypeFirst() Console.WriteLine($"Succeeded: {result}"); } - // Skus_GetNestedResourceTypeFirst - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SkusGetNestedResourceTypeFirst() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_GetNestedResourceTypeFirst.json @@ -115,7 +113,7 @@ public async Task GetIfExists_SkusGetNestedResourceTypeFirst() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_SkusGetNestedResourceTypeFirst() } } - // Skus_CreateOrUpdateNestedResourceTypeFirst - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SkusCreateOrUpdateNestedResourceTypeFirst() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_CreateOrUpdateNestedResourceTypeFirst.json @@ -183,9 +180,8 @@ public async Task CreateOrUpdate_SkusCreateOrUpdateNestedResourceTypeFirst() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Skus_ListByResourceTypeRegistrationsNestedResourceTypeFirst - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SkusListByResourceTypeRegistrationsNestedResourceTypeFirst() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_ListByResourceTypeRegistrationsNestedResourceTypeFirst.json @@ -218,7 +214,7 @@ public async Task GetAll_SkusListByResourceTypeRegistrationsNestedResourceTypeFi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NestedResourceTypeFirstSkuResource.cs b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NestedResourceTypeFirstSkuResource.cs index abb6a39b2df9a..4cdd5a18eda97 100644 --- a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NestedResourceTypeFirstSkuResource.cs +++ b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NestedResourceTypeFirstSkuResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ProviderHub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ProviderHub.Samples { public partial class Sample_NestedResourceTypeFirstSkuResource { - // Skus_GetNestedResourceTypeFirst - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SkusGetNestedResourceTypeFirst() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_GetNestedResourceTypeFirst.json @@ -48,9 +48,8 @@ public async Task Get_SkusGetNestedResourceTypeFirst() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Skus_CreateOrUpdateNestedResourceTypeFirst - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SkusCreateOrUpdateNestedResourceTypeFirst() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_CreateOrUpdateNestedResourceTypeFirst.json @@ -101,9 +100,8 @@ public async Task Update_SkusCreateOrUpdateNestedResourceTypeFirst() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Skus_DeleteNestedResourceTypeFirst - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SkusDeleteNestedResourceTypeFirst() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_DeleteNestedResourceTypeFirst.json @@ -127,7 +125,7 @@ public async Task Delete_SkusDeleteNestedResourceTypeFirst() // invoke the operation await nestedResourceTypeFirstSku.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NestedResourceTypeSecondSkuCollection.cs b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NestedResourceTypeSecondSkuCollection.cs index 395bb9f9f07db..fe329fa8b9506 100644 --- a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NestedResourceTypeSecondSkuCollection.cs +++ b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NestedResourceTypeSecondSkuCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ProviderHub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ProviderHub.Samples { public partial class Sample_NestedResourceTypeSecondSkuCollection { - // Skus_GetNestedResourceTypeSecond - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SkusGetNestedResourceTypeSecond() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_GetNestedResourceTypeSecond.json @@ -52,9 +52,8 @@ public async Task Get_SkusGetNestedResourceTypeSecond() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Skus_GetNestedResourceTypeSecond - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SkusGetNestedResourceTypeSecond() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_GetNestedResourceTypeSecond.json @@ -85,9 +84,8 @@ public async Task Exists_SkusGetNestedResourceTypeSecond() Console.WriteLine($"Succeeded: {result}"); } - // Skus_GetNestedResourceTypeSecond - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SkusGetNestedResourceTypeSecond() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_GetNestedResourceTypeSecond.json @@ -118,7 +116,7 @@ public async Task GetIfExists_SkusGetNestedResourceTypeSecond() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -130,9 +128,8 @@ public async Task GetIfExists_SkusGetNestedResourceTypeSecond() } } - // Skus_CreateOrUpdateNestedResourceTypeSecond - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SkusCreateOrUpdateNestedResourceTypeSecond() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_CreateOrUpdateNestedResourceTypeSecond.json @@ -187,9 +184,8 @@ public async Task CreateOrUpdate_SkusCreateOrUpdateNestedResourceTypeSecond() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Skus_ListByResourceTypeRegistrationsNestedResourceTypeSecond - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SkusListByResourceTypeRegistrationsNestedResourceTypeSecond() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_ListByResourceTypeRegistrationsNestedResourceTypeSecond.json @@ -223,7 +219,7 @@ public async Task GetAll_SkusListByResourceTypeRegistrationsNestedResourceTypeSe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NestedResourceTypeSecondSkuResource.cs b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NestedResourceTypeSecondSkuResource.cs index 8359a8c88dc89..10bba74d4dfdc 100644 --- a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NestedResourceTypeSecondSkuResource.cs +++ b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NestedResourceTypeSecondSkuResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ProviderHub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ProviderHub.Samples { public partial class Sample_NestedResourceTypeSecondSkuResource { - // Skus_GetNestedResourceTypeSecond - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SkusGetNestedResourceTypeSecond() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_GetNestedResourceTypeSecond.json @@ -49,9 +49,8 @@ public async Task Get_SkusGetNestedResourceTypeSecond() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Skus_CreateOrUpdateNestedResourceTypeSecond - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SkusCreateOrUpdateNestedResourceTypeSecond() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_CreateOrUpdateNestedResourceTypeSecond.json @@ -103,9 +102,8 @@ public async Task Update_SkusCreateOrUpdateNestedResourceTypeSecond() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Skus_DeleteNestedResourceTypeSecond - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SkusDeleteNestedResourceTypeSecond() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_DeleteNestedResourceTypeSecond.json @@ -130,7 +128,7 @@ public async Task Delete_SkusDeleteNestedResourceTypeSecond() // invoke the operation await nestedResourceTypeSecondSku.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NestedResourceTypeThirdSkuCollection.cs b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NestedResourceTypeThirdSkuCollection.cs index 3d83da28fdf49..7ca47eb7df2ea 100644 --- a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NestedResourceTypeThirdSkuCollection.cs +++ b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NestedResourceTypeThirdSkuCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ProviderHub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ProviderHub.Samples { public partial class Sample_NestedResourceTypeThirdSkuCollection { - // Skus_GetNestedResourceTypeThird - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SkusGetNestedResourceTypeThird() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_GetNestedResourceTypeThird.json @@ -53,9 +53,8 @@ public async Task Get_SkusGetNestedResourceTypeThird() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Skus_GetNestedResourceTypeThird - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SkusGetNestedResourceTypeThird() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_GetNestedResourceTypeThird.json @@ -87,9 +86,8 @@ public async Task Exists_SkusGetNestedResourceTypeThird() Console.WriteLine($"Succeeded: {result}"); } - // Skus_GetNestedResourceTypeThird - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SkusGetNestedResourceTypeThird() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_GetNestedResourceTypeThird.json @@ -121,7 +119,7 @@ public async Task GetIfExists_SkusGetNestedResourceTypeThird() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -133,9 +131,8 @@ public async Task GetIfExists_SkusGetNestedResourceTypeThird() } } - // Skus_CreateOrUpdateNestedResourceTypeThird - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SkusCreateOrUpdateNestedResourceTypeThird() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_CreateOrUpdateNestedResourceTypeThird.json @@ -191,9 +188,8 @@ public async Task CreateOrUpdate_SkusCreateOrUpdateNestedResourceTypeThird() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Skus_ListByResourceTypeRegistrationsNestedResourceTypeThird - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SkusListByResourceTypeRegistrationsNestedResourceTypeThird() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_ListByResourceTypeRegistrationsNestedResourceTypeThird.json @@ -228,7 +224,7 @@ public async Task GetAll_SkusListByResourceTypeRegistrationsNestedResourceTypeTh Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NestedResourceTypeThirdSkuResource.cs b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NestedResourceTypeThirdSkuResource.cs index 06b4d347996d6..27366d432f111 100644 --- a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NestedResourceTypeThirdSkuResource.cs +++ b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NestedResourceTypeThirdSkuResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ProviderHub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ProviderHub.Samples { public partial class Sample_NestedResourceTypeThirdSkuResource { - // Skus_GetNestedResourceTypeThird - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SkusGetNestedResourceTypeThird() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_GetNestedResourceTypeThird.json @@ -50,9 +50,8 @@ public async Task Get_SkusGetNestedResourceTypeThird() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Skus_CreateOrUpdateNestedResourceTypeThird - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SkusCreateOrUpdateNestedResourceTypeThird() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_CreateOrUpdateNestedResourceTypeThird.json @@ -105,9 +104,8 @@ public async Task Update_SkusCreateOrUpdateNestedResourceTypeThird() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Skus_DeleteNestedResourceTypeThird - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SkusDeleteNestedResourceTypeThird() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_DeleteNestedResourceTypeThird.json @@ -133,7 +131,7 @@ public async Task Delete_SkusDeleteNestedResourceTypeThird() // invoke the operation await nestedResourceTypeThirdSku.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NotificationRegistrationCollection.cs b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NotificationRegistrationCollection.cs index 45f420a530856..959402eb11fd1 100644 --- a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NotificationRegistrationCollection.cs +++ b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NotificationRegistrationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ProviderHub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ProviderHub.Samples { public partial class Sample_NotificationRegistrationCollection { - // NotificationRegistrations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NotificationRegistrationsGet() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/NotificationRegistrations_Get.json @@ -49,9 +49,8 @@ public async Task Get_NotificationRegistrationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NotificationRegistrations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NotificationRegistrationsGet() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/NotificationRegistrations_Get.json @@ -79,9 +78,8 @@ public async Task Exists_NotificationRegistrationsGet() Console.WriteLine($"Succeeded: {result}"); } - // NotificationRegistrations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NotificationRegistrationsGet() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/NotificationRegistrations_Get.json @@ -109,7 +107,7 @@ public async Task GetIfExists_NotificationRegistrationsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_NotificationRegistrationsGet() } } - // NotificationRegistrations_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NotificationRegistrationsCreateOrUpdate() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/NotificationRegistrations_CreateOrUpdate.json @@ -186,9 +183,8 @@ public async Task CreateOrUpdate_NotificationRegistrationsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NotificationRegistrations_ListByProviderRegistration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NotificationRegistrationsListByProviderRegistration() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/NotificationRegistrations_ListByProviderRegistration.json @@ -219,7 +215,7 @@ public async Task GetAll_NotificationRegistrationsListByProviderRegistration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NotificationRegistrationResource.cs b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NotificationRegistrationResource.cs index 74f2c90a8096d..dd46744be3041 100644 --- a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NotificationRegistrationResource.cs +++ b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_NotificationRegistrationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ProviderHub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ProviderHub.Samples { public partial class Sample_NotificationRegistrationResource { - // NotificationRegistrations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NotificationRegistrationsGet() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/NotificationRegistrations_Get.json @@ -46,9 +46,8 @@ public async Task Get_NotificationRegistrationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NotificationRegistrations_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NotificationRegistrationsCreateOrUpdate() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/NotificationRegistrations_CreateOrUpdate.json @@ -108,9 +107,8 @@ public async Task Update_NotificationRegistrationsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NotificationRegistrations_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NotificationRegistrationsDelete() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/NotificationRegistrations_Delete.json @@ -132,7 +130,7 @@ public async Task Delete_NotificationRegistrationsDelete() // invoke the operation await notificationRegistration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_ProviderRegistrationCollection.cs b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_ProviderRegistrationCollection.cs index 50cae6ddc35b9..29cafebd79077 100644 --- a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_ProviderRegistrationCollection.cs +++ b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_ProviderRegistrationCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ProviderHub.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ProviderHub.Samples { public partial class Sample_ProviderRegistrationCollection { - // ProviderRegistrations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProviderRegistrationsGet() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/ProviderRegistrations_Get.json @@ -49,9 +49,8 @@ public async Task Get_ProviderRegistrationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ProviderRegistrations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ProviderRegistrationsGet() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/ProviderRegistrations_Get.json @@ -78,9 +77,8 @@ public async Task Exists_ProviderRegistrationsGet() Console.WriteLine($"Succeeded: {result}"); } - // ProviderRegistrations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ProviderRegistrationsGet() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/ProviderRegistrations_Get.json @@ -107,7 +105,7 @@ public async Task GetIfExists_ProviderRegistrationsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -119,9 +117,8 @@ public async Task GetIfExists_ProviderRegistrationsGet() } } - // ProviderRegistrations_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ProviderRegistrationsCreateOrUpdate() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/ProviderRegistrations_CreateOrUpdate.json @@ -171,9 +168,8 @@ public async Task CreateOrUpdate_ProviderRegistrationsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ProviderRegistrations_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ProviderRegistrationsList() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/ProviderRegistrations_List.json @@ -203,7 +199,7 @@ public async Task GetAll_ProviderRegistrationsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_ProviderRegistrationResource.cs b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_ProviderRegistrationResource.cs index c2c3bbcd322e1..55dda942b44bf 100644 --- a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_ProviderRegistrationResource.cs +++ b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_ProviderRegistrationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ProviderHub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ProviderHub.Samples { public partial class Sample_ProviderRegistrationResource { - // GenerateManifest - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateManifest_GenerateManifest() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/GenerateManifest.json @@ -41,9 +41,8 @@ public async Task GenerateManifest_GenerateManifest() Console.WriteLine($"Succeeded: {result}"); } - // CheckinManifest - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckinManifest_CheckinManifest() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/CheckinManifest.json @@ -68,9 +67,8 @@ public async Task CheckinManifest_CheckinManifest() Console.WriteLine($"Succeeded: {result}"); } - // ProviderRegistrations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProviderRegistrationsGet() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/ProviderRegistrations_Get.json @@ -98,9 +96,8 @@ public async Task Get_ProviderRegistrationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ProviderRegistrations_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ProviderRegistrationsCreateOrUpdate() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/ProviderRegistrations_CreateOrUpdate.json @@ -147,9 +144,8 @@ public async Task Update_ProviderRegistrationsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ProviderRegistrations_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ProviderRegistrationsDelete() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/ProviderRegistrations_Delete.json @@ -170,7 +166,7 @@ public async Task Delete_ProviderRegistrationsDelete() // invoke the operation await providerRegistration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_ResourceTypeRegistrationCollection.cs b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_ResourceTypeRegistrationCollection.cs index f0b7e8ab8b58a..0d00479bf38cf 100644 --- a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_ResourceTypeRegistrationCollection.cs +++ b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_ResourceTypeRegistrationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ProviderHub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ProviderHub.Samples { public partial class Sample_ResourceTypeRegistrationCollection { - // ResourceTypeRegistrations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ResourceTypeRegistrationsGet() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/ResourceTypeRegistrations_Get.json @@ -49,9 +49,8 @@ public async Task Get_ResourceTypeRegistrationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ResourceTypeRegistrations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ResourceTypeRegistrationsGet() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/ResourceTypeRegistrations_Get.json @@ -79,9 +78,8 @@ public async Task Exists_ResourceTypeRegistrationsGet() Console.WriteLine($"Succeeded: {result}"); } - // ResourceTypeRegistrations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ResourceTypeRegistrationsGet() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/ResourceTypeRegistrations_Get.json @@ -109,7 +107,7 @@ public async Task GetIfExists_ResourceTypeRegistrationsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_ResourceTypeRegistrationsGet() } } - // ResourceTypeRegistrations_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ResourceTypeRegistrationsCreateOrUpdate() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/ResourceTypeRegistrations_CreateOrUpdate.json @@ -193,9 +190,8 @@ public async Task CreateOrUpdate_ResourceTypeRegistrationsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ResourceTypeRegistrations_ListByProviderRegistration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ResourceTypeRegistrationsListByProviderRegistration() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/ResourceTypeRegistrations_ListByProviderRegistration.json @@ -226,7 +222,7 @@ public async Task GetAll_ResourceTypeRegistrationsListByProviderRegistration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_ResourceTypeRegistrationResource.cs b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_ResourceTypeRegistrationResource.cs index d88011c4f0040..445c59dd81b97 100644 --- a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_ResourceTypeRegistrationResource.cs +++ b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_ResourceTypeRegistrationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ProviderHub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ProviderHub.Samples { public partial class Sample_ResourceTypeRegistrationResource { - // ResourceTypeRegistrations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ResourceTypeRegistrationsGet() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/ResourceTypeRegistrations_Get.json @@ -46,9 +46,8 @@ public async Task Get_ResourceTypeRegistrationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ResourceTypeRegistrations_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ResourceTypeRegistrationsCreateOrUpdate() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/ResourceTypeRegistrations_CreateOrUpdate.json @@ -115,9 +114,8 @@ public async Task Update_ResourceTypeRegistrationsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ResourceTypeRegistrations_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ResourceTypeRegistrationsDelete() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/ResourceTypeRegistrations_Delete.json @@ -139,7 +137,7 @@ public async Task Delete_ResourceTypeRegistrationsDelete() // invoke the operation await resourceTypeRegistration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_ResourceTypeSkuCollection.cs b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_ResourceTypeSkuCollection.cs index 7275a0b7bbc10..297531f10acf7 100644 --- a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_ResourceTypeSkuCollection.cs +++ b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_ResourceTypeSkuCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ProviderHub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ProviderHub.Samples { public partial class Sample_ResourceTypeSkuCollection { - // Skus_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SkusGet() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_Get.json @@ -50,9 +50,8 @@ public async Task Get_SkusGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Skus_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SkusGet() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_Get.json @@ -81,9 +80,8 @@ public async Task Exists_SkusGet() Console.WriteLine($"Succeeded: {result}"); } - // Skus_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SkusGet() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_SkusGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_SkusGet() } } - // Skus_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SkusCreateOrUpdate() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_CreateOrUpdate.json @@ -179,9 +176,8 @@ public async Task CreateOrUpdate_SkusCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Skus_ListByResourceTypeRegistrations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SkusListByResourceTypeRegistrations() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_ListByResourceTypeRegistrations.json @@ -213,7 +209,7 @@ public async Task GetAll_SkusListByResourceTypeRegistrations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_ResourceTypeSkuResource.cs b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_ResourceTypeSkuResource.cs index 41a68ce838011..b8240dab390f7 100644 --- a/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_ResourceTypeSkuResource.cs +++ b/sdk/providerhub/Azure.ResourceManager.ProviderHub/samples/Generated/Samples/Sample_ResourceTypeSkuResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ProviderHub.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ProviderHub.Samples { public partial class Sample_ResourceTypeSkuResource { - // Skus_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SkusGet() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_Get.json @@ -47,9 +47,8 @@ public async Task Get_SkusGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Skus_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SkusCreateOrUpdate() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_CreateOrUpdate.json @@ -99,9 +98,8 @@ public async Task Update_SkusCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Skus_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SkusDelete() { // Generated from example definition: specification/providerhub/resource-manager/Microsoft.ProviderHub/stable/2020-11-20/examples/Skus_Delete.json @@ -124,7 +122,7 @@ public async Task Delete_SkusDelete() // invoke the operation await resourceTypeSku.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } From a262bb6a44010c9eab0ac05b458c4f645afef70a Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Tue, 12 Nov 2024 03:47:00 +0000 Subject: [PATCH 7/8] Update SDK codes co_de_1 --- .../Sample_CommunicationDomainResource.cs | 32 +- ...e_CommunicationDomainResourceCollection.cs | 30 +- .../Sample_CommunicationServiceResource.cs | 70 ++-- ..._CommunicationServiceResourceCollection.cs | 35 +- .../Samples/Sample_EmailServiceResource.cs | 32 +- .../Sample_EmailServiceResourceCollection.cs | 30 +- .../Samples/Sample_SenderUsernameResource.cs | 18 +- ...Sample_SenderUsernameResourceCollection.cs | 30 +- .../Sample_AvailabilitySetCollection.cs | 59 ++-- .../Samples/Sample_AvailabilitySetResource.cs | 56 ++- .../Sample_CapacityReservationCollection.cs | 30 +- ...mple_CapacityReservationGroupCollection.cs | 30 +- ...Sample_CapacityReservationGroupResource.cs | 44 +-- .../Sample_CapacityReservationResource.cs | 30 +- .../Samples/Sample_CloudServiceCollection.cs | 50 ++- .../Sample_CloudServiceOSFamilyCollection.cs | 25 +- .../Sample_CloudServiceOSFamilyResource.cs | 6 +- .../Sample_CloudServiceOSVersionCollection.cs | 25 +- .../Sample_CloudServiceOSVersionResource.cs | 6 +- .../Samples/Sample_CloudServiceResource.cs | 91 +++-- .../Sample_CloudServiceRoleCollection.cs | 25 +- ...mple_CloudServiceRoleInstanceCollection.cs | 25 +- ...Sample_CloudServiceRoleInstanceResource.cs | 44 +-- .../Sample_CloudServiceRoleResource.cs | 6 +- .../Sample_CommunityGalleryCollection.cs | 18 +- .../Sample_CommunityGalleryImageCollection.cs | 25 +- .../Sample_CommunityGalleryImageResource.cs | 6 +- ..._CommunityGalleryImageVersionCollection.cs | 25 +- ...le_CommunityGalleryImageVersionResource.cs | 6 +- .../Sample_CommunityGalleryResource.cs | 6 +- ...putePrivateEndpointConnectionCollection.cs | 30 +- ...omputePrivateEndpointConnectionResource.cs | 18 +- .../Samples/Sample_DedicatedHostCollection.cs | 37 +- .../Sample_DedicatedHostGroupCollection.cs | 59 ++-- .../Sample_DedicatedHostGroupResource.cs | 49 ++- .../Samples/Sample_DedicatedHostResource.cs | 56 ++- .../Samples/Sample_DiskAccessCollection.cs | 47 ++- .../Samples/Sample_DiskAccessResource.cs | 37 +- .../Sample_DiskEncryptionSetCollection.cs | 57 ++- .../Sample_DiskEncryptionSetResource.cs | 47 ++- .../Samples/Sample_DiskImageCollection.cs | 75 ++-- .../Samples/Sample_DiskImageResource.cs | 32 +- .../Sample_DiskRestorePointCollection.cs | 42 +-- .../Sample_DiskRestorePointResource.cs | 23 +- .../Sample_GalleryApplicationCollection.cs | 30 +- .../Sample_GalleryApplicationResource.cs | 18 +- ...ple_GalleryApplicationVersionCollection.cs | 47 ++- ...ample_GalleryApplicationVersionResource.cs | 23 +- .../Samples/Sample_GalleryCollection.cs | 96 +++-- .../Samples/Sample_GalleryImageCollection.cs | 30 +- .../Samples/Sample_GalleryImageResource.cs | 18 +- .../Sample_GalleryImageVersionCollection.cs | 126 +++---- .../Sample_GalleryImageVersionResource.cs | 38 +- .../Samples/Sample_GalleryResource.cs | 55 ++- .../Samples/Sample_ManagedDiskCollection.cs | 150 ++++---- .../Samples/Sample_ManagedDiskResource.cs | 87 ++--- ...ample_ProximityPlacementGroupCollection.cs | 30 +- .../Sample_ProximityPlacementGroupResource.cs | 25 +- .../Samples/Sample_RestorePointCollection.cs | 45 +-- .../Sample_RestorePointGroupCollection.cs | 52 ++- .../Sample_RestorePointGroupResource.cs | 42 +-- .../Samples/Sample_RestorePointResource.cs | 35 +- .../Samples/Sample_SharedGalleryCollection.cs | 25 +- .../Sample_SharedGalleryImageCollection.cs | 25 +- .../Sample_SharedGalleryImageResource.cs | 6 +- ...ple_SharedGalleryImageVersionCollection.cs | 25 +- ...ample_SharedGalleryImageVersionResource.cs | 6 +- .../Samples/Sample_SharedGalleryResource.cs | 6 +- .../Samples/Sample_SnapshotCollection.cs | 72 ++-- .../Samples/Sample_SnapshotResource.cs | 47 ++- .../Samples/Sample_SshPublicKeyCollection.cs | 37 +- .../Samples/Sample_SshPublicKeyResource.cs | 59 ++-- .../Sample_SubscriptionResourceExtensions.cs | 206 +++++------ .../Sample_VirtualMachineCollection.cs | 328 +++++++---------- ...ample_VirtualMachineExtensionCollection.cs | 59 ++-- ..._VirtualMachineExtensionImageCollection.cs | 63 ++-- ...le_VirtualMachineExtensionImageResource.cs | 11 +- .../Sample_VirtualMachineExtensionResource.cs | 30 +- .../Samples/Sample_VirtualMachineResource.cs | 249 ++++++------- ...mple_VirtualMachineRunCommandCollection.cs | 30 +- ...Sample_VirtualMachineRunCommandResource.cs | 30 +- ...Sample_VirtualMachineScaleSetCollection.cs | 318 +++++++---------- ...rtualMachineScaleSetExtensionCollection.cs | 59 ++-- ...VirtualMachineScaleSetExtensionResource.cs | 35 +- .../Sample_VirtualMachineScaleSetResource.cs | 331 ++++++++---------- ...alMachineScaleSetRollingUpgradeResource.cs | 11 +- ...mple_VirtualMachineScaleSetVmCollection.cs | 59 ++-- ...ualMachineScaleSetVmExtensionCollection.cs | 30 +- ...rtualMachineScaleSetVmExtensionResource.cs | 18 +- ...Sample_VirtualMachineScaleSetVmResource.cs | 179 ++++------ ...alMachineScaleSetVmRunCommandCollection.cs | 30 +- ...tualMachineScaleSetVmRunCommandResource.cs | 18 +- .../Samples/Sample_ComputeFleetCollection.cs | 35 +- .../Samples/Sample_ComputeFleetResource.cs | 32 +- .../Sample_SubscriptionResourceExtensions.cs | 91 ++--- .../Sample_ConfidentialLedgerCollection.cs | 30 +- .../Sample_ConfidentialLedgerResource.cs | 35 +- .../Samples/Sample_ManagedCcfCollection.cs | 30 +- .../Samples/Sample_ManagedCcfResource.cs | 35 +- .../Sample_SubscriptionResourceExtensions.cs | 6 +- .../Sample_ConfluentOrganizationCollection.cs | 30 +- .../Sample_ConfluentOrganizationResource.cs | 135 +++---- .../Sample_ResourceGroupResourceExtensions.cs | 11 +- .../Sample_SubscriptionResourceExtensions.cs | 13 +- .../Sample_VCenterInventoryItemCollection.cs | 30 +- .../Sample_VCenterInventoryItemResource.cs | 18 +- .../Samples/Sample_VMwareClusterCollection.cs | 30 +- .../Samples/Sample_VMwareClusterResource.cs | 25 +- .../Sample_VMwareDatastoreCollection.cs | 30 +- .../Samples/Sample_VMwareDatastoreResource.cs | 25 +- .../Samples/Sample_VMwareHostCollection.cs | 30 +- .../Samples/Sample_VMwareHostResource.cs | 25 +- .../Sample_VMwareResourcePoolCollection.cs | 30 +- .../Sample_VMwareResourcePoolResource.cs | 25 +- .../Samples/Sample_VMwareVCenterCollection.cs | 30 +- .../Samples/Sample_VMwareVCenterResource.cs | 25 +- .../Sample_VMwareVirtualNetworkCollection.cs | 30 +- .../Sample_VMwareVirtualNetworkResource.cs | 25 +- .../Sample_VMwareVmInstanceResource.cs | 44 +-- .../Sample_VMwareVmTemplateCollection.cs | 30 +- .../Sample_VMwareVmTemplateResource.cs | 25 +- .../Sample_VmInstanceGuestAgentResource.cs | 18 +- ...mInstanceHybridIdentityMetadataResource.cs | 6 +- .../Sample_ConsumptionBudgetCollection.cs | 25 +- .../Sample_ConsumptionBudgetResource.cs | 13 +- ...ample_ManagementGroupResourceExtensions.cs | 11 +- .../Sample_SubscriptionResourceExtensions.cs | 6 +- ...Sample_ContainerAppAuthConfigCollection.cs | 30 +- .../Sample_ContainerAppAuthConfigResource.cs | 18 +- .../Samples/Sample_ContainerAppCollection.cs | 40 +-- ...nnectedEnvironmentCertificateCollection.cs | 30 +- ...ConnectedEnvironmentCertificateResource.cs | 18 +- ...tainerAppConnectedEnvironmentCollection.cs | 30 +- ...ectedEnvironmentDaprComponentCollection.cs | 30 +- ...nnectedEnvironmentDaprComponentResource.cs | 25 +- ...ontainerAppConnectedEnvironmentResource.cs | 30 +- ...ppConnectedEnvironmentStorageCollection.cs | 30 +- ...rAppConnectedEnvironmentStorageResource.cs | 18 +- .../Sample_ContainerAppDetectorCollection.cs | 25 +- ...le_ContainerAppDetectorPropertyResource.cs | 6 +- ...erAppDetectorPropertyRevisionCollection.cs | 25 +- ...inerAppDetectorPropertyRevisionResource.cs | 6 +- .../Sample_ContainerAppDetectorResource.cs | 6 +- .../Sample_ContainerAppJobCollection.cs | 35 +- ...ample_ContainerAppJobDetectorCollection.cs | 25 +- ...ntainerAppJobDetectorPropertyCollection.cs | 18 +- ...ContainerAppJobDetectorPropertyResource.cs | 6 +- .../Sample_ContainerAppJobDetectorResource.cs | 6 +- ...mple_ContainerAppJobExecutionCollection.cs | 25 +- ...Sample_ContainerAppJobExecutionResource.cs | 18 +- .../Samples/Sample_ContainerAppJobResource.cs | 42 +-- ...ontainerAppManagedCertificateCollection.cs | 30 +- ..._ContainerAppManagedCertificateResource.cs | 18 +- ...ManagedEnvironmentCertificateCollection.cs | 30 +- ...ppManagedEnvironmentCertificateResource.cs | 18 +- ...ontainerAppManagedEnvironmentCollection.cs | 35 +- ...nagedEnvironmentDaprComponentCollection.cs | 52 ++- ...ManagedEnvironmentDaprComponentResource.cs | 35 +- ...AppManagedEnvironmentDetectorCollection.cs | 25 +- ...erAppManagedEnvironmentDetectorResource.cs | 6 +- ...ronmentDetectorResourcePropertyResource.cs | 6 +- ..._ContainerAppManagedEnvironmentResource.cs | 54 ++- ...rAppManagedEnvironmentStorageCollection.cs | 30 +- ...nerAppManagedEnvironmentStorageResource.cs | 18 +- .../Sample_ContainerAppReplicaCollection.cs | 25 +- .../Sample_ContainerAppReplicaResource.cs | 6 +- .../Samples/Sample_ContainerAppResource.cs | 52 ++- .../Sample_ContainerAppRevisionCollection.cs | 25 +- .../Sample_ContainerAppRevisionResource.cs | 27 +- ...ple_ContainerAppSourceControlCollection.cs | 30 +- ...ample_ContainerAppSourceControlResource.cs | 18 +- .../Sample_SubscriptionResourceExtensions.cs | 22 +- .../Sample_ContainerGroupCollection.cs | 89 ++--- .../Sample_ContainerGroupProfileCollection.cs | 67 ++-- .../Sample_ContainerGroupProfileResource.cs | 30 +- ...ContainerGroupProfileRevisionCollection.cs | 25 +- ...e_ContainerGroupProfileRevisionResource.cs | 6 +- .../Samples/Sample_ContainerGroupResource.cs | 69 ++-- .../Sample_ResourceGroupResourceExtensions.cs | 8 +- .../Sample_SubscriptionResourceExtensions.cs | 22 +- ...ample_ConnectedClusterBgpPeerCollection.cs | 30 +- .../Sample_ConnectedClusterBgpPeerResource.cs | 18 +- ..._ConnectedClusterLoadBalancerCollection.cs | 30 +- ...le_ConnectedClusterLoadBalancerResource.cs | 18 +- ...ample_ConnectedClusterServiceCollection.cs | 30 +- .../Sample_ConnectedClusterServiceResource.cs | 18 +- ..._ConnectedClusterStorageClassCollection.cs | 30 +- ...le_ConnectedClusterStorageClassResource.cs | 18 +- ...le_ContainerRegistryAgentPoolCollection.cs | 30 +- ...mple_ContainerRegistryAgentPoolResource.cs | 23 +- .../Sample_ContainerRegistryCollection.cs | 35 +- ...stryPrivateEndpointConnectionCollection.cs | 30 +- ...gistryPrivateEndpointConnectionResource.cs | 18 +- ...le_ContainerRegistryPrivateLinkResource.cs | 6 +- ...erRegistryPrivateLinkResourceCollection.cs | 25 +- ..._ContainerRegistryReplicationCollection.cs | 35 +- ...le_ContainerRegistryReplicationResource.cs | 18 +- .../Sample_ContainerRegistryResource.cs | 118 +++---- .../Sample_ContainerRegistryRunCollection.cs | 25 +- .../Sample_ContainerRegistryRunResource.cs | 23 +- .../Sample_ContainerRegistryTaskCollection.cs | 50 ++- .../Sample_ContainerRegistryTaskResource.cs | 43 +-- ...mple_ContainerRegistryTaskRunCollection.cs | 30 +- ...Sample_ContainerRegistryTaskRunResource.cs | 23 +- ...Sample_ContainerRegistryTokenCollection.cs | 30 +- .../Sample_ContainerRegistryTokenResource.cs | 18 +- ...mple_ContainerRegistryWebhookCollection.cs | 30 +- ...Sample_ContainerRegistryWebhookResource.cs | 35 +- .../Samples/Sample_ScopeMapCollection.cs | 30 +- .../Samples/Sample_ScopeMapResource.cs | 18 +- .../Sample_AgentPoolSnapshotCollection.cs | 30 +- .../Sample_AgentPoolSnapshotResource.cs | 25 +- .../Sample_AgentPoolUpgradeProfileResource.cs | 6 +- ...ple_ContainerServiceAgentPoolCollection.cs | 115 +++--- ...ample_ContainerServiceAgentPoolResource.cs | 117 +++---- ...rviceMaintenanceConfigurationCollection.cs | 59 ++-- ...ServiceMaintenanceConfigurationResource.cs | 35 +- ...ontainerServiceManagedClusterCollection.cs | 155 ++++---- ..._ContainerServiceManagedClusterResource.cs | 133 +++---- ...vicePrivateEndpointConnectionCollection.cs | 30 +- ...ervicePrivateEndpointConnectionResource.cs | 18 +- ...rviceTrustedAccessRoleBindingCollection.cs | 30 +- ...ServiceTrustedAccessRoleBindingResource.cs | 18 +- ...le_ManagedClusterUpgradeProfileResource.cs | 6 +- .../Sample_MeshRevisionProfileCollection.cs | 25 +- .../Sample_MeshRevisionProfileResource.cs | 6 +- .../Sample_MeshUpgradeProfileCollection.cs | 25 +- .../Sample_MeshUpgradeProfileResource.cs | 6 +- .../Samples/Sample_OSOptionProfileResource.cs | 6 +- .../Sample_SubscriptionResourceExtensions.cs | 13 +- .../Sample_CassandraClusterCollection.cs | 30 +- .../Sample_CassandraClusterResource.cs | 75 ++-- .../Sample_CassandraDataCenterCollection.cs | 30 +- .../Sample_CassandraDataCenterResource.cs | 18 +- .../Sample_CassandraKeyspaceCollection.cs | 30 +- .../Sample_CassandraKeyspaceResource.cs | 18 +- ...sandraKeyspaceThroughputSettingResource.cs | 21 +- .../Sample_CassandraTableCollection.cs | 30 +- .../Samples/Sample_CassandraTableResource.cs | 18 +- ...CassandraTableThroughputSettingResource.cs | 21 +- ...Sample_CassandraViewGetResultCollection.cs | 30 +- .../Sample_CassandraViewGetResultResource.cs | 18 +- ..._CassandraViewThroughputSettingResource.cs | 21 +- .../Sample_CosmosDBAccountCollection.cs | 40 +-- .../Samples/Sample_CosmosDBAccountResource.cs | 215 +++++------- .../Sample_CosmosDBChaosFaultResource.cs | 11 +- ...le_CosmosDBChaosFaultResourceCollection.cs | 30 +- .../Sample_CosmosDBLocationCollection.cs | 25 +- .../Sample_CosmosDBLocationResource.cs | 6 +- ...osDBPrivateEndpointConnectionCollection.cs | 30 +- ...smosDBPrivateEndpointConnectionResource.cs | 18 +- .../Sample_CosmosDBPrivateLinkResource.cs | 6 +- ...e_CosmosDBPrivateLinkResourceCollection.cs | 25 +- .../Sample_CosmosDBServiceCollection.cs | 96 +++-- .../Samples/Sample_CosmosDBServiceResource.cs | 69 ++-- ...osmosDBSqlClientEncryptionKeyCollection.cs | 30 +- ..._CosmosDBSqlClientEncryptionKeyResource.cs | 11 +- .../Sample_CosmosDBSqlContainerCollection.cs | 40 +-- .../Sample_CosmosDBSqlContainerResource.cs | 38 +- ...DBSqlContainerThroughputSettingResource.cs | 31 +- .../Sample_CosmosDBSqlDatabaseCollection.cs | 35 +- .../Sample_CosmosDBSqlDatabaseResource.cs | 28 +- ...sDBSqlDatabaseThroughputSettingResource.cs | 31 +- ...ple_CosmosDBSqlRoleAssignmentCollection.cs | 30 +- ...ample_CosmosDBSqlRoleAssignmentResource.cs | 18 +- ...ple_CosmosDBSqlRoleDefinitionCollection.cs | 30 +- ...ample_CosmosDBSqlRoleDefinitionResource.cs | 18 +- ...le_CosmosDBSqlStoredProcedureCollection.cs | 30 +- ...mple_CosmosDBSqlStoredProcedureResource.cs | 18 +- .../Sample_CosmosDBSqlTriggerCollection.cs | 30 +- .../Sample_CosmosDBSqlTriggerResource.cs | 18 +- ...osmosDBSqlUserDefinedFunctionCollection.cs | 30 +- ..._CosmosDBSqlUserDefinedFunctionResource.cs | 18 +- .../Samples/Sample_CosmosDBTableCollection.cs | 30 +- .../Samples/Sample_CosmosDBTableResource.cs | 23 +- ...CosmosDBThroughputPoolAccountCollection.cs | 30 +- ...e_CosmosDBThroughputPoolAccountResource.cs | 18 +- ...Sample_CosmosDBThroughputPoolCollection.cs | 30 +- .../Sample_CosmosDBThroughputPoolResource.cs | 25 +- ...le_CosmosTableThroughputSettingResource.cs | 21 +- ...mple_DataTransferJobGetResultCollection.cs | 30 +- ...Sample_DataTransferJobGetResultResource.cs | 31 +- ...Sample_GraphResourceGetResultCollection.cs | 30 +- .../Sample_GraphResourceGetResultResource.cs | 18 +- .../Sample_GremlinDatabaseCollection.cs | 30 +- .../Samples/Sample_GremlinDatabaseResource.cs | 18 +- ...remlinDatabaseThroughputSettingResource.cs | 21 +- .../Samples/Sample_GremlinGraphCollection.cs | 30 +- .../Samples/Sample_GremlinGraphResource.cs | 23 +- ...e_GremlinGraphThroughputSettingResource.cs | 21 +- .../Sample_MongoDBCollectionCollection.cs | 35 +- .../Sample_MongoDBCollectionResource.cs | 33 +- ...goDBCollectionThroughputSettingResource.cs | 31 +- .../Sample_MongoDBDatabaseCollection.cs | 35 +- .../Samples/Sample_MongoDBDatabaseResource.cs | 28 +- ...ongoDBDatabaseThroughputSettingResource.cs | 31 +- .../Sample_MongoDBRoleDefinitionCollection.cs | 30 +- .../Sample_MongoDBRoleDefinitionResource.cs | 18 +- .../Sample_MongoDBUserDefinitionCollection.cs | 30 +- .../Sample_MongoDBUserDefinitionResource.cs | 18 +- ...ecurityPerimeterConfigurationCollection.cs | 25 +- ...kSecurityPerimeterConfigurationResource.cs | 13 +- ...ple_RestorableCosmosDBAccountCollection.cs | 25 +- ...ample_RestorableCosmosDBAccountResource.cs | 90 +++-- ..._CosmosDBForPostgreSqlClusterCollection.cs | 55 ++- ...le_CosmosDBForPostgreSqlClusterResource.cs | 78 ++--- ...sDBForPostgreSqlClusterServerCollection.cs | 25 +- ...mosDBForPostgreSqlClusterServerResource.cs | 13 +- ...sDBForPostgreSqlConfigurationCollection.cs | 25 +- ...mosDBForPostgreSqlConfigurationResource.cs | 6 +- ...reSqlCoordinatorConfigurationCollection.cs | 23 +- ...tgreSqlCoordinatorConfigurationResource.cs | 11 +- ...osDBForPostgreSqlFirewallRuleCollection.cs | 30 +- ...smosDBForPostgreSqlFirewallRuleResource.cs | 18 +- ...orPostgreSqlNodeConfigurationCollection.cs | 23 +- ...BForPostgreSqlNodeConfigurationResource.cs | 11 +- ...eSqlPrivateEndpointConnectionCollection.cs | 30 +- ...greSqlPrivateEndpointConnectionResource.cs | 18 +- ...osmosDBForPostgreSqlPrivateLinkResource.cs | 6 +- ...PostgreSqlPrivateLinkResourceCollection.cs | 25 +- ...ple_CosmosDBForPostgreSqlRoleCollection.cs | 30 +- ...ample_CosmosDBForPostgreSqlRoleResource.cs | 18 +- .../Sample_CostManagementAlertCollection.cs | 84 ++--- .../Sample_CostManagementAlertResource.cs | 35 +- .../Sample_CostManagementExportCollection.cs | 175 ++++----- .../Sample_CostManagementExportResource.cs | 187 +++++----- .../Sample_CostManagementViewsCollection.cs | 30 +- .../Sample_CostManagementViewsResource.cs | 18 +- .../Sample_ScheduledActionCollection.cs | 42 +-- .../Samples/Sample_ScheduledActionResource.cs | 30 +- .../Sample_TenantResourceExtensions.cs | 118 +++---- .../Sample_TenantScheduledActionCollection.cs | 23 +- .../Sample_TenantScheduledActionResource.cs | 25 +- ...le_TenantsCostManagementViewsCollection.cs | 23 +- ...mple_TenantsCostManagementViewsResource.cs | 18 +- ...orizationPolicyResourceFormatCollection.cs | 30 +- ...thorizationPolicyResourceFormatResource.cs | 21 +- ...onnectorMappingResourceFormatCollection.cs | 30 +- ..._ConnectorMappingResourceFormatResource.cs | 18 +- ...ample_ConnectorResourceFormatCollection.cs | 30 +- .../Sample_ConnectorResourceFormatResource.cs | 18 +- .../Generated/Samples/Sample_HubCollection.cs | 30 +- .../Generated/Samples/Sample_HubResource.cs | 42 +-- ...ple_InteractionResourceFormatCollection.cs | 30 +- ...ample_InteractionResourceFormatResource.cs | 16 +- .../Sample_KpiResourceFormatCollection.cs | 30 +- .../Sample_KpiResourceFormatResource.cs | 25 +- .../Sample_LinkResourceFormatCollection.cs | 30 +- .../Sample_LinkResourceFormatResource.cs | 18 +- ...mple_PredictionResourceFormatCollection.cs | 30 +- ...Sample_PredictionResourceFormatResource.cs | 35 +- .../Sample_ProfileResourceFormatCollection.cs | 30 +- .../Sample_ProfileResourceFormatResource.cs | 25 +- ...elationshipLinkResourceFormatCollection.cs | 30 +- ..._RelationshipLinkResourceFormatResource.cs | 18 +- ...le_RelationshipResourceFormatCollection.cs | 30 +- ...mple_RelationshipResourceFormatResource.cs | 18 +- ..._RoleAssignmentResourceFormatCollection.cs | 30 +- ...le_RoleAssignmentResourceFormatResource.cs | 18 +- .../Sample_ViewResourceFormatCollection.cs | 30 +- .../Sample_ViewResourceFormatResource.cs | 18 +- ...mple_WidgetTypeResourceFormatCollection.cs | 25 +- ...Sample_WidgetTypeResourceFormatResource.cs | 6 +- .../Samples/Sample_DataBoxJobCollection.cs | 118 +++---- .../Samples/Sample_DataBoxJobResource.cs | 66 ++-- .../Sample_ResourceGroupResourceExtensions.cs | 18 +- .../Sample_SubscriptionResourceExtensions.cs | 16 +- .../Sample_BandwidthScheduleCollection.cs | 30 +- .../Sample_BandwidthScheduleResource.cs | 18 +- .../Sample_DataBoxEdgeAlertCollection.cs | 25 +- .../Sample_DataBoxEdgeAlertResource.cs | 6 +- .../Sample_DataBoxEdgeDeviceCollection.cs | 52 ++- .../Sample_DataBoxEdgeDeviceResource.cs | 114 +++--- .../Sample_DataBoxEdgeJobCollection.cs | 18 +- .../Samples/Sample_DataBoxEdgeJobResource.cs | 6 +- .../Sample_DataBoxEdgeOrderResource.cs | 23 +- .../Sample_DataBoxEdgeRoleAddonCollection.cs | 30 +- .../Sample_DataBoxEdgeRoleAddonResource.cs | 18 +- .../Sample_DataBoxEdgeRoleCollection.cs | 30 +- .../Samples/Sample_DataBoxEdgeRoleResource.cs | 18 +- .../Sample_DataBoxEdgeShareCollection.cs | 30 +- .../Sample_DataBoxEdgeShareResource.cs | 25 +- ...ple_DataBoxEdgeStorageAccountCollection.cs | 30 +- ...xEdgeStorageAccountCredentialCollection.cs | 30 +- ...BoxEdgeStorageAccountCredentialResource.cs | 18 +- ...ample_DataBoxEdgeStorageAccountResource.cs | 18 +- ...e_DataBoxEdgeStorageContainerCollection.cs | 30 +- ...ple_DataBoxEdgeStorageContainerResource.cs | 25 +- .../Sample_DataBoxEdgeTriggerCollection.cs | 30 +- .../Sample_DataBoxEdgeTriggerResource.cs | 18 +- .../Sample_DataBoxEdgeUserCollection.cs | 30 +- .../Samples/Sample_DataBoxEdgeUserResource.cs | 18 +- ...icProactiveLogCollectionSettingResource.cs | 11 +- ..._DiagnosticRemoteSupportSettingResource.cs | 11 +- ...e_MonitoringMetricConfigurationResource.cs | 18 +- .../Sample_SubscriptionResourceExtensions.cs | 8 +- .../Samples/Sample_DatadogMonitorResource.cs | 70 ++-- ...Sample_DatadogMonitorResourceCollection.cs | 30 +- .../Sample_DatadogSingleSignOnResource.cs | 11 +- ...e_DatadogSingleSignOnResourceCollection.cs | 30 +- .../Sample_MonitoringTagRuleCollection.cs | 30 +- .../Sample_MonitoringTagRuleResource.cs | 11 +- .../Sample_SubscriptionResourceExtensions.cs | 13 +- ..._DataFactoryChangeDataCaptureCollection.cs | 25 +- ...le_DataFactoryChangeDataCaptureResource.cs | 32 +- .../Samples/Sample_DataFactoryCollection.cs | 30 +- .../Sample_DataFactoryDataFlowCollection.cs | 35 +- .../Sample_DataFactoryDataFlowResource.cs | 23 +- .../Sample_DataFactoryDatasetCollection.cs | 35 +- .../Sample_DataFactoryDatasetResource.cs | 23 +- ...le_DataFactoryGlobalParameterCollection.cs | 35 +- ...mple_DataFactoryGlobalParameterResource.cs | 23 +- ...DataFactoryIntegrationRuntimeCollection.cs | 30 +- ...e_DataFactoryIntegrationRuntimeResource.cs | 122 +++---- ...mple_DataFactoryLinkedServiceCollection.cs | 35 +- ...Sample_DataFactoryLinkedServiceResource.cs | 23 +- ...aFactoryManagedVirtualNetworkCollection.cs | 30 +- ...ataFactoryManagedVirtualNetworkResource.cs | 11 +- .../Sample_DataFactoryPipelineCollection.cs | 35 +- .../Sample_DataFactoryPipelineResource.cs | 28 +- ...le_DataFactoryPrivateEndpointCollection.cs | 30 +- ...toryPrivateEndpointConnectionCollection.cs | 30 +- ...actoryPrivateEndpointConnectionResource.cs | 18 +- ...mple_DataFactoryPrivateEndpointResource.cs | 18 +- .../Samples/Sample_DataFactoryResource.cs | 126 +++---- ..._DataFactoryServiceCredentialCollection.cs | 30 +- ...le_DataFactoryServiceCredentialResource.cs | 18 +- .../Sample_DataFactoryTriggerCollection.cs | 35 +- .../Sample_DataFactoryTriggerResource.cs | 66 ++-- .../Sample_SubscriptionResourceExtensions.cs | 6 +- ...mple_DataLakeAnalyticsAccountCollection.cs | 30 +- ...Sample_DataLakeAnalyticsAccountResource.cs | 30 +- ...ataLakeAnalyticsComputePolicyCollection.cs | 30 +- ..._DataLakeAnalyticsComputePolicyResource.cs | 18 +- ...DataLakeAnalyticsFirewallRuleCollection.cs | 30 +- ...e_DataLakeAnalyticsFirewallRuleResource.cs | 18 +- ...ticsStorageAccountInformationCollection.cs | 32 +- ...lyticsStorageAccountInformationResource.cs | 20 +- ...LakeAnalyticsStorageContainerCollection.cs | 25 +- ...taLakeAnalyticsStorageContainerResource.cs | 13 +- ...taLakeStoreAccountInformationCollection.cs | 32 +- ...DataLakeStoreAccountInformationResource.cs | 20 +- .../Sample_SubscriptionResourceExtensions.cs | 6 +- .../Sample_DataMigrationServiceCollection.cs | 30 +- .../Sample_DataMigrationServiceResource.cs | 61 ++-- ...Sample_DatabaseMigrationSqlDBCollection.cs | 45 +-- .../Sample_DatabaseMigrationSqlDBResource.cs | 35 +- ...Sample_DatabaseMigrationSqlMICollection.cs | 45 +-- .../Sample_DatabaseMigrationSqlMIResource.cs | 35 +- ...Sample_DatabaseMigrationSqlVmCollection.cs | 45 +-- .../Sample_DatabaseMigrationSqlVmResource.cs | 35 +- .../Samples/Sample_ProjectCollection.cs | 30 +- .../Samples/Sample_ProjectFileCollection.cs | 30 +- .../Samples/Sample_ProjectFileResource.cs | 28 +- .../Samples/Sample_ProjectResource.cs | 18 +- .../Sample_ServiceProjectTaskCollection.cs | 30 +- .../Sample_ServiceProjectTaskResource.cs | 28 +- .../Sample_ServiceServiceTaskCollection.cs | 30 +- .../Sample_ServiceServiceTaskResource.cs | 23 +- .../Sample_SqlMigrationServiceCollection.cs | 35 +- .../Sample_SqlMigrationServiceResource.cs | 52 ++- .../Sample_SubscriptionResourceExtensions.cs | 15 +- .../Sample_DataShareAccountCollection.cs | 30 +- .../Sample_DataShareAccountResource.cs | 23 +- .../Samples/Sample_DataShareCollection.cs | 30 +- ...e_DataShareConsumerInvitationCollection.cs | 25 +- ...ple_DataShareConsumerInvitationResource.cs | 11 +- .../Sample_DataShareInvitationCollection.cs | 30 +- .../Sample_DataShareInvitationResource.cs | 18 +- .../Samples/Sample_DataShareResource.cs | 30 +- ...taShareSynchronizationSettingCollection.cs | 30 +- ...DataShareSynchronizationSettingResource.cs | 16 +- .../Sample_DataShareTriggerCollection.cs | 30 +- .../Sample_DataShareTriggerResource.cs | 16 +- ...ple_ProviderShareSubscriptionCollection.cs | 25 +- ...ample_ProviderShareSubscriptionResource.cs | 21 +- .../Samples/Sample_ShareDataSetCollection.cs | 60 ++-- .../Sample_ShareDataSetMappingCollection.cs | 50 ++- .../Sample_ShareDataSetMappingResource.cs | 38 +- .../Samples/Sample_ShareDataSetResource.cs | 48 ++- .../Sample_ShareSubscriptionCollection.cs | 30 +- .../Sample_ShareSubscriptionResource.cs | 54 ++- .../Sample_TenantResourceExtensions.cs | 11 +- .../Samples/Sample_EasmLabelCollection.cs | 30 +- .../Samples/Sample_EasmLabelResource.cs | 18 +- .../Samples/Sample_EasmWorkspaceCollection.cs | 30 +- .../Samples/Sample_EasmWorkspaceResource.cs | 30 +- 487 files changed, 7351 insertions(+), 9765 deletions(-) diff --git a/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_CommunicationDomainResource.cs b/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_CommunicationDomainResource.cs index ef5542043d603..d180c255c2aa5 100644 --- a/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_CommunicationDomainResource.cs +++ b/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_CommunicationDomainResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Communication.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Communication.Samples { public partial class Sample_CommunicationDomainResource { - // Get Domains resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDomainsResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/domains/get.json @@ -47,9 +47,8 @@ public async Task Get_GetDomainsResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Domains resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteDomainsResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/domains/delete.json @@ -72,12 +71,11 @@ public async Task Delete_DeleteDomainsResource() // invoke the operation await communicationDomainResource.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update Domains resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateDomainsResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/domains/update.json @@ -112,9 +110,8 @@ public async Task Update_UpdateDomainsResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Initiate verification - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task InitiateVerification_InitiateVerification() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/domains/initiateVerification.json @@ -138,12 +135,11 @@ public async Task InitiateVerification_InitiateVerification() DomainsRecordVerificationContent content = new DomainsRecordVerificationContent(DomainRecordVerificationType.Spf); await communicationDomainResource.InitiateVerificationAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Cancel verification - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CancelVerification_CancelVerification() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/domains/cancelVerification.json @@ -167,7 +163,7 @@ public async Task CancelVerification_CancelVerification() DomainsRecordVerificationContent content = new DomainsRecordVerificationContent(DomainRecordVerificationType.Spf); await communicationDomainResource.CancelVerificationAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_CommunicationDomainResourceCollection.cs b/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_CommunicationDomainResourceCollection.cs index 79315adc98d88..194706fad73db 100644 --- a/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_CommunicationDomainResourceCollection.cs +++ b/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_CommunicationDomainResourceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Communication.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Communication.Samples { public partial class Sample_CommunicationDomainResourceCollection { - // Get Domains resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDomainsResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/domains/get.json @@ -50,9 +50,8 @@ public async Task Get_GetDomainsResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Domains resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDomainsResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/domains/get.json @@ -81,9 +80,8 @@ public async Task Exists_GetDomainsResource() Console.WriteLine($"Succeeded: {result}"); } - // Get Domains resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDomainsResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/domains/get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetDomainsResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetDomainsResource() } } - // Create or update Domains resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateDomainsResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/domains/createOrUpdate.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_CreateOrUpdateDomainsResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List Domains resources by EmailServiceName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDomainsResourcesByEmailServiceName() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/domains/listByEmailService.json @@ -198,7 +194,7 @@ public async Task GetAll_ListDomainsResourcesByEmailServiceName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_CommunicationServiceResource.cs b/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_CommunicationServiceResource.cs index 2ada0f5598875..f0793dcd9ed9b 100644 --- a/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_CommunicationServiceResource.cs +++ b/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_CommunicationServiceResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Communication.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Communication.Samples { public partial class Sample_CommunicationServiceResource { - // Check name availability available - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckCommunicationNameAvailability_CheckNameAvailabilityAvailable() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/communicationServices/checkNameAvailabilityAvailable.json @@ -47,9 +47,8 @@ public async Task CheckCommunicationNameAvailability_CheckNameAvailabilityAvaila Console.WriteLine($"Succeeded: {result}"); } - // Check name availability unavailable - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckCommunicationNameAvailability_CheckNameAvailabilityUnavailable() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/communicationServices/checkNameAvailabilityUnavailable.json @@ -77,9 +76,8 @@ public async Task CheckCommunicationNameAvailability_CheckNameAvailabilityUnavai Console.WriteLine($"Succeeded: {result}"); } - // Link notification hub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task LinkNotificationHub_LinkNotificationHub() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/communicationServices/linkNotificationHub.json @@ -105,9 +103,8 @@ public async Task LinkNotificationHub_LinkNotificationHub() Console.WriteLine($"Succeeded: {result}"); } - // List by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCommunicationServiceResources_ListBySubscription() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/communicationServices/listBySubscription.json @@ -134,12 +131,11 @@ public async Task GetCommunicationServiceResources_ListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/communicationServices/update.json @@ -175,9 +171,8 @@ public async Task Update_UpdateResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update resource to add System and User managed identities - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateResourceToAddSystemAndUserManagedIdentities() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/communicationServices/updateWithSystemAndUserIdentity.json @@ -220,9 +215,8 @@ public async Task Update_UpdateResourceToAddSystemAndUserManagedIdentities() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update resource to add a System Assigned managed identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateResourceToAddASystemAssignedManagedIdentity() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/communicationServices/updateWithSystemAssignedIdentity.json @@ -259,9 +253,8 @@ public async Task Update_UpdateResourceToAddASystemAssignedManagedIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update resource to add a User Assigned managed identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateResourceToAddAUserAssignedManagedIdentity() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/communicationServices/updateWithUserAssignedIdentity.json @@ -304,9 +297,8 @@ public async Task Update_UpdateResourceToAddAUserAssignedManagedIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update resource to remove identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateResourceToRemoveIdentity() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/communicationServices/updateRemoveSystemIdentity.json @@ -343,9 +335,8 @@ public async Task Update_UpdateResourceToRemoveIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/communicationServices/get.json @@ -374,9 +365,8 @@ public async Task Get_GetResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/communicationServices/delete.json @@ -398,12 +388,11 @@ public async Task Delete_DeleteResource() // invoke the operation await communicationServiceResource.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List keys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_ListKeys() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/communicationServices/listKeys.json @@ -428,9 +417,8 @@ public async Task GetKeys_ListKeys() Console.WriteLine($"Succeeded: {result}"); } - // Regenerate key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKey_RegenerateKey() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/communicationServices/regenerateKey.json diff --git a/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_CommunicationServiceResourceCollection.cs b/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_CommunicationServiceResourceCollection.cs index 73473be7ecafe..2edad87b73129 100644 --- a/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_CommunicationServiceResourceCollection.cs +++ b/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_CommunicationServiceResourceCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Communication.Samples { public partial class Sample_CommunicationServiceResourceCollection { - // List by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListByResourceGroup() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/communicationServices/listByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/communicationServices/get.json @@ -86,9 +85,8 @@ public async Task Get_GetResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/communicationServices/get.json @@ -116,9 +114,8 @@ public async Task Exists_GetResource() Console.WriteLine($"Succeeded: {result}"); } - // Get resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/communicationServices/get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetResource() } } - // Create or update resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/communicationServices/createOrUpdate.json @@ -197,9 +193,8 @@ public async Task CreateOrUpdate_CreateOrUpdateResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update resource with managed identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateResourceWithManagedIdentity() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/communicationServices/createOrUpdateWithSystemAssignedIdentity.json diff --git a/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_EmailServiceResource.cs b/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_EmailServiceResource.cs index 841745349fdc8..dda018247e6dd 100644 --- a/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_EmailServiceResource.cs +++ b/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_EmailServiceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Communication.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Communication.Samples { public partial class Sample_EmailServiceResource { - // Get EmailService resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetEmailServiceResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/emailServices/get.json @@ -47,9 +47,8 @@ public async Task Get_GetEmailServiceResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete EmailService resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteEmailServiceResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/emailServices/delete.json @@ -71,12 +70,11 @@ public async Task Delete_DeleteEmailServiceResource() // invoke the operation await emailServiceResource.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update EmailService resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateEmailServiceResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/emailServices/update.json @@ -113,9 +111,8 @@ public async Task Update_UpdateEmailServiceResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List EmailService resources by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEmailServiceResources_ListEmailServiceResourcesBySubscription() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/emailServices/listBySubscription.json @@ -142,12 +139,11 @@ public async Task GetEmailServiceResources_ListEmailServiceResourcesBySubscripti Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get verified Exchange Online domains - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVerifiedExchangeOnlineDomainsEmailServices_GetVerifiedExchangeOnlineDomains() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/emailServices/getVerifiedExchangeOnlineDomains.json @@ -170,7 +166,7 @@ public async Task GetVerifiedExchangeOnlineDomainsEmailServices_GetVerifiedExcha Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_EmailServiceResourceCollection.cs b/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_EmailServiceResourceCollection.cs index 8237c5b97cf88..2d489a284d5c5 100644 --- a/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_EmailServiceResourceCollection.cs +++ b/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_EmailServiceResourceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Communication.Samples { public partial class Sample_EmailServiceResourceCollection { - // Get EmailService resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetEmailServiceResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/emailServices/get.json @@ -49,9 +49,8 @@ public async Task Get_GetEmailServiceResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get EmailService resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetEmailServiceResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/emailServices/get.json @@ -79,9 +78,8 @@ public async Task Exists_GetEmailServiceResource() Console.WriteLine($"Succeeded: {result}"); } - // Get EmailService resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetEmailServiceResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/emailServices/get.json @@ -109,7 +107,7 @@ public async Task GetIfExists_GetEmailServiceResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_GetEmailServiceResource() } } - // Create or update EmailService resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateEmailServiceResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/emailServices/createOrUpdate.json @@ -160,9 +157,8 @@ public async Task CreateOrUpdate_CreateOrUpdateEmailServiceResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List EmailService resources by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListEmailServiceResourcesByResourceGroup() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/emailServices/listByResourceGroup.json @@ -193,7 +189,7 @@ public async Task GetAll_ListEmailServiceResourcesByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_SenderUsernameResource.cs b/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_SenderUsernameResource.cs index 2a9608694de21..c43ef6b3c02c0 100644 --- a/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_SenderUsernameResource.cs +++ b/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_SenderUsernameResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Communication.Samples { public partial class Sample_SenderUsernameResource { - // Get SenderUsernames resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSenderUsernamesResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/senderUsernames/get.json @@ -47,9 +47,8 @@ public async Task Get_GetSenderUsernamesResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update SenderUsernames resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateSenderUsernamesResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/senderUsernames/createOrUpdate.json @@ -86,9 +85,8 @@ public async Task Update_CreateOrUpdateSenderUsernamesResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete SenderUsernames resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSenderUsernamesResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/senderUsernames/delete.json @@ -112,7 +110,7 @@ public async Task Delete_DeleteSenderUsernamesResource() // invoke the operation await senderUsernameResource.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_SenderUsernameResourceCollection.cs b/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_SenderUsernameResourceCollection.cs index 891c6c39708cd..17b720fbd2819 100644 --- a/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_SenderUsernameResourceCollection.cs +++ b/sdk/communication/Azure.ResourceManager.Communication/samples/Generated/Samples/Sample_SenderUsernameResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Communication.Samples { public partial class Sample_SenderUsernameResourceCollection { - // Get SenderUsernames resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetSenderUsernamesResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/senderUsernames/listByDomain.json @@ -49,12 +49,11 @@ public async Task GetAll_GetSenderUsernamesResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get SenderUsernames resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSenderUsernamesResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/senderUsernames/get.json @@ -88,9 +87,8 @@ public async Task Get_GetSenderUsernamesResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get SenderUsernames resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSenderUsernamesResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/senderUsernames/get.json @@ -120,9 +118,8 @@ public async Task Exists_GetSenderUsernamesResource() Console.WriteLine($"Succeeded: {result}"); } - // Get SenderUsernames resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSenderUsernamesResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/senderUsernames/get.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetSenderUsernamesResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_GetSenderUsernamesResource() } } - // Create or update SenderUsernames resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateSenderUsernamesResource() { // Generated from example definition: specification/communication/resource-manager/Microsoft.Communication/stable/2023-04-01/examples/senderUsernames/createOrUpdate.json diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_AvailabilitySetCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_AvailabilitySetCollection.cs index 7c3ad3e4d59e8..bb67c2bcffe31 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_AvailabilitySetCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_AvailabilitySetCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_AvailabilitySetCollection { - // Create an availability set with Scheduled Event Policy. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnAvailabilitySetWithScheduledEventPolicy() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Create_WithScheduledEventProfile.json @@ -55,9 +55,8 @@ public async Task CreateOrUpdate_CreateAnAvailabilitySetWithScheduledEventPolicy Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an availability set. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnAvailabilitySet() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Create.json @@ -95,9 +94,8 @@ public async Task CreateOrUpdate_CreateAnAvailabilitySet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AvailabilitySet_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AvailabilitySetGetMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Get_MaximumSet_Gen.json @@ -129,9 +127,8 @@ public async Task Get_AvailabilitySetGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AvailabilitySet_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AvailabilitySetGetMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Get_MaximumSet_Gen.json @@ -159,9 +156,8 @@ public async Task Exists_AvailabilitySetGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // AvailabilitySet_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AvailabilitySetGetMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Get_MaximumSet_Gen.json @@ -189,7 +185,7 @@ public async Task GetIfExists_AvailabilitySetGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -201,9 +197,8 @@ public async Task GetIfExists_AvailabilitySetGetMaximumSetGen() } } - // AvailabilitySet_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AvailabilitySetGetMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Get_MinimumSet_Gen.json @@ -235,9 +230,8 @@ public async Task Get_AvailabilitySetGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AvailabilitySet_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AvailabilitySetGetMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Get_MinimumSet_Gen.json @@ -265,9 +259,8 @@ public async Task Exists_AvailabilitySetGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // AvailabilitySet_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AvailabilitySetGetMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Get_MinimumSet_Gen.json @@ -295,7 +288,7 @@ public async Task GetIfExists_AvailabilitySetGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -307,9 +300,8 @@ public async Task GetIfExists_AvailabilitySetGetMinimumSetGen() } } - // AvailabilitySet_List_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AvailabilitySetListMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_List_MaximumSet_Gen.json @@ -340,12 +332,11 @@ public async Task GetAll_AvailabilitySetListMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AvailabilitySet_List_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AvailabilitySetListMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_List_MinimumSet_Gen.json @@ -376,7 +367,7 @@ public async Task GetAll_AvailabilitySetListMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_AvailabilitySetResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_AvailabilitySetResource.cs index d4af39dcf9bea..1c3c38cb6e157 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_AvailabilitySetResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_AvailabilitySetResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_AvailabilitySetResource { - // AvailabilitySet_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AvailabilitySetUpdateMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Update_MaximumSet_Gen.json @@ -71,9 +71,8 @@ public async Task Update_AvailabilitySetUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AvailabilitySet_Update_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AvailabilitySetUpdateMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Update_MinimumSet_Gen.json @@ -103,9 +102,8 @@ public async Task Update_AvailabilitySetUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AvailabilitySet_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AvailabilitySetDeleteMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Delete_MaximumSet_Gen.json @@ -127,12 +125,11 @@ public async Task Delete_AvailabilitySetDeleteMaximumSetGen() // invoke the operation await availabilitySet.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AvailabilitySet_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AvailabilitySetDeleteMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Delete_MinimumSet_Gen.json @@ -154,12 +151,11 @@ public async Task Delete_AvailabilitySetDeleteMinimumSetGen() // invoke the operation await availabilitySet.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AvailabilitySet_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AvailabilitySetGetMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Get_MaximumSet_Gen.json @@ -188,9 +184,8 @@ public async Task Get_AvailabilitySetGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AvailabilitySet_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AvailabilitySetGetMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_Get_MinimumSet_Gen.json @@ -219,9 +214,8 @@ public async Task Get_AvailabilitySetGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List availability sets in a subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailabilitySets_ListAvailabilitySetsInASubscription() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_ListBySubscription.json @@ -249,12 +243,11 @@ public async Task GetAvailabilitySets_ListAvailabilitySetsInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AvailabilitySet_ListAvailableSizes_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableSizes_AvailabilitySetListAvailableSizesMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_ListAvailableSizes_MaximumSet_Gen.json @@ -279,12 +272,11 @@ public async Task GetAvailableSizes_AvailabilitySetListAvailableSizesMaximumSetG Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AvailabilitySet_ListAvailableSizes_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableSizes_AvailabilitySetListAvailableSizesMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/availabilitySetExamples/AvailabilitySet_ListAvailableSizes_MinimumSet_Gen.json @@ -309,7 +301,7 @@ public async Task GetAvailableSizes_AvailabilitySetListAvailableSizesMinimumSetG Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationCollection.cs index 1e2c6520817a4..5a3fa0d07b280 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Compute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_CapacityReservationCollection { - // Create or update a capacity reservation . - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateACapacityReservation() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservation_CreateOrUpdate.json @@ -66,9 +66,8 @@ public async Task CreateOrUpdate_CreateOrUpdateACapacityReservation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a capacity reservation. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACapacityReservation() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservation_Get.json @@ -102,9 +101,8 @@ public async Task Get_GetACapacityReservation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a capacity reservation. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetACapacityReservation() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservation_Get.json @@ -134,9 +132,8 @@ public async Task Exists_GetACapacityReservation() Console.WriteLine($"Succeeded: {result}"); } - // Get a capacity reservation. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetACapacityReservation() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservation_Get.json @@ -166,7 +163,7 @@ public async Task GetIfExists_GetACapacityReservation() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -178,9 +175,8 @@ public async Task GetIfExists_GetACapacityReservation() } } - // List capacity reservations in reservation group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCapacityReservationsInReservationGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservation_ListByReservationGroup.json @@ -212,7 +208,7 @@ public async Task GetAll_ListCapacityReservationsInReservationGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationGroupCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationGroupCollection.cs index 0a48cac0834b6..a8659d9fc8486 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationGroupCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationGroupCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_CapacityReservationGroupCollection { - // Create or update a capacity reservation group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateACapacityReservationGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservationGroup_CreateOrUpdate.json @@ -73,9 +73,8 @@ public async Task CreateOrUpdate_CreateOrUpdateACapacityReservationGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a capacity reservation Group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACapacityReservationGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservationGroup_Get.json @@ -108,9 +107,8 @@ public async Task Get_GetACapacityReservationGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a capacity reservation Group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetACapacityReservationGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservationGroup_Get.json @@ -139,9 +137,8 @@ public async Task Exists_GetACapacityReservationGroup() Console.WriteLine($"Succeeded: {result}"); } - // Get a capacity reservation Group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetACapacityReservationGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservationGroup_Get.json @@ -170,7 +167,7 @@ public async Task GetIfExists_GetACapacityReservationGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -182,9 +179,8 @@ public async Task GetIfExists_GetACapacityReservationGroup() } } - // List capacity reservation groups in resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCapacityReservationGroupsInResourceGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservationGroup_ListByResourceGroup.json @@ -216,7 +212,7 @@ public async Task GetAll_ListCapacityReservationGroupsInResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationGroupResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationGroupResource.cs index a7784c4c86814..d0ebb568170a3 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationGroupResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationGroupResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_CapacityReservationGroupResource { - // CapacityReservationGroup_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CapacityReservationGroupUpdateMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservationGroup_Update_MaximumSet_Gen.json @@ -54,9 +54,8 @@ public async Task Update_CapacityReservationGroupUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CapacityReservationGroup_Update_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CapacityReservationGroupUpdateMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservationGroup_Update_MinimumSet_Gen.json @@ -86,9 +85,8 @@ public async Task Update_CapacityReservationGroupUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CapacityReservationGroup_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CapacityReservationGroupDeleteMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservationGroup_Delete_MaximumSet_Gen.json @@ -110,12 +108,11 @@ public async Task Delete_CapacityReservationGroupDeleteMaximumSetGen() // invoke the operation await capacityReservationGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CapacityReservationGroup_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CapacityReservationGroupDeleteMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservationGroup_Delete_MinimumSet_Gen.json @@ -137,12 +134,11 @@ public async Task Delete_CapacityReservationGroupDeleteMinimumSetGen() // invoke the operation await capacityReservationGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a capacity reservation Group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACapacityReservationGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservationGroup_Get.json @@ -172,9 +168,8 @@ public async Task Get_GetACapacityReservationGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List capacity reservation groups in subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCapacityReservationGroups_ListCapacityReservationGroupsInSubscription() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservationGroup_ListBySubscription.json @@ -202,12 +197,11 @@ public async Task GetCapacityReservationGroups_ListCapacityReservationGroupsInSu Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List capacity reservation groups with resource Ids only in subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCapacityReservationGroups_ListCapacityReservationGroupsWithResourceIdsOnlyInSubscription() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservationGroup_ListBySubscriptionWithResourceIdsQuery.json @@ -235,7 +229,7 @@ public async Task GetCapacityReservationGroups_ListCapacityReservationGroupsWith Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationResource.cs index fde4c91ccb1d1..2f6e302aa9df5 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CapacityReservationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Compute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_CapacityReservationResource { - // CapacityReservation_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CapacityReservationUpdateMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservation_Update_MaximumSet_Gen.json @@ -61,9 +61,8 @@ public async Task Update_CapacityReservationUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CapacityReservation_Update_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CapacityReservationUpdateMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservation_Update_MinimumSet_Gen.json @@ -95,9 +94,8 @@ public async Task Update_CapacityReservationUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CapacityReservation_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CapacityReservationDeleteMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservation_Delete_MaximumSet_Gen.json @@ -120,12 +118,11 @@ public async Task Delete_CapacityReservationDeleteMaximumSetGen() // invoke the operation await capacityReservation.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CapacityReservation_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CapacityReservationDeleteMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservation_Delete_MinimumSet_Gen.json @@ -148,12 +145,11 @@ public async Task Delete_CapacityReservationDeleteMinimumSetGen() // invoke the operation await capacityReservation.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a capacity reservation. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACapacityReservation() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/capacityReservationExamples/CapacityReservation_Get.json diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceCollection.cs index 97f3c1663ee32..6899d1e43b807 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_CloudServiceCollection { - // Create New Cloud Service with Multiple Roles - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNewCloudServiceWithMultipleRoles() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole.json @@ -92,9 +92,8 @@ public async Task CreateOrUpdate_CreateNewCloudServiceWithMultipleRoles() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create New Cloud Service with Multiple Roles in a specific availability zone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNewCloudServiceWithMultipleRolesInASpecificAvailabilityZone() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithMultiRole_WithZones.json @@ -172,9 +171,8 @@ public async Task CreateOrUpdate_CreateNewCloudServiceWithMultipleRolesInASpecif Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create New Cloud Service with Single Role - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNewCloudServiceWithSingleRole() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRole.json @@ -239,9 +237,8 @@ public async Task CreateOrUpdate_CreateNewCloudServiceWithSingleRole() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create New Cloud Service with Single Role and Certificate from Key Vault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNewCloudServiceWithSingleRoleAndCertificateFromKeyVault() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndCertificate.json @@ -320,9 +317,8 @@ public async Task CreateOrUpdate_CreateNewCloudServiceWithSingleRoleAndCertifica Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create New Cloud Service with Single Role and RDP Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateNewCloudServiceWithSingleRoleAndRDPExtension() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Create_WithSingleRoleAndRDP.json @@ -400,9 +396,8 @@ public async Task CreateOrUpdate_CreateNewCloudServiceWithSingleRoleAndRDPExtens Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Cloud Service with Multiple Roles and RDP Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCloudServiceWithMultipleRolesAndRDPExtension() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Get_WithMultiRoleAndRDP.json @@ -434,9 +429,8 @@ public async Task Get_GetCloudServiceWithMultipleRolesAndRDPExtension() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Cloud Service with Multiple Roles and RDP Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCloudServiceWithMultipleRolesAndRDPExtension() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Get_WithMultiRoleAndRDP.json @@ -464,9 +458,8 @@ public async Task Exists_GetCloudServiceWithMultipleRolesAndRDPExtension() Console.WriteLine($"Succeeded: {result}"); } - // Get Cloud Service with Multiple Roles and RDP Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCloudServiceWithMultipleRolesAndRDPExtension() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Get_WithMultiRoleAndRDP.json @@ -494,7 +487,7 @@ public async Task GetIfExists_GetCloudServiceWithMultipleRolesAndRDPExtension() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -506,9 +499,8 @@ public async Task GetIfExists_GetCloudServiceWithMultipleRolesAndRDPExtension() } } - // List Cloud Services in a Resource Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCloudServicesInAResourceGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_ByResourceGroup.json @@ -539,7 +531,7 @@ public async Task GetAll_ListCloudServicesInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSFamilyCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSFamilyCollection.cs index 9250a76b3bbb3..3f3b58010c0f6 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSFamilyCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSFamilyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_CloudServiceOSFamilyCollection { - // Get Cloud Service OS Family - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCloudServiceOSFamily() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceOSFamily_Get.json @@ -49,9 +49,8 @@ public async Task Get_GetCloudServiceOSFamily() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Cloud Service OS Family - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCloudServiceOSFamily() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceOSFamily_Get.json @@ -79,9 +78,8 @@ public async Task Exists_GetCloudServiceOSFamily() Console.WriteLine($"Succeeded: {result}"); } - // Get Cloud Service OS Family - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCloudServiceOSFamily() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceOSFamily_Get.json @@ -109,7 +107,7 @@ public async Task GetIfExists_GetCloudServiceOSFamily() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_GetCloudServiceOSFamily() } } - // List Cloud Service OS Families in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCloudServiceOSFamiliesInASubscription() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceOSFamilies_List.json @@ -154,7 +151,7 @@ public async Task GetAll_ListCloudServiceOSFamiliesInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSFamilyResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSFamilyResource.cs index c1c96f835ee5e..53d5f90ff5bf3 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSFamilyResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSFamilyResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_CloudServiceOSFamilyResource { - // Get Cloud Service OS Family - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCloudServiceOSFamily() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceOSFamily_Get.json diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSVersionCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSVersionCollection.cs index 95166fff876a0..fa5e1a794e5d7 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSVersionCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSVersionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_CloudServiceOSVersionCollection { - // Get Cloud Service OS Version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCloudServiceOSVersion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceOSVersion_Get.json @@ -49,9 +49,8 @@ public async Task Get_GetCloudServiceOSVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Cloud Service OS Version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCloudServiceOSVersion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceOSVersion_Get.json @@ -79,9 +78,8 @@ public async Task Exists_GetCloudServiceOSVersion() Console.WriteLine($"Succeeded: {result}"); } - // Get Cloud Service OS Version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCloudServiceOSVersion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceOSVersion_Get.json @@ -109,7 +107,7 @@ public async Task GetIfExists_GetCloudServiceOSVersion() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_GetCloudServiceOSVersion() } } - // List Cloud Service OS Versions in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCloudServiceOSVersionsInASubscription() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceOSVersion_List.json @@ -154,7 +151,7 @@ public async Task GetAll_ListCloudServiceOSVersionsInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSVersionResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSVersionResource.cs index b842101ea23fa..635f9213be98c 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSVersionResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceOSVersionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_CloudServiceOSVersionResource { - // Get Cloud Service OS Version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCloudServiceOSVersion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceOSVersion_Get.json diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceResource.cs index 76125b4a9ad62..6be476bf883b8 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_CloudServiceResource { - // Update existing Cloud Service to add tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateExistingCloudServiceToAddTags() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Update_ToIncludeTags.json @@ -55,9 +55,8 @@ public async Task Update_UpdateExistingCloudServiceToAddTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Cloud Service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteCloudService() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Delete.json @@ -79,12 +78,11 @@ public async Task Delete_DeleteCloudService() // invoke the operation await cloudService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Cloud Service with Multiple Roles and RDP Extension - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCloudServiceWithMultipleRolesAndRDPExtension() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Get_WithMultiRoleAndRDP.json @@ -113,9 +111,8 @@ public async Task Get_GetCloudServiceWithMultipleRolesAndRDPExtension() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Cloud Service Instance View with Multiple Roles - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetInstanceView_GetCloudServiceInstanceViewWithMultipleRoles() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Get_InstanceViewWithMultiRole.json @@ -140,9 +137,8 @@ public async Task GetInstanceView_GetCloudServiceInstanceViewWithMultipleRoles() Console.WriteLine($"Succeeded: {result}"); } - // List Cloud Services in a Subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCloudServices_ListCloudServicesInASubscription() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_List_BySubscription.json @@ -169,12 +165,11 @@ public async Task GetCloudServices_ListCloudServicesInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Start Cloud Service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PowerOn_StartCloudService() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_Start.json @@ -196,12 +191,11 @@ public async Task PowerOn_StartCloudService() // invoke the operation await cloudService.PowerOnAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Stop or PowerOff Cloud Service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PowerOff_StopOrPowerOffCloudService() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudService_PowerOff.json @@ -223,12 +217,11 @@ public async Task PowerOff_StopOrPowerOffCloudService() // invoke the operation await cloudService.PowerOffAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Restart Cloud Service Role Instances in a Cloud Service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_RestartCloudServiceRoleInstancesInACloudService() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Restart_ByCloudService.json @@ -254,12 +247,11 @@ public async Task Restart_RestartCloudServiceRoleInstancesInACloudService() }); await cloudService.RestartAsync(WaitUntil.Completed, roleInstances: roleInstances); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Reimage Cloud Service Role Instances in a Cloud Service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reimage_ReimageCloudServiceRoleInstancesInACloudService() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Reimage_ByCloudService.json @@ -285,12 +277,11 @@ public async Task Reimage_ReimageCloudServiceRoleInstancesInACloudService() }); await cloudService.ReimageAsync(WaitUntil.Completed, roleInstances: roleInstances); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Rebuild Cloud Service Role Instances in a Cloud Service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Rebuild_RebuildCloudServiceRoleInstancesInACloudService() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Rebuild_ByCloudService.json @@ -316,12 +307,11 @@ public async Task Rebuild_RebuildCloudServiceRoleInstancesInACloudService() }); await cloudService.RebuildAsync(WaitUntil.Completed, roleInstances: roleInstances); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Delete Cloud Service Role Instances in a Cloud Service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteInstances_DeleteCloudServiceRoleInstancesInACloudService() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Delete_ByCloudService.json @@ -347,12 +337,11 @@ public async Task DeleteInstances_DeleteCloudServiceRoleInstancesInACloudService }); await cloudService.DeleteInstancesAsync(WaitUntil.Completed, roleInstances: roleInstances); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update Cloud Service to specified Domain - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task WalkUpdateDomain_UpdateCloudServiceToSpecifiedDomain() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceUpdateDomain_Update.json @@ -375,12 +364,11 @@ public async Task WalkUpdateDomain_UpdateCloudServiceToSpecifiedDomain() int updateDomain = 1; await cloudService.WalkUpdateDomainAsync(WaitUntil.Completed, updateDomain); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Cloud Service Update Domain - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUpdateDomain_GetCloudServiceUpdateDomain() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceUpdateDomain_Get.json @@ -406,9 +394,8 @@ public async Task GetUpdateDomain_GetCloudServiceUpdateDomain() Console.WriteLine($"Succeeded: {result}"); } - // List Update Domains in Cloud Service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUpdateDomains_ListUpdateDomainsInCloudService() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceUpdateDomain_List.json @@ -433,7 +420,7 @@ public async Task GetUpdateDomains_ListUpdateDomainsInCloudService() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleCollection.cs index cd56955e5ac3a..6e35e21f4ad62 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_CloudServiceRoleCollection { - // Get Cloud Service Role - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCloudServiceRole() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRole_Get.json @@ -49,9 +49,8 @@ public async Task Get_GetCloudServiceRole() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Cloud Service Role - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCloudServiceRole() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRole_Get.json @@ -80,9 +79,8 @@ public async Task Exists_GetCloudServiceRole() Console.WriteLine($"Succeeded: {result}"); } - // Get Cloud Service Role - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCloudServiceRole() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRole_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetCloudServiceRole() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetCloudServiceRole() } } - // List Roles in a Cloud Service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRolesInACloudService() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRole_List.json @@ -157,7 +154,7 @@ public async Task GetAll_ListRolesInACloudService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleInstanceCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleInstanceCollection.cs index a27889e4e3dcb..b59b1cd763024 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleInstanceCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleInstanceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_CloudServiceRoleInstanceCollection { - // Get Cloud Service Role Instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCloudServiceRoleInstance() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Get.json @@ -49,9 +49,8 @@ public async Task Get_GetCloudServiceRoleInstance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Cloud Service Role Instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCloudServiceRoleInstance() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Get.json @@ -80,9 +79,8 @@ public async Task Exists_GetCloudServiceRoleInstance() Console.WriteLine($"Succeeded: {result}"); } - // Get Cloud Service Role Instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCloudServiceRoleInstance() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetCloudServiceRoleInstance() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetCloudServiceRoleInstance() } } - // List Role Instances in a Cloud Service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRoleInstancesInACloudService() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRolesInstance_List.json @@ -157,7 +154,7 @@ public async Task GetAll_ListRoleInstancesInACloudService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleInstanceResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleInstanceResource.cs index b229ed0285981..4b46b40a2e617 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleInstanceResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleInstanceResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Compute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_CloudServiceRoleInstanceResource { - // Delete Cloud Service Role Instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteCloudServiceRoleInstance() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Delete.json @@ -41,12 +41,11 @@ public async Task Delete_DeleteCloudServiceRoleInstance() // invoke the operation await cloudServiceRoleInstance.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Cloud Service Role Instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCloudServiceRoleInstance() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Get.json @@ -76,9 +75,8 @@ public async Task Get_GetCloudServiceRoleInstance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Instance View of Cloud Service Role Instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetInstanceView_GetInstanceViewOfCloudServiceRoleInstance() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Get_InstanceView.json @@ -104,9 +102,8 @@ public async Task GetInstanceView_GetInstanceViewOfCloudServiceRoleInstance() Console.WriteLine($"Succeeded: {result}"); } - // Restart Cloud Service Role Instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_RestartCloudServiceRoleInstance() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Restart.json @@ -129,12 +126,11 @@ public async Task Restart_RestartCloudServiceRoleInstance() // invoke the operation await cloudServiceRoleInstance.RestartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Reimage Cloud Service Role Instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reimage_ReimageCloudServiceRoleInstance() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Reimage.json @@ -157,12 +153,11 @@ public async Task Reimage_ReimageCloudServiceRoleInstance() // invoke the operation await cloudServiceRoleInstance.ReimageAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Rebuild Cloud Service Role Instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Rebuild_RebuildCloudServiceRoleInstance() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Rebuild.json @@ -185,12 +180,11 @@ public async Task Rebuild_RebuildCloudServiceRoleInstance() // invoke the operation await cloudServiceRoleInstance.RebuildAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Cloud Service Role - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRemoteDesktopFile_GetCloudServiceRole() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRoleInstance_Get_RemoteDesktopFile.json diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleResource.cs index 79d0367be60db..ef7bd54a45715 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CloudServiceRoleResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_CloudServiceRoleResource { - // Get Cloud Service Role - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCloudServiceRole() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/examples/CloudServiceRole_Get.json diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CommunityGalleryCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CommunityGalleryCollection.cs index 9208ab4f9b34e..d849e7493e1f9 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CommunityGalleryCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CommunityGalleryCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_CommunityGalleryCollection { - // Get a community gallery. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACommunityGallery() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/communityGalleryExamples/CommunityGallery_Get.json @@ -49,9 +49,8 @@ public async Task Get_GetACommunityGallery() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a community gallery. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetACommunityGallery() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/communityGalleryExamples/CommunityGallery_Get.json @@ -79,9 +78,8 @@ public async Task Exists_GetACommunityGallery() Console.WriteLine($"Succeeded: {result}"); } - // Get a community gallery. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetACommunityGallery() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/communityGalleryExamples/CommunityGallery_Get.json @@ -109,7 +107,7 @@ public async Task GetIfExists_GetACommunityGallery() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CommunityGalleryImageCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CommunityGalleryImageCollection.cs index e77cada58a37f..6c6e39da5a364 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CommunityGalleryImageCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CommunityGalleryImageCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_CommunityGalleryImageCollection { - // Get a community gallery image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACommunityGalleryImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/communityGalleryExamples/CommunityGalleryImage_Get.json @@ -49,9 +49,8 @@ public async Task Get_GetACommunityGalleryImage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a community gallery image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetACommunityGalleryImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/communityGalleryExamples/CommunityGalleryImage_Get.json @@ -80,9 +79,8 @@ public async Task Exists_GetACommunityGalleryImage() Console.WriteLine($"Succeeded: {result}"); } - // Get a community gallery image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetACommunityGalleryImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/communityGalleryExamples/CommunityGalleryImage_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetACommunityGalleryImage() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetACommunityGalleryImage() } } - // List community gallery images. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCommunityGalleryImages() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/communityGalleryExamples/CommunityGalleryImage_List.json @@ -157,7 +154,7 @@ public async Task GetAll_ListCommunityGalleryImages() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CommunityGalleryImageResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CommunityGalleryImageResource.cs index a6fc432436e80..029a115f15125 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CommunityGalleryImageResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CommunityGalleryImageResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_CommunityGalleryImageResource { - // Get a community gallery image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACommunityGalleryImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/communityGalleryExamples/CommunityGalleryImage_Get.json diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CommunityGalleryImageVersionCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CommunityGalleryImageVersionCollection.cs index 06193b8fff114..753aa81b92e92 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CommunityGalleryImageVersionCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CommunityGalleryImageVersionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_CommunityGalleryImageVersionCollection { - // Get a community gallery image version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACommunityGalleryImageVersion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/communityGalleryExamples/CommunityGalleryImageVersion_Get.json @@ -50,9 +50,8 @@ public async Task Get_GetACommunityGalleryImageVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a community gallery image version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetACommunityGalleryImageVersion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/communityGalleryExamples/CommunityGalleryImageVersion_Get.json @@ -82,9 +81,8 @@ public async Task Exists_GetACommunityGalleryImageVersion() Console.WriteLine($"Succeeded: {result}"); } - // Get a community gallery image version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetACommunityGalleryImageVersion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/communityGalleryExamples/CommunityGalleryImageVersion_Get.json @@ -114,7 +112,7 @@ public async Task GetIfExists_GetACommunityGalleryImageVersion() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -126,9 +124,8 @@ public async Task GetIfExists_GetACommunityGalleryImageVersion() } } - // List community gallery image versions. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCommunityGalleryImageVersions() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/communityGalleryExamples/CommunityGalleryImageVersion_List.json @@ -161,7 +158,7 @@ public async Task GetAll_ListCommunityGalleryImageVersions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CommunityGalleryImageVersionResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CommunityGalleryImageVersionResource.cs index fc485d9a84002..684c309125af3 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CommunityGalleryImageVersionResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CommunityGalleryImageVersionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_CommunityGalleryImageVersionResource { - // Get a community gallery image version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACommunityGalleryImageVersion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/communityGalleryExamples/CommunityGalleryImageVersion_Get.json diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CommunityGalleryResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CommunityGalleryResource.cs index 581abec10c2d8..00f92f7af0887 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CommunityGalleryResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_CommunityGalleryResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_CommunityGalleryResource { - // Get a community gallery. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACommunityGallery() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/communityGalleryExamples/CommunityGallery_Get.json diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ComputePrivateEndpointConnectionCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ComputePrivateEndpointConnectionCollection.cs index 7bac8aa9b062b..a7987aac2a2da 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ComputePrivateEndpointConnectionCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ComputePrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Compute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_ComputePrivateEndpointConnectionCollection { - // Approve a Private Endpoint Connection under a disk access resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApproveAPrivateEndpointConnectionUnderADiskAccessResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Approve.json @@ -59,9 +59,8 @@ public async Task CreateOrUpdate_ApproveAPrivateEndpointConnectionUnderADiskAcce Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get information about a private endpoint connection under a disk access resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetInformationAboutAPrivateEndpointConnectionUnderADiskAccessResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Get.json @@ -94,9 +93,8 @@ public async Task Get_GetInformationAboutAPrivateEndpointConnectionUnderADiskAcc Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get information about a private endpoint connection under a disk access resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetInformationAboutAPrivateEndpointConnectionUnderADiskAccessResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Get.json @@ -125,9 +123,8 @@ public async Task Exists_GetInformationAboutAPrivateEndpointConnectionUnderADisk Console.WriteLine($"Succeeded: {result}"); } - // Get information about a private endpoint connection under a disk access resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetInformationAboutAPrivateEndpointConnectionUnderADiskAccessResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Get.json @@ -156,7 +153,7 @@ public async Task GetIfExists_GetInformationAboutAPrivateEndpointConnectionUnder if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_GetInformationAboutAPrivateEndpointConnectionUnder } } - // Get information about a private endpoint connection under a disk access resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetInformationAboutAPrivateEndpointConnectionUnderADiskAccessResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_ListByDiskAccess.json @@ -202,7 +198,7 @@ public async Task GetAll_GetInformationAboutAPrivateEndpointConnectionUnderADisk Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ComputePrivateEndpointConnectionResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ComputePrivateEndpointConnectionResource.cs index c5a61688bba2a..88bf945520ff9 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ComputePrivateEndpointConnectionResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ComputePrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Compute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_ComputePrivateEndpointConnectionResource { - // Approve a Private Endpoint Connection under a disk access resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApproveAPrivateEndpointConnectionUnderADiskAccessResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Approve.json @@ -56,9 +56,8 @@ public async Task Update_ApproveAPrivateEndpointConnectionUnderADiskAccessResour Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get information about a private endpoint connection under a disk access resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetInformationAboutAPrivateEndpointConnectionUnderADiskAccessResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Get.json @@ -88,9 +87,8 @@ public async Task Get_GetInformationAboutAPrivateEndpointConnectionUnderADiskAcc Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a private endpoint connection under a disk access resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAPrivateEndpointConnectionUnderADiskAccessResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccessPrivateEndpointConnection_Delete.json @@ -113,7 +111,7 @@ public async Task Delete_DeleteAPrivateEndpointConnectionUnderADiskAccessResourc // invoke the operation await computePrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostCollection.cs index ef901137f1ff5..b1b5eec482a36 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Compute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_DedicatedHostCollection { - // Create or update a dedicated host . - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateADedicatedHost() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_CreateOrUpdate.json @@ -62,9 +62,8 @@ public async Task CreateOrUpdate_CreateOrUpdateADedicatedHost() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a dedicated host. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADedicatedHost() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_Get.json @@ -98,9 +97,8 @@ public async Task Get_GetADedicatedHost() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a dedicated host. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADedicatedHost() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_Get.json @@ -130,9 +128,8 @@ public async Task Exists_GetADedicatedHost() Console.WriteLine($"Succeeded: {result}"); } - // Get a dedicated host. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADedicatedHost() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_Get.json @@ -162,7 +159,7 @@ public async Task GetIfExists_GetADedicatedHost() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -174,9 +171,8 @@ public async Task GetIfExists_GetADedicatedHost() } } - // DedicatedHost_ListByHostGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DedicatedHostListByHostGroupMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_ListByHostGroup_MaximumSet_Gen.json @@ -208,12 +204,11 @@ public async Task GetAll_DedicatedHostListByHostGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DedicatedHost_ListByHostGroup_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DedicatedHostListByHostGroupMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_ListByHostGroup_MinimumSet_Gen.json @@ -245,7 +240,7 @@ public async Task GetAll_DedicatedHostListByHostGroupMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostGroupCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostGroupCollection.cs index 820f7175c4700..2a310042e0b64 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostGroupCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostGroupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_DedicatedHostGroupCollection { - // Create or update a dedicated host group with Ultra SSD support. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateADedicatedHostGroupWithUltraSSDSupport() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate_WithUltraSSD.json @@ -64,9 +64,8 @@ public async Task CreateOrUpdate_CreateOrUpdateADedicatedHostGroupWithUltraSSDSu Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a dedicated host group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateADedicatedHostGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_CreateOrUpdate.json @@ -112,9 +111,8 @@ public async Task CreateOrUpdate_CreateOrUpdateADedicatedHostGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a dedicated host group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CreateADedicatedHostGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get.json @@ -146,9 +144,8 @@ public async Task Get_CreateADedicatedHostGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a dedicated host group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CreateADedicatedHostGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get.json @@ -176,9 +173,8 @@ public async Task Exists_CreateADedicatedHostGroup() Console.WriteLine($"Succeeded: {result}"); } - // Create a dedicated host group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CreateADedicatedHostGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get.json @@ -206,7 +202,7 @@ public async Task GetIfExists_CreateADedicatedHostGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -218,9 +214,8 @@ public async Task GetIfExists_CreateADedicatedHostGroup() } } - // Create an ultraSSDEnabled dedicated host group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CreateAnUltraSSDEnabledDedicatedHostGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get_UltraSSDEnabledDedicatedHostGroup.json @@ -252,9 +247,8 @@ public async Task Get_CreateAnUltraSSDEnabledDedicatedHostGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an ultraSSDEnabled dedicated host group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CreateAnUltraSSDEnabledDedicatedHostGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get_UltraSSDEnabledDedicatedHostGroup.json @@ -282,9 +276,8 @@ public async Task Exists_CreateAnUltraSSDEnabledDedicatedHostGroup() Console.WriteLine($"Succeeded: {result}"); } - // Create an ultraSSDEnabled dedicated host group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CreateAnUltraSSDEnabledDedicatedHostGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get_UltraSSDEnabledDedicatedHostGroup.json @@ -312,7 +305,7 @@ public async Task GetIfExists_CreateAnUltraSSDEnabledDedicatedHostGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -324,9 +317,8 @@ public async Task GetIfExists_CreateAnUltraSSDEnabledDedicatedHostGroup() } } - // DedicatedHostGroup_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DedicatedHostGroupListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_ListByResourceGroup_MaximumSet_Gen.json @@ -357,12 +349,11 @@ public async Task GetAll_DedicatedHostGroupListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DedicatedHostGroup_ListByResourceGroup_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DedicatedHostGroupListByResourceGroupMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_ListByResourceGroup_MinimumSet_Gen.json @@ -393,7 +384,7 @@ public async Task GetAll_DedicatedHostGroupListByResourceGroupMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostGroupResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostGroupResource.cs index e392947354bc4..bb983e99b5ee5 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostGroupResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostGroupResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_DedicatedHostGroupResource { - // DedicatedHostGroup_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DedicatedHostGroupUpdateMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_Update_MaximumSet_Gen.json @@ -60,9 +60,8 @@ public async Task Update_DedicatedHostGroupUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DedicatedHostGroup_Update_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DedicatedHostGroupUpdateMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_Update_MinimumSet_Gen.json @@ -92,9 +91,8 @@ public async Task Update_DedicatedHostGroupUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DedicatedHostGroup_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DedicatedHostGroupDeleteMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_Delete_MaximumSet_Gen.json @@ -116,12 +114,11 @@ public async Task Delete_DedicatedHostGroupDeleteMaximumSetGen() // invoke the operation await dedicatedHostGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DedicatedHostGroup_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DedicatedHostGroupDeleteMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_Delete_MinimumSet_Gen.json @@ -143,12 +140,11 @@ public async Task Delete_DedicatedHostGroupDeleteMinimumSetGen() // invoke the operation await dedicatedHostGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create a dedicated host group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CreateADedicatedHostGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get.json @@ -177,9 +173,8 @@ public async Task Get_CreateADedicatedHostGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an ultraSSDEnabled dedicated host group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CreateAnUltraSSDEnabledDedicatedHostGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_Get_UltraSSDEnabledDedicatedHostGroup.json @@ -208,9 +203,8 @@ public async Task Get_CreateAnUltraSSDEnabledDedicatedHostGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DedicatedHostGroup_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDedicatedHostGroups_DedicatedHostGroupListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_ListBySubscription_MaximumSet_Gen.json @@ -237,12 +231,11 @@ public async Task GetDedicatedHostGroups_DedicatedHostGroupListBySubscriptionMax Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DedicatedHostGroup_ListBySubscription_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDedicatedHostGroups_DedicatedHostGroupListBySubscriptionMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHostGroup_ListBySubscription_MinimumSet_Gen.json @@ -269,7 +262,7 @@ public async Task GetDedicatedHostGroups_DedicatedHostGroupListBySubscriptionMin Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostResource.cs index c06bd27dd5669..b29cb5a0ccfe7 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DedicatedHostResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Compute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_DedicatedHostResource { - // DedicatedHost_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DedicatedHostUpdateMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_Update_MaximumSet_Gen.json @@ -58,9 +58,8 @@ public async Task Update_DedicatedHostUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DedicatedHost_Update_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DedicatedHostUpdateMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_Update_MinimumSet_Gen.json @@ -92,9 +91,8 @@ public async Task Update_DedicatedHostUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DedicatedHost_Update_Resize - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DedicatedHostUpdateResize() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_Update_Resize.json @@ -132,9 +130,8 @@ public async Task Update_DedicatedHostUpdateResize() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DedicatedHost_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DedicatedHostDeleteMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_Delete_MaximumSet_Gen.json @@ -157,12 +154,11 @@ public async Task Delete_DedicatedHostDeleteMaximumSetGen() // invoke the operation await dedicatedHost.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DedicatedHost_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DedicatedHostDeleteMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_Delete_MinimumSet_Gen.json @@ -185,12 +181,11 @@ public async Task Delete_DedicatedHostDeleteMinimumSetGen() // invoke the operation await dedicatedHost.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a dedicated host. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADedicatedHost() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_Get.json @@ -221,9 +216,8 @@ public async Task Get_GetADedicatedHost() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Restart Dedicated Host. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_RestartDedicatedHost() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_Restart.json @@ -246,12 +240,11 @@ public async Task Restart_RestartDedicatedHost() // invoke the operation await dedicatedHost.RestartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Redeploy Dedicated Host. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Redeploy_RedeployDedicatedHost() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_Redeploy.json @@ -274,12 +267,11 @@ public async Task Redeploy_RedeployDedicatedHost() // invoke the operation await dedicatedHost.RedeployAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Available Dedicated Host Sizes. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableSizes_GetAvailableDedicatedHostSizes() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/dedicatedHostExamples/DedicatedHost_ListAvailableSizes.json @@ -305,7 +297,7 @@ public async Task GetAvailableSizes_GetAvailableDedicatedHostSizes() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskAccessCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskAccessCollection.cs index 4813a47a7efed..19d378a77473b 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskAccessCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskAccessCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_DiskAccessCollection { - // Create a disk access resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADiskAccessResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_Create.json @@ -51,9 +51,8 @@ public async Task CreateOrUpdate_CreateADiskAccessResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get information about a disk access resource with private endpoints. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetInformationAboutADiskAccessResourceWithPrivateEndpoints() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_Get_WithPrivateEndpoints.json @@ -85,9 +84,8 @@ public async Task Get_GetInformationAboutADiskAccessResourceWithPrivateEndpoints Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get information about a disk access resource with private endpoints. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetInformationAboutADiskAccessResourceWithPrivateEndpoints() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_Get_WithPrivateEndpoints.json @@ -115,9 +113,8 @@ public async Task Exists_GetInformationAboutADiskAccessResourceWithPrivateEndpoi Console.WriteLine($"Succeeded: {result}"); } - // Get information about a disk access resource with private endpoints. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetInformationAboutADiskAccessResourceWithPrivateEndpoints() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_Get_WithPrivateEndpoints.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetInformationAboutADiskAccessResourceWithPrivateE if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -157,9 +154,8 @@ public async Task GetIfExists_GetInformationAboutADiskAccessResourceWithPrivateE } } - // Get information about a disk access resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetInformationAboutADiskAccessResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_Get.json @@ -191,9 +187,8 @@ public async Task Get_GetInformationAboutADiskAccessResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get information about a disk access resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetInformationAboutADiskAccessResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_Get.json @@ -221,9 +216,8 @@ public async Task Exists_GetInformationAboutADiskAccessResource() Console.WriteLine($"Succeeded: {result}"); } - // Get information about a disk access resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetInformationAboutADiskAccessResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_Get.json @@ -251,7 +245,7 @@ public async Task GetIfExists_GetInformationAboutADiskAccessResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -263,9 +257,8 @@ public async Task GetIfExists_GetInformationAboutADiskAccessResource() } } - // List all disk access resources in a resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllDiskAccessResourcesInAResourceGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_ListByResourceGroup.json @@ -296,7 +289,7 @@ public async Task GetAll_ListAllDiskAccessResourcesInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskAccessResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskAccessResource.cs index b1b8a5e113f8e..f9f4c6d0362b2 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskAccessResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskAccessResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_DiskAccessResource { - // Update a disk access resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateADiskAccessResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_Update.json @@ -56,9 +56,8 @@ public async Task Update_UpdateADiskAccessResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get information about a disk access resource with private endpoints. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetInformationAboutADiskAccessResourceWithPrivateEndpoints() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_Get_WithPrivateEndpoints.json @@ -87,9 +86,8 @@ public async Task Get_GetInformationAboutADiskAccessResourceWithPrivateEndpoints Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get information about a disk access resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetInformationAboutADiskAccessResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_Get.json @@ -118,9 +116,8 @@ public async Task Get_GetInformationAboutADiskAccessResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a disk access resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteADiskAccessResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_Delete.json @@ -142,12 +139,11 @@ public async Task Delete_DeleteADiskAccessResource() // invoke the operation await diskAccess.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List all disk access resources in a subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDiskAccesses_ListAllDiskAccessResourcesInASubscription() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccess_ListBySubscription.json @@ -174,12 +170,11 @@ public async Task GetDiskAccesses_ListAllDiskAccessResourcesInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List all possible private link resources under disk access resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinkResources_ListAllPossiblePrivateLinkResourcesUnderDiskAccessResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskAccessExamples/DiskAccessPrivateLinkResources_Get.json @@ -204,7 +199,7 @@ public async Task GetPrivateLinkResources_ListAllPossiblePrivateLinkResourcesUnd Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskEncryptionSetCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskEncryptionSetCollection.cs index 2fc438e848cfb..a006db5cf3937 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskEncryptionSetCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskEncryptionSetCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_DiskEncryptionSetCollection { - // Create a disk encryption set with key vault from a different subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADiskEncryptionSetWithKeyVaultFromADifferentSubscription() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentSubscription.json @@ -58,9 +58,8 @@ public async Task CreateOrUpdate_CreateADiskEncryptionSetWithKeyVaultFromADiffer Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a disk encryption set with key vault from a different tenant. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADiskEncryptionSetWithKeyVaultFromADifferentTenant() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Create_WithKeyVaultFromADifferentTenant.json @@ -106,9 +105,8 @@ public async Task CreateOrUpdate_CreateADiskEncryptionSetWithKeyVaultFromADiffer Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a disk encryption set. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADiskEncryptionSet() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Create.json @@ -150,9 +148,8 @@ public async Task CreateOrUpdate_CreateADiskEncryptionSet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get information about a disk encryption set when auto-key rotation failed. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetInformationAboutADiskEncryptionSetWhenAutoKeyRotationFailed() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get_WithAutoKeyRotationError.json @@ -184,9 +181,8 @@ public async Task Get_GetInformationAboutADiskEncryptionSetWhenAutoKeyRotationFa Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get information about a disk encryption set when auto-key rotation failed. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetInformationAboutADiskEncryptionSetWhenAutoKeyRotationFailed() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get_WithAutoKeyRotationError.json @@ -214,9 +210,8 @@ public async Task Exists_GetInformationAboutADiskEncryptionSetWhenAutoKeyRotatio Console.WriteLine($"Succeeded: {result}"); } - // Get information about a disk encryption set when auto-key rotation failed. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetInformationAboutADiskEncryptionSetWhenAutoKeyRotationFailed() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get_WithAutoKeyRotationError.json @@ -244,7 +239,7 @@ public async Task GetIfExists_GetInformationAboutADiskEncryptionSetWhenAutoKeyRo if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -256,9 +251,8 @@ public async Task GetIfExists_GetInformationAboutADiskEncryptionSetWhenAutoKeyRo } } - // Get information about a disk encryption set. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetInformationAboutADiskEncryptionSet() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get.json @@ -290,9 +284,8 @@ public async Task Get_GetInformationAboutADiskEncryptionSet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get information about a disk encryption set. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetInformationAboutADiskEncryptionSet() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get.json @@ -320,9 +313,8 @@ public async Task Exists_GetInformationAboutADiskEncryptionSet() Console.WriteLine($"Succeeded: {result}"); } - // Get information about a disk encryption set. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetInformationAboutADiskEncryptionSet() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get.json @@ -350,7 +342,7 @@ public async Task GetIfExists_GetInformationAboutADiskEncryptionSet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -362,9 +354,8 @@ public async Task GetIfExists_GetInformationAboutADiskEncryptionSet() } } - // List all disk encryption sets in a resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllDiskEncryptionSetsInAResourceGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_ListByResourceGroup.json @@ -395,7 +386,7 @@ public async Task GetAll_ListAllDiskEncryptionSetsInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskEncryptionSetResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskEncryptionSetResource.cs index 57e882b728757..5cf9bb0e27ba6 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskEncryptionSetResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskEncryptionSetResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_DiskEncryptionSetResource { - // Update a disk encryption set with rotationToLatestKeyVersionEnabled set to true - Succeeded - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateADiskEncryptionSetWithRotationToLatestKeyVersionEnabledSetToTrueSucceeded() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabled.json @@ -56,9 +56,8 @@ public async Task Update_UpdateADiskEncryptionSetWithRotationToLatestKeyVersionE Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a disk encryption set with rotationToLatestKeyVersionEnabled set to true - Updating - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateADiskEncryptionSetWithRotationToLatestKeyVersionEnabledSetToTrueUpdating() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Update_WithRotationToLatestKeyVersionEnabledInProgress.json @@ -95,9 +94,8 @@ public async Task Update_UpdateADiskEncryptionSetWithRotationToLatestKeyVersionE Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a disk encryption set. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateADiskEncryptionSet() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Update.json @@ -140,9 +138,8 @@ public async Task Update_UpdateADiskEncryptionSet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get information about a disk encryption set when auto-key rotation failed. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetInformationAboutADiskEncryptionSetWhenAutoKeyRotationFailed() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get_WithAutoKeyRotationError.json @@ -171,9 +168,8 @@ public async Task Get_GetInformationAboutADiskEncryptionSetWhenAutoKeyRotationFa Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get information about a disk encryption set. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetInformationAboutADiskEncryptionSet() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Get.json @@ -202,9 +198,8 @@ public async Task Get_GetInformationAboutADiskEncryptionSet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a disk encryption set. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteADiskEncryptionSet() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_Delete.json @@ -226,12 +221,11 @@ public async Task Delete_DeleteADiskEncryptionSet() // invoke the operation await diskEncryptionSet.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List all disk encryption sets in a subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDiskEncryptionSets_ListAllDiskEncryptionSetsInASubscription() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_ListBySubscription.json @@ -258,12 +252,11 @@ public async Task GetDiskEncryptionSets_ListAllDiskEncryptionSetsInASubscription Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List all resources that are encrypted with this disk encryption set. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAssociatedResources_ListAllResourcesThatAreEncryptedWithThisDiskEncryptionSet() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskEncryptionSetExamples/DiskEncryptionSet_ListAssociatedResources.json @@ -288,7 +281,7 @@ public async Task GetAssociatedResources_ListAllResourcesThatAreEncryptedWithThi Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskImageCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskImageCollection.cs index 197b9c69fcc2d..8d68a60aa7775 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskImageCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskImageCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_DiskImageCollection { - // Create a virtual machine image from a blob with DiskEncryptionSet resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVirtualMachineImageFromABlobWithDiskEncryptionSetResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_CreateFromABlobWithDiskEncryptionSet.json @@ -62,9 +62,8 @@ public async Task CreateOrUpdate_CreateAVirtualMachineImageFromABlobWithDiskEncr Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a virtual machine image from a blob. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVirtualMachineImageFromABlob() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_CreateFromABlob.json @@ -108,9 +107,8 @@ public async Task CreateOrUpdate_CreateAVirtualMachineImageFromABlob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a virtual machine image from a managed disk with DiskEncryptionSet resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVirtualMachineImageFromAManagedDiskWithDiskEncryptionSetResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_CreateFromAManagedDiskWithDiskEncryptionSet.json @@ -154,9 +152,8 @@ public async Task CreateOrUpdate_CreateAVirtualMachineImageFromAManagedDiskWithD Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a virtual machine image from a managed disk. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVirtualMachineImageFromAManagedDisk() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_CreateFromAManagedDisk.json @@ -200,9 +197,8 @@ public async Task CreateOrUpdate_CreateAVirtualMachineImageFromAManagedDisk() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a virtual machine image from a snapshot with DiskEncryptionSet resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVirtualMachineImageFromASnapshotWithDiskEncryptionSetResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_CreateFromASnapshotWithDiskEncryptionSet.json @@ -246,9 +242,8 @@ public async Task CreateOrUpdate_CreateAVirtualMachineImageFromASnapshotWithDisk Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a virtual machine image from a snapshot. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVirtualMachineImageFromASnapshot() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_CreateFromASnapshot.json @@ -292,9 +287,8 @@ public async Task CreateOrUpdate_CreateAVirtualMachineImageFromASnapshot() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a virtual machine image from an existing virtual machine. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVirtualMachineImageFromAnExistingVirtualMachine() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_CreateFromAVM.json @@ -331,9 +325,8 @@ public async Task CreateOrUpdate_CreateAVirtualMachineImageFromAnExistingVirtual Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a virtual machine image that includes a data disk from a blob. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVirtualMachineImageThatIncludesADataDiskFromABlob() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_Create_DataDiskFromABlobIncluded.json @@ -384,9 +377,8 @@ public async Task CreateOrUpdate_CreateAVirtualMachineImageThatIncludesADataDisk Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a virtual machine image that includes a data disk from a managed disk. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVirtualMachineImageThatIncludesADataDiskFromAManagedDisk() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_Create_DataDiskFromAManagedDiskIncluded.json @@ -437,9 +429,8 @@ public async Task CreateOrUpdate_CreateAVirtualMachineImageThatIncludesADataDisk Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a virtual machine image that includes a data disk from a snapshot. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVirtualMachineImageThatIncludesADataDiskFromASnapshot() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_Create_DataDiskFromASnapshotIncluded.json @@ -490,9 +481,8 @@ public async Task CreateOrUpdate_CreateAVirtualMachineImageThatIncludesADataDisk Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get information about a virtual machine image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetInformationAboutAVirtualMachineImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_Get.json @@ -524,9 +514,8 @@ public async Task Get_GetInformationAboutAVirtualMachineImage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get information about a virtual machine image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetInformationAboutAVirtualMachineImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_Get.json @@ -554,9 +543,8 @@ public async Task Exists_GetInformationAboutAVirtualMachineImage() Console.WriteLine($"Succeeded: {result}"); } - // Get information about a virtual machine image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetInformationAboutAVirtualMachineImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_Get.json @@ -584,7 +572,7 @@ public async Task GetIfExists_GetInformationAboutAVirtualMachineImage() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -596,9 +584,8 @@ public async Task GetIfExists_GetInformationAboutAVirtualMachineImage() } } - // List all virtual machine images in a resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllVirtualMachineImagesInAResourceGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_ListByResourceGroup.json @@ -629,7 +616,7 @@ public async Task GetAll_ListAllVirtualMachineImagesInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskImageResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskImageResource.cs index f61afb36162f2..4b96364f677c5 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskImageResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskImageResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_DiskImageResource { - // Updates tags of an Image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesTagsOfAnImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_Update.json @@ -57,9 +57,8 @@ public async Task Update_UpdatesTagsOfAnImage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Image_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ImageDeleteMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Images_Delete_MaximumSet_Gen.json @@ -81,12 +80,11 @@ public async Task Delete_ImageDeleteMaximumSetGen() // invoke the operation await diskImage.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Image_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ImageDeleteMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Images_Delete_MinimumSet_Gen.json @@ -108,12 +106,11 @@ public async Task Delete_ImageDeleteMinimumSetGen() // invoke the operation await diskImage.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get information about a virtual machine image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetInformationAboutAVirtualMachineImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_Get.json @@ -142,9 +139,8 @@ public async Task Get_GetInformationAboutAVirtualMachineImage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all virtual machine images in a subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDiskImages_ListAllVirtualMachineImagesInASubscription() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/imageExamples/Image_ListBySubscription.json @@ -171,7 +167,7 @@ public async Task GetDiskImages_ListAllVirtualMachineImagesInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskRestorePointCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskRestorePointCollection.cs index dfd22e80d1aee..dccec20695af8 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskRestorePointCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskRestorePointCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_DiskRestorePointCollection { - // Get an incremental disk restorePoint resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnIncrementalDiskRestorePointResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get.json @@ -50,9 +50,8 @@ public async Task Get_GetAnIncrementalDiskRestorePointResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an incremental disk restorePoint resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnIncrementalDiskRestorePointResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get.json @@ -82,9 +81,8 @@ public async Task Exists_GetAnIncrementalDiskRestorePointResource() Console.WriteLine($"Succeeded: {result}"); } - // Get an incremental disk restorePoint resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnIncrementalDiskRestorePointResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get.json @@ -114,7 +112,7 @@ public async Task GetIfExists_GetAnIncrementalDiskRestorePointResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -126,9 +124,8 @@ public async Task GetIfExists_GetAnIncrementalDiskRestorePointResource() } } - // Get an incremental disk restorePoint when source resource is from a different region - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnIncrementalDiskRestorePointWhenSourceResourceIsFromADifferentRegion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json @@ -162,9 +159,8 @@ public async Task Get_GetAnIncrementalDiskRestorePointWhenSourceResourceIsFromAD Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an incremental disk restorePoint when source resource is from a different region - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnIncrementalDiskRestorePointWhenSourceResourceIsFromADifferentRegion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json @@ -194,9 +190,8 @@ public async Task Exists_GetAnIncrementalDiskRestorePointWhenSourceResourceIsFro Console.WriteLine($"Succeeded: {result}"); } - // Get an incremental disk restorePoint when source resource is from a different region - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnIncrementalDiskRestorePointWhenSourceResourceIsFromADifferentRegion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json @@ -226,7 +221,7 @@ public async Task GetIfExists_GetAnIncrementalDiskRestorePointWhenSourceResource if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -238,9 +233,8 @@ public async Task GetIfExists_GetAnIncrementalDiskRestorePointWhenSourceResource } } - // Get an incremental disk restorePoint resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAnIncrementalDiskRestorePointResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_ListByVmRestorePoint.json @@ -273,7 +267,7 @@ public async Task GetAll_GetAnIncrementalDiskRestorePointResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskRestorePointResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskRestorePointResource.cs index fea879c3541c4..8fc081901dbcf 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskRestorePointResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_DiskRestorePointResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Compute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_DiskRestorePointResource { - // Get an incremental disk restorePoint resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnIncrementalDiskRestorePointResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get.json @@ -48,9 +48,8 @@ public async Task Get_GetAnIncrementalDiskRestorePointResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an incremental disk restorePoint when source resource is from a different region - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnIncrementalDiskRestorePointWhenSourceResourceIsFromADifferentRegion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json @@ -81,9 +80,8 @@ public async Task Get_GetAnIncrementalDiskRestorePointWhenSourceResourceIsFromAD Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Grants access to a diskRestorePoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GrantAccess_GrantsAccessToADiskRestorePoint() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_BeginGetAccess.json @@ -115,9 +113,8 @@ public async Task GrantAccess_GrantsAccessToADiskRestorePoint() Console.WriteLine($"Succeeded: {result}"); } - // Revokes access to a diskRestorePoint. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RevokeAccess_RevokesAccessToADiskRestorePoint() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_EndGetAccess.json @@ -141,7 +138,7 @@ public async Task RevokeAccess_RevokesAccessToADiskRestorePoint() // invoke the operation await diskRestorePoint.RevokeAccessAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryApplicationCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryApplicationCollection.cs index e2e89c8f27e62..fe9edc6e07aa9 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryApplicationCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryApplicationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Compute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_GalleryApplicationCollection { - // Create or update a simple gallery Application. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryApplication() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryApplication_Create.json @@ -76,9 +76,8 @@ public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryApplication() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery Application. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGalleryApplication() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryApplication_Get.json @@ -111,9 +110,8 @@ public async Task Get_GetAGalleryApplication() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery Application. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAGalleryApplication() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryApplication_Get.json @@ -142,9 +140,8 @@ public async Task Exists_GetAGalleryApplication() Console.WriteLine($"Succeeded: {result}"); } - // Get a gallery Application. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAGalleryApplication() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryApplication_Get.json @@ -173,7 +170,7 @@ public async Task GetIfExists_GetAGalleryApplication() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -185,9 +182,8 @@ public async Task GetIfExists_GetAGalleryApplication() } } - // List gallery Applications in a gallery. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListGalleryApplicationsInAGallery() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryApplication_ListByGallery.json @@ -219,7 +215,7 @@ public async Task GetAll_ListGalleryApplicationsInAGallery() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryApplicationResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryApplicationResource.cs index 503d3f5ec14ed..31eff80595aaa 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryApplicationResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryApplicationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Compute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_GalleryApplicationResource { - // Update a simple gallery Application. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateASimpleGalleryApplication() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryApplication_Update.json @@ -73,9 +73,8 @@ public async Task Update_UpdateASimpleGalleryApplication() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery Application. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGalleryApplication() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryApplication_Get.json @@ -105,9 +104,8 @@ public async Task Get_GetAGalleryApplication() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a gallery Application. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAGalleryApplication() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryApplication_Delete.json @@ -130,7 +128,7 @@ public async Task Delete_DeleteAGalleryApplication() // invoke the operation await galleryApplication.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryApplicationVersionCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryApplicationVersionCollection.cs index 8c12b50bb9023..e0e54dbcb65ac 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryApplicationVersionCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryApplicationVersionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Compute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_GalleryApplicationVersionCollection { - // Create or update a simple gallery Application Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryApplicationVersion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryApplicationVersion_Create.json @@ -89,9 +89,8 @@ public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryApplicationVersion( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery Application Version with replication status. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGalleryApplicationVersionWithReplicationStatus() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryApplicationVersion_Get_WithReplicationStatus.json @@ -126,9 +125,8 @@ public async Task Get_GetAGalleryApplicationVersionWithReplicationStatus() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery Application Version with replication status. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAGalleryApplicationVersionWithReplicationStatus() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryApplicationVersion_Get_WithReplicationStatus.json @@ -159,9 +157,8 @@ public async Task Exists_GetAGalleryApplicationVersionWithReplicationStatus() Console.WriteLine($"Succeeded: {result}"); } - // Get a gallery Application Version with replication status. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAGalleryApplicationVersionWithReplicationStatus() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryApplicationVersion_Get_WithReplicationStatus.json @@ -192,7 +189,7 @@ public async Task GetIfExists_GetAGalleryApplicationVersionWithReplicationStatus if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -204,9 +201,8 @@ public async Task GetIfExists_GetAGalleryApplicationVersionWithReplicationStatus } } - // Get a gallery Application Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGalleryApplicationVersion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryApplicationVersion_Get.json @@ -240,9 +236,8 @@ public async Task Get_GetAGalleryApplicationVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery Application Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAGalleryApplicationVersion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryApplicationVersion_Get.json @@ -272,9 +267,8 @@ public async Task Exists_GetAGalleryApplicationVersion() Console.WriteLine($"Succeeded: {result}"); } - // Get a gallery Application Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAGalleryApplicationVersion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryApplicationVersion_Get.json @@ -304,7 +298,7 @@ public async Task GetIfExists_GetAGalleryApplicationVersion() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -316,9 +310,8 @@ public async Task GetIfExists_GetAGalleryApplicationVersion() } } - // List gallery Application Versions in a gallery Application Definition. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListGalleryApplicationVersionsInAGalleryApplicationDefinition() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryApplicationVersion_ListByGalleryApplication.json @@ -351,7 +344,7 @@ public async Task GetAll_ListGalleryApplicationVersionsInAGalleryApplicationDefi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryApplicationVersionResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryApplicationVersionResource.cs index 8ec0654887bbd..eacdd2aecd138 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryApplicationVersionResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryApplicationVersionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Compute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_GalleryApplicationVersionResource { - // Update a simple gallery Application Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateASimpleGalleryApplicationVersion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryApplicationVersion_Update.json @@ -69,9 +69,8 @@ public async Task Update_UpdateASimpleGalleryApplicationVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery Application Version with replication status. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGalleryApplicationVersionWithReplicationStatus() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryApplicationVersion_Get_WithReplicationStatus.json @@ -103,9 +102,8 @@ public async Task Get_GetAGalleryApplicationVersionWithReplicationStatus() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery Application Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGalleryApplicationVersion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryApplicationVersion_Get.json @@ -136,9 +134,8 @@ public async Task Get_GetAGalleryApplicationVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a gallery Application Version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAGalleryApplicationVersion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryApplicationVersion_Delete.json @@ -162,7 +159,7 @@ public async Task Delete_DeleteAGalleryApplicationVersion() // invoke the operation await galleryApplicationVersion.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryCollection.cs index 854a1395b2213..ee95006ffe80b 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_GalleryCollection { - // Create a community gallery. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateACommunityGallery() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/CommunityGallery_Create.json @@ -66,9 +66,8 @@ public async Task CreateOrUpdate_CreateACommunityGallery() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a simple gallery with sharing profile. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryWithSharingProfile() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/Gallery_Create_WithSharingProfile.json @@ -109,9 +108,8 @@ public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryWithSharingProfile( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a simple gallery with soft deletion enabled. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryWithSoftDeletionEnabled() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/Gallery_Create_SoftDeletionEnabled.json @@ -149,9 +147,8 @@ public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryWithSoftDeletionEna Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a simple gallery. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateASimpleGallery() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/Gallery_Create.json @@ -188,9 +185,8 @@ public async Task CreateOrUpdate_CreateOrUpdateASimpleGallery() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a community gallery. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACommunityGallery() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/CommunityGallery_Get.json @@ -222,9 +218,8 @@ public async Task Get_GetACommunityGallery() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a community gallery. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetACommunityGallery() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/CommunityGallery_Get.json @@ -252,9 +247,8 @@ public async Task Exists_GetACommunityGallery() Console.WriteLine($"Succeeded: {result}"); } - // Get a community gallery. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetACommunityGallery() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/CommunityGallery_Get.json @@ -282,7 +276,7 @@ public async Task GetIfExists_GetACommunityGallery() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -294,9 +288,8 @@ public async Task GetIfExists_GetACommunityGallery() } } - // Get a gallery with expand sharingProfile groups. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGalleryWithExpandSharingProfileGroups() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/Gallery_Get_WithExpandSharingProfileGroups.json @@ -329,9 +322,8 @@ public async Task Get_GetAGalleryWithExpandSharingProfileGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery with expand sharingProfile groups. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAGalleryWithExpandSharingProfileGroups() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/Gallery_Get_WithExpandSharingProfileGroups.json @@ -360,9 +352,8 @@ public async Task Exists_GetAGalleryWithExpandSharingProfileGroups() Console.WriteLine($"Succeeded: {result}"); } - // Get a gallery with expand sharingProfile groups. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAGalleryWithExpandSharingProfileGroups() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/Gallery_Get_WithExpandSharingProfileGroups.json @@ -391,7 +382,7 @@ public async Task GetIfExists_GetAGalleryWithExpandSharingProfileGroups() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -403,9 +394,8 @@ public async Task GetIfExists_GetAGalleryWithExpandSharingProfileGroups() } } - // Get a gallery with select permissions. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGalleryWithSelectPermissions() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/Gallery_Get_WithSelectPermissions.json @@ -438,9 +428,8 @@ public async Task Get_GetAGalleryWithSelectPermissions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery with select permissions. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAGalleryWithSelectPermissions() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/Gallery_Get_WithSelectPermissions.json @@ -469,9 +458,8 @@ public async Task Exists_GetAGalleryWithSelectPermissions() Console.WriteLine($"Succeeded: {result}"); } - // Get a gallery with select permissions. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAGalleryWithSelectPermissions() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/Gallery_Get_WithSelectPermissions.json @@ -500,7 +488,7 @@ public async Task GetIfExists_GetAGalleryWithSelectPermissions() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -512,9 +500,8 @@ public async Task GetIfExists_GetAGalleryWithSelectPermissions() } } - // Get a gallery. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGallery() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/Gallery_Get.json @@ -546,9 +533,8 @@ public async Task Get_GetAGallery() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAGallery() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/Gallery_Get.json @@ -576,9 +562,8 @@ public async Task Exists_GetAGallery() Console.WriteLine($"Succeeded: {result}"); } - // Get a gallery. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAGallery() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/Gallery_Get.json @@ -606,7 +591,7 @@ public async Task GetIfExists_GetAGallery() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -618,9 +603,8 @@ public async Task GetIfExists_GetAGallery() } } - // List galleries in a resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListGalleriesInAResourceGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/Gallery_ListByResourceGroup.json @@ -651,7 +635,7 @@ public async Task GetAll_ListGalleriesInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryImageCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryImageCollection.cs index deea2fbbb1bd0..23fee20d2de2c 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryImageCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryImageCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Compute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_GalleryImageCollection { - // Create or update a simple gallery image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImage_Create.json @@ -58,9 +58,8 @@ public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryImage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGalleryImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImage_Get.json @@ -93,9 +92,8 @@ public async Task Get_GetAGalleryImage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAGalleryImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImage_Get.json @@ -124,9 +122,8 @@ public async Task Exists_GetAGalleryImage() Console.WriteLine($"Succeeded: {result}"); } - // Get a gallery image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAGalleryImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImage_Get.json @@ -155,7 +152,7 @@ public async Task GetIfExists_GetAGalleryImage() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -167,9 +164,8 @@ public async Task GetIfExists_GetAGalleryImage() } } - // List gallery images in a gallery. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListGalleryImagesInAGallery() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImage_ListByGallery.json @@ -201,7 +197,7 @@ public async Task GetAll_ListGalleryImagesInAGallery() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryImageResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryImageResource.cs index d98743a493f98..d124fbc60bea6 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryImageResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryImageResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Compute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_GalleryImageResource { - // Update a simple gallery image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateASimpleGalleryImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImage_Update.json @@ -55,9 +55,8 @@ public async Task Update_UpdateASimpleGalleryImage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGalleryImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImage_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetAGalleryImage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a gallery image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAGalleryImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImage_Delete.json @@ -112,7 +110,7 @@ public async Task Delete_DeleteAGalleryImage() // invoke the operation await galleryImage.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryImageVersionCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryImageVersionCollection.cs index 4851b89d49851..3fd01e934a393 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryImageVersionCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryImageVersionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Compute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_GalleryImageVersionCollection { - // Create or update a simple Gallery Image Version using VM as source. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryImageVersionUsingVMAsSource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Create_WithVmAsSource.json @@ -116,9 +116,8 @@ public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryImageVersionUsingVM Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a simple Gallery Image Version using community gallery image as source. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryImageVersionUsingCommunityGalleryImageAsSource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Create_WithCommunityImageVersionAsSource.json @@ -217,9 +216,8 @@ public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryImageVersionUsingCo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a simple Gallery Image Version using managed image as source. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryImageVersionUsingManagedImageAsSource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Create.json @@ -318,9 +316,8 @@ public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryImageVersionUsingMa Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a simple Gallery Image Version using mix of disks and snapshots as a source. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryImageVersionUsingMixOfDisksAndSnapshotsAsASource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Create_WithSnapshotsAsSource.json @@ -428,9 +425,8 @@ public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryImageVersionUsingMi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a simple Gallery Image Version using shallow replication mode. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryImageVersionUsingShallowReplicationMode() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Create_WithShallowReplicationMode.json @@ -491,9 +487,8 @@ public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryImageVersionUsingSh Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a simple Gallery Image Version using shared image as source. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryImageVersionUsingSharedImageAsSource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Create_WithImageVersionAsSource.json @@ -592,9 +587,8 @@ public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryImageVersionUsingSh Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a simple Gallery Image Version using snapshots as a source. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryImageVersionUsingSnapshotsAsASource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Create_WithSnapshotsAsSource.json @@ -702,9 +696,8 @@ public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryImageVersionUsingSn Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a simple Gallery Image Version using vhd as a source with custom UEFI keys. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryImageVersionUsingVhdAsASourceWithCustomUEFIKeys() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Create_WithVHD_UefiSettings.json @@ -843,9 +836,8 @@ public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryImageVersionUsingVh Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a simple Gallery Image Version using vhd as a source. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryImageVersionUsingVhdAsASource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Create_WithVHD.json @@ -941,9 +933,8 @@ public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryImageVersionUsingVh Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a simple gallery image version with target extended locations specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryImageVersionWithTargetExtendedLocationsSpecified() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Create_WithTargetExtendedLocations.json @@ -1042,9 +1033,8 @@ public async Task CreateOrUpdate_CreateOrUpdateASimpleGalleryImageVersionWithTar Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery image version with replication status. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGalleryImageVersionWithReplicationStatus() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Get_WithReplicationStatus.json @@ -1079,9 +1069,8 @@ public async Task Get_GetAGalleryImageVersionWithReplicationStatus() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery image version with replication status. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAGalleryImageVersionWithReplicationStatus() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Get_WithReplicationStatus.json @@ -1112,9 +1101,8 @@ public async Task Exists_GetAGalleryImageVersionWithReplicationStatus() Console.WriteLine($"Succeeded: {result}"); } - // Get a gallery image version with replication status. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAGalleryImageVersionWithReplicationStatus() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Get_WithReplicationStatus.json @@ -1145,7 +1133,7 @@ public async Task GetIfExists_GetAGalleryImageVersionWithReplicationStatus() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1157,9 +1145,8 @@ public async Task GetIfExists_GetAGalleryImageVersionWithReplicationStatus() } } - // Get a gallery image version with snapshots as a source. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGalleryImageVersionWithSnapshotsAsASource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Get_WithSnapshotsAsSource.json @@ -1193,9 +1180,8 @@ public async Task Get_GetAGalleryImageVersionWithSnapshotsAsASource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery image version with snapshots as a source. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAGalleryImageVersionWithSnapshotsAsASource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Get_WithSnapshotsAsSource.json @@ -1225,9 +1211,8 @@ public async Task Exists_GetAGalleryImageVersionWithSnapshotsAsASource() Console.WriteLine($"Succeeded: {result}"); } - // Get a gallery image version with snapshots as a source. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAGalleryImageVersionWithSnapshotsAsASource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Get_WithSnapshotsAsSource.json @@ -1257,7 +1242,7 @@ public async Task GetIfExists_GetAGalleryImageVersionWithSnapshotsAsASource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1269,9 +1254,8 @@ public async Task GetIfExists_GetAGalleryImageVersionWithSnapshotsAsASource() } } - // Get a gallery image version with vhd as a source. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGalleryImageVersionWithVhdAsASource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Get_WithVhdAsSource.json @@ -1305,9 +1289,8 @@ public async Task Get_GetAGalleryImageVersionWithVhdAsASource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery image version with vhd as a source. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAGalleryImageVersionWithVhdAsASource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Get_WithVhdAsSource.json @@ -1337,9 +1320,8 @@ public async Task Exists_GetAGalleryImageVersionWithVhdAsASource() Console.WriteLine($"Succeeded: {result}"); } - // Get a gallery image version with vhd as a source. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAGalleryImageVersionWithVhdAsASource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Get_WithVhdAsSource.json @@ -1369,7 +1351,7 @@ public async Task GetIfExists_GetAGalleryImageVersionWithVhdAsASource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1381,9 +1363,8 @@ public async Task GetIfExists_GetAGalleryImageVersionWithVhdAsASource() } } - // Get a gallery image version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGalleryImageVersion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Get.json @@ -1417,9 +1398,8 @@ public async Task Get_GetAGalleryImageVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery image version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAGalleryImageVersion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Get.json @@ -1449,9 +1429,8 @@ public async Task Exists_GetAGalleryImageVersion() Console.WriteLine($"Succeeded: {result}"); } - // Get a gallery image version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAGalleryImageVersion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Get.json @@ -1481,7 +1460,7 @@ public async Task GetIfExists_GetAGalleryImageVersion() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1493,9 +1472,8 @@ public async Task GetIfExists_GetAGalleryImageVersion() } } - // List gallery image versions in a gallery image definition. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListGalleryImageVersionsInAGalleryImageDefinition() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_ListByGalleryImage.json @@ -1528,7 +1506,7 @@ public async Task GetAll_ListGalleryImageVersionsInAGalleryImageDefinition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryImageVersionResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryImageVersionResource.cs index 14dbb53a35be7..e157bdc3c61c3 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryImageVersionResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryImageVersionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Compute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_GalleryImageVersionResource { - // Update a simple Gallery Image Version (Managed Image as source). - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateASimpleGalleryImageVersionManagedImageAsSource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Update.json @@ -73,9 +73,8 @@ public async Task Update_UpdateASimpleGalleryImageVersionManagedImageAsSource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a simple Gallery Image Version without source id. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateASimpleGalleryImageVersionWithoutSourceId() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Update_WithoutSourceId.json @@ -125,9 +124,8 @@ public async Task Update_UpdateASimpleGalleryImageVersionWithoutSourceId() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery image version with replication status. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGalleryImageVersionWithReplicationStatus() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Get_WithReplicationStatus.json @@ -159,9 +157,8 @@ public async Task Get_GetAGalleryImageVersionWithReplicationStatus() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery image version with snapshots as a source. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGalleryImageVersionWithSnapshotsAsASource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Get_WithSnapshotsAsSource.json @@ -192,9 +189,8 @@ public async Task Get_GetAGalleryImageVersionWithSnapshotsAsASource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery image version with vhd as a source. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGalleryImageVersionWithVhdAsASource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Get_WithVhdAsSource.json @@ -225,9 +221,8 @@ public async Task Get_GetAGalleryImageVersionWithVhdAsASource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery image version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGalleryImageVersion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Get.json @@ -258,9 +253,8 @@ public async Task Get_GetAGalleryImageVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a gallery image version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAGalleryImageVersion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/GalleryImageVersion_Delete.json @@ -284,7 +278,7 @@ public async Task Delete_DeleteAGalleryImageVersion() // invoke the operation await galleryImageVersion.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryResource.cs index dee18e525bf0f..641e76c103a5c 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_GalleryResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_GalleryResource { - // Update a simple gallery. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateASimpleGallery() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/Gallery_Update.json @@ -52,9 +52,8 @@ public async Task Update_UpdateASimpleGallery() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a community gallery. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACommunityGallery() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/CommunityGallery_Get.json @@ -83,9 +82,8 @@ public async Task Get_GetACommunityGallery() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery with expand sharingProfile groups. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGalleryWithExpandSharingProfileGroups() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/Gallery_Get_WithExpandSharingProfileGroups.json @@ -115,9 +113,8 @@ public async Task Get_GetAGalleryWithExpandSharingProfileGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery with select permissions. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGalleryWithSelectPermissions() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/Gallery_Get_WithSelectPermissions.json @@ -147,9 +144,8 @@ public async Task Get_GetAGalleryWithSelectPermissions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a gallery. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGallery() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/Gallery_Get.json @@ -178,9 +174,8 @@ public async Task Get_GetAGallery() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a gallery. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAGallery() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/Gallery_Delete.json @@ -202,12 +197,11 @@ public async Task Delete_DeleteAGallery() // invoke the operation await gallery.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List galleries in a subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetGalleries_ListGalleriesInASubscription() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/Gallery_ListBySubscription.json @@ -234,12 +228,11 @@ public async Task GetGalleries_ListGalleriesInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Add sharing id to the sharing profile of a gallery. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateSharingProfile_AddSharingIdToTheSharingProfileOfAGallery() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/Gallery_AddToSharingProfile.json @@ -286,9 +279,8 @@ public async Task UpdateSharingProfile_AddSharingIdToTheSharingProfileOfAGallery Console.WriteLine($"Succeeded: {result}"); } - // reset sharing profile of a gallery. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateSharingProfile_ResetSharingProfileOfAGallery() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/Gallery_ResetSharingProfile.json @@ -315,9 +307,8 @@ public async Task UpdateSharingProfile_ResetSharingProfileOfAGallery() Console.WriteLine($"Succeeded: {result}"); } - // share a gallery to community. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateSharingProfile_ShareAGalleryToCommunity() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/galleryExamples/Gallery_EnableCommunityGallery.json diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ManagedDiskCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ManagedDiskCollection.cs index 0a157323d4d43..a5c3059ab5637 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ManagedDiskCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ManagedDiskCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_ManagedDiskCollection { - // Create a confidential VM supported disk encrypted with customer managed key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAConfidentialVMSupportedDiskEncryptedWithCustomerManagedKey() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_ConfidentialVMSupportedDiskEncryptedWithCMK.json @@ -68,9 +68,8 @@ public async Task CreateOrUpdate_CreateAConfidentialVMSupportedDiskEncryptedWith Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed disk and associate with disk access resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAManagedDiskAndAssociateWithDiskAccessResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_WithDiskAccess.json @@ -110,9 +109,8 @@ public async Task CreateOrUpdate_CreateAManagedDiskAndAssociateWithDiskAccessRes Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed disk and associate with disk encryption set. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAManagedDiskAndAssociateWithDiskEncryptionSet() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_WithDiskEncryptionSet.json @@ -154,9 +152,8 @@ public async Task CreateOrUpdate_CreateAManagedDiskAndAssociateWithDiskEncryptio Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed disk by copying a snapshot. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAManagedDiskByCopyingASnapshot() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_ByCopyingASnapshot.json @@ -196,9 +193,8 @@ public async Task CreateOrUpdate_CreateAManagedDiskByCopyingASnapshot() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed disk by importing an unmanaged blob from a different subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscription() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_ByImportingBlobFromADifferentSubscription.json @@ -239,9 +235,8 @@ public async Task CreateOrUpdate_CreateAManagedDiskByImportingAnUnmanagedBlobFro Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed disk by importing an unmanaged blob from the same subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscription() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_ByImportingBlobFromTheSameSubscription.json @@ -281,9 +276,8 @@ public async Task CreateOrUpdate_CreateAManagedDiskByImportingAnUnmanagedBlobFro Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed disk from ImportSecure create option - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAManagedDiskFromImportSecureCreateOption() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_FromImportSecure.json @@ -330,9 +324,8 @@ public async Task CreateOrUpdate_CreateAManagedDiskFromImportSecureCreateOption( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed disk from UploadPreparedSecure create option - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAManagedDiskFromUploadPreparedSecureCreateOption() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_FromUploadPreparedSecure.json @@ -377,9 +370,8 @@ public async Task CreateOrUpdate_CreateAManagedDiskFromUploadPreparedSecureCreat Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed disk from a platform image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAManagedDiskFromAPlatformImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_FromAPlatformImage.json @@ -423,9 +415,8 @@ public async Task CreateOrUpdate_CreateAManagedDiskFromAPlatformImage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed disk from an Azure Compute Gallery community image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAManagedDiskFromAnAzureComputeGalleryCommunityImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_FromAnAzureComputeGalleryCommunityImage.json @@ -469,9 +460,8 @@ public async Task CreateOrUpdate_CreateAManagedDiskFromAnAzureComputeGalleryComm Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed disk from an Azure Compute Gallery direct shared image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAManagedDiskFromAnAzureComputeGalleryDirectSharedImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_FromAnAzureComputeGalleryDirectSharedImage.json @@ -515,9 +505,8 @@ public async Task CreateOrUpdate_CreateAManagedDiskFromAnAzureComputeGalleryDire Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed disk from an Azure Compute Gallery image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAManagedDiskFromAnAzureComputeGalleryImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_FromAnAzureComputeGalleryImage.json @@ -561,9 +550,8 @@ public async Task CreateOrUpdate_CreateAManagedDiskFromAnAzureComputeGalleryImag Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed disk from an existing managed disk in the same or different subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAManagedDiskFromAnExistingManagedDiskInTheSameOrDifferentSubscription() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_FromAnExistingManagedDisk.json @@ -603,9 +591,8 @@ public async Task CreateOrUpdate_CreateAManagedDiskFromAnExistingManagedDiskInTh Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed disk from elastic san volume snapshot. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAManagedDiskFromElasticSanVolumeSnapshot() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_FromAnElasticSanVolumeSnapshot.json @@ -645,9 +632,8 @@ public async Task CreateOrUpdate_CreateAManagedDiskFromElasticSanVolumeSnapshot( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed disk with dataAccessAuthMode - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAManagedDiskWithDataAccessAuthMode() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_WithDataAccessAuthMode.json @@ -686,9 +672,8 @@ public async Task CreateOrUpdate_CreateAManagedDiskWithDataAccessAuthMode() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed disk with optimizedForFrequentAttach. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAManagedDiskWithOptimizedForFrequentAttach() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_WithOptimizedForFrequentAttach.json @@ -727,9 +712,8 @@ public async Task CreateOrUpdate_CreateAManagedDiskWithOptimizedForFrequentAttac Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed disk with performancePlus. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAManagedDiskWithPerformancePlus() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_PerformancePlus.json @@ -769,9 +753,8 @@ public async Task CreateOrUpdate_CreateAManagedDiskWithPerformancePlus() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed disk with premium v2 account type. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAManagedDiskWithPremiumV2AccountType() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_WithPremiumV2_LRSAccountType.json @@ -815,9 +798,8 @@ public async Task CreateOrUpdate_CreateAManagedDiskWithPremiumV2AccountType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed disk with security profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAManagedDiskWithSecurityProfile() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_WithSecurityProfile.json @@ -865,9 +847,8 @@ public async Task CreateOrUpdate_CreateAManagedDiskWithSecurityProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed disk with ssd zrs account type. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAManagedDiskWithSsdZrsAccountType() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_WithSSDZRSAccountType.json @@ -909,9 +890,8 @@ public async Task CreateOrUpdate_CreateAManagedDiskWithSsdZrsAccountType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed disk with ultra account type with readOnly property set. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAManagedDiskWithUltraAccountTypeWithReadOnlyPropertySet() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_WithUltraSSD_ReadOnly.json @@ -962,9 +942,8 @@ public async Task CreateOrUpdate_CreateAManagedDiskWithUltraAccountTypeWithReadO Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed upload disk. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAManagedUploadDisk() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_UploadDisk.json @@ -1004,9 +983,8 @@ public async Task CreateOrUpdate_CreateAManagedUploadDisk() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an empty managed disk in extended location. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnEmptyManagedDiskInExtendedLocation() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_InExtendedLocation.json @@ -1048,9 +1026,8 @@ public async Task CreateOrUpdate_CreateAnEmptyManagedDiskInExtendedLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an empty managed disk. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnEmptyManagedDisk() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_Empty.json @@ -1088,9 +1065,8 @@ public async Task CreateOrUpdate_CreateAnEmptyManagedDisk() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an ultra managed disk with logicalSectorSize 512E - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnUltraManagedDiskWithLogicalSectorSize512E() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Create_WithLogicalSectorSize.json @@ -1135,9 +1111,8 @@ public async Task CreateOrUpdate_CreateAnUltraManagedDiskWithLogicalSectorSize51 Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get information about a managed disk. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetInformationAboutAManagedDisk() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Get.json @@ -1169,9 +1144,8 @@ public async Task Get_GetInformationAboutAManagedDisk() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get information about a managed disk. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetInformationAboutAManagedDisk() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Get.json @@ -1199,9 +1173,8 @@ public async Task Exists_GetInformationAboutAManagedDisk() Console.WriteLine($"Succeeded: {result}"); } - // Get information about a managed disk. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetInformationAboutAManagedDisk() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Get.json @@ -1229,7 +1202,7 @@ public async Task GetIfExists_GetInformationAboutAManagedDisk() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -1241,9 +1214,8 @@ public async Task GetIfExists_GetInformationAboutAManagedDisk() } } - // List all managed disks in a resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllManagedDisksInAResourceGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_ListByResourceGroup.json @@ -1274,7 +1246,7 @@ public async Task GetAll_ListAllManagedDisksInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ManagedDiskResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ManagedDiskResource.cs index 419ba7de9bdae..83e40f9dc7f67 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ManagedDiskResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ManagedDiskResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_ManagedDiskResource { - // Create or update a bursting enabled managed disk. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateABurstingEnabledManagedDisk() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_CreateOrUpdate_BurstingEnabled.json @@ -53,9 +53,8 @@ public async Task Update_CreateOrUpdateABurstingEnabledManagedDisk() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a managed disk to add accelerated networking. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAManagedDiskToAddAcceleratedNetworking() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Update_AddAcceleratedNetworking.json @@ -92,9 +91,8 @@ public async Task Update_UpdateAManagedDiskToAddAcceleratedNetworking() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a managed disk to add architecture. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAManagedDiskToAddArchitecture() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Update_ToAddArchitecture.json @@ -131,9 +129,8 @@ public async Task Update_UpdateAManagedDiskToAddArchitecture() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a managed disk to add purchase plan. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAManagedDiskToAddPurchasePlan() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Update_AddPurchasePlan.json @@ -170,9 +167,8 @@ public async Task Update_UpdateAManagedDiskToAddPurchasePlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a managed disk to add supportsHibernation. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAManagedDiskToAddSupportsHibernation() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Update_AddSupportsHibernation.json @@ -206,9 +202,8 @@ public async Task Update_UpdateAManagedDiskToAddSupportsHibernation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a managed disk to change tier. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAManagedDiskToChangeTier() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Update_ChangeTier.json @@ -242,9 +237,8 @@ public async Task Update_UpdateAManagedDiskToChangeTier() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a managed disk to disable bursting. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAManagedDiskToDisableBursting() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Update_DisableBursting.json @@ -278,9 +272,8 @@ public async Task Update_UpdateAManagedDiskToDisableBursting() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a managed disk to disable optimizedForFrequentAttach. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAManagedDiskToDisableOptimizedForFrequentAttach() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Update_DisableOptimizedForFrequentAttach.json @@ -314,9 +307,8 @@ public async Task Update_UpdateAManagedDiskToDisableOptimizedForFrequentAttach() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a managed disk with diskControllerTypes. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAManagedDiskWithDiskControllerTypes() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Update_AddDiskControllerTypes.json @@ -353,9 +345,8 @@ public async Task Update_UpdateAManagedDiskWithDiskControllerTypes() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update managed disk to remove disk access resource association. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateManagedDiskToRemoveDiskAccessResourceAssociation() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Update_RemoveDiskAccess.json @@ -389,9 +380,8 @@ public async Task Update_UpdateManagedDiskToRemoveDiskAccessResourceAssociation( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get information about a managed disk. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetInformationAboutAManagedDisk() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Get.json @@ -420,9 +410,8 @@ public async Task Get_GetInformationAboutAManagedDisk() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a managed disk. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAManagedDisk() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_Delete.json @@ -444,12 +433,11 @@ public async Task Delete_DeleteAManagedDisk() // invoke the operation await managedDisk.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List all managed disks in a subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagedDisks_ListAllManagedDisksInASubscription() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_ListBySubscription.json @@ -476,12 +464,11 @@ public async Task GetManagedDisks_ListAllManagedDisksInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a sas on a managed disk. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GrantAccess_GetASasOnAManagedDisk() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_BeginGetAccess.json @@ -511,9 +498,8 @@ public async Task GrantAccess_GetASasOnAManagedDisk() Console.WriteLine($"Succeeded: {result}"); } - // Get sas on managed disk and VM guest state - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GrantAccess_GetSasOnManagedDiskAndVMGuestState() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_BeginGetAccess_WithVMGuestState.json @@ -543,9 +529,8 @@ public async Task GrantAccess_GetSasOnManagedDiskAndVMGuestState() Console.WriteLine($"Succeeded: {result}"); } - // Revoke access to a managed disk. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RevokeAccess_RevokeAccessToAManagedDisk() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskExamples/Disk_EndGetAccess.json @@ -567,7 +552,7 @@ public async Task RevokeAccess_RevokeAccessToAManagedDisk() // invoke the operation await managedDisk.RevokeAccessAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ProximityPlacementGroupCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ProximityPlacementGroupCollection.cs index 48462229016b3..33801f85c198c 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ProximityPlacementGroupCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ProximityPlacementGroupCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_ProximityPlacementGroupCollection { - // Create or Update a proximity placement group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAProximityPlacementGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_CreateOrUpdate.json @@ -63,9 +63,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAProximityPlacementGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get proximity placement groups. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetProximityPlacementGroups() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_Get.json @@ -97,9 +96,8 @@ public async Task Get_GetProximityPlacementGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get proximity placement groups. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetProximityPlacementGroups() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_Get.json @@ -127,9 +125,8 @@ public async Task Exists_GetProximityPlacementGroups() Console.WriteLine($"Succeeded: {result}"); } - // Get proximity placement groups. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetProximityPlacementGroups() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_Get.json @@ -157,7 +154,7 @@ public async Task GetIfExists_GetProximityPlacementGroups() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_GetProximityPlacementGroups() } } - // List proximity placement group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListProximityPlacementGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_ListByResourceGroup.json @@ -202,7 +198,7 @@ public async Task GetAll_ListProximityPlacementGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ProximityPlacementGroupResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ProximityPlacementGroupResource.cs index 73f9e5600c5fb..aaf57577c3f01 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ProximityPlacementGroupResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_ProximityPlacementGroupResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_ProximityPlacementGroupResource { - // Update a proximity placement group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAProximityPlacementGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_Patch.json @@ -54,9 +54,8 @@ public async Task Update_UpdateAProximityPlacementGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a proximity placement group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAProximityPlacementGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_Delete.json @@ -78,12 +77,11 @@ public async Task Delete_DeleteAProximityPlacementGroup() // invoke the operation await proximityPlacementGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get proximity placement groups. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetProximityPlacementGroups() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_Get.json @@ -112,9 +110,8 @@ public async Task Get_GetProximityPlacementGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List proximity placement groups. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetProximityPlacementGroups_ListProximityPlacementGroups() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/proximityPlacementGroupExamples/ProximityPlacementGroup_ListBySubscription.json @@ -141,7 +138,7 @@ public async Task GetProximityPlacementGroups_ListProximityPlacementGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointCollection.cs index a626baa023fd8..e8651a3569ce7 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_RestorePointCollection { - // Copy a restore point to a different region - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CopyARestorePointToADifferentRegion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Copy_BetweenRegions.json @@ -55,9 +55,8 @@ public async Task CreateOrUpdate_CopyARestorePointToADifferentRegion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a restore point - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateARestorePoint() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Create.json @@ -101,9 +100,8 @@ public async Task CreateOrUpdate_CreateARestorePoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a restore point - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARestorePoint() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Get.json @@ -136,9 +134,8 @@ public async Task Get_GetARestorePoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a restore point - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetARestorePoint() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Get.json @@ -167,9 +164,8 @@ public async Task Exists_GetARestorePoint() Console.WriteLine($"Succeeded: {result}"); } - // Get a restore point - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetARestorePoint() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Get.json @@ -198,7 +194,7 @@ public async Task GetIfExists_GetARestorePoint() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -210,9 +206,8 @@ public async Task GetIfExists_GetARestorePoint() } } - // Get restore point with instance view - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRestorePointWithInstanceView() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Get_WithInstanceView.json @@ -245,9 +240,8 @@ public async Task Get_GetRestorePointWithInstanceView() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get restore point with instance view - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRestorePointWithInstanceView() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Get_WithInstanceView.json @@ -276,9 +270,8 @@ public async Task Exists_GetRestorePointWithInstanceView() Console.WriteLine($"Succeeded: {result}"); } - // Get restore point with instance view - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRestorePointWithInstanceView() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Get_WithInstanceView.json @@ -307,7 +300,7 @@ public async Task GetIfExists_GetRestorePointWithInstanceView() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointGroupCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointGroupCollection.cs index 90f19542dd5ff..f3860295907f6 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointGroupCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointGroupCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_RestorePointGroupCollection { - // Create or update a restore point collection for cross region copy. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateARestorePointCollectionForCrossRegionCopy() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_CreateOrUpdate_ForCrossRegionCopy.json @@ -62,9 +62,8 @@ public async Task CreateOrUpdate_CreateOrUpdateARestorePointCollectionForCrossRe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a restore point collection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateARestorePointCollection() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_CreateOrUpdate.json @@ -108,9 +107,8 @@ public async Task CreateOrUpdate_CreateOrUpdateARestorePointCollection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a restore point collection (but not the restore points contained in the restore point collection) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARestorePointCollectionButNotTheRestorePointsContainedInTheRestorePointCollection() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_Get.json @@ -142,9 +140,8 @@ public async Task Get_GetARestorePointCollectionButNotTheRestorePointsContainedI Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a restore point collection (but not the restore points contained in the restore point collection) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetARestorePointCollectionButNotTheRestorePointsContainedInTheRestorePointCollection() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_Get.json @@ -172,9 +169,8 @@ public async Task Exists_GetARestorePointCollectionButNotTheRestorePointsContain Console.WriteLine($"Succeeded: {result}"); } - // Get a restore point collection (but not the restore points contained in the restore point collection) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetARestorePointCollectionButNotTheRestorePointsContainedInTheRestorePointCollection() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_Get.json @@ -202,7 +198,7 @@ public async Task GetIfExists_GetARestorePointCollectionButNotTheRestorePointsCo if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -214,9 +210,8 @@ public async Task GetIfExists_GetARestorePointCollectionButNotTheRestorePointsCo } } - // Get a restore point collection, including the restore points contained in the restore point collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARestorePointCollectionIncludingTheRestorePointsContainedInTheRestorePointCollection() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_Get_WithContainedRestorePoints.json @@ -248,9 +243,8 @@ public async Task Get_GetARestorePointCollectionIncludingTheRestorePointsContain Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a restore point collection, including the restore points contained in the restore point collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetARestorePointCollectionIncludingTheRestorePointsContainedInTheRestorePointCollection() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_Get_WithContainedRestorePoints.json @@ -278,9 +272,8 @@ public async Task Exists_GetARestorePointCollectionIncludingTheRestorePointsCont Console.WriteLine($"Succeeded: {result}"); } - // Get a restore point collection, including the restore points contained in the restore point collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetARestorePointCollectionIncludingTheRestorePointsContainedInTheRestorePointCollection() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_Get_WithContainedRestorePoints.json @@ -308,7 +301,7 @@ public async Task GetIfExists_GetARestorePointCollectionIncludingTheRestorePoint if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -320,9 +313,8 @@ public async Task GetIfExists_GetARestorePointCollectionIncludingTheRestorePoint } } - // Gets the list of restore point collections in a resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfRestorePointCollectionsInAResourceGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_ListByResourceGroup.json @@ -353,7 +345,7 @@ public async Task GetAll_GetsTheListOfRestorePointCollectionsInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointGroupResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointGroupResource.cs index 5629709a8917b..dfa754c9f8ee2 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointGroupResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointGroupResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_RestorePointGroupResource { - // RestorePointCollection_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RestorePointCollectionUpdateMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_Update_MaximumSet_Gen.json @@ -58,9 +58,8 @@ public async Task Update_RestorePointCollectionUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RestorePointCollection_Update_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RestorePointCollectionUpdateMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_Update_MinimumSet_Gen.json @@ -90,9 +89,8 @@ public async Task Update_RestorePointCollectionUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RestorePointCollection_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RestorePointCollectionDeleteMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_Delete_MaximumSet_Gen.json @@ -114,12 +112,11 @@ public async Task Delete_RestorePointCollectionDeleteMaximumSetGen() // invoke the operation await restorePointGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RestorePointCollection_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RestorePointCollectionDeleteMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_Delete_MinimumSet_Gen.json @@ -141,12 +138,11 @@ public async Task Delete_RestorePointCollectionDeleteMinimumSetGen() // invoke the operation await restorePointGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a restore point collection (but not the restore points contained in the restore point collection) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARestorePointCollectionButNotTheRestorePointsContainedInTheRestorePointCollection() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_Get.json @@ -175,9 +171,8 @@ public async Task Get_GetARestorePointCollectionButNotTheRestorePointsContainedI Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a restore point collection, including the restore points contained in the restore point collection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARestorePointCollectionIncludingTheRestorePointsContainedInTheRestorePointCollection() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_Get_WithContainedRestorePoints.json @@ -206,9 +201,8 @@ public async Task Get_GetARestorePointCollectionIncludingTheRestorePointsContain Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the list of restore point collections in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRestorePointGroups_GetsTheListOfRestorePointCollectionsInASubscription() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePointCollection_ListBySubscription.json @@ -235,7 +229,7 @@ public async Task GetRestorePointGroups_GetsTheListOfRestorePointCollectionsInAS Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointResource.cs index 35ca6bb173500..174ff17242f03 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_RestorePointResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_RestorePointResource { - // Copy a restore point to a different region - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CopyARestorePointToADifferentRegion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Copy_BetweenRegions.json @@ -52,9 +52,8 @@ public async Task Update_CopyARestorePointToADifferentRegion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a restore point - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateARestorePoint() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Create.json @@ -95,9 +94,8 @@ public async Task Update_CreateARestorePoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RestorePoint_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RestorePointDeleteMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Delete_MaximumSet_Gen.json @@ -120,12 +118,11 @@ public async Task Delete_RestorePointDeleteMaximumSetGen() // invoke the operation await restorePoint.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RestorePoint_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RestorePointDeleteMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Delete_MinimumSet_Gen.json @@ -148,12 +145,11 @@ public async Task Delete_RestorePointDeleteMinimumSetGen() // invoke the operation await restorePoint.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a restore point - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARestorePoint() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Get.json @@ -183,9 +179,8 @@ public async Task Get_GetARestorePoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get restore point with instance view - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRestorePointWithInstanceView() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/restorePointExamples/RestorePoint_Get_WithInstanceView.json diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SharedGalleryCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SharedGalleryCollection.cs index 29afba6d76bae..0697940c04287 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SharedGalleryCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SharedGalleryCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_SharedGalleryCollection { - // List shared galleries. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSharedGalleries() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/sharedGalleryExamples/SharedGallery_List.json @@ -48,12 +48,11 @@ public async Task GetAll_ListSharedGalleries() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a shared gallery. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASharedGallery() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/sharedGalleryExamples/SharedGallery_Get.json @@ -85,9 +84,8 @@ public async Task Get_GetASharedGallery() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a shared gallery. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetASharedGallery() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/sharedGalleryExamples/SharedGallery_Get.json @@ -115,9 +113,8 @@ public async Task Exists_GetASharedGallery() Console.WriteLine($"Succeeded: {result}"); } - // Get a shared gallery. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetASharedGallery() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/sharedGalleryExamples/SharedGallery_Get.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetASharedGallery() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SharedGalleryImageCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SharedGalleryImageCollection.cs index 5c0d1f9b4da4e..dc030f18cb4f9 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SharedGalleryImageCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SharedGalleryImageCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_SharedGalleryImageCollection { - // List shared gallery images. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSharedGalleryImages() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/sharedGalleryExamples/SharedGalleryImages_List.json @@ -48,12 +48,11 @@ public async Task GetAll_ListSharedGalleryImages() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a shared gallery image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASharedGalleryImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/sharedGalleryExamples/SharedGalleryImage_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetASharedGalleryImage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a shared gallery image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetASharedGalleryImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/sharedGalleryExamples/SharedGalleryImage_Get.json @@ -117,9 +115,8 @@ public async Task Exists_GetASharedGalleryImage() Console.WriteLine($"Succeeded: {result}"); } - // Get a shared gallery image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetASharedGalleryImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/sharedGalleryExamples/SharedGalleryImage_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetASharedGalleryImage() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SharedGalleryImageResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SharedGalleryImageResource.cs index 793ea2066dd4f..8bb853caf0bc3 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SharedGalleryImageResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SharedGalleryImageResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_SharedGalleryImageResource { - // Get a shared gallery image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASharedGalleryImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/sharedGalleryExamples/SharedGalleryImage_Get.json diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SharedGalleryImageVersionCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SharedGalleryImageVersionCollection.cs index cd4b613b0fd97..cfc49579f0dda 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SharedGalleryImageVersionCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SharedGalleryImageVersionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_SharedGalleryImageVersionCollection { - // List shared gallery image versions. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSharedGalleryImageVersions() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/sharedGalleryExamples/SharedGalleryImageVersions_List.json @@ -49,12 +49,11 @@ public async Task GetAll_ListSharedGalleryImageVersions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a shared gallery image version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASharedGalleryImageVersion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/sharedGalleryExamples/SharedGalleryImageVersion_Get.json @@ -88,9 +87,8 @@ public async Task Get_GetASharedGalleryImageVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a shared gallery image version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetASharedGalleryImageVersion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/sharedGalleryExamples/SharedGalleryImageVersion_Get.json @@ -120,9 +118,8 @@ public async Task Exists_GetASharedGalleryImageVersion() Console.WriteLine($"Succeeded: {result}"); } - // Get a shared gallery image version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetASharedGalleryImageVersion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/sharedGalleryExamples/SharedGalleryImageVersion_Get.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetASharedGalleryImageVersion() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SharedGalleryImageVersionResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SharedGalleryImageVersionResource.cs index f8059df96fd26..d14f41e380fa1 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SharedGalleryImageVersionResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SharedGalleryImageVersionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_SharedGalleryImageVersionResource { - // Get a shared gallery image version. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASharedGalleryImageVersion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/sharedGalleryExamples/SharedGalleryImageVersion_Get.json diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SharedGalleryResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SharedGalleryResource.cs index adbbcce72872d..2cef562035cf1 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SharedGalleryResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SharedGalleryResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_SharedGalleryResource { - // Get a shared gallery. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASharedGallery() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2023-07-03/examples/sharedGalleryExamples/SharedGallery_Get.json diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SnapshotCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SnapshotCollection.cs index f6f3e9560e085..9bcb5da618269 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SnapshotCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SnapshotCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_SnapshotCollection { - // Create a snapshot by importing an unmanaged blob from a different subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateASnapshotByImportingAnUnmanagedBlobFromADifferentSubscription() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromADifferentSubscription.json @@ -59,9 +59,8 @@ public async Task CreateOrUpdate_CreateASnapshotByImportingAnUnmanagedBlobFromAD Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a snapshot by importing an unmanaged blob from the same subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Create_ByImportingAnUnmanagedBlobFromTheSameSubscription.json @@ -101,9 +100,8 @@ public async Task CreateOrUpdate_CreateASnapshotByImportingAnUnmanagedBlobFromTh Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a snapshot from an elastic san volume snapshot. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateASnapshotFromAnElasticSanVolumeSnapshot() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Create_FromAnElasticSanVolumeSnapshot.json @@ -143,9 +141,8 @@ public async Task CreateOrUpdate_CreateASnapshotFromAnElasticSanVolumeSnapshot() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a snapshot from an existing snapshot in the same or a different subscription in a different region with quicker copy speed. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscriptionInADifferentRegionWithQuickerCopySpeed() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Create_EnhancedProvisionedBandwidthCopySpeed.json @@ -186,9 +183,8 @@ public async Task CreateOrUpdate_CreateASnapshotFromAnExistingSnapshotInTheSameO Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a snapshot from an existing snapshot in the same or a different subscription in a different region. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscriptionInADifferentRegion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Create_FromAnExistingSnapshotInDifferentRegion.json @@ -228,9 +224,8 @@ public async Task CreateOrUpdate_CreateASnapshotFromAnExistingSnapshotInTheSameO Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a snapshot from an existing snapshot in the same or a different subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateASnapshotFromAnExistingSnapshotInTheSameOrADifferentSubscription() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Create_FromAnExistingSnapshot.json @@ -270,9 +265,8 @@ public async Task CreateOrUpdate_CreateASnapshotFromAnExistingSnapshotInTheSameO Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get information about a snapshot. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetInformationAboutASnapshot() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Get.json @@ -304,9 +298,8 @@ public async Task Get_GetInformationAboutASnapshot() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get information about a snapshot. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetInformationAboutASnapshot() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Get.json @@ -334,9 +327,8 @@ public async Task Exists_GetInformationAboutASnapshot() Console.WriteLine($"Succeeded: {result}"); } - // Get information about a snapshot. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetInformationAboutASnapshot() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Get.json @@ -364,7 +356,7 @@ public async Task GetIfExists_GetInformationAboutASnapshot() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -376,9 +368,8 @@ public async Task GetIfExists_GetInformationAboutASnapshot() } } - // Get information about an incremental snapshot. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetInformationAboutAnIncrementalSnapshot() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_GetIncrementalSnapshot.json @@ -410,9 +401,8 @@ public async Task Get_GetInformationAboutAnIncrementalSnapshot() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get information about an incremental snapshot. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetInformationAboutAnIncrementalSnapshot() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_GetIncrementalSnapshot.json @@ -440,9 +430,8 @@ public async Task Exists_GetInformationAboutAnIncrementalSnapshot() Console.WriteLine($"Succeeded: {result}"); } - // Get information about an incremental snapshot. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetInformationAboutAnIncrementalSnapshot() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_GetIncrementalSnapshot.json @@ -470,7 +459,7 @@ public async Task GetIfExists_GetInformationAboutAnIncrementalSnapshot() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -482,9 +471,8 @@ public async Task GetIfExists_GetInformationAboutAnIncrementalSnapshot() } } - // List all snapshots in a resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllSnapshotsInAResourceGroup() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_ListByResourceGroup.json @@ -515,7 +503,7 @@ public async Task GetAll_ListAllSnapshotsInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SnapshotResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SnapshotResource.cs index a1f5cf3c675c7..52096c5bc758e 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SnapshotResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SnapshotResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_SnapshotResource { - // Update a snapshot with accelerated networking. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateASnapshotWithAcceleratedNetworking() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Update_WithAcceleratedNetwork.json @@ -61,9 +61,8 @@ public async Task Update_UpdateASnapshotWithAcceleratedNetworking() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a snapshot. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateASnapshot() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Update.json @@ -102,9 +101,8 @@ public async Task Update_UpdateASnapshot() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get information about a snapshot. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetInformationAboutASnapshot() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Get.json @@ -133,9 +131,8 @@ public async Task Get_GetInformationAboutASnapshot() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get information about an incremental snapshot. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetInformationAboutAnIncrementalSnapshot() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_GetIncrementalSnapshot.json @@ -164,9 +161,8 @@ public async Task Get_GetInformationAboutAnIncrementalSnapshot() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a snapshot. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteASnapshot() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_Delete.json @@ -188,12 +184,11 @@ public async Task Delete_DeleteASnapshot() // invoke the operation await snapshot.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List all snapshots in a subscription. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSnapshots_ListAllSnapshotsInASubscription() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_ListBySubscription.json @@ -220,12 +215,11 @@ public async Task GetSnapshots_ListAllSnapshotsInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a sas on a snapshot. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GrantAccess_GetASasOnASnapshot() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_BeginGetAccess.json @@ -255,9 +249,8 @@ public async Task GrantAccess_GetASasOnASnapshot() Console.WriteLine($"Succeeded: {result}"); } - // Revoke access to a snapshot. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RevokeAccess_RevokeAccessToASnapshot() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/snapshotExamples/Snapshot_EndGetAccess.json @@ -279,7 +272,7 @@ public async Task RevokeAccess_RevokeAccessToASnapshot() // invoke the operation await snapshot.RevokeAccessAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SshPublicKeyCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SshPublicKeyCollection.cs index 656fb087eb445..2ad475d99f5e2 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SshPublicKeyCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SshPublicKeyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_SshPublicKeyCollection { - // SshPublicKey_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SshPublicKeyListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_ListByResourceGroup_MaximumSet_Gen.json @@ -48,12 +48,11 @@ public async Task GetAll_SshPublicKeyListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SshPublicKey_ListByResourceGroup_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SshPublicKeyListByResourceGroupMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_ListByResourceGroup_MinimumSet_Gen.json @@ -84,12 +83,11 @@ public async Task GetAll_SshPublicKeyListByResourceGroupMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create a new SSH public key resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateANewSSHPublicKeyResource() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_Create.json @@ -126,9 +124,8 @@ public async Task CreateOrUpdate_CreateANewSSHPublicKeyResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an ssh public key. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnSshPublicKey() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_Get.json @@ -160,9 +157,8 @@ public async Task Get_GetAnSshPublicKey() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an ssh public key. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnSshPublicKey() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_Get.json @@ -190,9 +186,8 @@ public async Task Exists_GetAnSshPublicKey() Console.WriteLine($"Succeeded: {result}"); } - // Get an ssh public key. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnSshPublicKey() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_Get.json @@ -220,7 +215,7 @@ public async Task GetIfExists_GetAnSshPublicKey() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SshPublicKeyResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SshPublicKeyResource.cs index bf39ea29ce94d..e33d5bf4204a8 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SshPublicKeyResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SshPublicKeyResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_SshPublicKeyResource { - // SshPublicKey_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSshPublicKeys_SshPublicKeyListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_ListBySubscription_MaximumSet_Gen.json @@ -45,12 +45,11 @@ public async Task GetSshPublicKeys_SshPublicKeyListBySubscriptionMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SshPublicKey_ListBySubscription_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSshPublicKeys_SshPublicKeyListBySubscriptionMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_ListBySubscription_MinimumSet_Gen.json @@ -77,12 +76,11 @@ public async Task GetSshPublicKeys_SshPublicKeyListBySubscriptionMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SshPublicKey_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SshPublicKeyUpdateMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_Update_MaximumSet_Gen.json @@ -119,9 +117,8 @@ public async Task Update_SshPublicKeyUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SshPublicKey_Update_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SshPublicKeyUpdateMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_Update_MinimumSet_Gen.json @@ -151,9 +148,8 @@ public async Task Update_SshPublicKeyUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SshPublicKey_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SshPublicKeyDeleteMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_Delete_MaximumSet_Gen.json @@ -175,12 +171,11 @@ public async Task Delete_SshPublicKeyDeleteMaximumSetGen() // invoke the operation await sshPublicKey.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SshPublicKey_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SshPublicKeyDeleteMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_Delete_MinimumSet_Gen.json @@ -202,12 +197,11 @@ public async Task Delete_SshPublicKeyDeleteMinimumSetGen() // invoke the operation await sshPublicKey.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an ssh public key. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnSshPublicKey() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_Get.json @@ -236,9 +230,8 @@ public async Task Get_GetAnSshPublicKey() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Generate an SSH key pair with Ed25519 encryption. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateKeyPair_GenerateAnSSHKeyPairWithEd25519Encryption() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_GenerateKeyPair_EncryptionWithEd25519.json @@ -267,9 +260,8 @@ public async Task GenerateKeyPair_GenerateAnSSHKeyPairWithEd25519Encryption() Console.WriteLine($"Succeeded: {result}"); } - // Generate an SSH key pair with RSA encryption. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateKeyPair_GenerateAnSSHKeyPairWithRSAEncryption() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_GenerateKeyPair_EncryptionWithRSA.json @@ -298,9 +290,8 @@ public async Task GenerateKeyPair_GenerateAnSSHKeyPairWithRSAEncryption() Console.WriteLine($"Succeeded: {result}"); } - // Generate an SSH key pair. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateKeyPair_GenerateAnSSHKeyPair() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/sshPublicKeyExamples/SshPublicKey_GenerateKeyPair.json diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index a1d33d2dd501e..2962c3a54d731 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Usage_List_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsages_UsageListMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/computeRPCommonExamples/Usage_List_MaximumSet_Gen.json @@ -42,12 +42,11 @@ public async Task GetUsages_UsageListMaximumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Usage_List_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsages_UsageListMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/computeRPCommonExamples/Usage_List_MinimumSet_Gen.json @@ -71,12 +70,11 @@ public async Task GetUsages_UsageListMinimumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineSizes_List_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineSizes_VirtualMachineSizesListMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/computeRPCommonExamples/VirtualMachineSizes_List_MaximumSet_Gen.json @@ -100,12 +98,11 @@ public async Task GetVirtualMachineSizes_VirtualMachineSizesListMaximumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineSizes_List_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineSizes_VirtualMachineSizesListMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/computeRPCommonExamples/VirtualMachineSizes_List_MinimumSet_Gen.json @@ -129,12 +126,11 @@ public async Task GetVirtualMachineSizes_VirtualMachineSizesListMinimumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineImage_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineImage_VirtualMachineImageGetMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_Get_MaximumSet_Gen.json @@ -162,9 +158,8 @@ public async Task GetVirtualMachineImage_VirtualMachineImageGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachineImage_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineImage_VirtualMachineImageGetMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_Get_MinimumSet_Gen.json @@ -192,9 +187,8 @@ public async Task GetVirtualMachineImage_VirtualMachineImageGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachineImage_List_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineImages_VirtualMachineImageListMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_List_MaximumSet_Gen.json @@ -218,12 +212,11 @@ public async Task GetVirtualMachineImages_VirtualMachineImageListMaximumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineImage_List_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineImages_VirtualMachineImageListMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_List_MinimumSet_Gen.json @@ -247,12 +240,11 @@ public async Task GetVirtualMachineImages_VirtualMachineImageListMinimumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineImage_ListOffers_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineImageOffers_VirtualMachineImageListOffersMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_ListOffers_MaximumSet_Gen.json @@ -277,12 +269,11 @@ public async Task GetVirtualMachineImageOffers_VirtualMachineImageListOffersMaxi Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineImage_ListOffers_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineImageOffers_VirtualMachineImageListOffersMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_ListOffers_MinimumSet_Gen.json @@ -307,12 +298,11 @@ public async Task GetVirtualMachineImageOffers_VirtualMachineImageListOffersMini Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineImage_ListPublishers_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineImagePublishers_VirtualMachineImageListPublishersMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_ListPublishers_MaximumSet_Gen.json @@ -336,12 +326,11 @@ public async Task GetVirtualMachineImagePublishers_VirtualMachineImageListPublis Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineImage_ListPublishers_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineImagePublishers_VirtualMachineImageListPublishersMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_ListPublishers_MinimumSet_Gen.json @@ -365,12 +354,11 @@ public async Task GetVirtualMachineImagePublishers_VirtualMachineImageListPublis Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineImage_ListSkus_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineImageSkus_VirtualMachineImageListSkusMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_ListSkus_MaximumSet_Gen.json @@ -396,12 +384,11 @@ public async Task GetVirtualMachineImageSkus_VirtualMachineImageListSkusMaximumS Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineImage_ListSkus_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineImageSkus_VirtualMachineImageListSkusMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImage_ListSkus_MinimumSet_Gen.json @@ -427,12 +414,11 @@ public async Task GetVirtualMachineImageSkus_VirtualMachineImageListSkusMinimumS Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineImagesEdgeZone_ListByEdgeZone_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineImagesByEdgeZone_VirtualMachineImagesEdgeZoneListByEdgeZoneMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MaximumSet_Gen.json @@ -457,12 +443,11 @@ public async Task GetVirtualMachineImagesByEdgeZone_VirtualMachineImagesEdgeZone Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineImagesEdgeZone_ListByEdgeZone_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineImagesByEdgeZone_VirtualMachineImagesEdgeZoneListByEdgeZoneMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListByEdgeZone_MinimumSet_Gen.json @@ -487,12 +472,11 @@ public async Task GetVirtualMachineImagesByEdgeZone_VirtualMachineImagesEdgeZone Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineImagesEdgeZone_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineImagesEdgeZone_VirtualMachineImagesEdgeZoneGetMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MaximumSet_Gen.json @@ -516,9 +500,8 @@ public async Task GetVirtualMachineImagesEdgeZone_VirtualMachineImagesEdgeZoneGe Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachineImagesEdgeZone_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineImagesEdgeZone_VirtualMachineImagesEdgeZoneGetMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_Get_MinimumSet_Gen.json @@ -542,9 +525,8 @@ public async Task GetVirtualMachineImagesEdgeZone_VirtualMachineImagesEdgeZoneGe Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachineImagesEdgeZone_List_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineImagesEdgeZones_VirtualMachineImagesEdgeZoneListMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MaximumSet_Gen.json @@ -568,12 +550,11 @@ public async Task GetVirtualMachineImagesEdgeZones_VirtualMachineImagesEdgeZoneL Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineImagesEdgeZone_List_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineImagesEdgeZones_VirtualMachineImagesEdgeZoneListMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_List_MinimumSet_Gen.json @@ -597,12 +578,11 @@ public async Task GetVirtualMachineImagesEdgeZones_VirtualMachineImagesEdgeZoneL Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineImagesEdgeZone_ListOffers_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOffersVirtualMachineImagesEdgeZones_VirtualMachineImagesEdgeZoneListOffersMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MaximumSet_Gen.json @@ -628,12 +608,11 @@ public async Task GetOffersVirtualMachineImagesEdgeZones_VirtualMachineImagesEdg Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineImagesEdgeZone_ListOffers_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOffersVirtualMachineImagesEdgeZones_VirtualMachineImagesEdgeZoneListOffersMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListOffers_MinimumSet_Gen.json @@ -659,12 +638,11 @@ public async Task GetOffersVirtualMachineImagesEdgeZones_VirtualMachineImagesEdg Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineImagesEdgeZone_ListPublishers_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPublishersVirtualMachineImagesEdgeZones_VirtualMachineImagesEdgeZoneListPublishersMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MaximumSet_Gen.json @@ -689,12 +667,11 @@ public async Task GetPublishersVirtualMachineImagesEdgeZones_VirtualMachineImage Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineImagesEdgeZone_ListPublishers_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPublishersVirtualMachineImagesEdgeZones_VirtualMachineImagesEdgeZoneListPublishersMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListPublishers_MinimumSet_Gen.json @@ -719,12 +696,11 @@ public async Task GetPublishersVirtualMachineImagesEdgeZones_VirtualMachineImage Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineImagesEdgeZone_ListSkus_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineImageEdgeZoneSkus_VirtualMachineImagesEdgeZoneListSkusMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MaximumSet_Gen.json @@ -751,12 +727,11 @@ public async Task GetVirtualMachineImageEdgeZoneSkus_VirtualMachineImagesEdgeZon Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineImagesEdgeZone_ListSkus_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineImageEdgeZoneSkus_VirtualMachineImagesEdgeZoneListSkusMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineImageExamples/VirtualMachineImagesEdgeZone_ListSkus_MinimumSet_Gen.json @@ -783,12 +758,11 @@ public async Task GetVirtualMachineImageEdgeZoneSkus_VirtualMachineImagesEdgeZon Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Export logs which contain all Api requests made to Compute Resource Provider within the given time period broken down by intervals. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExportLogAnalyticsRequestRateByInterval_ExportLogsWhichContainAllApiRequestsMadeToComputeResourceProviderWithinTheGivenTimePeriodBrokenDownByIntervals() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/logAnalyticExamples/LogAnalytics_RequestRateByInterval.json @@ -817,9 +791,8 @@ public async Task ExportLogAnalyticsRequestRateByInterval_ExportLogsWhichContain Console.WriteLine($"Succeeded: {result}"); } - // Export logs which contain all throttled Api requests made to Compute Resource Provider within the given time period. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExportLogAnalyticsThrottledRequests_ExportLogsWhichContainAllThrottledApiRequestsMadeToComputeResourceProviderWithinTheGivenTimePeriod() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/logAnalyticExamples/LogAnalytics_ThrottledRequests.json @@ -851,9 +824,8 @@ public async Task ExportLogAnalyticsThrottledRequests_ExportLogsWhichContainAllT Console.WriteLine($"Succeeded: {result}"); } - // Lists all available Resource SKUs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetComputeResourceSkus_ListsAllAvailableResourceSKUs() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples/skus/ListAvailableResourceSkus.json @@ -876,12 +848,11 @@ public async Task GetComputeResourceSkus_ListsAllAvailableResourceSKUs() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Lists all available Resource SKUs for the specified region - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetComputeResourceSkus_ListsAllAvailableResourceSKUsForTheSpecifiedRegion() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples/skus/ListAvailableResourceSkusForARegion.json @@ -905,12 +876,11 @@ public async Task GetComputeResourceSkus_ListsAllAvailableResourceSKUsForTheSpec Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Lists all available Resource SKUs with Extended Location information - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetComputeResourceSkus_ListsAllAvailableResourceSKUsWithExtendedLocationInformation() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/Skus/stable/2021-07-01/examples/skus/ListAvailableResourceSkusWithExtendedLocations.json @@ -934,7 +904,7 @@ public async Task GetComputeResourceSkus_ListsAllAvailableResourceSKUsWithExtend Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineCollection.cs index 352de45c29301..d1a85862f02b3 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_VirtualMachineCollection { - // Create a Linux vm with a patch setting assessmentMode of ImageDefault. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateALinuxVmWithAPatchSettingAssessmentModeOfImageDefault() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingAssessmentModeOfImageDefault.json @@ -103,9 +103,8 @@ public async Task CreateOrUpdate_CreateALinuxVmWithAPatchSettingAssessmentModeOf Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a Linux vm with a patch setting patchMode of AutomaticByPlatform and AutomaticByPlatformSettings. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateALinuxVmWithAPatchSettingPatchModeOfAutomaticByPlatformAndAutomaticByPlatformSettings() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithAutomaticByPlatformSettings.json @@ -195,9 +194,8 @@ public async Task CreateOrUpdate_CreateALinuxVmWithAPatchSettingPatchModeOfAutom Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a Linux vm with a patch setting patchMode of ImageDefault. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateALinuxVmWithAPatchSettingPatchModeOfImageDefault() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModeOfImageDefault.json @@ -281,9 +279,8 @@ public async Task CreateOrUpdate_CreateALinuxVmWithAPatchSettingPatchModeOfImage Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a Linux vm with a patch settings patchMode and assessmentMode set to AutomaticByPlatform. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateALinuxVmWithAPatchSettingsPatchModeAndAssessmentModeSetToAutomaticByPlatform() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModesOfAutomaticByPlatform.json @@ -368,9 +365,8 @@ public async Task CreateOrUpdate_CreateALinuxVmWithAPatchSettingsPatchModeAndAss Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a VM from a community gallery image - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVMFromACommunityGalleryImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_FromACommunityGalleryImage.json @@ -443,9 +439,8 @@ public async Task CreateOrUpdate_CreateAVMFromACommunityGalleryImage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a VM from a shared gallery image - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVMFromASharedGalleryImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_FromASharedGalleryImage.json @@ -518,9 +513,8 @@ public async Task CreateOrUpdate_CreateAVMFromASharedGalleryImage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a VM with Disk Controller Type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVMWithDiskControllerType() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithDiskControllerType.json @@ -612,9 +606,8 @@ public async Task CreateOrUpdate_CreateAVMWithDiskControllerType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a VM with HibernationEnabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVMWithHibernationEnabled() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithHibernationEnabled.json @@ -699,9 +692,8 @@ public async Task CreateOrUpdate_CreateAVMWithHibernationEnabled() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a VM with ProxyAgent Settings of enabled and mode. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVMWithProxyAgentSettingsOfEnabledAndMode() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithProxyAgentSettings.json @@ -785,9 +777,8 @@ public async Task CreateOrUpdate_CreateAVMWithProxyAgentSettingsOfEnabledAndMode Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a VM with Uefi Settings of secureBoot and vTPM. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVMWithUefiSettingsOfSecureBootAndVTPM() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithUefiSettings.json @@ -872,9 +863,8 @@ public async Task CreateOrUpdate_CreateAVMWithUefiSettingsOfSecureBootAndVTPM() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a VM with UserData - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVMWithUserData() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithUserData.json @@ -956,9 +946,8 @@ public async Task CreateOrUpdate_CreateAVMWithUserData() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a VM with VM Size Properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVMWithVMSizeProperties() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithVMSizeProperties.json @@ -1045,9 +1034,8 @@ public async Task CreateOrUpdate_CreateAVMWithVMSizeProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a VM with encryption identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVMWithEncryptionIdentity() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithEncryptionIdentity.json @@ -1134,9 +1122,8 @@ public async Task CreateOrUpdate_CreateAVMWithEncryptionIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a VM with network interface configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVMWithNetworkInterfaceConfiguration() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfiguration.json @@ -1230,9 +1217,8 @@ public async Task CreateOrUpdate_CreateAVMWithNetworkInterfaceConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a VM with network interface configuration with public ip address dns settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVMWithNetworkInterfaceConfigurationWithPublicIpAddressDnsSettings() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfigurationDnsSettings.json @@ -1330,9 +1316,8 @@ public async Task CreateOrUpdate_CreateAVMWithNetworkInterfaceConfigurationWithP Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a VM with securityType ConfidentialVM with Customer Managed Keys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVMWithSecurityTypeConfidentialVMWithCustomerManagedKeys() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVMWithCustomerManagedKeys.json @@ -1422,9 +1407,8 @@ public async Task CreateOrUpdate_CreateAVMWithSecurityTypeConfidentialVMWithCust Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a VM with securityType ConfidentialVM with NonPersistedTPM securityEncryptionType - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVMWithSecurityTypeConfidentialVMWithNonPersistedTPMSecurityEncryptionType() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVMWithNonPersistedTPM.json @@ -1513,9 +1497,8 @@ public async Task CreateOrUpdate_CreateAVMWithSecurityTypeConfidentialVMWithNonP Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a VM with securityType ConfidentialVM with Platform Managed Keys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVMWithSecurityTypeConfidentialVMWithPlatformManagedKeys() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVM.json @@ -1604,9 +1587,8 @@ public async Task CreateOrUpdate_CreateAVMWithSecurityTypeConfidentialVMWithPlat Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a Windows vm with a patch setting assessmentMode of ImageDefault. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAWindowsVmWithAPatchSettingAssessmentModeOfImageDefault() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingAssessmentModeOfImageDefault.json @@ -1691,9 +1673,8 @@ public async Task CreateOrUpdate_CreateAWindowsVmWithAPatchSettingAssessmentMode Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a Windows vm with a patch setting patchMode of AutomaticByOS. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAWindowsVmWithAPatchSettingPatchModeOfAutomaticByOS() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByOS.json @@ -1778,9 +1759,8 @@ public async Task CreateOrUpdate_CreateAWindowsVmWithAPatchSettingPatchModeOfAut Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a Windows vm with a patch setting patchMode of AutomaticByPlatform and AutomaticByPlatformSettings. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAWindowsVmWithAPatchSettingPatchModeOfAutomaticByPlatformAndAutomaticByPlatformSettings() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithAutomaticByPlatformSettings.json @@ -1871,9 +1851,8 @@ public async Task CreateOrUpdate_CreateAWindowsVmWithAPatchSettingPatchModeOfAut Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a Windows vm with a patch setting patchMode of AutomaticByPlatform and enableHotpatching set to true. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAWindowsVmWithAPatchSettingPatchModeOfAutomaticByPlatformAndEnableHotpatchingSetToTrue() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByPlatformAndEnableHotPatchingTrue.json @@ -1959,9 +1938,8 @@ public async Task CreateOrUpdate_CreateAWindowsVmWithAPatchSettingPatchModeOfAut Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a Windows vm with a patch setting patchMode of Manual. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAWindowsVmWithAPatchSettingPatchModeOfManual() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfManual.json @@ -2046,9 +2024,8 @@ public async Task CreateOrUpdate_CreateAWindowsVmWithAPatchSettingPatchModeOfMan Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a Windows vm with patch settings patchMode and assessmentMode set to AutomaticByPlatform. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAWindowsVmWithPatchSettingsPatchModeAndAssessmentModeSetToAutomaticByPlatform() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModesOfAutomaticByPlatform.json @@ -2134,9 +2111,8 @@ public async Task CreateOrUpdate_CreateAWindowsVmWithPatchSettingsPatchModeAndAs Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a custom-image vm from an unmanaged generalized os image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_CustomImageVmFromAnUnmanagedGeneralizedOsImage.json @@ -2204,9 +2180,8 @@ public async Task CreateOrUpdate_CreateACustomImageVmFromAnUnmanagedGeneralizedO Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a platform-image vm with unmanaged os and data disks. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAPlatformImageVmWithUnmanagedOsAndDataDisks() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_PlatformImageVmWithUnmanagedOsAndDataDisks.json @@ -2291,9 +2266,8 @@ public async Task CreateOrUpdate_CreateAPlatformImageVmWithUnmanagedOsAndDataDis Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a vm from a custom image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVmFromACustomImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_FromACustomImage.json @@ -2366,9 +2340,8 @@ public async Task CreateOrUpdate_CreateAVmFromACustomImage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a vm from a generalized shared image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVmFromAGeneralizedSharedImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_FromAGeneralizedSharedImage.json @@ -2441,9 +2414,8 @@ public async Task CreateOrUpdate_CreateAVmFromAGeneralizedSharedImage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a vm from a specialized shared image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVmFromASpecializedSharedImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_FromASpecializedSharedImage.json @@ -2510,9 +2482,8 @@ public async Task CreateOrUpdate_CreateAVmFromASpecializedSharedImage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a vm in a Virtual Machine Scale Set with customer assigned platformFaultDomain. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVmInAVirtualMachineScaleSetWithCustomerAssignedPlatformFaultDomain() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_InAVmssWithCustomerAssignedPlatformFaultDomain.json @@ -2590,9 +2561,8 @@ public async Task CreateOrUpdate_CreateAVmInAVirtualMachineScaleSetWithCustomerA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a vm in an availability set. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVmInAnAvailabilitySet() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_InAnAvailabilitySet.json @@ -2669,9 +2639,8 @@ public async Task CreateOrUpdate_CreateAVmInAnAvailabilitySet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a vm with Application Profile. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVmWithApplicationProfile() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithApplicationProfile.json @@ -2758,9 +2727,8 @@ public async Task CreateOrUpdate_CreateAVmWithApplicationProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a vm with DiskEncryptionSet resource id in the os disk and data disk. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVmWithDiskEncryptionSetResourceIdInTheOsDiskAndDataDisk() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithDiskEncryptionSetResource.json @@ -2857,9 +2825,8 @@ public async Task CreateOrUpdate_CreateAVmWithDiskEncryptionSetResourceIdInTheOs Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a vm with Host Encryption using encryptionAtHost property. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVmWithHostEncryptionUsingEncryptionAtHostProperty() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithEncryptionAtHost.json @@ -2945,9 +2912,8 @@ public async Task CreateOrUpdate_CreateAVmWithHostEncryptionUsingEncryptionAtHos Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a vm with Scheduled Events Profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVmWithScheduledEventsProfile() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithScheduledEventsProfile.json @@ -3050,9 +3016,8 @@ public async Task CreateOrUpdate_CreateAVmWithScheduledEventsProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a vm with a marketplace image plan. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVmWithAMarketplaceImagePlan() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithAMarketplaceImagePlan.json @@ -3134,9 +3099,8 @@ public async Task CreateOrUpdate_CreateAVmWithAMarketplaceImagePlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a vm with an extensions time budget. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVmWithAnExtensionsTimeBudget() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithExtensionsTimeBudget.json @@ -3218,9 +3182,8 @@ public async Task CreateOrUpdate_CreateAVmWithAnExtensionsTimeBudget() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a vm with boot diagnostics. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVmWithBootDiagnostics() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithBootDiagnostics.json @@ -3301,9 +3264,8 @@ public async Task CreateOrUpdate_CreateAVmWithBootDiagnostics() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a vm with data disks using 'Copy' and 'Restore' options. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVmWithDataDisksUsingCopyAndRestoreOptions() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithDataDisksFromSourceResource.json @@ -3395,9 +3357,8 @@ public async Task CreateOrUpdate_CreateAVmWithDataDisksUsingCopyAndRestoreOption Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a vm with empty data disks. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVmWithEmptyDataDisks() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithEmptyDataDisks.json @@ -3483,9 +3444,8 @@ public async Task CreateOrUpdate_CreateAVmWithEmptyDataDisks() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a vm with ephemeral os disk provisioning in Cache disk using placement property. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVmWithEphemeralOsDiskProvisioningInCacheDiskUsingPlacementProperty() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsCacheDisk.json @@ -3572,9 +3532,8 @@ public async Task CreateOrUpdate_CreateAVmWithEphemeralOsDiskProvisioningInCache Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a vm with ephemeral os disk provisioning in Nvme disk using placement property. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVmWithEphemeralOsDiskProvisioningInNvmeDiskUsingPlacementProperty() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsNvmeDisk.json @@ -3661,9 +3620,8 @@ public async Task CreateOrUpdate_CreateAVmWithEphemeralOsDiskProvisioningInNvmeD Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a vm with ephemeral os disk provisioning in Resource disk using placement property. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVmWithEphemeralOsDiskProvisioningInResourceDiskUsingPlacementProperty() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsResourceDisk.json @@ -3750,9 +3708,8 @@ public async Task CreateOrUpdate_CreateAVmWithEphemeralOsDiskProvisioningInResou Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a vm with ephemeral os disk. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVmWithEphemeralOsDisk() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDisk.json @@ -3838,9 +3795,8 @@ public async Task CreateOrUpdate_CreateAVmWithEphemeralOsDisk() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a vm with managed boot diagnostics. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVmWithManagedBootDiagnostics() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithManagedBootDiagnostics.json @@ -3920,9 +3876,8 @@ public async Task CreateOrUpdate_CreateAVmWithManagedBootDiagnostics() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a vm with password authentication. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVmWithPasswordAuthentication() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithPasswordAuthentication.json @@ -3998,9 +3953,8 @@ public async Task CreateOrUpdate_CreateAVmWithPasswordAuthentication() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a vm with premium storage. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVmWithPremiumStorage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithPremiumStorage.json @@ -4076,9 +4030,8 @@ public async Task CreateOrUpdate_CreateAVmWithPremiumStorage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a vm with ssh authentication. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVmWithSshAuthentication() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithSshAuthentication.json @@ -4165,9 +4118,8 @@ public async Task CreateOrUpdate_CreateAVmWithSshAuthentication() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a VM with capacity reservation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAVMWithCapacityReservation() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Create_WithCapacityReservation.json @@ -4250,9 +4202,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAVMWithCapacityReservation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Virtual Machine. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAVirtualMachine() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get.json @@ -4285,9 +4236,8 @@ public async Task Get_GetAVirtualMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Virtual Machine. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAVirtualMachine() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get.json @@ -4316,9 +4266,8 @@ public async Task Exists_GetAVirtualMachine() Console.WriteLine($"Succeeded: {result}"); } - // Get a Virtual Machine. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAVirtualMachine() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get.json @@ -4347,7 +4296,7 @@ public async Task GetIfExists_GetAVirtualMachine() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -4359,9 +4308,8 @@ public async Task GetIfExists_GetAVirtualMachine() } } - // Get a virtual machine placed on a dedicated host group through automatic placement - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAVirtualMachinePlacedOnADedicatedHostGroupThroughAutomaticPlacement() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_AutoPlacedOnDedicatedHostGroup.json @@ -4393,9 +4341,8 @@ public async Task Get_GetAVirtualMachinePlacedOnADedicatedHostGroupThroughAutoma Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a virtual machine placed on a dedicated host group through automatic placement - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAVirtualMachinePlacedOnADedicatedHostGroupThroughAutomaticPlacement() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_AutoPlacedOnDedicatedHostGroup.json @@ -4423,9 +4370,8 @@ public async Task Exists_GetAVirtualMachinePlacedOnADedicatedHostGroupThroughAut Console.WriteLine($"Succeeded: {result}"); } - // Get a virtual machine placed on a dedicated host group through automatic placement - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAVirtualMachinePlacedOnADedicatedHostGroupThroughAutomaticPlacement() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_AutoPlacedOnDedicatedHostGroup.json @@ -4453,7 +4399,7 @@ public async Task GetIfExists_GetAVirtualMachinePlacedOnADedicatedHostGroupThrou if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -4465,9 +4411,8 @@ public async Task GetIfExists_GetAVirtualMachinePlacedOnADedicatedHostGroupThrou } } - // Get a virtual machine with Disk Controller Type Properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAVirtualMachineWithDiskControllerTypeProperties() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_WithDiskControllerType.json @@ -4500,9 +4445,8 @@ public async Task Get_GetAVirtualMachineWithDiskControllerTypeProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a virtual machine with Disk Controller Type Properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAVirtualMachineWithDiskControllerTypeProperties() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_WithDiskControllerType.json @@ -4531,9 +4475,8 @@ public async Task Exists_GetAVirtualMachineWithDiskControllerTypeProperties() Console.WriteLine($"Succeeded: {result}"); } - // Get a virtual machine with Disk Controller Type Properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAVirtualMachineWithDiskControllerTypeProperties() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_WithDiskControllerType.json @@ -4562,7 +4505,7 @@ public async Task GetIfExists_GetAVirtualMachineWithDiskControllerTypeProperties if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -4574,9 +4517,8 @@ public async Task GetIfExists_GetAVirtualMachineWithDiskControllerTypeProperties } } - // Get a virtual machine with VM Size Properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAVirtualMachineWithVMSizeProperties() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_WithVMSizeProperties.json @@ -4608,9 +4550,8 @@ public async Task Get_GetAVirtualMachineWithVMSizeProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a virtual machine with VM Size Properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAVirtualMachineWithVMSizeProperties() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_WithVMSizeProperties.json @@ -4638,9 +4579,8 @@ public async Task Exists_GetAVirtualMachineWithVMSizeProperties() Console.WriteLine($"Succeeded: {result}"); } - // Get a virtual machine with VM Size Properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAVirtualMachineWithVMSizeProperties() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_WithVMSizeProperties.json @@ -4668,7 +4608,7 @@ public async Task GetIfExists_GetAVirtualMachineWithVMSizeProperties() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -4680,9 +4620,8 @@ public async Task GetIfExists_GetAVirtualMachineWithVMSizeProperties() } } - // VirtualMachine_List_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VirtualMachineListMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_List_MaximumSet_Gen.json @@ -4714,12 +4653,11 @@ public async Task GetAll_VirtualMachineListMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachine_List_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VirtualMachineListMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_List_MinimumSet_Gen.json @@ -4750,7 +4688,7 @@ public async Task GetAll_VirtualMachineListMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionCollection.cs index 64266ea996ee4..097cf1c5216e3 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Compute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_VirtualMachineExtensionCollection { - // VirtualMachineExtension_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VirtualMachineExtensionCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_CreateOrUpdate_MaximumSet_Gen.json @@ -100,9 +100,8 @@ public async Task CreateOrUpdate_VirtualMachineExtensionCreateOrUpdateMaximumSet Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachineExtension_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VirtualMachineExtensionCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_CreateOrUpdate_MinimumSet_Gen.json @@ -137,9 +136,8 @@ public async Task CreateOrUpdate_VirtualMachineExtensionCreateOrUpdateMinimumSet Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachineExtension_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualMachineExtensionGetMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_Get_MaximumSet_Gen.json @@ -173,9 +171,8 @@ public async Task Get_VirtualMachineExtensionGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachineExtension_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VirtualMachineExtensionGetMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_Get_MaximumSet_Gen.json @@ -205,9 +202,8 @@ public async Task Exists_VirtualMachineExtensionGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachineExtension_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VirtualMachineExtensionGetMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_Get_MaximumSet_Gen.json @@ -237,7 +233,7 @@ public async Task GetIfExists_VirtualMachineExtensionGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -249,9 +245,8 @@ public async Task GetIfExists_VirtualMachineExtensionGetMaximumSetGen() } } - // VirtualMachineExtension_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualMachineExtensionGetMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_Get_MinimumSet_Gen.json @@ -284,9 +279,8 @@ public async Task Get_VirtualMachineExtensionGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachineExtension_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VirtualMachineExtensionGetMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_Get_MinimumSet_Gen.json @@ -315,9 +309,8 @@ public async Task Exists_VirtualMachineExtensionGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachineExtension_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VirtualMachineExtensionGetMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_Get_MinimumSet_Gen.json @@ -346,7 +339,7 @@ public async Task GetIfExists_VirtualMachineExtensionGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -358,9 +351,8 @@ public async Task GetIfExists_VirtualMachineExtensionGetMinimumSetGen() } } - // VirtualMachineExtension_List_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VirtualMachineExtensionListMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_List_MaximumSet_Gen.json @@ -393,12 +385,11 @@ public async Task GetAll_VirtualMachineExtensionListMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineExtension_List_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VirtualMachineExtensionListMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_List_MinimumSet_Gen.json @@ -430,7 +421,7 @@ public async Task GetAll_VirtualMachineExtensionListMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionImageCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionImageCollection.cs index 36c427bbf98ec..2b7ab3047ec94 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionImageCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionImageCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_VirtualMachineExtensionImageCollection { - // VirtualMachineExtensionImage_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualMachineExtensionImageGetMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MaximumSet_Gen.json @@ -51,9 +51,8 @@ public async Task Get_VirtualMachineExtensionImageGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachineExtensionImage_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VirtualMachineExtensionImageGetMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MaximumSet_Gen.json @@ -83,9 +82,8 @@ public async Task Exists_VirtualMachineExtensionImageGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachineExtensionImage_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VirtualMachineExtensionImageGetMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MaximumSet_Gen.json @@ -115,7 +113,7 @@ public async Task GetIfExists_VirtualMachineExtensionImageGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_VirtualMachineExtensionImageGetMaximumSetGen() } } - // VirtualMachineExtensionImage_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualMachineExtensionImageGetMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MinimumSet_Gen.json @@ -163,9 +160,8 @@ public async Task Get_VirtualMachineExtensionImageGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachineExtensionImage_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VirtualMachineExtensionImageGetMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MinimumSet_Gen.json @@ -195,9 +191,8 @@ public async Task Exists_VirtualMachineExtensionImageGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachineExtensionImage_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VirtualMachineExtensionImageGetMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MinimumSet_Gen.json @@ -227,7 +222,7 @@ public async Task GetIfExists_VirtualMachineExtensionImageGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -239,9 +234,8 @@ public async Task GetIfExists_VirtualMachineExtensionImageGetMinimumSetGen() } } - // VirtualMachineExtensionImage_ListTypes_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VirtualMachineExtensionImageListTypesMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_ListTypes_MaximumSet_Gen.json @@ -273,12 +267,11 @@ public async Task GetAll_VirtualMachineExtensionImageListTypesMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineExtensionImage_ListTypes_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VirtualMachineExtensionImageListTypesMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_ListTypes_MinimumSet_Gen.json @@ -310,12 +303,11 @@ public async Task GetAll_VirtualMachineExtensionImageListTypesMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineExtensionImage_ListVersions_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VirtualMachineExtensionImageListVersionsMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_ListVersions_MaximumSet_Gen.json @@ -351,12 +343,11 @@ public async Task GetAll_VirtualMachineExtensionImageListVersionsMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineExtensionImage_ListVersions_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VirtualMachineExtensionImageListVersionsMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_ListVersions_MinimumSet_Gen.json @@ -389,7 +380,7 @@ public async Task GetAll_VirtualMachineExtensionImageListVersionsMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionImageResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionImageResource.cs index d06b1e238510d..23df5ce9b1c80 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionImageResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionImageResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_VirtualMachineExtensionImageResource { - // VirtualMachineExtensionImage_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualMachineExtensionImageGetMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_VirtualMachineExtensionImageGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachineExtensionImage_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualMachineExtensionImageGetMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExtensionImageExamples/VirtualMachineExtensionImage_Get_MinimumSet_Gen.json diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionResource.cs index 0e6fb23ce46a4..8a41d182a032e 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineExtensionResource.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_VirtualMachineExtensionResource { - // Update VM extension. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateVMExtension() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_Update.json @@ -66,9 +66,8 @@ public async Task Update_UpdateVMExtension() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachineExtension_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VirtualMachineExtensionDeleteMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_Delete_MaximumSet_Gen.json @@ -91,12 +90,11 @@ public async Task Delete_VirtualMachineExtensionDeleteMaximumSetGen() // invoke the operation await virtualMachineExtension.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineExtension_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VirtualMachineExtensionDeleteMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_Delete_MinimumSet_Gen.json @@ -119,12 +117,11 @@ public async Task Delete_VirtualMachineExtensionDeleteMinimumSetGen() // invoke the operation await virtualMachineExtension.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineExtension_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualMachineExtensionGetMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_Get_MaximumSet_Gen.json @@ -155,9 +152,8 @@ public async Task Get_VirtualMachineExtensionGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachineExtension_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualMachineExtensionGetMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachineExtension_Get_MinimumSet_Gen.json diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineResource.cs index d0d219cd78b3b..acd87d608b524 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineResource.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_VirtualMachineResource { - // Lists all the virtual machines under the specified subscription for the specified location. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachinesByLocation_ListsAllTheVirtualMachinesUnderTheSpecifiedSubscriptionForTheSpecifiedLocation() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_ListBySubscription_ByLocation.json @@ -47,12 +47,11 @@ public async Task GetVirtualMachinesByLocation_ListsAllTheVirtualMachinesUnderTh Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachine_Capture_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Capture_VirtualMachineCaptureMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Capture_MaximumSet_Gen.json @@ -79,9 +78,8 @@ public async Task Capture_VirtualMachineCaptureMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachine_Capture_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Capture_VirtualMachineCaptureMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Capture_MinimumSet_Gen.json @@ -108,9 +106,8 @@ public async Task Capture_VirtualMachineCaptureMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Update a VM by detaching data disk - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAVMByDetachingDataDisk() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Update_DetachDataDiskUsingToBeDetachedProperty.json @@ -195,9 +192,8 @@ public async Task Update_UpdateAVMByDetachingDataDisk() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a VM by force-detaching data disk - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAVMByForceDetachingDataDisk() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Update_ForceDetachDataDisk.json @@ -283,9 +279,8 @@ public async Task Update_UpdateAVMByForceDetachingDataDisk() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Force delete a VM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ForceDeleteAVM() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Delete_Force.json @@ -308,12 +303,11 @@ public async Task Delete_ForceDeleteAVM() bool? forceDeletion = true; await virtualMachine.DeleteAsync(WaitUntil.Completed, forceDeletion: forceDeletion); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a Virtual Machine. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAVirtualMachine() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get.json @@ -343,9 +337,8 @@ public async Task Get_GetAVirtualMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a virtual machine placed on a dedicated host group through automatic placement - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAVirtualMachinePlacedOnADedicatedHostGroupThroughAutomaticPlacement() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_AutoPlacedOnDedicatedHostGroup.json @@ -374,9 +367,8 @@ public async Task Get_GetAVirtualMachinePlacedOnADedicatedHostGroupThroughAutoma Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a virtual machine with Disk Controller Type Properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAVirtualMachineWithDiskControllerTypeProperties() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_WithDiskControllerType.json @@ -406,9 +398,8 @@ public async Task Get_GetAVirtualMachineWithDiskControllerTypeProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a virtual machine with VM Size Properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAVirtualMachineWithVMSizeProperties() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_WithVMSizeProperties.json @@ -437,9 +428,8 @@ public async Task Get_GetAVirtualMachineWithVMSizeProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Virtual Machine Instance View. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task InstanceView_GetVirtualMachineInstanceView() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_InstanceView.json @@ -464,9 +454,8 @@ public async Task InstanceView_GetVirtualMachineInstanceView() Console.WriteLine($"Succeeded: {result}"); } - // Get instance view of a virtual machine placed on a dedicated host group through automatic placement. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task InstanceView_GetInstanceViewOfAVirtualMachinePlacedOnADedicatedHostGroupThroughAutomaticPlacement() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Get_InstanceViewAutoPlacedOnDedicatedHostGroup.json @@ -491,9 +480,8 @@ public async Task InstanceView_GetInstanceViewOfAVirtualMachinePlacedOnADedicate Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachine_ConvertToManagedDisks_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ConvertToManagedDisks_VirtualMachineConvertToManagedDisksMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_ConvertToManagedDisks_MaximumSet_Gen.json @@ -515,12 +503,11 @@ public async Task ConvertToManagedDisks_VirtualMachineConvertToManagedDisksMaxim // invoke the operation await virtualMachine.ConvertToManagedDisksAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachine_ConvertToManagedDisks_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ConvertToManagedDisks_VirtualMachineConvertToManagedDisksMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_ConvertToManagedDisks_MinimumSet_Gen.json @@ -542,12 +529,11 @@ public async Task ConvertToManagedDisks_VirtualMachineConvertToManagedDisksMinim // invoke the operation await virtualMachine.ConvertToManagedDisksAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachine_Deallocate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Deallocate_VirtualMachineDeallocateMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Deallocate_MaximumSet_Gen.json @@ -570,12 +556,11 @@ public async Task Deallocate_VirtualMachineDeallocateMaximumSetGen() bool? hibernate = true; await virtualMachine.DeallocateAsync(WaitUntil.Completed, hibernate: hibernate); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachine_Deallocate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Deallocate_VirtualMachineDeallocateMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Deallocate_MinimumSet_Gen.json @@ -597,12 +582,11 @@ public async Task Deallocate_VirtualMachineDeallocateMinimumSetGen() // invoke the operation await virtualMachine.DeallocateAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Generalize a Virtual Machine. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Generalize_GeneralizeAVirtualMachine() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Generalize.json @@ -624,12 +608,11 @@ public async Task Generalize_GeneralizeAVirtualMachine() // invoke the operation await virtualMachine.GeneralizeAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachine_ListAll_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachines_VirtualMachineListAllMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_ListAll_MaximumSet_Gen.json @@ -658,12 +641,11 @@ public async Task GetVirtualMachines_VirtualMachineListAllMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachine_ListAll_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachines_VirtualMachineListAllMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_ListAll_MinimumSet_Gen.json @@ -690,12 +672,11 @@ public async Task GetVirtualMachines_VirtualMachineListAllMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Lists all available virtual machine sizes to which the specified virtual machine can be resized - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableSizes_ListsAllAvailableVirtualMachineSizesToWhichTheSpecifiedVirtualMachineCanBeResized() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_ListAvailableVmSizes.json @@ -720,12 +701,11 @@ public async Task GetAvailableSizes_ListsAllAvailableVirtualMachineSizesToWhichT Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachine_PowerOff_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PowerOff_VirtualMachinePowerOffMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_PowerOff_MaximumSet_Gen.json @@ -748,12 +728,11 @@ public async Task PowerOff_VirtualMachinePowerOffMaximumSetGen() bool? skipShutdown = true; await virtualMachine.PowerOffAsync(WaitUntil.Completed, skipShutdown: skipShutdown); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachine_PowerOff_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PowerOff_VirtualMachinePowerOffMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_PowerOff_MinimumSet_Gen.json @@ -775,12 +754,11 @@ public async Task PowerOff_VirtualMachinePowerOffMinimumSetGen() // invoke the operation await virtualMachine.PowerOffAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Reapply the state of a virtual machine. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reapply_ReapplyTheStateOfAVirtualMachine() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Reapply.json @@ -802,12 +780,11 @@ public async Task Reapply_ReapplyTheStateOfAVirtualMachine() // invoke the operation await virtualMachine.ReapplyAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachine_Restart_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_VirtualMachineRestartMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Restart_MaximumSet_Gen.json @@ -829,12 +806,11 @@ public async Task Restart_VirtualMachineRestartMaximumSetGen() // invoke the operation await virtualMachine.RestartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachine_Restart_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_VirtualMachineRestartMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Restart_MinimumSet_Gen.json @@ -856,12 +832,11 @@ public async Task Restart_VirtualMachineRestartMinimumSetGen() // invoke the operation await virtualMachine.RestartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachine_Start_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PowerOn_VirtualMachineStartMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Start_MaximumSet_Gen.json @@ -883,12 +858,11 @@ public async Task PowerOn_VirtualMachineStartMaximumSetGen() // invoke the operation await virtualMachine.PowerOnAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachine_Start_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PowerOn_VirtualMachineStartMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Start_MinimumSet_Gen.json @@ -910,12 +884,11 @@ public async Task PowerOn_VirtualMachineStartMinimumSetGen() // invoke the operation await virtualMachine.PowerOnAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachine_Redeploy_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Redeploy_VirtualMachineRedeployMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Redeploy_MaximumSet_Gen.json @@ -937,12 +910,11 @@ public async Task Redeploy_VirtualMachineRedeployMaximumSetGen() // invoke the operation await virtualMachine.RedeployAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachine_Redeploy_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Redeploy_VirtualMachineRedeployMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Redeploy_MinimumSet_Gen.json @@ -964,12 +936,11 @@ public async Task Redeploy_VirtualMachineRedeployMinimumSetGen() // invoke the operation await virtualMachine.RedeployAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Reimage a Non-Ephemeral Virtual Machine. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reimage_ReimageANonEphemeralVirtualMachine() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Reimage_NonEphemeralVMs.json @@ -1001,12 +972,11 @@ public async Task Reimage_ReimageANonEphemeralVirtualMachine() }; await virtualMachine.ReimageAsync(WaitUntil.Completed, content: content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Reimage a Virtual Machine. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reimage_ReimageAVirtualMachine() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_Reimage.json @@ -1032,12 +1002,11 @@ public async Task Reimage_ReimageAVirtualMachine() }; await virtualMachine.ReimageAsync(WaitUntil.Completed, content: content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RetrieveBootDiagnosticsData of a virtual machine. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RetrieveBootDiagnosticsData_RetrieveBootDiagnosticsDataOfAVirtualMachine() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_RetrieveBootDiagnosticsData.json @@ -1063,9 +1032,8 @@ public async Task RetrieveBootDiagnosticsData_RetrieveBootDiagnosticsDataOfAVirt Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachine_PerformMaintenance_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PerformMaintenance_VirtualMachinePerformMaintenanceMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_PerformMaintenance_MaximumSet_Gen.json @@ -1087,12 +1055,11 @@ public async Task PerformMaintenance_VirtualMachinePerformMaintenanceMaximumSetG // invoke the operation await virtualMachine.PerformMaintenanceAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachine_PerformMaintenance_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PerformMaintenance_VirtualMachinePerformMaintenanceMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_PerformMaintenance_MinimumSet_Gen.json @@ -1114,12 +1081,11 @@ public async Task PerformMaintenance_VirtualMachinePerformMaintenanceMinimumSetG // invoke the operation await virtualMachine.PerformMaintenanceAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Simulate Eviction a virtual machine. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SimulateEviction_SimulateEvictionAVirtualMachine() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_SimulateEviction.json @@ -1141,12 +1107,11 @@ public async Task SimulateEviction_SimulateEvictionAVirtualMachine() // invoke the operation await virtualMachine.SimulateEvictionAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Assess patch state of a virtual machine. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AssessPatches_AssessPatchStateOfAVirtualMachine() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_AssessPatches.json @@ -1172,9 +1137,8 @@ public async Task AssessPatches_AssessPatchStateOfAVirtualMachine() Console.WriteLine($"Succeeded: {result}"); } - // Install patch state of a virtual machine. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task InstallPatches_InstallPatchStateOfAVirtualMachine() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_InstallPatches.json @@ -1212,9 +1176,8 @@ public async Task InstallPatches_InstallPatchStateOfAVirtualMachine() Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachine_AttachDetachDataDisks_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AttachDetachDataDisks_VirtualMachineAttachDetachDataDisksMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_AttachDetachDataDisks_MaximumSet_Gen.json @@ -1271,9 +1234,8 @@ public async Task AttachDetachDataDisks_VirtualMachineAttachDetachDataDisksMaxim Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachine_AttachDetachDataDisks_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AttachDetachDataDisks_VirtualMachineAttachDetachDataDisksMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineExamples/VirtualMachine_AttachDetachDataDisks_MinimumSet_Gen.json @@ -1310,9 +1272,8 @@ public async Task AttachDetachDataDisks_VirtualMachineAttachDetachDataDisksMinim Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachineRunCommand - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RunCommand_VirtualMachineRunCommand() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineRunCommand.json diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineRunCommandCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineRunCommandCollection.cs index bbde704b4e6f5..0b899895f777e 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineRunCommandCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineRunCommandCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Compute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_VirtualMachineRunCommandCollection { - // Create or update a run command. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateARunCommand() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineRunCommand_CreateOrUpdate.json @@ -73,9 +73,8 @@ public async Task CreateOrUpdate_CreateOrUpdateARunCommand() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a run command. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARunCommand() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineRunCommand_Get.json @@ -108,9 +107,8 @@ public async Task Get_GetARunCommand() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a run command. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetARunCommand() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineRunCommand_Get.json @@ -139,9 +137,8 @@ public async Task Exists_GetARunCommand() Console.WriteLine($"Succeeded: {result}"); } - // Get a run command. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetARunCommand() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineRunCommand_Get.json @@ -170,7 +167,7 @@ public async Task GetIfExists_GetARunCommand() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -182,9 +179,8 @@ public async Task GetIfExists_GetARunCommand() } } - // List run commands in a Virtual Machine. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRunCommandsInAVirtualMachine() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineRunCommand_List.json @@ -216,7 +212,7 @@ public async Task GetAll_ListRunCommandsInAVirtualMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineRunCommandResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineRunCommandResource.cs index 407e0e7619692..0e17c34946553 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineRunCommandResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineRunCommandResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_VirtualMachineRunCommandResource { - // VirtualMachineRunCommandList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineRunCommands_VirtualMachineRunCommandList() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/RunCommand_List.json @@ -42,12 +42,11 @@ public async Task GetVirtualMachineRunCommands_VirtualMachineRunCommandList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineRunCommandGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineRunCommand_VirtualMachineRunCommandGet() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/RunCommand_Get.json @@ -72,9 +71,8 @@ public async Task GetVirtualMachineRunCommand_VirtualMachineRunCommandGet() Console.WriteLine($"Succeeded: {result}"); } - // Update a run command. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateARunCommand() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineRunCommand_Update.json @@ -126,9 +124,8 @@ public async Task Update_UpdateARunCommand() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a run command. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteARunCommand() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineRunCommand_Delete.json @@ -151,12 +148,11 @@ public async Task Delete_DeleteARunCommand() // invoke the operation await virtualMachineRunCommand.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a run command. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARunCommand() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineRunCommand_Get.json diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetCollection.cs index 648d41a22203f..b31f3fc395029 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetCollection.cs @@ -13,14 +13,14 @@ using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_VirtualMachineScaleSetCollection { - // Create a VMSS with an extension that has suppressFailures enabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVMSSWithAnExtensionThatHasSuppressFailuresEnabled() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsSuppressFailuresEnabled.json @@ -134,9 +134,8 @@ public async Task CreateOrUpdate_CreateAVMSSWithAnExtensionThatHasSuppressFailur Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a VMSS with an extension with protectedSettingsFromKeyVault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAVMSSWithAnExtensionWithProtectedSettingsFromKeyVault() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithProtectedSettingsFromKeyVault.json @@ -253,9 +252,8 @@ public async Task CreateOrUpdate_CreateAVMSSWithAnExtensionWithProtectedSettings Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a custom-image scale set from an unmanaged generalized os image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateACustomImageScaleSetFromAnUnmanagedGeneralizedOsImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_CustomImageFromAnUnmanagedGeneralizedOsImage.json @@ -338,9 +336,8 @@ public async Task CreateOrUpdate_CreateACustomImageScaleSetFromAnUnmanagedGenera Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a platform-image scale set with unmanaged os disks. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAPlatformImageScaleSetWithUnmanagedOsDisks() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_PlatformImageWithUnmanagedOsDisks.json @@ -433,9 +430,8 @@ public async Task CreateOrUpdate_CreateAPlatformImageScaleSetWithUnmanagedOsDisk Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set from a custom image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetFromACustomImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromACustomImage.json @@ -524,9 +520,8 @@ public async Task CreateOrUpdate_CreateAScaleSetFromACustomImage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set from a generalized shared image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetFromAGeneralizedSharedImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromAGeneralizedSharedImage.json @@ -615,9 +610,8 @@ public async Task CreateOrUpdate_CreateAScaleSetFromAGeneralizedSharedImage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set from a specialized shared image. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetFromASpecializedSharedImage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromASpecializedSharedImage.json @@ -700,9 +694,8 @@ public async Task CreateOrUpdate_CreateAScaleSetFromASpecializedSharedImage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set where nic config has DisableTcpStateTracking property - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWhereNicConfigHasDisableTcpStateTrackingProperty() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithDisableTcpStateTrackingNetworkInterface.json @@ -808,9 +801,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWhereNicConfigHasDisableTcpState Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with Application Profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithApplicationProfile() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithApplicationProfile.json @@ -913,9 +905,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithApplicationProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with Disk Controller Type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithDiskControllerType() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiskControllerType.json @@ -1023,9 +1014,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithDiskControllerType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with DiskEncryptionSet resource in os disk and data disk. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithDiskEncryptionSetResourceInOsDiskAndDataDisk() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiskEncryptionSetResource.json @@ -1128,9 +1118,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithDiskEncryptionSetResourceInO Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with Fpga Network Interfaces. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithFpgaNetworkInterfaces() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithFpgaNetworkInterface.json @@ -1234,9 +1223,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithFpgaNetworkInterfaces() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with Host Encryption using encryptionAtHost property. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithHostEncryptionUsingEncryptionAtHostProperty() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEncryptionAtHost.json @@ -1338,9 +1326,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithHostEncryptionUsingEncryptio Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with Network Interfaces with public ip address dns settings. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithNetworkInterfacesWithPublicIpAddressDnsSettings() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_FromWithNetworkInterfaceWithDnsSettings.json @@ -1456,9 +1443,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithNetworkInterfacesWithPublicI Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with OS image scheduled events enabled. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithOSImageScheduledEventsEnabled() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithOSImageScheduledEventEnabled.json @@ -1558,9 +1544,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithOSImageScheduledEventsEnable Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with ProxyAgent Settings of enabled and mode. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithProxyAgentSettingsOfEnabledAndMode() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithProxyAgentSettings.json @@ -1660,9 +1645,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithProxyAgentSettingsOfEnabledA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with Resilient VM Creation enabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithResilientVMCreationEnabled() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithResilientVMCreationPolicy.json @@ -1758,9 +1742,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithResilientVMCreationEnabled() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with Resilient VM Deletion enabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithResilientVMDeletionEnabled() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithResilientVMDeletionPolicy.json @@ -1856,9 +1839,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithResilientVMDeletionEnabled() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with Security Posture Reference - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithSecurityPostureReference() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityPostureReference.json @@ -1952,9 +1934,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithSecurityPostureReference() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with SecurityType as ConfidentialVM - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithSecurityTypeAsConfidentialVM() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityTypeConfidentialVM.json @@ -2059,9 +2040,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithSecurityTypeAsConfidentialVM Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with SecurityType as ConfidentialVM and NonPersistedTPM securityEncryptionType - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithSecurityTypeAsConfidentialVMAndNonPersistedTPMSecurityEncryptionType() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSecurityTypeConfidentialVMWithNonPersistedTPM.json @@ -2166,9 +2146,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithSecurityTypeAsConfidentialVM Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with Service Artifact Reference - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithServiceArtifactReference() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithServiceArtifactReference.json @@ -2262,9 +2241,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithServiceArtifactReference() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with Uefi Settings of secureBoot and vTPM. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithUefiSettingsOfSecureBootAndVTPM() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUefiSettings.json @@ -2365,9 +2343,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithUefiSettingsOfSecureBootAndV Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with a marketplace image plan. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithAMarketplaceImagePlan() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAMarketplaceImagePlan.json @@ -2465,9 +2442,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithAMarketplaceImagePlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with an azure application gateway. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithAnAzureApplicationGateway() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureApplicationGateway.json @@ -2566,9 +2542,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithAnAzureApplicationGateway() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with an azure load balancer. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithAnAzureLoadBalancer() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAzureLoadBalancer.json @@ -2678,9 +2653,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithAnAzureLoadBalancer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with automatic repairs enabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithAutomaticRepairsEnabled() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithAutomaticRepairs.json @@ -2786,9 +2760,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithAutomaticRepairsEnabled() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with boot diagnostics. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithBootDiagnostics() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithBootDiagnostics.json @@ -2885,9 +2858,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithBootDiagnostics() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with empty data disks on each vm. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithEmptyDataDisksOnEachVm() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithEmptyDataDisksOnEachVm.json @@ -2990,9 +2962,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithEmptyDataDisksOnEachVm() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with ephemeral os disk provisioning in Nvme disk using placement property. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithEphemeralOsDiskProvisioningInNvmeDiskUsingPlacementProperty() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_CreateA_WithDiffOsDiskUsingDiffDiskPlacementAsNvmeDisk.json @@ -3095,9 +3066,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithEphemeralOsDiskProvisioningI Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with ephemeral os disks using placement property. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithEphemeralOsDisksUsingPlacementProperty() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_CreateA_WithDiffOsDiskUsingDiffDiskPlacement.json @@ -3200,9 +3170,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithEphemeralOsDisksUsingPlaceme Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with ephemeral os disks. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithEphemeralOsDisks() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithDiffOsDisk.json @@ -3304,9 +3273,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithEphemeralOsDisks() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with extension time budget. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithExtensionTimeBudget() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithExtensionsTimeBudget.json @@ -3420,9 +3388,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithExtensionTimeBudget() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with managed boot diagnostics. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithManagedBootDiagnostics() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithManagedBootDiagnostics.json @@ -3518,9 +3485,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithManagedBootDiagnostics() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with password authentication. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithPasswordAuthentication() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPasswordAuthentication.json @@ -3612,9 +3578,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithPasswordAuthentication() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with premium storage. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithPremiumStorage() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPremiumStorage.json @@ -3706,9 +3671,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithPremiumStorage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with priority mix policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithPriorityMixPolicy() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithPriorityMixPolicy.json @@ -3805,9 +3769,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithPriorityMixPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with scaleInPolicy. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithScaleInPolicy() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithScaleInPolicy.json @@ -3907,9 +3870,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithScaleInPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with sku profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithSkuProfile() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSkuProfile.json @@ -4022,9 +3984,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithSkuProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with spot restore policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithSpotRestorePolicy() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSpotRestorePolicy.json @@ -4124,9 +4085,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithSpotRestorePolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with ssh authentication. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithSshAuthentication() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithSshAuthentication.json @@ -4229,9 +4189,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithSshAuthentication() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with terminate scheduled events enabled. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithTerminateScheduledEventsEnabled() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithTerminateScheduledEventEnabled.json @@ -4331,9 +4290,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithTerminateScheduledEventsEnab Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with userData. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithUserData() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithUserData.json @@ -4426,9 +4384,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithUserData() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with virtual machines in different zones. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithVirtualMachinesInDifferentZones() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMsInDifferentZones.json @@ -4535,9 +4492,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithVirtualMachinesInDifferentZo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with vm size properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithVmSizeProperties() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithVMSizeProperties.json @@ -4635,9 +4591,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithVmSizeProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a scale set with zonalPlatformFaultDomainAlignMode as Aligned - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAScaleSetWithZonalPlatformFaultDomainAlignModeAsAligned() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithZonalPlatformFaultDomainAlignMode.json @@ -4739,9 +4694,8 @@ public async Task CreateOrUpdate_CreateAScaleSetWithZonalPlatformFaultDomainAlig Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a scale set with capacity reservation. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAScaleSetWithCapacityReservation() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithCapacityReservation.json @@ -4834,9 +4788,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAScaleSetWithCapacityReservation( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get VM scale set VM with Disk Controller Type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVMScaleSetVMWithDiskControllerType() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithDiskControllerType.json @@ -4869,9 +4822,8 @@ public async Task Get_GetVMScaleSetVMWithDiskControllerType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get VM scale set VM with Disk Controller Type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVMScaleSetVMWithDiskControllerType() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithDiskControllerType.json @@ -4900,9 +4852,8 @@ public async Task Exists_GetVMScaleSetVMWithDiskControllerType() Console.WriteLine($"Succeeded: {result}"); } - // Get VM scale set VM with Disk Controller Type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVMScaleSetVMWithDiskControllerType() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithDiskControllerType.json @@ -4931,7 +4882,7 @@ public async Task GetIfExists_GetVMScaleSetVMWithDiskControllerType() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -4943,9 +4894,8 @@ public async Task GetIfExists_GetVMScaleSetVMWithDiskControllerType() } } - // Get a virtual machine scale set - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAVirtualMachineScaleSet() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get.json @@ -4977,9 +4927,8 @@ public async Task Get_GetAVirtualMachineScaleSet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a virtual machine scale set - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAVirtualMachineScaleSet() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get.json @@ -5007,9 +4956,8 @@ public async Task Exists_GetAVirtualMachineScaleSet() Console.WriteLine($"Succeeded: {result}"); } - // Get a virtual machine scale set - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAVirtualMachineScaleSet() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get.json @@ -5037,7 +4985,7 @@ public async Task GetIfExists_GetAVirtualMachineScaleSet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -5049,9 +4997,8 @@ public async Task GetIfExists_GetAVirtualMachineScaleSet() } } - // Get a virtual machine scale set placed on a dedicated host group through automatic placement. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAVirtualMachineScaleSetPlacedOnADedicatedHostGroupThroughAutomaticPlacement() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_AutoPlacedOnDedicatedHostGroup.json @@ -5083,9 +5030,8 @@ public async Task Get_GetAVirtualMachineScaleSetPlacedOnADedicatedHostGroupThrou Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a virtual machine scale set placed on a dedicated host group through automatic placement. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAVirtualMachineScaleSetPlacedOnADedicatedHostGroupThroughAutomaticPlacement() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_AutoPlacedOnDedicatedHostGroup.json @@ -5113,9 +5059,8 @@ public async Task Exists_GetAVirtualMachineScaleSetPlacedOnADedicatedHostGroupTh Console.WriteLine($"Succeeded: {result}"); } - // Get a virtual machine scale set placed on a dedicated host group through automatic placement. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAVirtualMachineScaleSetPlacedOnADedicatedHostGroupThroughAutomaticPlacement() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_AutoPlacedOnDedicatedHostGroup.json @@ -5143,7 +5088,7 @@ public async Task GetIfExists_GetAVirtualMachineScaleSetPlacedOnADedicatedHostGr if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -5155,9 +5100,8 @@ public async Task GetIfExists_GetAVirtualMachineScaleSetPlacedOnADedicatedHostGr } } - // Get a virtual machine scale set with UserData - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAVirtualMachineScaleSetWithUserData() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithUserData.json @@ -5190,9 +5134,8 @@ public async Task Get_GetAVirtualMachineScaleSetWithUserData() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a virtual machine scale set with UserData - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAVirtualMachineScaleSetWithUserData() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithUserData.json @@ -5221,9 +5164,8 @@ public async Task Exists_GetAVirtualMachineScaleSetWithUserData() Console.WriteLine($"Succeeded: {result}"); } - // Get a virtual machine scale set with UserData - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAVirtualMachineScaleSetWithUserData() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithUserData.json @@ -5252,7 +5194,7 @@ public async Task GetIfExists_GetAVirtualMachineScaleSetWithUserData() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -5264,9 +5206,8 @@ public async Task GetIfExists_GetAVirtualMachineScaleSetWithUserData() } } - // VirtualMachineScaleSet_List_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VirtualMachineScaleSetListMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_List_MaximumSet_Gen.json @@ -5297,12 +5238,11 @@ public async Task GetAll_VirtualMachineScaleSetListMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_List_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VirtualMachineScaleSetListMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_List_MinimumSet_Gen.json @@ -5333,7 +5273,7 @@ public async Task GetAll_VirtualMachineScaleSetListMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetExtensionCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetExtensionCollection.cs index 6db66c5e18fee..46f6b4a1ff4de 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetExtensionCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetExtensionCollection.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_VirtualMachineScaleSetExtensionCollection { - // VirtualMachineScaleSetExtension_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VirtualMachineScaleSetExtensionCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_CreateOrUpdate_MaximumSet_Gen.json @@ -71,9 +71,8 @@ public async Task CreateOrUpdate_VirtualMachineScaleSetExtensionCreateOrUpdateMa Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachineScaleSetExtension_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VirtualMachineScaleSetExtensionCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_CreateOrUpdate_MinimumSet_Gen.json @@ -108,9 +107,8 @@ public async Task CreateOrUpdate_VirtualMachineScaleSetExtensionCreateOrUpdateMi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachineScaleSetExtension_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualMachineScaleSetExtensionGetMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MaximumSet_Gen.json @@ -144,9 +142,8 @@ public async Task Get_VirtualMachineScaleSetExtensionGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachineScaleSetExtension_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VirtualMachineScaleSetExtensionGetMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MaximumSet_Gen.json @@ -176,9 +173,8 @@ public async Task Exists_VirtualMachineScaleSetExtensionGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachineScaleSetExtension_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VirtualMachineScaleSetExtensionGetMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MaximumSet_Gen.json @@ -208,7 +204,7 @@ public async Task GetIfExists_VirtualMachineScaleSetExtensionGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -220,9 +216,8 @@ public async Task GetIfExists_VirtualMachineScaleSetExtensionGetMaximumSetGen() } } - // VirtualMachineScaleSetExtension_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualMachineScaleSetExtensionGetMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MinimumSet_Gen.json @@ -255,9 +250,8 @@ public async Task Get_VirtualMachineScaleSetExtensionGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachineScaleSetExtension_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VirtualMachineScaleSetExtensionGetMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MinimumSet_Gen.json @@ -286,9 +280,8 @@ public async Task Exists_VirtualMachineScaleSetExtensionGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachineScaleSetExtension_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VirtualMachineScaleSetExtensionGetMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MinimumSet_Gen.json @@ -317,7 +310,7 @@ public async Task GetIfExists_VirtualMachineScaleSetExtensionGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -329,9 +322,8 @@ public async Task GetIfExists_VirtualMachineScaleSetExtensionGetMinimumSetGen() } } - // VirtualMachineScaleSetExtension_List_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VirtualMachineScaleSetExtensionListMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_List_MaximumSet_Gen.json @@ -363,12 +355,11 @@ public async Task GetAll_VirtualMachineScaleSetExtensionListMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSetExtension_List_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VirtualMachineScaleSetExtensionListMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_List_MinimumSet_Gen.json @@ -400,7 +391,7 @@ public async Task GetAll_VirtualMachineScaleSetExtensionListMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetExtensionResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetExtensionResource.cs index f4b1bf57b9137..94709c5606b08 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetExtensionResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetExtensionResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Compute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_VirtualMachineScaleSetExtensionResource { - // VirtualMachineScaleSetExtension_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VirtualMachineScaleSetExtensionUpdateMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Update_MaximumSet_Gen.json @@ -69,9 +69,8 @@ public async Task Update_VirtualMachineScaleSetExtensionUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachineScaleSetExtension_Update_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VirtualMachineScaleSetExtensionUpdateMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Update_MinimumSet_Gen.json @@ -103,9 +102,8 @@ public async Task Update_VirtualMachineScaleSetExtensionUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachineScaleSetExtension_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VirtualMachineScaleSetExtensionDeleteMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Delete_MaximumSet_Gen.json @@ -128,12 +126,11 @@ public async Task Delete_VirtualMachineScaleSetExtensionDeleteMaximumSetGen() // invoke the operation await virtualMachineScaleSetExtension.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSetExtension_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VirtualMachineScaleSetExtensionDeleteMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Delete_MinimumSet_Gen.json @@ -156,12 +153,11 @@ public async Task Delete_VirtualMachineScaleSetExtensionDeleteMinimumSetGen() // invoke the operation await virtualMachineScaleSetExtension.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSetExtension_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualMachineScaleSetExtensionGetMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MaximumSet_Gen.json @@ -192,9 +188,8 @@ public async Task Get_VirtualMachineScaleSetExtensionGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachineScaleSetExtension_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualMachineScaleSetExtensionGetMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_Get_MinimumSet_Gen.json diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetResource.cs index e85b8297167ea..a3492acccf0f0 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetResource.cs @@ -14,14 +14,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_VirtualMachineScaleSetResource { - // Lists all the VM scale sets under the specified subscription for the specified location. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineScaleSetsByLocation_ListsAllTheVMScaleSetsUnderTheSpecifiedSubscriptionForTheSpecifiedLocation() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListBySubscription_ByLocation.json @@ -49,12 +49,11 @@ public async Task GetVirtualMachineScaleSetsByLocation_ListsAllTheVMScaleSetsUnd Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VirtualMachineScaleSetUpdateMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Update_MaximumSet_Gen.json @@ -401,9 +400,8 @@ public async Task Update_VirtualMachineScaleSetUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachineScaleSet_Update_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VirtualMachineScaleSetUpdateMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Update_MinimumSet_Gen.json @@ -434,9 +432,8 @@ public async Task Update_VirtualMachineScaleSetUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Force Delete a VM scale set. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ForceDeleteAVMScaleSet() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Delete_Force.json @@ -459,12 +456,11 @@ public async Task Delete_ForceDeleteAVMScaleSet() bool? forceDeletion = true; await virtualMachineScaleSet.DeleteAsync(WaitUntil.Completed, forceDeletion: forceDeletion); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get VM scale set VM with Disk Controller Type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVMScaleSetVMWithDiskControllerType() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithDiskControllerType.json @@ -494,9 +490,8 @@ public async Task Get_GetVMScaleSetVMWithDiskControllerType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a virtual machine scale set - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAVirtualMachineScaleSet() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get.json @@ -525,9 +520,8 @@ public async Task Get_GetAVirtualMachineScaleSet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a virtual machine scale set placed on a dedicated host group through automatic placement. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAVirtualMachineScaleSetPlacedOnADedicatedHostGroupThroughAutomaticPlacement() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_AutoPlacedOnDedicatedHostGroup.json @@ -556,9 +550,8 @@ public async Task Get_GetAVirtualMachineScaleSetPlacedOnADedicatedHostGroupThrou Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a virtual machine scale set with UserData - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAVirtualMachineScaleSetWithUserData() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Get_WithUserData.json @@ -588,9 +581,8 @@ public async Task Get_GetAVirtualMachineScaleSetWithUserData() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachineScaleSet_Deallocate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Deallocate_VirtualMachineScaleSetDeallocateMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Deallocate_MaximumSet_Gen.json @@ -620,12 +612,11 @@ public async Task Deallocate_VirtualMachineScaleSetDeallocateMaximumSetGen() bool? hibernate = true; await virtualMachineScaleSet.DeallocateAsync(WaitUntil.Completed, vmInstanceIds: vmInstanceIds, hibernate: hibernate); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_Deallocate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Deallocate_VirtualMachineScaleSetDeallocateMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Deallocate_MinimumSet_Gen.json @@ -647,12 +638,11 @@ public async Task Deallocate_VirtualMachineScaleSetDeallocateMinimumSetGen() // invoke the operation await virtualMachineScaleSet.DeallocateAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_DeleteInstances_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteInstances_VirtualMachineScaleSetDeleteInstancesMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_DeleteInstances_MaximumSet_Gen.json @@ -679,12 +669,11 @@ public async Task DeleteInstances_VirtualMachineScaleSetDeleteInstancesMaximumSe bool? forceDeletion = true; await virtualMachineScaleSet.DeleteInstancesAsync(WaitUntil.Completed, vmInstanceIds, forceDeletion: forceDeletion); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_DeleteInstances_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteInstances_VirtualMachineScaleSetDeleteInstancesMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_DeleteInstances_MinimumSet_Gen.json @@ -710,12 +699,11 @@ public async Task DeleteInstances_VirtualMachineScaleSetDeleteInstancesMinimumSe }); await virtualMachineScaleSet.DeleteInstancesAsync(WaitUntil.Completed, vmInstanceIds); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_GetInstanceView_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetInstanceView_VirtualMachineScaleSetGetInstanceViewMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_GetInstanceView_MaximumSet_Gen.json @@ -740,9 +728,8 @@ public async Task GetInstanceView_VirtualMachineScaleSetGetInstanceViewMaximumSe Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachineScaleSet_GetInstanceView_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetInstanceView_VirtualMachineScaleSetGetInstanceViewMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_GetInstanceView_MinimumSet_Gen.json @@ -767,9 +754,8 @@ public async Task GetInstanceView_VirtualMachineScaleSetGetInstanceViewMinimumSe Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachineScaleSet_ListAll_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineScaleSets_VirtualMachineScaleSetListAllMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListAll_MaximumSet_Gen.json @@ -796,12 +782,11 @@ public async Task GetVirtualMachineScaleSets_VirtualMachineScaleSetListAllMaximu Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_ListAll_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineScaleSets_VirtualMachineScaleSetListAllMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListAll_MinimumSet_Gen.json @@ -828,12 +813,11 @@ public async Task GetVirtualMachineScaleSets_VirtualMachineScaleSetListAllMinimu Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_ListSkus_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSkus_VirtualMachineScaleSetListSkusMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListSkus_MaximumSet_Gen.json @@ -858,12 +842,11 @@ public async Task GetSkus_VirtualMachineScaleSetListSkusMaximumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_ListSkus_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSkus_VirtualMachineScaleSetListSkusMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ListSkus_MinimumSet_Gen.json @@ -888,12 +871,11 @@ public async Task GetSkus_VirtualMachineScaleSetListSkusMinimumSetGen() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_GetOSUpgradeHistory_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOSUpgradeHistory_VirtualMachineScaleSetGetOSUpgradeHistoryMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_GetOSUpgradeHistory_MaximumSet_Gen.json @@ -918,12 +900,11 @@ public async Task GetOSUpgradeHistory_VirtualMachineScaleSetGetOSUpgradeHistoryM Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_GetOSUpgradeHistory_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOSUpgradeHistory_VirtualMachineScaleSetGetOSUpgradeHistoryMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_GetOSUpgradeHistory_MinimumSet_Gen.json @@ -948,12 +929,11 @@ public async Task GetOSUpgradeHistory_VirtualMachineScaleSetGetOSUpgradeHistoryM Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_PowerOff_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PowerOff_VirtualMachineScaleSetPowerOffMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_PowerOff_MaximumSet_Gen.json @@ -983,12 +963,11 @@ public async Task PowerOff_VirtualMachineScaleSetPowerOffMaximumSetGen() bool? skipShutdown = true; await virtualMachineScaleSet.PowerOffAsync(WaitUntil.Completed, vmInstanceIds: vmInstanceIds, skipShutdown: skipShutdown); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_PowerOff_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PowerOff_VirtualMachineScaleSetPowerOffMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_PowerOff_MinimumSet_Gen.json @@ -1010,12 +989,11 @@ public async Task PowerOff_VirtualMachineScaleSetPowerOffMinimumSetGen() // invoke the operation await virtualMachineScaleSet.PowerOffAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_Restart_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_VirtualMachineScaleSetRestartMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Restart_MaximumSet_Gen.json @@ -1044,12 +1022,11 @@ public async Task Restart_VirtualMachineScaleSetRestartMaximumSetGen() }; await virtualMachineScaleSet.RestartAsync(WaitUntil.Completed, vmInstanceIds: vmInstanceIds); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_Restart_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_VirtualMachineScaleSetRestartMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Restart_MinimumSet_Gen.json @@ -1071,12 +1048,11 @@ public async Task Restart_VirtualMachineScaleSetRestartMinimumSetGen() // invoke the operation await virtualMachineScaleSet.RestartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_Start_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PowerOn_VirtualMachineScaleSetStartMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Start_MaximumSet_Gen.json @@ -1105,12 +1081,11 @@ public async Task PowerOn_VirtualMachineScaleSetStartMaximumSetGen() }; await virtualMachineScaleSet.PowerOnAsync(WaitUntil.Completed, vmInstanceIds: vmInstanceIds); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_Start_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PowerOn_VirtualMachineScaleSetStartMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Start_MinimumSet_Gen.json @@ -1132,12 +1107,11 @@ public async Task PowerOn_VirtualMachineScaleSetStartMinimumSetGen() // invoke the operation await virtualMachineScaleSet.PowerOnAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSets_Reapply_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reapply_VirtualMachineScaleSetsReapplyMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Reapply_MaximumSet_Gen.json @@ -1159,12 +1133,11 @@ public async Task Reapply_VirtualMachineScaleSetsReapplyMaximumSetGen() // invoke the operation await virtualMachineScaleSet.ReapplyAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSets_Reapply_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reapply_VirtualMachineScaleSetsReapplyMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Reapply_MinimumSet_Gen.json @@ -1186,12 +1159,11 @@ public async Task Reapply_VirtualMachineScaleSetsReapplyMinimumSetGen() // invoke the operation await virtualMachineScaleSet.ReapplyAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_Redeploy_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Redeploy_VirtualMachineScaleSetRedeployMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Redeploy_MaximumSet_Gen.json @@ -1220,12 +1192,11 @@ public async Task Redeploy_VirtualMachineScaleSetRedeployMaximumSetGen() }; await virtualMachineScaleSet.RedeployAsync(WaitUntil.Completed, vmInstanceIds: vmInstanceIds); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_Redeploy_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Redeploy_VirtualMachineScaleSetRedeployMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Redeploy_MinimumSet_Gen.json @@ -1247,12 +1218,11 @@ public async Task Redeploy_VirtualMachineScaleSetRedeployMinimumSetGen() // invoke the operation await virtualMachineScaleSet.RedeployAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_PerformMaintenance_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PerformMaintenance_VirtualMachineScaleSetPerformMaintenanceMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_PerformMaintenance_MaximumSet_Gen.json @@ -1281,12 +1251,11 @@ public async Task PerformMaintenance_VirtualMachineScaleSetPerformMaintenanceMax }; await virtualMachineScaleSet.PerformMaintenanceAsync(WaitUntil.Completed, vmInstanceIds: vmInstanceIds); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_PerformMaintenance_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PerformMaintenance_VirtualMachineScaleSetPerformMaintenanceMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_PerformMaintenance_MinimumSet_Gen.json @@ -1308,12 +1277,11 @@ public async Task PerformMaintenance_VirtualMachineScaleSetPerformMaintenanceMin // invoke the operation await virtualMachineScaleSet.PerformMaintenanceAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_UpdateInstances_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateInstances_VirtualMachineScaleSetUpdateInstancesMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_UpdateInstances_MaximumSet_Gen.json @@ -1339,12 +1307,11 @@ public async Task UpdateInstances_VirtualMachineScaleSetUpdateInstancesMaximumSe }); await virtualMachineScaleSet.UpdateInstancesAsync(WaitUntil.Completed, vmInstanceIds); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_UpdateInstances_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateInstances_VirtualMachineScaleSetUpdateInstancesMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_UpdateInstances_MinimumSet_Gen.json @@ -1370,12 +1337,11 @@ public async Task UpdateInstances_VirtualMachineScaleSetUpdateInstancesMinimumSe }); await virtualMachineScaleSet.UpdateInstancesAsync(WaitUntil.Completed, vmInstanceIds); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_Reimage_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reimage_VirtualMachineScaleSetReimageMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Reimage_MaximumSet_Gen.json @@ -1406,12 +1372,11 @@ public async Task Reimage_VirtualMachineScaleSetReimageMaximumSetGen() }; await virtualMachineScaleSet.ReimageAsync(WaitUntil.Completed, content: content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_Reimage_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reimage_VirtualMachineScaleSetReimageMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Reimage_MinimumSet_Gen.json @@ -1433,12 +1398,11 @@ public async Task Reimage_VirtualMachineScaleSetReimageMinimumSetGen() // invoke the operation await virtualMachineScaleSet.ReimageAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_ReimageAll_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ReimageAll_VirtualMachineScaleSetReimageAllMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ReimageAll_MaximumSet_Gen.json @@ -1467,12 +1431,11 @@ public async Task ReimageAll_VirtualMachineScaleSetReimageAllMaximumSetGen() }; await virtualMachineScaleSet.ReimageAllAsync(WaitUntil.Completed, vmInstanceIds: vmInstanceIds); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_ReimageAll_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ReimageAll_VirtualMachineScaleSetReimageAllMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ReimageAll_MinimumSet_Gen.json @@ -1494,12 +1457,11 @@ public async Task ReimageAll_VirtualMachineScaleSetReimageAllMinimumSetGen() // invoke the operation await virtualMachineScaleSet.ReimageAllAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_ApproveRollingUpgrade - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ApproveRollingUpgrade_VirtualMachineScaleSetApproveRollingUpgrade() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ApproveRollingUpgrade.json @@ -1528,12 +1490,11 @@ public async Task ApproveRollingUpgrade_VirtualMachineScaleSetApproveRollingUpgr }; await virtualMachineScaleSet.ApproveRollingUpgradeAsync(WaitUntil.Completed, vmInstanceIds: vmInstanceIds); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ForceRecoveryServiceFabricPlatformUpdateDomainWalk_VirtualMachineScaleSetForceRecoveryServiceFabricPlatformUpdateDomainWalkMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MaximumSet_Gen.json @@ -1559,9 +1520,8 @@ public async Task ForceRecoveryServiceFabricPlatformUpdateDomainWalk_VirtualMach Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachineScaleSet_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ForceRecoveryServiceFabricPlatformUpdateDomainWalk_VirtualMachineScaleSetForceRecoveryServiceFabricPlatformUpdateDomainWalkMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ForceRecoveryServiceFabricPlatformUpdateDomainWalk_MinimumSet_Gen.json @@ -1587,9 +1547,8 @@ public async Task ForceRecoveryServiceFabricPlatformUpdateDomainWalk_VirtualMach Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachineScaleSet_ConvertToSinglePlacementGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ConvertToSinglePlacementGroup_VirtualMachineScaleSetConvertToSinglePlacementGroupMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ConvertToSinglePlacementGroup_MaximumSet_Gen.json @@ -1615,12 +1574,11 @@ public async Task ConvertToSinglePlacementGroup_VirtualMachineScaleSetConvertToS }; await virtualMachineScaleSet.ConvertToSinglePlacementGroupAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_ConvertToSinglePlacementGroup_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ConvertToSinglePlacementGroup_VirtualMachineScaleSetConvertToSinglePlacementGroupMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_ConvertToSinglePlacementGroup_MinimumSet_Gen.json @@ -1643,12 +1601,11 @@ public async Task ConvertToSinglePlacementGroup_VirtualMachineScaleSetConvertToS VirtualMachineScaleSetConvertToSinglePlacementGroupContent content = new VirtualMachineScaleSetConvertToSinglePlacementGroupContent(); await virtualMachineScaleSet.ConvertToSinglePlacementGroupAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_SetOrchestrationServiceState_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SetOrchestrationServiceState_VirtualMachineScaleSetSetOrchestrationServiceStateMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_SetOrchestrationServiceState_MaximumSet_Gen.json @@ -1671,12 +1628,11 @@ public async Task SetOrchestrationServiceState_VirtualMachineScaleSetSetOrchestr OrchestrationServiceStateContent content = new OrchestrationServiceStateContent(OrchestrationServiceName.AutomaticRepairs, OrchestrationServiceStateAction.Resume); await virtualMachineScaleSet.SetOrchestrationServiceStateAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSet_SetOrchestrationServiceState_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SetOrchestrationServiceState_VirtualMachineScaleSetSetOrchestrationServiceStateMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_SetOrchestrationServiceState_MinimumSet_Gen.json @@ -1699,12 +1655,11 @@ public async Task SetOrchestrationServiceState_VirtualMachineScaleSetSetOrchestr OrchestrationServiceStateContent content = new OrchestrationServiceStateContent(OrchestrationServiceName.AutomaticRepairs, OrchestrationServiceStateAction.Resume); await virtualMachineScaleSet.SetOrchestrationServiceStateAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSetRollingUpgrade_Cancel_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CancelVirtualMachineScaleSetRollingUpgrade_VirtualMachineScaleSetRollingUpgradeCancelMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_Cancel_MaximumSet_Gen.json @@ -1726,12 +1681,11 @@ public async Task CancelVirtualMachineScaleSetRollingUpgrade_VirtualMachineScale // invoke the operation await virtualMachineScaleSet.CancelVirtualMachineScaleSetRollingUpgradeAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSetRollingUpgrade_Cancel_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CancelVirtualMachineScaleSetRollingUpgrade_VirtualMachineScaleSetRollingUpgradeCancelMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_Cancel_MinimumSet_Gen.json @@ -1753,12 +1707,11 @@ public async Task CancelVirtualMachineScaleSetRollingUpgrade_VirtualMachineScale // invoke the operation await virtualMachineScaleSet.CancelVirtualMachineScaleSetRollingUpgradeAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSetRollingUpgrade_StartOSUpgrade_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartOSUpgrade_VirtualMachineScaleSetRollingUpgradeStartOSUpgradeMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_StartOSUpgrade_MaximumSet_Gen.json @@ -1780,12 +1733,11 @@ public async Task StartOSUpgrade_VirtualMachineScaleSetRollingUpgradeStartOSUpgr // invoke the operation await virtualMachineScaleSet.StartOSUpgradeAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSetRollingUpgrade_StartOSUpgrade_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartOSUpgrade_VirtualMachineScaleSetRollingUpgradeStartOSUpgradeMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_StartOSUpgrade_MinimumSet_Gen.json @@ -1807,12 +1759,11 @@ public async Task StartOSUpgrade_VirtualMachineScaleSetRollingUpgradeStartOSUpgr // invoke the operation await virtualMachineScaleSet.StartOSUpgradeAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Start an extension rolling upgrade. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartExtensionUpgradeVirtualMachineScaleSetRollingUpgrade_StartAnExtensionRollingUpgrade() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetExtension_RollingUpgrade.json @@ -1834,7 +1785,7 @@ public async Task StartExtensionUpgradeVirtualMachineScaleSetRollingUpgrade_Star // invoke the operation await virtualMachineScaleSet.StartExtensionUpgradeVirtualMachineScaleSetRollingUpgradeAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetRollingUpgradeResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetRollingUpgradeResource.cs index 96e791efcc8b0..5234577c94a19 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetRollingUpgradeResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetRollingUpgradeResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_VirtualMachineScaleSetRollingUpgradeResource { - // VirtualMachineScaleSetRollingUpgrade_GetLatest_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualMachineScaleSetRollingUpgradeGetLatestMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_GetLatest_MaximumSet_Gen.json @@ -45,9 +45,8 @@ public async Task Get_VirtualMachineScaleSetRollingUpgradeGetLatestMaximumSetGen Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachineScaleSetRollingUpgrade_GetLatest_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VirtualMachineScaleSetRollingUpgradeGetLatestMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetRollingUpgrade_GetLatest_MinimumSet_Gen.json diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmCollection.cs index 1a17b4cc2f063..8acdc9387e849 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_VirtualMachineScaleSetVmCollection { - // VirtualMachineScaleSetVM_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VirtualMachineScaleSetVMUpdateMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Update_MaximumSet_Gen.json @@ -384,9 +384,8 @@ public async Task CreateOrUpdate_VirtualMachineScaleSetVMUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachineScaleSetVM_Update_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VirtualMachineScaleSetVMUpdateMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Update_MinimumSet_Gen.json @@ -421,9 +420,8 @@ public async Task CreateOrUpdate_VirtualMachineScaleSetVMUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get VM scale set VM with UserData - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVMScaleSetVMWithUserData() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithUserData.json @@ -456,9 +454,8 @@ public async Task Get_GetVMScaleSetVMWithUserData() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get VM scale set VM with UserData - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVMScaleSetVMWithUserData() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithUserData.json @@ -487,9 +484,8 @@ public async Task Exists_GetVMScaleSetVMWithUserData() Console.WriteLine($"Succeeded: {result}"); } - // Get VM scale set VM with UserData - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVMScaleSetVMWithUserData() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithUserData.json @@ -518,7 +514,7 @@ public async Task GetIfExists_GetVMScaleSetVMWithUserData() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -530,9 +526,8 @@ public async Task GetIfExists_GetVMScaleSetVMWithUserData() } } - // Get VM scale set VM with VMSizeProperties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVMScaleSetVMWithVMSizeProperties() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithVMSizeProperties.json @@ -565,9 +560,8 @@ public async Task Get_GetVMScaleSetVMWithVMSizeProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get VM scale set VM with VMSizeProperties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVMScaleSetVMWithVMSizeProperties() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithVMSizeProperties.json @@ -596,9 +590,8 @@ public async Task Exists_GetVMScaleSetVMWithVMSizeProperties() Console.WriteLine($"Succeeded: {result}"); } - // Get VM scale set VM with VMSizeProperties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVMScaleSetVMWithVMSizeProperties() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithVMSizeProperties.json @@ -627,7 +620,7 @@ public async Task GetIfExists_GetVMScaleSetVMWithVMSizeProperties() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -639,9 +632,8 @@ public async Task GetIfExists_GetVMScaleSetVMWithVMSizeProperties() } } - // VirtualMachineScaleSetVM_List_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VirtualMachineScaleSetVMListMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_List_MaximumSet_Gen.json @@ -676,12 +668,11 @@ public async Task GetAll_VirtualMachineScaleSetVMListMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSetVM_List_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VirtualMachineScaleSetVMListMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_List_MinimumSet_Gen.json @@ -713,7 +704,7 @@ public async Task GetAll_VirtualMachineScaleSetVMListMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmExtensionCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmExtensionCollection.cs index ba3c05eb0a57c..b54424f0cde3e 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmExtensionCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmExtensionCollection.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_VirtualMachineScaleSetVmExtensionCollection { - // Create VirtualMachineScaleSet VM extension. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVirtualMachineScaleSetVMExtension() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Create.json @@ -63,9 +63,8 @@ public async Task CreateOrUpdate_CreateVirtualMachineScaleSetVMExtension() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get VirtualMachineScaleSet VM extension. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualMachineScaleSetVMExtension() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Get.json @@ -99,9 +98,8 @@ public async Task Get_GetVirtualMachineScaleSetVMExtension() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get VirtualMachineScaleSet VM extension. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVirtualMachineScaleSetVMExtension() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Get.json @@ -131,9 +129,8 @@ public async Task Exists_GetVirtualMachineScaleSetVMExtension() Console.WriteLine($"Succeeded: {result}"); } - // Get VirtualMachineScaleSet VM extension. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVirtualMachineScaleSetVMExtension() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Get.json @@ -163,7 +160,7 @@ public async Task GetIfExists_GetVirtualMachineScaleSetVMExtension() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -175,9 +172,8 @@ public async Task GetIfExists_GetVirtualMachineScaleSetVMExtension() } } - // List extensions in Vmss instance. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListExtensionsInVmssInstance() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_List.json @@ -210,7 +206,7 @@ public async Task GetAll_ListExtensionsInVmssInstance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmExtensionResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmExtensionResource.cs index c135579c54dbe..85a63d93a1f5c 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmExtensionResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmExtensionResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Compute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_VirtualMachineScaleSetVmExtensionResource { - // Update VirtualMachineScaleSet VM extension. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateVirtualMachineScaleSetVMExtension() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Update.json @@ -61,9 +61,8 @@ public async Task Update_UpdateVirtualMachineScaleSetVMExtension() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete VirtualMachineScaleSet VM extension. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteVirtualMachineScaleSetVMExtension() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Delete.json @@ -87,12 +86,11 @@ public async Task Delete_DeleteVirtualMachineScaleSetVMExtension() // invoke the operation await virtualMachineScaleSetVmExtension.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get VirtualMachineScaleSet VM extension. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualMachineScaleSetVMExtension() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVMExtension_Get.json diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmResource.cs index 9120da9247cc5..cc050d16e441c 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_VirtualMachineScaleSetVmResource { - // VirtualMachineScaleSetVM_Reimage_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reimage_VirtualMachineScaleSetVMReimageMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Reimage_MaximumSet_Gen.json @@ -46,12 +46,11 @@ public async Task Reimage_VirtualMachineScaleSetVMReimageMaximumSetGen() }; await virtualMachineScaleSetVm.ReimageAsync(WaitUntil.Completed, content: content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSetVM_Reimage_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reimage_VirtualMachineScaleSetVMReimageMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Reimage_MinimumSet_Gen.json @@ -74,12 +73,11 @@ public async Task Reimage_VirtualMachineScaleSetVMReimageMinimumSetGen() // invoke the operation await virtualMachineScaleSetVm.ReimageAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSetVM_ReimageAll_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ReimageAll_VirtualMachineScaleSetVMReimageAllMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_ReimageAll_MaximumSet_Gen.json @@ -102,12 +100,11 @@ public async Task ReimageAll_VirtualMachineScaleSetVMReimageAllMaximumSetGen() // invoke the operation await virtualMachineScaleSetVm.ReimageAllAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSetVM_ReimageAll_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ReimageAll_VirtualMachineScaleSetVMReimageAllMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_ReimageAll_MinimumSet_Gen.json @@ -130,12 +127,11 @@ public async Task ReimageAll_VirtualMachineScaleSetVMReimageAllMinimumSetGen() // invoke the operation await virtualMachineScaleSetVm.ReimageAllAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSetVM_ApproveRollingUpgrade - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ApproveRollingUpgrade_VirtualMachineScaleSetVMApproveRollingUpgrade() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_ApproveRollingUpgrade.json @@ -158,12 +154,11 @@ public async Task ApproveRollingUpgrade_VirtualMachineScaleSetVMApproveRollingUp // invoke the operation await virtualMachineScaleSetVm.ApproveRollingUpgradeAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSetVM_Deallocate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Deallocate_VirtualMachineScaleSetVMDeallocateMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Deallocate_MaximumSet_Gen.json @@ -186,12 +181,11 @@ public async Task Deallocate_VirtualMachineScaleSetVMDeallocateMaximumSetGen() // invoke the operation await virtualMachineScaleSetVm.DeallocateAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSetVM_Deallocate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Deallocate_VirtualMachineScaleSetVMDeallocateMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Deallocate_MinimumSet_Gen.json @@ -214,12 +208,11 @@ public async Task Deallocate_VirtualMachineScaleSetVMDeallocateMinimumSetGen() // invoke the operation await virtualMachineScaleSetVm.DeallocateAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSetVM_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VirtualMachineScaleSetVMUpdateMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Update_MaximumSet_Gen.json @@ -582,9 +575,8 @@ public async Task Update_VirtualMachineScaleSetVMUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // VirtualMachineScaleSetVM_Update_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VirtualMachineScaleSetVMUpdateMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Update_MinimumSet_Gen.json @@ -616,9 +608,8 @@ public async Task Update_VirtualMachineScaleSetVMUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Force Delete a virtual machine from a VM scale set. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ForceDeleteAVirtualMachineFromAVMScaleSet() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Delete_Force.json @@ -642,12 +633,11 @@ public async Task Delete_ForceDeleteAVirtualMachineFromAVMScaleSet() bool? forceDeletion = true; await virtualMachineScaleSetVm.DeleteAsync(WaitUntil.Completed, forceDeletion: forceDeletion); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get VM scale set VM with UserData - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVMScaleSetVMWithUserData() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithUserData.json @@ -677,9 +667,8 @@ public async Task Get_GetVMScaleSetVMWithUserData() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get VM scale set VM with VMSizeProperties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVMScaleSetVMWithVMSizeProperties() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_WithVMSizeProperties.json @@ -709,9 +698,8 @@ public async Task Get_GetVMScaleSetVMWithVMSizeProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get instance view of a virtual machine from a VM scale set placed on a dedicated host group through automatic placement. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetInstanceView_GetInstanceViewOfAVirtualMachineFromAVMScaleSetPlacedOnADedicatedHostGroupThroughAutomaticPlacement() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Get_InstanceViewAutoPlacedOnDedicatedHostGroup.json @@ -737,9 +725,8 @@ public async Task GetInstanceView_GetInstanceViewOfAVirtualMachineFromAVMScaleSe Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachineScaleSetVM_PowerOff_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PowerOff_VirtualMachineScaleSetVMPowerOffMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_PowerOff_MaximumSet_Gen.json @@ -763,12 +750,11 @@ public async Task PowerOff_VirtualMachineScaleSetVMPowerOffMaximumSetGen() bool? skipShutdown = true; await virtualMachineScaleSetVm.PowerOffAsync(WaitUntil.Completed, skipShutdown: skipShutdown); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSetVM_PowerOff_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PowerOff_VirtualMachineScaleSetVMPowerOffMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_PowerOff_MinimumSet_Gen.json @@ -791,12 +777,11 @@ public async Task PowerOff_VirtualMachineScaleSetVMPowerOffMinimumSetGen() // invoke the operation await virtualMachineScaleSetVm.PowerOffAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSetVM_Restart_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_VirtualMachineScaleSetVMRestartMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Restart_MaximumSet_Gen.json @@ -819,12 +804,11 @@ public async Task Restart_VirtualMachineScaleSetVMRestartMaximumSetGen() // invoke the operation await virtualMachineScaleSetVm.RestartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSetVM_Restart_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_VirtualMachineScaleSetVMRestartMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Restart_MinimumSet_Gen.json @@ -847,12 +831,11 @@ public async Task Restart_VirtualMachineScaleSetVMRestartMinimumSetGen() // invoke the operation await virtualMachineScaleSetVm.RestartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSetVM_Start_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PowerOn_VirtualMachineScaleSetVMStartMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Start_MaximumSet_Gen.json @@ -875,12 +858,11 @@ public async Task PowerOn_VirtualMachineScaleSetVMStartMaximumSetGen() // invoke the operation await virtualMachineScaleSetVm.PowerOnAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSetVM_Start_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PowerOn_VirtualMachineScaleSetVMStartMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Start_MinimumSet_Gen.json @@ -903,12 +885,11 @@ public async Task PowerOn_VirtualMachineScaleSetVMStartMinimumSetGen() // invoke the operation await virtualMachineScaleSetVm.PowerOnAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSetVM_Redeploy_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Redeploy_VirtualMachineScaleSetVMRedeployMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Redeploy_MaximumSet_Gen.json @@ -931,12 +912,11 @@ public async Task Redeploy_VirtualMachineScaleSetVMRedeployMaximumSetGen() // invoke the operation await virtualMachineScaleSetVm.RedeployAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSetVM_Redeploy_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Redeploy_VirtualMachineScaleSetVMRedeployMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_Redeploy_MinimumSet_Gen.json @@ -959,12 +939,11 @@ public async Task Redeploy_VirtualMachineScaleSetVMRedeployMinimumSetGen() // invoke the operation await virtualMachineScaleSetVm.RedeployAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RetrieveBootDiagnosticsData of a virtual machine. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RetrieveBootDiagnosticsData_RetrieveBootDiagnosticsDataOfAVirtualMachine() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_RetrieveBootDiagnosticsData.json @@ -991,9 +970,8 @@ public async Task RetrieveBootDiagnosticsData_RetrieveBootDiagnosticsDataOfAVirt Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachineScaleSetVM_PerformMaintenance_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PerformMaintenance_VirtualMachineScaleSetVMPerformMaintenanceMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_PerformMaintenance_MaximumSet_Gen.json @@ -1016,12 +994,11 @@ public async Task PerformMaintenance_VirtualMachineScaleSetVMPerformMaintenanceM // invoke the operation await virtualMachineScaleSetVm.PerformMaintenanceAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSetVM_PerformMaintenance_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PerformMaintenance_VirtualMachineScaleSetVMPerformMaintenanceMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_PerformMaintenance_MinimumSet_Gen.json @@ -1044,12 +1021,11 @@ public async Task PerformMaintenance_VirtualMachineScaleSetVMPerformMaintenanceM // invoke the operation await virtualMachineScaleSetVm.PerformMaintenanceAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Simulate Eviction a virtual machine. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SimulateEviction_SimulateEvictionAVirtualMachine() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_SimulateEviction.json @@ -1072,12 +1048,11 @@ public async Task SimulateEviction_SimulateEvictionAVirtualMachine() // invoke the operation await virtualMachineScaleSetVm.SimulateEvictionAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // VirtualMachineScaleSetVM_AttachDetachDataDisks_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AttachDetachDataDisks_VirtualMachineScaleSetVMAttachDetachDataDisksMaximumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_AttachDetachDataDisks_MaximumSet_Gen.json @@ -1133,9 +1108,8 @@ public async Task AttachDetachDataDisks_VirtualMachineScaleSetVMAttachDetachData Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachineScaleSetVM_AttachDetachDataDisks_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AttachDetachDataDisks_VirtualMachineScaleSetVMAttachDetachDataDisksMinimumSetGen() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSetVM_AttachDetachDataDisks_MinimumSet_Gen.json @@ -1173,9 +1147,8 @@ public async Task AttachDetachDataDisks_VirtualMachineScaleSetVMAttachDetachData Console.WriteLine($"Succeeded: {result}"); } - // VirtualMachineScaleSetVMs_RunCommand - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RunCommand_VirtualMachineScaleSetVMsRunCommand() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand.json diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmRunCommandCollection.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmRunCommandCollection.cs index 6a6be30c2979d..e65b1683b5683 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmRunCommandCollection.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmRunCommandCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Compute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_VirtualMachineScaleSetVmRunCommandCollection { - // Create VirtualMachineScaleSet VM run command. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVirtualMachineScaleSetVMRunCommand() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_CreateOrUpdate.json @@ -79,9 +79,8 @@ public async Task CreateOrUpdate_CreateVirtualMachineScaleSetVMRunCommand() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get VirtualMachineScaleSet VM run commands. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualMachineScaleSetVMRunCommands() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Get.json @@ -115,9 +114,8 @@ public async Task Get_GetVirtualMachineScaleSetVMRunCommands() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get VirtualMachineScaleSet VM run commands. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVirtualMachineScaleSetVMRunCommands() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Get.json @@ -147,9 +145,8 @@ public async Task Exists_GetVirtualMachineScaleSetVMRunCommands() Console.WriteLine($"Succeeded: {result}"); } - // Get VirtualMachineScaleSet VM run commands. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVirtualMachineScaleSetVMRunCommands() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Get.json @@ -179,7 +176,7 @@ public async Task GetIfExists_GetVirtualMachineScaleSetVMRunCommands() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -191,9 +188,8 @@ public async Task GetIfExists_GetVirtualMachineScaleSetVMRunCommands() } } - // List run commands in Vmss instance. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRunCommandsInVmssInstance() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_List.json @@ -226,7 +222,7 @@ public async Task GetAll_ListRunCommandsInVmssInstance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmRunCommandResource.cs b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmRunCommandResource.cs index 9fb4a11494778..0116665adb84a 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmRunCommandResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/samples/Generated/Samples/Sample_VirtualMachineScaleSetVmRunCommandResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Compute.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Compute.Samples { public partial class Sample_VirtualMachineScaleSetVmRunCommandResource { - // Update VirtualMachineScaleSet VM run command. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateVirtualMachineScaleSetVMRunCommand() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Update.json @@ -60,9 +60,8 @@ public async Task Update_UpdateVirtualMachineScaleSetVMRunCommand() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete VirtualMachineScaleSet VM run command. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteVirtualMachineScaleSetVMRunCommand() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Delete.json @@ -86,12 +85,11 @@ public async Task Delete_DeleteVirtualMachineScaleSetVMRunCommand() // invoke the operation await virtualMachineScaleSetVmRunCommand.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get VirtualMachineScaleSet VM run commands. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualMachineScaleSetVMRunCommands() { // Generated from example definition: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/examples/runCommandExamples/VirtualMachineScaleSetVMRunCommand_Get.json diff --git a/sdk/computefleet/Azure.ResourceManager.ComputeFleet/samples/Generated/Samples/Sample_ComputeFleetCollection.cs b/sdk/computefleet/Azure.ResourceManager.ComputeFleet/samples/Generated/Samples/Sample_ComputeFleetCollection.cs index 1f1e0989278f5..c0a789ffe1394 100644 --- a/sdk/computefleet/Azure.ResourceManager.ComputeFleet/samples/Generated/Samples/Sample_ComputeFleetCollection.cs +++ b/sdk/computefleet/Azure.ResourceManager.ComputeFleet/samples/Generated/Samples/Sample_ComputeFleetCollection.cs @@ -13,14 +13,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ComputeFleet.Samples { public partial class Sample_ComputeFleetCollection { - // Fleets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FleetsGet() { // Generated from example definition: 2024-11-01/Fleets_Get.json @@ -52,9 +52,8 @@ public async Task Get_FleetsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Fleets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_FleetsGet() { // Generated from example definition: 2024-11-01/Fleets_Get.json @@ -82,9 +81,8 @@ public async Task Exists_FleetsGet() Console.WriteLine($"Succeeded: {result}"); } - // Fleets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_FleetsGet() { // Generated from example definition: 2024-11-01/Fleets_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_FleetsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_FleetsGet() } } - // Fleets_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_FleetsCreateOrUpdate() { // Generated from example definition: 2024-11-01/Fleets_CreateOrUpdate.json @@ -553,9 +550,8 @@ public async Task CreateOrUpdate_FleetsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Fleets_CreateOrUpdate_MinimumSet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_FleetsCreateOrUpdateMinimumSet() { // Generated from example definition: 2024-11-01/Fleets_CreateOrUpdate_MinimumSet.json @@ -682,9 +678,8 @@ public async Task CreateOrUpdate_FleetsCreateOrUpdateMinimumSet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Fleets_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_FleetsListByResourceGroup() { // Generated from example definition: 2024-11-01/Fleets_ListByResourceGroup.json @@ -715,7 +710,7 @@ public async Task GetAll_FleetsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/computefleet/Azure.ResourceManager.ComputeFleet/samples/Generated/Samples/Sample_ComputeFleetResource.cs b/sdk/computefleet/Azure.ResourceManager.ComputeFleet/samples/Generated/Samples/Sample_ComputeFleetResource.cs index 095e2ec235d22..a9048cf5907c4 100644 --- a/sdk/computefleet/Azure.ResourceManager.ComputeFleet/samples/Generated/Samples/Sample_ComputeFleetResource.cs +++ b/sdk/computefleet/Azure.ResourceManager.ComputeFleet/samples/Generated/Samples/Sample_ComputeFleetResource.cs @@ -13,14 +13,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ComputeFleet.Samples { public partial class Sample_ComputeFleetResource { - // Fleets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FleetsGet() { // Generated from example definition: 2024-11-01/Fleets_Get.json @@ -49,9 +49,8 @@ public async Task Get_FleetsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Fleets_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_FleetsUpdate() { // Generated from example definition: 2024-11-01/Fleets_Update.json @@ -464,9 +463,8 @@ public async Task Update_FleetsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Fleets_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_FleetsDelete() { // Generated from example definition: 2024-11-01/Fleets_Delete.json @@ -488,12 +486,11 @@ public async Task Delete_FleetsDelete() // invoke the operation await computeFleet.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Fleets_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetComputeFleets_FleetsListBySubscription() { // Generated from example definition: 2024-11-01/Fleets_ListBySubscription.json @@ -520,12 +517,11 @@ public async Task GetComputeFleets_FleetsListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Fleets_ListVirtualMachineScaleSets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineScaleSets_FleetsListVirtualMachineScaleSets() { // Generated from example definition: 2024-11-01/Fleets_ListVirtualMachineScaleSets.json @@ -550,7 +546,7 @@ public async Task GetVirtualMachineScaleSets_FleetsListVirtualMachineScaleSets() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/computeschedule/Azure.ResourceManager.ComputeSchedule/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/computeschedule/Azure.ResourceManager.ComputeSchedule/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 835f7ee7a12db..ef1746a4ef1b4 100644 --- a/sdk/computeschedule/Azure.ResourceManager.ComputeSchedule/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/computeschedule/Azure.ResourceManager.ComputeSchedule/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ComputeSchedule.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ComputeSchedule.Samples { public partial class Sample_SubscriptionResourceExtensions { - // ScheduledActions_VirtualMachinesSubmitDeallocate - generated by [MaximumSet] rule - generated by [MaximumSet] rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SubmitVirtualMachineDeallocate_ScheduledActionsVirtualMachinesSubmitDeallocateGeneratedByMaximumSetRuleGeneratedByMaximumSetRule() { // Generated from example definition: 2024-08-15-preview/ScheduledActions_VirtualMachinesSubmitDeallocate_MaximumSet_Gen.json @@ -54,9 +54,8 @@ public async Task SubmitVirtualMachineDeallocate_ScheduledActionsVirtualMachines Console.WriteLine($"Succeeded: {result}"); } - // ScheduledActions_VirtualMachinesSubmitDeallocate - generated by [MaximumSet] rule - generated by [MinimumSet] rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SubmitVirtualMachineDeallocate_ScheduledActionsVirtualMachinesSubmitDeallocateGeneratedByMaximumSetRuleGeneratedByMinimumSetRule() { // Generated from example definition: 2024-08-15-preview/ScheduledActions_VirtualMachinesSubmitDeallocate_MinimumSet_Gen.json @@ -84,9 +83,8 @@ public async Task SubmitVirtualMachineDeallocate_ScheduledActionsVirtualMachines Console.WriteLine($"Succeeded: {result}"); } - // ScheduledActions_VirtualMachinesSubmitHibernate - generated by [MaximumSet] rule - generated by [MaximumSet] rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SubmitVirtualMachineHibernate_ScheduledActionsVirtualMachinesSubmitHibernateGeneratedByMaximumSetRuleGeneratedByMaximumSetRule() { // Generated from example definition: 2024-08-15-preview/ScheduledActions_VirtualMachinesSubmitHibernate_MaximumSet_Gen.json @@ -122,9 +120,8 @@ public async Task SubmitVirtualMachineHibernate_ScheduledActionsVirtualMachinesS Console.WriteLine($"Succeeded: {result}"); } - // ScheduledActions_VirtualMachinesSubmitHibernate - generated by [MaximumSet] rule - generated by [MinimumSet] rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SubmitVirtualMachineHibernate_ScheduledActionsVirtualMachinesSubmitHibernateGeneratedByMaximumSetRuleGeneratedByMinimumSetRule() { // Generated from example definition: 2024-08-15-preview/ScheduledActions_VirtualMachinesSubmitHibernate_MinimumSet_Gen.json @@ -152,9 +149,8 @@ public async Task SubmitVirtualMachineHibernate_ScheduledActionsVirtualMachinesS Console.WriteLine($"Succeeded: {result}"); } - // ScheduledActions_VirtualMachinesSubmitStart - generated by [MaximumSet] rule - generated by [MaximumSet] rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SubmitVirtualMachineStart_ScheduledActionsVirtualMachinesSubmitStartGeneratedByMaximumSetRuleGeneratedByMaximumSetRule() { // Generated from example definition: 2024-08-15-preview/ScheduledActions_VirtualMachinesSubmitStart_MaximumSet_Gen.json @@ -190,9 +186,8 @@ public async Task SubmitVirtualMachineStart_ScheduledActionsVirtualMachinesSubmi Console.WriteLine($"Succeeded: {result}"); } - // ScheduledActions_VirtualMachinesSubmitStart - generated by [MaximumSet] rule - generated by [MinimumSet] rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SubmitVirtualMachineStart_ScheduledActionsVirtualMachinesSubmitStartGeneratedByMaximumSetRuleGeneratedByMinimumSetRule() { // Generated from example definition: 2024-08-15-preview/ScheduledActions_VirtualMachinesSubmitStart_MinimumSet_Gen.json @@ -220,9 +215,8 @@ public async Task SubmitVirtualMachineStart_ScheduledActionsVirtualMachinesSubmi Console.WriteLine($"Succeeded: {result}"); } - // ScheduledActions_VirtualMachinesExecuteDeallocate - generated by [MaximumSet] rule - generated by [MaximumSet] rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExecuteVirtualMachineDeallocate_ScheduledActionsVirtualMachinesExecuteDeallocateGeneratedByMaximumSetRuleGeneratedByMaximumSetRule() { // Generated from example definition: 2024-08-15-preview/ScheduledActions_VirtualMachinesExecuteDeallocate_MaximumSet_Gen.json @@ -258,9 +252,8 @@ public async Task ExecuteVirtualMachineDeallocate_ScheduledActionsVirtualMachine Console.WriteLine($"Succeeded: {result}"); } - // ScheduledActions_VirtualMachinesExecuteDeallocate - generated by [MaximumSet] rule - generated by [MinimumSet] rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExecuteVirtualMachineDeallocate_ScheduledActionsVirtualMachinesExecuteDeallocateGeneratedByMaximumSetRuleGeneratedByMinimumSetRule() { // Generated from example definition: 2024-08-15-preview/ScheduledActions_VirtualMachinesExecuteDeallocate_MinimumSet_Gen.json @@ -288,9 +281,8 @@ public async Task ExecuteVirtualMachineDeallocate_ScheduledActionsVirtualMachine Console.WriteLine($"Succeeded: {result}"); } - // ScheduledActions_VirtualMachinesExecuteHibernate - generated by [MaximumSet] rule - generated by [MaximumSet] rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExecuteVirtualMachineHibernate_ScheduledActionsVirtualMachinesExecuteHibernateGeneratedByMaximumSetRuleGeneratedByMaximumSetRule() { // Generated from example definition: 2024-08-15-preview/ScheduledActions_VirtualMachinesExecuteHibernate_MaximumSet_Gen.json @@ -326,9 +318,8 @@ public async Task ExecuteVirtualMachineHibernate_ScheduledActionsVirtualMachines Console.WriteLine($"Succeeded: {result}"); } - // ScheduledActions_VirtualMachinesExecuteHibernate - generated by [MaximumSet] rule - generated by [MinimumSet] rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExecuteVirtualMachineHibernate_ScheduledActionsVirtualMachinesExecuteHibernateGeneratedByMaximumSetRuleGeneratedByMinimumSetRule() { // Generated from example definition: 2024-08-15-preview/ScheduledActions_VirtualMachinesExecuteHibernate_MinimumSet_Gen.json @@ -356,9 +347,8 @@ public async Task ExecuteVirtualMachineHibernate_ScheduledActionsVirtualMachines Console.WriteLine($"Succeeded: {result}"); } - // ScheduledActions_VirtualMachinesExecuteStart - generated by [MaximumSet] rule - generated by [MaximumSet] rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExecuteVirtualMachineStart_ScheduledActionsVirtualMachinesExecuteStartGeneratedByMaximumSetRuleGeneratedByMaximumSetRule() { // Generated from example definition: 2024-08-15-preview/ScheduledActions_VirtualMachinesExecuteStart_MaximumSet_Gen.json @@ -394,9 +384,8 @@ public async Task ExecuteVirtualMachineStart_ScheduledActionsVirtualMachinesExec Console.WriteLine($"Succeeded: {result}"); } - // ScheduledActions_VirtualMachinesExecuteStart - generated by [MaximumSet] rule - generated by [MinimumSet] rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExecuteVirtualMachineStart_ScheduledActionsVirtualMachinesExecuteStartGeneratedByMaximumSetRuleGeneratedByMinimumSetRule() { // Generated from example definition: 2024-08-15-preview/ScheduledActions_VirtualMachinesExecuteStart_MinimumSet_Gen.json @@ -424,9 +413,8 @@ public async Task ExecuteVirtualMachineStart_ScheduledActionsVirtualMachinesExec Console.WriteLine($"Succeeded: {result}"); } - // ScheduledActions_VirtualMachinesGetOperationStatus - generated by [MinimumSet] rule - generated by [MaximumSet] rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineOperationStatus_ScheduledActionsVirtualMachinesGetOperationStatusGeneratedByMinimumSetRuleGeneratedByMaximumSetRule() { // Generated from example definition: 2024-08-15-preview/ScheduledActions_VirtualMachinesGetOperationStatus_MaximumSet_Gen.json @@ -454,9 +442,8 @@ public async Task GetVirtualMachineOperationStatus_ScheduledActionsVirtualMachin Console.WriteLine($"Succeeded: {result}"); } - // ScheduledActions_VirtualMachinesGetOperationStatus - generated by [MinimumSet] rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineOperationStatus_ScheduledActionsVirtualMachinesGetOperationStatusGeneratedByMinimumSetRule() { // Generated from example definition: 2024-08-15-preview/ScheduledActions_VirtualMachinesGetOperationStatus_MinimumSet_Gen.json @@ -484,9 +471,8 @@ public async Task GetVirtualMachineOperationStatus_ScheduledActionsVirtualMachin Console.WriteLine($"Succeeded: {result}"); } - // ScheduledActions_VirtualMachinesCancelOperations - generated by [MaximumSet] rule - generated by [MaximumSet] rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CancelVirtualMachineOperations_ScheduledActionsVirtualMachinesCancelOperationsGeneratedByMaximumSetRuleGeneratedByMaximumSetRule() { // Generated from example definition: 2024-08-15-preview/ScheduledActions_VirtualMachinesCancelOperations_MaximumSet_Gen.json @@ -514,9 +500,8 @@ public async Task CancelVirtualMachineOperations_ScheduledActionsVirtualMachines Console.WriteLine($"Succeeded: {result}"); } - // ScheduledActions_VirtualMachinesCancelOperations - generated by [MaximumSet] rule - generated by [MinimumSet] rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CancelVirtualMachineOperations_ScheduledActionsVirtualMachinesCancelOperationsGeneratedByMaximumSetRuleGeneratedByMinimumSetRule() { // Generated from example definition: 2024-08-15-preview/ScheduledActions_VirtualMachinesCancelOperations_MinimumSet_Gen.json @@ -544,9 +529,8 @@ public async Task CancelVirtualMachineOperations_ScheduledActionsVirtualMachines Console.WriteLine($"Succeeded: {result}"); } - // CS_ScheduledActions_VirtualMachinesGetOperationErrors_Max - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineOperationErrors_CSScheduledActionsVirtualMachinesGetOperationErrorsMax() { // Generated from example definition: 2024-08-15-preview/ScheduledActions_VirtualMachinesGetOperationErrors_MaximumSet_Gen.json @@ -574,9 +558,8 @@ public async Task GetVirtualMachineOperationErrors_CSScheduledActionsVirtualMach Console.WriteLine($"Succeeded: {result}"); } - // CS_ScheduledActions_VirtualMachinesGetOperationErrors_Min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualMachineOperationErrors_CSScheduledActionsVirtualMachinesGetOperationErrorsMin() { // Generated from example definition: 2024-08-15-preview/ScheduledActions_VirtualMachinesGetOperationErrors_MinimumSet_Gen.json diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ConfidentialLedgerCollection.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ConfidentialLedgerCollection.cs index 8d6bd2be95d8a..0a874880fa1db 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ConfidentialLedgerCollection.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ConfidentialLedgerCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ConfidentialLedger.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ConfidentialLedger.Samples { public partial class Sample_ConfidentialLedgerCollection { - // ConfidentialLedgerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConfidentialLedgerGet() { // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ConfidentialLedger_Get.json @@ -50,9 +50,8 @@ public async Task Get_ConfidentialLedgerGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfidentialLedgerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ConfidentialLedgerGet() { // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ConfidentialLedger_Get.json @@ -80,9 +79,8 @@ public async Task Exists_ConfidentialLedgerGet() Console.WriteLine($"Succeeded: {result}"); } - // ConfidentialLedgerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ConfidentialLedgerGet() { // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ConfidentialLedger_Get.json @@ -110,7 +108,7 @@ public async Task GetIfExists_ConfidentialLedgerGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_ConfidentialLedgerGet() } } - // ConfidentialLedgerCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ConfidentialLedgerCreate() { // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ConfidentialLedger_Create.json @@ -186,9 +183,8 @@ public async Task CreateOrUpdate_ConfidentialLedgerCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfidentialLedgerList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ConfidentialLedgerList() { // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ConfidentialLedger_List.json @@ -219,7 +215,7 @@ public async Task GetAll_ConfidentialLedgerList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ConfidentialLedgerResource.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ConfidentialLedgerResource.cs index 525dac5c146e2..91ba004e34272 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ConfidentialLedgerResource.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ConfidentialLedgerResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ConfidentialLedger.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ConfidentialLedger.Samples { public partial class Sample_ConfidentialLedgerResource { - // ConfidentialLedgerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConfidentialLedgerGet() { // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ConfidentialLedger_Get.json @@ -47,9 +47,8 @@ public async Task Get_ConfidentialLedgerGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfidentialLedgerDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ConfidentialLedgerDelete() { // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ConfidentialLedger_Delete.json @@ -71,12 +70,11 @@ public async Task Delete_ConfidentialLedgerDelete() // invoke the operation await confidentialLedger.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ConfidentialLedgerUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ConfidentialLedgerUpdate() { // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ConfidentialLedger_Update.json @@ -135,9 +133,8 @@ public async Task Update_ConfidentialLedgerUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfidentialLedgerListBySub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConfidentialLedgers_ConfidentialLedgerListBySub() { // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ConfidentialLedger_ListBySub.json @@ -164,12 +161,11 @@ public async Task GetConfidentialLedgers_ConfidentialLedgerListBySub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ConfidentialLedgerBackup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Backup_ConfidentialLedgerBackup() { // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ConfidentialLedger_Backup.json @@ -199,9 +195,8 @@ public async Task Backup_ConfidentialLedgerBackup() Console.WriteLine($"Succeeded: {result}"); } - // ConfidentialLedgerRestore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restore_ConfidentialLedgerRestore() { // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ConfidentialLedger_Restore.json diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ManagedCcfCollection.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ManagedCcfCollection.cs index 7f7e809ad4142..e00ce454bab1f 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ManagedCcfCollection.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ManagedCcfCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.ConfidentialLedger.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ConfidentialLedger.Samples { public partial class Sample_ManagedCcfCollection { - // ManagedCCFGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ManagedCCFGet() { // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ManagedCCF_Get.json @@ -51,9 +51,8 @@ public async Task Get_ManagedCCFGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedCCFGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ManagedCCFGet() { // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ManagedCCF_Get.json @@ -81,9 +80,8 @@ public async Task Exists_ManagedCCFGet() Console.WriteLine($"Succeeded: {result}"); } - // ManagedCCFGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ManagedCCFGet() { // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ManagedCCF_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_ManagedCCFGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_ManagedCCFGet() } } - // ManagedCCFCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ManagedCCFCreate() { // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ManagedCCF_Create.json @@ -185,9 +182,8 @@ public async Task CreateOrUpdate_ManagedCCFCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedCCFList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ManagedCCFList() { // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ManagedCCF_List.json @@ -218,7 +214,7 @@ public async Task GetAll_ManagedCCFList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ManagedCcfResource.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ManagedCcfResource.cs index b920f179d3826..052cbcc5e5b05 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ManagedCcfResource.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ManagedCcfResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ConfidentialLedger.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ConfidentialLedger.Samples { public partial class Sample_ManagedCcfResource { - // ManagedCCFGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ManagedCCFGet() { // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ManagedCCF_Get.json @@ -47,9 +47,8 @@ public async Task Get_ManagedCCFGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConfidentialLedgerDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ConfidentialLedgerDelete() { // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ManagedCCF_Delete.json @@ -71,12 +70,11 @@ public async Task Delete_ConfidentialLedgerDelete() // invoke the operation await managedCcf.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ManagedCCFUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ManagedCCFUpdate() { // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ManagedCCF_Update.json @@ -121,9 +119,8 @@ public async Task Update_ManagedCCFUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedCCFListBySub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagedCcfs_ManagedCCFListBySub() { // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ManagedCCF_ListBySub.json @@ -150,12 +147,11 @@ public async Task GetManagedCcfs_ManagedCCFListBySub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ManagedCCFBackup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Backup_ManagedCCFBackup() { // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ManagedCCF_Backup.json @@ -185,9 +181,8 @@ public async Task Backup_ManagedCCFBackup() Console.WriteLine($"Succeeded: {result}"); } - // ManagedCCFRestore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restore_ManagedCCFRestore() { // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ManagedCCF_Restore.json diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 6702994eb29d8..56b67bed0887a 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ConfidentialLedger.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ConfidentialLedger.Samples { public partial class Sample_SubscriptionResourceExtensions { - // CheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckConfidentialLedgerNameAvailability_CheckNameAvailability() { // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/CheckNameAvailability.json diff --git a/sdk/confluent/Azure.ResourceManager.Confluent/samples/Generated/Samples/Sample_ConfluentOrganizationCollection.cs b/sdk/confluent/Azure.ResourceManager.Confluent/samples/Generated/Samples/Sample_ConfluentOrganizationCollection.cs index 9a89393a0e108..5446cc4f14bde 100644 --- a/sdk/confluent/Azure.ResourceManager.Confluent/samples/Generated/Samples/Sample_ConfluentOrganizationCollection.cs +++ b/sdk/confluent/Azure.ResourceManager.Confluent/samples/Generated/Samples/Sample_ConfluentOrganizationCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Confluent.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Confluent.Samples { public partial class Sample_ConfluentOrganizationCollection { - // Organization_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_OrganizationListByResourceGroup() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Organization_ListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_OrganizationListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Organization_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_OrganizationGet() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Organization_Get.json @@ -86,9 +85,8 @@ public async Task Get_OrganizationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Organization_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_OrganizationGet() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Organization_Get.json @@ -116,9 +114,8 @@ public async Task Exists_OrganizationGet() Console.WriteLine($"Succeeded: {result}"); } - // Organization_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_OrganizationGet() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Organization_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_OrganizationGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_OrganizationGet() } } - // Organization_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_OrganizationCreate() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Organization_Create.json diff --git a/sdk/confluent/Azure.ResourceManager.Confluent/samples/Generated/Samples/Sample_ConfluentOrganizationResource.cs b/sdk/confluent/Azure.ResourceManager.Confluent/samples/Generated/Samples/Sample_ConfluentOrganizationResource.cs index 244668ff3c9e8..0c5ff47cc2352 100644 --- a/sdk/confluent/Azure.ResourceManager.Confluent/samples/Generated/Samples/Sample_ConfluentOrganizationResource.cs +++ b/sdk/confluent/Azure.ResourceManager.Confluent/samples/Generated/Samples/Sample_ConfluentOrganizationResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Confluent.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Confluent.Samples { public partial class Sample_ConfluentOrganizationResource { - // Organization_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConfluentOrganizations_OrganizationListBySubscription() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Organization_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetConfluentOrganizations_OrganizationListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Organization_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_OrganizationGet() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Organization_Get.json @@ -79,9 +78,8 @@ public async Task Get_OrganizationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Confluent_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ConfluentUpdate() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Organization_Update.json @@ -118,9 +116,8 @@ public async Task Update_ConfluentUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Confluent_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ConfluentDelete() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Organization_Delete.json @@ -142,12 +139,11 @@ public async Task Delete_ConfluentDelete() // invoke the operation await confluentOrganization.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Organization_ListEnvironments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEnvironments_OrganizationListEnvironments() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Organization_EnvironmentList.json @@ -173,12 +169,11 @@ public async Task GetEnvironments_OrganizationListEnvironments() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Organization_GetEnvironmentById - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEnvironment_OrganizationGetEnvironmentById() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Organization_GetEnvironmentById.json @@ -204,9 +199,8 @@ public async Task GetEnvironment_OrganizationGetEnvironmentById() Console.WriteLine($"Succeeded: {result}"); } - // Organization_ListClusters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetClusters_OrganizationListClusters() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Organization_ClusterList.json @@ -233,12 +227,11 @@ public async Task GetClusters_OrganizationListClusters() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Organization_ListSchemaRegistryClusters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSchemaRegistryClusters_OrganizationListSchemaRegistryClusters() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Organization_ListSchemaRegistryClusters.json @@ -264,12 +257,11 @@ public async Task GetSchemaRegistryClusters_OrganizationListSchemaRegistryCluste Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Organization_ListRegions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRegions_OrganizationListRegions() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Organization_ListRegions.json @@ -303,9 +295,8 @@ public async Task GetRegions_OrganizationListRegions() Console.WriteLine($"Succeeded: {result}"); } - // Organization_CreateAPIKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateApiKey_OrganizationCreateAPIKey() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Organization_CreateClusterAPIKey.json @@ -337,9 +328,8 @@ public async Task CreateApiKey_OrganizationCreateAPIKey() Console.WriteLine($"Succeeded: {result}"); } - // Organization_DeleteClusterAPIKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteClusterApiKey_OrganizationDeleteClusterAPIKey() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Organization_DeleteClusterAPIKey.json @@ -362,12 +352,11 @@ public async Task DeleteClusterApiKey_OrganizationDeleteClusterAPIKey() string apiKeyId = "ZFZ6SZZZWGYBEIFB"; await confluentOrganization.DeleteClusterApiKeyAsync(apiKeyId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Organization_GetClusterAPIKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetClusterApiKey_OrganizationGetClusterAPIKey() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Organization_GetClusterAPIKey.json @@ -393,9 +382,8 @@ public async Task GetClusterApiKey_OrganizationGetClusterAPIKey() Console.WriteLine($"Succeeded: {result}"); } - // Organization_GetSchemaRegistryClusterById - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSchemaRegistryCluster_OrganizationGetSchemaRegistryClusterById() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Organization_GetSchemaRegistryClusterById.json @@ -422,9 +410,8 @@ public async Task GetSchemaRegistryCluster_OrganizationGetSchemaRegistryClusterB Console.WriteLine($"Succeeded: {result}"); } - // Organization_GetClusterById - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCluster_OrganizationGetClusterById() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Organization_GetClusterById.json @@ -451,9 +438,8 @@ public async Task GetCluster_OrganizationGetClusterById() Console.WriteLine($"Succeeded: {result}"); } - // Access_UsersList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAccessUsers_AccessUsersList() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Access_UsersList.json @@ -486,9 +472,8 @@ public async Task GetAccessUsers_AccessUsersList() Console.WriteLine($"Succeeded: {result}"); } - // Access_ServiceAccountsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAccessServiceAccounts_AccessServiceAccountsList() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Access_ServiceAccountsList.json @@ -521,9 +506,8 @@ public async Task GetAccessServiceAccounts_AccessServiceAccountsList() Console.WriteLine($"Succeeded: {result}"); } - // Access_InvitationsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAccessInvitations_AccessInvitationsList() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Access_InvitationsList.json @@ -557,9 +541,8 @@ public async Task GetAccessInvitations_AccessInvitationsList() Console.WriteLine($"Succeeded: {result}"); } - // Access_InviteUser - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task InviteUser_AccessInviteUser() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Access_InviteUser.json @@ -592,9 +575,8 @@ public async Task InviteUser_AccessInviteUser() Console.WriteLine($"Succeeded: {result}"); } - // Access_EnvironmentList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAccessEnvironments_AccessEnvironmentList() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Access_EnvironmentList.json @@ -627,9 +609,8 @@ public async Task GetAccessEnvironments_AccessEnvironmentList() Console.WriteLine($"Succeeded: {result}"); } - // Access_ClusterList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAccessClusters_AccessClusterList() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Access_ClusterList.json @@ -662,9 +643,8 @@ public async Task GetAccessClusters_AccessClusterList() Console.WriteLine($"Succeeded: {result}"); } - // Access_RoleBindingList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAccessRoleBindings_AccessRoleBindingList() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Access_RoleBindingList.json @@ -697,9 +677,8 @@ public async Task GetAccessRoleBindings_AccessRoleBindingList() Console.WriteLine($"Succeeded: {result}"); } - // Access_CreateRoleBinding - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateAccessRoleBinding_AccessCreateRoleBinding() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Access_CreateRoleBinding.json @@ -730,9 +709,8 @@ public async Task CreateAccessRoleBinding_AccessCreateRoleBinding() Console.WriteLine($"Succeeded: {result}"); } - // Access_DeleteRoleBinding - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteAccessRoleBinding_AccessDeleteRoleBinding() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Access_DeleteRoleBinding.json @@ -755,12 +733,11 @@ public async Task DeleteAccessRoleBinding_AccessDeleteRoleBinding() string roleBindingId = "dlz-f3a90de"; await confluentOrganization.DeleteAccessRoleBindingAsync(roleBindingId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Access_RoleBindingNameList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAccessRoleBindingNames_AccessRoleBindingNameList() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Access_RoleBindingNameList.json diff --git a/sdk/confluent/Azure.ResourceManager.Confluent/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs b/sdk/confluent/Azure.ResourceManager.Confluent/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs index e085eb01007f6..abe211ccf4e65 100644 --- a/sdk/confluent/Azure.ResourceManager.Confluent/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs +++ b/sdk/confluent/Azure.ResourceManager.Confluent/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Confluent.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Confluent.Samples { public partial class Sample_ResourceGroupResourceExtensions { - // Validations_ValidateOrganizations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateOrganization_ValidationsValidateOrganizations() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Validations_ValidateOrganizations.json @@ -67,9 +67,8 @@ public async Task ValidateOrganization_ValidationsValidateOrganizations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Validations_ValidateOrganizations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateOrganizationV2_ValidationsValidateOrganizations() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/Validations_ValidateOrganizationsV2.json diff --git a/sdk/confluent/Azure.ResourceManager.Confluent/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/confluent/Azure.ResourceManager.Confluent/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 84a79766cab15..56cc1002af244 100644 --- a/sdk/confluent/Azure.ResourceManager.Confluent/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/confluent/Azure.ResourceManager.Confluent/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Confluent.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Confluent.Samples { public partial class Sample_SubscriptionResourceExtensions { - // MarketplaceAgreements_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMarketplaceAgreements_MarketplaceAgreementsList() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/MarketplaceAgreements_List.json @@ -41,12 +41,11 @@ public async Task GetMarketplaceAgreements_MarketplaceAgreementsList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // MarketplaceAgreements_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateMarketplaceAgreement_MarketplaceAgreementsCreate() { // Generated from example definition: specification/confluent/resource-manager/Microsoft.Confluent/stable/2024-02-13/examples/MarketplaceAgreements_Create.json diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VCenterInventoryItemCollection.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VCenterInventoryItemCollection.cs index ac065e3fa5afc..d7b54a17b76bd 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VCenterInventoryItemCollection.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VCenterInventoryItemCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ConnectedVMwarevSphere.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ConnectedVMwarevSphere.Samples { public partial class Sample_VCenterInventoryItemCollection { - // CreateInventoryItem - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateInventoryItem() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/CreateInventoryItem.json @@ -52,9 +52,8 @@ public async Task CreateOrUpdate_CreateInventoryItem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetInventoryItem - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetInventoryItem() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetInventoryItem.json @@ -87,9 +86,8 @@ public async Task Get_GetInventoryItem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetInventoryItem - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetInventoryItem() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetInventoryItem.json @@ -118,9 +116,8 @@ public async Task Exists_GetInventoryItem() Console.WriteLine($"Succeeded: {result}"); } - // GetInventoryItem - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetInventoryItem() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetInventoryItem.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetInventoryItem() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetInventoryItem() } } - // InventoryItemsListByVCenter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_InventoryItemsListByVCenter() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/InventoryItems_ListByVCenter.json @@ -195,7 +191,7 @@ public async Task GetAll_InventoryItemsListByVCenter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VCenterInventoryItemResource.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VCenterInventoryItemResource.cs index ad964e700cb2f..f38203deae623 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VCenterInventoryItemResource.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VCenterInventoryItemResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ConnectedVMwarevSphere.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ConnectedVMwarevSphere.Samples { public partial class Sample_VCenterInventoryItemResource { - // CreateInventoryItem - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateInventoryItem() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/CreateInventoryItem.json @@ -49,9 +49,8 @@ public async Task Update_CreateInventoryItem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetInventoryItem - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetInventoryItem() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetInventoryItem.json @@ -81,9 +80,8 @@ public async Task Get_GetInventoryItem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteInventoryItem - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteInventoryItem() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/DeleteInventoryItem.json @@ -106,7 +104,7 @@ public async Task Delete_DeleteInventoryItem() // invoke the operation await vCenterInventoryItem.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareClusterCollection.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareClusterCollection.cs index dce572f897259..06fb06e2254b7 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareClusterCollection.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareClusterCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ConnectedVMwarevSphere.Samples { public partial class Sample_VMwareClusterCollection { - // CreateCluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateCluster() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/CreateCluster.json @@ -60,9 +60,8 @@ public async Task CreateOrUpdate_CreateCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetCluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCluster() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetCluster.json @@ -94,9 +93,8 @@ public async Task Get_GetCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetCluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCluster() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetCluster.json @@ -124,9 +122,8 @@ public async Task Exists_GetCluster() Console.WriteLine($"Succeeded: {result}"); } - // GetCluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCluster() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetCluster.json @@ -154,7 +151,7 @@ public async Task GetIfExists_GetCluster() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -166,9 +163,8 @@ public async Task GetIfExists_GetCluster() } } - // ListClustersByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListClustersByResourceGroup() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/ListClustersByResourceGroup.json @@ -199,7 +195,7 @@ public async Task GetAll_ListClustersByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareClusterResource.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareClusterResource.cs index 479e5f29f72b6..4cc58f444ff86 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareClusterResource.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareClusterResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ConnectedVMwarevSphere.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ConnectedVMwarevSphere.Samples { public partial class Sample_VMwareClusterResource { - // GetCluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCluster() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetCluster.json @@ -47,9 +47,8 @@ public async Task Get_GetCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UpdateCluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateCluster() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/UpdateCluster.json @@ -86,9 +85,8 @@ public async Task Update_UpdateCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteCluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteCluster() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/DeleteCluster.json @@ -110,12 +108,11 @@ public async Task Delete_DeleteCluster() // invoke the operation await vMwareCluster.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListClusters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVMwareClusters_ListClusters() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/ListClusters.json @@ -142,7 +139,7 @@ public async Task GetVMwareClusters_ListClusters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareDatastoreCollection.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareDatastoreCollection.cs index b1bba8d638760..3951c5584cb14 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareDatastoreCollection.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareDatastoreCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ConnectedVMwarevSphere.Samples { public partial class Sample_VMwareDatastoreCollection { - // CreateDatastore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateDatastore() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/CreateDatastore.json @@ -60,9 +60,8 @@ public async Task CreateOrUpdate_CreateDatastore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetDatastore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDatastore() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetDatastore.json @@ -94,9 +93,8 @@ public async Task Get_GetDatastore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetDatastore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDatastore() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetDatastore.json @@ -124,9 +122,8 @@ public async Task Exists_GetDatastore() Console.WriteLine($"Succeeded: {result}"); } - // GetDatastore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDatastore() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetDatastore.json @@ -154,7 +151,7 @@ public async Task GetIfExists_GetDatastore() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -166,9 +163,8 @@ public async Task GetIfExists_GetDatastore() } } - // ListDatastoresByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDatastoresByResourceGroup() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/ListDatastoresByResourceGroup.json @@ -199,7 +195,7 @@ public async Task GetAll_ListDatastoresByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareDatastoreResource.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareDatastoreResource.cs index 676f7d192c7dc..2c7b4681f16e1 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareDatastoreResource.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareDatastoreResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ConnectedVMwarevSphere.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ConnectedVMwarevSphere.Samples { public partial class Sample_VMwareDatastoreResource { - // GetDatastore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDatastore() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetDatastore.json @@ -47,9 +47,8 @@ public async Task Get_GetDatastore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UpdateDatastore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateDatastore() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/UpdateDatastore.json @@ -86,9 +85,8 @@ public async Task Update_UpdateDatastore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteDatastore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteDatastore() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/DeleteDatastore.json @@ -110,12 +108,11 @@ public async Task Delete_DeleteDatastore() // invoke the operation await vMwareDatastore.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListDatastores - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVMwareDatastores_ListDatastores() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/ListDatastores.json @@ -142,7 +139,7 @@ public async Task GetVMwareDatastores_ListDatastores() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareHostCollection.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareHostCollection.cs index 141889c2ae56a..1cb03da7d3037 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareHostCollection.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareHostCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ConnectedVMwarevSphere.Samples { public partial class Sample_VMwareHostCollection { - // CreateHost - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateHost() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/CreateHost.json @@ -60,9 +60,8 @@ public async Task CreateOrUpdate_CreateHost() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetHost - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetHost() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetHost.json @@ -94,9 +93,8 @@ public async Task Get_GetHost() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetHost - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetHost() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetHost.json @@ -124,9 +122,8 @@ public async Task Exists_GetHost() Console.WriteLine($"Succeeded: {result}"); } - // GetHost - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetHost() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetHost.json @@ -154,7 +151,7 @@ public async Task GetIfExists_GetHost() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -166,9 +163,8 @@ public async Task GetIfExists_GetHost() } } - // ListHostsByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListHostsByResourceGroup() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/ListHostsByResourceGroup.json @@ -199,7 +195,7 @@ public async Task GetAll_ListHostsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareHostResource.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareHostResource.cs index fbdc068f1f6c3..a20ee500bd381 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareHostResource.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareHostResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ConnectedVMwarevSphere.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ConnectedVMwarevSphere.Samples { public partial class Sample_VMwareHostResource { - // GetHost - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetHost() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetHost.json @@ -47,9 +47,8 @@ public async Task Get_GetHost() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UpdateHost - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateHost() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/UpdateHost.json @@ -86,9 +85,8 @@ public async Task Update_UpdateHost() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteHost - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteHost() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/DeleteHost.json @@ -110,12 +108,11 @@ public async Task Delete_DeleteHost() // invoke the operation await vMwareHost.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListHosts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVMwareHosts_ListHosts() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/ListHosts.json @@ -142,7 +139,7 @@ public async Task GetVMwareHosts_ListHosts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareResourcePoolCollection.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareResourcePoolCollection.cs index 0e1a45a4397e6..07e3931f5c607 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareResourcePoolCollection.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareResourcePoolCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ConnectedVMwarevSphere.Samples { public partial class Sample_VMwareResourcePoolCollection { - // CreateResourcePool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateResourcePool() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/CreateResourcePool.json @@ -60,9 +60,8 @@ public async Task CreateOrUpdate_CreateResourcePool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetResourcePool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetResourcePool() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetResourcePool.json @@ -94,9 +93,8 @@ public async Task Get_GetResourcePool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetResourcePool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetResourcePool() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetResourcePool.json @@ -124,9 +122,8 @@ public async Task Exists_GetResourcePool() Console.WriteLine($"Succeeded: {result}"); } - // GetResourcePool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetResourcePool() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetResourcePool.json @@ -154,7 +151,7 @@ public async Task GetIfExists_GetResourcePool() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -166,9 +163,8 @@ public async Task GetIfExists_GetResourcePool() } } - // ListResourcePoolsByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListResourcePoolsByResourceGroup() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/ListResourcePoolsByResourceGroup.json @@ -199,7 +195,7 @@ public async Task GetAll_ListResourcePoolsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareResourcePoolResource.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareResourcePoolResource.cs index 934583a0f357e..136c75a72449b 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareResourcePoolResource.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareResourcePoolResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ConnectedVMwarevSphere.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ConnectedVMwarevSphere.Samples { public partial class Sample_VMwareResourcePoolResource { - // GetResourcePool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetResourcePool() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetResourcePool.json @@ -47,9 +47,8 @@ public async Task Get_GetResourcePool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UpdateResourcePool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateResourcePool() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/UpdateResourcePool.json @@ -86,9 +85,8 @@ public async Task Update_UpdateResourcePool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteResourcePool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteResourcePool() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/DeleteResourcePool.json @@ -110,12 +108,11 @@ public async Task Delete_DeleteResourcePool() // invoke the operation await vMwareResourcePool.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListResourcePools - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVMwareResourcePools_ListResourcePools() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/ListResourcePools.json @@ -142,7 +139,7 @@ public async Task GetVMwareResourcePools_ListResourcePools() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVCenterCollection.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVCenterCollection.cs index aaa4f99939817..ea16f00616923 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVCenterCollection.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVCenterCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.ConnectedVMwarevSphere.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ConnectedVMwarevSphere.Samples { public partial class Sample_VMwareVCenterCollection { - // CreateVCenter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVCenter() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/CreateVCenter.json @@ -65,9 +65,8 @@ public async Task CreateOrUpdate_CreateVCenter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetVCenter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVCenter() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetVCenter.json @@ -99,9 +98,8 @@ public async Task Get_GetVCenter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetVCenter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVCenter() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetVCenter.json @@ -129,9 +127,8 @@ public async Task Exists_GetVCenter() Console.WriteLine($"Succeeded: {result}"); } - // GetVCenter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVCenter() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetVCenter.json @@ -159,7 +156,7 @@ public async Task GetIfExists_GetVCenter() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -171,9 +168,8 @@ public async Task GetIfExists_GetVCenter() } } - // ListVCentersByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListVCentersByResourceGroup() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/ListVCentersByResourceGroup.json @@ -204,7 +200,7 @@ public async Task GetAll_ListVCentersByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVCenterResource.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVCenterResource.cs index 104b8158981e7..52faa07f4b18a 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVCenterResource.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVCenterResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ConnectedVMwarevSphere.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ConnectedVMwarevSphere.Samples { public partial class Sample_VMwareVCenterResource { - // GetVCenter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVCenter() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetVCenter.json @@ -47,9 +47,8 @@ public async Task Get_GetVCenter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UpdateVCenter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateVCenter() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/UpdateVCenter.json @@ -86,9 +85,8 @@ public async Task Update_UpdateVCenter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteVCenter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteVCenter() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/DeleteVCenter.json @@ -110,12 +108,11 @@ public async Task Delete_DeleteVCenter() // invoke the operation await vMwareVCenter.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListVCenters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVMwareVCenters_ListVCenters() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/ListVCenters.json @@ -142,7 +139,7 @@ public async Task GetVMwareVCenters_ListVCenters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVirtualNetworkCollection.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVirtualNetworkCollection.cs index 82a2d59d25ead..b24b4b0539a6f 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVirtualNetworkCollection.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVirtualNetworkCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ConnectedVMwarevSphere.Samples { public partial class Sample_VMwareVirtualNetworkCollection { - // CreateVirtualNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVirtualNetwork() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/CreateVirtualNetwork.json @@ -60,9 +60,8 @@ public async Task CreateOrUpdate_CreateVirtualNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetVirtualNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetwork() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetVirtualNetwork.json @@ -94,9 +93,8 @@ public async Task Get_GetVirtualNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetVirtualNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVirtualNetwork() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetVirtualNetwork.json @@ -124,9 +122,8 @@ public async Task Exists_GetVirtualNetwork() Console.WriteLine($"Succeeded: {result}"); } - // GetVirtualNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVirtualNetwork() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetVirtualNetwork.json @@ -154,7 +151,7 @@ public async Task GetIfExists_GetVirtualNetwork() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -166,9 +163,8 @@ public async Task GetIfExists_GetVirtualNetwork() } } - // ListVirtualNetworksByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListVirtualNetworksByResourceGroup() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/ListVirtualNetworksByResourceGroup.json @@ -199,7 +195,7 @@ public async Task GetAll_ListVirtualNetworksByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVirtualNetworkResource.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVirtualNetworkResource.cs index 71d53eabfef0a..5d96df691af0a 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVirtualNetworkResource.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVirtualNetworkResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ConnectedVMwarevSphere.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ConnectedVMwarevSphere.Samples { public partial class Sample_VMwareVirtualNetworkResource { - // GetVirtualNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualNetwork() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetVirtualNetwork.json @@ -47,9 +47,8 @@ public async Task Get_GetVirtualNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UpdateVirtualNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateVirtualNetwork() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/UpdateVirtualNetwork.json @@ -86,9 +85,8 @@ public async Task Update_UpdateVirtualNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteVirtualNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteVirtualNetwork() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/DeleteVirtualNetwork.json @@ -110,12 +108,11 @@ public async Task Delete_DeleteVirtualNetwork() // invoke the operation await vMwareVirtualNetwork.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListVirtualNetworks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVMwareVirtualNetworks_ListVirtualNetworks() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/ListVirtualNetworks.json @@ -142,7 +139,7 @@ public async Task GetVMwareVirtualNetworks_ListVirtualNetworks() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVmInstanceResource.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVmInstanceResource.cs index 356896f650c16..38aaa979081eb 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVmInstanceResource.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVmInstanceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ConnectedVMwarevSphere.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ConnectedVMwarevSphere.Samples { public partial class Sample_VMwareVmInstanceResource { - // CreateVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVirtualMachine() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/CreateVirtualMachineInstance.json @@ -67,9 +67,8 @@ public async Task CreateOrUpdate_CreateVirtualMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualMachine() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetVirtualMachineInstance.json @@ -96,9 +95,8 @@ public async Task Get_GetVirtualMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UpdateVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateVirtualMachine() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/UpdateVirtualMachineInstance.json @@ -134,9 +132,8 @@ public async Task Update_UpdateVirtualMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteVirtualMachine() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/DeleteVirtualMachineInstance.json @@ -156,12 +153,11 @@ public async Task Delete_DeleteVirtualMachine() // invoke the operation await vMwareVmInstance.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StopVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_StopVirtualMachine() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/StopVirtualMachineInstance.json @@ -185,12 +181,11 @@ public async Task Stop_StopVirtualMachine() }; await vMwareVmInstance.StopAsync(WaitUntil.Completed, content: content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StartVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_StartVirtualMachine() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/StartVirtualMachineInstance.json @@ -210,12 +205,11 @@ public async Task Start_StartVirtualMachine() // invoke the operation await vMwareVmInstance.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RestartVirtualMachine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_RestartVirtualMachine() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/RestartVirtualMachineInstance.json @@ -235,7 +229,7 @@ public async Task Restart_RestartVirtualMachine() // invoke the operation await vMwareVmInstance.RestartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVmTemplateCollection.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVmTemplateCollection.cs index 491dfce6d6343..2413a4d6699e9 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVmTemplateCollection.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVmTemplateCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ConnectedVMwarevSphere.Samples { public partial class Sample_VMwareVmTemplateCollection { - // CreateVirtualMachineTemplate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateVirtualMachineTemplate() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/CreateVirtualMachineTemplate.json @@ -60,9 +60,8 @@ public async Task CreateOrUpdate_CreateVirtualMachineTemplate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetVirtualMachineTemplate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualMachineTemplate() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetVirtualMachineTemplate.json @@ -94,9 +93,8 @@ public async Task Get_GetVirtualMachineTemplate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetVirtualMachineTemplate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVirtualMachineTemplate() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetVirtualMachineTemplate.json @@ -124,9 +122,8 @@ public async Task Exists_GetVirtualMachineTemplate() Console.WriteLine($"Succeeded: {result}"); } - // GetVirtualMachineTemplate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVirtualMachineTemplate() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetVirtualMachineTemplate.json @@ -154,7 +151,7 @@ public async Task GetIfExists_GetVirtualMachineTemplate() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -166,9 +163,8 @@ public async Task GetIfExists_GetVirtualMachineTemplate() } } - // ListVirtualMachineTemplatesByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListVirtualMachineTemplatesByResourceGroup() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/ListVirtualMachineTemplatesByResourceGroup.json @@ -199,7 +195,7 @@ public async Task GetAll_ListVirtualMachineTemplatesByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVmTemplateResource.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVmTemplateResource.cs index 9453cf8018e77..a5b909b418401 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVmTemplateResource.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VMwareVmTemplateResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ConnectedVMwarevSphere.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ConnectedVMwarevSphere.Samples { public partial class Sample_VMwareVmTemplateResource { - // GetVirtualMachineTemplate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVirtualMachineTemplate() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetVirtualMachineTemplate.json @@ -47,9 +47,8 @@ public async Task Get_GetVirtualMachineTemplate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UpdateVirtualMachineTemplate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateVirtualMachineTemplate() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/UpdateVirtualMachineTemplate.json @@ -86,9 +85,8 @@ public async Task Update_UpdateVirtualMachineTemplate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteVirtualMachineTemplate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteVirtualMachineTemplate() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/DeleteVirtualMachineTemplate.json @@ -110,12 +108,11 @@ public async Task Delete_DeleteVirtualMachineTemplate() // invoke the operation await vMwareVmTemplate.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListVirtualMachineTemplates - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVMwareVmTemplates_ListVirtualMachineTemplates() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/ListVirtualMachineTemplates.json @@ -142,7 +139,7 @@ public async Task GetVMwareVmTemplates_ListVirtualMachineTemplates() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VmInstanceGuestAgentResource.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VmInstanceGuestAgentResource.cs index 108b9f32ddd3d..c26edce18842a 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VmInstanceGuestAgentResource.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VmInstanceGuestAgentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ConnectedVMwarevSphere.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ConnectedVMwarevSphere.Samples { public partial class Sample_VmInstanceGuestAgentResource { - // CreateGuestAgent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateGuestAgent() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/CreateVMInstanceGuestAgent.json @@ -56,9 +56,8 @@ public async Task CreateOrUpdate_CreateGuestAgent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetGuestAgent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetGuestAgent() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetVMInstanceGuestAgent.json @@ -85,9 +84,8 @@ public async Task Get_GetGuestAgent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteGuestAgent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteGuestAgent() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/DeleteVMInstanceGuestAgent.json @@ -107,7 +105,7 @@ public async Task Delete_DeleteGuestAgent() // invoke the operation await vmInstanceGuestAgent.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VmInstanceHybridIdentityMetadataResource.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VmInstanceHybridIdentityMetadataResource.cs index c2e3520519ad9..183b0b1bc2ba5 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VmInstanceHybridIdentityMetadataResource.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/samples/Generated/Samples/Sample_VmInstanceHybridIdentityMetadataResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ConnectedVMwarevSphere.Samples { public partial class Sample_VmInstanceHybridIdentityMetadataResource { - // GetHybridIdentityMetadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetHybridIdentityMetadata() { // Generated from example definition: specification/connectedvmware/resource-manager/Microsoft.ConnectedVMwarevSphere/stable/2023-12-01/examples/GetVmInstanceHybridIdentityMetadata.json diff --git a/sdk/consumption/Azure.ResourceManager.Consumption/samples/Generated/Samples/Sample_ConsumptionBudgetCollection.cs b/sdk/consumption/Azure.ResourceManager.Consumption/samples/Generated/Samples/Sample_ConsumptionBudgetCollection.cs index e1302ce210b89..81b693b4d8644 100644 --- a/sdk/consumption/Azure.ResourceManager.Consumption/samples/Generated/Samples/Sample_ConsumptionBudgetCollection.cs +++ b/sdk/consumption/Azure.ResourceManager.Consumption/samples/Generated/Samples/Sample_ConsumptionBudgetCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Consumption.Samples { public partial class Sample_ConsumptionBudgetCollection { - // BudgetsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BudgetsList() { // Generated from example definition: specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/examples/BudgetsList.json @@ -45,12 +45,11 @@ public async Task GetAll_BudgetsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Budget - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_Budget() { // Generated from example definition: specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/examples/Budget.json @@ -80,9 +79,8 @@ public async Task Get_Budget() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Budget - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_Budget() { // Generated from example definition: specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/examples/Budget.json @@ -108,9 +106,8 @@ public async Task Exists_Budget() Console.WriteLine($"Succeeded: {result}"); } - // Budget - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_Budget() { // Generated from example definition: specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/examples/Budget.json @@ -136,7 +133,7 @@ public async Task GetIfExists_Budget() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/consumption/Azure.ResourceManager.Consumption/samples/Generated/Samples/Sample_ConsumptionBudgetResource.cs b/sdk/consumption/Azure.ResourceManager.Consumption/samples/Generated/Samples/Sample_ConsumptionBudgetResource.cs index 0de2605777ffb..c68a3361a0433 100644 --- a/sdk/consumption/Azure.ResourceManager.Consumption/samples/Generated/Samples/Sample_ConsumptionBudgetResource.cs +++ b/sdk/consumption/Azure.ResourceManager.Consumption/samples/Generated/Samples/Sample_ConsumptionBudgetResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Consumption.Samples { public partial class Sample_ConsumptionBudgetResource { - // Budget - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_Budget() { // Generated from example definition: specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/examples/Budget.json @@ -44,9 +44,8 @@ public async Task Get_Budget() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteBudget - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteBudget() { // Generated from example definition: specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/examples/DeleteBudget.json @@ -67,7 +66,7 @@ public async Task Delete_DeleteBudget() // invoke the operation await consumptionBudget.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/consumption/Azure.ResourceManager.Consumption/samples/Generated/Samples/Sample_ManagementGroupResourceExtensions.cs b/sdk/consumption/Azure.ResourceManager.Consumption/samples/Generated/Samples/Sample_ManagementGroupResourceExtensions.cs index e98ee8b339f18..a4992e3dac891 100644 --- a/sdk/consumption/Azure.ResourceManager.Consumption/samples/Generated/Samples/Sample_ManagementGroupResourceExtensions.cs +++ b/sdk/consumption/Azure.ResourceManager.Consumption/samples/Generated/Samples/Sample_ManagementGroupResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Consumption.Models; using Azure.ResourceManager.ManagementGroups; +using NUnit.Framework; namespace Azure.ResourceManager.Consumption.Samples { public partial class Sample_ManagementGroupResourceExtensions { - // AggregatedCostByManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAggregatedCost_AggregatedCostByManagementGroup() { // Generated from example definition: specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/examples/AggregatedCostByManagementGroup.json @@ -41,9 +41,8 @@ public async Task GetAggregatedCost_AggregatedCostByManagementGroup() Console.WriteLine($"Succeeded: {result}"); } - // AggregatedCostByManagementGroupFilterByDate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAggregatedCost_AggregatedCostByManagementGroupFilterByDate() { // Generated from example definition: specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/examples/AggregatedCostByManagementGroupFilterByDate.json diff --git a/sdk/consumption/Azure.ResourceManager.Consumption/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/consumption/Azure.ResourceManager.Consumption/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 7e3a9780c2d86..08f7c088ecc7f 100644 --- a/sdk/consumption/Azure.ResourceManager.Consumption/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/consumption/Azure.ResourceManager.Consumption/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Consumption.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Consumption.Samples { public partial class Sample_SubscriptionResourceExtensions { - // PriceSheet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPriceSheet_PriceSheet() { // Generated from example definition: specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/examples/PriceSheet.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppAuthConfigCollection.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppAuthConfigCollection.cs index feea810414065..ae9b470a926a7 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppAuthConfigCollection.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppAuthConfigCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppAuthConfigCollection { - // List Auth Configs by Container Apps - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAuthConfigsByContainerApps() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/AuthConfigs_ListByContainer.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAuthConfigsByContainerApps() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Container App's AuthConfig - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetContainerAppSAuthConfig() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/AuthConfigs_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetContainerAppSAuthConfig() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Container App's AuthConfig - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetContainerAppSAuthConfig() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/AuthConfigs_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetContainerAppSAuthConfig() Console.WriteLine($"Succeeded: {result}"); } - // Get Container App's AuthConfig - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetContainerAppSAuthConfig() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/AuthConfigs_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetContainerAppSAuthConfig() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetContainerAppSAuthConfig() } } - // Create or Update Container App AuthConfig - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateContainerAppAuthConfig() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/AuthConfigs_CreateOrUpdate.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppAuthConfigResource.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppAuthConfigResource.cs index 1e64c5cdd4147..e0a3e494267c2 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppAuthConfigResource.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppAuthConfigResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppAuthConfigResource { - // Get Container App's AuthConfig - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetContainerAppSAuthConfig() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/AuthConfigs_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetContainerAppSAuthConfig() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Container App AuthConfig - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateContainerAppAuthConfig() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/AuthConfigs_CreateOrUpdate.json @@ -107,9 +106,8 @@ public async Task Update_CreateOrUpdateContainerAppAuthConfig() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Container App AuthConfig - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteContainerAppAuthConfig() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/AuthConfigs_Delete.json @@ -132,7 +130,7 @@ public async Task Delete_DeleteContainerAppAuthConfig() // invoke the operation await containerAppAuthConfig.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppCollection.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppCollection.cs index afcd8ecc91edc..258942e200fae 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppCollection.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppCollection { - // List Container Apps by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListContainerAppsByResourceGroup() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ContainerApps_ListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListContainerAppsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Container App - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetContainerApp() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ContainerApps_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetContainerApp() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Container App - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetContainerApp() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ContainerApps_Get.json @@ -116,9 +114,8 @@ public async Task Exists_GetContainerApp() Console.WriteLine($"Succeeded: {result}"); } - // Get Container App - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetContainerApp() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ContainerApps_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetContainerApp() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetContainerApp() } } - // Create or Update Container App - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateContainerApp() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ContainerApps_CreateOrUpdate.json @@ -355,9 +351,8 @@ public async Task CreateOrUpdate_CreateOrUpdateContainerApp() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update ManagedBy App - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateManagedByApp() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ContainerApps_ManagedBy_CreateOrUpdate.json @@ -453,9 +448,8 @@ public async Task CreateOrUpdate_CreateOrUpdateManagedByApp() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Tcp App - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateTcpApp() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ContainerApps_TcpApp_CreateOrUpdate.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentCertificateCollection.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentCertificateCollection.cs index 8922fe3c50265..1cf02fc30d489 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentCertificateCollection.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentCertificateCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppConnectedEnvironmentCertificateCollection { - // List Certificates by Connected Environment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCertificatesByConnectedEnvironment() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsCertificates_ListByConnectedEnvironment.json @@ -49,12 +49,11 @@ public async Task GetAll_ListCertificatesByConnectedEnvironment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCertificate() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsCertificate_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCertificate() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsCertificate_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetCertificate() Console.WriteLine($"Succeeded: {result}"); } - // Get Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCertificate() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsCertificate_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetCertificate() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetCertificate() } } - // Create or Update Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateCertificate() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsCertificate_CreateOrUpdate.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentCertificateResource.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentCertificateResource.cs index c175995c5fc66..0154527058d13 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentCertificateResource.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentCertificateResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppConnectedEnvironmentCertificateResource { - // Get Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCertificate() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsCertificate_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteCertificate() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsCertificate_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_DeleteCertificate() // invoke the operation await containerAppConnectedEnvironmentCertificate.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Patch Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchCertificate() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsCertificates_Patch.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentCollection.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentCollection.cs index 1210154472a31..25793ef743b82 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentCollection.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppConnectedEnvironmentCollection { - // List environments by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListEnvironmentsByResourceGroup() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironments_ListByResourceGroup.json @@ -50,12 +50,11 @@ public async Task GetAll_ListEnvironmentsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get connected environment by connectedEnvironmentName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetConnectedEnvironmentByConnectedEnvironmentName() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironments_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetConnectedEnvironmentByConnectedEnvironmentName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get connected environment by connectedEnvironmentName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetConnectedEnvironmentByConnectedEnvironmentName() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironments_Get.json @@ -117,9 +115,8 @@ public async Task Exists_GetConnectedEnvironmentByConnectedEnvironmentName() Console.WriteLine($"Succeeded: {result}"); } - // Get connected environment by connectedEnvironmentName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetConnectedEnvironmentByConnectedEnvironmentName() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironments_Get.json @@ -147,7 +144,7 @@ public async Task GetIfExists_GetConnectedEnvironmentByConnectedEnvironmentName( if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_GetConnectedEnvironmentByConnectedEnvironmentName( } } - // Create kube environments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateKubeEnvironments() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironments_CreateOrUpdate.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentDaprComponentCollection.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentDaprComponentCollection.cs index 99793b10a2449..6561d40b85ed1 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentDaprComponentCollection.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentDaprComponentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppConnectedEnvironmentDaprComponentCollection { - // List Dapr Components - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDaprComponents() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsDaprComponents_List.json @@ -49,12 +49,11 @@ public async Task GetAll_ListDaprComponents() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Dapr Component - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDaprComponent() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsDaprComponents_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetDaprComponent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Dapr Component - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDaprComponent() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsDaprComponents_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetDaprComponent() Console.WriteLine($"Succeeded: {result}"); } - // Get Dapr Component - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDaprComponent() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsDaprComponents_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetDaprComponent() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetDaprComponent() } } - // Create or update dapr component - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateDaprComponent() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsDaprComponents_CreateOrUpdate.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentDaprComponentResource.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentDaprComponentResource.cs index 625c71aee6e7b..571df75578415 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentDaprComponentResource.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentDaprComponentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppConnectedEnvironmentDaprComponentResource { - // Get Dapr Component - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDaprComponent() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsDaprComponents_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetDaprComponent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update dapr component - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateDaprComponent() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsDaprComponents_CreateOrUpdate.json @@ -119,9 +118,8 @@ public async Task Update_CreateOrUpdateDaprComponent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete dapr component - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteDaprComponent() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsDaprComponents_Delete.json @@ -144,12 +142,11 @@ public async Task Delete_DeleteDaprComponent() // invoke the operation await containerAppConnectedEnvironmentDaprComponent.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Container Apps Secrets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecrets_ListContainerAppsSecrets() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsDaprComponents_ListSecrets.json @@ -175,7 +172,7 @@ public async Task GetSecrets_ListContainerAppsSecrets() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentResource.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentResource.cs index 71ec67f824729..675585514d5d6 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentResource.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppConnectedEnvironmentResource { - // List connected environments by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContainerAppConnectedEnvironments_ListConnectedEnvironmentsBySubscription() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironments_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetContainerAppConnectedEnvironments_ListConnectedEnvironments Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get connected environment by connectedEnvironmentName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetConnectedEnvironmentByConnectedEnvironmentName() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironments_Get.json @@ -79,9 +78,8 @@ public async Task Get_GetConnectedEnvironmentByConnectedEnvironmentName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete connected environment by connectedEnvironmentName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteConnectedEnvironmentByConnectedEnvironmentName() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironments_Delete.json @@ -103,12 +101,11 @@ public async Task Delete_DeleteConnectedEnvironmentByConnectedEnvironmentName() // invoke the operation await containerAppConnectedEnvironment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Patch Managed Environment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchManagedEnvironment() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironments_Patch.json @@ -137,9 +134,8 @@ public async Task Update_PatchManagedEnvironment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Certificates_CheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckNameAvailability_CertificatesCheckNameAvailability() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsCertificates_CheckNameAvailability.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentStorageCollection.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentStorageCollection.cs index 09bc76f37378d..447432ae621af 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentStorageCollection.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentStorageCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppConnectedEnvironmentStorageCollection { - // List environments storages by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListEnvironmentsStoragesBySubscription() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsStorages_List.json @@ -49,12 +49,11 @@ public async Task GetAll_ListEnvironmentsStoragesBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // get a environments storage properties by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAEnvironmentsStoragePropertiesBySubscription() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsStorages_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetAEnvironmentsStoragePropertiesBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // get a environments storage properties by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAEnvironmentsStoragePropertiesBySubscription() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsStorages_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetAEnvironmentsStoragePropertiesBySubscription() Console.WriteLine($"Succeeded: {result}"); } - // get a environments storage properties by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAEnvironmentsStoragePropertiesBySubscription() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsStorages_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetAEnvironmentsStoragePropertiesBySubscription() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetAEnvironmentsStoragePropertiesBySubscription() } } - // Create or update environments storage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateEnvironmentsStorage() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsStorages_CreateOrUpdate.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentStorageResource.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentStorageResource.cs index 26687e7036eb5..a963250f6932c 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentStorageResource.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppConnectedEnvironmentStorageResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppConnectedEnvironmentStorageResource { - // get a environments storage properties by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAEnvironmentsStoragePropertiesBySubscription() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsStorages_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetAEnvironmentsStoragePropertiesBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update environments storage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateEnvironmentsStorage() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsStorages_CreateOrUpdate.json @@ -90,9 +89,8 @@ public async Task Update_CreateOrUpdateEnvironmentsStorage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List environments storages by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ListEnvironmentsStoragesBySubscription() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ConnectedEnvironmentsStorages_Delete.json @@ -115,7 +113,7 @@ public async Task Delete_ListEnvironmentsStoragesBySubscription() // invoke the operation await containerAppConnectedEnvironmentStorage.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppDetectorCollection.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppDetectorCollection.cs index 25add0c51632a..ebf68b5e515aa 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppDetectorCollection.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppDetectorCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppDetectorCollection { - // Get the list of available diagnostics for a given Container App - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetTheListOfAvailableDiagnosticsForAGivenContainerApp() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ContainerAppsDiagnostics_List.json @@ -48,12 +48,11 @@ public async Task GetAll_GetTheListOfAvailableDiagnosticsForAGivenContainerApp() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Container App's diagnostics info - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetContainerAppSDiagnosticsInfo() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ContainerAppsDiagnostics_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetContainerAppSDiagnosticsInfo() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Container App's diagnostics info - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetContainerAppSDiagnosticsInfo() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ContainerAppsDiagnostics_Get.json @@ -117,9 +115,8 @@ public async Task Exists_GetContainerAppSDiagnosticsInfo() Console.WriteLine($"Succeeded: {result}"); } - // Get Container App's diagnostics info - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetContainerAppSDiagnosticsInfo() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ContainerAppsDiagnostics_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetContainerAppSDiagnosticsInfo() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppDetectorPropertyResource.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppDetectorPropertyResource.cs index 2d0161cee7544..0b4df6853d621 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppDetectorPropertyResource.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppDetectorPropertyResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppDetectorPropertyResource { - // Get Container App - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetContainerApp() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ContainerApps_Get.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppDetectorPropertyRevisionCollection.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppDetectorPropertyRevisionCollection.cs index ad73042b0e07c..02866f2675194 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppDetectorPropertyRevisionCollection.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppDetectorPropertyRevisionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppDetectorPropertyRevisionCollection { - // List Container App's revisions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListContainerAppSRevisions() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Revisions_List.json @@ -48,12 +48,11 @@ public async Task GetAll_ListContainerAppSRevisions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Container App's revision - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetContainerAppSRevision() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Revisions_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetContainerAppSRevision() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Container App's revision - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetContainerAppSRevision() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Revisions_Get.json @@ -117,9 +115,8 @@ public async Task Exists_GetContainerAppSRevision() Console.WriteLine($"Succeeded: {result}"); } - // Get Container App's revision - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetContainerAppSRevision() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Revisions_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetContainerAppSRevision() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppDetectorPropertyRevisionResource.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppDetectorPropertyRevisionResource.cs index 8c01a65a1f2ba..f2a9e9cb507bb 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppDetectorPropertyRevisionResource.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppDetectorPropertyRevisionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppDetectorPropertyRevisionResource { - // Get Container App's revision - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetContainerAppSRevision() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Revisions_Get.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppDetectorResource.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppDetectorResource.cs index cb3768c391840..a8148cc195ede 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppDetectorResource.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppDetectorResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppDetectorResource { - // Get Container App's diagnostics info - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetContainerAppSDiagnosticsInfo() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ContainerAppsDiagnostics_Get.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobCollection.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobCollection.cs index 4c501b298ec9c..35d1c4f02bdff 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobCollection.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppJobCollection { - // List Container Apps Jobs by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListContainerAppsJobsByResourceGroup() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Jobs_ListByResourceGroup.json @@ -50,12 +50,11 @@ public async Task GetAll_ListContainerAppsJobsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Container Apps Job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetContainerAppsJob() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetContainerAppsJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Container Apps Job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetContainerAppsJob() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_Get.json @@ -117,9 +115,8 @@ public async Task Exists_GetContainerAppsJob() Console.WriteLine($"Succeeded: {result}"); } - // Get Container Apps Job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetContainerAppsJob() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_Get.json @@ -147,7 +144,7 @@ public async Task GetIfExists_GetContainerAppsJob() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_GetContainerAppsJob() } } - // Create or Update Container Apps Job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateContainerAppsJob() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_CreateorUpdate.json @@ -256,9 +252,8 @@ public async Task CreateOrUpdate_CreateOrUpdateContainerAppsJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Container Apps Job With Event Driven Trigger - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateContainerAppsJobWithEventDrivenTrigger() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_CreateorUpdate_EventTrigger.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobDetectorCollection.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobDetectorCollection.cs index d3f8258acee4f..def4a9188692a 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobDetectorCollection.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobDetectorCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppJobDetectorCollection { - // Get the list of available diagnostic data for a Container App Job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetTheListOfAvailableDiagnosticDataForAContainerAppJob() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_ListDetectors.json @@ -48,12 +48,11 @@ public async Task GetAll_GetTheListOfAvailableDiagnosticDataForAContainerAppJob( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get diagnostic data for a Container App Job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDiagnosticDataForAContainerAppJob() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_GetDetector.json @@ -86,9 +85,8 @@ public async Task Get_GetDiagnosticDataForAContainerAppJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get diagnostic data for a Container App Job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDiagnosticDataForAContainerAppJob() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_GetDetector.json @@ -117,9 +115,8 @@ public async Task Exists_GetDiagnosticDataForAContainerAppJob() Console.WriteLine($"Succeeded: {result}"); } - // Get diagnostic data for a Container App Job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDiagnosticDataForAContainerAppJob() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_GetDetector.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetDiagnosticDataForAContainerAppJob() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobDetectorPropertyCollection.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobDetectorPropertyCollection.cs index 2e8aeea46c347..dc045f1aa94ee 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobDetectorPropertyCollection.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobDetectorPropertyCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppJobDetectorPropertyCollection { - // Get Container App Job by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetContainerAppJobByName() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_ProxyGet.json @@ -49,9 +49,8 @@ public async Task Get_GetContainerAppJobByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Container App Job by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetContainerAppJobByName() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_ProxyGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetContainerAppJobByName() Console.WriteLine($"Succeeded: {result}"); } - // Get Container App Job by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetContainerAppJobByName() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_ProxyGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetContainerAppJobByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobDetectorPropertyResource.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobDetectorPropertyResource.cs index b243dbd909336..573210df08cc7 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobDetectorPropertyResource.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobDetectorPropertyResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppJobDetectorPropertyResource { - // Get Container App Job by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetContainerAppJobByName() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_ProxyGet.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobDetectorResource.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobDetectorResource.cs index 41355de1f4f55..73b69a5150920 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobDetectorResource.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobDetectorResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppJobDetectorResource { - // Get diagnostic data for a Container App Job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDiagnosticDataForAContainerAppJob() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_GetDetector.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobExecutionCollection.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobExecutionCollection.cs index d246b592b96ee..31cf07dff08dd 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobExecutionCollection.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobExecutionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppJobExecutionCollection { - // Get a Container Apps Job Executions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAContainerAppsJobExecutions() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_Executions_Get.json @@ -48,12 +48,11 @@ public async Task GetAll_GetAContainerAppsJobExecutions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a single Job Execution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASingleJobExecution() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_Execution_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetASingleJobExecution() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a single Job Execution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetASingleJobExecution() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_Execution_Get.json @@ -117,9 +115,8 @@ public async Task Exists_GetASingleJobExecution() Console.WriteLine($"Succeeded: {result}"); } - // Get a single Job Execution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetASingleJobExecution() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_Execution_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetASingleJobExecution() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobExecutionResource.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobExecutionResource.cs index 135d33787e356..af7c0f548eff1 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobExecutionResource.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobExecutionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppJobExecutionResource { - // Terminate a Container Apps Job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StopExecutionJob_TerminateAContainerAppsJob() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_Stop_Execution.json @@ -40,12 +40,11 @@ public async Task StopExecutionJob_TerminateAContainerAppsJob() // invoke the operation await containerAppJobExecution.StopExecutionJobAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a single Job Execution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASingleJobExecution() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_Execution_Get.json @@ -75,9 +74,8 @@ public async Task Get_GetASingleJobExecution() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all operations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCustomDomainVerificationId_ListAllOperations() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Subscriptions_GetCustomDomainVerificationId.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobResource.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobResource.cs index 39a63bfe901dc..f8bba8efb480e 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobResource.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppJobResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppJobResource { - // List Container Apps Jobs by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContainerAppJobs_ListContainerAppsJobsBySubscription() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Jobs_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetContainerAppJobs_ListContainerAppsJobsBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Container Apps Job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetContainerAppsJob() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_Get.json @@ -79,9 +78,8 @@ public async Task Get_GetContainerAppsJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Container Apps Job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteContainerAppsJob() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_Delete.json @@ -103,12 +101,11 @@ public async Task Delete_DeleteContainerAppsJob() // invoke the operation await containerAppJob.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Patch Container Apps Job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchContainerAppsJob() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_Patch.json @@ -202,9 +199,8 @@ public async Task Update_PatchContainerAppsJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Run a Container Apps Job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_RunAContainerAppsJob() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_Start.json @@ -267,9 +263,8 @@ public async Task Start_RunAContainerAppsJob() Console.WriteLine($"Succeeded: {result}"); } - // Terminate Multiple Container Apps Job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StopMultipleExecutions_TerminateMultipleContainerAppsJob() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_Stop_Multiple.json @@ -295,9 +290,8 @@ public async Task StopMultipleExecutions_TerminateMultipleContainerAppsJob() Console.WriteLine($"Succeeded: {result}"); } - // List Container Apps Job Secrets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecrets_ListContainerAppsJobSecrets() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Job_ListSecrets.json @@ -322,7 +316,7 @@ public async Task GetSecrets_ListContainerAppsJobSecrets() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedCertificateCollection.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedCertificateCollection.cs index f86ccf80f90ea..e113e52e1cfd9 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedCertificateCollection.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedCertificateCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppManagedCertificateCollection { - // Get Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCertificate() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedCertificate_Get.json @@ -50,9 +50,8 @@ public async Task Get_GetCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCertificate() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedCertificate_Get.json @@ -81,9 +80,8 @@ public async Task Exists_GetCertificate() Console.WriteLine($"Succeeded: {result}"); } - // Get Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCertificate() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedCertificate_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetCertificate() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetCertificate() } } - // Create or Update Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateCertificate() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedCertificate_CreateOrUpdate.json @@ -168,9 +165,8 @@ public async Task CreateOrUpdate_CreateOrUpdateCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List Managed Certificates by Managed Environment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListManagedCertificatesByManagedEnvironment() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedCertificates_ListByManagedEnvironment.json @@ -202,7 +198,7 @@ public async Task GetAll_ListManagedCertificatesByManagedEnvironment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedCertificateResource.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedCertificateResource.cs index 3eb4a0e8657b5..9d33586d992f2 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedCertificateResource.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedCertificateResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppManagedCertificateResource { - // Get Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCertificate() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedCertificate_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteCertificate() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedCertificate_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_DeleteCertificate() // invoke the operation await containerAppManagedCertificate.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Patch Managed Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchManagedCertificate() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedCertificates_Patch.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentCertificateCollection.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentCertificateCollection.cs index 0b5c5ccda375f..97b50e5acee34 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentCertificateCollection.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentCertificateCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppManagedEnvironmentCertificateCollection { - // List Certificates by Managed Environment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCertificatesByManagedEnvironment() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Certificates_ListByManagedEnvironment.json @@ -49,12 +49,11 @@ public async Task GetAll_ListCertificatesByManagedEnvironment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCertificate() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Certificate_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetCertificate() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Certificate_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetCertificate() Console.WriteLine($"Succeeded: {result}"); } - // Get Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetCertificate() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Certificate_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetCertificate() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetCertificate() } } - // Create or Update Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateCertificate() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Certificate_CreateOrUpdate.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentCertificateResource.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentCertificateResource.cs index e54ce8c0c344d..bfaa8e30c045c 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentCertificateResource.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentCertificateResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppManagedEnvironmentCertificateResource { - // Get Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetCertificate() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Certificate_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteCertificate() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Certificate_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_DeleteCertificate() // invoke the operation await containerAppManagedEnvironmentCertificate.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Patch Certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchCertificate() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Certificates_Patch.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentCollection.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentCollection.cs index ceeb7ea89b999..7aeda9de25b23 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentCollection.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppManagedEnvironmentCollection { - // List environments by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListEnvironmentsByResourceGroup() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironments_ListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListEnvironmentsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get environments by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetEnvironmentsByName() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironments_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetEnvironmentsByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get environments by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetEnvironmentsByName() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironments_Get.json @@ -116,9 +114,8 @@ public async Task Exists_GetEnvironmentsByName() Console.WriteLine($"Succeeded: {result}"); } - // Get environments by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetEnvironmentsByName() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironments_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetEnvironmentsByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetEnvironmentsByName() } } - // Create environment with custom infrastructureResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateEnvironmentWithCustomInfrastructureResourceGroup() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironments_CustomInfrastructureResourceGroup_Create.json @@ -233,9 +229,8 @@ public async Task CreateOrUpdate_CreateEnvironmentWithCustomInfrastructureResour Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create environments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateEnvironments() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironments_CreateOrUpdate.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentDaprComponentCollection.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentDaprComponentCollection.cs index 3e85d26701201..c71a0181921ab 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentDaprComponentCollection.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentDaprComponentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppManagedEnvironmentDaprComponentCollection { - // List Dapr Components - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDaprComponents() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/DaprComponents_List.json @@ -49,12 +49,11 @@ public async Task GetAll_ListDaprComponents() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Dapr Component with secret store component - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDaprComponentWithSecretStoreComponent() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/DaprComponents_Get_SecretStoreComponent.json @@ -87,9 +86,8 @@ public async Task Get_GetDaprComponentWithSecretStoreComponent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Dapr Component with secret store component - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDaprComponentWithSecretStoreComponent() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/DaprComponents_Get_SecretStoreComponent.json @@ -118,9 +116,8 @@ public async Task Exists_GetDaprComponentWithSecretStoreComponent() Console.WriteLine($"Succeeded: {result}"); } - // Get Dapr Component with secret store component - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDaprComponentWithSecretStoreComponent() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/DaprComponents_Get_SecretStoreComponent.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetDaprComponentWithSecretStoreComponent() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetDaprComponentWithSecretStoreComponent() } } - // Get Dapr Component with secrets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDaprComponentWithSecrets() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/DaprComponents_Get_Secrets.json @@ -196,9 +192,8 @@ public async Task Get_GetDaprComponentWithSecrets() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Dapr Component with secrets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDaprComponentWithSecrets() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/DaprComponents_Get_Secrets.json @@ -227,9 +222,8 @@ public async Task Exists_GetDaprComponentWithSecrets() Console.WriteLine($"Succeeded: {result}"); } - // Get Dapr Component with secrets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDaprComponentWithSecrets() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/DaprComponents_Get_Secrets.json @@ -258,7 +252,7 @@ public async Task GetIfExists_GetDaprComponentWithSecrets() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -270,9 +264,8 @@ public async Task GetIfExists_GetDaprComponentWithSecrets() } } - // Create or update dapr component with secret store component - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateDaprComponentWithSecretStoreComponent() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/DaprComponents_CreateOrUpdate_SecretStoreComponent.json @@ -338,9 +331,8 @@ public async Task CreateOrUpdate_CreateOrUpdateDaprComponentWithSecretStoreCompo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update dapr component with secrets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateDaprComponentWithSecrets() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/DaprComponents_CreateOrUpdate_Secrets.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentDaprComponentResource.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentDaprComponentResource.cs index fbe11897b312f..4ec062fb69469 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentDaprComponentResource.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentDaprComponentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppManagedEnvironmentDaprComponentResource { - // Get Dapr Component with secret store component - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDaprComponentWithSecretStoreComponent() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/DaprComponents_Get_SecretStoreComponent.json @@ -47,9 +47,8 @@ public async Task Get_GetDaprComponentWithSecretStoreComponent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Dapr Component with secrets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDaprComponentWithSecrets() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/DaprComponents_Get_Secrets.json @@ -79,9 +78,8 @@ public async Task Get_GetDaprComponentWithSecrets() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update dapr component with secret store component - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateDaprComponentWithSecretStoreComponent() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/DaprComponents_CreateOrUpdate_SecretStoreComponent.json @@ -144,9 +142,8 @@ public async Task Update_CreateOrUpdateDaprComponentWithSecretStoreComponent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update dapr component with secrets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateDaprComponentWithSecrets() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/DaprComponents_CreateOrUpdate_Secrets.json @@ -216,9 +213,8 @@ public async Task Update_CreateOrUpdateDaprComponentWithSecrets() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete dapr component - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteDaprComponent() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/DaprComponents_Delete.json @@ -241,12 +237,11 @@ public async Task Delete_DeleteDaprComponent() // invoke the operation await containerAppManagedEnvironmentDaprComponent.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Container Apps Secrets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecrets_ListContainerAppsSecrets() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/DaprComponents_ListSecrets.json @@ -272,7 +267,7 @@ public async Task GetSecrets_ListContainerAppsSecrets() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentDetectorCollection.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentDetectorCollection.cs index 428cb0726b941..52fb80c283370 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentDetectorCollection.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentDetectorCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppManagedEnvironmentDetectorCollection { - // Get the list of available diagnostic data for a managed environments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetTheListOfAvailableDiagnosticDataForAManagedEnvironments() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironmentDiagnostics_List.json @@ -48,12 +48,11 @@ public async Task GetAll_GetTheListOfAvailableDiagnosticDataForAManagedEnvironme Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get diagnostic data for a managed environments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDiagnosticDataForAManagedEnvironments() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironmentDiagnostics_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetDiagnosticDataForAManagedEnvironments() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get diagnostic data for a managed environments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDiagnosticDataForAManagedEnvironments() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironmentDiagnostics_Get.json @@ -117,9 +115,8 @@ public async Task Exists_GetDiagnosticDataForAManagedEnvironments() Console.WriteLine($"Succeeded: {result}"); } - // Get diagnostic data for a managed environments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDiagnosticDataForAManagedEnvironments() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironmentDiagnostics_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetDiagnosticDataForAManagedEnvironments() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentDetectorResource.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentDetectorResource.cs index 5757cb80d7ee4..d1a33aca1afdf 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentDetectorResource.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentDetectorResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppManagedEnvironmentDetectorResource { - // Get diagnostic data for a managed environments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDiagnosticDataForAManagedEnvironments() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironmentDiagnostics_Get.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentDetectorResourcePropertyResource.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentDetectorResourcePropertyResource.cs index 3561e0ae6bceb..5db18b8c5788f 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentDetectorResourcePropertyResource.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentDetectorResourcePropertyResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppManagedEnvironmentDetectorResourcePropertyResource { - // Get environments by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetEnvironmentsByName() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironments_Get.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentResource.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentResource.cs index 8c238e5c25d01..c8d80e9fa6076 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentResource.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppManagedEnvironmentResource { - // List environments by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContainerAppManagedEnvironments_ListEnvironmentsBySubscription() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironments_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetContainerAppManagedEnvironments_ListEnvironmentsBySubscript Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get environments by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetEnvironmentsByName() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironments_Get.json @@ -79,9 +78,8 @@ public async Task Get_GetEnvironmentsByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete environment by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteEnvironmentByName() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironments_Delete.json @@ -103,12 +101,11 @@ public async Task Delete_DeleteEnvironmentByName() // invoke the operation await containerAppManagedEnvironment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Patch Managed Environment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchManagedEnvironment() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironments_Patch.json @@ -146,9 +143,8 @@ public async Task Update_PatchManagedEnvironment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Managed Environment Auth Token - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAuthToken_GetManagedEnvironmentAuthToken() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironments_GetAuthToken.json @@ -173,9 +169,8 @@ public async Task GetAuthToken_GetManagedEnvironmentAuthToken() Console.WriteLine($"Succeeded: {result}"); } - // List environments by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetWorkloadProfileStates_ListEnvironmentsBySubscription() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironments_ListWorkloadProfileStates.json @@ -200,12 +195,11 @@ public async Task GetWorkloadProfileStates_ListEnvironmentsBySubscription() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Certificates_CheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckContainerAppNameAvailability_CertificatesCheckNameAvailability() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Certificates_CheckNameAvailability.json @@ -235,9 +229,8 @@ public async Task CheckContainerAppNameAvailability_CertificatesCheckNameAvailab Console.WriteLine($"Succeeded: {result}"); } - // ContainerApps_CheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckContainerAppNameAvailability_ContainerAppsCheckNameAvailability() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ContainerApps_CheckNameAvailability.json @@ -267,9 +260,8 @@ public async Task CheckContainerAppNameAvailability_ContainerAppsCheckNameAvaila Console.WriteLine($"Succeeded: {result}"); } - // List managed environment usages - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagedEnvironmentUsages_ListManagedEnvironmentUsages() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironmentUsages_List.json @@ -294,7 +286,7 @@ public async Task GetManagedEnvironmentUsages_ListManagedEnvironmentUsages() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentStorageCollection.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentStorageCollection.cs index d507df734dcb2..a4743c61b32ef 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentStorageCollection.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentStorageCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppManagedEnvironmentStorageCollection { - // List environments storages by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListEnvironmentsStoragesBySubscription() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironmentsStorages_List.json @@ -49,12 +49,11 @@ public async Task GetAll_ListEnvironmentsStoragesBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // get a environments storage properties by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAEnvironmentsStoragePropertiesBySubscription() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironmentsStorages_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetAEnvironmentsStoragePropertiesBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // get a environments storage properties by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAEnvironmentsStoragePropertiesBySubscription() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironmentsStorages_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetAEnvironmentsStoragePropertiesBySubscription() Console.WriteLine($"Succeeded: {result}"); } - // get a environments storage properties by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAEnvironmentsStoragePropertiesBySubscription() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironmentsStorages_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetAEnvironmentsStoragePropertiesBySubscription() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetAEnvironmentsStoragePropertiesBySubscription() } } - // Create or update environments storage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateEnvironmentsStorage() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironmentsStorages_CreateOrUpdate.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentStorageResource.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentStorageResource.cs index 6337ded62aaea..177ba174eef0e 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentStorageResource.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppManagedEnvironmentStorageResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppManagedEnvironmentStorageResource { - // get a environments storage properties by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAEnvironmentsStoragePropertiesBySubscription() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironmentsStorages_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetAEnvironmentsStoragePropertiesBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update environments storage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateEnvironmentsStorage() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironmentsStorages_CreateOrUpdate.json @@ -90,9 +89,8 @@ public async Task Update_CreateOrUpdateEnvironmentsStorage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List environments storages by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ListEnvironmentsStoragesBySubscription() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ManagedEnvironmentsStorages_Delete.json @@ -115,7 +113,7 @@ public async Task Delete_ListEnvironmentsStoragesBySubscription() // invoke the operation await containerAppManagedEnvironmentStorage.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppReplicaCollection.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppReplicaCollection.cs index c22db8e2c696d..43d60f560a5b5 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppReplicaCollection.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppReplicaCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppReplicaCollection { - // Get Container App's revision replica - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetContainerAppSRevisionReplica() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Replicas_Get.json @@ -50,9 +50,8 @@ public async Task Get_GetContainerAppSRevisionReplica() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Container App's revision replica - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetContainerAppSRevisionReplica() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Replicas_Get.json @@ -82,9 +81,8 @@ public async Task Exists_GetContainerAppSRevisionReplica() Console.WriteLine($"Succeeded: {result}"); } - // Get Container App's revision replica - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetContainerAppSRevisionReplica() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Replicas_Get.json @@ -114,7 +112,7 @@ public async Task GetIfExists_GetContainerAppSRevisionReplica() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -126,9 +124,8 @@ public async Task GetIfExists_GetContainerAppSRevisionReplica() } } - // List Container App's replicas - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListContainerAppSReplicas() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Replicas_List.json @@ -161,7 +158,7 @@ public async Task GetAll_ListContainerAppSReplicas() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppReplicaResource.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppReplicaResource.cs index 3aab82296193b..985b453b98e4e 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppReplicaResource.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppReplicaResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppReplicaResource { - // Get Container App's revision replica - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetContainerAppSRevisionReplica() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Replicas_Get.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppResource.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppResource.cs index 37facb3b31d8f..d194777ea7f61 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppResource.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppResource { - // List Container Apps by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContainerApps_ListContainerAppsBySubscription() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ContainerApps_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetContainerApps_ListContainerAppsBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Container App - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetContainerApp() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ContainerApps_Get.json @@ -79,9 +78,8 @@ public async Task Get_GetContainerApp() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Container App - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteContainerApp() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ContainerApps_Delete.json @@ -103,12 +101,11 @@ public async Task Delete_DeleteContainerApp() // invoke the operation await containerApp.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Patch Container App - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchContainerApp() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ContainerApps_Patch.json @@ -267,9 +264,8 @@ public async Task Update_PatchContainerApp() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Analyze Custom Hostname - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCustomHostNameAnalysis_AnalyzeCustomHostname() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ContainerApps_ListCustomHostNameAnalysis.json @@ -295,9 +291,8 @@ public async Task GetCustomHostNameAnalysis_AnalyzeCustomHostname() Console.WriteLine($"Succeeded: {result}"); } - // List Container Apps Secrets - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecrets_ListContainerAppsSecrets() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ContainerApps_ListSecrets.json @@ -322,12 +317,11 @@ public async Task GetSecrets_ListContainerAppsSecrets() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Container App Auth Token - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAuthToken_GetContainerAppAuthToken() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ContainerApps_GetAuthToken.json @@ -352,9 +346,8 @@ public async Task GetAuthToken_GetContainerAppAuthToken() Console.WriteLine($"Succeeded: {result}"); } - // Start Container App - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_StartContainerApp() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ContainerApps_Start.json @@ -384,9 +377,8 @@ public async Task Start_StartContainerApp() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Stop Container App - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_StopContainerApp() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/ContainerApps_Stop.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppRevisionCollection.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppRevisionCollection.cs index d0f33b4595c33..3a3ef23c79818 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppRevisionCollection.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppRevisionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppRevisionCollection { - // List Container App's revisions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListContainerAppSRevisions() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Revisions_List.json @@ -48,12 +48,11 @@ public async Task GetAll_ListContainerAppSRevisions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Container App's revision - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetContainerAppSRevision() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Revisions_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetContainerAppSRevision() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Container App's revision - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetContainerAppSRevision() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Revisions_Get.json @@ -117,9 +115,8 @@ public async Task Exists_GetContainerAppSRevision() Console.WriteLine($"Succeeded: {result}"); } - // Get Container App's revision - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetContainerAppSRevision() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Revisions_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetContainerAppSRevision() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppRevisionResource.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppRevisionResource.cs index c09f65c8b30a9..f7de602d5b3e3 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppRevisionResource.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppRevisionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppRevisionResource { - // Get Container App's revision - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetContainerAppSRevision() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Revisions_Get.json @@ -46,9 +46,8 @@ public async Task Get_GetContainerAppSRevision() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Activate Container App's revision - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ActivateRevision_ActivateContainerAppSRevision() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Revisions_Activate.json @@ -71,12 +70,11 @@ public async Task ActivateRevision_ActivateContainerAppSRevision() // invoke the operation await containerAppRevision.ActivateRevisionAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Deactivate Container App's revision - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeactivateRevision_DeactivateContainerAppSRevision() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Revisions_Deactivate.json @@ -99,12 +97,11 @@ public async Task DeactivateRevision_DeactivateContainerAppSRevision() // invoke the operation await containerAppRevision.DeactivateRevisionAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Restart Container App's revision - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RestartRevision_RestartContainerAppSRevision() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Revisions_Restart.json @@ -127,7 +124,7 @@ public async Task RestartRevision_RestartContainerAppSRevision() // invoke the operation await containerAppRevision.RestartRevisionAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppSourceControlCollection.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppSourceControlCollection.cs index aa04396c81581..91f7a63e344bb 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppSourceControlCollection.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppSourceControlCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppSourceControlCollection { - // List App's Source Controls - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAppSSourceControls() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/SourceControls_ListByContainer.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAppSSourceControls() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Container App's SourceControl - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetContainerAppSSourceControl() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/SourceControls_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetContainerAppSSourceControl() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Container App's SourceControl - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetContainerAppSSourceControl() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/SourceControls_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetContainerAppSSourceControl() Console.WriteLine($"Succeeded: {result}"); } - // Get Container App's SourceControl - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetContainerAppSSourceControl() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/SourceControls_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetContainerAppSSourceControl() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetContainerAppSSourceControl() } } - // Create or Update Container App SourceControl - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateContainerAppSourceControl() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/SourceControls_CreateOrUpdate.json diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppSourceControlResource.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppSourceControlResource.cs index 9b5627589f5ec..df335e8997a14 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppSourceControlResource.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_ContainerAppSourceControlResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_ContainerAppSourceControlResource { - // Get Container App's SourceControl - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetContainerAppSSourceControl() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/SourceControls_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetContainerAppSSourceControl() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Container App SourceControl - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateContainerAppSourceControl() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/SourceControls_CreateOrUpdate.json @@ -104,9 +103,8 @@ public async Task Update_CreateOrUpdateContainerAppSourceControl() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Container App SourceControl - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteContainerAppSourceControl() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/SourceControls_Delete.json @@ -129,7 +127,7 @@ public async Task Delete_DeleteContainerAppSourceControl() // invoke the operation await containerAppSourceControl.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 7aee27f9928d3..953e0a8072647 100644 --- a/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/containerapps/Azure.ResourceManager.AppContainers/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.AppContainers.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.AppContainers.Samples { public partial class Sample_SubscriptionResourceExtensions { - // BillingMeters_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableWorkloadProfiles_BillingMetersGet() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/AvailableWorkloadProfiles_Get.json @@ -42,12 +42,11 @@ public async Task GetAvailableWorkloadProfiles_BillingMetersGet() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingMeters_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBillingMeters_BillingMetersGet() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/BillingMeters_Get.json @@ -71,12 +70,11 @@ public async Task GetBillingMeters_BillingMetersGet() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List usages - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsages_ListUsages() { // Generated from example definition: specification/app/resource-manager/Microsoft.App/stable/2024-03-01/examples/Usages_List.json @@ -100,7 +98,7 @@ public async Task GetUsages_ListUsages() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ContainerGroupCollection.cs b/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ContainerGroupCollection.cs index 5b0e56b2acded..1acfbb2baa828 100644 --- a/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ContainerGroupCollection.cs +++ b/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ContainerGroupCollection.cs @@ -13,14 +13,14 @@ using Azure.ResourceManager.ContainerInstance.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerInstance.Samples { public partial class Sample_ContainerGroupCollection { - // ContainerGroupsListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ContainerGroupsListByResourceGroup() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsListByResourceGroup.json @@ -51,12 +51,11 @@ public async Task GetAll_ContainerGroupsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ContainerGroupsGetWithPriority - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ContainerGroupsGetWithPriority() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsGetPriority.json @@ -88,9 +87,8 @@ public async Task Get_ContainerGroupsGetWithPriority() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerGroupsGetWithPriority - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ContainerGroupsGetWithPriority() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsGetPriority.json @@ -118,9 +116,8 @@ public async Task Exists_ContainerGroupsGetWithPriority() Console.WriteLine($"Succeeded: {result}"); } - // ContainerGroupsGetWithPriority - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ContainerGroupsGetWithPriority() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsGetPriority.json @@ -148,7 +145,7 @@ public async Task GetIfExists_ContainerGroupsGetWithPriority() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_ContainerGroupsGetWithPriority() } } - // ContainerGroupsGet_Failed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ContainerGroupsGetFailed() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsGet_Failed.json @@ -194,9 +190,8 @@ public async Task Get_ContainerGroupsGetFailed() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerGroupsGet_Failed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ContainerGroupsGetFailed() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsGet_Failed.json @@ -224,9 +219,8 @@ public async Task Exists_ContainerGroupsGetFailed() Console.WriteLine($"Succeeded: {result}"); } - // ContainerGroupsGet_Failed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ContainerGroupsGetFailed() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsGet_Failed.json @@ -254,7 +248,7 @@ public async Task GetIfExists_ContainerGroupsGetFailed() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -266,9 +260,8 @@ public async Task GetIfExists_ContainerGroupsGetFailed() } } - // ContainerGroupsGet_Succeeded - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ContainerGroupsGetSucceeded() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsGet_Succeeded.json @@ -300,9 +293,8 @@ public async Task Get_ContainerGroupsGetSucceeded() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerGroupsGet_Succeeded - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ContainerGroupsGetSucceeded() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsGet_Succeeded.json @@ -330,9 +322,8 @@ public async Task Exists_ContainerGroupsGetSucceeded() Console.WriteLine($"Succeeded: {result}"); } - // ContainerGroupsGet_Succeeded - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ContainerGroupsGetSucceeded() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsGet_Succeeded.json @@ -360,7 +351,7 @@ public async Task GetIfExists_ContainerGroupsGetSucceeded() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -372,9 +363,8 @@ public async Task GetIfExists_ContainerGroupsGetSucceeded() } } - // ConfidentialContainerGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ConfidentialContainerGroup() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupCreateConfidential.json @@ -451,9 +441,8 @@ public async Task CreateOrUpdate_ConfidentialContainerGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerGroupCreateOrUpdateWithStandbyPool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ContainerGroupCreateOrUpdateWithStandbyPool() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupCreateOrUpdateStandbyPool.json @@ -507,9 +496,8 @@ public async Task CreateOrUpdate_ContainerGroupCreateOrUpdateWithStandbyPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerGroupCreateWithExtensions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ContainerGroupCreateWithExtensions() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupExtensions.json @@ -596,9 +584,8 @@ public async Task CreateOrUpdate_ContainerGroupCreateWithExtensions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerGroupWithEncryptionProperties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ContainerGroupWithEncryptionProperties() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupEncryptionProperties.json @@ -673,9 +660,8 @@ public async Task CreateOrUpdate_ContainerGroupWithEncryptionProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerGroupsCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ContainerGroupsCreateOrUpdate() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsCreateOrUpdate.json @@ -809,9 +795,8 @@ public async Task CreateOrUpdate_ContainerGroupsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerGroupsCreateWithPriority - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ContainerGroupsCreateWithPriority() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsCreatePriority.json diff --git a/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ContainerGroupProfileCollection.cs b/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ContainerGroupProfileCollection.cs index c4f4ebbce2149..b56dfe10e7ca8 100644 --- a/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ContainerGroupProfileCollection.cs +++ b/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ContainerGroupProfileCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.ContainerInstance.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerInstance.Samples { public partial class Sample_ContainerGroupProfileCollection { - // ContainerGroupProfilesListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ContainerGroupProfilesListByResourceGroup() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfilesListByResourceGroup.json @@ -50,12 +50,11 @@ public async Task GetAll_ContainerGroupProfilesListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ContainerGroupProfilesGetWithPriority - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ContainerGroupProfilesGetWithPriority() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfilesGetPriority.json @@ -87,9 +86,8 @@ public async Task Get_ContainerGroupProfilesGetWithPriority() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerGroupProfilesGetWithPriority - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ContainerGroupProfilesGetWithPriority() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfilesGetPriority.json @@ -117,9 +115,8 @@ public async Task Exists_ContainerGroupProfilesGetWithPriority() Console.WriteLine($"Succeeded: {result}"); } - // ContainerGroupProfilesGetWithPriority - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ContainerGroupProfilesGetWithPriority() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfilesGetPriority.json @@ -147,7 +144,7 @@ public async Task GetIfExists_ContainerGroupProfilesGetWithPriority() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_ContainerGroupProfilesGetWithPriority() } } - // ContainerGroupProfilesGet_Succeeded - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ContainerGroupProfilesGetSucceeded() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfilesGet.json @@ -193,9 +189,8 @@ public async Task Get_ContainerGroupProfilesGetSucceeded() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerGroupProfilesGet_Succeeded - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ContainerGroupProfilesGetSucceeded() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfilesGet.json @@ -223,9 +218,8 @@ public async Task Exists_ContainerGroupProfilesGetSucceeded() Console.WriteLine($"Succeeded: {result}"); } - // ContainerGroupProfilesGet_Succeeded - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ContainerGroupProfilesGetSucceeded() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfilesGet.json @@ -253,7 +247,7 @@ public async Task GetIfExists_ContainerGroupProfilesGetSucceeded() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -265,9 +259,8 @@ public async Task GetIfExists_ContainerGroupProfilesGetSucceeded() } } - // ConfidentialContainerGroupProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ConfidentialContainerGroupProfile() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json @@ -347,9 +340,8 @@ public async Task CreateOrUpdate_ConfidentialContainerGroupProfile() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerGroupProfileCreateWithExtensions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ContainerGroupProfileCreateWithExtensions() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfileCreateOrUpdate_Extensions.json @@ -435,9 +427,8 @@ public async Task CreateOrUpdate_ContainerGroupProfileCreateWithExtensions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerGroupProfileWithEncryptionProperties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ContainerGroupProfileWithEncryptionProperties() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json @@ -508,9 +499,8 @@ public async Task CreateOrUpdate_ContainerGroupProfileWithEncryptionProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerGroupProfilesCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ContainerGroupProfilesCreateOrUpdate() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfilesCreateOrUpdate.json @@ -624,9 +614,8 @@ public async Task CreateOrUpdate_ContainerGroupProfilesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerGroupsCreateWithPriority - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ContainerGroupsCreateWithPriority() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsProfileCreateOrUpdate_CreatePriority.json diff --git a/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ContainerGroupProfileResource.cs b/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ContainerGroupProfileResource.cs index b92f6f3e1d4c4..5d4a59df4f834 100644 --- a/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ContainerGroupProfileResource.cs +++ b/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ContainerGroupProfileResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ContainerInstance.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerInstance.Samples { public partial class Sample_ContainerGroupProfileResource { - // ContainerGroupProfilesList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContainerGroupProfiles_ContainerGroupProfilesList() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfilesList.json @@ -45,12 +45,11 @@ public async Task GetContainerGroupProfiles_ContainerGroupProfilesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ContainerGroupProfilesGetWithPriority - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ContainerGroupProfilesGetWithPriority() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfilesGetPriority.json @@ -79,9 +78,8 @@ public async Task Get_ContainerGroupProfilesGetWithPriority() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerGroupProfilesGet_Succeeded - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ContainerGroupProfilesGetSucceeded() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfilesGet.json @@ -110,9 +108,8 @@ public async Task Get_ContainerGroupProfilesGetSucceeded() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerGroupProfilesPatch - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ContainerGroupProfilesPatch() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfilesPatch.json @@ -149,9 +146,8 @@ public async Task Update_ContainerGroupProfilesPatch() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerGroupProfilesDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ContainerGroupProfilesDelete() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfilesDelete.json @@ -173,7 +169,7 @@ public async Task Delete_ContainerGroupProfilesDelete() // invoke the operation await containerGroupProfile.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ContainerGroupProfileRevisionCollection.cs b/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ContainerGroupProfileRevisionCollection.cs index b8a2385623f06..10acc87c7fa7e 100644 --- a/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ContainerGroupProfileRevisionCollection.cs +++ b/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ContainerGroupProfileRevisionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerInstance.Samples { public partial class Sample_ContainerGroupProfileRevisionCollection { - // ContainerGroupProfileListAllRevisions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ContainerGroupProfileListAllRevisions() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfileListAllRevisions.json @@ -48,12 +48,11 @@ public async Task GetAll_ContainerGroupProfileListAllRevisions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ContainerGroupProfileGetByRevisionNumber - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ContainerGroupProfileGetByRevisionNumber() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfileGetByRevisionNumber.json @@ -86,9 +85,8 @@ public async Task Get_ContainerGroupProfileGetByRevisionNumber() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerGroupProfileGetByRevisionNumber - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ContainerGroupProfileGetByRevisionNumber() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfileGetByRevisionNumber.json @@ -117,9 +115,8 @@ public async Task Exists_ContainerGroupProfileGetByRevisionNumber() Console.WriteLine($"Succeeded: {result}"); } - // ContainerGroupProfileGetByRevisionNumber - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ContainerGroupProfileGetByRevisionNumber() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfileGetByRevisionNumber.json @@ -148,7 +145,7 @@ public async Task GetIfExists_ContainerGroupProfileGetByRevisionNumber() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ContainerGroupProfileRevisionResource.cs b/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ContainerGroupProfileRevisionResource.cs index 0fca9329854c1..c2faacaaa1c66 100644 --- a/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ContainerGroupProfileRevisionResource.cs +++ b/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ContainerGroupProfileRevisionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerInstance.Samples { public partial class Sample_ContainerGroupProfileRevisionResource { - // ContainerGroupProfileGetByRevisionNumber - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ContainerGroupProfileGetByRevisionNumber() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfileGetByRevisionNumber.json diff --git a/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ContainerGroupResource.cs b/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ContainerGroupResource.cs index 9900f9d7876d1..b4a9b0697322d 100644 --- a/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ContainerGroupResource.cs +++ b/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ContainerGroupResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ContainerInstance.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerInstance.Samples { public partial class Sample_ContainerGroupResource { - // ContainerGroupsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContainerGroups_ContainerGroupsList() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsList.json @@ -45,12 +45,11 @@ public async Task GetContainerGroups_ContainerGroupsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ContainerGroupsGetWithPriority - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ContainerGroupsGetWithPriority() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsGetPriority.json @@ -79,9 +78,8 @@ public async Task Get_ContainerGroupsGetWithPriority() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerGroupsGet_Failed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ContainerGroupsGetFailed() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsGet_Failed.json @@ -110,9 +108,8 @@ public async Task Get_ContainerGroupsGetFailed() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerGroupsGet_Succeeded - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ContainerGroupsGetSucceeded() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsGet_Succeeded.json @@ -141,9 +138,8 @@ public async Task Get_ContainerGroupsGetSucceeded() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerGroupsUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ContainerGroupsUpdate() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsUpdate.json @@ -180,9 +176,8 @@ public async Task Update_ContainerGroupsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerGroupsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ContainerGroupsDelete() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsDelete.json @@ -212,9 +207,8 @@ public async Task Delete_ContainerGroupsDelete() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerRestart - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_ContainerRestart() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsRestart.json @@ -236,12 +230,11 @@ public async Task Restart_ContainerRestart() // invoke the operation await containerGroup.RestartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ContainerStop - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_ContainerStop() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsStop.json @@ -263,12 +256,11 @@ public async Task Stop_ContainerStop() // invoke the operation await containerGroup.StopAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ContainerStart - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_ContainerStart() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsStart.json @@ -290,12 +282,11 @@ public async Task Start_ContainerStart() // invoke the operation await containerGroup.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ContainerListLogs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContainerLogs_ContainerListLogs() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerListLogs.json @@ -322,9 +313,8 @@ public async Task GetContainerLogs_ContainerListLogs() Console.WriteLine($"Succeeded: {result}"); } - // ContainerExec - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExecuteContainerCommand_ContainerExec() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerExec.json @@ -359,9 +349,8 @@ public async Task ExecuteContainerCommand_ContainerExec() Console.WriteLine($"Succeeded: {result}"); } - // ContainerAttach - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AttachContainer_ContainerAttach() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerAttach.json diff --git a/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs b/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs index e5f5b707d2005..162a4f3e5a86e 100644 --- a/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs +++ b/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerInstance.Samples { public partial class Sample_ResourceGroupResourceExtensions { - // SubnetServiceAssociationLinkDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteSubnetServiceAssociationLink_SubnetServiceAssociationLinkDelete() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/SubnetServiceAssociationLinkDelete.json @@ -40,7 +40,7 @@ public async Task DeleteSubnetServiceAssociationLink_SubnetServiceAssociationLin string subnetName = "demo3"; await resourceGroupResource.DeleteSubnetServiceAssociationLinkAsync(WaitUntil.Completed, virtualNetworkName, subnetName); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 7746fc950eaad..50f82f1a2b200 100644 --- a/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/containerinstance/Azure.ResourceManager.ContainerInstance/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ContainerInstance.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerInstance.Samples { public partial class Sample_SubscriptionResourceExtensions { - // ContainerUsage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsagesWithLocation_ContainerUsage() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupUsage.json @@ -42,12 +42,11 @@ public async Task GetUsagesWithLocation_ContainerUsage() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CachedImages - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCachedImagesWithLocation_CachedImages() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/CachedImagesList.json @@ -71,12 +70,11 @@ public async Task GetCachedImagesWithLocation_CachedImages() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetCapabilities - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCapabilitiesWithLocation_GetCapabilities() { // Generated from example definition: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/CapabilitiesList.json @@ -100,7 +98,7 @@ public async Task GetCapabilitiesWithLocation_GetCapabilities() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterBgpPeerCollection.cs b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterBgpPeerCollection.cs index 536c0010da232..621dddc2e6251 100644 --- a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterBgpPeerCollection.cs +++ b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterBgpPeerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerOrchestratorRuntime.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerOrchestratorRuntime.Samples { public partial class Sample_ConnectedClusterBgpPeerCollection { - // BgpPeers_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BgpPeersGet() { // Generated from example definition: 2024-03-01/BgpPeers_Get.json @@ -47,9 +47,8 @@ public async Task Get_BgpPeersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BgpPeers_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BgpPeersGet() { // Generated from example definition: 2024-03-01/BgpPeers_Get.json @@ -75,9 +74,8 @@ public async Task Exists_BgpPeersGet() Console.WriteLine($"Succeeded: {result}"); } - // BgpPeers_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BgpPeersGet() { // Generated from example definition: 2024-03-01/BgpPeers_Get.json @@ -103,7 +101,7 @@ public async Task GetIfExists_BgpPeersGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -115,9 +113,8 @@ public async Task GetIfExists_BgpPeersGet() } } - // BgpPeers_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_BgpPeersCreateOrUpdate() { // Generated from example definition: 2024-03-01/BgpPeers_CreateOrUpdate.json @@ -152,9 +149,8 @@ public async Task CreateOrUpdate_BgpPeersCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BgpPeers_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BgpPeersList() { // Generated from example definition: 2024-03-01/BgpPeers_List.json @@ -183,7 +179,7 @@ public async Task GetAll_BgpPeersList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterBgpPeerResource.cs b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterBgpPeerResource.cs index 86e2c9c536788..a03c58197b0d4 100644 --- a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterBgpPeerResource.cs +++ b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterBgpPeerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerOrchestratorRuntime.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerOrchestratorRuntime.Samples { public partial class Sample_ConnectedClusterBgpPeerResource { - // BgpPeers_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BgpPeersGet() { // Generated from example definition: 2024-03-01/BgpPeers_Get.json @@ -45,9 +45,8 @@ public async Task Get_BgpPeersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BgpPeers_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_BgpPeersCreateOrUpdate() { // Generated from example definition: 2024-03-01/BgpPeers_CreateOrUpdate.json @@ -80,9 +79,8 @@ public async Task Update_BgpPeersCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BgpPeers_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_BgpPeersDelete() { // Generated from example definition: 2024-03-01/BgpPeers_Delete.json @@ -103,7 +101,7 @@ public async Task Delete_BgpPeersDelete() // invoke the operation await connectedClusterBgpPeer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterLoadBalancerCollection.cs b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterLoadBalancerCollection.cs index aa0e857065d74..6aae821b63567 100644 --- a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterLoadBalancerCollection.cs +++ b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterLoadBalancerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerOrchestratorRuntime.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerOrchestratorRuntime.Samples { public partial class Sample_ConnectedClusterLoadBalancerCollection { - // LoadBalancers_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LoadBalancersGet() { // Generated from example definition: 2024-03-01/LoadBalancers_Get.json @@ -47,9 +47,8 @@ public async Task Get_LoadBalancersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LoadBalancers_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_LoadBalancersGet() { // Generated from example definition: 2024-03-01/LoadBalancers_Get.json @@ -75,9 +74,8 @@ public async Task Exists_LoadBalancersGet() Console.WriteLine($"Succeeded: {result}"); } - // LoadBalancers_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_LoadBalancersGet() { // Generated from example definition: 2024-03-01/LoadBalancers_Get.json @@ -103,7 +101,7 @@ public async Task GetIfExists_LoadBalancersGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -115,9 +113,8 @@ public async Task GetIfExists_LoadBalancersGet() } } - // LoadBalancers_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_LoadBalancersCreateOrUpdate() { // Generated from example definition: 2024-03-01/LoadBalancers_CreateOrUpdate.json @@ -161,9 +158,8 @@ public async Task CreateOrUpdate_LoadBalancersCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LoadBalancers_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_LoadBalancersList() { // Generated from example definition: 2024-03-01/LoadBalancers_List.json @@ -192,7 +188,7 @@ public async Task GetAll_LoadBalancersList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterLoadBalancerResource.cs b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterLoadBalancerResource.cs index 5a5083af252e9..79f8eee13ff88 100644 --- a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterLoadBalancerResource.cs +++ b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterLoadBalancerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerOrchestratorRuntime.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerOrchestratorRuntime.Samples { public partial class Sample_ConnectedClusterLoadBalancerResource { - // LoadBalancers_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LoadBalancersGet() { // Generated from example definition: 2024-03-01/LoadBalancers_Get.json @@ -45,9 +45,8 @@ public async Task Get_LoadBalancersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LoadBalancers_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_LoadBalancersCreateOrUpdate() { // Generated from example definition: 2024-03-01/LoadBalancers_CreateOrUpdate.json @@ -89,9 +88,8 @@ public async Task Update_LoadBalancersCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LoadBalancers_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_LoadBalancersDelete() { // Generated from example definition: 2024-03-01/LoadBalancers_Delete.json @@ -112,7 +110,7 @@ public async Task Delete_LoadBalancersDelete() // invoke the operation await connectedClusterLoadBalancer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterServiceCollection.cs b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterServiceCollection.cs index 052a04a9a6913..d2bd20a137cf3 100644 --- a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterServiceCollection.cs +++ b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterServiceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerOrchestratorRuntime.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerOrchestratorRuntime.Samples { public partial class Sample_ConnectedClusterServiceCollection { - // Services_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServicesGet() { // Generated from example definition: 2024-03-01/Services_Get.json @@ -47,9 +47,8 @@ public async Task Get_ServicesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Services_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ServicesGet() { // Generated from example definition: 2024-03-01/Services_Get.json @@ -75,9 +74,8 @@ public async Task Exists_ServicesGet() Console.WriteLine($"Succeeded: {result}"); } - // Services_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ServicesGet() { // Generated from example definition: 2024-03-01/Services_Get.json @@ -103,7 +101,7 @@ public async Task GetIfExists_ServicesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -115,9 +113,8 @@ public async Task GetIfExists_ServicesGet() } } - // Services_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ServicesCreateOrUpdate() { // Generated from example definition: 2024-03-01/Services_CreateOrUpdate.json @@ -152,9 +149,8 @@ public async Task CreateOrUpdate_ServicesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Services_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ServicesList() { // Generated from example definition: 2024-03-01/Services_List.json @@ -183,7 +179,7 @@ public async Task GetAll_ServicesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterServiceResource.cs b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterServiceResource.cs index 78cbf04232d29..96698eb28efe1 100644 --- a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterServiceResource.cs +++ b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterServiceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerOrchestratorRuntime.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerOrchestratorRuntime.Samples { public partial class Sample_ConnectedClusterServiceResource { - // Services_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServicesGet() { // Generated from example definition: 2024-03-01/Services_Get.json @@ -45,9 +45,8 @@ public async Task Get_ServicesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Services_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ServicesCreateOrUpdate() { // Generated from example definition: 2024-03-01/Services_CreateOrUpdate.json @@ -80,9 +79,8 @@ public async Task Update_ServicesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Services_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ServicesDelete() { // Generated from example definition: 2024-03-01/Services_Delete.json @@ -103,7 +101,7 @@ public async Task Delete_ServicesDelete() // invoke the operation await connectedClusterService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterStorageClassCollection.cs b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterStorageClassCollection.cs index b8d7fcc90ed22..b7b6f1369a774 100644 --- a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterStorageClassCollection.cs +++ b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterStorageClassCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerOrchestratorRuntime.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerOrchestratorRuntime.Samples { public partial class Sample_ConnectedClusterStorageClassCollection { - // StorageClass_Get_0 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageClassGet0() { // Generated from example definition: 2024-03-01/StorageClass_Get.json @@ -47,9 +47,8 @@ public async Task Get_StorageClassGet0() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageClass_Get_0 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_StorageClassGet0() { // Generated from example definition: 2024-03-01/StorageClass_Get.json @@ -75,9 +74,8 @@ public async Task Exists_StorageClassGet0() Console.WriteLine($"Succeeded: {result}"); } - // StorageClass_Get_0 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_StorageClassGet0() { // Generated from example definition: 2024-03-01/StorageClass_Get.json @@ -103,7 +101,7 @@ public async Task GetIfExists_StorageClassGet0() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -115,9 +113,8 @@ public async Task GetIfExists_StorageClassGet0() } } - // StorageClass_CreateOrUpdate_0 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageClassCreateOrUpdate0() { // Generated from example definition: 2024-03-01/StorageClass_CreateOrUpdate.json @@ -152,9 +149,8 @@ public async Task CreateOrUpdate_StorageClassCreateOrUpdate0() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageClass_List_0 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_StorageClassList0() { // Generated from example definition: 2024-03-01/StorageClass_List.json @@ -183,7 +179,7 @@ public async Task GetAll_StorageClassList0() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterStorageClassResource.cs b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterStorageClassResource.cs index b74dab2ace4dd..b39ffeb563015 100644 --- a/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterStorageClassResource.cs +++ b/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/samples/Generated/Samples/Sample_ConnectedClusterStorageClassResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerOrchestratorRuntime.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerOrchestratorRuntime.Samples { public partial class Sample_ConnectedClusterStorageClassResource { - // StorageClass_Get_0 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageClassGet0() { // Generated from example definition: 2024-03-01/StorageClass_Get.json @@ -45,9 +45,8 @@ public async Task Get_StorageClassGet0() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageClass_Update_0 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StorageClassUpdate0() { // Generated from example definition: 2024-03-01/StorageClass_Update.json @@ -86,9 +85,8 @@ public async Task Update_StorageClassUpdate0() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageClass_Delete_0 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_StorageClassDelete0() { // Generated from example definition: 2024-03-01/StorageClass_Delete.json @@ -109,7 +107,7 @@ public async Task Delete_StorageClassDelete0() // invoke the operation await connectedClusterStorageClass.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryAgentPoolCollection.cs b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryAgentPoolCollection.cs index 5e5ec33f1a5e3..564df9d358211 100644 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryAgentPoolCollection.cs +++ b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryAgentPoolCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerRegistry.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerRegistry.Samples { public partial class Sample_ContainerRegistryAgentPoolCollection { - // AgentPools_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AgentPoolsGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/AgentPoolsGet.json @@ -50,9 +50,8 @@ public async Task Get_AgentPoolsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AgentPools_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AgentPoolsGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/AgentPoolsGet.json @@ -81,9 +80,8 @@ public async Task Exists_AgentPoolsGet() Console.WriteLine($"Succeeded: {result}"); } - // AgentPools_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AgentPoolsGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/AgentPoolsGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_AgentPoolsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_AgentPoolsGet() } } - // AgentPools_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AgentPoolsCreate() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/AgentPoolsCreate.json @@ -170,9 +167,8 @@ public async Task CreateOrUpdate_AgentPoolsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AgentPools_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AgentPoolsList() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/AgentPoolsList.json @@ -204,7 +200,7 @@ public async Task GetAll_AgentPoolsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryAgentPoolResource.cs b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryAgentPoolResource.cs index dc1c30fca1a97..c5155369ce937 100644 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryAgentPoolResource.cs +++ b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryAgentPoolResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerRegistry.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerRegistry.Samples { public partial class Sample_ContainerRegistryAgentPoolResource { - // AgentPools_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AgentPoolsGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/AgentPoolsGet.json @@ -47,9 +47,8 @@ public async Task Get_AgentPoolsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AgentPools_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AgentPoolsDelete() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/AgentPoolsDelete.json @@ -72,12 +71,11 @@ public async Task Delete_AgentPoolsDelete() // invoke the operation await containerRegistryAgentPool.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AgentPools_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AgentPoolsUpdate() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/AgentPoolsUpdate.json @@ -112,9 +110,8 @@ public async Task Update_AgentPoolsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AgentPools_GetQueueStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetQueueStatus_AgentPoolsGetQueueStatus() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/AgentPoolsGetQueueStatus.json diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryCollection.cs b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryCollection.cs index f87ac1b8f6859..c0e50bfaf66b4 100644 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryCollection.cs +++ b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ContainerRegistry.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerRegistry.Samples { public partial class Sample_ContainerRegistryCollection { - // RegistryListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RegistryListByResourceGroup() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/RegistryListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_RegistryListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RegistryGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RegistryGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/RegistryGet.json @@ -86,9 +85,8 @@ public async Task Get_RegistryGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RegistryGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RegistryGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/RegistryGet.json @@ -116,9 +114,8 @@ public async Task Exists_RegistryGet() Console.WriteLine($"Succeeded: {result}"); } - // RegistryGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RegistryGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/RegistryGet.json @@ -146,7 +143,7 @@ public async Task GetIfExists_RegistryGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_RegistryGet() } } - // RegistryCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RegistryCreate() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/RegistryCreate.json @@ -201,9 +197,8 @@ public async Task CreateOrUpdate_RegistryCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RegistryCreateZoneRedundant - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RegistryCreateZoneRedundant() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/RegistryCreateZoneRedundant.json diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryPrivateEndpointConnectionCollection.cs b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryPrivateEndpointConnectionCollection.cs index a69924742d6c1..da6f45d06277f 100644 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryPrivateEndpointConnectionCollection.cs +++ b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerRegistry.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerRegistry.Samples { public partial class Sample_ContainerRegistryPrivateEndpointConnectionCollection { - // PrivateEndpointConnectionList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndpointConnectionList() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/PrivateEndpointConnectionList.json @@ -49,12 +49,11 @@ public async Task GetAll_PrivateEndpointConnectionList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateEndpointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/PrivateEndpointConnectionGet.json @@ -87,9 +86,8 @@ public async Task Get_PrivateEndpointConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateEndpointConnectionGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/PrivateEndpointConnectionGet.json @@ -118,9 +116,8 @@ public async Task Exists_PrivateEndpointConnectionGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateEndpointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateEndpointConnectionGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/PrivateEndpointConnectionGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_PrivateEndpointConnectionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_PrivateEndpointConnectionGet() } } - // PrivateEndpointConnectionCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateEndpointConnectionCreateOrUpdate() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/PrivateEndpointConnectionCreateOrUpdate.json diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryPrivateEndpointConnectionResource.cs b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryPrivateEndpointConnectionResource.cs index add65c193fea7..14ddc2a64da5d 100644 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryPrivateEndpointConnectionResource.cs +++ b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerRegistry.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerRegistry.Samples { public partial class Sample_ContainerRegistryPrivateEndpointConnectionResource { - // PrivateEndpointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/PrivateEndpointConnectionGet.json @@ -47,9 +47,8 @@ public async Task Get_PrivateEndpointConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnectionCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateEndpointConnectionCreateOrUpdate() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/PrivateEndpointConnectionCreateOrUpdate.json @@ -88,9 +87,8 @@ public async Task Update_PrivateEndpointConnectionCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnectionDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateEndpointConnectionDelete() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/PrivateEndpointConnectionDelete.json @@ -113,7 +111,7 @@ public async Task Delete_PrivateEndpointConnectionDelete() // invoke the operation await containerRegistryPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryPrivateLinkResource.cs b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryPrivateLinkResource.cs index 0f13ec637c5fa..8e0fca18a5fae 100644 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryPrivateLinkResource.cs +++ b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerRegistry.Samples { public partial class Sample_ContainerRegistryPrivateLinkResource { - // RegistryGetPrivateLinkResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RegistryGetPrivateLinkResource() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/RegistryGetPrivateLinkResource.json diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryPrivateLinkResourceCollection.cs b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryPrivateLinkResourceCollection.cs index 80d46178e9b21..08ac0e431a777 100644 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryPrivateLinkResourceCollection.cs +++ b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryPrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerRegistry.Samples { public partial class Sample_ContainerRegistryPrivateLinkResourceCollection { - // RegistryListPrivateLinkResources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RegistryListPrivateLinkResources() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/RegistryListPrivateLinkResources.json @@ -48,12 +48,11 @@ public async Task GetAll_RegistryListPrivateLinkResources() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RegistryGetPrivateLinkResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RegistryGetPrivateLinkResource() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/RegistryGetPrivateLinkResource.json @@ -86,9 +85,8 @@ public async Task Get_RegistryGetPrivateLinkResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RegistryGetPrivateLinkResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RegistryGetPrivateLinkResource() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/RegistryGetPrivateLinkResource.json @@ -117,9 +115,8 @@ public async Task Exists_RegistryGetPrivateLinkResource() Console.WriteLine($"Succeeded: {result}"); } - // RegistryGetPrivateLinkResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RegistryGetPrivateLinkResource() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/RegistryGetPrivateLinkResource.json @@ -148,7 +145,7 @@ public async Task GetIfExists_RegistryGetPrivateLinkResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryReplicationCollection.cs b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryReplicationCollection.cs index 548bb48cf1f9d..d26af5fe03ef8 100644 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryReplicationCollection.cs +++ b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryReplicationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerRegistry.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerRegistry.Samples { public partial class Sample_ContainerRegistryReplicationCollection { - // ReplicationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ReplicationList() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/ReplicationList.json @@ -49,12 +49,11 @@ public async Task GetAll_ReplicationList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ReplicationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ReplicationGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/ReplicationGet.json @@ -87,9 +86,8 @@ public async Task Get_ReplicationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ReplicationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ReplicationGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/ReplicationGet.json @@ -118,9 +116,8 @@ public async Task Exists_ReplicationGet() Console.WriteLine($"Succeeded: {result}"); } - // ReplicationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ReplicationGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/ReplicationGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ReplicationGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ReplicationGet() } } - // ReplicationCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ReplicationCreate() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/ReplicationCreate.json @@ -204,9 +200,8 @@ public async Task CreateOrUpdate_ReplicationCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ReplicationCreateZoneRedundant - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ReplicationCreateZoneRedundant() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/ReplicationCreateZoneRedundant.json diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryReplicationResource.cs b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryReplicationResource.cs index 95308bbc97a47..c996d2e423e2f 100644 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryReplicationResource.cs +++ b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryReplicationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerRegistry.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerRegistry.Samples { public partial class Sample_ContainerRegistryReplicationResource { - // ReplicationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ReplicationGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/ReplicationGet.json @@ -47,9 +47,8 @@ public async Task Get_ReplicationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ReplicationDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ReplicationDelete() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/ReplicationDelete.json @@ -72,12 +71,11 @@ public async Task Delete_ReplicationDelete() // invoke the operation await containerRegistryReplication.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ReplicationUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ReplicationUpdate() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/ReplicationUpdate.json diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryResource.cs b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryResource.cs index 824dcfc7e7aa3..3cbc3f7532c69 100644 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryResource.cs +++ b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ContainerRegistry.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerRegistry.Samples { public partial class Sample_ContainerRegistryResource { - // ImportImageByManifestDigest - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ImportImage_ImportImageByManifestDigest() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/ImportImageByManifestDigest.json @@ -55,12 +55,11 @@ public async Task ImportImage_ImportImageByManifestDigest() }; await containerRegistry.ImportImageAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ImportImageByTag - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ImportImage_ImportImageByTag() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/ImportImageByTag.json @@ -97,12 +96,11 @@ public async Task ImportImage_ImportImageByTag() }; await containerRegistry.ImportImageAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ImportImageFromPublicRegistry - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ImportImage_ImportImageFromPublicRegistry() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/ImportImageFromPublicRegistry.json @@ -139,12 +137,11 @@ public async Task ImportImage_ImportImageFromPublicRegistry() }; await containerRegistry.ImportImageAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RegistryCheckNameAvailable - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckContainerRegistryNameAvailability_RegistryCheckNameAvailable() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/RegistryCheckNameAvailable.json @@ -168,9 +165,8 @@ public async Task CheckContainerRegistryNameAvailability_RegistryCheckNameAvaila Console.WriteLine($"Succeeded: {result}"); } - // RegistryCheckNameNotAvailable - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckContainerRegistryNameAvailability_RegistryCheckNameNotAvailable() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/RegistryCheckNameNotAvailable.json @@ -194,9 +190,8 @@ public async Task CheckContainerRegistryNameAvailability_RegistryCheckNameNotAva Console.WriteLine($"Succeeded: {result}"); } - // RegistryList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContainerRegistries_RegistryList() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/RegistryList.json @@ -223,12 +218,11 @@ public async Task GetContainerRegistries_RegistryList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RegistryGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RegistryGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/RegistryGet.json @@ -257,9 +251,8 @@ public async Task Get_RegistryGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RegistryDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RegistryDelete() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/RegistryDelete.json @@ -281,12 +274,11 @@ public async Task Delete_RegistryDelete() // invoke the operation await containerRegistry.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RegistryUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RegistryUpdate() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/RegistryUpdate.json @@ -325,9 +317,8 @@ public async Task Update_RegistryUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RegistryListUsages - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsages_RegistryListUsages() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/RegistryListUsages.json @@ -352,12 +343,11 @@ public async Task GetUsages_RegistryListUsages() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RegistryListCredentials - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCredentials_RegistryListCredentials() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/RegistryListCredentials.json @@ -382,9 +372,8 @@ public async Task GetCredentials_RegistryListCredentials() Console.WriteLine($"Succeeded: {result}"); } - // RegistryRegenerateCredential - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateCredential_RegistryRegenerateCredential() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/RegistryRegenerateCredential.json @@ -410,9 +399,8 @@ public async Task RegenerateCredential_RegistryRegenerateCredential() Console.WriteLine($"Succeeded: {result}"); } - // RegistryGenerateCredentials - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateCredentials_RegistryGenerateCredentials() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/RegistryGenerateCredentials.json @@ -443,9 +431,8 @@ public async Task GenerateCredentials_RegistryGenerateCredentials() Console.WriteLine($"Succeeded: {result}"); } - // Registries_ScheduleRun - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ScheduleRun_RegistriesScheduleRun() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun.json @@ -500,9 +487,8 @@ public async Task ScheduleRun_RegistriesScheduleRun() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Registries_ScheduleRun_EncodedTaskRun - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ScheduleRun_RegistriesScheduleRunEncodedTaskRun() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json @@ -547,9 +533,8 @@ public async Task ScheduleRun_RegistriesScheduleRunEncodedTaskRun() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Registries_ScheduleRun_FileTaskRun - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ScheduleRun_RegistriesScheduleRunFileTaskRun() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json @@ -595,9 +580,8 @@ public async Task ScheduleRun_RegistriesScheduleRunFileTaskRun() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Registries_ScheduleRun_Task - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ScheduleRun_RegistriesScheduleRunTask() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_Task.json @@ -656,9 +640,8 @@ public async Task ScheduleRun_RegistriesScheduleRunTask() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Registries_ScheduleRun_Task_WithCustomCredentials - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ScheduleRun_RegistriesScheduleRunTaskWithCustomCredentials() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json @@ -721,9 +704,8 @@ public async Task ScheduleRun_RegistriesScheduleRunTaskWithCustomCredentials() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Registries_ScheduleRun_WithCustomCredentials - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ScheduleRun_RegistriesScheduleRunWithCustomCredentials() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json @@ -812,9 +794,8 @@ public async Task ScheduleRun_RegistriesScheduleRunWithCustomCredentials() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Registries_ScheduleRun_WithLogTemplate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ScheduleRun_RegistriesScheduleRunWithLogTemplate() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_WithLogTemplate.json @@ -870,9 +851,8 @@ public async Task ScheduleRun_RegistriesScheduleRunWithLogTemplate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Registries_GetBuildSourceUploadUrl - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBuildSourceUploadUrl_RegistriesGetBuildSourceUploadUrl() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryRunCollection.cs b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryRunCollection.cs index 15b7d919de09e..05f6f8fd8537e 100644 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryRunCollection.cs +++ b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryRunCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerRegistry.Samples { public partial class Sample_ContainerRegistryRunCollection { - // Runs_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RunsList() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsList.json @@ -50,12 +50,11 @@ public async Task GetAll_RunsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Runs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RunsGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGet.json @@ -88,9 +87,8 @@ public async Task Get_RunsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Runs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RunsGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGet.json @@ -119,9 +117,8 @@ public async Task Exists_RunsGet() Console.WriteLine($"Succeeded: {result}"); } - // Runs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RunsGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGet.json @@ -150,7 +147,7 @@ public async Task GetIfExists_RunsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryRunResource.cs b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryRunResource.cs index c7825e8ee9229..fdc7815d31aa5 100644 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryRunResource.cs +++ b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryRunResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerRegistry.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerRegistry.Samples { public partial class Sample_ContainerRegistryRunResource { - // Runs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RunsGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGet.json @@ -47,9 +47,8 @@ public async Task Get_RunsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Runs_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RunsUpdate() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsUpdate.json @@ -84,9 +83,8 @@ public async Task Update_RunsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Runs_GetLogSasUrl - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLogSasUrl_RunsGetLogSasUrl() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGetLogSasUrl.json @@ -112,9 +110,8 @@ public async Task GetLogSasUrl_RunsGetLogSasUrl() Console.WriteLine($"Succeeded: {result}"); } - // Runs_Cancel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cancel_RunsCancel() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsCancel.json @@ -137,7 +134,7 @@ public async Task Cancel_RunsCancel() // invoke the operation await containerRegistryRun.CancelAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryTaskCollection.cs b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryTaskCollection.cs index 07670db7755d9..07424098460c6 100644 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryTaskCollection.cs +++ b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryTaskCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ContainerRegistry.Models; using Azure.ResourceManager.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerRegistry.Samples { public partial class Sample_ContainerRegistryTaskCollection { - // Tasks_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_TasksList() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksList.json @@ -50,12 +50,11 @@ public async Task GetAll_TasksList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Tasks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TasksGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGet.json @@ -88,9 +87,8 @@ public async Task Get_TasksGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Tasks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_TasksGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGet.json @@ -119,9 +117,8 @@ public async Task Exists_TasksGet() Console.WriteLine($"Succeeded: {result}"); } - // Tasks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TasksGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGet.json @@ -150,7 +147,7 @@ public async Task GetIfExists_TasksGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_TasksGet() } } - // Tasks_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TasksCreate() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksCreate.json @@ -257,9 +253,8 @@ public async Task CreateOrUpdate_TasksCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Tasks_Create_QuickTask - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TasksCreateQuickTask() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksCreate_QuickTask.json @@ -304,9 +299,8 @@ public async Task CreateOrUpdate_TasksCreateQuickTask() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Tasks_Create_WithSystemAndUserIdentities - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TasksCreateWithSystemAndUserIdentities() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json @@ -405,9 +399,8 @@ public async Task CreateOrUpdate_TasksCreateWithSystemAndUserIdentities() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Tasks_Create_WithUserIdentities - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TasksCreateWithUserIdentities() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json @@ -507,9 +500,8 @@ public async Task CreateOrUpdate_TasksCreateWithUserIdentities() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Tasks_Create_WithUserIdentities_WithSystemIdentity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TasksCreateWithUserIdentitiesWithSystemIdentity() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryTaskResource.cs b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryTaskResource.cs index 0177c86e39383..f426cfe4c40fc 100644 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryTaskResource.cs +++ b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryTaskResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerRegistry.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerRegistry.Samples { public partial class Sample_ContainerRegistryTaskResource { - // Tasks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TasksGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGet.json @@ -47,9 +47,8 @@ public async Task Get_TasksGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Tasks_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_TasksDelete() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksDelete.json @@ -72,12 +71,11 @@ public async Task Delete_TasksDelete() // invoke the operation await containerRegistryTask.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Tasks_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TasksUpdate() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate.json @@ -167,9 +165,8 @@ public async Task Update_TasksUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Tasks_Update_QuickTask - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TasksUpdateQuickTask() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate_QuickTask.json @@ -209,9 +206,8 @@ public async Task Update_TasksUpdateQuickTask() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Tasks_Update_WithKeyVaultCustomCredentials - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TasksUpdateWithKeyVaultCustomCredentials() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json @@ -301,9 +297,8 @@ public async Task Update_TasksUpdateWithKeyVaultCustomCredentials() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Tasks_Update_WithMSICustomCredentials - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TasksUpdateWithMSICustomCredentials() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json @@ -383,9 +378,8 @@ public async Task Update_TasksUpdateWithMSICustomCredentials() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Tasks_Update_WithOpaqueCustomCredentials - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TasksUpdateWithOpaqueCustomCredentials() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json @@ -474,9 +468,8 @@ public async Task Update_TasksUpdateWithOpaqueCustomCredentials() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Tasks_GetDetails - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDetails_TasksGetDetails() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGetDetails.json diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryTaskRunCollection.cs b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryTaskRunCollection.cs index 2f7137429d13f..441abf9dc2815 100644 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryTaskRunCollection.cs +++ b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryTaskRunCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerRegistry.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerRegistry.Samples { public partial class Sample_ContainerRegistryTaskRunCollection { - // TaskRuns_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TaskRunsGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TaskRunsGet.json @@ -50,9 +50,8 @@ public async Task Get_TaskRunsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TaskRuns_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_TaskRunsGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TaskRunsGet.json @@ -81,9 +80,8 @@ public async Task Exists_TaskRunsGet() Console.WriteLine($"Succeeded: {result}"); } - // TaskRuns_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TaskRunsGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TaskRunsGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_TaskRunsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_TaskRunsGet() } } - // TaskRuns_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TaskRunsCreate() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TaskRunsCreate.json @@ -175,9 +172,8 @@ public async Task CreateOrUpdate_TaskRunsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TaskRuns_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_TaskRunsList() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TaskRunsList.json @@ -209,7 +205,7 @@ public async Task GetAll_TaskRunsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryTaskRunResource.cs b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryTaskRunResource.cs index 7360d8719a570..6701f061e0dfe 100644 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryTaskRunResource.cs +++ b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryTaskRunResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerRegistry.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerRegistry.Samples { public partial class Sample_ContainerRegistryTaskRunResource { - // TaskRuns_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TaskRunsGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TaskRunsGet.json @@ -47,9 +47,8 @@ public async Task Get_TaskRunsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TaskRuns_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_TaskRunsDelete() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TaskRunsDelete.json @@ -72,12 +71,11 @@ public async Task Delete_TaskRunsDelete() // invoke the operation await containerRegistryTaskRun.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TaskRuns_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TaskRunsUpdate() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TaskRunsUpdate.json @@ -124,9 +122,8 @@ public async Task Update_TaskRunsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TaskRuns_GetDetails - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDetails_TaskRunsGetDetails() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TaskRunsGetDetails.json diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryTokenCollection.cs b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryTokenCollection.cs index bddb84d9dc0c7..ba390e5c3e67d 100644 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryTokenCollection.cs +++ b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryTokenCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerRegistry.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerRegistry.Samples { public partial class Sample_ContainerRegistryTokenCollection { - // TokenList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_TokenList() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/TokenList.json @@ -49,12 +49,11 @@ public async Task GetAll_TokenList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TokenGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TokenGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/TokenGet.json @@ -87,9 +86,8 @@ public async Task Get_TokenGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TokenGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_TokenGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/TokenGet.json @@ -118,9 +116,8 @@ public async Task Exists_TokenGet() Console.WriteLine($"Succeeded: {result}"); } - // TokenGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TokenGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/TokenGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_TokenGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_TokenGet() } } - // TokenCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TokenCreate() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/TokenCreate.json diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryTokenResource.cs b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryTokenResource.cs index cde2a93bddf5d..84cb2b1ff40ba 100644 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryTokenResource.cs +++ b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryTokenResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerRegistry.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerRegistry.Samples { public partial class Sample_ContainerRegistryTokenResource { - // TokenGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TokenGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/TokenGet.json @@ -47,9 +47,8 @@ public async Task Get_TokenGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TokenDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_TokenDelete() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/TokenDelete.json @@ -72,12 +71,11 @@ public async Task Delete_TokenDelete() // invoke the operation await containerRegistryToken.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TokenUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TokenUpdate() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/TokenUpdate.json diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryWebhookCollection.cs b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryWebhookCollection.cs index 2d0a9f3f6c924..4117bc35abd53 100644 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryWebhookCollection.cs +++ b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryWebhookCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerRegistry.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerRegistry.Samples { public partial class Sample_ContainerRegistryWebhookCollection { - // WebhookList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WebhookList() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/WebhookList.json @@ -49,12 +49,11 @@ public async Task GetAll_WebhookList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WebhookGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WebhookGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/WebhookGet.json @@ -87,9 +86,8 @@ public async Task Get_WebhookGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WebhookGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WebhookGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/WebhookGet.json @@ -118,9 +116,8 @@ public async Task Exists_WebhookGet() Console.WriteLine($"Succeeded: {result}"); } - // WebhookGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WebhookGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/WebhookGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_WebhookGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_WebhookGet() } } - // WebhookCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_WebhookCreate() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/WebhookCreate.json diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryWebhookResource.cs b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryWebhookResource.cs index 37e5bb9560ee6..51a3c18ccd31a 100644 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryWebhookResource.cs +++ b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ContainerRegistryWebhookResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerRegistry.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerRegistry.Samples { public partial class Sample_ContainerRegistryWebhookResource { - // WebhookGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WebhookGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/WebhookGet.json @@ -47,9 +47,8 @@ public async Task Get_WebhookGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WebhookDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_WebhookDelete() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/WebhookDelete.json @@ -72,12 +71,11 @@ public async Task Delete_WebhookDelete() // invoke the operation await containerRegistryWebhook.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WebhookUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_WebhookUpdate() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/WebhookUpdate.json @@ -126,9 +124,8 @@ public async Task Update_WebhookUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WebhookPing - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Ping_WebhookPing() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/WebhookPing.json @@ -154,9 +151,8 @@ public async Task Ping_WebhookPing() Console.WriteLine($"Succeeded: {result}"); } - // WebhookListEvents - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEvents_WebhookListEvents() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/WebhookListEvents.json @@ -182,12 +178,11 @@ public async Task GetEvents_WebhookListEvents() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WebhookGetCallbackConfig - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCallbackConfig_WebhookGetCallbackConfig() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/WebhookGetCallbackConfig.json diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ScopeMapCollection.cs b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ScopeMapCollection.cs index ff2c4e4a46955..05deb15a1a0d1 100644 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ScopeMapCollection.cs +++ b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ScopeMapCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerRegistry.Samples { public partial class Sample_ScopeMapCollection { - // ScopeMapList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ScopeMapList() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/ScopeMapList.json @@ -48,12 +48,11 @@ public async Task GetAll_ScopeMapList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ScopeMapGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ScopeMapGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/ScopeMapGet.json @@ -86,9 +85,8 @@ public async Task Get_ScopeMapGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScopeMapGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ScopeMapGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/ScopeMapGet.json @@ -117,9 +115,8 @@ public async Task Exists_ScopeMapGet() Console.WriteLine($"Succeeded: {result}"); } - // ScopeMapGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ScopeMapGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/ScopeMapGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_ScopeMapGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_ScopeMapGet() } } - // ScopeMapCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ScopeMapCreate() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/ScopeMapCreate.json diff --git a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ScopeMapResource.cs b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ScopeMapResource.cs index 2a131126596e6..1deb11fd043da 100644 --- a/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ScopeMapResource.cs +++ b/sdk/containerregistry/Azure.ResourceManager.ContainerRegistry/samples/Generated/Samples/Sample_ScopeMapResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerRegistry.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerRegistry.Samples { public partial class Sample_ScopeMapResource { - // ScopeMapGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ScopeMapGet() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/ScopeMapGet.json @@ -47,9 +47,8 @@ public async Task Get_ScopeMapGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScopeMapDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ScopeMapDelete() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/ScopeMapDelete.json @@ -72,12 +71,11 @@ public async Task Delete_ScopeMapDelete() // invoke the operation await scopeMap.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ScopeMapUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ScopeMapUpdate() { // Generated from example definition: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2022-12-01/examples/ScopeMapUpdate.json diff --git a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_AgentPoolSnapshotCollection.cs b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_AgentPoolSnapshotCollection.cs index 63175e8ef93c3..e1080808cc413 100644 --- a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_AgentPoolSnapshotCollection.cs +++ b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_AgentPoolSnapshotCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerService.Samples { public partial class Sample_AgentPoolSnapshotCollection { - // List Snapshots by Resource Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSnapshotsByResourceGroup() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/SnapshotsListByResourceGroup.json @@ -48,12 +48,11 @@ public async Task GetAll_ListSnapshotsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Snapshot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSnapshot() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/SnapshotsGet.json @@ -85,9 +84,8 @@ public async Task Get_GetSnapshot() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Snapshot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSnapshot() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/SnapshotsGet.json @@ -115,9 +113,8 @@ public async Task Exists_GetSnapshot() Console.WriteLine($"Succeeded: {result}"); } - // Get Snapshot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSnapshot() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/SnapshotsGet.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetSnapshot() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -157,9 +154,8 @@ public async Task GetIfExists_GetSnapshot() } } - // Create/Update Snapshot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateUpdateSnapshot() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/SnapshotsCreate.json diff --git a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_AgentPoolSnapshotResource.cs b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_AgentPoolSnapshotResource.cs index 85da91d3b4d92..fc43864f58ae4 100644 --- a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_AgentPoolSnapshotResource.cs +++ b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_AgentPoolSnapshotResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ContainerService.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerService.Samples { public partial class Sample_AgentPoolSnapshotResource { - // List Snapshots - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAgentPoolSnapshots_ListSnapshots() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/SnapshotsList.json @@ -45,12 +45,11 @@ public async Task GetAgentPoolSnapshots_ListSnapshots() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Snapshot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSnapshot() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/SnapshotsGet.json @@ -79,9 +78,8 @@ public async Task Get_GetSnapshot() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Snapshot Tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateSnapshotTags() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/SnapshotsUpdateTags.json @@ -118,9 +116,8 @@ public async Task Update_UpdateSnapshotTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Snapshot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSnapshot() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/SnapshotsDelete.json @@ -142,7 +139,7 @@ public async Task Delete_DeleteSnapshot() // invoke the operation await agentPoolSnapshot.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_AgentPoolUpgradeProfileResource.cs b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_AgentPoolUpgradeProfileResource.cs index 51a85ec9943c9..16685e88b2e2a 100644 --- a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_AgentPoolUpgradeProfileResource.cs +++ b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_AgentPoolUpgradeProfileResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerService.Samples { public partial class Sample_AgentPoolUpgradeProfileResource { - // Get Upgrade Profile for Agent Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetUpgradeProfileForAgentPool() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsGetUpgradeProfile.json diff --git a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceAgentPoolCollection.cs b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceAgentPoolCollection.cs index 7b21e704d8cc8..4dc70975bd617 100644 --- a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceAgentPoolCollection.cs +++ b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceAgentPoolCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerService.Samples { public partial class Sample_ContainerServiceAgentPoolCollection { - // List Agent Pools by Managed Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAgentPoolsByManagedCluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsList.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAgentPoolsByManagedCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Agent Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAgentPool() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsGet.json @@ -87,9 +86,8 @@ public async Task Get_GetAgentPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Agent Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAgentPool() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetAgentPool() Console.WriteLine($"Succeeded: {result}"); } - // Get Agent Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAgentPool() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetAgentPool() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetAgentPool() } } - // Create Agent Pool using an agent pool snapshot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAgentPoolUsingAnAgentPoolSnapshot() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_Snapshot.json @@ -206,9 +202,8 @@ public async Task CreateOrUpdate_CreateAgentPoolUsingAnAgentPoolSnapshot() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Agent Pool with Capacity Reservation Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAgentPoolWithCapacityReservationGroup() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_CRG.json @@ -250,9 +245,8 @@ public async Task CreateOrUpdate_CreateAgentPoolWithCapacityReservationGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Agent Pool with Dedicated Host Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAgentPoolWithDedicatedHostGroup() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_DedicatedHostGroup.json @@ -294,9 +288,8 @@ public async Task CreateOrUpdate_CreateAgentPoolWithDedicatedHostGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Agent Pool with EncryptionAtHost enabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAgentPoolWithEncryptionAtHostEnabled() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_EnableEncryptionAtHost.json @@ -338,9 +331,8 @@ public async Task CreateOrUpdate_CreateAgentPoolWithEncryptionAtHostEnabled() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Agent Pool with Ephemeral OS Disk - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAgentPoolWithEphemeralOSDisk() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_Ephemeral.json @@ -383,9 +375,8 @@ public async Task CreateOrUpdate_CreateAgentPoolWithEphemeralOSDisk() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Agent Pool with FIPS enabled OS - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAgentPoolWithFIPSEnabledOS() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_EnableFIPS.json @@ -427,9 +418,8 @@ public async Task CreateOrUpdate_CreateAgentPoolWithFIPSEnabledOS() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Agent Pool with GPUMIG - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAgentPoolWithGPUMIG() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_GPUMIG.json @@ -498,9 +488,8 @@ public async Task CreateOrUpdate_CreateAgentPoolWithGPUMIG() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Agent Pool with Krustlet and the WASI runtime - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAgentPoolWithKrustletAndTheWASIRuntime() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_WasmWasi.json @@ -544,9 +533,8 @@ public async Task CreateOrUpdate_CreateAgentPoolWithKrustletAndTheWASIRuntime() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Agent Pool with KubeletConfig and LinuxOSConfig - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAgentPoolWithKubeletConfigAndLinuxOSConfig() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_CustomNodeConfig.json @@ -614,9 +602,8 @@ public async Task CreateOrUpdate_CreateAgentPoolWithKubeletConfigAndLinuxOSConfi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Agent Pool with OSSKU - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAgentPoolWithOSSKU() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_OSSKU.json @@ -685,9 +672,8 @@ public async Task CreateOrUpdate_CreateAgentPoolWithOSSKU() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Agent Pool with PPG - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAgentPoolWithPPG() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_PPG.json @@ -729,9 +715,8 @@ public async Task CreateOrUpdate_CreateAgentPoolWithPPG() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Agent Pool with UltraSSD enabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAgentPoolWithUltraSSDEnabled() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_EnableUltraSSD.json @@ -773,9 +758,8 @@ public async Task CreateOrUpdate_CreateAgentPoolWithUltraSSDEnabled() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Agent Pool with Windows OSSKU - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAgentPoolWithWindowsOSSKU() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_WindowsOSSKU.json @@ -817,9 +801,8 @@ public async Task CreateOrUpdate_CreateAgentPoolWithWindowsOSSKU() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Spot Agent Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSpotAgentPool() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_Spot.json @@ -874,9 +857,8 @@ public async Task CreateOrUpdate_CreateSpotAgentPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create/Update Agent Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateUpdateAgentPool() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_Update.json @@ -932,9 +914,8 @@ public async Task CreateOrUpdate_CreateUpdateAgentPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Start Agent Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StartAgentPool() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPools_Start.json @@ -972,9 +953,8 @@ public async Task CreateOrUpdate_StartAgentPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Stop Agent Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StopAgentPool() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPools_Stop.json @@ -1012,9 +992,8 @@ public async Task CreateOrUpdate_StopAgentPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Agent Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAgentPool() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPools_Update.json diff --git a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceAgentPoolResource.cs b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceAgentPoolResource.cs index 7f4a5fba28b02..170c3e55a7dda 100644 --- a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceAgentPoolResource.cs +++ b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceAgentPoolResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerService.Samples { public partial class Sample_ContainerServiceAgentPoolResource { - // Abort operation on agent pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AbortLatestOperation_AbortOperationOnAgentPool() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsAbortOperation.json @@ -40,12 +40,11 @@ public async Task AbortLatestOperation_AbortOperationOnAgentPool() // invoke the operation await containerServiceAgentPool.AbortLatestOperationAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Agent Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAgentPool() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsGet.json @@ -75,9 +74,8 @@ public async Task Get_GetAgentPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Agent Pool using an agent pool snapshot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAgentPoolUsingAnAgentPoolSnapshot() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_Snapshot.json @@ -117,9 +115,8 @@ public async Task Update_CreateAgentPoolUsingAnAgentPoolSnapshot() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Agent Pool with Capacity Reservation Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAgentPoolWithCapacityReservationGroup() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_CRG.json @@ -158,9 +155,8 @@ public async Task Update_CreateAgentPoolWithCapacityReservationGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Agent Pool with Dedicated Host Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAgentPoolWithDedicatedHostGroup() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_DedicatedHostGroup.json @@ -199,9 +195,8 @@ public async Task Update_CreateAgentPoolWithDedicatedHostGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Agent Pool with EncryptionAtHost enabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAgentPoolWithEncryptionAtHostEnabled() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_EnableEncryptionAtHost.json @@ -240,9 +235,8 @@ public async Task Update_CreateAgentPoolWithEncryptionAtHostEnabled() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Agent Pool with Ephemeral OS Disk - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAgentPoolWithEphemeralOSDisk() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_Ephemeral.json @@ -282,9 +276,8 @@ public async Task Update_CreateAgentPoolWithEphemeralOSDisk() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Agent Pool with FIPS enabled OS - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAgentPoolWithFIPSEnabledOS() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_EnableFIPS.json @@ -323,9 +316,8 @@ public async Task Update_CreateAgentPoolWithFIPSEnabledOS() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Agent Pool with GPUMIG - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAgentPoolWithGPUMIG() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_GPUMIG.json @@ -391,9 +383,8 @@ public async Task Update_CreateAgentPoolWithGPUMIG() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Agent Pool with Krustlet and the WASI runtime - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAgentPoolWithKrustletAndTheWASIRuntime() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_WasmWasi.json @@ -434,9 +425,8 @@ public async Task Update_CreateAgentPoolWithKrustletAndTheWASIRuntime() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Agent Pool with KubeletConfig and LinuxOSConfig - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAgentPoolWithKubeletConfigAndLinuxOSConfig() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_CustomNodeConfig.json @@ -501,9 +491,8 @@ public async Task Update_CreateAgentPoolWithKubeletConfigAndLinuxOSConfig() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Agent Pool with OSSKU - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAgentPoolWithOSSKU() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_OSSKU.json @@ -569,9 +558,8 @@ public async Task Update_CreateAgentPoolWithOSSKU() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Agent Pool with PPG - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAgentPoolWithPPG() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_PPG.json @@ -610,9 +598,8 @@ public async Task Update_CreateAgentPoolWithPPG() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Agent Pool with UltraSSD enabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAgentPoolWithUltraSSDEnabled() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_EnableUltraSSD.json @@ -651,9 +638,8 @@ public async Task Update_CreateAgentPoolWithUltraSSDEnabled() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Agent Pool with Windows OSSKU - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAgentPoolWithWindowsOSSKU() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_WindowsOSSKU.json @@ -692,9 +678,8 @@ public async Task Update_CreateAgentPoolWithWindowsOSSKU() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Spot Agent Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateSpotAgentPool() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_Spot.json @@ -746,9 +731,8 @@ public async Task Update_CreateSpotAgentPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create/Update Agent Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateUpdateAgentPool() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsCreate_Update.json @@ -801,9 +785,8 @@ public async Task Update_CreateUpdateAgentPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Start Agent Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StartAgentPool() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPools_Start.json @@ -838,9 +821,8 @@ public async Task Update_StartAgentPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Stop Agent Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StopAgentPool() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPools_Stop.json @@ -875,9 +857,8 @@ public async Task Update_StopAgentPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Agent Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAgentPool() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPools_Update.json @@ -924,9 +905,8 @@ public async Task Update_UpdateAgentPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Agent Pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAgentPool() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsDelete.json @@ -949,12 +929,11 @@ public async Task Delete_DeleteAgentPool() // invoke the operation await containerServiceAgentPool.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Upgrade Agent Pool Node Image Version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpgradeNodeImageVersion_UpgradeAgentPoolNodeImageVersion() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsUpgradeNodeImageVersion.json @@ -977,7 +956,7 @@ public async Task UpgradeNodeImageVersion_UpgradeAgentPoolNodeImageVersion() // invoke the operation await containerServiceAgentPool.UpgradeNodeImageVersionAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceMaintenanceConfigurationCollection.cs b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceMaintenanceConfigurationCollection.cs index 5198136776395..81c2f9b3c271e 100644 --- a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceMaintenanceConfigurationCollection.cs +++ b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceMaintenanceConfigurationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerService.Samples { public partial class Sample_ContainerServiceMaintenanceConfigurationCollection { - // List maintenance configurations by Managed Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListMaintenanceConfigurationsByManagedCluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/MaintenanceConfigurationsList.json @@ -49,12 +49,11 @@ public async Task GetAll_ListMaintenanceConfigurationsByManagedCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List maintenance configurations configured with maintenance window by Managed Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListMaintenanceConfigurationsConfiguredWithMaintenanceWindowByManagedCluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/MaintenanceConfigurationsList_MaintenanceWindow.json @@ -86,12 +85,11 @@ public async Task GetAll_ListMaintenanceConfigurationsConfiguredWithMaintenanceW Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Maintenance Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMaintenanceConfiguration() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/MaintenanceConfigurationsGet.json @@ -124,9 +122,8 @@ public async Task Get_GetMaintenanceConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Maintenance Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetMaintenanceConfiguration() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/MaintenanceConfigurationsGet.json @@ -155,9 +152,8 @@ public async Task Exists_GetMaintenanceConfiguration() Console.WriteLine($"Succeeded: {result}"); } - // Get Maintenance Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetMaintenanceConfiguration() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/MaintenanceConfigurationsGet.json @@ -186,7 +182,7 @@ public async Task GetIfExists_GetMaintenanceConfiguration() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -198,9 +194,8 @@ public async Task GetIfExists_GetMaintenanceConfiguration() } } - // Get Maintenance Configuration Configured With Maintenance Window - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMaintenanceConfigurationConfiguredWithMaintenanceWindow() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/MaintenanceConfigurationsGet_MaintenanceWindow.json @@ -233,9 +228,8 @@ public async Task Get_GetMaintenanceConfigurationConfiguredWithMaintenanceWindow Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Maintenance Configuration Configured With Maintenance Window - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetMaintenanceConfigurationConfiguredWithMaintenanceWindow() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/MaintenanceConfigurationsGet_MaintenanceWindow.json @@ -264,9 +258,8 @@ public async Task Exists_GetMaintenanceConfigurationConfiguredWithMaintenanceWin Console.WriteLine($"Succeeded: {result}"); } - // Get Maintenance Configuration Configured With Maintenance Window - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetMaintenanceConfigurationConfiguredWithMaintenanceWindow() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/MaintenanceConfigurationsGet_MaintenanceWindow.json @@ -295,7 +288,7 @@ public async Task GetIfExists_GetMaintenanceConfigurationConfiguredWithMaintenan if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -307,9 +300,8 @@ public async Task GetIfExists_GetMaintenanceConfigurationConfiguredWithMaintenan } } - // Create/Update Maintenance Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateUpdateMaintenanceConfiguration() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/MaintenanceConfigurationsCreate_Update.json @@ -365,9 +357,8 @@ public async Task CreateOrUpdate_CreateUpdateMaintenanceConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create/Update Maintenance Configuration with Maintenance Window - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateUpdateMaintenanceConfigurationWithMaintenanceWindow() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/MaintenanceConfigurationsCreate_Update_MaintenanceWindow.json diff --git a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceMaintenanceConfigurationResource.cs b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceMaintenanceConfigurationResource.cs index e944fd8a1db7d..34417b353ab07 100644 --- a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceMaintenanceConfigurationResource.cs +++ b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceMaintenanceConfigurationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerService.Samples { public partial class Sample_ContainerServiceMaintenanceConfigurationResource { - // Get Maintenance Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMaintenanceConfiguration() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/MaintenanceConfigurationsGet.json @@ -47,9 +47,8 @@ public async Task Get_GetMaintenanceConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Maintenance Configuration Configured With Maintenance Window - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMaintenanceConfigurationConfiguredWithMaintenanceWindow() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/MaintenanceConfigurationsGet_MaintenanceWindow.json @@ -79,9 +78,8 @@ public async Task Get_GetMaintenanceConfigurationConfiguredWithMaintenanceWindow Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create/Update Maintenance Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateUpdateMaintenanceConfiguration() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/MaintenanceConfigurationsCreate_Update.json @@ -134,9 +132,8 @@ public async Task Update_CreateUpdateMaintenanceConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create/Update Maintenance Configuration with Maintenance Window - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateUpdateMaintenanceConfigurationWithMaintenanceWindow() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/MaintenanceConfigurationsCreate_Update_MaintenanceWindow.json @@ -182,9 +179,8 @@ public async Task Update_CreateUpdateMaintenanceConfigurationWithMaintenanceWind Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Maintenance Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteMaintenanceConfiguration() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/MaintenanceConfigurationsDelete.json @@ -207,12 +203,11 @@ public async Task Delete_DeleteMaintenanceConfiguration() // invoke the operation await containerServiceMaintenanceConfiguration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Delete Maintenance Configuration For Node OS Upgrade - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteMaintenanceConfigurationForNodeOSUpgrade() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/MaintenanceConfigurationsDelete_MaintenanceWindow.json @@ -235,7 +230,7 @@ public async Task Delete_DeleteMaintenanceConfigurationForNodeOSUpgrade() // invoke the operation await containerServiceMaintenanceConfiguration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceManagedClusterCollection.cs b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceManagedClusterCollection.cs index 9a1c4cb744271..d12bb001d3f29 100644 --- a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceManagedClusterCollection.cs +++ b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceManagedClusterCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.ContainerService.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerService.Samples { public partial class Sample_ContainerServiceManagedClusterCollection { - // Get Managed Clusters by Resource Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetManagedClustersByResourceGroup() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersListByResourceGroup.json @@ -50,12 +50,11 @@ public async Task GetAll_GetManagedClustersByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Managed Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagedCluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersGet.json @@ -87,9 +86,8 @@ public async Task Get_GetManagedCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Managed Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetManagedCluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetManagedCluster() Console.WriteLine($"Succeeded: {result}"); } - // Get Managed Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetManagedCluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersGet.json @@ -147,7 +144,7 @@ public async Task GetIfExists_GetManagedCluster() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_GetManagedCluster() } } - // Create Managed Cluster using an agent pool snapshot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateManagedClusterUsingAnAgentPoolSnapshot() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_Snapshot.json @@ -258,9 +254,8 @@ public async Task CreateOrUpdate_CreateManagedClusterUsingAnAgentPoolSnapshot() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Managed Cluster with AKS-managed NAT gateway as outbound type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateManagedClusterWithAKSManagedNATGatewayAsOutboundType() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_ManagedNATGateway.json @@ -352,9 +347,8 @@ public async Task CreateOrUpdate_CreateManagedClusterWithAKSManagedNATGatewayAsO Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Managed Cluster with Azure KeyVault Secrets Provider Addon - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateManagedClusterWithAzureKeyVaultSecretsProviderAddon() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_AzureKeyvaultSecretsProvider.json @@ -457,9 +451,8 @@ public async Task CreateOrUpdate_CreateManagedClusterWithAzureKeyVaultSecretsPro Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Managed Cluster with Capacity Reservation Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateManagedClusterWithCapacityReservationGroup() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_CRG.json @@ -555,9 +548,8 @@ public async Task CreateOrUpdate_CreateManagedClusterWithCapacityReservationGrou Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Managed Cluster with Dedicated Host Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateManagedClusterWithDedicatedHostGroup() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_DedicatedHostGroup.json @@ -652,9 +644,8 @@ public async Task CreateOrUpdate_CreateManagedClusterWithDedicatedHostGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Managed Cluster with EncryptionAtHost enabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateManagedClusterWithEncryptionAtHostEnabled() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_EnableEncryptionAtHost.json @@ -750,9 +741,8 @@ public async Task CreateOrUpdate_CreateManagedClusterWithEncryptionAtHostEnabled Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Managed Cluster with FIPS enabled OS - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateManagedClusterWithFIPSEnabledOS() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_EnabledFIPS.json @@ -848,9 +838,8 @@ public async Task CreateOrUpdate_CreateManagedClusterWithFIPSEnabledOS() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Managed Cluster with GPUMIG - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateManagedClusterWithGPUMIG() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_GPUMIG.json @@ -956,9 +945,8 @@ public async Task CreateOrUpdate_CreateManagedClusterWithGPUMIG() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Managed Cluster with HTTP proxy configured - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateManagedClusterWithHTTPProxyConfigured() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_HTTPProxy.json @@ -1063,9 +1051,8 @@ public async Task CreateOrUpdate_CreateManagedClusterWithHTTPProxyConfigured() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Managed Cluster with LongTermSupport - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateManagedClusterWithLongTermSupport() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_Premium.json @@ -1165,9 +1152,8 @@ public async Task CreateOrUpdate_CreateManagedClusterWithLongTermSupport() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Managed Cluster with Node Public IP Prefix - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateManagedClusterWithNodePublicIPPrefix() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_NodePublicIPPrefix.json @@ -1263,9 +1249,8 @@ public async Task CreateOrUpdate_CreateManagedClusterWithNodePublicIPPrefix() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Managed Cluster with OSSKU - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateManagedClusterWithOSSKU() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_OSSKU.json @@ -1371,9 +1356,8 @@ public async Task CreateOrUpdate_CreateManagedClusterWithOSSKU() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Managed Cluster with PPG - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateManagedClusterWithPPG() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_PPG.json @@ -1469,9 +1453,8 @@ public async Task CreateOrUpdate_CreateManagedClusterWithPPG() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Managed Cluster with PodIdentity enabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateManagedClusterWithPodIdentityEnabled() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_PodIdentity.json @@ -1571,9 +1554,8 @@ public async Task CreateOrUpdate_CreateManagedClusterWithPodIdentityEnabled() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Managed Cluster with RunCommand disabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateManagedClusterWithRunCommandDisabled() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_DisableRunCommand.json @@ -1672,9 +1654,8 @@ public async Task CreateOrUpdate_CreateManagedClusterWithRunCommandDisabled() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Managed Cluster with Security Profile configured - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateManagedClusterWithSecurityProfileConfigured() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_SecurityProfile.json @@ -1759,9 +1740,8 @@ public async Task CreateOrUpdate_CreateManagedClusterWithSecurityProfileConfigur Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Managed Cluster with UltraSSD enabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateManagedClusterWithUltraSSDEnabled() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_EnableUltraSSD.json @@ -1857,9 +1837,8 @@ public async Task CreateOrUpdate_CreateManagedClusterWithUltraSSDEnabled() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Managed Cluster with user-assigned NAT gateway as outbound type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateManagedClusterWithUserAssignedNATGatewayAsOutboundType() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_UserAssignedNATGateway.json @@ -1947,9 +1926,8 @@ public async Task CreateOrUpdate_CreateManagedClusterWithUserAssignedNATGatewayA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Managed Private Cluster with Public FQDN specified - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateManagedPrivateClusterWithPublicFQDNSpecified() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_PrivateClusterPublicFQDN.json @@ -2049,9 +2027,8 @@ public async Task CreateOrUpdate_CreateManagedPrivateClusterWithPublicFQDNSpecif Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Managed Private Cluster with fqdn subdomain specified - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateManagedPrivateClusterWithFqdnSubdomainSpecified() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_PrivateClusterFQDNSubdomain.json @@ -2151,9 +2128,8 @@ public async Task CreateOrUpdate_CreateManagedPrivateClusterWithFqdnSubdomainSpe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create/Update AAD Managed Cluster with EnableAzureRBAC - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateUpdateAADManagedClusterWithEnableAzureRBAC() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_UpdateWithEnableAzureRBAC.json @@ -2257,9 +2233,8 @@ public async Task CreateOrUpdate_CreateUpdateAADManagedClusterWithEnableAzureRBA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create/Update Managed Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateUpdateManagedCluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_Update.json @@ -2377,9 +2352,8 @@ public async Task CreateOrUpdate_CreateUpdateManagedCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create/Update Managed Cluster with Azure Service Mesh - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateUpdateManagedClusterWithAzureServiceMesh() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_AzureServiceMesh.json @@ -2513,9 +2487,8 @@ public async Task CreateOrUpdate_CreateUpdateManagedClusterWithAzureServiceMesh( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create/Update Managed Cluster with EnableAHUB - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateUpdateManagedClusterWithEnableAHUB() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_UpdateWithAHUB.json @@ -2623,9 +2596,8 @@ public async Task CreateOrUpdate_CreateUpdateManagedClusterWithEnableAHUB() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create/Update Managed Cluster with Windows gMSA enabled - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateUpdateManagedClusterWithWindowsGMSAEnabled() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_UpdateWindowsGmsa.json @@ -2736,9 +2708,8 @@ public async Task CreateOrUpdate_CreateUpdateManagedClusterWithWindowsGMSAEnable Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create/Update Managed Cluster with dual-stack networking - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateUpdateManagedClusterWithDualStackNetworking() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersCreate_DualStackNetworking.json diff --git a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceManagedClusterResource.cs b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceManagedClusterResource.cs index 268529b0778f5..20961cb545f7b 100644 --- a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceManagedClusterResource.cs +++ b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceManagedClusterResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ContainerService.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerService.Samples { public partial class Sample_ContainerServiceManagedClusterResource { - // List Managed Clusters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetContainerServiceManagedClusters_ListManagedClusters() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersList.json @@ -45,12 +45,11 @@ public async Task GetContainerServiceManagedClusters_ListManagedClusters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Managed Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAccessProfile_GetManagedCluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersGetAccessProfile.json @@ -76,9 +75,8 @@ public async Task GetAccessProfile_GetManagedCluster() Console.WriteLine($"Succeeded: {result}"); } - // Get Managed Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetClusterAdminCredentials_GetManagedCluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersListClusterAdminCredentials.json @@ -103,9 +101,8 @@ public async Task GetClusterAdminCredentials_GetManagedCluster() Console.WriteLine($"Succeeded: {result}"); } - // Get Managed Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetClusterUserCredentials_GetManagedCluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersListClusterUserCredentials.json @@ -130,9 +127,8 @@ public async Task GetClusterUserCredentials_GetManagedCluster() Console.WriteLine($"Succeeded: {result}"); } - // Get Managed Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetClusterMonitoringUserCredentials_GetManagedCluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersListClusterMonitoringUserCredentials.json @@ -157,9 +153,8 @@ public async Task GetClusterMonitoringUserCredentials_GetManagedCluster() Console.WriteLine($"Succeeded: {result}"); } - // Get Managed Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagedCluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersGet.json @@ -188,9 +183,8 @@ public async Task Get_GetManagedCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Managed Cluster Tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateManagedClusterTags() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersUpdateTags.json @@ -228,9 +222,8 @@ public async Task Update_UpdateManagedClusterTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Managed Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteManagedCluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersDelete.json @@ -252,12 +245,11 @@ public async Task Delete_DeleteManagedCluster() // invoke the operation await containerServiceManagedCluster.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Reset Service Principal Profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResetServicePrincipalProfile_ResetServicePrincipalProfile() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersResetServicePrincipalProfile.json @@ -283,12 +275,11 @@ public async Task ResetServicePrincipalProfile_ResetServicePrincipalProfile() }; await containerServiceManagedCluster.ResetServicePrincipalProfileAsync(WaitUntil.Completed, managedClusterServicePrincipalProfile); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Reset AAD Profile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResetAadProfile_ResetAADProfile() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersResetAADProfile.json @@ -317,12 +308,11 @@ public async Task ResetAadProfile_ResetAADProfile() }; await containerServiceManagedCluster.ResetAadProfileAsync(WaitUntil.Completed, managedClusterAadProfile); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Rotate Cluster Certificates - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RotateClusterCertificates_RotateClusterCertificates() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersRotateClusterCertificates.json @@ -344,12 +334,11 @@ public async Task RotateClusterCertificates_RotateClusterCertificates() // invoke the operation await containerServiceManagedCluster.RotateClusterCertificatesAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Abort operation on managed cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AbortLatestOperation_AbortOperationOnManagedCluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersAbortOperation.json @@ -371,12 +360,11 @@ public async Task AbortLatestOperation_AbortOperationOnManagedCluster() // invoke the operation await containerServiceManagedCluster.AbortLatestOperationAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Rotate Cluster Service Account Signing Keys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RotateServiceAccountSigningKeys_RotateClusterServiceAccountSigningKeys() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersRotateServiceAccountSigningKeys.json @@ -398,12 +386,11 @@ public async Task RotateServiceAccountSigningKeys_RotateClusterServiceAccountSig // invoke the operation await containerServiceManagedCluster.RotateServiceAccountSigningKeysAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Stop Managed Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_StopManagedCluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersStop.json @@ -425,12 +412,11 @@ public async Task Stop_StopManagedCluster() // invoke the operation await containerServiceManagedCluster.StopAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Start Managed Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_StartManagedCluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersStart.json @@ -452,12 +438,11 @@ public async Task Start_StartManagedCluster() // invoke the operation await containerServiceManagedCluster.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // submitNewCommand - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RunCommand_SubmitNewCommand() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/RunCommandRequest.json @@ -488,9 +473,8 @@ public async Task RunCommand_SubmitNewCommand() Console.WriteLine($"Succeeded: {result}"); } - // commandFailedResult - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCommandResult_CommandFailedResult() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/RunCommandResultFailed.json @@ -516,9 +500,8 @@ public async Task GetCommandResult_CommandFailedResult() Console.WriteLine($"Succeeded: {result}"); } - // commandSucceedResult - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCommandResult_CommandSucceedResult() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/RunCommandResultSucceed.json @@ -544,9 +527,8 @@ public async Task GetCommandResult_CommandSucceedResult() Console.WriteLine($"Succeeded: {result}"); } - // List OutboundNetworkDependenciesEndpoints by Managed Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOutboundNetworkDependenciesEndpoints_ListOutboundNetworkDependenciesEndpointsByManagedCluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/OutboundNetworkDependenciesEndpointsList.json @@ -571,12 +553,11 @@ public async Task GetOutboundNetworkDependenciesEndpoints_ListOutboundNetworkDep Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get available versions for agent pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableAgentPoolVersions_GetAvailableVersionsForAgentPool() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/AgentPoolsGetAgentPoolAvailableVersions.json @@ -601,9 +582,8 @@ public async Task GetAvailableAgentPoolVersions_GetAvailableVersionsForAgentPool Console.WriteLine($"Succeeded: {result}"); } - // List Private Link Resources by Managed Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinkResources_ListPrivateLinkResourcesByManagedCluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/PrivateLinkResourcesList.json @@ -628,12 +608,11 @@ public async Task GetPrivateLinkResources_ListPrivateLinkResourcesByManagedClust Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Resolve the Private Link Service ID for Managed Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResolvePrivateLinkServiceId_ResolveThePrivateLinkServiceIDForManagedCluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ResolvePrivateLinkServiceId.json diff --git a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServicePrivateEndpointConnectionCollection.cs b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServicePrivateEndpointConnectionCollection.cs index 2534530102887..6dac8393b886e 100644 --- a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServicePrivateEndpointConnectionCollection.cs +++ b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServicePrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerService.Samples { public partial class Sample_ContainerServicePrivateEndpointConnectionCollection { - // List Private Endpoint Connections by Managed Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPrivateEndpointConnectionsByManagedCluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/PrivateEndpointConnectionsList.json @@ -49,12 +49,11 @@ public async Task GetAll_ListPrivateEndpointConnectionsByManagedCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Private Endpoint Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateEndpointConnection() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/PrivateEndpointConnectionsGet.json @@ -87,9 +86,8 @@ public async Task Get_GetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Private Endpoint Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPrivateEndpointConnection() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/PrivateEndpointConnectionsGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // Get Private Endpoint Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPrivateEndpointConnection() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/PrivateEndpointConnectionsGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetPrivateEndpointConnection() } } - // Update Private Endpoint Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdatePrivateEndpointConnection() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/PrivateEndpointConnectionsUpdate.json diff --git a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServicePrivateEndpointConnectionResource.cs b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServicePrivateEndpointConnectionResource.cs index 89fceb7048f10..71ab12a168072 100644 --- a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServicePrivateEndpointConnectionResource.cs +++ b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServicePrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ContainerService.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerService.Samples { public partial class Sample_ContainerServicePrivateEndpointConnectionResource { - // Get Private Endpoint Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateEndpointConnection() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/PrivateEndpointConnectionsGet.json @@ -47,9 +47,8 @@ public async Task Get_GetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Private Endpoint Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatePrivateEndpointConnection() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/PrivateEndpointConnectionsUpdate.json @@ -87,9 +86,8 @@ public async Task Update_UpdatePrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Private Endpoint Connection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletePrivateEndpointConnection() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/PrivateEndpointConnectionsDelete.json @@ -112,7 +110,7 @@ public async Task Delete_DeletePrivateEndpointConnection() // invoke the operation await containerServicePrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceTrustedAccessRoleBindingCollection.cs b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceTrustedAccessRoleBindingCollection.cs index bc47c1281cb03..17a3963eb57e7 100644 --- a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceTrustedAccessRoleBindingCollection.cs +++ b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceTrustedAccessRoleBindingCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerService.Samples { public partial class Sample_ContainerServiceTrustedAccessRoleBindingCollection { - // List trusted access role bindings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTrustedAccessRoleBindings() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/TrustedAccessRoleBindings_List.json @@ -48,12 +48,11 @@ public async Task GetAll_ListTrustedAccessRoleBindings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a trusted access role binding - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetATrustedAccessRoleBinding() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/TrustedAccessRoleBindings_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetATrustedAccessRoleBinding() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a trusted access role binding - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetATrustedAccessRoleBinding() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/TrustedAccessRoleBindings_Get.json @@ -117,9 +115,8 @@ public async Task Exists_GetATrustedAccessRoleBinding() Console.WriteLine($"Succeeded: {result}"); } - // Get a trusted access role binding - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetATrustedAccessRoleBinding() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/TrustedAccessRoleBindings_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetATrustedAccessRoleBinding() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GetATrustedAccessRoleBinding() } } - // Create or update a trusted access role binding - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateATrustedAccessRoleBinding() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/TrustedAccessRoleBindings_CreateOrUpdate.json diff --git a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceTrustedAccessRoleBindingResource.cs b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceTrustedAccessRoleBindingResource.cs index 71e7ffd140150..b5d93f7b6ea56 100644 --- a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceTrustedAccessRoleBindingResource.cs +++ b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ContainerServiceTrustedAccessRoleBindingResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerService.Samples { public partial class Sample_ContainerServiceTrustedAccessRoleBindingResource { - // Get a trusted access role binding - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetATrustedAccessRoleBinding() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/TrustedAccessRoleBindings_Get.json @@ -46,9 +46,8 @@ public async Task Get_GetATrustedAccessRoleBinding() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a trusted access role binding - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateATrustedAccessRoleBinding() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/TrustedAccessRoleBindings_CreateOrUpdate.json @@ -83,9 +82,8 @@ public async Task Update_CreateOrUpdateATrustedAccessRoleBinding() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a trusted access role binding - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteATrustedAccessRoleBinding() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/TrustedAccessRoleBindings_Delete.json @@ -108,7 +106,7 @@ public async Task Delete_DeleteATrustedAccessRoleBinding() // invoke the operation await containerServiceTrustedAccessRoleBinding.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ManagedClusterUpgradeProfileResource.cs b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ManagedClusterUpgradeProfileResource.cs index f47c234140f97..0481cdaf7948c 100644 --- a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ManagedClusterUpgradeProfileResource.cs +++ b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_ManagedClusterUpgradeProfileResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerService.Samples { public partial class Sample_ManagedClusterUpgradeProfileResource { - // Get Upgrade Profile for Managed Cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetUpgradeProfileForManagedCluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersGetUpgradeProfile.json diff --git a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_MeshRevisionProfileCollection.cs b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_MeshRevisionProfileCollection.cs index 884bd8df18bbe..fb30abbf09d0a 100644 --- a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_MeshRevisionProfileCollection.cs +++ b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_MeshRevisionProfileCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerService.Samples { public partial class Sample_MeshRevisionProfileCollection { - // List mesh revision profiles in a location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListMeshRevisionProfilesInALocation() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersList_MeshRevisionProfiles.json @@ -48,12 +48,11 @@ public async Task GetAll_ListMeshRevisionProfilesInALocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a mesh revision profile for a mesh mode - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAMeshRevisionProfileForAMeshMode() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersGet_MeshRevisionProfile.json @@ -85,9 +84,8 @@ public async Task Get_GetAMeshRevisionProfileForAMeshMode() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a mesh revision profile for a mesh mode - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAMeshRevisionProfileForAMeshMode() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersGet_MeshRevisionProfile.json @@ -115,9 +113,8 @@ public async Task Exists_GetAMeshRevisionProfileForAMeshMode() Console.WriteLine($"Succeeded: {result}"); } - // Get a mesh revision profile for a mesh mode - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAMeshRevisionProfileForAMeshMode() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersGet_MeshRevisionProfile.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetAMeshRevisionProfileForAMeshMode() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_MeshRevisionProfileResource.cs b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_MeshRevisionProfileResource.cs index 1f93aa28ed717..8e0938d5a73ef 100644 --- a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_MeshRevisionProfileResource.cs +++ b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_MeshRevisionProfileResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerService.Samples { public partial class Sample_MeshRevisionProfileResource { - // Get a mesh revision profile for a mesh mode - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAMeshRevisionProfileForAMeshMode() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersGet_MeshRevisionProfile.json diff --git a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_MeshUpgradeProfileCollection.cs b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_MeshUpgradeProfileCollection.cs index 3cfc385c081e1..ad650abd50dbe 100644 --- a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_MeshUpgradeProfileCollection.cs +++ b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_MeshUpgradeProfileCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerService.Samples { public partial class Sample_MeshUpgradeProfileCollection { - // Lists version compatibility and upgrade profile for all service meshes in a cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsVersionCompatibilityAndUpgradeProfileForAllServiceMeshesInACluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersList_MeshUpgradeProfiles.json @@ -48,12 +48,11 @@ public async Task GetAll_ListsVersionCompatibilityAndUpgradeProfileForAllService Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets version compatibility and upgrade profile for a service mesh in a cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsVersionCompatibilityAndUpgradeProfileForAServiceMeshInACluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersGet_MeshUpgradeProfile.json @@ -86,9 +85,8 @@ public async Task Get_GetsVersionCompatibilityAndUpgradeProfileForAServiceMeshIn Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets version compatibility and upgrade profile for a service mesh in a cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsVersionCompatibilityAndUpgradeProfileForAServiceMeshInACluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersGet_MeshUpgradeProfile.json @@ -117,9 +115,8 @@ public async Task Exists_GetsVersionCompatibilityAndUpgradeProfileForAServiceMes Console.WriteLine($"Succeeded: {result}"); } - // Gets version compatibility and upgrade profile for a service mesh in a cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsVersionCompatibilityAndUpgradeProfileForAServiceMeshInACluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersGet_MeshUpgradeProfile.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetsVersionCompatibilityAndUpgradeProfileForAServi if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_MeshUpgradeProfileResource.cs b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_MeshUpgradeProfileResource.cs index 9d5fb16420aae..d2e1b54388927 100644 --- a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_MeshUpgradeProfileResource.cs +++ b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_MeshUpgradeProfileResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerService.Samples { public partial class Sample_MeshUpgradeProfileResource { - // Gets version compatibility and upgrade profile for a service mesh in a cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsVersionCompatibilityAndUpgradeProfileForAServiceMeshInACluster() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ManagedClustersGet_MeshUpgradeProfile.json diff --git a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_OSOptionProfileResource.cs b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_OSOptionProfileResource.cs index d523ebe5480a4..98bc5d71cbd58 100644 --- a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_OSOptionProfileResource.cs +++ b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_OSOptionProfileResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerService.Samples { public partial class Sample_OSOptionProfileResource { - // Get Container Service OS Options - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetContainerServiceOSOptions() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/ContainerServiceGetOSOptions.json diff --git a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 4ffce8b10134f..6f4590ccac0b2 100644 --- a/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/containerservice/Azure.ResourceManager.ContainerService/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ContainerService.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ContainerService.Samples { public partial class Sample_SubscriptionResourceExtensions { - // List Kubernetes Versions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKubernetesVersionsManagedCluster_ListKubernetesVersions() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/KubernetesVersions_List.json @@ -42,9 +42,8 @@ public async Task GetKubernetesVersionsManagedCluster_ListKubernetesVersions() Console.WriteLine($"Succeeded: {result}"); } - // List trusted access roles - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTrustedAccessRoles_ListTrustedAccessRoles() { // Generated from example definition: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/examples/TrustedAccessRoles_List.json @@ -68,7 +67,7 @@ public async Task GetTrustedAccessRoles_ListTrustedAccessRoles() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraClusterCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraClusterCollection.cs index 353096046704c..6ee17eb4a1e75 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraClusterCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraClusterCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CassandraClusterCollection { - // CosmosDBManagedCassandraClusterListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBManagedCassandraClusterListByResourceGroup() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBManagedCassandraClusterListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_CosmosDBManagedCassandraClusterListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBManagedCassandraClusterGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBManagedCassandraClusterGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBManagedCassandraClusterGet.json @@ -86,9 +85,8 @@ public async Task Get_CosmosDBManagedCassandraClusterGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBManagedCassandraClusterGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBManagedCassandraClusterGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBManagedCassandraClusterGet.json @@ -116,9 +114,8 @@ public async Task Exists_CosmosDBManagedCassandraClusterGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBManagedCassandraClusterGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBManagedCassandraClusterGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBManagedCassandraClusterGet.json @@ -146,7 +143,7 @@ public async Task GetIfExists_CosmosDBManagedCassandraClusterGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_CosmosDBManagedCassandraClusterGet() } } - // CosmosDBManagedCassandraClusterCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBManagedCassandraClusterCreate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBManagedCassandraClusterCreate.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraClusterResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraClusterResource.cs index 2ebf1b09b4648..334d921f0532c 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraClusterResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraClusterResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CassandraClusterResource { - // CosmosDBManagedCassandraClusterListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCassandraClusters_CosmosDBManagedCassandraClusterListBySubscription() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBManagedCassandraClusterListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetCassandraClusters_CosmosDBManagedCassandraClusterListBySubs Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBManagedCassandraClusterGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBManagedCassandraClusterGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBManagedCassandraClusterGet.json @@ -79,9 +78,8 @@ public async Task Get_CosmosDBManagedCassandraClusterGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBManagedCassandraClusterDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CosmosDBManagedCassandraClusterDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBManagedCassandraClusterDelete.json @@ -103,12 +101,11 @@ public async Task Delete_CosmosDBManagedCassandraClusterDelete() // invoke the operation await cassandraCluster.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBManagedCassandraClusterPatch - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBManagedCassandraClusterPatch() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBManagedCassandraClusterPatch.json @@ -170,9 +167,8 @@ public async Task Update_CosmosDBManagedCassandraClusterPatch() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBManagedCassandraCommand - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task InvokeCommand_CosmosDBManagedCassandraCommand() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBManagedCassandraCommand.json @@ -205,9 +201,8 @@ public async Task InvokeCommand_CosmosDBManagedCassandraCommand() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBManagedCassandraListCommand - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCommand_CosmosDBManagedCassandraListCommand() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBManagedCassandraListCommand.json @@ -232,12 +227,11 @@ public async Task GetCommand_CosmosDBManagedCassandraListCommand() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBManagedCassandraCommandResult - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCommandAsync_CosmosDBManagedCassandraCommandResult() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBManagedCassandraCommandResult.json @@ -263,12 +257,11 @@ public async Task GetCommandAsync_CosmosDBManagedCassandraCommandResult() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBManagedCassandraBackupsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBackups_CosmosDBManagedCassandraBackupsList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBManagedCassandraBackupsList.json @@ -293,12 +286,11 @@ public async Task GetBackups_CosmosDBManagedCassandraBackupsList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBManagedCassandraBackup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBackup_CosmosDBManagedCassandraBackup() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBManagedCassandraBackup.json @@ -324,9 +316,8 @@ public async Task GetBackup_CosmosDBManagedCassandraBackup() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBManagedCassandraClusterDeallocate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Deallocate_CosmosDBManagedCassandraClusterDeallocate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBManagedCassandraClusterDeallocate.json @@ -348,12 +339,11 @@ public async Task Deallocate_CosmosDBManagedCassandraClusterDeallocate() // invoke the operation await cassandraCluster.DeallocateAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBManagedCassandraClusterStart - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_CosmosDBManagedCassandraClusterStart() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBManagedCassandraClusterStart.json @@ -375,12 +365,11 @@ public async Task Start_CosmosDBManagedCassandraClusterStart() // invoke the operation await cassandraCluster.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBManagedCassandraStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Status_CosmosDBManagedCassandraStatus() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBManagedCassandraStatus.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraDataCenterCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraDataCenterCollection.cs index 66c12bc065cf1..20603ea0f281c 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraDataCenterCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraDataCenterCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CassandraDataCenterCollection { - // CosmosDBManagedCassandraDataCenterList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBManagedCassandraDataCenterList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBManagedCassandraDataCenterList.json @@ -49,12 +49,11 @@ public async Task GetAll_CosmosDBManagedCassandraDataCenterList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBManagedCassandraDataCenterGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBManagedCassandraDataCenterGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBManagedCassandraDataCenterGet.json @@ -87,9 +86,8 @@ public async Task Get_CosmosDBManagedCassandraDataCenterGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBManagedCassandraDataCenterGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBManagedCassandraDataCenterGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBManagedCassandraDataCenterGet.json @@ -118,9 +116,8 @@ public async Task Exists_CosmosDBManagedCassandraDataCenterGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBManagedCassandraDataCenterGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBManagedCassandraDataCenterGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBManagedCassandraDataCenterGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_CosmosDBManagedCassandraDataCenterGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_CosmosDBManagedCassandraDataCenterGet() } } - // CosmosDBManagedCassandraDataCenterCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBManagedCassandraDataCenterCreate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBManagedCassandraDataCenterCreate.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraDataCenterResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraDataCenterResource.cs index 5307170a10b5f..f47134eaed4ba 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraDataCenterResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraDataCenterResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CassandraDataCenterResource { - // CosmosDBManagedCassandraDataCenterGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBManagedCassandraDataCenterGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBManagedCassandraDataCenterGet.json @@ -47,9 +47,8 @@ public async Task Get_CosmosDBManagedCassandraDataCenterGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBManagedCassandraDataCenterDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CosmosDBManagedCassandraDataCenterDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBManagedCassandraDataCenterDelete.json @@ -72,12 +71,11 @@ public async Task Delete_CosmosDBManagedCassandraDataCenterDelete() // invoke the operation await cassandraDataCenter.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBManagedCassandraDataCenterUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBManagedCassandraDataCenterUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBManagedCassandraDataCenterPatch.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraKeyspaceCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraKeyspaceCollection.cs index 87f6e5b72f10d..01e16ef9ffa72 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraKeyspaceCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraKeyspaceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CassandraKeyspaceCollection { - // CosmosDBCassandraKeyspaceList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBCassandraKeyspaceList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraKeyspaceList.json @@ -49,12 +49,11 @@ public async Task GetAll_CosmosDBCassandraKeyspaceList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBCassandraKeyspaceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBCassandraKeyspaceGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraKeyspaceGet.json @@ -87,9 +86,8 @@ public async Task Get_CosmosDBCassandraKeyspaceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBCassandraKeyspaceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBCassandraKeyspaceGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraKeyspaceGet.json @@ -118,9 +116,8 @@ public async Task Exists_CosmosDBCassandraKeyspaceGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBCassandraKeyspaceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBCassandraKeyspaceGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraKeyspaceGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_CosmosDBCassandraKeyspaceGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_CosmosDBCassandraKeyspaceGet() } } - // CosmosDBCassandraKeyspaceCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBCassandraKeyspaceCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraKeyspaceCreateUpdate.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraKeyspaceResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraKeyspaceResource.cs index 70ad76958fc09..96f823cd3d146 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraKeyspaceResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraKeyspaceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CassandraKeyspaceResource { - // CosmosDBCassandraKeyspaceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBCassandraKeyspaceGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraKeyspaceGet.json @@ -47,9 +47,8 @@ public async Task Get_CosmosDBCassandraKeyspaceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBCassandraKeyspaceCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBCassandraKeyspaceCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraKeyspaceCreateUpdate.json @@ -87,9 +86,8 @@ public async Task Update_CosmosDBCassandraKeyspaceCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBCassandraKeyspaceDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CosmosDBCassandraKeyspaceDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraKeyspaceDelete.json @@ -112,7 +110,7 @@ public async Task Delete_CosmosDBCassandraKeyspaceDelete() // invoke the operation await cassandraKeyspace.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraKeyspaceThroughputSettingResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraKeyspaceThroughputSettingResource.cs index 1d862794db847..5cdad8090e1b9 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraKeyspaceThroughputSettingResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraKeyspaceThroughputSettingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CassandraKeyspaceThroughputSettingResource { - // CosmosDBCassandraKeyspaceThroughputGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBCassandraKeyspaceThroughputGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraKeyspaceThroughputGet.json @@ -47,9 +47,8 @@ public async Task Get_CosmosDBCassandraKeyspaceThroughputGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBCassandraKeyspaceThroughputUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBCassandraKeyspaceThroughputUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraKeyspaceThroughputUpdate.json @@ -89,9 +88,8 @@ public async Task CreateOrUpdate_CosmosDBCassandraKeyspaceThroughputUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBCassandraKeyspaceMigrateToAutoscale - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateCassandraKeyspaceToAutoscale_CosmosDBCassandraKeyspaceMigrateToAutoscale() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraKeyspaceMigrateToAutoscale.json @@ -122,9 +120,8 @@ public async Task MigrateCassandraKeyspaceToAutoscale_CosmosDBCassandraKeyspaceM Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBCassandraKeyspaceMigrateToManualThroughput - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateCassandraKeyspaceToManualThroughput_CosmosDBCassandraKeyspaceMigrateToManualThroughput() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraKeyspaceMigrateToManualThroughput.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraTableCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraTableCollection.cs index 03c2726508864..2c7f887875051 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraTableCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraTableCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CassandraTableCollection { - // CosmosDBCassandraTableList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBCassandraTableList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraTableList.json @@ -50,12 +50,11 @@ public async Task GetAll_CosmosDBCassandraTableList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBCassandraTableGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBCassandraTableGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraTableGet.json @@ -89,9 +88,8 @@ public async Task Get_CosmosDBCassandraTableGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBCassandraTableGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBCassandraTableGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraTableGet.json @@ -121,9 +119,8 @@ public async Task Exists_CosmosDBCassandraTableGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBCassandraTableGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBCassandraTableGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraTableGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_CosmosDBCassandraTableGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_CosmosDBCassandraTableGet() } } - // CosmosDBCassandraTableCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBCassandraTableCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraTableCreateUpdate.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraTableResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraTableResource.cs index 461f2de6ba048..8e60f1ebd4d36 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraTableResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraTableResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CassandraTableResource { - // CosmosDBCassandraTableGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBCassandraTableGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraTableGet.json @@ -48,9 +48,8 @@ public async Task Get_CosmosDBCassandraTableGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBCassandraTableCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBCassandraTableCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraTableCreateUpdate.json @@ -119,9 +118,8 @@ public async Task Update_CosmosDBCassandraTableCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBCassandraTableDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CosmosDBCassandraTableDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraTableDelete.json @@ -145,7 +143,7 @@ public async Task Delete_CosmosDBCassandraTableDelete() // invoke the operation await cassandraTable.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraTableThroughputSettingResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraTableThroughputSettingResource.cs index 27a42395e8cfe..47a07f87e5c7c 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraTableThroughputSettingResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraTableThroughputSettingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CassandraTableThroughputSettingResource { - // CosmosDBCassandraTableThroughputGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBCassandraTableThroughputGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraTableThroughputGet.json @@ -48,9 +48,8 @@ public async Task Get_CosmosDBCassandraTableThroughputGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBCassandraTableThroughputUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBCassandraTableThroughputUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraTableThroughputUpdate.json @@ -91,9 +90,8 @@ public async Task CreateOrUpdate_CosmosDBCassandraTableThroughputUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBCassandraTableMigrateToAutoscale - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateCassandraTableToAutoscale_CosmosDBCassandraTableMigrateToAutoscale() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraTableMigrateToAutoscale.json @@ -125,9 +123,8 @@ public async Task MigrateCassandraTableToAutoscale_CosmosDBCassandraTableMigrate Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBCassandraTableMigrateToManualThroughput - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateCassandraTableToManualThroughput_CosmosDBCassandraTableMigrateToManualThroughput() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraTableMigrateToManualThroughput.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraViewGetResultCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraViewGetResultCollection.cs index 872a645748d2e..5dca9d9878aa6 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraViewGetResultCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraViewGetResultCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CassandraViewGetResultCollection { - // CosmosDBCassandraViewList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBCassandraViewList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraViewList.json @@ -50,12 +50,11 @@ public async Task GetAll_CosmosDBCassandraViewList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBCassandraViewGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBCassandraViewGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraViewGet.json @@ -89,9 +88,8 @@ public async Task Get_CosmosDBCassandraViewGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBCassandraViewGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBCassandraViewGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraViewGet.json @@ -121,9 +119,8 @@ public async Task Exists_CosmosDBCassandraViewGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBCassandraViewGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBCassandraViewGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraViewGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_CosmosDBCassandraViewGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_CosmosDBCassandraViewGet() } } - // CosmosDBCassandraViewCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBCassandraViewCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraViewCreateUpdate.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraViewGetResultResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraViewGetResultResource.cs index 9dac8603da408..8107029354030 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraViewGetResultResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraViewGetResultResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CassandraViewGetResultResource { - // CosmosDBCassandraViewGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBCassandraViewGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraViewGet.json @@ -48,9 +48,8 @@ public async Task Get_CosmosDBCassandraViewGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBCassandraViewCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBCassandraViewCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraViewCreateUpdate.json @@ -89,9 +88,8 @@ public async Task Update_CosmosDBCassandraViewCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBCassandraViewDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CosmosDBCassandraViewDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraViewDelete.json @@ -115,7 +113,7 @@ public async Task Delete_CosmosDBCassandraViewDelete() // invoke the operation await cassandraViewGetResult.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraViewThroughputSettingResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraViewThroughputSettingResource.cs index e243542570735..ef8ef4ee46f10 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraViewThroughputSettingResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CassandraViewThroughputSettingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CassandraViewThroughputSettingResource { - // CosmosDBCassandraViewThroughputGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBCassandraViewThroughputGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraViewThroughputGet.json @@ -48,9 +48,8 @@ public async Task Get_CosmosDBCassandraViewThroughputGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBCassandraViewThroughputUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBCassandraViewThroughputUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraViewThroughputUpdate.json @@ -91,9 +90,8 @@ public async Task CreateOrUpdate_CosmosDBCassandraViewThroughputUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBCassandraViewMigrateToAutoscale - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateCassandraViewToAutoscale_CosmosDBCassandraViewMigrateToAutoscale() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraViewMigrateToAutoscale.json @@ -125,9 +123,8 @@ public async Task MigrateCassandraViewToAutoscale_CosmosDBCassandraViewMigrateTo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBCassandraViewMigrateToManualThroughput - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateCassandraViewToManualThroughput_CosmosDBCassandraViewMigrateToManualThroughput() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCassandraViewMigrateToManualThroughput.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBAccountCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBAccountCollection.cs index c6958672242f1..6c32d330f949e 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBAccountCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBAccountCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.CosmosDB.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBAccountCollection { - // CosmosDBDatabaseAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBDatabaseAccountGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseAccountGet.json @@ -51,9 +51,8 @@ public async Task Get_CosmosDBDatabaseAccountGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBDatabaseAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBDatabaseAccountGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseAccountGet.json @@ -81,9 +80,8 @@ public async Task Exists_CosmosDBDatabaseAccountGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBDatabaseAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBDatabaseAccountGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseAccountGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_CosmosDBDatabaseAccountGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_CosmosDBDatabaseAccountGet() } } - // CosmosDBDatabaseAccountCreateMax - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBDatabaseAccountCreateMax() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseAccountCreateMax.json @@ -243,9 +240,8 @@ public async Task CreateOrUpdate_CosmosDBDatabaseAccountCreateMax() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBDatabaseAccountCreateMin - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBDatabaseAccountCreateMin() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseAccountCreateMin.json @@ -290,9 +286,8 @@ public async Task CreateOrUpdate_CosmosDBDatabaseAccountCreateMin() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBRestoreDatabaseAccountCreateUpdate.json - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBRestoreDatabaseAccountCreateUpdateJson() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestoreDatabaseAccountCreateUpdate.json @@ -382,9 +377,8 @@ public async Task CreateOrUpdate_CosmosDBRestoreDatabaseAccountCreateUpdateJson( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBDatabaseAccountListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBDatabaseAccountListByResourceGroup() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseAccountListByResourceGroup.json @@ -415,7 +409,7 @@ public async Task GetAll_CosmosDBDatabaseAccountListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBAccountResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBAccountResource.cs index aef0c4b39bed6..f0eeb85373d87 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBAccountResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBAccountResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.CosmosDB.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBAccountResource { - // CosmosDBDatabaseAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBDatabaseAccountGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseAccountGet.json @@ -48,9 +48,8 @@ public async Task Get_CosmosDBDatabaseAccountGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBDatabaseAccountPatch - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBDatabaseAccountPatch() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseAccountPatch.json @@ -146,9 +145,8 @@ public async Task Update_CosmosDBDatabaseAccountPatch() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBDatabaseAccountDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CosmosDBDatabaseAccountDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseAccountDelete.json @@ -170,12 +168,11 @@ public async Task Delete_CosmosDBDatabaseAccountDelete() // invoke the operation await cosmosDBAccount.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBDatabaseAccountFailoverPriorityChange - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task FailoverPriorityChange_CosmosDBDatabaseAccountFailoverPriorityChange() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseAccountFailoverPriorityChange.json @@ -209,12 +206,11 @@ public async Task FailoverPriorityChange_CosmosDBDatabaseAccountFailoverPriority }); await cosmosDBAccount.FailoverPriorityChangeAsync(WaitUntil.Completed, failoverParameters); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBDatabaseAccountList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCosmosDBAccounts_CosmosDBDatabaseAccountList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseAccountList.json @@ -241,12 +237,11 @@ public async Task GetCosmosDBAccounts_CosmosDBDatabaseAccountList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBDatabaseAccountListKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_CosmosDBDatabaseAccountListKeys() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseAccountListKeys.json @@ -271,9 +266,8 @@ public async Task GetKeys_CosmosDBDatabaseAccountListKeys() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBDatabaseAccountListConnectionStrings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConnectionStrings_CosmosDBDatabaseAccountListConnectionStrings() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseAccountListConnectionStrings.json @@ -298,12 +292,11 @@ public async Task GetConnectionStrings_CosmosDBDatabaseAccountListConnectionStri Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBDatabaseAccountListConnectionStringsMongo - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConnectionStrings_CosmosDBDatabaseAccountListConnectionStringsMongo() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseAccountListConnectionStringsMongo.json @@ -328,12 +321,11 @@ public async Task GetConnectionStrings_CosmosDBDatabaseAccountListConnectionStri Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBDatabaseAccountOfflineRegion - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task OfflineRegion_CosmosDBDatabaseAccountOfflineRegion() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseAccountOfflineRegion.json @@ -356,12 +348,11 @@ public async Task OfflineRegion_CosmosDBDatabaseAccountOfflineRegion() RegionForOnlineOffline regionParameterForOffline = new RegionForOnlineOffline("North Europe"); await cosmosDBAccount.OfflineRegionAsync(WaitUntil.Completed, regionParameterForOffline); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBDatabaseAccountOnlineRegion - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task OnlineRegion_CosmosDBDatabaseAccountOnlineRegion() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseAccountOnlineRegion.json @@ -384,12 +375,11 @@ public async Task OnlineRegion_CosmosDBDatabaseAccountOnlineRegion() RegionForOnlineOffline regionParameterForOnline = new RegionForOnlineOffline("North Europe"); await cosmosDBAccount.OnlineRegionAsync(WaitUntil.Completed, regionParameterForOnline); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBDatabaseAccountListReadOnlyKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReadOnlyKeys_CosmosDBDatabaseAccountListReadOnlyKeys() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json @@ -414,9 +404,8 @@ public async Task GetReadOnlyKeys_CosmosDBDatabaseAccountListReadOnlyKeys() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBDatabaseAccountRegenerateKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKey_CosmosDBDatabaseAccountRegenerateKey() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseAccountRegenerateKey.json @@ -439,12 +428,11 @@ public async Task RegenerateKey_CosmosDBDatabaseAccountRegenerateKey() CosmosDBAccountRegenerateKeyContent content = new CosmosDBAccountRegenerateKeyContent(CosmosDBAccountKeyKind.Primary); await cosmosDBAccount.RegenerateKeyAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBDatabaseAccountCheckNameExists - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckNameExistsDatabaseAccount_CosmosDBDatabaseAccountCheckNameExists() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseAccountCheckNameExists.json @@ -466,9 +454,8 @@ public async Task CheckNameExistsDatabaseAccount_CosmosDBDatabaseAccountCheckNam Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBDatabaseAccountGetMetrics - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMetrics_CosmosDBDatabaseAccountGetMetrics() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseAccountGetMetrics.json @@ -494,12 +481,11 @@ public async Task GetMetrics_CosmosDBDatabaseAccountGetMetrics() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBDatabaseAccountGetUsages - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsages_CosmosDBDatabaseAccountGetUsages() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseAccountGetUsages.json @@ -525,12 +511,11 @@ public async Task GetUsages_CosmosDBDatabaseAccountGetUsages() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBDatabaseAccountGetMetricDefinitions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMetricDefinitions_CosmosDBDatabaseAccountGetMetricDefinitions() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json @@ -555,12 +540,11 @@ public async Task GetMetricDefinitions_CosmosDBDatabaseAccountGetMetricDefinitio Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBDatabaseGetMetrics - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMetricsDatabases_CosmosDBDatabaseGetMetrics() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseGetMetrics.json @@ -587,12 +571,11 @@ public async Task GetMetricsDatabases_CosmosDBDatabaseGetMetrics() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBDatabaseGetUsages - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsagesDatabases_CosmosDBDatabaseGetUsages() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseGetUsages.json @@ -619,12 +602,11 @@ public async Task GetUsagesDatabases_CosmosDBDatabaseGetUsages() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBDatabaseGetMetricDefinitions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMetricDefinitionsDatabases_CosmosDBDatabaseGetMetricDefinitions() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseGetMetricDefinitions.json @@ -650,12 +632,11 @@ public async Task GetMetricDefinitionsDatabases_CosmosDBDatabaseGetMetricDefinit Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBCollectionGetMetrics - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMetricsCollections_CosmosDBCollectionGetMetrics() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCollectionGetMetrics.json @@ -683,12 +664,11 @@ public async Task GetMetricsCollections_CosmosDBCollectionGetMetrics() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBCollectionGetUsages - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsagesCollections_CosmosDBCollectionGetUsages() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCollectionGetUsages.json @@ -716,12 +696,11 @@ public async Task GetUsagesCollections_CosmosDBCollectionGetUsages() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBCollectionGetMetricDefinitions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMetricDefinitionsCollections_CosmosDBCollectionGetMetricDefinitions() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCollectionGetMetricDefinitions.json @@ -748,12 +727,11 @@ public async Task GetMetricDefinitionsCollections_CosmosDBCollectionGetMetricDef Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBRegionCollectionGetMetrics - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMetricsCollectionRegions_CosmosDBRegionCollectionGetMetrics() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRegionCollectionGetMetrics.json @@ -782,12 +760,11 @@ public async Task GetMetricsCollectionRegions_CosmosDBRegionCollectionGetMetrics Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBDatabaseAccountRegionGetMetrics - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMetricsDatabaseAccountRegions_CosmosDBDatabaseAccountRegionGetMetrics() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDatabaseAccountRegionGetMetrics.json @@ -814,12 +791,11 @@ public async Task GetMetricsDatabaseAccountRegions_CosmosDBDatabaseAccountRegion Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBDatabaseAccountRegionGetMetrics - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMetricsPercentileSourceTargets_CosmosDBDatabaseAccountRegionGetMetrics() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPercentileSourceTargetGetMetrics.json @@ -847,12 +823,11 @@ public async Task GetMetricsPercentileSourceTargets_CosmosDBDatabaseAccountRegio Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBDatabaseAccountRegionGetMetrics - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMetricsPercentileTargets_CosmosDBDatabaseAccountRegionGetMetrics() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPercentileTargetGetMetrics.json @@ -879,12 +854,11 @@ public async Task GetMetricsPercentileTargets_CosmosDBDatabaseAccountRegionGetMe Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBDatabaseAccountRegionGetMetrics - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMetricsPercentiles_CosmosDBDatabaseAccountRegionGetMetrics() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPercentileGetMetrics.json @@ -910,12 +884,11 @@ public async Task GetMetricsPercentiles_CosmosDBDatabaseAccountRegionGetMetrics( Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBDatabaseAccountRegionGetMetrics - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMetricsCollectionPartitionRegions_CosmosDBDatabaseAccountRegionGetMetrics() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCollectionPartitionRegionGetMetrics.json @@ -944,12 +917,11 @@ public async Task GetMetricsCollectionPartitionRegions_CosmosDBDatabaseAccountRe Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBDatabaseAccountRegionGetMetrics - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMetricsCollectionPartitions_CosmosDBDatabaseAccountRegionGetMetrics() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCollectionPartitionGetMetrics.json @@ -977,12 +949,11 @@ public async Task GetMetricsCollectionPartitions_CosmosDBDatabaseAccountRegionGe Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBCollectionGetUsages - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsagesCollectionPartitions_CosmosDBCollectionGetUsages() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBCollectionPartitionGetUsages.json @@ -1010,12 +981,11 @@ public async Task GetUsagesCollectionPartitions_CosmosDBCollectionGetUsages() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBDatabaseAccountRegionGetMetrics - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMetricsPartitionKeyRangeIds_CosmosDBDatabaseAccountRegionGetMetrics() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPKeyRangeIdGetMetrics.json @@ -1044,12 +1014,11 @@ public async Task GetMetricsPartitionKeyRangeIds_CosmosDBDatabaseAccountRegionGe Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBDatabaseAccountRegionGetMetrics - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMetricsPartitionKeyRangeIdRegions_CosmosDBDatabaseAccountRegionGetMetrics() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPKeyRangeIdRegionGetMetrics.json @@ -1079,7 +1048,7 @@ public async Task GetMetricsPartitionKeyRangeIdRegions_CosmosDBDatabaseAccountRe Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBChaosFaultResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBChaosFaultResource.cs index 01c735faeb928..f76916fbb9cf8 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBChaosFaultResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBChaosFaultResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBChaosFaultResource { - // ChaosFaultEnableDisable - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ChaosFaultEnableDisable() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/ChaosFaultEnableDisable.json @@ -55,9 +55,8 @@ public async Task Update_ChaosFaultEnableDisable() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ChaosFaultGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ChaosFaultGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/ChaosFaultGet.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBChaosFaultResourceCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBChaosFaultResourceCollection.cs index e682cb4005a30..1719aa5208d44 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBChaosFaultResourceCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBChaosFaultResourceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBChaosFaultResourceCollection { - // ChaosFaultList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ChaosFaultList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/ChaosFaultList.json @@ -49,12 +49,11 @@ public async Task GetAll_ChaosFaultList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ChaosFaultEnableDisable - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ChaosFaultEnableDisable() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/ChaosFaultEnableDisable.json @@ -95,9 +94,8 @@ public async Task CreateOrUpdate_ChaosFaultEnableDisable() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ChaosFaultGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ChaosFaultGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/ChaosFaultGet.json @@ -130,9 +128,8 @@ public async Task Get_ChaosFaultGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ChaosFaultGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ChaosFaultGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/ChaosFaultGet.json @@ -161,9 +158,8 @@ public async Task Exists_ChaosFaultGet() Console.WriteLine($"Succeeded: {result}"); } - // ChaosFaultGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ChaosFaultGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/ChaosFaultGet.json @@ -192,7 +188,7 @@ public async Task GetIfExists_ChaosFaultGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBLocationCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBLocationCollection.cs index 932c4dee8e098..50cbda714cb10 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBLocationCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBLocationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBLocationCollection { - // CosmosDBLocationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBLocationList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBLocationList.json @@ -47,12 +47,11 @@ public async Task GetAll_CosmosDBLocationList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBLocationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBLocationGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBLocationGet.json @@ -83,9 +82,8 @@ public async Task Get_CosmosDBLocationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBLocationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBLocationGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBLocationGet.json @@ -112,9 +110,8 @@ public async Task Exists_CosmosDBLocationGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBLocationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBLocationGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBLocationGet.json @@ -141,7 +138,7 @@ public async Task GetIfExists_CosmosDBLocationGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBLocationResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBLocationResource.cs index 961f915ddc5d4..35f572271b71e 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBLocationResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBLocationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBLocationResource { - // CosmosDBLocationGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBLocationGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBLocationGet.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBPrivateEndpointConnectionCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBPrivateEndpointConnectionCollection.cs index 80fcf8c3d037a..bc738e7cbd008 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBPrivateEndpointConnectionCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBPrivateEndpointConnectionCollection { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsPrivateEndpointConnection() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPrivateEndpointConnectionListGet.json @@ -49,12 +49,11 @@ public async Task GetAll_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPrivateEndpointConnectionGet.json @@ -87,9 +86,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPrivateEndpointConnectionGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPrivateEndpointConnectionGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() } } - // Approve or reject a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPrivateEndpointConnectionUpdate.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBPrivateEndpointConnectionResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBPrivateEndpointConnectionResource.cs index 54a48a850d936..19561186d034b 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBPrivateEndpointConnectionResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBPrivateEndpointConnectionResource { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPrivateEndpointConnectionGet.json @@ -47,9 +47,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Approve or reject a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPrivateEndpointConnectionUpdate.json @@ -88,9 +87,8 @@ public async Task Update_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPrivateEndpointConnectionDelete.json @@ -113,7 +111,7 @@ public async Task Delete_DeletesAPrivateEndpointConnectionWithAGivenName() // invoke the operation await cosmosDBPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBPrivateLinkResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBPrivateLinkResource.cs index f171a5c1a7cd9..fc98fef9ef311 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBPrivateLinkResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBPrivateLinkResource { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPrivateLinkResourceGet.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBPrivateLinkResourceCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBPrivateLinkResourceCollection.cs index 1a39ed91c4f58..7962b72d2d0f2 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBPrivateLinkResourceCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBPrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBPrivateLinkResourceCollection { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsPrivateEndpointConnection() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPrivateLinkResourceListGet.json @@ -48,12 +48,11 @@ public async Task GetAll_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPrivateLinkResourceGet.json @@ -86,9 +85,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPrivateLinkResourceGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBPrivateLinkResourceGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBServiceCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBServiceCollection.cs index c64b2038bd3a0..76cd42c15104e 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBServiceCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBServiceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBServiceCollection { - // CosmosDBServicesList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBServicesList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBServicesList.json @@ -49,12 +49,11 @@ public async Task GetAll_CosmosDBServicesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DataTransferServiceCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DataTransferServiceCreate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDataTransferServiceCreate.json @@ -96,9 +95,8 @@ public async Task CreateOrUpdate_DataTransferServiceCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GraphAPIComputeServiceCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_GraphAPIComputeServiceCreate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGraphAPIComputeServiceCreate.json @@ -140,9 +138,8 @@ public async Task CreateOrUpdate_GraphAPIComputeServiceCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MaterializedViewsBuilderServiceCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_MaterializedViewsBuilderServiceCreate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMaterializedViewsBuilderServiceCreate.json @@ -184,9 +181,8 @@ public async Task CreateOrUpdate_MaterializedViewsBuilderServiceCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SqlDedicatedGatewayServiceCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SqlDedicatedGatewayServiceCreate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceCreate.json @@ -229,9 +225,8 @@ public async Task CreateOrUpdate_SqlDedicatedGatewayServiceCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataTransferServiceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DataTransferServiceGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDataTransferServiceGet.json @@ -264,9 +259,8 @@ public async Task Get_DataTransferServiceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataTransferServiceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DataTransferServiceGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDataTransferServiceGet.json @@ -295,9 +289,8 @@ public async Task Exists_DataTransferServiceGet() Console.WriteLine($"Succeeded: {result}"); } - // DataTransferServiceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DataTransferServiceGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDataTransferServiceGet.json @@ -326,7 +319,7 @@ public async Task GetIfExists_DataTransferServiceGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -338,9 +331,8 @@ public async Task GetIfExists_DataTransferServiceGet() } } - // GraphAPIComputeServiceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GraphAPIComputeServiceGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGraphAPIComputeServiceGet.json @@ -373,9 +365,8 @@ public async Task Get_GraphAPIComputeServiceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GraphAPIComputeServiceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GraphAPIComputeServiceGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGraphAPIComputeServiceGet.json @@ -404,9 +395,8 @@ public async Task Exists_GraphAPIComputeServiceGet() Console.WriteLine($"Succeeded: {result}"); } - // GraphAPIComputeServiceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GraphAPIComputeServiceGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGraphAPIComputeServiceGet.json @@ -435,7 +425,7 @@ public async Task GetIfExists_GraphAPIComputeServiceGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -447,9 +437,8 @@ public async Task GetIfExists_GraphAPIComputeServiceGet() } } - // MaterializedViewsBuilderServiceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MaterializedViewsBuilderServiceGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMaterializedViewsBuilderServiceGet.json @@ -482,9 +471,8 @@ public async Task Get_MaterializedViewsBuilderServiceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MaterializedViewsBuilderServiceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_MaterializedViewsBuilderServiceGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMaterializedViewsBuilderServiceGet.json @@ -513,9 +501,8 @@ public async Task Exists_MaterializedViewsBuilderServiceGet() Console.WriteLine($"Succeeded: {result}"); } - // MaterializedViewsBuilderServiceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_MaterializedViewsBuilderServiceGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMaterializedViewsBuilderServiceGet.json @@ -544,7 +531,7 @@ public async Task GetIfExists_MaterializedViewsBuilderServiceGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -556,9 +543,8 @@ public async Task GetIfExists_MaterializedViewsBuilderServiceGet() } } - // SqlDedicatedGatewayServiceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SqlDedicatedGatewayServiceGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceGet.json @@ -591,9 +577,8 @@ public async Task Get_SqlDedicatedGatewayServiceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SqlDedicatedGatewayServiceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SqlDedicatedGatewayServiceGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceGet.json @@ -622,9 +607,8 @@ public async Task Exists_SqlDedicatedGatewayServiceGet() Console.WriteLine($"Succeeded: {result}"); } - // SqlDedicatedGatewayServiceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SqlDedicatedGatewayServiceGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceGet.json @@ -653,7 +637,7 @@ public async Task GetIfExists_SqlDedicatedGatewayServiceGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBServiceResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBServiceResource.cs index 5862235cb0066..54a5d6eba9b4e 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBServiceResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBServiceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBServiceResource { - // DataTransferServiceCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DataTransferServiceCreate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDataTransferServiceCreate.json @@ -56,9 +56,8 @@ public async Task Update_DataTransferServiceCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GraphAPIComputeServiceCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_GraphAPIComputeServiceCreate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGraphAPIComputeServiceCreate.json @@ -97,9 +96,8 @@ public async Task Update_GraphAPIComputeServiceCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MaterializedViewsBuilderServiceCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_MaterializedViewsBuilderServiceCreate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMaterializedViewsBuilderServiceCreate.json @@ -138,9 +136,8 @@ public async Task Update_MaterializedViewsBuilderServiceCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SqlDedicatedGatewayServiceCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SqlDedicatedGatewayServiceCreate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceCreate.json @@ -180,9 +177,8 @@ public async Task Update_SqlDedicatedGatewayServiceCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataTransferServiceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DataTransferServiceGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDataTransferServiceGet.json @@ -212,9 +208,8 @@ public async Task Get_DataTransferServiceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GraphAPIComputeServiceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GraphAPIComputeServiceGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGraphAPIComputeServiceGet.json @@ -244,9 +239,8 @@ public async Task Get_GraphAPIComputeServiceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MaterializedViewsBuilderServiceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MaterializedViewsBuilderServiceGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMaterializedViewsBuilderServiceGet.json @@ -276,9 +270,8 @@ public async Task Get_MaterializedViewsBuilderServiceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SqlDedicatedGatewayServiceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SqlDedicatedGatewayServiceGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceGet.json @@ -308,9 +301,8 @@ public async Task Get_SqlDedicatedGatewayServiceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataTransferServiceDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DataTransferServiceDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBDataTransferServiceDelete.json @@ -333,12 +325,11 @@ public async Task Delete_DataTransferServiceDelete() // invoke the operation await cosmosDBService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GraphAPIComputeServiceDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_GraphAPIComputeServiceDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGraphAPIComputeServiceDelete.json @@ -361,12 +352,11 @@ public async Task Delete_GraphAPIComputeServiceDelete() // invoke the operation await cosmosDBService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // MaterializedViewsBuilderServiceDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_MaterializedViewsBuilderServiceDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMaterializedViewsBuilderServiceDelete.json @@ -389,12 +379,11 @@ public async Task Delete_MaterializedViewsBuilderServiceDelete() // invoke the operation await cosmosDBService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SqlDedicatedGatewayServiceDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SqlDedicatedGatewayServiceDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/services/sqldedicatedgateway/CosmosDBSqlDedicatedGatewayServiceDelete.json @@ -417,7 +406,7 @@ public async Task Delete_SqlDedicatedGatewayServiceDelete() // invoke the operation await cosmosDBService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlClientEncryptionKeyCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlClientEncryptionKeyCollection.cs index 0069c55855c80..b759a0ab944b6 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlClientEncryptionKeyCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlClientEncryptionKeyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBSqlClientEncryptionKeyCollection { - // CosmosDBClientEncryptionKeysList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBClientEncryptionKeysList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlClientEncryptionKeysList.json @@ -50,12 +50,11 @@ public async Task GetAll_CosmosDBClientEncryptionKeysList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBClientEncryptionKeyGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBClientEncryptionKeyGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlClientEncryptionKeyGet.json @@ -89,9 +88,8 @@ public async Task Get_CosmosDBClientEncryptionKeyGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBClientEncryptionKeyGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBClientEncryptionKeyGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlClientEncryptionKeyGet.json @@ -121,9 +119,8 @@ public async Task Exists_CosmosDBClientEncryptionKeyGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBClientEncryptionKeyGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBClientEncryptionKeyGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlClientEncryptionKeyGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_CosmosDBClientEncryptionKeyGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_CosmosDBClientEncryptionKeyGet() } } - // CosmosDBClientEncryptionKeyCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBClientEncryptionKeyCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlClientEncryptionKeyCreateUpdate.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlClientEncryptionKeyResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlClientEncryptionKeyResource.cs index ecea9fb37867f..b3c4991f1f242 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlClientEncryptionKeyResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlClientEncryptionKeyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBSqlClientEncryptionKeyResource { - // CosmosDBClientEncryptionKeyGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBClientEncryptionKeyGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlClientEncryptionKeyGet.json @@ -48,9 +48,8 @@ public async Task Get_CosmosDBClientEncryptionKeyGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBClientEncryptionKeyCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBClientEncryptionKeyCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlClientEncryptionKeyCreateUpdate.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlContainerCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlContainerCollection.cs index 763064ad573d6..d55f7936b1e33 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlContainerCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlContainerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBSqlContainerCollection { - // CosmosDBSqlContainerList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBSqlContainerList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlContainerList.json @@ -50,12 +50,11 @@ public async Task GetAll_CosmosDBSqlContainerList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBSqlContainerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBSqlContainerGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlContainerGet.json @@ -89,9 +88,8 @@ public async Task Get_CosmosDBSqlContainerGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlContainerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBSqlContainerGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlContainerGet.json @@ -121,9 +119,8 @@ public async Task Exists_CosmosDBSqlContainerGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBSqlContainerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBSqlContainerGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlContainerGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_CosmosDBSqlContainerGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_CosmosDBSqlContainerGet() } } - // CosmosDBSqlContainerCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBSqlContainerCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlContainerCreateUpdate.json @@ -276,9 +272,8 @@ public async Task CreateOrUpdate_CosmosDBSqlContainerCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlContainerRestore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBSqlContainerRestore() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlContainerRestore.json @@ -329,9 +324,8 @@ public async Task CreateOrUpdate_CosmosDBSqlContainerRestore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlMaterializedViewCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBSqlMaterializedViewCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlMaterializedViewCreateUpdate.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlContainerResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlContainerResource.cs index cd491ceb8a428..f8b397ee7fde4 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlContainerResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlContainerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBSqlContainerResource { - // CosmosDBSqlContainerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBSqlContainerGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlContainerGet.json @@ -48,9 +48,8 @@ public async Task Get_CosmosDBSqlContainerGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlContainerCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBSqlContainerCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlContainerCreateUpdate.json @@ -156,9 +155,8 @@ public async Task Update_CosmosDBSqlContainerCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlContainerRestore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBSqlContainerRestore() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlContainerRestore.json @@ -206,9 +204,8 @@ public async Task Update_CosmosDBSqlContainerRestore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlMaterializedViewCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBSqlMaterializedViewCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlMaterializedViewCreateUpdate.json @@ -287,9 +284,8 @@ public async Task Update_CosmosDBSqlMaterializedViewCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlContainerDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CosmosDBSqlContainerDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlContainerDelete.json @@ -313,12 +309,11 @@ public async Task Delete_CosmosDBSqlContainerDelete() // invoke the operation await cosmosDBSqlContainer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBSqlContainerPartitionMerge - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSqlContainerPartitionMerge_CosmosDBSqlContainerPartitionMerge() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlContainerPartitionMerge.json @@ -350,9 +345,8 @@ public async Task GetSqlContainerPartitionMerge_CosmosDBSqlContainerPartitionMer Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBSqlContainerBackupInformation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RetrieveContinuousBackupInformation_CosmosDBSqlContainerBackupInformation() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlContainerBackupInformation.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlContainerThroughputSettingResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlContainerThroughputSettingResource.cs index 63d6d42d21712..8bdb5007fa3d1 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlContainerThroughputSettingResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlContainerThroughputSettingResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBSqlContainerThroughputSettingResource { - // CosmosDBSqlContainerThroughputGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBSqlContainerThroughputGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlContainerThroughputGet.json @@ -49,9 +49,8 @@ public async Task Get_CosmosDBSqlContainerThroughputGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlContainerThroughputUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBSqlContainerThroughputUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlContainerThroughputUpdate.json @@ -92,9 +91,8 @@ public async Task CreateOrUpdate_CosmosDBSqlContainerThroughputUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlContainerMigrateToAutoscale - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateSqlContainerToAutoscale_CosmosDBSqlContainerMigrateToAutoscale() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlContainerMigrateToAutoscale.json @@ -126,9 +124,8 @@ public async Task MigrateSqlContainerToAutoscale_CosmosDBSqlContainerMigrateToAu Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlContainerMigrateToManualThroughput - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateSqlContainerToManualThroughput_CosmosDBSqlContainerMigrateToManualThroughput() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlContainerMigrateToManualThroughput.json @@ -160,9 +157,8 @@ public async Task MigrateSqlContainerToManualThroughput_CosmosDBSqlContainerMigr Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlContainerRetrieveThroughputDistribution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SqlContainerRetrieveThroughputDistribution_CosmosDBSqlContainerRetrieveThroughputDistribution() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlContainerRetrieveThroughputDistribution.json @@ -200,9 +196,8 @@ public async Task SqlContainerRetrieveThroughputDistribution_CosmosDBSqlContaine Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBSqlContainerRedistributeThroughput - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SqlContainerRedistributeThroughput_CosmosDBSqlContainerRedistributeThroughput() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlContainerRedistributeThroughput.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlDatabaseCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlDatabaseCollection.cs index ebefdbc4df690..889dc2b312c30 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlDatabaseCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlDatabaseCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBSqlDatabaseCollection { - // CosmosDBSqlDatabaseList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBSqlDatabaseList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlDatabaseList.json @@ -49,12 +49,11 @@ public async Task GetAll_CosmosDBSqlDatabaseList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBSqlDatabaseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBSqlDatabaseGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlDatabaseGet.json @@ -87,9 +86,8 @@ public async Task Get_CosmosDBSqlDatabaseGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlDatabaseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBSqlDatabaseGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlDatabaseGet.json @@ -118,9 +116,8 @@ public async Task Exists_CosmosDBSqlDatabaseGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBSqlDatabaseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBSqlDatabaseGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlDatabaseGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_CosmosDBSqlDatabaseGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_CosmosDBSqlDatabaseGet() } } - // CosmosDBSqlDatabaseCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBSqlDatabaseCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlDatabaseCreateUpdate.json @@ -204,9 +200,8 @@ public async Task CreateOrUpdate_CosmosDBSqlDatabaseCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlDatabaseRestore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBSqlDatabaseRestore() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlDatabaseRestore.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlDatabaseResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlDatabaseResource.cs index f5ec2f75ef4c8..395e5d30e0dc7 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlDatabaseResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlDatabaseResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBSqlDatabaseResource { - // CosmosDBSqlDatabaseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBSqlDatabaseGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlDatabaseGet.json @@ -47,9 +47,8 @@ public async Task Get_CosmosDBSqlDatabaseGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlDatabaseCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBSqlDatabaseCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlDatabaseCreateUpdate.json @@ -87,9 +86,8 @@ public async Task Update_CosmosDBSqlDatabaseCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlDatabaseRestore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBSqlDatabaseRestore() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlDatabaseRestore.json @@ -136,9 +134,8 @@ public async Task Update_CosmosDBSqlDatabaseRestore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlDatabaseDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CosmosDBSqlDatabaseDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlDatabaseDelete.json @@ -161,12 +158,11 @@ public async Task Delete_CosmosDBSqlDatabaseDelete() // invoke the operation await cosmosDBSqlDatabase.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBSqlDatabasePartitionMerge - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SqlDatabasePartitionMerge_CosmosDBSqlDatabasePartitionMerge() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlDatabasePartitionMerge.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlDatabaseThroughputSettingResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlDatabaseThroughputSettingResource.cs index e42898da44659..ac0aa7c41959c 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlDatabaseThroughputSettingResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlDatabaseThroughputSettingResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBSqlDatabaseThroughputSettingResource { - // CosmosDBSqlDatabaseThroughputGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBSqlDatabaseThroughputGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlDatabaseThroughputGet.json @@ -48,9 +48,8 @@ public async Task Get_CosmosDBSqlDatabaseThroughputGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlDatabaseThroughputUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBSqlDatabaseThroughputUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlDatabaseThroughputUpdate.json @@ -90,9 +89,8 @@ public async Task CreateOrUpdate_CosmosDBSqlDatabaseThroughputUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlDatabaseMigrateToAutoscale - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateSqlDatabaseToAutoscale_CosmosDBSqlDatabaseMigrateToAutoscale() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlDatabaseMigrateToAutoscale.json @@ -123,9 +121,8 @@ public async Task MigrateSqlDatabaseToAutoscale_CosmosDBSqlDatabaseMigrateToAuto Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlDatabaseMigrateToManualThroughput - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateSqlDatabaseToManualThroughput_CosmosDBSqlDatabaseMigrateToManualThroughput() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlDatabaseMigrateToManualThroughput.json @@ -156,9 +153,8 @@ public async Task MigrateSqlDatabaseToManualThroughput_CosmosDBSqlDatabaseMigrat Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlDatabaseRetrieveThroughputDistribution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SqlDatabaseRetrieveThroughputDistribution_CosmosDBSqlDatabaseRetrieveThroughputDistribution() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlDatabaseRetrieveThroughputDistribution.json @@ -195,9 +191,8 @@ public async Task SqlDatabaseRetrieveThroughputDistribution_CosmosDBSqlDatabaseR Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBSqlDatabaseRedistributeThroughput - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SqlDatabaseRedistributeThroughput_CosmosDBSqlDatabaseRedistributeThroughput() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlDatabaseRedistributeThroughput.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlRoleAssignmentCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlRoleAssignmentCollection.cs index 459a5c1016087..307886abf3a3f 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlRoleAssignmentCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlRoleAssignmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBSqlRoleAssignmentCollection { - // CosmosDBSqlRoleAssignmentGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBSqlRoleAssignmentGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlRoleAssignmentGet.json @@ -50,9 +50,8 @@ public async Task Get_CosmosDBSqlRoleAssignmentGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlRoleAssignmentGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBSqlRoleAssignmentGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlRoleAssignmentGet.json @@ -81,9 +80,8 @@ public async Task Exists_CosmosDBSqlRoleAssignmentGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBSqlRoleAssignmentGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBSqlRoleAssignmentGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlRoleAssignmentGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_CosmosDBSqlRoleAssignmentGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_CosmosDBSqlRoleAssignmentGet() } } - // CosmosDBSqlRoleAssignmentCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBSqlRoleAssignmentCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlRoleAssignmentCreateUpdate.json @@ -166,9 +163,8 @@ public async Task CreateOrUpdate_CosmosDBSqlRoleAssignmentCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlRoleAssignmentList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBSqlRoleAssignmentList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlRoleAssignmentList.json @@ -200,7 +196,7 @@ public async Task GetAll_CosmosDBSqlRoleAssignmentList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlRoleAssignmentResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlRoleAssignmentResource.cs index a606d6e631fdb..49eb15c4e1edd 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlRoleAssignmentResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlRoleAssignmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBSqlRoleAssignmentResource { - // CosmosDBSqlRoleAssignmentGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBSqlRoleAssignmentGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlRoleAssignmentGet.json @@ -47,9 +47,8 @@ public async Task Get_CosmosDBSqlRoleAssignmentGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlRoleAssignmentCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBSqlRoleAssignmentCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlRoleAssignmentCreateUpdate.json @@ -86,9 +85,8 @@ public async Task Update_CosmosDBSqlRoleAssignmentCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlRoleAssignmentDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CosmosDBSqlRoleAssignmentDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlRoleAssignmentDelete.json @@ -111,7 +109,7 @@ public async Task Delete_CosmosDBSqlRoleAssignmentDelete() // invoke the operation await cosmosDBSqlRoleAssignment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlRoleDefinitionCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlRoleDefinitionCollection.cs index deff357c4900c..093d94dc1a058 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlRoleDefinitionCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlRoleDefinitionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBSqlRoleDefinitionCollection { - // CosmosDBSqlRoleDefinitionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBSqlRoleDefinitionGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlRoleDefinitionGet.json @@ -50,9 +50,8 @@ public async Task Get_CosmosDBSqlRoleDefinitionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlRoleDefinitionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBSqlRoleDefinitionGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlRoleDefinitionGet.json @@ -81,9 +80,8 @@ public async Task Exists_CosmosDBSqlRoleDefinitionGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBSqlRoleDefinitionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBSqlRoleDefinitionGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlRoleDefinitionGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_CosmosDBSqlRoleDefinitionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_CosmosDBSqlRoleDefinitionGet() } } - // CosmosDBSqlRoleDefinitionCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBSqlRoleDefinitionCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlRoleDefinitionCreateUpdate.json @@ -182,9 +179,8 @@ public async Task CreateOrUpdate_CosmosDBSqlRoleDefinitionCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlRoleDefinitionList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBSqlRoleDefinitionList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlRoleDefinitionList.json @@ -216,7 +212,7 @@ public async Task GetAll_CosmosDBSqlRoleDefinitionList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlRoleDefinitionResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlRoleDefinitionResource.cs index 2d73f05200591..65e68893cd2aa 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlRoleDefinitionResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlRoleDefinitionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBSqlRoleDefinitionResource { - // CosmosDBSqlRoleDefinitionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBSqlRoleDefinitionGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlRoleDefinitionGet.json @@ -47,9 +47,8 @@ public async Task Get_CosmosDBSqlRoleDefinitionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlRoleDefinitionCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBSqlRoleDefinitionCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlRoleDefinitionCreateUpdate.json @@ -102,9 +101,8 @@ public async Task Update_CosmosDBSqlRoleDefinitionCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlRoleDefinitionDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CosmosDBSqlRoleDefinitionDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlRoleDefinitionDelete.json @@ -127,7 +125,7 @@ public async Task Delete_CosmosDBSqlRoleDefinitionDelete() // invoke the operation await cosmosDBSqlRoleDefinition.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlStoredProcedureCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlStoredProcedureCollection.cs index 0dfc607543fbe..70ee6c6777e87 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlStoredProcedureCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlStoredProcedureCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBSqlStoredProcedureCollection { - // CosmosDBSqlStoredProcedureList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBSqlStoredProcedureList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlStoredProcedureList.json @@ -51,12 +51,11 @@ public async Task GetAll_CosmosDBSqlStoredProcedureList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBSqlStoredProcedureGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBSqlStoredProcedureGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlStoredProcedureGet.json @@ -91,9 +90,8 @@ public async Task Get_CosmosDBSqlStoredProcedureGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlStoredProcedureGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBSqlStoredProcedureGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlStoredProcedureGet.json @@ -124,9 +122,8 @@ public async Task Exists_CosmosDBSqlStoredProcedureGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBSqlStoredProcedureGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBSqlStoredProcedureGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlStoredProcedureGet.json @@ -157,7 +154,7 @@ public async Task GetIfExists_CosmosDBSqlStoredProcedureGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_CosmosDBSqlStoredProcedureGet() } } - // CosmosDBSqlStoredProcedureCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBSqlStoredProcedureCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlStoredProcedureCreateUpdate.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlStoredProcedureResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlStoredProcedureResource.cs index 3b352a8e31f15..b8de1415e9764 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlStoredProcedureResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlStoredProcedureResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBSqlStoredProcedureResource { - // CosmosDBSqlStoredProcedureGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBSqlStoredProcedureGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlStoredProcedureGet.json @@ -49,9 +49,8 @@ public async Task Get_CosmosDBSqlStoredProcedureGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlStoredProcedureCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBSqlStoredProcedureCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlStoredProcedureCreateUpdate.json @@ -91,9 +90,8 @@ public async Task Update_CosmosDBSqlStoredProcedureCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlStoredProcedureDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CosmosDBSqlStoredProcedureDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlStoredProcedureDelete.json @@ -118,7 +116,7 @@ public async Task Delete_CosmosDBSqlStoredProcedureDelete() // invoke the operation await cosmosDBSqlStoredProcedure.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlTriggerCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlTriggerCollection.cs index 885e58ce38d60..6df1feb95b786 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlTriggerCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlTriggerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBSqlTriggerCollection { - // CosmosDBSqlTriggerList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBSqlTriggerList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlTriggerList.json @@ -51,12 +51,11 @@ public async Task GetAll_CosmosDBSqlTriggerList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBSqlTriggerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBSqlTriggerGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlTriggerGet.json @@ -91,9 +90,8 @@ public async Task Get_CosmosDBSqlTriggerGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlTriggerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBSqlTriggerGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlTriggerGet.json @@ -124,9 +122,8 @@ public async Task Exists_CosmosDBSqlTriggerGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBSqlTriggerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBSqlTriggerGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlTriggerGet.json @@ -157,7 +154,7 @@ public async Task GetIfExists_CosmosDBSqlTriggerGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_CosmosDBSqlTriggerGet() } } - // CosmosDBSqlTriggerCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBSqlTriggerCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlTriggerCreateUpdate.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlTriggerResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlTriggerResource.cs index a13b5efc2fc0f..1506718d3a2b3 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlTriggerResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlTriggerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBSqlTriggerResource { - // CosmosDBSqlTriggerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBSqlTriggerGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlTriggerGet.json @@ -49,9 +49,8 @@ public async Task Get_CosmosDBSqlTriggerGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlTriggerCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBSqlTriggerCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlTriggerCreateUpdate.json @@ -93,9 +92,8 @@ public async Task Update_CosmosDBSqlTriggerCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlTriggerDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CosmosDBSqlTriggerDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlTriggerDelete.json @@ -120,7 +118,7 @@ public async Task Delete_CosmosDBSqlTriggerDelete() // invoke the operation await cosmosDBSqlTrigger.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlUserDefinedFunctionCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlUserDefinedFunctionCollection.cs index fe3d14ea94936..f57046c3a1cbd 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlUserDefinedFunctionCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlUserDefinedFunctionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBSqlUserDefinedFunctionCollection { - // CosmosDBSqlUserDefinedFunctionList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBSqlUserDefinedFunctionList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlUserDefinedFunctionList.json @@ -51,12 +51,11 @@ public async Task GetAll_CosmosDBSqlUserDefinedFunctionList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBSqlUserDefinedFunctionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBSqlUserDefinedFunctionGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlUserDefinedFunctionGet.json @@ -91,9 +90,8 @@ public async Task Get_CosmosDBSqlUserDefinedFunctionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlUserDefinedFunctionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBSqlUserDefinedFunctionGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlUserDefinedFunctionGet.json @@ -124,9 +122,8 @@ public async Task Exists_CosmosDBSqlUserDefinedFunctionGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBSqlUserDefinedFunctionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBSqlUserDefinedFunctionGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlUserDefinedFunctionGet.json @@ -157,7 +154,7 @@ public async Task GetIfExists_CosmosDBSqlUserDefinedFunctionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_CosmosDBSqlUserDefinedFunctionGet() } } - // CosmosDBSqlUserDefinedFunctionCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBSqlUserDefinedFunctionCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlUserDefinedFunctionCreateUpdate.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlUserDefinedFunctionResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlUserDefinedFunctionResource.cs index 8ccd232fe54fe..f60dc3e255763 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlUserDefinedFunctionResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBSqlUserDefinedFunctionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBSqlUserDefinedFunctionResource { - // CosmosDBSqlUserDefinedFunctionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBSqlUserDefinedFunctionGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlUserDefinedFunctionGet.json @@ -49,9 +49,8 @@ public async Task Get_CosmosDBSqlUserDefinedFunctionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlUserDefinedFunctionCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBSqlUserDefinedFunctionCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlUserDefinedFunctionCreateUpdate.json @@ -91,9 +90,8 @@ public async Task Update_CosmosDBSqlUserDefinedFunctionCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlUserDefinedFunctionDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CosmosDBSqlUserDefinedFunctionDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBSqlUserDefinedFunctionDelete.json @@ -118,7 +116,7 @@ public async Task Delete_CosmosDBSqlUserDefinedFunctionDelete() // invoke the operation await cosmosDBSqlUserDefinedFunction.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBTableCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBTableCollection.cs index 1da1f5732e9d9..7d3a771d50b4d 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBTableCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBTableCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBTableCollection { - // CosmosDBTableList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBTableList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBTableList.json @@ -49,12 +49,11 @@ public async Task GetAll_CosmosDBTableList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBTableGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBTableGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBTableGet.json @@ -87,9 +86,8 @@ public async Task Get_CosmosDBTableGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBTableGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBTableGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBTableGet.json @@ -118,9 +116,8 @@ public async Task Exists_CosmosDBTableGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBTableGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBTableGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBTableGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_CosmosDBTableGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_CosmosDBTableGet() } } - // CosmosDBTableReplace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBTableReplace() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBTableCreateUpdate.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBTableResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBTableResource.cs index 68d7d0226d1e5..86e7e8ad853ad 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBTableResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBTableResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBTableResource { - // CosmosDBTableGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBTableGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBTableGet.json @@ -47,9 +47,8 @@ public async Task Get_CosmosDBTableGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBTableReplace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBTableReplace() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBTableCreateUpdate.json @@ -87,9 +86,8 @@ public async Task Update_CosmosDBTableReplace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBTableDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CosmosDBTableDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBTableDelete.json @@ -112,12 +110,11 @@ public async Task Delete_CosmosDBTableDelete() // invoke the operation await cosmosDBTable.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBTableCollectionBackupInformation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RetrieveContinuousBackupInformation_CosmosDBTableCollectionBackupInformation() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBTableBackupInformation.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBThroughputPoolAccountCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBThroughputPoolAccountCollection.cs index c602003dd2c06..fafbddbce7a6f 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBThroughputPoolAccountCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBThroughputPoolAccountCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBThroughputPoolAccountCollection { - // CosmosDB ThroughputPool Account List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBThroughputPoolAccountList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/throughputPool/CosmosDBThroughputPoolAccountsList.json @@ -48,12 +48,11 @@ public async Task GetAll_CosmosDBThroughputPoolAccountList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDB ThroughputPool Account Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBThroughputPoolAccountGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/throughputPool/CosmosDBThroughputPoolAccountGet.json @@ -86,9 +85,8 @@ public async Task Get_CosmosDBThroughputPoolAccountGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDB ThroughputPool Account Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBThroughputPoolAccountGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/throughputPool/CosmosDBThroughputPoolAccountGet.json @@ -117,9 +115,8 @@ public async Task Exists_CosmosDBThroughputPoolAccountGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDB ThroughputPool Account Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBThroughputPoolAccountGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/throughputPool/CosmosDBThroughputPoolAccountGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_CosmosDBThroughputPoolAccountGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_CosmosDBThroughputPoolAccountGet() } } - // CosmosDB ThroughputPool Account Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBThroughputPoolAccountCreate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/throughputPool/CosmosDBThroughputPoolAccountCreate.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBThroughputPoolAccountResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBThroughputPoolAccountResource.cs index 57f543f10b02a..822a0f1b9a50b 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBThroughputPoolAccountResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBThroughputPoolAccountResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBThroughputPoolAccountResource { - // CosmosDB ThroughputPool Account Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBThroughputPoolAccountGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/throughputPool/CosmosDBThroughputPoolAccountGet.json @@ -46,9 +46,8 @@ public async Task Get_CosmosDBThroughputPoolAccountGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDB ThroughputPool Account Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBThroughputPoolAccountCreate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/throughputPool/CosmosDBThroughputPoolAccountCreate.json @@ -84,9 +83,8 @@ public async Task Update_CosmosDBThroughputPoolAccountCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDB ThroughputPool Account Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CosmosDBThroughputPoolAccountDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/throughputPool/CosmosDBThroughputPoolAccountDelete.json @@ -109,7 +107,7 @@ public async Task Delete_CosmosDBThroughputPoolAccountDelete() // invoke the operation await cosmosDBThroughputPoolAccount.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBThroughputPoolCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBThroughputPoolCollection.cs index e9a0d9d232b2c..c9df7e4ebcd8e 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBThroughputPoolCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBThroughputPoolCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBThroughputPoolCollection { - // CosmosDB ThroughputPool List by Resource Group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBThroughputPoolListByResourceGroup() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/throughputPool/CosmosDBThroughputPoolList.json @@ -48,12 +48,11 @@ public async Task GetAll_CosmosDBThroughputPoolListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDB ThroughputPool Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBThroughputPoolGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/throughputPool/CosmosDBThroughputPoolGet.json @@ -85,9 +84,8 @@ public async Task Get_CosmosDBThroughputPoolGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDB ThroughputPool Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBThroughputPoolGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/throughputPool/CosmosDBThroughputPoolGet.json @@ -115,9 +113,8 @@ public async Task Exists_CosmosDBThroughputPoolGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDB ThroughputPool Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBThroughputPoolGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/throughputPool/CosmosDBThroughputPoolGet.json @@ -145,7 +142,7 @@ public async Task GetIfExists_CosmosDBThroughputPoolGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -157,9 +154,8 @@ public async Task GetIfExists_CosmosDBThroughputPoolGet() } } - // CosmosDB ThroughputPool Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBThroughputPoolCreate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/throughputPool/CosmosDBThroughputPoolCreate.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBThroughputPoolResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBThroughputPoolResource.cs index 6ca8b14242204..f4d368c4b3719 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBThroughputPoolResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosDBThroughputPoolResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosDBThroughputPoolResource { - // CosmosDB ThroughputPool List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCosmosDBThroughputPools_CosmosDBThroughputPoolList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/throughputPool/CosmosDBThroughputPoolList.json @@ -45,12 +45,11 @@ public async Task GetCosmosDBThroughputPools_CosmosDBThroughputPoolList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDB ThroughputPool Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBThroughputPoolGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/throughputPool/CosmosDBThroughputPoolGet.json @@ -79,9 +78,8 @@ public async Task Get_CosmosDBThroughputPoolGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDB ThroughputPool Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBThroughputPoolUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/throughputPool/CosmosDBThroughputPoolUpdate.json @@ -115,9 +113,8 @@ public async Task Update_CosmosDBThroughputPoolUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDB ThroughputPool Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CosmosDBThroughputPoolDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/throughputPool/CosmosDBThroughputPoolDelete.json @@ -139,7 +136,7 @@ public async Task Delete_CosmosDBThroughputPoolDelete() // invoke the operation await cosmosDBThroughputPool.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosTableThroughputSettingResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosTableThroughputSettingResource.cs index 760cb29aea896..73bc14fc1ac16 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosTableThroughputSettingResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_CosmosTableThroughputSettingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_CosmosTableThroughputSettingResource { - // CosmosDBTableThroughputGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBTableThroughputGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBTableThroughputGet.json @@ -47,9 +47,8 @@ public async Task Get_CosmosDBTableThroughputGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBTableThroughputUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBTableThroughputUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBTableThroughputUpdate.json @@ -89,9 +88,8 @@ public async Task CreateOrUpdate_CosmosDBTableThroughputUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBTableMigrateToAutoscale - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateTableToAutoscale_CosmosDBTableMigrateToAutoscale() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBTableMigrateToAutoscale.json @@ -122,9 +120,8 @@ public async Task MigrateTableToAutoscale_CosmosDBTableMigrateToAutoscale() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBTableMigrateToManualThroughput - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateTableToManualThroughput_CosmosDBTableMigrateToManualThroughput() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBTableMigrateToManualThroughput.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_DataTransferJobGetResultCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_DataTransferJobGetResultCollection.cs index 1eddaa8abb538..5bb89b8412a72 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_DataTransferJobGetResultCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_DataTransferJobGetResultCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_DataTransferJobGetResultCollection { - // CosmosDBDataTransferJobCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBDataTransferJobCreate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/data-transfer-service/CosmosDBDataTransferJobCreate.json @@ -55,9 +55,8 @@ public async Task CreateOrUpdate_CosmosDBDataTransferJobCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBDataTransferJobGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBDataTransferJobGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/data-transfer-service/CosmosDBDataTransferJobGet.json @@ -90,9 +89,8 @@ public async Task Get_CosmosDBDataTransferJobGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBDataTransferJobGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBDataTransferJobGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/data-transfer-service/CosmosDBDataTransferJobGet.json @@ -121,9 +119,8 @@ public async Task Exists_CosmosDBDataTransferJobGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBDataTransferJobGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBDataTransferJobGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/data-transfer-service/CosmosDBDataTransferJobGet.json @@ -152,7 +149,7 @@ public async Task GetIfExists_CosmosDBDataTransferJobGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_CosmosDBDataTransferJobGet() } } - // CosmosDBDataTransferJobFeed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBDataTransferJobFeed() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/data-transfer-service/CosmosDBDataTransferJobFeed.json @@ -198,7 +194,7 @@ public async Task GetAll_CosmosDBDataTransferJobFeed() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_DataTransferJobGetResultResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_DataTransferJobGetResultResource.cs index a6b5a44df6edb..d3f9a09c9fe4e 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_DataTransferJobGetResultResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_DataTransferJobGetResultResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_DataTransferJobGetResultResource { - // CosmosDBDataTransferJobCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBDataTransferJobCreate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/data-transfer-service/CosmosDBDataTransferJobCreate.json @@ -52,9 +52,8 @@ public async Task Update_CosmosDBDataTransferJobCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBDataTransferJobGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBDataTransferJobGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/data-transfer-service/CosmosDBDataTransferJobGet.json @@ -84,9 +83,8 @@ public async Task Get_CosmosDBDataTransferJobGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBDataTransferJobPause - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Pause_CosmosDBDataTransferJobPause() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/data-transfer-service/CosmosDBDataTransferJobPause.json @@ -116,9 +114,8 @@ public async Task Pause_CosmosDBDataTransferJobPause() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBDataTransferJobResume - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Resume_CosmosDBDataTransferJobResume() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/data-transfer-service/CosmosDBDataTransferJobResume.json @@ -148,9 +145,8 @@ public async Task Resume_CosmosDBDataTransferJobResume() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBDataTransferJobCancel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cancel_CosmosDBDataTransferJobCancel() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/data-transfer-service/CosmosDBDataTransferJobCancel.json @@ -180,9 +176,8 @@ public async Task Cancel_CosmosDBDataTransferJobCancel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBDataTransferJobComplete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Complete_CosmosDBDataTransferJobComplete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/data-transfer-service/CosmosDBDataTransferJobComplete.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GraphResourceGetResultCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GraphResourceGetResultCollection.cs index 993288e3ead32..8738c9f70b1ce 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GraphResourceGetResultCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GraphResourceGetResultCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_GraphResourceGetResultCollection { - // CosmosDBSqlDatabaseList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBSqlDatabaseList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGraphResourceList.json @@ -50,12 +50,11 @@ public async Task GetAll_CosmosDBSqlDatabaseList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBSqlDatabaseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBSqlDatabaseGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGraphResourceGet.json @@ -88,9 +87,8 @@ public async Task Get_CosmosDBSqlDatabaseGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlDatabaseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBSqlDatabaseGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGraphResourceGet.json @@ -119,9 +117,8 @@ public async Task Exists_CosmosDBSqlDatabaseGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBSqlDatabaseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBSqlDatabaseGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGraphResourceGet.json @@ -150,7 +147,7 @@ public async Task GetIfExists_CosmosDBSqlDatabaseGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_CosmosDBSqlDatabaseGet() } } - // CosmosDBGraphCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBGraphCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGraphResourceCreateUpdate.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GraphResourceGetResultResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GraphResourceGetResultResource.cs index cfbc70237eac0..7b67698949de3 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GraphResourceGetResultResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GraphResourceGetResultResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_GraphResourceGetResultResource { - // CosmosDBSqlDatabaseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBSqlDatabaseGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGraphResourceGet.json @@ -48,9 +48,8 @@ public async Task Get_CosmosDBSqlDatabaseGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBGraphCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBGraphCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGraphResourceCreateUpdate.json @@ -91,9 +90,8 @@ public async Task Update_CosmosDBGraphCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBSqlDatabaseDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CosmosDBSqlDatabaseDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGraphResourceDelete.json @@ -116,7 +114,7 @@ public async Task Delete_CosmosDBSqlDatabaseDelete() // invoke the operation await graphResourceGetResult.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GremlinDatabaseCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GremlinDatabaseCollection.cs index 063d431d50ff2..4620e5d97a85b 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GremlinDatabaseCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GremlinDatabaseCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_GremlinDatabaseCollection { - // CosmosDBGremlinDatabaseList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBGremlinDatabaseList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGremlinDatabaseList.json @@ -49,12 +49,11 @@ public async Task GetAll_CosmosDBGremlinDatabaseList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBGremlinDatabaseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBGremlinDatabaseGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGremlinDatabaseGet.json @@ -87,9 +86,8 @@ public async Task Get_CosmosDBGremlinDatabaseGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBGremlinDatabaseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBGremlinDatabaseGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGremlinDatabaseGet.json @@ -118,9 +116,8 @@ public async Task Exists_CosmosDBGremlinDatabaseGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBGremlinDatabaseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBGremlinDatabaseGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGremlinDatabaseGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_CosmosDBGremlinDatabaseGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_CosmosDBGremlinDatabaseGet() } } - // CosmosDBGremlinDatabaseCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBGremlinDatabaseCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGremlinDatabaseCreateUpdate.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GremlinDatabaseResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GremlinDatabaseResource.cs index 5bc7f1fbabd77..a586dfe91e365 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GremlinDatabaseResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GremlinDatabaseResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_GremlinDatabaseResource { - // CosmosDBGremlinDatabaseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBGremlinDatabaseGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGremlinDatabaseGet.json @@ -47,9 +47,8 @@ public async Task Get_CosmosDBGremlinDatabaseGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBGremlinDatabaseCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBGremlinDatabaseCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGremlinDatabaseCreateUpdate.json @@ -87,9 +86,8 @@ public async Task Update_CosmosDBGremlinDatabaseCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBGremlinDatabaseDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CosmosDBGremlinDatabaseDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGremlinDatabaseDelete.json @@ -112,7 +110,7 @@ public async Task Delete_CosmosDBGremlinDatabaseDelete() // invoke the operation await gremlinDatabase.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GremlinDatabaseThroughputSettingResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GremlinDatabaseThroughputSettingResource.cs index 2bd0a94abc937..02fdf53ad2447 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GremlinDatabaseThroughputSettingResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GremlinDatabaseThroughputSettingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_GremlinDatabaseThroughputSettingResource { - // CosmosDBGremlinDatabaseThroughputGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBGremlinDatabaseThroughputGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGremlinDatabaseThroughputGet.json @@ -47,9 +47,8 @@ public async Task Get_CosmosDBGremlinDatabaseThroughputGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBGremlinDatabaseThroughputUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBGremlinDatabaseThroughputUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGremlinDatabaseThroughputUpdate.json @@ -89,9 +88,8 @@ public async Task CreateOrUpdate_CosmosDBGremlinDatabaseThroughputUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBGremlinDatabaseMigrateToAutoscale - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateGremlinDatabaseToAutoscale_CosmosDBGremlinDatabaseMigrateToAutoscale() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGremlinDatabaseMigrateToAutoscale.json @@ -122,9 +120,8 @@ public async Task MigrateGremlinDatabaseToAutoscale_CosmosDBGremlinDatabaseMigra Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBGremlinDatabaseMigrateToManualThroughput - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateGremlinDatabaseToManualThroughput_CosmosDBGremlinDatabaseMigrateToManualThroughput() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGremlinDatabaseMigrateToManualThroughput.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GremlinGraphCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GremlinGraphCollection.cs index f570b64c50b1a..b871af3dc211f 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GremlinGraphCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GremlinGraphCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_GremlinGraphCollection { - // CosmosDBGremlinGraphList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBGremlinGraphList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGremlinGraphList.json @@ -50,12 +50,11 @@ public async Task GetAll_CosmosDBGremlinGraphList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBGremlinGraphGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBGremlinGraphGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGremlinGraphGet.json @@ -89,9 +88,8 @@ public async Task Get_CosmosDBGremlinGraphGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBGremlinGraphGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBGremlinGraphGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGremlinGraphGet.json @@ -121,9 +119,8 @@ public async Task Exists_CosmosDBGremlinGraphGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBGremlinGraphGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBGremlinGraphGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGremlinGraphGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_CosmosDBGremlinGraphGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_CosmosDBGremlinGraphGet() } } - // CosmosDBGremlinGraphCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBGremlinGraphCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGremlinGraphCreateUpdate.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GremlinGraphResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GremlinGraphResource.cs index 2cd8225528329..6bab92ed1e33c 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GremlinGraphResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GremlinGraphResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_GremlinGraphResource { - // CosmosDBGremlinGraphGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBGremlinGraphGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGremlinGraphGet.json @@ -48,9 +48,8 @@ public async Task Get_CosmosDBGremlinGraphGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBGremlinGraphCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBGremlinGraphCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGremlinGraphCreateUpdate.json @@ -144,9 +143,8 @@ public async Task Update_CosmosDBGremlinGraphCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBGremlinGraphDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CosmosDBGremlinGraphDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGremlinGraphDelete.json @@ -170,12 +168,11 @@ public async Task Delete_CosmosDBGremlinGraphDelete() // invoke the operation await gremlinGraph.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBGremlinGraphBackupInformation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RetrieveContinuousBackupInformation_CosmosDBGremlinGraphBackupInformation() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGremlinGraphBackupInformation.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GremlinGraphThroughputSettingResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GremlinGraphThroughputSettingResource.cs index 0cf2e88adcd65..f778314afe89e 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GremlinGraphThroughputSettingResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_GremlinGraphThroughputSettingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_GremlinGraphThroughputSettingResource { - // CosmosDBGremlinGraphThroughputGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBGremlinGraphThroughputGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGremlinGraphThroughputGet.json @@ -48,9 +48,8 @@ public async Task Get_CosmosDBGremlinGraphThroughputGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBGremlinGraphThroughputUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBGremlinGraphThroughputUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGremlinGraphThroughputUpdate.json @@ -91,9 +90,8 @@ public async Task CreateOrUpdate_CosmosDBGremlinGraphThroughputUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBGremlinGraphMigrateToAutoscale - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateGremlinGraphToAutoscale_CosmosDBGremlinGraphMigrateToAutoscale() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGremlinGraphMigrateToAutoscale.json @@ -125,9 +123,8 @@ public async Task MigrateGremlinGraphToAutoscale_CosmosDBGremlinGraphMigrateToAu Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBGremlinGraphMigrateToManualThroughput - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateGremlinGraphToManualThroughput_CosmosDBGremlinGraphMigrateToManualThroughput() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBGremlinGraphMigrateToManualThroughput.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBCollectionCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBCollectionCollection.cs index e06a111b2be96..929beb6fa87ba 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBCollectionCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBCollectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_MongoDBCollectionCollection { - // CosmosDBMongoDBCollectionList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBMongoDBCollectionList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBCollectionList.json @@ -50,12 +50,11 @@ public async Task GetAll_CosmosDBMongoDBCollectionList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBMongoDBCollectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBMongoDBCollectionGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBCollectionGet.json @@ -89,9 +88,8 @@ public async Task Get_CosmosDBMongoDBCollectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBMongoDBCollectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBMongoDBCollectionGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBCollectionGet.json @@ -121,9 +119,8 @@ public async Task Exists_CosmosDBMongoDBCollectionGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBMongoDBCollectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBMongoDBCollectionGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBCollectionGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_CosmosDBMongoDBCollectionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_CosmosDBMongoDBCollectionGet() } } - // CosmosDBMongoDBCollectionCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBMongoDBCollectionCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBCollectionCreateUpdate.json @@ -237,9 +233,8 @@ public async Task CreateOrUpdate_CosmosDBMongoDBCollectionCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBMongoDBCollectionRestore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBMongoDBCollectionRestore() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBCollectionRestore.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBCollectionResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBCollectionResource.cs index 016d27d2ac867..b6eafee1bc8f3 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBCollectionResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBCollectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_MongoDBCollectionResource { - // CosmosDBMongoDBCollectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBMongoDBCollectionGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBCollectionGet.json @@ -48,9 +48,8 @@ public async Task Get_CosmosDBMongoDBCollectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBMongoDBCollectionCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBMongoDBCollectionCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBCollectionCreateUpdate.json @@ -117,9 +116,8 @@ public async Task Update_CosmosDBMongoDBCollectionCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBMongoDBCollectionRestore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBMongoDBCollectionRestore() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBCollectionRestore.json @@ -167,9 +165,8 @@ public async Task Update_CosmosDBMongoDBCollectionRestore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBMongoDBCollectionDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CosmosDBMongoDBCollectionDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBCollectionDelete.json @@ -193,12 +190,11 @@ public async Task Delete_CosmosDBMongoDBCollectionDelete() // invoke the operation await mongoDBCollection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBMongoDBCollectionPartitionMerge - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMongoDBCollectionPartitionMerge_CosmosDBMongoDBCollectionPartitionMerge() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBCollectionPartitionMerge.json @@ -230,9 +226,8 @@ public async Task GetMongoDBCollectionPartitionMerge_CosmosDBMongoDBCollectionPa Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBMongoDBCollectionBackupInformation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RetrieveContinuousBackupInformation_CosmosDBMongoDBCollectionBackupInformation() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBCollectionBackupInformation.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBCollectionThroughputSettingResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBCollectionThroughputSettingResource.cs index a5559312aabd6..dad592ea24ce8 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBCollectionThroughputSettingResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBCollectionThroughputSettingResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_MongoDBCollectionThroughputSettingResource { - // CosmosDBMongoDBCollectionRetrieveThroughputDistribution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MongoDBContainerRetrieveThroughputDistribution_CosmosDBMongoDBCollectionRetrieveThroughputDistribution() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBCollectionRetrieveThroughputDistribution.json @@ -56,9 +56,8 @@ public async Task MongoDBContainerRetrieveThroughputDistribution_CosmosDBMongoDB Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBMongoDBCollectionRedistributeThroughput - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MongoDBContainerRedistributeThroughput_CosmosDBMongoDBCollectionRedistributeThroughput() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBCollectionRedistributeThroughput.json @@ -102,9 +101,8 @@ public async Task MongoDBContainerRedistributeThroughput_CosmosDBMongoDBCollecti Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBMongoDBCollectionThroughputGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBMongoDBCollectionThroughputGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBCollectionThroughputGet.json @@ -135,9 +133,8 @@ public async Task Get_CosmosDBMongoDBCollectionThroughputGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBMongoDBCollectionThroughputUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBMongoDBCollectionThroughputUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBCollectionThroughputUpdate.json @@ -178,9 +175,8 @@ public async Task CreateOrUpdate_CosmosDBMongoDBCollectionThroughputUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBMongoDBCollectionMigrateToAutoscale - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateMongoDBCollectionToAutoscale_CosmosDBMongoDBCollectionMigrateToAutoscale() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBCollectionMigrateToAutoscale.json @@ -212,9 +208,8 @@ public async Task MigrateMongoDBCollectionToAutoscale_CosmosDBMongoDBCollectionM Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBMongoDBCollectionMigrateToManualThroughput - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateMongoDBCollectionToManualThroughput_CosmosDBMongoDBCollectionMigrateToManualThroughput() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBCollectionMigrateToManualThroughput.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBDatabaseCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBDatabaseCollection.cs index f5b3a745c2652..59ffee2b40e7f 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBDatabaseCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBDatabaseCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_MongoDBDatabaseCollection { - // CosmosDBMongoDBDatabaseList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBMongoDBDatabaseList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBDatabaseList.json @@ -49,12 +49,11 @@ public async Task GetAll_CosmosDBMongoDBDatabaseList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBMongoDBDatabaseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBMongoDBDatabaseGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBDatabaseGet.json @@ -87,9 +86,8 @@ public async Task Get_CosmosDBMongoDBDatabaseGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBMongoDBDatabaseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBMongoDBDatabaseGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBDatabaseGet.json @@ -118,9 +116,8 @@ public async Task Exists_CosmosDBMongoDBDatabaseGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBMongoDBDatabaseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBMongoDBDatabaseGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBDatabaseGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_CosmosDBMongoDBDatabaseGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_CosmosDBMongoDBDatabaseGet() } } - // CosmosDBMongoDBDatabaseCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBMongoDBDatabaseCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBDatabaseCreateUpdate.json @@ -204,9 +200,8 @@ public async Task CreateOrUpdate_CosmosDBMongoDBDatabaseCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBMongoDBDatabaseRestore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBMongoDBDatabaseRestore() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBDatabaseRestore.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBDatabaseResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBDatabaseResource.cs index 4e0e40328253a..a686d761cbdf2 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBDatabaseResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBDatabaseResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_MongoDBDatabaseResource { - // CosmosDBMongoDBDatabaseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBMongoDBDatabaseGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBDatabaseGet.json @@ -47,9 +47,8 @@ public async Task Get_CosmosDBMongoDBDatabaseGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBMongoDBDatabaseCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBMongoDBDatabaseCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBDatabaseCreateUpdate.json @@ -87,9 +86,8 @@ public async Task Update_CosmosDBMongoDBDatabaseCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBMongoDBDatabaseRestore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBMongoDBDatabaseRestore() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBDatabaseRestore.json @@ -136,9 +134,8 @@ public async Task Update_CosmosDBMongoDBDatabaseRestore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBMongoDBDatabaseDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CosmosDBMongoDBDatabaseDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBDatabaseDelete.json @@ -161,12 +158,11 @@ public async Task Delete_CosmosDBMongoDBDatabaseDelete() // invoke the operation await mongoDBDatabase.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBMongoDBDatabasePartitionMerge - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MongoDBDatabasePartitionMerge_CosmosDBMongoDBDatabasePartitionMerge() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBDatabasePartitionMerge.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBDatabaseThroughputSettingResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBDatabaseThroughputSettingResource.cs index fe863bf412ea3..b79ee42e4ef81 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBDatabaseThroughputSettingResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBDatabaseThroughputSettingResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_MongoDBDatabaseThroughputSettingResource { - // CosmosDBMongoDBDatabaseThroughputGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBMongoDBDatabaseThroughputGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBDatabaseThroughputGet.json @@ -48,9 +48,8 @@ public async Task Get_CosmosDBMongoDBDatabaseThroughputGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBMongoDBDatabaseThroughputUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBMongoDBDatabaseThroughputUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json @@ -90,9 +89,8 @@ public async Task CreateOrUpdate_CosmosDBMongoDBDatabaseThroughputUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBMongoDBDatabaseMigrateToAutoscale - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateMongoDBDatabaseToAutoscale_CosmosDBMongoDBDatabaseMigrateToAutoscale() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBDatabaseMigrateToAutoscale.json @@ -123,9 +121,8 @@ public async Task MigrateMongoDBDatabaseToAutoscale_CosmosDBMongoDBDatabaseMigra Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBMongoDBDatabaseMigrateToManualThroughput - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateMongoDBDatabaseToManualThroughput_CosmosDBMongoDBDatabaseMigrateToManualThroughput() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBDatabaseMigrateToManualThroughput.json @@ -156,9 +153,8 @@ public async Task MigrateMongoDBDatabaseToManualThroughput_CosmosDBMongoDBDataba Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBMongoDBDatabaseRetrieveThroughputDistribution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MongoDBDatabaseRetrieveThroughputDistribution_CosmosDBMongoDBDatabaseRetrieveThroughputDistribution() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBDatabaseRetrieveThroughputDistribution.json @@ -195,9 +191,8 @@ public async Task MongoDBDatabaseRetrieveThroughputDistribution_CosmosDBMongoDBD Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBMongoDBDatabaseRedistributeThroughput - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MongoDBDatabaseRedistributeThroughput_CosmosDBMongoDBDatabaseRedistributeThroughput() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBDatabaseRedistributeThroughput.json diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBRoleDefinitionCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBRoleDefinitionCollection.cs index f788fd2681a80..30ce5e8a90112 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBRoleDefinitionCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBRoleDefinitionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_MongoDBRoleDefinitionCollection { - // CosmosDBMongoRoleDefinitionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBMongoRoleDefinitionGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBRoleDefinitionGet.json @@ -50,9 +50,8 @@ public async Task Get_CosmosDBMongoRoleDefinitionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBMongoRoleDefinitionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBMongoRoleDefinitionGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBRoleDefinitionGet.json @@ -81,9 +80,8 @@ public async Task Exists_CosmosDBMongoRoleDefinitionGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBMongoRoleDefinitionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBMongoRoleDefinitionGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBRoleDefinitionGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_CosmosDBMongoRoleDefinitionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_CosmosDBMongoRoleDefinitionGet() } } - // CosmosDBMongoDBRoleDefinitionCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBMongoDBRoleDefinitionCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBRoleDefinitionCreateUpdate.json @@ -188,9 +185,8 @@ public async Task CreateOrUpdate_CosmosDBMongoDBRoleDefinitionCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBMongoDBRoleDefinitionList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBMongoDBRoleDefinitionList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBRoleDefinitionList.json @@ -222,7 +218,7 @@ public async Task GetAll_CosmosDBMongoDBRoleDefinitionList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBRoleDefinitionResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBRoleDefinitionResource.cs index d7ba2fca8081e..757a2a31e0d9a 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBRoleDefinitionResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBRoleDefinitionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_MongoDBRoleDefinitionResource { - // CosmosDBMongoRoleDefinitionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBMongoRoleDefinitionGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBRoleDefinitionGet.json @@ -47,9 +47,8 @@ public async Task Get_CosmosDBMongoRoleDefinitionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBMongoDBRoleDefinitionCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBMongoDBRoleDefinitionCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBRoleDefinitionCreateUpdate.json @@ -108,9 +107,8 @@ public async Task Update_CosmosDBMongoDBRoleDefinitionCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBMongoDBRoleDefinitionDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CosmosDBMongoDBRoleDefinitionDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBRoleDefinitionDelete.json @@ -133,7 +131,7 @@ public async Task Delete_CosmosDBMongoDBRoleDefinitionDelete() // invoke the operation await mongoDBRoleDefinition.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBUserDefinitionCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBUserDefinitionCollection.cs index c7bd2d7b4a07a..397f589a09ab4 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBUserDefinitionCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBUserDefinitionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_MongoDBUserDefinitionCollection { - // CosmosDBMongoDBUserDefinitionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBMongoDBUserDefinitionGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBUserDefinitionGet.json @@ -50,9 +50,8 @@ public async Task Get_CosmosDBMongoDBUserDefinitionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBMongoDBUserDefinitionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBMongoDBUserDefinitionGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBUserDefinitionGet.json @@ -81,9 +80,8 @@ public async Task Exists_CosmosDBMongoDBUserDefinitionGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBMongoDBUserDefinitionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBMongoDBUserDefinitionGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBUserDefinitionGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_CosmosDBMongoDBUserDefinitionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_CosmosDBMongoDBUserDefinitionGet() } } - // CosmosDBMongoDBUserDefinitionCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CosmosDBMongoDBUserDefinitionCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBUserDefinitionCreateUpdate.json @@ -176,9 +173,8 @@ public async Task CreateOrUpdate_CosmosDBMongoDBUserDefinitionCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBMongoDBUserDefinitionList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBMongoDBUserDefinitionList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBUserDefinitionList.json @@ -210,7 +206,7 @@ public async Task GetAll_CosmosDBMongoDBUserDefinitionList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBUserDefinitionResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBUserDefinitionResource.cs index a966183ee14e7..8e38a70279eea 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBUserDefinitionResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_MongoDBUserDefinitionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_MongoDBUserDefinitionResource { - // CosmosDBMongoDBUserDefinitionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBMongoDBUserDefinitionGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBUserDefinitionGet.json @@ -47,9 +47,8 @@ public async Task Get_CosmosDBMongoDBUserDefinitionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBMongoDBUserDefinitionCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CosmosDBMongoDBUserDefinitionCreateUpdate() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBUserDefinitionCreateUpdate.json @@ -96,9 +95,8 @@ public async Task Update_CosmosDBMongoDBUserDefinitionCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBMongoDBUserDefinitionDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CosmosDBMongoDBUserDefinitionDelete() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBMongoDBUserDefinitionDelete.json @@ -121,7 +119,7 @@ public async Task Delete_CosmosDBMongoDBUserDefinitionDelete() // invoke the operation await mongoDBUserDefinition.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationCollection.cs index a677319312a9a..bbf5535c46405 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_NetworkSecurityPerimeterConfigurationCollection { - // NamspaceNetworkSecurityPerimeterConfigurationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NamspaceNetworkSecurityPerimeterConfigurationList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/NetworkSecurityPerimeterConfigurationList.json @@ -48,12 +48,11 @@ public async Task GetAll_NamspaceNetworkSecurityPerimeterConfigurationList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NamspaceNetworkSecurityPerimeterConfigurationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NamspaceNetworkSecurityPerimeterConfigurationList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/NetworkSecurityPerimeterConfigurationGet.json @@ -86,9 +85,8 @@ public async Task Get_NamspaceNetworkSecurityPerimeterConfigurationList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NamspaceNetworkSecurityPerimeterConfigurationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NamspaceNetworkSecurityPerimeterConfigurationList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/NetworkSecurityPerimeterConfigurationGet.json @@ -117,9 +115,8 @@ public async Task Exists_NamspaceNetworkSecurityPerimeterConfigurationList() Console.WriteLine($"Succeeded: {result}"); } - // NamspaceNetworkSecurityPerimeterConfigurationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NamspaceNetworkSecurityPerimeterConfigurationList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/NetworkSecurityPerimeterConfigurationGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_NamspaceNetworkSecurityPerimeterConfigurationList( if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationResource.cs index c7e13d5a1c287..8374f9d1e2cfe 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_NetworkSecurityPerimeterConfigurationResource { - // NamspaceNetworkSecurityPerimeterConfigurationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NamspaceNetworkSecurityPerimeterConfigurationList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/NetworkSecurityPerimeterConfigurationGet.json @@ -46,9 +46,8 @@ public async Task Get_NamspaceNetworkSecurityPerimeterConfigurationList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NetworkSecurityPerimeterConfigurationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reconcile_NetworkSecurityPerimeterConfigurationList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/NetworkSecurityPerimeterConfigurationReconcile.json @@ -71,7 +70,7 @@ public async Task Reconcile_NetworkSecurityPerimeterConfigurationList() // invoke the operation await networkSecurityPerimeterConfiguration.ReconcileAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_RestorableCosmosDBAccountCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_RestorableCosmosDBAccountCollection.cs index 6d1df7b3fc351..a9eef6227ba2e 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_RestorableCosmosDBAccountCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_RestorableCosmosDBAccountCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_RestorableCosmosDBAccountCollection { - // CosmosDBRestorableDatabaseAccountList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CosmosDBRestorableDatabaseAccountList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableDatabaseAccountList.json @@ -47,12 +47,11 @@ public async Task GetAll_CosmosDBRestorableDatabaseAccountList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBRestorableDatabaseAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBRestorableDatabaseAccountGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableDatabaseAccountGet.json @@ -84,9 +83,8 @@ public async Task Get_CosmosDBRestorableDatabaseAccountGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBRestorableDatabaseAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CosmosDBRestorableDatabaseAccountGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableDatabaseAccountGet.json @@ -114,9 +112,8 @@ public async Task Exists_CosmosDBRestorableDatabaseAccountGet() Console.WriteLine($"Succeeded: {result}"); } - // CosmosDBRestorableDatabaseAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CosmosDBRestorableDatabaseAccountGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableDatabaseAccountGet.json @@ -144,7 +141,7 @@ public async Task GetIfExists_CosmosDBRestorableDatabaseAccountGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_RestorableCosmosDBAccountResource.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_RestorableCosmosDBAccountResource.cs index 9e32a904dccfe..df374306d6461 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_RestorableCosmosDBAccountResource.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/samples/Generated/Samples/Sample_RestorableCosmosDBAccountResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.CosmosDB.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDB.Samples { public partial class Sample_RestorableCosmosDBAccountResource { - // CosmosDBRestorableDatabaseAccountNoLocationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRestorableCosmosDBAccounts_CosmosDBRestorableDatabaseAccountNoLocationList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableDatabaseAccountNoLocationList.json @@ -45,12 +45,11 @@ public async Task GetRestorableCosmosDBAccounts_CosmosDBRestorableDatabaseAccoun Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBRestorableDatabaseAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CosmosDBRestorableDatabaseAccountGet() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableDatabaseAccountGet.json @@ -79,9 +78,8 @@ public async Task Get_CosmosDBRestorableDatabaseAccountGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CosmosDBRestorableSqlDatabaseList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRestorableSqlDatabases_CosmosDBRestorableSqlDatabaseList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableSqlDatabaseList.json @@ -106,12 +104,11 @@ public async Task GetRestorableSqlDatabases_CosmosDBRestorableSqlDatabaseList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBRestorableSqlContainerList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRestorableSqlContainers_CosmosDBRestorableSqlContainerList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableSqlContainerList.json @@ -137,12 +134,11 @@ public async Task GetRestorableSqlContainers_CosmosDBRestorableSqlContainerList( Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBRestorableSqlResourceList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllRestorableSqlResourceData_CosmosDBRestorableSqlResourceList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableSqlResourceList.json @@ -169,12 +165,11 @@ public async Task GetAllRestorableSqlResourceData_CosmosDBRestorableSqlResourceL Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBRestorableMongodbDatabaseList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRestorableMongoDBDatabases_CosmosDBRestorableMongodbDatabaseList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableMongodbDatabaseList.json @@ -199,12 +194,11 @@ public async Task GetRestorableMongoDBDatabases_CosmosDBRestorableMongodbDatabas Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBRestorableMongodbCollectionList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRestorableMongoDBCollections_CosmosDBRestorableMongodbCollectionList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableMongodbCollectionList.json @@ -230,12 +224,11 @@ public async Task GetRestorableMongoDBCollections_CosmosDBRestorableMongodbColle Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBRestorableMongodbResourceList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllRestorableMongoDBResourceData_CosmosDBRestorableMongodbResourceList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableMongodbResourceList.json @@ -262,12 +255,11 @@ public async Task GetAllRestorableMongoDBResourceData_CosmosDBRestorableMongodbR Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBRestorableGremlinDatabaseList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRestorableGremlinDatabases_CosmosDBRestorableGremlinDatabaseList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableGremlinDatabaseList.json @@ -292,12 +284,11 @@ public async Task GetRestorableGremlinDatabases_CosmosDBRestorableGremlinDatabas Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBRestorableGremlinGraphList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRestorableGremlinGraphs_CosmosDBRestorableGremlinGraphList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableGremlinGraphList.json @@ -323,12 +314,11 @@ public async Task GetRestorableGremlinGraphs_CosmosDBRestorableGremlinGraphList( Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBRestorableGremlinResourceList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRestorableGremlinResources_CosmosDBRestorableGremlinResourceList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableGremlinResourceList.json @@ -355,12 +345,11 @@ public async Task GetRestorableGremlinResources_CosmosDBRestorableGremlinResourc Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBRestorableTableList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRestorableTables_CosmosDBRestorableTableList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableTableList.json @@ -385,12 +374,11 @@ public async Task GetRestorableTables_CosmosDBRestorableTableList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CosmosDBRestorableTableResourceList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRestorableTableResources_CosmosDBRestorableTableResourceList() { // Generated from example definition: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2024-09-01-preview/examples/CosmosDBRestorableTableResourceList.json @@ -417,7 +405,7 @@ public async Task GetRestorableTableResources_CosmosDBRestorableTableResourceLis Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlClusterCollection.cs b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlClusterCollection.cs index 5fd436abbee03..399a31048a810 100644 --- a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlClusterCollection.cs +++ b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlClusterCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDBForPostgreSql.Samples { public partial class Sample_CosmosDBForPostgreSqlClusterCollection { - // List the clusters by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTheClustersByResourceGroup() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterListByResourceGroup.json @@ -48,12 +48,11 @@ public async Task GetAll_ListTheClustersByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create a new cluster as a point in time restore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateANewClusterAsAPointInTimeRestore() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreatePITR.json @@ -92,9 +91,8 @@ public async Task CreateOrUpdate_CreateANewClusterAsAPointInTimeRestore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a new cluster as a read replica - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateANewClusterAsAReadReplica() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreateReadReplica.json @@ -132,9 +130,8 @@ public async Task CreateOrUpdate_CreateANewClusterAsAReadReplica() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a new multi-node cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateANewMultiNodeCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreateMultiNode.json @@ -188,9 +185,8 @@ public async Task CreateOrUpdate_CreateANewMultiNodeCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a new single node Burstable 1 vCore cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateANewSingleNodeBurstable1VCoreCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreateBurstablev1.json @@ -241,9 +237,8 @@ public async Task CreateOrUpdate_CreateANewSingleNodeBurstable1VCoreCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a new single node Burstable 2 vCores cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateANewSingleNodeBurstable2VCoresCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreateBurstablev2.json @@ -294,9 +289,8 @@ public async Task CreateOrUpdate_CreateANewSingleNodeBurstable2VCoresCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a new single node cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateANewSingleNodeCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreateSingleNode.json @@ -347,9 +341,8 @@ public async Task CreateOrUpdate_CreateANewSingleNodeCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterGet.json @@ -381,9 +374,8 @@ public async Task Get_GetTheCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterGet.json @@ -411,9 +403,8 @@ public async Task Exists_GetTheCluster() Console.WriteLine($"Succeeded: {result}"); } - // Get the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterGet.json @@ -441,7 +432,7 @@ public async Task GetIfExists_GetTheCluster() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlClusterResource.cs b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlClusterResource.cs index dd40ce889aee8..423ce1232edb5 100644 --- a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlClusterResource.cs +++ b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlClusterResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.CosmosDBForPostgreSql.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDBForPostgreSql.Samples { public partial class Sample_CosmosDBForPostgreSqlClusterResource { - // List all the clusters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCosmosDBForPostgreSqlClusters_ListAllTheClusters() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterList.json @@ -45,12 +45,11 @@ public async Task GetCosmosDBForPostgreSqlClusters_ListAllTheClusters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterGet.json @@ -79,9 +78,8 @@ public async Task Get_GetTheCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteTheCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterDelete.json @@ -103,12 +101,11 @@ public async Task Delete_DeleteTheCluster() // invoke the operation await cosmosDBForPostgreSqlCluster.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Scale compute up or down - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ScaleComputeUpOrDown() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterScaleCompute.json @@ -142,9 +139,8 @@ public async Task Update_ScaleComputeUpOrDown() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Scale out: Add new worker nodes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ScaleOutAddNewWorkerNodes() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterAddNode.json @@ -178,9 +174,8 @@ public async Task Update_ScaleOutAddNewWorkerNodes() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Scale up storage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ScaleUpStorage() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterScaleStorage.json @@ -214,9 +209,8 @@ public async Task Update_ScaleUpStorage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update multiple configuration settings of the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateMultipleConfigurationSettingsOfTheCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterUpdate.json @@ -253,9 +247,8 @@ public async Task Update_UpdateMultipleConfigurationSettingsOfTheCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update or define maintenance window - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateOrDefineMaintenanceWindow() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterUpdateMaintenanceWindow.json @@ -295,9 +288,8 @@ public async Task Update_UpdateOrDefineMaintenanceWindow() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Restart all servers in the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_RestartAllServersInTheCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterRestart.json @@ -319,12 +311,11 @@ public async Task Restart_RestartAllServersInTheCluster() // invoke the operation await cosmosDBForPostgreSqlCluster.RestartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Start all servers in the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_StartAllServersInTheCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterStart.json @@ -346,12 +337,11 @@ public async Task Start_StartAllServersInTheCluster() // invoke the operation await cosmosDBForPostgreSqlCluster.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Stop all servers in the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_StopAllServersInTheCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterStop.json @@ -373,12 +363,11 @@ public async Task Stop_StopAllServersInTheCluster() // invoke the operation await cosmosDBForPostgreSqlCluster.StopAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Promote read replica cluster to an independent read-write cluster. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PromoteReadReplica_PromoteReadReplicaClusterToAnIndependentReadWriteCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterPromoteReadReplica.json @@ -400,12 +389,11 @@ public async Task PromoteReadReplica_PromoteReadReplicaClusterToAnIndependentRea // invoke the operation await cosmosDBForPostgreSqlCluster.PromoteReadReplicaAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Check name availability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckCosmosDBForPostgreSqlClusterNameAvailability_CheckNameAvailability() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/CheckNameAvailability.json diff --git a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlClusterServerCollection.cs b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlClusterServerCollection.cs index 5043baba44c23..241116b8db24a 100644 --- a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlClusterServerCollection.cs +++ b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlClusterServerCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDBForPostgreSql.Samples { public partial class Sample_CosmosDBForPostgreSqlClusterServerCollection { - // List servers of the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListServersOfTheCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ServerListByCluster.json @@ -48,12 +48,11 @@ public async Task GetAll_ListServersOfTheCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the server of cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheServerOfCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ServerGet.json @@ -86,9 +85,8 @@ public async Task Get_GetTheServerOfCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the server of cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheServerOfCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ServerGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetTheServerOfCluster() Console.WriteLine($"Succeeded: {result}"); } - // Get the server of cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheServerOfCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ServerGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetTheServerOfCluster() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlClusterServerResource.cs b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlClusterServerResource.cs index b4c46a1cd3fb2..7f97d5d3aa496 100644 --- a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlClusterServerResource.cs +++ b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlClusterServerResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDBForPostgreSql.Samples { public partial class Sample_CosmosDBForPostgreSqlClusterServerResource { - // Get the server of cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheServerOfCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ServerGet.json @@ -46,9 +46,8 @@ public async Task Get_GetTheServerOfCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List configurations of the server that in the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConfigurations_ListConfigurationsOfTheServerThatInTheCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationListByServer.json @@ -75,7 +74,7 @@ public async Task GetConfigurations_ListConfigurationsOfTheServerThatInTheCluste Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlConfigurationCollection.cs b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlConfigurationCollection.cs index dc9a69781453b..83303e436a85b 100644 --- a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlConfigurationCollection.cs +++ b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlConfigurationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDBForPostgreSql.Samples { public partial class Sample_CosmosDBForPostgreSqlConfigurationCollection { - // List configurations of the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListConfigurationsOfTheCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationListByCluster.json @@ -48,12 +48,11 @@ public async Task GetAll_ListConfigurationsOfTheCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get configuration details. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetConfigurationDetails() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationGet.json @@ -86,9 +85,8 @@ public async Task Get_GetConfigurationDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get configuration details. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetConfigurationDetails() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetConfigurationDetails() Console.WriteLine($"Succeeded: {result}"); } - // Get configuration details. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetConfigurationDetails() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetConfigurationDetails() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlConfigurationResource.cs b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlConfigurationResource.cs index d7f2cc310b100..6aa8c8dc37998 100644 --- a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlConfigurationResource.cs +++ b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlConfigurationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDBForPostgreSql.Samples { public partial class Sample_CosmosDBForPostgreSqlConfigurationResource { - // Get configuration details. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetConfigurationDetails() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationGet.json diff --git a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlCoordinatorConfigurationCollection.cs b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlCoordinatorConfigurationCollection.cs index 3bea939b561c6..ee1f539238a62 100644 --- a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlCoordinatorConfigurationCollection.cs +++ b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlCoordinatorConfigurationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDBForPostgreSql.Samples { public partial class Sample_CosmosDBForPostgreSqlCoordinatorConfigurationCollection { - // Get configuration details for coordinator. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetConfigurationDetailsForCoordinator() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationGetCoordinator.json @@ -49,9 +49,8 @@ public async Task Get_GetConfigurationDetailsForCoordinator() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get configuration details for coordinator. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetConfigurationDetailsForCoordinator() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationGetCoordinator.json @@ -80,9 +79,8 @@ public async Task Exists_GetConfigurationDetailsForCoordinator() Console.WriteLine($"Succeeded: {result}"); } - // Get configuration details for coordinator. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetConfigurationDetailsForCoordinator() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationGetCoordinator.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetConfigurationDetailsForCoordinator() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetConfigurationDetailsForCoordinator() } } - // Update single configuration of coordinator - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateSingleConfigurationOfCoordinator() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationUpdateCoordinator.json diff --git a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlCoordinatorConfigurationResource.cs b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlCoordinatorConfigurationResource.cs index 847b5df1e6a0c..ca6c13154a612 100644 --- a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlCoordinatorConfigurationResource.cs +++ b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlCoordinatorConfigurationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDBForPostgreSql.Samples { public partial class Sample_CosmosDBForPostgreSqlCoordinatorConfigurationResource { - // Get configuration details for coordinator. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetConfigurationDetailsForCoordinator() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationGetCoordinator.json @@ -46,9 +46,8 @@ public async Task Get_GetConfigurationDetailsForCoordinator() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update single configuration of coordinator - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateSingleConfigurationOfCoordinator() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationUpdateCoordinator.json diff --git a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlFirewallRuleCollection.cs b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlFirewallRuleCollection.cs index a9313a20b2fcd..b7136dc6961d2 100644 --- a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlFirewallRuleCollection.cs +++ b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlFirewallRuleCollection.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDBForPostgreSql.Samples { public partial class Sample_CosmosDBForPostgreSqlFirewallRuleCollection { - // Create a firewall rule of the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAFirewallRuleOfTheCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/FirewallRuleCreate.json @@ -52,9 +52,8 @@ public async Task CreateOrUpdate_CreateAFirewallRuleOfTheCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the firewall rule of the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheFirewallRuleOfTheCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/FirewallRuleGet.json @@ -87,9 +86,8 @@ public async Task Get_GetTheFirewallRuleOfTheCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the firewall rule of the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheFirewallRuleOfTheCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/FirewallRuleGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetTheFirewallRuleOfTheCluster() Console.WriteLine($"Succeeded: {result}"); } - // Get the firewall rule of the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheFirewallRuleOfTheCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/FirewallRuleGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetTheFirewallRuleOfTheCluster() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetTheFirewallRuleOfTheCluster() } } - // List firewall rules of the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListFirewallRulesOfTheCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/FirewallRuleListByCluster.json @@ -195,7 +191,7 @@ public async Task GetAll_ListFirewallRulesOfTheCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlFirewallRuleResource.cs b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlFirewallRuleResource.cs index 239111e7344f2..86707c6655763 100644 --- a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlFirewallRuleResource.cs +++ b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlFirewallRuleResource.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDBForPostgreSql.Samples { public partial class Sample_CosmosDBForPostgreSqlFirewallRuleResource { - // Create a firewall rule of the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAFirewallRuleOfTheCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/FirewallRuleCreate.json @@ -49,9 +49,8 @@ public async Task Update_CreateAFirewallRuleOfTheCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete the firewall rule of the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteTheFirewallRuleOfTheCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/FirewallRuleDelete.json @@ -74,12 +73,11 @@ public async Task Delete_DeleteTheFirewallRuleOfTheCluster() // invoke the operation await cosmosDBForPostgreSqlFirewallRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the firewall rule of the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheFirewallRuleOfTheCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/FirewallRuleGet.json diff --git a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlNodeConfigurationCollection.cs b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlNodeConfigurationCollection.cs index 41135477e868c..b9df39cb3942b 100644 --- a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlNodeConfigurationCollection.cs +++ b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlNodeConfigurationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDBForPostgreSql.Samples { public partial class Sample_CosmosDBForPostgreSqlNodeConfigurationCollection { - // Get configuration details for node. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetConfigurationDetailsForNode() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationGetNode.json @@ -49,9 +49,8 @@ public async Task Get_GetConfigurationDetailsForNode() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get configuration details for node. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetConfigurationDetailsForNode() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationGetNode.json @@ -80,9 +79,8 @@ public async Task Exists_GetConfigurationDetailsForNode() Console.WriteLine($"Succeeded: {result}"); } - // Get configuration details for node. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetConfigurationDetailsForNode() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationGetNode.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetConfigurationDetailsForNode() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetConfigurationDetailsForNode() } } - // Update single configuration of nodes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateSingleConfigurationOfNodes() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationUpdateNode.json diff --git a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlNodeConfigurationResource.cs b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlNodeConfigurationResource.cs index 2585e2a7b4a3d..43536b1ca751f 100644 --- a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlNodeConfigurationResource.cs +++ b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlNodeConfigurationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDBForPostgreSql.Samples { public partial class Sample_CosmosDBForPostgreSqlNodeConfigurationResource { - // Get configuration details for node. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetConfigurationDetailsForNode() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationGetNode.json @@ -46,9 +46,8 @@ public async Task Get_GetConfigurationDetailsForNode() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update single configuration of nodes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateSingleConfigurationOfNodes() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ConfigurationUpdateNode.json diff --git a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlPrivateEndpointConnectionCollection.cs b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlPrivateEndpointConnectionCollection.cs index 79dc886cdfa9d..77e212f3588d2 100644 --- a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlPrivateEndpointConnectionCollection.cs +++ b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDBForPostgreSql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDBForPostgreSql.Samples { public partial class Sample_CosmosDBForPostgreSqlPrivateEndpointConnectionCollection { - // Gets list of private endpoint connections on a cluster. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsListOfPrivateEndpointConnectionsOnACluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/PrivateEndpointConnectionsListByCluster.json @@ -49,12 +49,11 @@ public async Task GetAll_GetsListOfPrivateEndpointConnectionsOnACluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/PrivateEndpointConnectionsGet.json @@ -87,9 +86,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/PrivateEndpointConnectionsGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/PrivateEndpointConnectionsGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() } } - // Approves or Rejects a Private Endpoint Connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApprovesOrRejectsAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/PrivateEndpointConnectionCreateOrUpdate.json diff --git a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlPrivateEndpointConnectionResource.cs b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlPrivateEndpointConnectionResource.cs index e47a4b21a5a64..ccf7e386dcbbe 100644 --- a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlPrivateEndpointConnectionResource.cs +++ b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CosmosDBForPostgreSql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDBForPostgreSql.Samples { public partial class Sample_CosmosDBForPostgreSqlPrivateEndpointConnectionResource { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/PrivateEndpointConnectionsGet.json @@ -47,9 +47,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Approves or Rejects a Private Endpoint Connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApprovesOrRejectsAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/PrivateEndpointConnectionCreateOrUpdate.json @@ -88,9 +87,8 @@ public async Task Update_ApprovesOrRejectsAPrivateEndpointConnectionWithAGivenNa Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/PrivateEndpointConnectionsDelete.json @@ -113,7 +111,7 @@ public async Task Delete_DeletesAPrivateEndpointConnectionWithAGivenName() // invoke the operation await cosmosDBForPostgreSqlPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlPrivateLinkResource.cs b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlPrivateLinkResource.cs index b63d181288c3a..bc28e3047ae98 100644 --- a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlPrivateLinkResource.cs +++ b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDBForPostgreSql.Samples { public partial class Sample_CosmosDBForPostgreSqlPrivateLinkResource { - // Gets a private link resource for cluster. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAPrivateLinkResourceForCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/PrivateLinkResourcesGet.json diff --git a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlPrivateLinkResourceCollection.cs b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlPrivateLinkResourceCollection.cs index f184cbec04a03..eca0f92c473c0 100644 --- a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlPrivateLinkResourceCollection.cs +++ b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlPrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDBForPostgreSql.Samples { public partial class Sample_CosmosDBForPostgreSqlPrivateLinkResourceCollection { - // Gets the private link resources for cluster. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsThePrivateLinkResourcesForCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/PrivateLinkResourceListByCluster.json @@ -48,12 +48,11 @@ public async Task GetAll_GetsThePrivateLinkResourcesForCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a private link resource for cluster. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAPrivateLinkResourceForCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/PrivateLinkResourcesGet.json @@ -86,9 +85,8 @@ public async Task Get_GetsAPrivateLinkResourceForCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a private link resource for cluster. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAPrivateLinkResourceForCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/PrivateLinkResourcesGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetsAPrivateLinkResourceForCluster() Console.WriteLine($"Succeeded: {result}"); } - // Gets a private link resource for cluster. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAPrivateLinkResourceForCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/PrivateLinkResourcesGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetsAPrivateLinkResourceForCluster() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlRoleCollection.cs b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlRoleCollection.cs index 109c414b8de0f..2a1758be0ecff 100644 --- a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlRoleCollection.cs +++ b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlRoleCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDBForPostgreSql.Samples { public partial class Sample_CosmosDBForPostgreSqlRoleCollection { - // Get the role of the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheRoleOfTheCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/RoleGet.json @@ -49,9 +49,8 @@ public async Task Get_GetTheRoleOfTheCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the role of the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheRoleOfTheCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/RoleGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetTheRoleOfTheCluster() Console.WriteLine($"Succeeded: {result}"); } - // Get the role of the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheRoleOfTheCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/RoleGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetTheRoleOfTheCluster() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetTheRoleOfTheCluster() } } - // RoleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RoleCreate() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/RoleCreate.json @@ -160,9 +157,8 @@ public async Task CreateOrUpdate_RoleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RoleList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RoleList() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/RoleListByCluster.json @@ -194,7 +190,7 @@ public async Task GetAll_RoleList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlRoleResource.cs b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlRoleResource.cs index c1fbd7fe30681..221003efb6c3f 100644 --- a/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlRoleResource.cs +++ b/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/samples/Generated/Samples/Sample_CosmosDBForPostgreSqlRoleResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CosmosDBForPostgreSql.Samples { public partial class Sample_CosmosDBForPostgreSqlRoleResource { - // Get the role of the cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheRoleOfTheCluster() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/RoleGet.json @@ -46,9 +46,8 @@ public async Task Get_GetTheRoleOfTheCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RoleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RoleCreate() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/RoleCreate.json @@ -80,9 +79,8 @@ public async Task Update_RoleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RoleDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RoleDelete() { // Generated from example definition: specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/RoleDelete.json @@ -105,7 +103,7 @@ public async Task Delete_RoleDelete() // invoke the operation await cosmosDBForPostgreSqlRole.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_CostManagementAlertCollection.cs b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_CostManagementAlertCollection.cs index 478ddb9c26115..f95e972798e61 100644 --- a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_CostManagementAlertCollection.cs +++ b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_CostManagementAlertCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CostManagement.Samples { public partial class Sample_CostManagementAlertCollection { - // BillingAccountAlerts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BillingAccountAlerts() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/BillingAccountAlerts.json @@ -45,12 +45,11 @@ public async Task GetAll_BillingAccountAlerts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BillingProfileAlerts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BillingProfileAlerts() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/BillingProfileAlerts.json @@ -79,12 +78,11 @@ public async Task GetAll_BillingProfileAlerts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DepartmentAlerts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DepartmentAlerts() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/DepartmentAlerts.json @@ -113,12 +111,11 @@ public async Task GetAll_DepartmentAlerts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // EnrollmentAccountAlerts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_EnrollmentAccountAlerts() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/EnrollmentAccountAlerts.json @@ -147,12 +144,11 @@ public async Task GetAll_EnrollmentAccountAlerts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // InvoiceSectionAlerts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_InvoiceSectionAlerts() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/InvoiceSectionAlerts.json @@ -181,12 +177,11 @@ public async Task GetAll_InvoiceSectionAlerts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ResourceGroupAlerts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ResourceGroupAlerts() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ResourceGroupAlerts.json @@ -215,12 +210,11 @@ public async Task GetAll_ResourceGroupAlerts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SubscriptionAlerts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SubscriptionAlerts() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/SubscriptionAlerts.json @@ -249,12 +243,11 @@ public async Task GetAll_SubscriptionAlerts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SingleResourceGroupAlerts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SingleResourceGroupAlerts() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/SingleResourceGroupAlert.json @@ -284,9 +277,8 @@ public async Task Get_SingleResourceGroupAlerts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SingleResourceGroupAlerts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SingleResourceGroupAlerts() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/SingleResourceGroupAlert.json @@ -312,9 +304,8 @@ public async Task Exists_SingleResourceGroupAlerts() Console.WriteLine($"Succeeded: {result}"); } - // SingleResourceGroupAlerts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SingleResourceGroupAlerts() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/SingleResourceGroupAlert.json @@ -340,7 +331,7 @@ public async Task GetIfExists_SingleResourceGroupAlerts() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -352,9 +343,8 @@ public async Task GetIfExists_SingleResourceGroupAlerts() } } - // SingleSubscriptionAlerts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SingleSubscriptionAlerts() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/SingleSubscriptionAlert.json @@ -384,9 +374,8 @@ public async Task Get_SingleSubscriptionAlerts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SingleSubscriptionAlerts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SingleSubscriptionAlerts() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/SingleSubscriptionAlert.json @@ -412,9 +401,8 @@ public async Task Exists_SingleSubscriptionAlerts() Console.WriteLine($"Succeeded: {result}"); } - // SingleSubscriptionAlerts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SingleSubscriptionAlerts() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/SingleSubscriptionAlert.json @@ -440,7 +428,7 @@ public async Task GetIfExists_SingleSubscriptionAlerts() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_CostManagementAlertResource.cs b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_CostManagementAlertResource.cs index 3236052fc69b9..cd53e4f89997e 100644 --- a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_CostManagementAlertResource.cs +++ b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_CostManagementAlertResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CostManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CostManagement.Samples { public partial class Sample_CostManagementAlertResource { - // SingleResourceGroupAlerts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SingleResourceGroupAlerts() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/SingleResourceGroupAlert.json @@ -45,9 +45,8 @@ public async Task Get_SingleResourceGroupAlerts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SingleSubscriptionAlerts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SingleSubscriptionAlerts() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/SingleSubscriptionAlert.json @@ -75,9 +74,8 @@ public async Task Get_SingleSubscriptionAlerts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PatchResourceGroupAlerts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchResourceGroupAlerts() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/DismissResourceGroupAlerts.json @@ -109,9 +107,8 @@ public async Task Update_PatchResourceGroupAlerts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PatchSubscriptionAlerts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchSubscriptionAlerts() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/DismissSubscriptionAlerts.json @@ -143,9 +140,8 @@ public async Task Update_PatchSubscriptionAlerts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExternalBillingAccountAlerts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCostManagementAlerts_ExternalBillingAccountAlerts() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExternalBillingAccountAlerts.json @@ -172,12 +168,11 @@ public async Task GetCostManagementAlerts_ExternalBillingAccountAlerts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExternalSubscriptionAlerts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCostManagementAlerts_ExternalSubscriptionAlerts() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExternalSubscriptionAlerts.json @@ -204,7 +199,7 @@ public async Task GetCostManagementAlerts_ExternalSubscriptionAlerts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_CostManagementExportCollection.cs b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_CostManagementExportCollection.cs index 30fb705087db8..4b5466a35c47b 100644 --- a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_CostManagementExportCollection.cs +++ b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_CostManagementExportCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CostManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CostManagement.Samples { public partial class Sample_CostManagementExportCollection { - // ExportsGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ExportsGetByBillingAccount() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportsGetByBillingAccount.json @@ -46,12 +46,11 @@ public async Task GetAll_ExportsGetByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExportsGetByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ExportsGetByDepartment() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportsGetByDepartment.json @@ -80,12 +79,11 @@ public async Task GetAll_ExportsGetByDepartment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExportsGetByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ExportsGetByEnrollmentAccount() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportsGetByEnrollmentAccount.json @@ -114,12 +112,11 @@ public async Task GetAll_ExportsGetByEnrollmentAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExportsGetByManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ExportsGetByManagementGroup() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportsGetByManagementGroup.json @@ -148,12 +145,11 @@ public async Task GetAll_ExportsGetByManagementGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExportsGetByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ExportsGetByResourceGroup() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportsGetByResourceGroup.json @@ -182,12 +178,11 @@ public async Task GetAll_ExportsGetByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExportsGetBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ExportsGetBySubscription() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportsGetBySubscription.json @@ -216,12 +211,11 @@ public async Task GetAll_ExportsGetBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExportGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExportGetByBillingAccount() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportGetByBillingAccount.json @@ -251,9 +245,8 @@ public async Task Get_ExportGetByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExportGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ExportGetByBillingAccount() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportGetByBillingAccount.json @@ -279,9 +272,8 @@ public async Task Exists_ExportGetByBillingAccount() Console.WriteLine($"Succeeded: {result}"); } - // ExportGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ExportGetByBillingAccount() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportGetByBillingAccount.json @@ -307,7 +299,7 @@ public async Task GetIfExists_ExportGetByBillingAccount() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -319,9 +311,8 @@ public async Task GetIfExists_ExportGetByBillingAccount() } } - // ExportGetByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExportGetByDepartment() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportGetByDepartment.json @@ -351,9 +342,8 @@ public async Task Get_ExportGetByDepartment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExportGetByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ExportGetByDepartment() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportGetByDepartment.json @@ -379,9 +369,8 @@ public async Task Exists_ExportGetByDepartment() Console.WriteLine($"Succeeded: {result}"); } - // ExportGetByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ExportGetByDepartment() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportGetByDepartment.json @@ -407,7 +396,7 @@ public async Task GetIfExists_ExportGetByDepartment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -419,9 +408,8 @@ public async Task GetIfExists_ExportGetByDepartment() } } - // ExportGetByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExportGetByEnrollmentAccount() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportGetByEnrollmentAccount.json @@ -451,9 +439,8 @@ public async Task Get_ExportGetByEnrollmentAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExportGetByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ExportGetByEnrollmentAccount() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportGetByEnrollmentAccount.json @@ -479,9 +466,8 @@ public async Task Exists_ExportGetByEnrollmentAccount() Console.WriteLine($"Succeeded: {result}"); } - // ExportGetByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ExportGetByEnrollmentAccount() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportGetByEnrollmentAccount.json @@ -507,7 +493,7 @@ public async Task GetIfExists_ExportGetByEnrollmentAccount() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -519,9 +505,8 @@ public async Task GetIfExists_ExportGetByEnrollmentAccount() } } - // ExportGetByManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExportGetByManagementGroup() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportGetByManagementGroup.json @@ -551,9 +536,8 @@ public async Task Get_ExportGetByManagementGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExportGetByManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ExportGetByManagementGroup() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportGetByManagementGroup.json @@ -579,9 +563,8 @@ public async Task Exists_ExportGetByManagementGroup() Console.WriteLine($"Succeeded: {result}"); } - // ExportGetByManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ExportGetByManagementGroup() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportGetByManagementGroup.json @@ -607,7 +590,7 @@ public async Task GetIfExists_ExportGetByManagementGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -619,9 +602,8 @@ public async Task GetIfExists_ExportGetByManagementGroup() } } - // ExportGetByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExportGetByResourceGroup() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportGetByResourceGroup.json @@ -651,9 +633,8 @@ public async Task Get_ExportGetByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExportGetByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ExportGetByResourceGroup() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportGetByResourceGroup.json @@ -679,9 +660,8 @@ public async Task Exists_ExportGetByResourceGroup() Console.WriteLine($"Succeeded: {result}"); } - // ExportGetByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ExportGetByResourceGroup() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportGetByResourceGroup.json @@ -707,7 +687,7 @@ public async Task GetIfExists_ExportGetByResourceGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -719,9 +699,8 @@ public async Task GetIfExists_ExportGetByResourceGroup() } } - // ExportGetBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExportGetBySubscription() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportGetBySubscription.json @@ -751,9 +730,8 @@ public async Task Get_ExportGetBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExportGetBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ExportGetBySubscription() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportGetBySubscription.json @@ -779,9 +757,8 @@ public async Task Exists_ExportGetBySubscription() Console.WriteLine($"Succeeded: {result}"); } - // ExportGetBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ExportGetBySubscription() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportGetBySubscription.json @@ -807,7 +784,7 @@ public async Task GetIfExists_ExportGetBySubscription() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -819,9 +796,8 @@ public async Task GetIfExists_ExportGetBySubscription() } } - // ExportCreateOrUpdateByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ExportCreateOrUpdateByBillingAccount() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportCreateOrUpdateByBillingAccount.json @@ -881,9 +857,8 @@ public async Task CreateOrUpdate_ExportCreateOrUpdateByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExportCreateOrUpdateByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ExportCreateOrUpdateByDepartment() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportCreateOrUpdateByDepartment.json @@ -943,9 +918,8 @@ public async Task CreateOrUpdate_ExportCreateOrUpdateByDepartment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExportCreateOrUpdateByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ExportCreateOrUpdateByEnrollmentAccount() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportCreateOrUpdateByEnrollmentAccount.json @@ -1005,9 +979,8 @@ public async Task CreateOrUpdate_ExportCreateOrUpdateByEnrollmentAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExportCreateOrUpdateByManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ExportCreateOrUpdateByManagementGroup() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportCreateOrUpdateByManagementGroup.json @@ -1067,9 +1040,8 @@ public async Task CreateOrUpdate_ExportCreateOrUpdateByManagementGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExportCreateOrUpdateByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ExportCreateOrUpdateByResourceGroup() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportCreateOrUpdateByResourceGroup.json @@ -1129,9 +1101,8 @@ public async Task CreateOrUpdate_ExportCreateOrUpdateByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExportCreateOrUpdateBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ExportCreateOrUpdateBySubscription() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportCreateOrUpdateBySubscription.json diff --git a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_CostManagementExportResource.cs b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_CostManagementExportResource.cs index 9112a5ec78658..b1745b86ac65b 100644 --- a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_CostManagementExportResource.cs +++ b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_CostManagementExportResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CostManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CostManagement.Samples { public partial class Sample_CostManagementExportResource { - // ExportGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExportGetByBillingAccount() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportGetByBillingAccount.json @@ -45,9 +45,8 @@ public async Task Get_ExportGetByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExportGetByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExportGetByDepartment() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportGetByDepartment.json @@ -75,9 +74,8 @@ public async Task Get_ExportGetByDepartment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExportGetByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExportGetByEnrollmentAccount() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportGetByEnrollmentAccount.json @@ -105,9 +103,8 @@ public async Task Get_ExportGetByEnrollmentAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExportGetByManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExportGetByManagementGroup() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportGetByManagementGroup.json @@ -135,9 +132,8 @@ public async Task Get_ExportGetByManagementGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExportGetByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExportGetByResourceGroup() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportGetByResourceGroup.json @@ -165,9 +161,8 @@ public async Task Get_ExportGetByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExportGetBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ExportGetBySubscription() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportGetBySubscription.json @@ -195,9 +190,8 @@ public async Task Get_ExportGetBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExportCreateOrUpdateByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ExportCreateOrUpdateByBillingAccount() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportCreateOrUpdateByBillingAccount.json @@ -255,9 +249,8 @@ public async Task Update_ExportCreateOrUpdateByBillingAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExportCreateOrUpdateByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ExportCreateOrUpdateByDepartment() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportCreateOrUpdateByDepartment.json @@ -315,9 +308,8 @@ public async Task Update_ExportCreateOrUpdateByDepartment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExportCreateOrUpdateByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ExportCreateOrUpdateByEnrollmentAccount() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportCreateOrUpdateByEnrollmentAccount.json @@ -375,9 +367,8 @@ public async Task Update_ExportCreateOrUpdateByEnrollmentAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExportCreateOrUpdateByManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ExportCreateOrUpdateByManagementGroup() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportCreateOrUpdateByManagementGroup.json @@ -435,9 +426,8 @@ public async Task Update_ExportCreateOrUpdateByManagementGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExportCreateOrUpdateByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ExportCreateOrUpdateByResourceGroup() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportCreateOrUpdateByResourceGroup.json @@ -495,9 +485,8 @@ public async Task Update_ExportCreateOrUpdateByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExportCreateOrUpdateBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ExportCreateOrUpdateBySubscription() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportCreateOrUpdateBySubscription.json @@ -555,9 +544,8 @@ public async Task Update_ExportCreateOrUpdateBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ExportDeleteByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ExportDeleteByBillingAccount() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportDeleteByBillingAccount.json @@ -578,12 +566,11 @@ public async Task Delete_ExportDeleteByBillingAccount() // invoke the operation await costManagementExport.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExportDeleteByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ExportDeleteByDepartment() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportDeleteByDepartment.json @@ -604,12 +591,11 @@ public async Task Delete_ExportDeleteByDepartment() // invoke the operation await costManagementExport.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExportDeleteByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ExportDeleteByEnrollmentAccount() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportDeleteByEnrollmentAccount.json @@ -630,12 +616,11 @@ public async Task Delete_ExportDeleteByEnrollmentAccount() // invoke the operation await costManagementExport.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExportDeleteByManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ExportDeleteByManagementGroup() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportDeleteByManagementGroup.json @@ -656,12 +641,11 @@ public async Task Delete_ExportDeleteByManagementGroup() // invoke the operation await costManagementExport.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExportDeleteByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ExportDeleteByResourceGroup() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportDeleteByResourceGroup.json @@ -682,12 +666,11 @@ public async Task Delete_ExportDeleteByResourceGroup() // invoke the operation await costManagementExport.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExportDeleteBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ExportDeleteBySubscription() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportDeleteBySubscription.json @@ -708,12 +691,11 @@ public async Task Delete_ExportDeleteBySubscription() // invoke the operation await costManagementExport.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExportRunByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Execute_ExportRunByBillingAccount() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportRunByBillingAccount.json @@ -734,12 +716,11 @@ public async Task Execute_ExportRunByBillingAccount() // invoke the operation await costManagementExport.ExecuteAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExportRunByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Execute_ExportRunByDepartment() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportRunByDepartment.json @@ -760,12 +741,11 @@ public async Task Execute_ExportRunByDepartment() // invoke the operation await costManagementExport.ExecuteAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExportRunByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Execute_ExportRunByEnrollmentAccount() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportRunByEnrollmentAccount.json @@ -786,12 +766,11 @@ public async Task Execute_ExportRunByEnrollmentAccount() // invoke the operation await costManagementExport.ExecuteAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExportRunByManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Execute_ExportRunByManagementGroup() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportRunByManagementGroup.json @@ -812,12 +791,11 @@ public async Task Execute_ExportRunByManagementGroup() // invoke the operation await costManagementExport.ExecuteAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExportRunByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Execute_ExportRunByResourceGroup() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportRunByResourceGroup.json @@ -838,12 +816,11 @@ public async Task Execute_ExportRunByResourceGroup() // invoke the operation await costManagementExport.ExecuteAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExportRunBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Execute_ExportRunBySubscription() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportRunBySubscription.json @@ -864,12 +841,11 @@ public async Task Execute_ExportRunBySubscription() // invoke the operation await costManagementExport.ExecuteAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExportRunHistoryGetByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExecutionHistory_ExportRunHistoryGetByBillingAccount() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportRunHistoryGetByBillingAccount.json @@ -893,12 +869,11 @@ public async Task GetExecutionHistory_ExportRunHistoryGetByBillingAccount() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExportRunHistoryGetByDepartment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExecutionHistory_ExportRunHistoryGetByDepartment() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportRunHistoryGetByDepartment.json @@ -922,12 +897,11 @@ public async Task GetExecutionHistory_ExportRunHistoryGetByDepartment() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExportRunHistoryGetByEnrollmentAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExecutionHistory_ExportRunHistoryGetByEnrollmentAccount() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportRunHistoryGetByEnrollmentAccount.json @@ -951,12 +925,11 @@ public async Task GetExecutionHistory_ExportRunHistoryGetByEnrollmentAccount() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExportRunHistoryGetByManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExecutionHistory_ExportRunHistoryGetByManagementGroup() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportRunHistoryGetByManagementGroup.json @@ -980,12 +953,11 @@ public async Task GetExecutionHistory_ExportRunHistoryGetByManagementGroup() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExportRunHistoryGetByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExecutionHistory_ExportRunHistoryGetByResourceGroup() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportRunHistoryGetByResourceGroup.json @@ -1009,12 +981,11 @@ public async Task GetExecutionHistory_ExportRunHistoryGetByResourceGroup() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExportRunHistoryGetBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExecutionHistory_ExportRunHistoryGetBySubscription() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExportRunHistoryGetBySubscription.json @@ -1038,7 +1009,7 @@ public async Task GetExecutionHistory_ExportRunHistoryGetBySubscription() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_CostManagementViewsCollection.cs b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_CostManagementViewsCollection.cs index 63959df05bf66..034572d033dcc 100644 --- a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_CostManagementViewsCollection.cs +++ b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_CostManagementViewsCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CostManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CostManagement.Samples { public partial class Sample_CostManagementViewsCollection { - // ResourceGroupViewList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ResourceGroupViewList() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ViewListByResourceGroup.json @@ -46,12 +46,11 @@ public async Task GetAll_ResourceGroupViewList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ResourceGroupView - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ResourceGroupView() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ViewByResourceGroup.json @@ -81,9 +80,8 @@ public async Task Get_ResourceGroupView() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ResourceGroupView - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ResourceGroupView() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ViewByResourceGroup.json @@ -109,9 +107,8 @@ public async Task Exists_ResourceGroupView() Console.WriteLine($"Succeeded: {result}"); } - // ResourceGroupView - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ResourceGroupView() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ViewByResourceGroup.json @@ -137,7 +134,7 @@ public async Task GetIfExists_ResourceGroupView() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -149,9 +146,8 @@ public async Task GetIfExists_ResourceGroupView() } } - // ResourceGroupCreateOrUpdateView - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ResourceGroupCreateOrUpdateView() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ViewCreateOrUpdateByResourceGroup.json diff --git a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_CostManagementViewsResource.cs b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_CostManagementViewsResource.cs index b729d97904c5a..03f708be83fe6 100644 --- a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_CostManagementViewsResource.cs +++ b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_CostManagementViewsResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CostManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CostManagement.Samples { public partial class Sample_CostManagementViewsResource { - // ResourceGroupView - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ResourceGroupView() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ViewByResourceGroup.json @@ -45,9 +45,8 @@ public async Task Get_ResourceGroupView() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ResourceGroupCreateOrUpdateView - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ResourceGroupCreateOrUpdateView() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ViewCreateOrUpdateByResourceGroup.json @@ -134,9 +133,8 @@ public async Task Update_ResourceGroupCreateOrUpdateView() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ResourceGroupDeleteView - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ResourceGroupDeleteView() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ViewDeleteByResourceGroup.json @@ -157,7 +155,7 @@ public async Task Delete_ResourceGroupDeleteView() // invoke the operation await costManagementViews.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_ScheduledActionCollection.cs b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_ScheduledActionCollection.cs index abb1b6e5aa22e..24d9a60a7c0e5 100644 --- a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_ScheduledActionCollection.cs +++ b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_ScheduledActionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CostManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CostManagement.Samples { public partial class Sample_ScheduledActionCollection { - // ScheduledActionsListByScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ScheduledActionsListByScope() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/scheduledActions/scheduledActions-list-shared.json @@ -46,12 +46,11 @@ public async Task GetAll_ScheduledActionsListByScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ScheduledActionsListByScopeFilterByViewId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ScheduledActionsListByScopeFilterByViewId() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/scheduledActions/scheduledActions-listWithFilter-shared.json @@ -81,12 +80,11 @@ public async Task GetAll_ScheduledActionsListByScopeFilterByViewId() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CreateOrUpdateInsightAlertScheduledActionByScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateInsightAlertScheduledActionByScope() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/scheduledActions/scheduledAction-insightAlert-createOrUpdate-shared.json @@ -130,9 +128,8 @@ public async Task CreateOrUpdate_CreateOrUpdateInsightAlertScheduledActionByScop Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdateScheduledActionByScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateScheduledActionByScope() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/scheduledActions/scheduledAction-createOrUpdate-shared.json @@ -191,9 +188,8 @@ public async Task CreateOrUpdate_CreateOrUpdateScheduledActionByScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScheduledActionByScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ScheduledActionByScope() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/scheduledActions/scheduledAction-get-shared.json @@ -223,9 +219,8 @@ public async Task Get_ScheduledActionByScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScheduledActionByScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ScheduledActionByScope() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/scheduledActions/scheduledAction-get-shared.json @@ -251,9 +246,8 @@ public async Task Exists_ScheduledActionByScope() Console.WriteLine($"Succeeded: {result}"); } - // ScheduledActionByScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ScheduledActionByScope() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/scheduledActions/scheduledAction-get-shared.json @@ -279,7 +273,7 @@ public async Task GetIfExists_ScheduledActionByScope() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_ScheduledActionResource.cs b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_ScheduledActionResource.cs index 49e4e71383ac7..31785422da276 100644 --- a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_ScheduledActionResource.cs +++ b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_ScheduledActionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CostManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CostManagement.Samples { public partial class Sample_ScheduledActionResource { - // CreateOrUpdateInsightAlertScheduledActionByScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateInsightAlertScheduledActionByScope() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/scheduledActions/scheduledAction-insightAlert-createOrUpdate-shared.json @@ -59,9 +59,8 @@ public async Task Update_CreateOrUpdateInsightAlertScheduledActionByScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdateScheduledActionByScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateScheduledActionByScope() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/scheduledActions/scheduledAction-createOrUpdate-shared.json @@ -118,9 +117,8 @@ public async Task Update_CreateOrUpdateScheduledActionByScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScheduledActionByScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ScheduledActionByScope() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/scheduledActions/scheduledAction-get-shared.json @@ -148,9 +146,8 @@ public async Task Get_ScheduledActionByScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ScheduledActionDeleteByScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ScheduledActionDeleteByScope() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/scheduledActions/scheduledAction-delete-shared.json @@ -171,12 +168,11 @@ public async Task Delete_ScheduledActionDeleteByScope() // invoke the operation await scheduledAction.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ScheduledActionRunByScope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RunByScope_ScheduledActionRunByScope() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/scheduledActions/scheduledAction-sendNow-shared.json @@ -197,7 +193,7 @@ public async Task RunByScope_ScheduledActionRunByScope() // invoke the operation await scheduledAction.RunByScopeAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_TenantResourceExtensions.cs b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_TenantResourceExtensions.cs index 732bb0ac73372..db97cab60fb45 100644 --- a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_TenantResourceExtensions.cs +++ b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_TenantResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CostManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CostManagement.Samples { public partial class Sample_TenantResourceExtensions { - // SavingsPlanUtilizationSummaries-BillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBenefitUtilizationSummariesByBillingAccountId_SavingsPlanUtilizationSummariesBillingAccount() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/BenefitUtilizationSummaries/SavingsPlan-BillingAccount.json @@ -41,12 +41,11 @@ public async Task GetBenefitUtilizationSummariesByBillingAccountId_SavingsPlanUt Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SavingsPlanUtilizationSummaries-BillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBenefitUtilizationSummariesByBillingProfileId_SavingsPlanUtilizationSummariesBillingProfile() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/BenefitUtilizationSummaries/SavingsPlan-BillingProfile.json @@ -70,12 +69,11 @@ public async Task GetBenefitUtilizationSummariesByBillingProfileId_SavingsPlanUt Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SavingsPlanUtilizationSummariesDaily - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBenefitUtilizationSummariesBySavingsPlanOrder_SavingsPlanUtilizationSummariesDaily() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/BenefitUtilizationSummaries/SavingsPlan-SavingsPlanOrderId-Daily.json @@ -97,12 +95,11 @@ public async Task GetBenefitUtilizationSummariesBySavingsPlanOrder_SavingsPlanUt Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SavingsPlanUtilizationSummariesMonthlyWithSavingsPlanId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBenefitUtilizationSummariesBySavingsPlanId_SavingsPlanUtilizationSummariesMonthlyWithSavingsPlanId() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/BenefitUtilizationSummaries/SavingsPlan-SavingsPlanId-Monthly.json @@ -125,12 +122,11 @@ public async Task GetBenefitUtilizationSummariesBySavingsPlanId_SavingsPlanUtili Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GenerateUtilizationSummariesReportByBillingAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateBenefitUtilizationSummariesReportBillingAccountScope_GenerateUtilizationSummariesReportByBillingAccount() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/BenefitUtilizationSummaries/Async/GenerateBenefitUtilizationSummariesReportByBillingAccount.json @@ -157,9 +153,8 @@ public async Task GenerateBenefitUtilizationSummariesReportBillingAccountScope_G Console.WriteLine($"Succeeded: {result}"); } - // GenerateUtilizationSummariesReportByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateBenefitUtilizationSummariesReportBillingProfileScope_GenerateUtilizationSummariesReportByBillingProfile() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/BenefitUtilizationSummaries/Async/GenerateBenefitUtilizationSummariesReportByBillingProfile.json @@ -187,9 +182,8 @@ public async Task GenerateBenefitUtilizationSummariesReportBillingProfileScope_G Console.WriteLine($"Succeeded: {result}"); } - // GenerateUtilizationSummariesReportByReservationOrder - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateBenefitUtilizationSummariesReportReservationOrderScope_GenerateUtilizationSummariesReportByReservationOrder() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/BenefitUtilizationSummaries/Async/GenerateBenefitUtilizationSummariesReportByReservationOrder.json @@ -213,9 +207,8 @@ public async Task GenerateBenefitUtilizationSummariesReportReservationOrderScope Console.WriteLine($"Succeeded: {result}"); } - // GenerateUtilizationSummariesReportByReservation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateBenefitUtilizationSummariesReportReservationScope_GenerateUtilizationSummariesReportByReservation() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/BenefitUtilizationSummaries/Async/GenerateBenefitUtilizationSummariesReportByReservation.json @@ -240,9 +233,8 @@ public async Task GenerateBenefitUtilizationSummariesReportReservationScope_Gene Console.WriteLine($"Succeeded: {result}"); } - // GenerateUtilizationSummariesReportBySavingsPlanOrder - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateBenefitUtilizationSummariesReportSavingsPlanOrderScope_GenerateUtilizationSummariesReportBySavingsPlanOrder() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/BenefitUtilizationSummaries/Async/GenerateBenefitUtilizationSummariesReportBySavingsPlanOrder.json @@ -266,9 +258,8 @@ public async Task GenerateBenefitUtilizationSummariesReportSavingsPlanOrderScope Console.WriteLine($"Succeeded: {result}"); } - // GenerateUtilizationSummariesReportBySavingsPlan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateBenefitUtilizationSummariesReportAsyncSavingsPlanScope_GenerateUtilizationSummariesReportBySavingsPlan() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/BenefitUtilizationSummaries/Async/GenerateBenefitUtilizationSummariesReportBySavingsPlan.json @@ -293,9 +284,8 @@ public async Task GenerateBenefitUtilizationSummariesReportAsyncSavingsPlanScope Console.WriteLine($"Succeeded: {result}"); } - // ExternalBillingAccountForecast - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExternalCloudProviderUsageForecast_ExternalBillingAccountForecast() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExternalBillingAccountForecast.json @@ -359,9 +349,8 @@ public async Task ExternalCloudProviderUsageForecast_ExternalBillingAccountForec Console.WriteLine($"Succeeded: {result}"); } - // ExternalSubscriptionForecast - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExternalCloudProviderUsageForecast_ExternalSubscriptionForecast() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExternalSubscriptionForecast.json @@ -425,9 +414,8 @@ public async Task ExternalCloudProviderUsageForecast_ExternalSubscriptionForecas Console.WriteLine($"Succeeded: {result}"); } - // ExternalBillingAccountDimensionList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ByExternalCloudProviderTypeDimensions_ExternalBillingAccountDimensionList() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExternalBillingAccountsDimensions.json @@ -449,12 +437,11 @@ public async Task ByExternalCloudProviderTypeDimensions_ExternalBillingAccountDi Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExternalSubscriptionDimensionList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ByExternalCloudProviderTypeDimensions_ExternalSubscriptionDimensionList() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExternalSubscriptionsDimensions.json @@ -476,12 +463,11 @@ public async Task ByExternalCloudProviderTypeDimensions_ExternalSubscriptionDime Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ExternalBillingAccountQueryList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UsageByExternalCloudProviderTypeQuery_ExternalBillingAccountQueryList() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExternalBillingAccountsQuery.json @@ -539,9 +525,8 @@ public async Task UsageByExternalCloudProviderTypeQuery_ExternalBillingAccountQu Console.WriteLine($"Succeeded: {result}"); } - // ExternalSubscriptionsQuery - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UsageByExternalCloudProviderTypeQuery_ExternalSubscriptionsQuery() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/ExternalSubscriptionsQuery.json @@ -599,9 +584,8 @@ public async Task UsageByExternalCloudProviderTypeQuery_ExternalSubscriptionsQue Console.WriteLine($"Succeeded: {result}"); } - // ReservationDetails - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ByBillingAccountIdGenerateReservationDetailsReport_ReservationDetails() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/GenerateReservationDetailsReportByBillingAccount.json @@ -626,9 +610,8 @@ public async Task ByBillingAccountIdGenerateReservationDetailsReport_Reservation Console.WriteLine($"Succeeded: {result}"); } - // ReservationDetails - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ByBillingProfileIdGenerateReservationDetailsReport_ReservationDetails() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/GenerateReservationDetailsReportByBillingProfile.json @@ -654,9 +637,8 @@ public async Task ByBillingProfileIdGenerateReservationDetailsReport_Reservation Console.WriteLine($"Succeeded: {result}"); } - // PricesheetDownload - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DownloadPriceSheet_PricesheetDownload() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/PricesheetDownload.json @@ -681,9 +663,8 @@ public async Task DownloadPriceSheet_PricesheetDownload() Console.WriteLine($"Succeeded: {result}"); } - // PricesheetDownloadByBillingProfile - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DownloadByBillingProfilePriceSheet_PricesheetDownloadByBillingProfile() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/PricesheetDownloadByBillingProfile.json @@ -707,9 +688,8 @@ public async Task DownloadByBillingProfilePriceSheet_PricesheetDownloadByBilling Console.WriteLine($"Succeeded: {result}"); } - // ScheduledActionCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckCostManagementNameAvailabilityByScheduledAction_ScheduledActionCheckNameAvailability() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/scheduledActions/checkNameAvailability-private-scheduledAction.json diff --git a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_TenantScheduledActionCollection.cs b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_TenantScheduledActionCollection.cs index 28e43070f71de..94d954cf055b0 100644 --- a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_TenantScheduledActionCollection.cs +++ b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_TenantScheduledActionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CostManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CostManagement.Samples { public partial class Sample_TenantScheduledActionCollection { - // CreateOrUpdatePrivateScheduledAction - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdatePrivateScheduledAction() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/scheduledActions/scheduledAction-createOrUpdate-private.json @@ -71,9 +71,8 @@ public async Task CreateOrUpdate_CreateOrUpdatePrivateScheduledAction() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateScheduledAction - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateScheduledAction() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/scheduledActions/scheduledAction-get-private.json @@ -102,9 +101,8 @@ public async Task Get_PrivateScheduledAction() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateScheduledAction - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateScheduledAction() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/scheduledActions/scheduledAction-get-private.json @@ -129,9 +127,8 @@ public async Task Exists_PrivateScheduledAction() Console.WriteLine($"Succeeded: {result}"); } - // PrivateScheduledAction - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateScheduledAction() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/scheduledActions/scheduledAction-get-private.json @@ -156,7 +153,7 @@ public async Task GetIfExists_PrivateScheduledAction() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_TenantScheduledActionResource.cs b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_TenantScheduledActionResource.cs index 760240d65765a..8a3b2af8b6418 100644 --- a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_TenantScheduledActionResource.cs +++ b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_TenantScheduledActionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CostManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CostManagement.Samples { public partial class Sample_TenantScheduledActionResource { - // CreateOrUpdatePrivateScheduledAction - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdatePrivateScheduledAction() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/scheduledActions/scheduledAction-createOrUpdate-private.json @@ -69,9 +69,8 @@ public async Task Update_CreateOrUpdatePrivateScheduledAction() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateScheduledAction - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateScheduledAction() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/scheduledActions/scheduledAction-get-private.json @@ -98,9 +97,8 @@ public async Task Get_PrivateScheduledAction() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateScheduledActionDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateScheduledActionDelete() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/scheduledActions/scheduledAction-delete-private.json @@ -120,12 +118,11 @@ public async Task Delete_PrivateScheduledActionDelete() // invoke the operation await tenantScheduledAction.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ScheduledActionSendNow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Run_ScheduledActionSendNow() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/scheduledActions/scheduledAction-sendNow-private.json @@ -145,7 +142,7 @@ public async Task Run_ScheduledActionSendNow() // invoke the operation await tenantScheduledAction.RunAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_TenantsCostManagementViewsCollection.cs b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_TenantsCostManagementViewsCollection.cs index c27f5c32a5db9..39b6e8d4cc3b0 100644 --- a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_TenantsCostManagementViewsCollection.cs +++ b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_TenantsCostManagementViewsCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CostManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CostManagement.Samples { public partial class Sample_TenantsCostManagementViewsCollection { - // PrivateView - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateView() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/PrivateView.json @@ -46,9 +46,8 @@ public async Task Get_PrivateView() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateView - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateView() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/PrivateView.json @@ -73,9 +72,8 @@ public async Task Exists_PrivateView() Console.WriteLine($"Succeeded: {result}"); } - // PrivateView - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateView() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/PrivateView.json @@ -100,7 +98,7 @@ public async Task GetIfExists_PrivateView() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -112,9 +110,8 @@ public async Task GetIfExists_PrivateView() } } - // CreateOrUpdatePrivateView - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdatePrivateView() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/PrivateViewCreateOrUpdate.json diff --git a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_TenantsCostManagementViewsResource.cs b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_TenantsCostManagementViewsResource.cs index 17b9f1da667b5..51cf5bb4269e9 100644 --- a/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_TenantsCostManagementViewsResource.cs +++ b/sdk/costmanagement/Azure.ResourceManager.CostManagement/samples/Generated/Samples/Sample_TenantsCostManagementViewsResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CostManagement.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CostManagement.Samples { public partial class Sample_TenantsCostManagementViewsResource { - // PrivateView - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateView() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/PrivateView.json @@ -44,9 +44,8 @@ public async Task Get_PrivateView() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdatePrivateView - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdatePrivateView() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/PrivateViewCreateOrUpdate.json @@ -132,9 +131,8 @@ public async Task Update_CreateOrUpdatePrivateView() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeletePrivateView - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletePrivateView() { // Generated from example definition: specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-03-01/examples/PrivateViewDelete.json @@ -154,7 +152,7 @@ public async Task Delete_DeletePrivateView() // invoke the operation await tenantsCostManagementViews.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_AuthorizationPolicyResourceFormatCollection.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_AuthorizationPolicyResourceFormatCollection.cs index 89faa0dac411e..85d0a733a2d5b 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_AuthorizationPolicyResourceFormatCollection.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_AuthorizationPolicyResourceFormatCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CustomerInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_AuthorizationPolicyResourceFormatCollection { - // AuthorizationPolicies_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AuthorizationPoliciesCreateOrUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesCreateOrUpdate.json @@ -58,9 +58,8 @@ public async Task CreateOrUpdate_AuthorizationPoliciesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AuthorizationPolicies_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AuthorizationPoliciesGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesGet.json @@ -93,9 +92,8 @@ public async Task Get_AuthorizationPoliciesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AuthorizationPolicies_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AuthorizationPoliciesGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesGet.json @@ -124,9 +122,8 @@ public async Task Exists_AuthorizationPoliciesGet() Console.WriteLine($"Succeeded: {result}"); } - // AuthorizationPolicies_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AuthorizationPoliciesGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesGet.json @@ -155,7 +152,7 @@ public async Task GetIfExists_AuthorizationPoliciesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -167,9 +164,8 @@ public async Task GetIfExists_AuthorizationPoliciesGet() } } - // AuthorizationPolicies_ListByHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AuthorizationPoliciesListByHub() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesListByHub.json @@ -201,7 +197,7 @@ public async Task GetAll_AuthorizationPoliciesListByHub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_AuthorizationPolicyResourceFormatResource.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_AuthorizationPolicyResourceFormatResource.cs index 9a212d1e917b1..d9293e5fe4a28 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_AuthorizationPolicyResourceFormatResource.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_AuthorizationPolicyResourceFormatResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CustomerInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_AuthorizationPolicyResourceFormatResource { - // AuthorizationPolicies_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AuthorizationPoliciesCreateOrUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesCreateOrUpdate.json @@ -55,9 +55,8 @@ public async Task Update_AuthorizationPoliciesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AuthorizationPolicies_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AuthorizationPoliciesGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesGet.json @@ -87,9 +86,8 @@ public async Task Get_AuthorizationPoliciesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AuthorizationPolicies_RegeneratePrimaryKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegeneratePrimaryKey_AuthorizationPoliciesRegeneratePrimaryKey() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegeneratePrimaryKey.json @@ -115,9 +113,8 @@ public async Task RegeneratePrimaryKey_AuthorizationPoliciesRegeneratePrimaryKey Console.WriteLine($"Succeeded: {result}"); } - // AuthorizationPolicies_RegenerateSecondaryKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateSecondaryKey_AuthorizationPoliciesRegenerateSecondaryKey() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegenerateSecondaryKey.json diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ConnectorMappingResourceFormatCollection.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ConnectorMappingResourceFormatCollection.cs index 5470b516b29b0..aa22295fedecf 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ConnectorMappingResourceFormatCollection.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ConnectorMappingResourceFormatCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CustomerInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_ConnectorMappingResourceFormatCollection { - // ConnectorMappings_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ConnectorMappingsCreateOrUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsCreateOrUpdate.json @@ -87,9 +87,8 @@ public async Task CreateOrUpdate_ConnectorMappingsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConnectorMappings_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConnectorMappingsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsGet.json @@ -123,9 +122,8 @@ public async Task Get_ConnectorMappingsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConnectorMappings_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ConnectorMappingsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsGet.json @@ -155,9 +153,8 @@ public async Task Exists_ConnectorMappingsGet() Console.WriteLine($"Succeeded: {result}"); } - // ConnectorMappings_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ConnectorMappingsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsGet.json @@ -187,7 +184,7 @@ public async Task GetIfExists_ConnectorMappingsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -199,9 +196,8 @@ public async Task GetIfExists_ConnectorMappingsGet() } } - // ConnectorMappings_ListByConnector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ConnectorMappingsListByConnector() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsListByConnector.json @@ -234,7 +230,7 @@ public async Task GetAll_ConnectorMappingsListByConnector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ConnectorMappingResourceFormatResource.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ConnectorMappingResourceFormatResource.cs index a08b84f7d32c5..9788f47fbd6b6 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ConnectorMappingResourceFormatResource.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ConnectorMappingResourceFormatResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CustomerInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_ConnectorMappingResourceFormatResource { - // ConnectorMappings_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ConnectorMappingsCreateOrUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsCreateOrUpdate.json @@ -84,9 +84,8 @@ public async Task Update_ConnectorMappingsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConnectorMappings_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConnectorMappingsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsGet.json @@ -117,9 +116,8 @@ public async Task Get_ConnectorMappingsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConnectorMappings_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ConnectorMappingsDelete() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsDelete.json @@ -143,7 +141,7 @@ public async Task Delete_ConnectorMappingsDelete() // invoke the operation await connectorMappingResourceFormat.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ConnectorResourceFormatCollection.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ConnectorResourceFormatCollection.cs index 3dc021b08f725..cde30b9f8bb60 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ConnectorResourceFormatCollection.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ConnectorResourceFormatCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CustomerInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_ConnectorResourceFormatCollection { - // Connectors_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ConnectorsCreateOrUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsCreateOrUpdate.json @@ -65,9 +65,8 @@ public async Task CreateOrUpdate_ConnectorsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Connectors_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConnectorsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsGet.json @@ -100,9 +99,8 @@ public async Task Get_ConnectorsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Connectors_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ConnectorsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsGet.json @@ -131,9 +129,8 @@ public async Task Exists_ConnectorsGet() Console.WriteLine($"Succeeded: {result}"); } - // Connectors_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ConnectorsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsGet.json @@ -162,7 +159,7 @@ public async Task GetIfExists_ConnectorsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -174,9 +171,8 @@ public async Task GetIfExists_ConnectorsGet() } } - // Connectors_ListByHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ConnectorsListByHub() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsListByHub.json @@ -208,7 +204,7 @@ public async Task GetAll_ConnectorsListByHub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ConnectorResourceFormatResource.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ConnectorResourceFormatResource.cs index 03d0ec75a8445..008f4b366aa96 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ConnectorResourceFormatResource.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ConnectorResourceFormatResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CustomerInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_ConnectorResourceFormatResource { - // Connectors_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ConnectorsCreateOrUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsCreateOrUpdate.json @@ -62,9 +62,8 @@ public async Task Update_ConnectorsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Connectors_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConnectorsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsGet.json @@ -94,9 +93,8 @@ public async Task Get_ConnectorsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Connectors_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ConnectorsDelete() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsDelete.json @@ -119,7 +117,7 @@ public async Task Delete_ConnectorsDelete() // invoke the operation await connectorResourceFormat.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_HubCollection.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_HubCollection.cs index 22cd747bdd90e..c0ac35a945f91 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_HubCollection.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_HubCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.CustomerInsights.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_HubCollection { - // Hubs_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_HubsCreateOrUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsCreateOrUpdate.json @@ -60,9 +60,8 @@ public async Task CreateOrUpdate_HubsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Hubs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_HubsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsGet.json @@ -94,9 +93,8 @@ public async Task Get_HubsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Hubs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_HubsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsGet.json @@ -124,9 +122,8 @@ public async Task Exists_HubsGet() Console.WriteLine($"Succeeded: {result}"); } - // Hubs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_HubsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsGet.json @@ -154,7 +151,7 @@ public async Task GetIfExists_HubsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -166,9 +163,8 @@ public async Task GetIfExists_HubsGet() } } - // Hubs_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_HubsListByResourceGroup() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsListByResourceGroup.json @@ -199,7 +195,7 @@ public async Task GetAll_HubsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_HubResource.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_HubResource.cs index 1391aef5e3471..d916e94863071 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_HubResource.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_HubResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.CustomerInsights.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_HubResource { - // Hubs_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_HubsUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsUpdate.json @@ -56,9 +56,8 @@ public async Task Update_HubsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Hubs_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_HubsDelete() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsDelete.json @@ -80,12 +79,11 @@ public async Task Delete_HubsDelete() // invoke the operation await hub.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Hubs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_HubsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsGet.json @@ -114,9 +112,8 @@ public async Task Get_HubsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Hubs_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetHubs_HubsList() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsList.json @@ -143,12 +140,11 @@ public async Task GetHubs_HubsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Roles_ListByHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRoles_RolesListByHub() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RolesListByHub.json @@ -173,12 +169,11 @@ public async Task GetRoles_RolesListByHub() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Images_GetUploadUrlForEntityType - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUploadUrlForEntityTypeImage_ImagesGetUploadUrlForEntityType() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForEntityType.json @@ -209,9 +204,8 @@ public async Task GetUploadUrlForEntityTypeImage_ImagesGetUploadUrlForEntityType Console.WriteLine($"Succeeded: {result}"); } - // Images_GetUploadUrlForData - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUploadUrlForDataImage_ImagesGetUploadUrlForData() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForData.json diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_InteractionResourceFormatCollection.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_InteractionResourceFormatCollection.cs index 5412f107f6da9..a939f66d0e55c 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_InteractionResourceFormatCollection.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_InteractionResourceFormatCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CustomerInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_InteractionResourceFormatCollection { - // Interactions_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_InteractionsCreateOrUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsCreateOrUpdate.json @@ -71,9 +71,8 @@ public async Task CreateOrUpdate_InteractionsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Interactions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_InteractionsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsGet.json @@ -106,9 +105,8 @@ public async Task Get_InteractionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Interactions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_InteractionsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsGet.json @@ -137,9 +135,8 @@ public async Task Exists_InteractionsGet() Console.WriteLine($"Succeeded: {result}"); } - // Interactions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_InteractionsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsGet.json @@ -168,7 +165,7 @@ public async Task GetIfExists_InteractionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -180,9 +177,8 @@ public async Task GetIfExists_InteractionsGet() } } - // Interactions_ListByHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_InteractionsListByHub() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsListByHub.json @@ -214,7 +210,7 @@ public async Task GetAll_InteractionsListByHub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_InteractionResourceFormatResource.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_InteractionResourceFormatResource.cs index a531e244fdd09..25443d8875c41 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_InteractionResourceFormatResource.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_InteractionResourceFormatResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CustomerInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_InteractionResourceFormatResource { - // Interactions_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_InteractionsCreateOrUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsCreateOrUpdate.json @@ -68,9 +68,8 @@ public async Task Update_InteractionsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Interactions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_InteractionsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsGet.json @@ -100,9 +99,8 @@ public async Task Get_InteractionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Interactions_SuggestRelationshipLinks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SuggestRelationshipLinks_InteractionsSuggestRelationshipLinks() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsSuggestRelationshipLinks.json diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_KpiResourceFormatCollection.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_KpiResourceFormatCollection.cs index 7dbe330f8882b..d617652b374bf 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_KpiResourceFormatCollection.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_KpiResourceFormatCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CustomerInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_KpiResourceFormatCollection { - // Kpi_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_KpiCreateOrUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiCreateOrUpdate.json @@ -77,9 +77,8 @@ public async Task CreateOrUpdate_KpiCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Kpi_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KpiGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiGet.json @@ -112,9 +111,8 @@ public async Task Get_KpiGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Kpi_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_KpiGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiGet.json @@ -143,9 +141,8 @@ public async Task Exists_KpiGet() Console.WriteLine($"Succeeded: {result}"); } - // Kpi_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_KpiGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiGet.json @@ -174,7 +171,7 @@ public async Task GetIfExists_KpiGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -186,9 +183,8 @@ public async Task GetIfExists_KpiGet() } } - // Kpi_ListByHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_KpiListByHub() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiListByHub.json @@ -220,7 +216,7 @@ public async Task GetAll_KpiListByHub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_KpiResourceFormatResource.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_KpiResourceFormatResource.cs index b97e4b655e618..557a6589a9875 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_KpiResourceFormatResource.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_KpiResourceFormatResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CustomerInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_KpiResourceFormatResource { - // Kpi_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_KpiCreateOrUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiCreateOrUpdate.json @@ -74,9 +74,8 @@ public async Task Update_KpiCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Kpi_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KpiGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiGet.json @@ -106,9 +105,8 @@ public async Task Get_KpiGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Kpi_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_KpiDelete() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiDelete.json @@ -131,12 +129,11 @@ public async Task Delete_KpiDelete() // invoke the operation await kpiResourceFormat.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Kpi_Reprocess - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reprocess_KpiReprocess() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiReprocess.json @@ -159,7 +156,7 @@ public async Task Reprocess_KpiReprocess() // invoke the operation await kpiResourceFormat.ReprocessAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_LinkResourceFormatCollection.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_LinkResourceFormatCollection.cs index c2456ff1d92be..dc10c3f553e62 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_LinkResourceFormatCollection.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_LinkResourceFormatCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CustomerInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_LinkResourceFormatCollection { - // Links_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_LinksCreateOrUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksCreateOrUpdate.json @@ -77,9 +77,8 @@ public async Task CreateOrUpdate_LinksCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Links_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LinksGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksGet.json @@ -112,9 +111,8 @@ public async Task Get_LinksGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Links_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_LinksGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksGet.json @@ -143,9 +141,8 @@ public async Task Exists_LinksGet() Console.WriteLine($"Succeeded: {result}"); } - // Links_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_LinksGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksGet.json @@ -174,7 +171,7 @@ public async Task GetIfExists_LinksGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -186,9 +183,8 @@ public async Task GetIfExists_LinksGet() } } - // Links_ListByHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_LinksListByHub() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksListByHub.json @@ -220,7 +216,7 @@ public async Task GetAll_LinksListByHub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_LinkResourceFormatResource.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_LinkResourceFormatResource.cs index c31b9404a4cb5..d753345addd03 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_LinkResourceFormatResource.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_LinkResourceFormatResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CustomerInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_LinkResourceFormatResource { - // Links_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_LinksCreateOrUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksCreateOrUpdate.json @@ -74,9 +74,8 @@ public async Task Update_LinksCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Links_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LinksGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksGet.json @@ -106,9 +105,8 @@ public async Task Get_LinksGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Links_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_LinksDelete() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksDelete.json @@ -131,7 +129,7 @@ public async Task Delete_LinksDelete() // invoke the operation await linkResourceFormat.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_PredictionResourceFormatCollection.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_PredictionResourceFormatCollection.cs index 2944b72fd9bf5..9aedb101cee0f 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_PredictionResourceFormatCollection.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_PredictionResourceFormatCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CustomerInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_PredictionResourceFormatCollection { - // Predictions_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PredictionsCreateOrUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsCreateOrUpdate.json @@ -82,9 +82,8 @@ public async Task CreateOrUpdate_PredictionsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Predictions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PredictionsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGet.json @@ -117,9 +116,8 @@ public async Task Get_PredictionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Predictions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PredictionsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGet.json @@ -148,9 +146,8 @@ public async Task Exists_PredictionsGet() Console.WriteLine($"Succeeded: {result}"); } - // Predictions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PredictionsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGet.json @@ -179,7 +176,7 @@ public async Task GetIfExists_PredictionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -191,9 +188,8 @@ public async Task GetIfExists_PredictionsGet() } } - // Predictions_ListByHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PredictionsListByHub() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsListByHub.json @@ -225,7 +221,7 @@ public async Task GetAll_PredictionsListByHub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_PredictionResourceFormatResource.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_PredictionResourceFormatResource.cs index 50d7c9cef5332..6aa80397a46b3 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_PredictionResourceFormatResource.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_PredictionResourceFormatResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CustomerInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_PredictionResourceFormatResource { - // Predictions_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PredictionsCreateOrUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsCreateOrUpdate.json @@ -79,9 +79,8 @@ public async Task Update_PredictionsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Predictions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PredictionsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGet.json @@ -111,9 +110,8 @@ public async Task Get_PredictionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Predictions_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PredictionsDelete() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsDelete.json @@ -136,12 +134,11 @@ public async Task Delete_PredictionsDelete() // invoke the operation await predictionResourceFormat.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Predictions_GetTrainingResults - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTrainingResults_PredictionsGetTrainingResults() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetTrainingResults.json @@ -167,9 +164,8 @@ public async Task GetTrainingResults_PredictionsGetTrainingResults() Console.WriteLine($"Succeeded: {result}"); } - // Predictions_GetModelStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetModelStatus_PredictionsGetModelStatus() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetModelStatus.json @@ -195,9 +191,8 @@ public async Task GetModelStatus_PredictionsGetModelStatus() Console.WriteLine($"Succeeded: {result}"); } - // Predictions_ModelStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ModelStatus_PredictionsModelStatus() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsModelStatus.json @@ -221,7 +216,7 @@ public async Task ModelStatus_PredictionsModelStatus() PredictionModelStatus predictionModelStatus = new PredictionModelStatus(PredictionModelLifeCycle.Training); await predictionResourceFormat.ModelStatusAsync(predictionModelStatus); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ProfileResourceFormatCollection.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ProfileResourceFormatCollection.cs index 43cd978c46b2a..129e16aa27e92 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ProfileResourceFormatCollection.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ProfileResourceFormatCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CustomerInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_ProfileResourceFormatCollection { - // Profiles_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ProfilesCreateOrUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesCreateOrUpdate.json @@ -93,9 +93,8 @@ public async Task CreateOrUpdate_ProfilesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Profiles_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProfilesGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesGet.json @@ -128,9 +127,8 @@ public async Task Get_ProfilesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Profiles_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ProfilesGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesGet.json @@ -159,9 +157,8 @@ public async Task Exists_ProfilesGet() Console.WriteLine($"Succeeded: {result}"); } - // Profiles_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ProfilesGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesGet.json @@ -190,7 +187,7 @@ public async Task GetIfExists_ProfilesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -202,9 +199,8 @@ public async Task GetIfExists_ProfilesGet() } } - // Profiles_ListByHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ProfilesListByHub() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesListByHub.json @@ -236,7 +232,7 @@ public async Task GetAll_ProfilesListByHub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ProfileResourceFormatResource.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ProfileResourceFormatResource.cs index ff1fcc53ae3eb..df3c66c4138bd 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ProfileResourceFormatResource.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ProfileResourceFormatResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CustomerInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_ProfileResourceFormatResource { - // Profiles_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ProfilesCreateOrUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesCreateOrUpdate.json @@ -90,9 +90,8 @@ public async Task Update_ProfilesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Profiles_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProfilesGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesGet.json @@ -122,9 +121,8 @@ public async Task Get_ProfilesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Profiles_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ProfilesDelete() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesDelete.json @@ -147,12 +145,11 @@ public async Task Delete_ProfilesDelete() // invoke the operation await profileResourceFormat.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Profiles_GetEnrichingKpis - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEnrichingKpis_ProfilesGetEnrichingKpis() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfileGetEnrichingKpis.json @@ -178,7 +175,7 @@ public async Task GetEnrichingKpis_ProfilesGetEnrichingKpis() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_RelationshipLinkResourceFormatCollection.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_RelationshipLinkResourceFormatCollection.cs index 5459d7c299887..ef0e490786755 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_RelationshipLinkResourceFormatCollection.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_RelationshipLinkResourceFormatCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CustomerInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_RelationshipLinkResourceFormatCollection { - // RelationshipLinks_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RelationshipLinksCreateOrUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksCreateOrUpdate.json @@ -72,9 +72,8 @@ public async Task CreateOrUpdate_RelationshipLinksCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RelationshipLinks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RelationshipLinksGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksGet.json @@ -107,9 +106,8 @@ public async Task Get_RelationshipLinksGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RelationshipLinks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RelationshipLinksGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksGet.json @@ -138,9 +136,8 @@ public async Task Exists_RelationshipLinksGet() Console.WriteLine($"Succeeded: {result}"); } - // RelationshipLinks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RelationshipLinksGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksGet.json @@ -169,7 +166,7 @@ public async Task GetIfExists_RelationshipLinksGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -181,9 +178,8 @@ public async Task GetIfExists_RelationshipLinksGet() } } - // RelationshipLinks_ListByHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RelationshipLinksListByHub() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksListByHub.json @@ -215,7 +211,7 @@ public async Task GetAll_RelationshipLinksListByHub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_RelationshipLinkResourceFormatResource.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_RelationshipLinkResourceFormatResource.cs index 792ff3be45c04..893f6653e5b19 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_RelationshipLinkResourceFormatResource.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_RelationshipLinkResourceFormatResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CustomerInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_RelationshipLinkResourceFormatResource { - // RelationshipLinks_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RelationshipLinksCreateOrUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksCreateOrUpdate.json @@ -69,9 +69,8 @@ public async Task Update_RelationshipLinksCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RelationshipLinks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RelationshipLinksGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksGet.json @@ -101,9 +100,8 @@ public async Task Get_RelationshipLinksGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RelationshipLinks_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RelationshipLinksDelete() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksDelete.json @@ -126,7 +124,7 @@ public async Task Delete_RelationshipLinksDelete() // invoke the operation await relationshipLinkResourceFormat.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_RelationshipResourceFormatCollection.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_RelationshipResourceFormatCollection.cs index a5979e8b6ebde..eafb039f855c6 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_RelationshipResourceFormatCollection.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_RelationshipResourceFormatCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CustomerInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_RelationshipResourceFormatCollection { - // Relationships_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RelationshipsCreateOrUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsCreateOrUpdate.json @@ -68,9 +68,8 @@ public async Task CreateOrUpdate_RelationshipsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Relationships_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RelationshipsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsGet.json @@ -103,9 +102,8 @@ public async Task Get_RelationshipsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Relationships_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RelationshipsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsGet.json @@ -134,9 +132,8 @@ public async Task Exists_RelationshipsGet() Console.WriteLine($"Succeeded: {result}"); } - // Relationships_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RelationshipsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsGet.json @@ -165,7 +162,7 @@ public async Task GetIfExists_RelationshipsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -177,9 +174,8 @@ public async Task GetIfExists_RelationshipsGet() } } - // Relationships_ListByHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RelationshipsListByHub() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsListByHub.json @@ -211,7 +207,7 @@ public async Task GetAll_RelationshipsListByHub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_RelationshipResourceFormatResource.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_RelationshipResourceFormatResource.cs index 9d850e4d97ef6..12fb2b03b210e 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_RelationshipResourceFormatResource.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_RelationshipResourceFormatResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CustomerInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_RelationshipResourceFormatResource { - // Relationships_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RelationshipsCreateOrUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsCreateOrUpdate.json @@ -65,9 +65,8 @@ public async Task Update_RelationshipsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Relationships_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RelationshipsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsGet.json @@ -97,9 +96,8 @@ public async Task Get_RelationshipsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Relationships_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RelationshipsDelete() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsDelete.json @@ -122,7 +120,7 @@ public async Task Delete_RelationshipsDelete() // invoke the operation await relationshipResourceFormat.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_RoleAssignmentResourceFormatCollection.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_RoleAssignmentResourceFormatCollection.cs index df83b495f613e..c764f9ed06190 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_RoleAssignmentResourceFormatCollection.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_RoleAssignmentResourceFormatCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CustomerInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_RoleAssignmentResourceFormatCollection { - // RoleAssignments_ListByHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RoleAssignmentsListByHub() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsListByHub.json @@ -49,12 +49,11 @@ public async Task GetAll_RoleAssignmentsListByHub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RoleAssignments_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RoleAssignmentsCreateOrUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsCreateOrUpdate.json @@ -96,9 +95,8 @@ public async Task CreateOrUpdate_RoleAssignmentsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RoleAssignments_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RoleAssignmentsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsGet.json @@ -131,9 +129,8 @@ public async Task Get_RoleAssignmentsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RoleAssignments_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RoleAssignmentsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsGet.json @@ -162,9 +159,8 @@ public async Task Exists_RoleAssignmentsGet() Console.WriteLine($"Succeeded: {result}"); } - // RoleAssignments_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RoleAssignmentsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsGet.json @@ -193,7 +189,7 @@ public async Task GetIfExists_RoleAssignmentsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_RoleAssignmentResourceFormatResource.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_RoleAssignmentResourceFormatResource.cs index 65be082168240..89b24149e4070 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_RoleAssignmentResourceFormatResource.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_RoleAssignmentResourceFormatResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.CustomerInsights.Models; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_RoleAssignmentResourceFormatResource { - // RoleAssignments_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RoleAssignmentsCreateOrUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsCreateOrUpdate.json @@ -56,9 +56,8 @@ public async Task Update_RoleAssignmentsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RoleAssignments_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RoleAssignmentsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsGet.json @@ -88,9 +87,8 @@ public async Task Get_RoleAssignmentsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RoleAssignments_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RoleAssignmentsDelete() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsDelete.json @@ -113,7 +111,7 @@ public async Task Delete_RoleAssignmentsDelete() // invoke the operation await roleAssignmentResourceFormat.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ViewResourceFormatCollection.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ViewResourceFormatCollection.cs index a0605d040b025..2871afcf33cfa 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ViewResourceFormatCollection.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ViewResourceFormatCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_ViewResourceFormatCollection { - // Views_ListByHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ViewsListByHub() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsListByHub.json @@ -49,12 +49,11 @@ public async Task GetAll_ViewsListByHub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Views_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ViewsCreateOrUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsCreateOrUpdate.json @@ -97,9 +96,8 @@ public async Task CreateOrUpdate_ViewsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Views_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ViewsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsGet.json @@ -133,9 +131,8 @@ public async Task Get_ViewsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Views_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ViewsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsGet.json @@ -165,9 +162,8 @@ public async Task Exists_ViewsGet() Console.WriteLine($"Succeeded: {result}"); } - // Views_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ViewsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsGet.json @@ -197,7 +193,7 @@ public async Task GetIfExists_ViewsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ViewResourceFormatResource.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ViewResourceFormatResource.cs index c71c8dbf3119c..23d6cf01f6b42 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ViewResourceFormatResource.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_ViewResourceFormatResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_ViewResourceFormatResource { - // Views_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ViewsCreateOrUpdate() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsCreateOrUpdate.json @@ -56,9 +56,8 @@ public async Task Update_ViewsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Views_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ViewsGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsGet.json @@ -89,9 +88,8 @@ public async Task Get_ViewsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Views_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ViewsDelete() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsDelete.json @@ -115,7 +113,7 @@ public async Task Delete_ViewsDelete() string userId = "*"; await viewResourceFormat.DeleteAsync(WaitUntil.Completed, userId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_WidgetTypeResourceFormatCollection.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_WidgetTypeResourceFormatCollection.cs index 11e7af97f8c94..ad6632510d777 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_WidgetTypeResourceFormatCollection.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_WidgetTypeResourceFormatCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_WidgetTypeResourceFormatCollection { - // WidgetTypes_ListByHub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WidgetTypesListByHub() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesListByHub.json @@ -48,12 +48,11 @@ public async Task GetAll_WidgetTypesListByHub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // WidgetTypes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WidgetTypesGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesGet.json @@ -86,9 +85,8 @@ public async Task Get_WidgetTypesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // WidgetTypes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WidgetTypesGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesGet.json @@ -117,9 +115,8 @@ public async Task Exists_WidgetTypesGet() Console.WriteLine($"Succeeded: {result}"); } - // WidgetTypes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WidgetTypesGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_WidgetTypesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_WidgetTypeResourceFormatResource.cs b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_WidgetTypeResourceFormatResource.cs index ed9d8e835ad6c..62cd183d5f8ae 100644 --- a/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_WidgetTypeResourceFormatResource.cs +++ b/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/samples/Generated/Samples/Sample_WidgetTypeResourceFormatResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.CustomerInsights.Samples { public partial class Sample_WidgetTypeResourceFormatResource { - // WidgetTypes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WidgetTypesGet() { // Generated from example definition: specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesGet.json diff --git a/sdk/databox/Azure.ResourceManager.DataBox/samples/Generated/Samples/Sample_DataBoxJobCollection.cs b/sdk/databox/Azure.ResourceManager.DataBox/samples/Generated/Samples/Sample_DataBoxJobCollection.cs index 0d2fa85dd781f..f981a1959d068 100644 --- a/sdk/databox/Azure.ResourceManager.DataBox/samples/Generated/Samples/Sample_DataBoxJobCollection.cs +++ b/sdk/databox/Azure.ResourceManager.DataBox/samples/Generated/Samples/Sample_DataBoxJobCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.DataBox.Models; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DataBox.Samples { public partial class Sample_DataBoxJobCollection { - // JobsListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_JobsListByResourceGroup() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsListByResourceGroup.json @@ -50,12 +50,11 @@ public async Task GetAll_JobsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // JobsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_JobsGet() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsGet.json @@ -88,9 +87,8 @@ public async Task Get_JobsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // JobsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_JobsGet() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsGet.json @@ -119,9 +117,8 @@ public async Task Exists_JobsGet() Console.WriteLine($"Succeeded: {result}"); } - // JobsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_JobsGet() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsGet.json @@ -150,7 +147,7 @@ public async Task GetIfExists_JobsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_JobsGet() } } - // JobsGetCmk - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_JobsGetCmk() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsGetCmk.json @@ -197,9 +193,8 @@ public async Task Get_JobsGetCmk() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // JobsGetCmk - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_JobsGetCmk() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsGetCmk.json @@ -228,9 +223,8 @@ public async Task Exists_JobsGetCmk() Console.WriteLine($"Succeeded: {result}"); } - // JobsGetCmk - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_JobsGetCmk() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsGetCmk.json @@ -259,7 +253,7 @@ public async Task GetIfExists_JobsGetCmk() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -271,9 +265,8 @@ public async Task GetIfExists_JobsGetCmk() } } - // JobsGetCopyStuck - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_JobsGetCopyStuck() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsGetCopyStuck.json @@ -306,9 +299,8 @@ public async Task Get_JobsGetCopyStuck() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // JobsGetCopyStuck - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_JobsGetCopyStuck() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsGetCopyStuck.json @@ -337,9 +329,8 @@ public async Task Exists_JobsGetCopyStuck() Console.WriteLine($"Succeeded: {result}"); } - // JobsGetCopyStuck - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_JobsGetCopyStuck() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsGetCopyStuck.json @@ -368,7 +359,7 @@ public async Task GetIfExists_JobsGetCopyStuck() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -380,9 +371,8 @@ public async Task GetIfExists_JobsGetCopyStuck() } } - // JobsGetExport - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_JobsGetExport() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsGetExport.json @@ -415,9 +405,8 @@ public async Task Get_JobsGetExport() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // JobsGetExport - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_JobsGetExport() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsGetExport.json @@ -446,9 +435,8 @@ public async Task Exists_JobsGetExport() Console.WriteLine($"Succeeded: {result}"); } - // JobsGetExport - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_JobsGetExport() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsGetExport.json @@ -477,7 +465,7 @@ public async Task GetIfExists_JobsGetExport() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -489,9 +477,8 @@ public async Task GetIfExists_JobsGetExport() } } - // JobsGetWaitingForAction - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_JobsGetWaitingForAction() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsGetWaitingForAction.json @@ -524,9 +511,8 @@ public async Task Get_JobsGetWaitingForAction() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // JobsGetWaitingForAction - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_JobsGetWaitingForAction() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsGetWaitingForAction.json @@ -555,9 +541,8 @@ public async Task Exists_JobsGetWaitingForAction() Console.WriteLine($"Succeeded: {result}"); } - // JobsGetWaitingForAction - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_JobsGetWaitingForAction() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsGetWaitingForAction.json @@ -586,7 +571,7 @@ public async Task GetIfExists_JobsGetWaitingForAction() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -598,9 +583,8 @@ public async Task GetIfExists_JobsGetWaitingForAction() } } - // JobsCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_JobsCreate() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsCreate.json @@ -657,9 +641,8 @@ public async Task CreateOrUpdate_JobsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // JobsCreateDevicePassword - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_JobsCreateDevicePassword() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsCreateDevicePassword.json @@ -720,9 +703,8 @@ public async Task CreateOrUpdate_JobsCreateDevicePassword() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // JobsCreateDoubleEncryption - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_JobsCreateDoubleEncryption() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsCreateDoubleEncryption.json @@ -786,9 +768,8 @@ public async Task CreateOrUpdate_JobsCreateDoubleEncryption() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // JobsCreateExport - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_JobsCreateExport() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsCreateExport.json @@ -852,9 +833,8 @@ public async Task CreateOrUpdate_JobsCreateExport() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // JobsCreateWithUserAssignedIdentity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_JobsCreateWithUserAssignedIdentity() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsCreateWithUserAssignedIdentity.json diff --git a/sdk/databox/Azure.ResourceManager.DataBox/samples/Generated/Samples/Sample_DataBoxJobResource.cs b/sdk/databox/Azure.ResourceManager.DataBox/samples/Generated/Samples/Sample_DataBoxJobResource.cs index 791ec8496c435..ccb8056df305b 100644 --- a/sdk/databox/Azure.ResourceManager.DataBox/samples/Generated/Samples/Sample_DataBoxJobResource.cs +++ b/sdk/databox/Azure.ResourceManager.DataBox/samples/Generated/Samples/Sample_DataBoxJobResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DataBox.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DataBox.Samples { public partial class Sample_DataBoxJobResource { - // JobsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDataBoxJobs_JobsList() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsList.json @@ -45,12 +45,11 @@ public async Task GetDataBoxJobs_JobsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // MarkDevicesShipped - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MarkDevicesShipped_MarkDevicesShipped() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/MarkDevicesShipped.json @@ -77,12 +76,11 @@ public async Task MarkDevicesShipped_MarkDevicesShipped() }); await dataBoxJob.MarkDevicesShippedAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // JobsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_JobsGet() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsGet.json @@ -112,9 +110,8 @@ public async Task Get_JobsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // JobsGetCmk - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_JobsGetCmk() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsGetCmk.json @@ -144,9 +141,8 @@ public async Task Get_JobsGetCmk() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // JobsGetCopyStuck - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_JobsGetCopyStuck() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsGetCopyStuck.json @@ -176,9 +172,8 @@ public async Task Get_JobsGetCopyStuck() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // JobsGetExport - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_JobsGetExport() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsGetExport.json @@ -208,9 +203,8 @@ public async Task Get_JobsGetExport() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // JobsGetWaitingForAction - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_JobsGetWaitingForAction() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsGetWaitingForAction.json @@ -240,9 +234,8 @@ public async Task Get_JobsGetWaitingForAction() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // JobsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_JobsDelete() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsDelete.json @@ -264,12 +257,11 @@ public async Task Delete_JobsDelete() // invoke the operation await dataBoxJob.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BookShipmentPickupPost - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task BookShipmentPickUp_BookShipmentPickupPost() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/BookShipmentPickupPost.json @@ -295,9 +287,8 @@ public async Task BookShipmentPickUp_BookShipmentPickupPost() Console.WriteLine($"Succeeded: {result}"); } - // JobsCancelPost - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cancel_JobsCancelPost() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsCancelPost.json @@ -320,12 +311,11 @@ public async Task Cancel_JobsCancelPost() DataBoxJobCancellationReason cancellationReason = new DataBoxJobCancellationReason("CancelTest"); await dataBoxJob.CancelAsync(cancellationReason); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // JobsListCredentials - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCredentials_JobsListCredentials() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/JobsListCredentials.json @@ -350,7 +340,7 @@ public async Task GetCredentials_JobsListCredentials() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/databox/Azure.ResourceManager.DataBox/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs b/sdk/databox/Azure.ResourceManager.DataBox/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs index 2e99e61dd64ee..325acdbafd97c 100644 --- a/sdk/databox/Azure.ResourceManager.DataBox/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs +++ b/sdk/databox/Azure.ResourceManager.DataBox/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DataBox.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DataBox.Samples { public partial class Sample_ResourceGroupResourceExtensions { - // AvailableSkusPost - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableSkus_AvailableSkusPost() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/AvailableSkusPost.json @@ -44,12 +44,11 @@ public async Task GetAvailableSkus_AvailableSkusPost() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ValidateInputsByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateInputs_ValidateInputsByResourceGroup() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/ValidateInputsByResourceGroup.json @@ -100,9 +99,8 @@ public async Task ValidateInputs_ValidateInputsByResourceGroup() Console.WriteLine($"Succeeded: {result}"); } - // RegionConfigurationByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRegionConfiguration_RegionConfigurationByResourceGroup() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/RegionConfigurationByResourceGroup.json diff --git a/sdk/databox/Azure.ResourceManager.DataBox/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/databox/Azure.ResourceManager.DataBox/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 9c55fed9cdd73..f65f49f386724 100644 --- a/sdk/databox/Azure.ResourceManager.DataBox/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/databox/Azure.ResourceManager.DataBox/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DataBox.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DataBox.Samples { public partial class Sample_SubscriptionResourceExtensions { - // ValidateAddressPost - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateAddress_ValidateAddressPost() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/ValidateAddressPost.json @@ -50,9 +50,8 @@ public async Task ValidateAddress_ValidateAddressPost() Console.WriteLine($"Succeeded: {result}"); } - // ValidateInputs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateInputs_ValidateInputs() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/ValidateInputs.json @@ -102,9 +101,8 @@ public async Task ValidateInputs_ValidateInputs() Console.WriteLine($"Succeeded: {result}"); } - // RegionConfiguration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRegionConfiguration_RegionConfiguration() { // Generated from example definition: specification/databox/resource-manager/Microsoft.DataBox/stable/2022-12-01/examples/RegionConfiguration.json diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_BandwidthScheduleCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_BandwidthScheduleCollection.cs index c809942c049e7..7043ea36006ff 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_BandwidthScheduleCollection.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_BandwidthScheduleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_BandwidthScheduleCollection { - // BandwidthScheduleGetAllInDevice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_BandwidthScheduleGetAllInDevice() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/BandwidthScheduleGetAllInDevice.json @@ -49,12 +49,11 @@ public async Task GetAll_BandwidthScheduleGetAllInDevice() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // BandwidthScheduleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BandwidthScheduleGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/BandwidthScheduleGet.json @@ -87,9 +86,8 @@ public async Task Get_BandwidthScheduleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BandwidthScheduleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_BandwidthScheduleGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/BandwidthScheduleGet.json @@ -118,9 +116,8 @@ public async Task Exists_BandwidthScheduleGet() Console.WriteLine($"Succeeded: {result}"); } - // BandwidthScheduleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_BandwidthScheduleGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/BandwidthScheduleGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_BandwidthScheduleGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_BandwidthScheduleGet() } } - // BandwidthSchedulePut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_BandwidthSchedulePut() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/BandwidthSchedulePut.json diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_BandwidthScheduleResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_BandwidthScheduleResource.cs index b10ce2b81914f..0e220766b208d 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_BandwidthScheduleResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_BandwidthScheduleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_BandwidthScheduleResource { - // BandwidthScheduleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_BandwidthScheduleGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/BandwidthScheduleGet.json @@ -47,9 +47,8 @@ public async Task Get_BandwidthScheduleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BandwidthSchedulePut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_BandwidthSchedulePut() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/BandwidthSchedulePut.json @@ -84,9 +83,8 @@ public async Task Update_BandwidthSchedulePut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // BandwidthScheduleDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_BandwidthScheduleDelete() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/BandwidthScheduleDelete.json @@ -109,7 +107,7 @@ public async Task Delete_BandwidthScheduleDelete() // invoke the operation await bandwidthSchedule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeAlertCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeAlertCollection.cs index fca55b42e1fdd..12b4ce31c9964 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeAlertCollection.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeAlertCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_DataBoxEdgeAlertCollection { - // AlertGetAllInDevice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AlertGetAllInDevice() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/AlertGetAllInDevice.json @@ -48,12 +48,11 @@ public async Task GetAll_AlertGetAllInDevice() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AlertGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AlertGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/AlertGet.json @@ -86,9 +85,8 @@ public async Task Get_AlertGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AlertGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AlertGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/AlertGet.json @@ -117,9 +115,8 @@ public async Task Exists_AlertGet() Console.WriteLine($"Succeeded: {result}"); } - // AlertGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AlertGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/AlertGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_AlertGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeAlertResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeAlertResource.cs index b4b9362037a72..b6077691c826e 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeAlertResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeAlertResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_DataBoxEdgeAlertResource { - // AlertGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AlertGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/AlertGet.json diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeDeviceCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeDeviceCollection.cs index 9ab6cfdb4c248..66a6f89b20cf8 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeDeviceCollection.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeDeviceCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_DataBoxEdgeDeviceCollection { - // DataBoxEdgeDeviceGetByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DataBoxEdgeDeviceGetByResourceGroup() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDeviceGetByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_DataBoxEdgeDeviceGetByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DataBoxEdgeDeviceGetByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DataBoxEdgeDeviceGetByName() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDeviceGetByName.json @@ -86,9 +85,8 @@ public async Task Get_DataBoxEdgeDeviceGetByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataBoxEdgeDeviceGetByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DataBoxEdgeDeviceGetByName() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDeviceGetByName.json @@ -116,9 +114,8 @@ public async Task Exists_DataBoxEdgeDeviceGetByName() Console.WriteLine($"Succeeded: {result}"); } - // DataBoxEdgeDeviceGetByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DataBoxEdgeDeviceGetByName() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDeviceGetByName.json @@ -146,7 +143,7 @@ public async Task GetIfExists_DataBoxEdgeDeviceGetByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_DataBoxEdgeDeviceGetByName() } } - // DataBoxEdgeDeviceGetByNameWithDataResidency - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DataBoxEdgeDeviceGetByNameWithDataResidency() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDeviceGetByNameWithDataResidency.json @@ -192,9 +188,8 @@ public async Task Get_DataBoxEdgeDeviceGetByNameWithDataResidency() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataBoxEdgeDeviceGetByNameWithDataResidency - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DataBoxEdgeDeviceGetByNameWithDataResidency() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDeviceGetByNameWithDataResidency.json @@ -222,9 +217,8 @@ public async Task Exists_DataBoxEdgeDeviceGetByNameWithDataResidency() Console.WriteLine($"Succeeded: {result}"); } - // DataBoxEdgeDeviceGetByNameWithDataResidency - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DataBoxEdgeDeviceGetByNameWithDataResidency() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDeviceGetByNameWithDataResidency.json @@ -252,7 +246,7 @@ public async Task GetIfExists_DataBoxEdgeDeviceGetByNameWithDataResidency() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -264,9 +258,8 @@ public async Task GetIfExists_DataBoxEdgeDeviceGetByNameWithDataResidency() } } - // DataBoxEdgeDevicePut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DataBoxEdgeDevicePut() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDevicePut.json @@ -310,9 +303,8 @@ public async Task CreateOrUpdate_DataBoxEdgeDevicePut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataBoxEdgeDevicePutWithDataResidency - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DataBoxEdgeDevicePutWithDataResidency() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDevicePutWithDataResidency.json diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeDeviceResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeDeviceResource.cs index c56b2a273445c..648698834e355 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeDeviceResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeDeviceResource.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_DataBoxEdgeDeviceResource { - // DataBoxEdgeDeviceGetBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDataBoxEdgeDevices_DataBoxEdgeDeviceGetBySubscription() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDeviceGetBySubscription.json @@ -46,12 +46,11 @@ public async Task GetDataBoxEdgeDevices_DataBoxEdgeDeviceGetBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DataBoxEdgeDeviceGetByName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DataBoxEdgeDeviceGetByName() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDeviceGetByName.json @@ -80,9 +79,8 @@ public async Task Get_DataBoxEdgeDeviceGetByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataBoxEdgeDeviceGetByNameWithDataResidency - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DataBoxEdgeDeviceGetByNameWithDataResidency() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDeviceGetByNameWithDataResidency.json @@ -111,9 +109,8 @@ public async Task Get_DataBoxEdgeDeviceGetByNameWithDataResidency() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataBoxEdgeDeviceDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DataBoxEdgeDeviceDelete() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDeviceDelete.json @@ -135,12 +132,11 @@ public async Task Delete_DataBoxEdgeDeviceDelete() // invoke the operation await dataBoxEdgeDevice.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DataBoxEdgeDevicePatch - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DataBoxEdgeDevicePatch() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DataBoxEdgeDevicePatch.json @@ -173,9 +169,8 @@ public async Task Update_DataBoxEdgeDevicePatch() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DownloadUpdatesPost - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DownloadUpdates_DownloadUpdatesPost() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DownloadUpdatesPost.json @@ -197,12 +192,11 @@ public async Task DownloadUpdates_DownloadUpdatesPost() // invoke the operation await dataBoxEdgeDevice.DownloadUpdatesAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GenerateCertificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateCertificate_GenerateCertificate() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/GenerateCertificate.json @@ -227,9 +221,8 @@ public async Task GenerateCertificate_GenerateCertificate() Console.WriteLine($"Succeeded: {result}"); } - // ExtendedInfoPost - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExtendedInformation_ExtendedInfoPost() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ExtendedInfoPost.json @@ -254,9 +247,8 @@ public async Task GetExtendedInformation_ExtendedInfoPost() Console.WriteLine($"Succeeded: {result}"); } - // InstallUpdatesPost - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task InstallUpdates_InstallUpdatesPost() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/InstallUpdatesPost.json @@ -278,12 +270,11 @@ public async Task InstallUpdates_InstallUpdatesPost() // invoke the operation await dataBoxEdgeDevice.InstallUpdatesAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NetworkSettingsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetNetworkSettings_NetworkSettingsGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/NetworkSettingsGet.json @@ -308,9 +299,8 @@ public async Task GetNetworkSettings_NetworkSettingsGet() Console.WriteLine($"Succeeded: {result}"); } - // ScanForUpdatesPost - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ScanForUpdates_ScanForUpdatesPost() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ScanForUpdatesPost.json @@ -332,12 +322,11 @@ public async Task ScanForUpdates_ScanForUpdatesPost() // invoke the operation await dataBoxEdgeDevice.ScanForUpdatesAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CreateOrUpdateSecuritySettings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateSecuritySettings_CreateOrUpdateSecuritySettings() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/SecuritySettingsUpdatePost.json @@ -363,12 +352,11 @@ public async Task CreateOrUpdateSecuritySettings_CreateOrUpdateSecuritySettings( }); await dataBoxEdgeDevice.CreateOrUpdateSecuritySettingsAsync(WaitUntil.Completed, securitySettings); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetUpdateExtendedInfo - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateExtendedInformation_GetUpdateExtendedInfo() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/GetUpdateExtendedInfo.json @@ -394,9 +382,8 @@ public async Task UpdateExtendedInformation_GetUpdateExtendedInfo() Console.WriteLine($"Succeeded: {result}"); } - // UpdateSummaryGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUpdateSummary_UpdateSummaryGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/UpdateSummaryGet.json @@ -421,9 +408,8 @@ public async Task GetUpdateSummary_UpdateSummaryGet() Console.WriteLine($"Succeeded: {result}"); } - // UploadCertificatePost - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UploadCertificate_UploadCertificatePost() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/UploadCertificatePost.json @@ -449,9 +435,8 @@ public async Task UploadCertificate_UploadCertificatePost() Console.WriteLine($"Succeeded: {result}"); } - // DeviceCapacityRequestPost - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckResourceCreationFeasibility_DeviceCapacityRequestPost() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DeviceCapacityRequestPost.json @@ -480,12 +465,11 @@ public async Task CheckResourceCreationFeasibility_DeviceCapacityRequestPost() }); await dataBoxEdgeDevice.CheckResourceCreationFeasibilityAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DeviceCapacityGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeviceCapacityInfo_DeviceCapacityGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DeviceCapacityGet.json @@ -510,9 +494,8 @@ public async Task GetDeviceCapacityInfo_DeviceCapacityGet() Console.WriteLine($"Succeeded: {result}"); } - // NodesGetAllInDevice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEdgeNodes_NodesGetAllInDevice() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/NodeGetAllInDevice.json @@ -537,12 +520,11 @@ public async Task GetEdgeNodes_NodesGetAllInDevice() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TriggerSupportPackage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TriggerSupportPackage_TriggerSupportPackage() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/TriggerSupportPackage.json @@ -570,7 +552,7 @@ public async Task TriggerSupportPackage_TriggerSupportPackage() }; await dataBoxEdgeDevice.TriggerSupportPackageAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeJobCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeJobCollection.cs index ceee77c93e735..15615f65d5af5 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeJobCollection.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeJobCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_DataBoxEdgeJobCollection { - // JobsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_JobsGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/JobsGet.json @@ -49,9 +49,8 @@ public async Task Get_JobsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // JobsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_JobsGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/JobsGet.json @@ -80,9 +79,8 @@ public async Task Exists_JobsGet() Console.WriteLine($"Succeeded: {result}"); } - // JobsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_JobsGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/JobsGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_JobsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeJobResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeJobResource.cs index 267c93692fda2..5973625324310 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeJobResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeJobResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_DataBoxEdgeJobResource { - // JobsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_JobsGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/JobsGet.json diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeOrderResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeOrderResource.cs index c64ce65015abd..7fe65c5bbe1cd 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeOrderResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeOrderResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_DataBoxEdgeOrderResource { - // OrderGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_OrderGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/OrderGet.json @@ -46,9 +46,8 @@ public async Task Get_OrderGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // OrderPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_OrderPut() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/OrderPut.json @@ -94,9 +93,8 @@ public async Task CreateOrUpdate_OrderPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // OrderDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_OrderDelete() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/OrderDelete.json @@ -118,12 +116,11 @@ public async Task Delete_OrderDelete() // invoke the operation await dataBoxEdgeOrder.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetDCAccessCode - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDataCenterAccessCode_GetDCAccessCode() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/GetDCAccessCode.json diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeRoleAddonCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeRoleAddonCollection.cs index a0d238ba82cda..1ea466cb1ad46 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeRoleAddonCollection.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeRoleAddonCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_DataBoxEdgeRoleAddonCollection { - // RoleListAddOns - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RoleListAddOns() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/RoleListAddOns.json @@ -50,12 +50,11 @@ public async Task GetAll_RoleListAddOns() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetAddOns - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAddOns() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/GetAddons.json @@ -89,9 +88,8 @@ public async Task Get_GetAddOns() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetAddOns - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAddOns() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/GetAddons.json @@ -121,9 +119,8 @@ public async Task Exists_GetAddOns() Console.WriteLine($"Succeeded: {result}"); } - // GetAddOns - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAddOns() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/GetAddons.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetAddOns() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_GetAddOns() } } - // PutAddOns - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutAddOns() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/PutAddons.json diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeRoleAddonResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeRoleAddonResource.cs index e4eb61add499b..c35254a1b36ed 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeRoleAddonResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeRoleAddonResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_DataBoxEdgeRoleAddonResource { - // GetAddOns - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAddOns() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/GetAddons.json @@ -48,9 +48,8 @@ public async Task Get_GetAddOns() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PutAddOns - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PutAddOns() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/PutAddons.json @@ -83,9 +82,8 @@ public async Task Update_PutAddOns() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteAddOns - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAddOns() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DeleteAddons.json @@ -109,7 +107,7 @@ public async Task Delete_DeleteAddOns() // invoke the operation await dataBoxEdgeRoleAddon.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeRoleCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeRoleCollection.cs index 529a90fc04034..97a98fff0a5b8 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeRoleCollection.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeRoleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_DataBoxEdgeRoleCollection { - // RoleGetAllInDevice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RoleGetAllInDevice() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/RoleGetAllInDevice.json @@ -49,12 +49,11 @@ public async Task GetAll_RoleGetAllInDevice() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RoleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RoleGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/RoleGet.json @@ -87,9 +86,8 @@ public async Task Get_RoleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RoleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RoleGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/RoleGet.json @@ -118,9 +116,8 @@ public async Task Exists_RoleGet() Console.WriteLine($"Succeeded: {result}"); } - // RoleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RoleGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/RoleGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_RoleGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_RoleGet() } } - // RolePut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RolePut() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/RolePut.json diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeRoleResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeRoleResource.cs index 5ae6c31bfe7db..47144201c910d 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeRoleResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeRoleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_DataBoxEdgeRoleResource { - // RoleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RoleGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/RoleGet.json @@ -47,9 +47,8 @@ public async Task Get_RoleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RolePut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RolePut() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/RolePut.json @@ -102,9 +101,8 @@ public async Task Update_RolePut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RoleDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RoleDelete() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/RoleDelete.json @@ -127,7 +125,7 @@ public async Task Delete_RoleDelete() // invoke the operation await dataBoxEdgeRole.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeShareCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeShareCollection.cs index 9d7d484fccf42..f8fb30938e953 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeShareCollection.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeShareCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_DataBoxEdgeShareCollection { - // ShareGetAllInDevice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ShareGetAllInDevice() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ShareGetAllInDevice.json @@ -49,12 +49,11 @@ public async Task GetAll_ShareGetAllInDevice() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ShareGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ShareGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ShareGet.json @@ -87,9 +86,8 @@ public async Task Get_ShareGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ShareGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ShareGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ShareGet.json @@ -118,9 +116,8 @@ public async Task Exists_ShareGet() Console.WriteLine($"Succeeded: {result}"); } - // ShareGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ShareGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ShareGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_ShareGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_ShareGet() } } - // SharePut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SharePut() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/SharePut.json diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeShareResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeShareResource.cs index 0ee70383f5ef9..3138ad8bce388 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeShareResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeShareResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_DataBoxEdgeShareResource { - // ShareGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ShareGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ShareGet.json @@ -47,9 +47,8 @@ public async Task Get_ShareGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SharePut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SharePut() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/SharePut.json @@ -90,9 +89,8 @@ public async Task Update_SharePut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ShareDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ShareDelete() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ShareDelete.json @@ -115,12 +113,11 @@ public async Task Delete_ShareDelete() // invoke the operation await dataBoxEdgeShare.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ShareRefreshPost - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Refresh_ShareRefreshPost() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ShareRefreshPost.json @@ -143,7 +140,7 @@ public async Task Refresh_ShareRefreshPost() // invoke the operation await dataBoxEdgeShare.RefreshAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeStorageAccountCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeStorageAccountCollection.cs index 80fbf993fb4c5..2f9f8b877333b 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeStorageAccountCollection.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeStorageAccountCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_DataBoxEdgeStorageAccountCollection { - // StorageAccountGetAllInDevice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_StorageAccountGetAllInDevice() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/StorageAccountGetAllInDevice.json @@ -49,12 +49,11 @@ public async Task GetAll_StorageAccountGetAllInDevice() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // StorageAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/StorageAccountGet.json @@ -87,9 +86,8 @@ public async Task Get_StorageAccountGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_StorageAccountGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/StorageAccountGet.json @@ -118,9 +116,8 @@ public async Task Exists_StorageAccountGet() Console.WriteLine($"Succeeded: {result}"); } - // StorageAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_StorageAccountGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/StorageAccountGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_StorageAccountGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_StorageAccountGet() } } - // StorageAccountPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StorageAccountPut() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/StorageAccountPut.json diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeStorageAccountCredentialCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeStorageAccountCredentialCollection.cs index ad674cde3da0b..30e6b9bb95e98 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeStorageAccountCredentialCollection.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeStorageAccountCredentialCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_DataBoxEdgeStorageAccountCredentialCollection { - // SACGetAllInDevice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SACGetAllInDevice() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/SACGetAllInDevice.json @@ -49,12 +49,11 @@ public async Task GetAll_SACGetAllInDevice() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SACGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SACGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/SACGet.json @@ -87,9 +86,8 @@ public async Task Get_SACGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SACGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SACGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/SACGet.json @@ -118,9 +116,8 @@ public async Task Exists_SACGet() Console.WriteLine($"Succeeded: {result}"); } - // SACGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SACGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/SACGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_SACGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_SACGet() } } - // SACPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SACPut() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/SACPut.json diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeStorageAccountCredentialResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeStorageAccountCredentialResource.cs index 66b5b0e206841..2bd8bfa124f50 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeStorageAccountCredentialResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeStorageAccountCredentialResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_DataBoxEdgeStorageAccountCredentialResource { - // SACGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SACGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/SACGet.json @@ -47,9 +47,8 @@ public async Task Get_SACGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SACPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SACPut() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/SACPut.json @@ -88,9 +87,8 @@ public async Task Update_SACPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SACDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SACDelete() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/SACDelete.json @@ -113,7 +111,7 @@ public async Task Delete_SACDelete() // invoke the operation await dataBoxEdgeStorageAccountCredential.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeStorageAccountResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeStorageAccountResource.cs index 7710dffc59d40..2e077a57ab853 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeStorageAccountResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeStorageAccountResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_DataBoxEdgeStorageAccountResource { - // StorageAccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_StorageAccountGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/StorageAccountGet.json @@ -47,9 +47,8 @@ public async Task Get_StorageAccountGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StorageAccountPut() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/StorageAccountPut.json @@ -86,9 +85,8 @@ public async Task Update_StorageAccountPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // StorageAccountDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_StorageAccountDelete() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/StorageAccountDelete.json @@ -111,7 +109,7 @@ public async Task Delete_StorageAccountDelete() // invoke the operation await dataBoxEdgeStorageAccount.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeStorageContainerCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeStorageContainerCollection.cs index 5cd5ac1ae0ebe..e8fd8266e8c83 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeStorageContainerCollection.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeStorageContainerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_DataBoxEdgeStorageContainerCollection { - // ContainerListAllInDevice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ContainerListAllInDevice() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ContainerListAllInDevice.json @@ -50,12 +50,11 @@ public async Task GetAll_ContainerListAllInDevice() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ContainerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ContainerGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ContainerGet.json @@ -89,9 +88,8 @@ public async Task Get_ContainerGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ContainerGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ContainerGet.json @@ -121,9 +119,8 @@ public async Task Exists_ContainerGet() Console.WriteLine($"Succeeded: {result}"); } - // ContainerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ContainerGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ContainerGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_ContainerGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_ContainerGet() } } - // ContainerPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ContainerPut() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ContainerPut.json diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeStorageContainerResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeStorageContainerResource.cs index b5ed5664ba8ac..4b70c7a6c167b 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeStorageContainerResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeStorageContainerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_DataBoxEdgeStorageContainerResource { - // ContainerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ContainerGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ContainerGet.json @@ -48,9 +48,8 @@ public async Task Get_ContainerGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ContainerPut() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ContainerPut.json @@ -83,9 +82,8 @@ public async Task Update_ContainerPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ContainerDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ContainerDelete() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ContainerDelete.json @@ -109,12 +107,11 @@ public async Task Delete_ContainerDelete() // invoke the operation await dataBoxEdgeStorageContainer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ContainerRefresh - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Refresh_ContainerRefresh() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/ContainerRefresh.json @@ -138,7 +135,7 @@ public async Task Refresh_ContainerRefresh() // invoke the operation await dataBoxEdgeStorageContainer.RefreshAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeTriggerCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeTriggerCollection.cs index 9e546cbc4bb5e..e3e6b49b301b5 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeTriggerCollection.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeTriggerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_DataBoxEdgeTriggerCollection { - // TriggerGetAllInDevice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_TriggerGetAllInDevice() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/TriggerGetAllInDevice.json @@ -49,12 +49,11 @@ public async Task GetAll_TriggerGetAllInDevice() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TriggerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TriggerGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/TriggerGet.json @@ -87,9 +86,8 @@ public async Task Get_TriggerGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TriggerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_TriggerGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/TriggerGet.json @@ -118,9 +116,8 @@ public async Task Exists_TriggerGet() Console.WriteLine($"Succeeded: {result}"); } - // TriggerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TriggerGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/TriggerGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_TriggerGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_TriggerGet() } } - // TriggerPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TriggerPut() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/TriggerPut.json diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeTriggerResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeTriggerResource.cs index 1e18531c84cfd..2cdb4bab82e95 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeTriggerResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeTriggerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_DataBoxEdgeTriggerResource { - // TriggerGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TriggerGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/TriggerGet.json @@ -47,9 +47,8 @@ public async Task Get_TriggerGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TriggerPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TriggerPut() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/TriggerPut.json @@ -84,9 +83,8 @@ public async Task Update_TriggerPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TriggerDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_TriggerDelete() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/TriggerDelete.json @@ -109,7 +107,7 @@ public async Task Delete_TriggerDelete() // invoke the operation await dataBoxEdgeTrigger.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeUserCollection.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeUserCollection.cs index b5e88a61ec5c1..eb83e4aa6f9a6 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeUserCollection.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeUserCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_DataBoxEdgeUserCollection { - // UserGetAllInDevice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_UserGetAllInDevice() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/UserGetAllInDevice.json @@ -49,12 +49,11 @@ public async Task GetAll_UserGetAllInDevice() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // UserGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_UserGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/UserGet.json @@ -87,9 +86,8 @@ public async Task Get_UserGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UserGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_UserGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/UserGet.json @@ -118,9 +116,8 @@ public async Task Exists_UserGet() Console.WriteLine($"Succeeded: {result}"); } - // UserGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_UserGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/UserGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_UserGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_UserGet() } } - // UserPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UserPut() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/UserPut.json diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeUserResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeUserResource.cs index 788e7a35aafb4..43c82b8090b73 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeUserResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DataBoxEdgeUserResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_DataBoxEdgeUserResource { - // UserGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_UserGet() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/UserGet.json @@ -47,9 +47,8 @@ public async Task Get_UserGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UserPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UserPut() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/UserPut.json @@ -87,9 +86,8 @@ public async Task Update_UserPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UserDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_UserDelete() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/UserDelete.json @@ -112,7 +110,7 @@ public async Task Delete_UserDelete() // invoke the operation await dataBoxEdgeUser.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DiagnosticProactiveLogCollectionSettingResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DiagnosticProactiveLogCollectionSettingResource.cs index 29af1fc702a22..ad8e401558055 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DiagnosticProactiveLogCollectionSettingResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DiagnosticProactiveLogCollectionSettingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_DiagnosticProactiveLogCollectionSettingResource { - // GetDiagnosticProactiveLogCollectionSettings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDiagnosticProactiveLogCollectionSettings() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/GetDiagnosticProactiveLogCollectionSettings.json @@ -46,9 +46,8 @@ public async Task Get_GetDiagnosticProactiveLogCollectionSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UpdateDiagnosticProactiveLogCollectionSettings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateDiagnosticProactiveLogCollectionSettings() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/UpdateDiagnosticProactiveLogCollectionSettings.json diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DiagnosticRemoteSupportSettingResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DiagnosticRemoteSupportSettingResource.cs index 149bfc5f8c159..fc0a66053ae1d 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DiagnosticRemoteSupportSettingResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_DiagnosticRemoteSupportSettingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_DiagnosticRemoteSupportSettingResource { - // GetDiagnosticRemoteSupportSettings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDiagnosticRemoteSupportSettings() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/GetDiagnosticRemoteSupportSettings.json @@ -46,9 +46,8 @@ public async Task Get_GetDiagnosticRemoteSupportSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // UpdateDiagnosticRemoteSupportSettings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateDiagnosticRemoteSupportSettings() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/UpdateDiagnosticRemoteSupportSettings.json diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_MonitoringMetricConfigurationResource.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_MonitoringMetricConfigurationResource.cs index 7a20f7041d74c..442faf5bfd08c 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_MonitoringMetricConfigurationResource.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_MonitoringMetricConfigurationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_MonitoringMetricConfigurationResource { - // GetMonitoringConfig - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMonitoringConfig() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/GetMonitoringConfig.json @@ -47,9 +47,8 @@ public async Task Get_GetMonitoringConfig() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PutMonitoringConfig - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutMonitoringConfig() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/PutMonitoringConfig.json @@ -94,9 +93,8 @@ public async Task CreateOrUpdate_PutMonitoringConfig() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteMonitoringConfig - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteMonitoringConfig() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/DeleteMonitoringConfig.json @@ -119,7 +117,7 @@ public async Task Delete_DeleteMonitoringConfig() // invoke the operation await monitoringMetricConfiguration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index c1865a7908280..e63955162ef71 100644 --- a/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/databoxedge/Azure.ResourceManager.DataBoxEdge/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DataBoxEdge.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DataBoxEdge.Samples { public partial class Sample_SubscriptionResourceExtensions { - // AvailableSkus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableSkus_AvailableSkus() { // Generated from example definition: specification/databoxedge/resource-manager/Microsoft.DataBoxEdge/stable/2022-03-01/examples/AvailableSkusList.json @@ -41,7 +41,7 @@ public async Task GetAvailableSkus_AvailableSkus() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_DatadogMonitorResource.cs b/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_DatadogMonitorResource.cs index e26d91108b1f2..3ca457e42f651 100644 --- a/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_DatadogMonitorResource.cs +++ b/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_DatadogMonitorResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Datadog.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Datadog.Samples { public partial class Sample_DatadogMonitorResource { - // Monitors_ListApiKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetApiKeys_MonitorsListApiKeys() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/ApiKeys_List.json @@ -44,12 +44,11 @@ public async Task GetApiKeys_MonitorsListApiKeys() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Monitors_GetDefaultKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDefaultKey_MonitorsGetDefaultKey() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/ApiKeys_GetDefaultKey.json @@ -74,9 +73,8 @@ public async Task GetDefaultKey_MonitorsGetDefaultKey() Console.WriteLine($"Succeeded: {result}"); } - // Monitors_SetDefaultKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SetDefaultKey_MonitorsSetDefaultKey() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/ApiKeys_SetDefaultKey.json @@ -98,12 +96,11 @@ public async Task SetDefaultKey_MonitorsSetDefaultKey() // invoke the operation await datadogMonitorResource.SetDefaultKeyAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Monitors_ListHosts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetHosts_MonitorsListHosts() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/Hosts_List.json @@ -128,12 +125,11 @@ public async Task GetHosts_MonitorsListHosts() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Monitors_ListLinkedResources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLinkedResources_MonitorsListLinkedResources() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/LinkedResources_List.json @@ -158,12 +154,11 @@ public async Task GetLinkedResources_MonitorsListLinkedResources() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Monitors_ListMonitoredResources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMonitoredResources_MonitorsListMonitoredResources() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/MonitoredResources_List.json @@ -188,12 +183,11 @@ public async Task GetMonitoredResources_MonitorsListMonitoredResources() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Monitors_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDatadogMonitorResources_MonitorsList() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/Monitors_List.json @@ -220,12 +214,11 @@ public async Task GetDatadogMonitorResources_MonitorsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Monitors_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MonitorsGet() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/Monitors_Get.json @@ -254,9 +247,8 @@ public async Task Get_MonitorsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Monitors_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_MonitorsUpdate() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/Monitors_Update.json @@ -287,9 +279,8 @@ public async Task Update_MonitorsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Monitors_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_MonitorsDelete() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/Monitors_Delete.json @@ -311,12 +302,11 @@ public async Task Delete_MonitorsDelete() // invoke the operation await datadogMonitorResource.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Monitors_RefreshSetPasswordLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RefreshSetPasswordLink_MonitorsRefreshSetPasswordLink() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/RefreshSetPassword_Get.json diff --git a/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_DatadogMonitorResourceCollection.cs b/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_DatadogMonitorResourceCollection.cs index a3983dcec23c2..881754895dadd 100644 --- a/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_DatadogMonitorResourceCollection.cs +++ b/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_DatadogMonitorResourceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Datadog.Samples { public partial class Sample_DatadogMonitorResourceCollection { - // Monitors_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_MonitorsListByResourceGroup() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/Monitors_ListByResourceGroup.json @@ -48,12 +48,11 @@ public async Task GetAll_MonitorsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Monitors_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MonitorsGet() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/Monitors_Get.json @@ -85,9 +84,8 @@ public async Task Get_MonitorsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Monitors_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_MonitorsGet() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/Monitors_Get.json @@ -115,9 +113,8 @@ public async Task Exists_MonitorsGet() Console.WriteLine($"Succeeded: {result}"); } - // Monitors_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_MonitorsGet() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/Monitors_Get.json @@ -145,7 +142,7 @@ public async Task GetIfExists_MonitorsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -157,9 +154,8 @@ public async Task GetIfExists_MonitorsGet() } } - // Monitors_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_MonitorsCreate() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/Monitors_Create.json diff --git a/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_DatadogSingleSignOnResource.cs b/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_DatadogSingleSignOnResource.cs index ea5daada8b1b2..879d30dc5e0a2 100644 --- a/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_DatadogSingleSignOnResource.cs +++ b/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_DatadogSingleSignOnResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Datadog.Samples { public partial class Sample_DatadogSingleSignOnResource { - // SingleSignOnConfigurations_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SingleSignOnConfigurationsCreateOrUpdate() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/SingleSignOnConfigurations_CreateOrUpdate.json @@ -48,9 +48,8 @@ public async Task Update_SingleSignOnConfigurationsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SingleSignOnConfigurations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SingleSignOnConfigurationsGet() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/SingleSignOnConfigurations_Get.json diff --git a/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_DatadogSingleSignOnResourceCollection.cs b/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_DatadogSingleSignOnResourceCollection.cs index dcd4cf2b18c50..f5840203b3b6f 100644 --- a/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_DatadogSingleSignOnResourceCollection.cs +++ b/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_DatadogSingleSignOnResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Datadog.Samples { public partial class Sample_DatadogSingleSignOnResourceCollection { - // SingleSignOnConfigurations_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SingleSignOnConfigurationsList() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/SingleSignOnConfigurations_List.json @@ -48,12 +48,11 @@ public async Task GetAll_SingleSignOnConfigurationsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SingleSignOnConfigurations_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SingleSignOnConfigurationsCreateOrUpdate() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/SingleSignOnConfigurations_CreateOrUpdate.json @@ -88,9 +87,8 @@ public async Task CreateOrUpdate_SingleSignOnConfigurationsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SingleSignOnConfigurations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SingleSignOnConfigurationsGet() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/SingleSignOnConfigurations_Get.json @@ -123,9 +121,8 @@ public async Task Get_SingleSignOnConfigurationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SingleSignOnConfigurations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SingleSignOnConfigurationsGet() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/SingleSignOnConfigurations_Get.json @@ -154,9 +151,8 @@ public async Task Exists_SingleSignOnConfigurationsGet() Console.WriteLine($"Succeeded: {result}"); } - // SingleSignOnConfigurations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SingleSignOnConfigurationsGet() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/SingleSignOnConfigurations_Get.json @@ -185,7 +181,7 @@ public async Task GetIfExists_SingleSignOnConfigurationsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_MonitoringTagRuleCollection.cs b/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_MonitoringTagRuleCollection.cs index 96eee66cd5da1..e82c1f4d62e3e 100644 --- a/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_MonitoringTagRuleCollection.cs +++ b/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_MonitoringTagRuleCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Datadog.Samples { public partial class Sample_MonitoringTagRuleCollection { - // TagRules_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_TagRulesList() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/TagRules_List.json @@ -48,12 +48,11 @@ public async Task GetAll_TagRulesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TagRules_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TagRulesCreateOrUpdate() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/TagRules_CreateOrUpdate.json @@ -88,9 +87,8 @@ public async Task CreateOrUpdate_TagRulesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TagRules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TagRulesGet() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/TagRules_Get.json @@ -123,9 +121,8 @@ public async Task Get_TagRulesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TagRules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_TagRulesGet() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/TagRules_Get.json @@ -154,9 +151,8 @@ public async Task Exists_TagRulesGet() Console.WriteLine($"Succeeded: {result}"); } - // TagRules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TagRulesGet() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/TagRules_Get.json @@ -185,7 +181,7 @@ public async Task GetIfExists_TagRulesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_MonitoringTagRuleResource.cs b/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_MonitoringTagRuleResource.cs index 8e6eed9a1703a..cd52cd9c78bde 100644 --- a/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_MonitoringTagRuleResource.cs +++ b/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_MonitoringTagRuleResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Datadog.Samples { public partial class Sample_MonitoringTagRuleResource { - // TagRules_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TagRulesCreateOrUpdate() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/TagRules_CreateOrUpdate.json @@ -48,9 +48,8 @@ public async Task Update_TagRulesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TagRules_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TagRulesGet() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/TagRules_Get.json diff --git a/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 513f37c9e4998..e3a1273613077 100644 --- a/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/datadog/Azure.ResourceManager.Datadog/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Datadog.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Datadog.Samples { public partial class Sample_SubscriptionResourceExtensions { - // MarketplaceAgreements_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMarketplaceAgreements_MarketplaceAgreementsList() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/MarketplaceAgreements_List.json @@ -41,12 +41,11 @@ public async Task GetMarketplaceAgreements_MarketplaceAgreementsList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // MarketplaceAgreements_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateMarketplaceAgreement_MarketplaceAgreementsCreateOrUpdate() { // Generated from example definition: specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/examples/MarketplaceAgreements_Create.json diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryChangeDataCaptureCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryChangeDataCaptureCollection.cs index 02f0078895a61..c0feec403b958 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryChangeDataCaptureCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryChangeDataCaptureCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryChangeDataCaptureCollection { - // ChangeDataCapture_ListByFactory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ChangeDataCaptureListByFactory() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_ListByFactory.json @@ -48,12 +48,11 @@ public async Task GetAll_ChangeDataCaptureListByFactory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ChangeDataCapture_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ChangeDataCaptureGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Get.json @@ -86,9 +85,8 @@ public async Task Get_ChangeDataCaptureGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ChangeDataCapture_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ChangeDataCaptureGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Get.json @@ -117,9 +115,8 @@ public async Task Exists_ChangeDataCaptureGet() Console.WriteLine($"Succeeded: {result}"); } - // ChangeDataCapture_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ChangeDataCaptureGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Get.json @@ -148,7 +145,7 @@ public async Task GetIfExists_ChangeDataCaptureGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryChangeDataCaptureResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryChangeDataCaptureResource.cs index 7e8e430b81954..0ad1b1261eeb5 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryChangeDataCaptureResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryChangeDataCaptureResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryChangeDataCaptureResource { - // ChangeDataCapture_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ChangeDataCaptureGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Get.json @@ -46,9 +46,8 @@ public async Task Get_ChangeDataCaptureGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ChangeDataCapture_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ChangeDataCaptureDelete() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Delete.json @@ -71,12 +70,11 @@ public async Task Delete_ChangeDataCaptureDelete() // invoke the operation await dataFactoryChangeDataCapture.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ChangeDataCapture_Start - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_ChangeDataCaptureStart() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Start.json @@ -99,12 +97,11 @@ public async Task Start_ChangeDataCaptureStart() // invoke the operation await dataFactoryChangeDataCapture.StartAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ChangeDataCapture_Stop - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_ChangeDataCaptureStop() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Stop.json @@ -127,12 +124,11 @@ public async Task Stop_ChangeDataCaptureStop() // invoke the operation await dataFactoryChangeDataCapture.StopAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ChangeDataCapture_Start - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Status_ChangeDataCaptureStart() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Status.json diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryCollection.cs index 984f9d4e0f668..0b336c45bac75 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryCollection { - // Factories_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_FactoriesListByResourceGroup() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_ListByResourceGroup.json @@ -48,12 +48,11 @@ public async Task GetAll_FactoriesListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Factories_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_FactoriesCreateOrUpdate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_CreateOrUpdate.json @@ -87,9 +86,8 @@ public async Task CreateOrUpdate_FactoriesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Factories_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FactoriesGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json @@ -121,9 +119,8 @@ public async Task Get_FactoriesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Factories_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_FactoriesGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json @@ -151,9 +148,8 @@ public async Task Exists_FactoriesGet() Console.WriteLine($"Succeeded: {result}"); } - // Factories_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_FactoriesGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json @@ -181,7 +177,7 @@ public async Task GetIfExists_FactoriesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryDataFlowCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryDataFlowCollection.cs index 4fab5a432c8fd..1cfe4d36c3bf4 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryDataFlowCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryDataFlowCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataFactory.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryDataFlowCollection { - // DataFlows_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DataFlowsCreate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Create.json @@ -79,9 +79,8 @@ public async Task CreateOrUpdate_DataFlowsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataFlows_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DataFlowsUpdate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Update.json @@ -143,9 +142,8 @@ public async Task CreateOrUpdate_DataFlowsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataFlows_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DataFlowsGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Get.json @@ -178,9 +176,8 @@ public async Task Get_DataFlowsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataFlows_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DataFlowsGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Get.json @@ -209,9 +206,8 @@ public async Task Exists_DataFlowsGet() Console.WriteLine($"Succeeded: {result}"); } - // DataFlows_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DataFlowsGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Get.json @@ -240,7 +236,7 @@ public async Task GetIfExists_DataFlowsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -252,9 +248,8 @@ public async Task GetIfExists_DataFlowsGet() } } - // DataFlows_ListByFactory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DataFlowsListByFactory() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_ListByFactory.json @@ -286,7 +281,7 @@ public async Task GetAll_DataFlowsListByFactory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryDataFlowResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryDataFlowResource.cs index ba8e695432aac..c7c1024630e53 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryDataFlowResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryDataFlowResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataFactory.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryDataFlowResource { - // DataFlows_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DataFlowsCreate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Create.json @@ -76,9 +76,8 @@ public async Task Update_DataFlowsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataFlows_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DataFlowsUpdate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Update.json @@ -137,9 +136,8 @@ public async Task Update_DataFlowsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataFlows_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DataFlowsGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Get.json @@ -169,9 +167,8 @@ public async Task Get_DataFlowsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataFlows_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DataFlowsDelete() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Delete.json @@ -194,7 +191,7 @@ public async Task Delete_DataFlowsDelete() // invoke the operation await dataFactoryDataFlow.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryDatasetCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryDatasetCollection.cs index 2124c02b2a61b..98fb40f720cc5 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryDatasetCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryDatasetCollection.cs @@ -11,14 +11,14 @@ using Azure.Core.Expressions.DataFactory; using Azure.Identity; using Azure.ResourceManager.DataFactory.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryDatasetCollection { - // Datasets_ListByFactory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DatasetsListByFactory() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_ListByFactory.json @@ -50,12 +50,11 @@ public async Task GetAll_DatasetsListByFactory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Datasets_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DatasetsCreate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Create.json @@ -100,9 +99,8 @@ public async Task CreateOrUpdate_DatasetsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Datasets_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DatasetsUpdate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Update.json @@ -148,9 +146,8 @@ public async Task CreateOrUpdate_DatasetsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Datasets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DatasetsGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json @@ -183,9 +180,8 @@ public async Task Get_DatasetsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Datasets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DatasetsGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json @@ -214,9 +210,8 @@ public async Task Exists_DatasetsGet() Console.WriteLine($"Succeeded: {result}"); } - // Datasets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DatasetsGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json @@ -245,7 +240,7 @@ public async Task GetIfExists_DatasetsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryDatasetResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryDatasetResource.cs index fc5b24e4755a9..acd14fcfd9579 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryDatasetResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryDatasetResource.cs @@ -11,14 +11,14 @@ using Azure.Core.Expressions.DataFactory; using Azure.Identity; using Azure.ResourceManager.DataFactory.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryDatasetResource { - // Datasets_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DatasetsCreate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Create.json @@ -60,9 +60,8 @@ public async Task Update_DatasetsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Datasets_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DatasetsUpdate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Update.json @@ -105,9 +104,8 @@ public async Task Update_DatasetsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Datasets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DatasetsGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json @@ -137,9 +135,8 @@ public async Task Get_DatasetsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Datasets_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DatasetsDelete() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Delete.json @@ -162,7 +159,7 @@ public async Task Delete_DatasetsDelete() // invoke the operation await dataFactoryDataset.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryGlobalParameterCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryGlobalParameterCollection.cs index 0c9d377eb606d..d20cd698af44f 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryGlobalParameterCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryGlobalParameterCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataFactory.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryGlobalParameterCollection { - // GlobalParameters_ListByFactory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GlobalParametersListByFactory() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_ListByFactory.json @@ -50,12 +50,11 @@ public async Task GetAll_GlobalParametersListByFactory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GlobalParameters_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GlobalParametersGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json @@ -88,9 +87,8 @@ public async Task Get_GlobalParametersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GlobalParameters_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GlobalParametersGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json @@ -119,9 +117,8 @@ public async Task Exists_GlobalParametersGet() Console.WriteLine($"Succeeded: {result}"); } - // GlobalParameters_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GlobalParametersGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json @@ -150,7 +147,7 @@ public async Task GetIfExists_GlobalParametersGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_GlobalParametersGet() } } - // GlobalParameters_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_GlobalParametersCreate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json @@ -202,9 +198,8 @@ public async Task CreateOrUpdate_GlobalParametersCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GlobalParameters_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_GlobalParametersUpdate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryGlobalParameterResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryGlobalParameterResource.cs index 7d9d81114c7ce..3bc842577dd1e 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryGlobalParameterResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryGlobalParameterResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataFactory.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryGlobalParameterResource { - // GlobalParameters_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GlobalParametersGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json @@ -48,9 +48,8 @@ public async Task Get_GlobalParametersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GlobalParameters_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_GlobalParametersCreate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json @@ -85,9 +84,8 @@ public async Task Update_GlobalParametersCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GlobalParameters_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_GlobalParametersUpdate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json @@ -122,9 +120,8 @@ public async Task Update_GlobalParametersUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GlobalParameters_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_GlobalParametersDelete() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Delete.json @@ -147,7 +144,7 @@ public async Task Delete_GlobalParametersDelete() // invoke the operation await dataFactoryGlobalParameter.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryIntegrationRuntimeCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryIntegrationRuntimeCollection.cs index 34203f729e64d..14caf86439d98 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryIntegrationRuntimeCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryIntegrationRuntimeCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataFactory.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryIntegrationRuntimeCollection { - // IntegrationRuntimes_ListByFactory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_IntegrationRuntimesListByFactory() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListByFactory.json @@ -49,12 +49,11 @@ public async Task GetAll_IntegrationRuntimesListByFactory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // IntegrationRuntimes_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_IntegrationRuntimesCreate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Create.json @@ -92,9 +91,8 @@ public async Task CreateOrUpdate_IntegrationRuntimesCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IntegrationRuntimes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_IntegrationRuntimesGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json @@ -127,9 +125,8 @@ public async Task Get_IntegrationRuntimesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IntegrationRuntimes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_IntegrationRuntimesGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json @@ -158,9 +155,8 @@ public async Task Exists_IntegrationRuntimesGet() Console.WriteLine($"Succeeded: {result}"); } - // IntegrationRuntimes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_IntegrationRuntimesGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json @@ -189,7 +185,7 @@ public async Task GetIfExists_IntegrationRuntimesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryIntegrationRuntimeResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryIntegrationRuntimeResource.cs index c7b41204da899..876a1072bee6d 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryIntegrationRuntimeResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryIntegrationRuntimeResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataFactory.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryIntegrationRuntimeResource { - // IntegrationRuntimes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_IntegrationRuntimesGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json @@ -48,9 +48,8 @@ public async Task Get_IntegrationRuntimesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IntegrationRuntimes_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_IntegrationRuntimesUpdate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Update.json @@ -85,9 +84,8 @@ public async Task Update_IntegrationRuntimesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // IntegrationRuntimes_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_IntegrationRuntimesDelete() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Delete.json @@ -110,12 +108,11 @@ public async Task Delete_IntegrationRuntimesDelete() // invoke the operation await dataFactoryIntegrationRuntime.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // IntegrationRuntimes_GetStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStatus_IntegrationRuntimesGetStatus() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetStatus.json @@ -141,9 +138,8 @@ public async Task GetStatus_IntegrationRuntimesGetStatus() Console.WriteLine($"Succeeded: {result}"); } - // IntegrationRuntimes_OutboundNetworkDependenciesEndpoints - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOutboundNetworkDependencies_IntegrationRuntimesOutboundNetworkDependenciesEndpoints() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListOutboundNetworkDependenciesEndpoints.json @@ -169,12 +165,11 @@ public async Task GetOutboundNetworkDependencies_IntegrationRuntimesOutboundNetw Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // IntegrationRuntimes_GetConnectionInfo - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConnectionInfo_IntegrationRuntimesGetConnectionInfo() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetConnectionInfo.json @@ -200,9 +195,8 @@ public async Task GetConnectionInfo_IntegrationRuntimesGetConnectionInfo() Console.WriteLine($"Succeeded: {result}"); } - // IntegrationRuntimes_RegenerateAuthKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateAuthKey_IntegrationRuntimesRegenerateAuthKey() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RegenerateAuthKey.json @@ -232,9 +226,8 @@ public async Task RegenerateAuthKey_IntegrationRuntimesRegenerateAuthKey() Console.WriteLine($"Succeeded: {result}"); } - // IntegrationRuntimes_ListAuthKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAuthKeys_IntegrationRuntimesListAuthKeys() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListAuthKeys.json @@ -260,9 +253,8 @@ public async Task GetAuthKeys_IntegrationRuntimesListAuthKeys() Console.WriteLine($"Succeeded: {result}"); } - // IntegrationRuntimes_Start - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_IntegrationRuntimesStart() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Start.json @@ -289,9 +281,8 @@ public async Task Start_IntegrationRuntimesStart() Console.WriteLine($"Succeeded: {result}"); } - // IntegrationRuntimes_Stop - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_IntegrationRuntimesStop() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Stop.json @@ -314,12 +305,11 @@ public async Task Stop_IntegrationRuntimesStop() // invoke the operation await dataFactoryIntegrationRuntime.StopAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // IntegrationRuntimes_SyncCredentials - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SyncCredentials_IntegrationRuntimesSyncCredentials() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_SyncCredentials.json @@ -342,12 +332,11 @@ public async Task SyncCredentials_IntegrationRuntimesSyncCredentials() // invoke the operation await dataFactoryIntegrationRuntime.SyncCredentialsAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // IntegrationRuntimes_GetMonitoringData - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMonitoringData_IntegrationRuntimesGetMonitoringData() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetMonitoringData.json @@ -373,9 +362,8 @@ public async Task GetMonitoringData_IntegrationRuntimesGetMonitoringData() Console.WriteLine($"Succeeded: {result}"); } - // IntegrationRuntimes_Upgrade - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Upgrade_IntegrationRuntimesUpgrade() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Upgrade.json @@ -398,12 +386,11 @@ public async Task Upgrade_IntegrationRuntimesUpgrade() // invoke the operation await dataFactoryIntegrationRuntime.UpgradeAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // IntegrationRuntimes_Upgrade - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RemoveLinks_IntegrationRuntimesUpgrade() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RemoveLinks.json @@ -427,12 +414,11 @@ public async Task RemoveLinks_IntegrationRuntimesUpgrade() LinkedIntegrationRuntimeContent content = new LinkedIntegrationRuntimeContent("exampleFactoryName-linked"); await dataFactoryIntegrationRuntime.RemoveLinksAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // IntegrationRuntimes_CreateLinkedIntegrationRuntime - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateLinkedIntegrationRuntime_IntegrationRuntimesCreateLinkedIntegrationRuntime() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_CreateLinkedIntegrationRuntime.json @@ -465,9 +451,8 @@ public async Task CreateLinkedIntegrationRuntime_IntegrationRuntimesCreateLinked Console.WriteLine($"Succeeded: {result}"); } - // IntegrationRuntimeObjectMetadata_Refresh - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RefreshIntegrationRuntimeObjectMetadata_IntegrationRuntimeObjectMetadataRefresh() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json @@ -494,9 +479,8 @@ public async Task RefreshIntegrationRuntimeObjectMetadata_IntegrationRuntimeObje Console.WriteLine($"Succeeded: {result}"); } - // IntegrationRuntimeObjectMetadata_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllIntegrationRuntimeObjectMetadata_IntegrationRuntimeObjectMetadataGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json @@ -526,12 +510,11 @@ public async Task GetAllIntegrationRuntimeObjectMetadata_IntegrationRuntimeObjec Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // IntegrationRuntimeNodes_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIntegrationRuntimeNode_IntegrationRuntimeNodesGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Get.json @@ -558,9 +541,8 @@ public async Task GetIntegrationRuntimeNode_IntegrationRuntimeNodesGet() Console.WriteLine($"Succeeded: {result}"); } - // IntegrationRuntimesNodes_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteIntegrationRuntimeNode_IntegrationRuntimesNodesDelete() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Delete.json @@ -584,12 +566,11 @@ public async Task DeleteIntegrationRuntimeNode_IntegrationRuntimesNodesDelete() string nodeName = "Node_1"; await dataFactoryIntegrationRuntime.DeleteIntegrationRuntimeNodeAsync(nodeName); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // IntegrationRuntimeNodes_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateIntegrationRuntimeNode_IntegrationRuntimeNodesUpdate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Update.json @@ -620,9 +601,8 @@ public async Task UpdateIntegrationRuntimeNode_IntegrationRuntimeNodesUpdate() Console.WriteLine($"Succeeded: {result}"); } - // IntegrationRuntimeNodes_GetIpAddress - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIPAddressIntegrationRuntimeNode_IntegrationRuntimeNodesGetIpAddress() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_GetIpAddress.json diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryLinkedServiceCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryLinkedServiceCollection.cs index e9896833ace25..8f038b48905cc 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryLinkedServiceCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryLinkedServiceCollection.cs @@ -11,14 +11,14 @@ using Azure.Core.Expressions.DataFactory; using Azure.Identity; using Azure.ResourceManager.DataFactory.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryLinkedServiceCollection { - // LinkedServices_ListByFactory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_LinkedServicesListByFactory() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_ListByFactory.json @@ -50,12 +50,11 @@ public async Task GetAll_LinkedServicesListByFactory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LinkedServices_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_LinkedServicesCreate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Create.json @@ -93,9 +92,8 @@ public async Task CreateOrUpdate_LinkedServicesCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LinkedServices_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_LinkedServicesUpdate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Update.json @@ -134,9 +132,8 @@ public async Task CreateOrUpdate_LinkedServicesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LinkedServices_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LinkedServicesGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json @@ -169,9 +166,8 @@ public async Task Get_LinkedServicesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LinkedServices_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_LinkedServicesGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json @@ -200,9 +196,8 @@ public async Task Exists_LinkedServicesGet() Console.WriteLine($"Succeeded: {result}"); } - // LinkedServices_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_LinkedServicesGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json @@ -231,7 +226,7 @@ public async Task GetIfExists_LinkedServicesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryLinkedServiceResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryLinkedServiceResource.cs index d8b652e986341..bb1fec5955df3 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryLinkedServiceResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryLinkedServiceResource.cs @@ -11,14 +11,14 @@ using Azure.Core.Expressions.DataFactory; using Azure.Identity; using Azure.ResourceManager.DataFactory.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryLinkedServiceResource { - // LinkedServices_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_LinkedServicesCreate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Create.json @@ -53,9 +53,8 @@ public async Task Update_LinkedServicesCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LinkedServices_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_LinkedServicesUpdate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Update.json @@ -91,9 +90,8 @@ public async Task Update_LinkedServicesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LinkedServices_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LinkedServicesGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json @@ -123,9 +121,8 @@ public async Task Get_LinkedServicesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LinkedServices_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_LinkedServicesDelete() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Delete.json @@ -148,7 +145,7 @@ public async Task Delete_LinkedServicesDelete() // invoke the operation await dataFactoryLinkedService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryManagedVirtualNetworkCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryManagedVirtualNetworkCollection.cs index e6b61c23f3dfd..ea3b0d3c7f7d4 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryManagedVirtualNetworkCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryManagedVirtualNetworkCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataFactory.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryManagedVirtualNetworkCollection { - // ManagedVirtualNetworks_ListByFactory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ManagedVirtualNetworksListByFactory() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_ListByFactory.json @@ -49,12 +49,11 @@ public async Task GetAll_ManagedVirtualNetworksListByFactory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ManagedVirtualNetworks_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ManagedVirtualNetworksCreate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_Create.json @@ -89,9 +88,8 @@ public async Task CreateOrUpdate_ManagedVirtualNetworksCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedVirtualNetworks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ManagedVirtualNetworksGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_Get.json @@ -124,9 +122,8 @@ public async Task Get_ManagedVirtualNetworksGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedVirtualNetworks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ManagedVirtualNetworksGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_Get.json @@ -155,9 +152,8 @@ public async Task Exists_ManagedVirtualNetworksGet() Console.WriteLine($"Succeeded: {result}"); } - // ManagedVirtualNetworks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ManagedVirtualNetworksGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_Get.json @@ -186,7 +182,7 @@ public async Task GetIfExists_ManagedVirtualNetworksGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryManagedVirtualNetworkResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryManagedVirtualNetworkResource.cs index 5a866e02d6cc3..d4709a60e9cc2 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryManagedVirtualNetworkResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryManagedVirtualNetworkResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataFactory.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryManagedVirtualNetworkResource { - // ManagedVirtualNetworks_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ManagedVirtualNetworksCreate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_Create.json @@ -49,9 +49,8 @@ public async Task Update_ManagedVirtualNetworksCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedVirtualNetworks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ManagedVirtualNetworksGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_Get.json diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryPipelineCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryPipelineCollection.cs index 5dea3f9ec9604..1b8643f023c3d 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryPipelineCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryPipelineCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataFactory.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryPipelineCollection { - // Pipelines_ListByFactory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PipelinesListByFactory() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_ListByFactory.json @@ -50,12 +50,11 @@ public async Task GetAll_PipelinesListByFactory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Pipelines_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PipelinesCreate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Create.json @@ -147,9 +146,8 @@ public async Task CreateOrUpdate_PipelinesCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Pipelines_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PipelinesUpdate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Update.json @@ -230,9 +228,8 @@ public async Task CreateOrUpdate_PipelinesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Pipelines_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PipelinesGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json @@ -265,9 +262,8 @@ public async Task Get_PipelinesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Pipelines_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PipelinesGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json @@ -296,9 +292,8 @@ public async Task Exists_PipelinesGet() Console.WriteLine($"Succeeded: {result}"); } - // Pipelines_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PipelinesGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json @@ -327,7 +322,7 @@ public async Task GetIfExists_PipelinesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryPipelineResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryPipelineResource.cs index 8b009fed36682..b43a9576ea250 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryPipelineResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryPipelineResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataFactory.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryPipelineResource { - // Pipelines_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PipelinesCreate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Create.json @@ -107,9 +107,8 @@ public async Task Update_PipelinesCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Pipelines_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PipelinesUpdate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Update.json @@ -187,9 +186,8 @@ public async Task Update_PipelinesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Pipelines_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PipelinesGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json @@ -219,9 +217,8 @@ public async Task Get_PipelinesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Pipelines_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PipelinesDelete() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Delete.json @@ -244,12 +241,11 @@ public async Task Delete_PipelinesDelete() // invoke the operation await dataFactoryPipeline.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Pipelines_CreateRun - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateRun_PipelinesCreateRun() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_CreateRun.json diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryPrivateEndpointCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryPrivateEndpointCollection.cs index b6a98b0201803..4c2ef49f8c632 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryPrivateEndpointCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryPrivateEndpointCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataFactory.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryPrivateEndpointCollection { - // ManagedPrivateEndpoints_ListByFactory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ManagedPrivateEndpointsListByFactory() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_ListByFactory.json @@ -50,12 +50,11 @@ public async Task GetAll_ManagedPrivateEndpointsListByFactory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ManagedVirtualNetworks_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ManagedVirtualNetworksCreate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Create.json @@ -98,9 +97,8 @@ public async Task CreateOrUpdate_ManagedVirtualNetworksCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedPrivateEndpoints_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ManagedPrivateEndpointsGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Get.json @@ -134,9 +132,8 @@ public async Task Get_ManagedPrivateEndpointsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedPrivateEndpoints_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ManagedPrivateEndpointsGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Get.json @@ -166,9 +163,8 @@ public async Task Exists_ManagedPrivateEndpointsGet() Console.WriteLine($"Succeeded: {result}"); } - // ManagedPrivateEndpoints_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ManagedPrivateEndpointsGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Get.json @@ -198,7 +194,7 @@ public async Task GetIfExists_ManagedPrivateEndpointsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryPrivateEndpointConnectionCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryPrivateEndpointConnectionCollection.cs index bef30d71238d0..25e68e36db9bc 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryPrivateEndpointConnectionCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataFactory.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryPrivateEndpointConnectionCollection { - // privateEndPointConnections_ListByFactory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndPointConnectionsListByFactory() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PrivateEndPointConnections_ListByFactory.json @@ -49,12 +49,11 @@ public async Task GetAll_PrivateEndPointConnectionsListByFactory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Approves or rejects a private endpoint connection for a factory. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApprovesOrRejectsAPrivateEndpointConnectionForAFactory() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ApproveRejectPrivateEndpointConnection.json @@ -101,9 +100,8 @@ public async Task CreateOrUpdate_ApprovesOrRejectsAPrivateEndpointConnectionForA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a private endpoint connection for a datafactory. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPrivateEndpointConnectionForADatafactory() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GetPrivateEndpointConnection.json @@ -136,9 +134,8 @@ public async Task Get_GetAPrivateEndpointConnectionForADatafactory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a private endpoint connection for a datafactory. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAPrivateEndpointConnectionForADatafactory() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GetPrivateEndpointConnection.json @@ -167,9 +164,8 @@ public async Task Exists_GetAPrivateEndpointConnectionForADatafactory() Console.WriteLine($"Succeeded: {result}"); } - // Get a private endpoint connection for a datafactory. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAPrivateEndpointConnectionForADatafactory() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GetPrivateEndpointConnection.json @@ -198,7 +194,7 @@ public async Task GetIfExists_GetAPrivateEndpointConnectionForADatafactory() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryPrivateEndpointConnectionResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryPrivateEndpointConnectionResource.cs index a297512e5549e..7544e26050bad 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryPrivateEndpointConnectionResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataFactory.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryPrivateEndpointConnectionResource { - // Approves or rejects a private endpoint connection for a factory. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApprovesOrRejectsAPrivateEndpointConnectionForAFactory() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ApproveRejectPrivateEndpointConnection.json @@ -61,9 +61,8 @@ public async Task Update_ApprovesOrRejectsAPrivateEndpointConnectionForAFactory( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a private endpoint connection for a datafactory. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAPrivateEndpointConnectionForADatafactory() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GetPrivateEndpointConnection.json @@ -93,9 +92,8 @@ public async Task Get_GetAPrivateEndpointConnectionForADatafactory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a private endpoint connection for a datafactory. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAPrivateEndpointConnectionForADatafactory() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DeletePrivateEndpointConnection.json @@ -118,7 +116,7 @@ public async Task Delete_DeleteAPrivateEndpointConnectionForADatafactory() // invoke the operation await dataFactoryPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryPrivateEndpointResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryPrivateEndpointResource.cs index 2c100ff205bef..9b3f4104a723b 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryPrivateEndpointResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryPrivateEndpointResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataFactory.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryPrivateEndpointResource { - // ManagedVirtualNetworks_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ManagedVirtualNetworksCreate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Create.json @@ -57,9 +57,8 @@ public async Task Update_ManagedVirtualNetworksCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedPrivateEndpoints_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ManagedPrivateEndpointsGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Get.json @@ -90,9 +89,8 @@ public async Task Get_ManagedPrivateEndpointsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ManagedVirtualNetworks_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ManagedVirtualNetworksDelete() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Delete.json @@ -116,7 +114,7 @@ public async Task Delete_ManagedVirtualNetworksDelete() // invoke the operation await dataFactoryPrivateEndpoint.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryResource.cs index ae608baa3deae..41f103bb15974 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryResource.cs @@ -13,14 +13,14 @@ using Azure.Identity; using Azure.ResourceManager.DataFactory.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryResource { - // Factories_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDataFactories_FactoriesList() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_List.json @@ -47,12 +47,11 @@ public async Task GetDataFactories_FactoriesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Factories_ConfigureFactoryRepo - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ConfigureFactoryRepoInformation_FactoriesConfigureFactoryRepo() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_ConfigureFactoryRepo.json @@ -89,9 +88,8 @@ public async Task ConfigureFactoryRepoInformation_FactoriesConfigureFactoryRepo( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Factories_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_FactoriesUpdate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Update.json @@ -127,9 +125,8 @@ public async Task Update_FactoriesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Factories_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FactoriesGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json @@ -158,9 +155,8 @@ public async Task Get_FactoriesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Factories_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_FactoriesDelete() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Delete.json @@ -182,12 +178,11 @@ public async Task Delete_FactoriesDelete() // invoke the operation await dataFactory.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Factories_GetGitHubAccessToken - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetGitHubAccessToken_FactoriesGetGitHubAccessToken() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_GetGitHubAccessToken.json @@ -216,9 +211,8 @@ public async Task GetGitHubAccessToken_FactoriesGetGitHubAccessToken() Console.WriteLine($"Succeeded: {result}"); } - // Factories_GetDataPlaneAccess - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDataPlaneAccess_FactoriesGetDataPlaneAccess() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_GetDataPlaneAccess.json @@ -251,9 +245,8 @@ public async Task GetDataPlaneAccess_FactoriesGetDataPlaneAccess() Console.WriteLine($"Succeeded: {result}"); } - // ExposureControl_GetFeatureValueByFactory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExposureControlFeature_ExposureControlGetFeatureValueByFactory() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValueByFactory.json @@ -283,9 +276,8 @@ public async Task GetExposureControlFeature_ExposureControlGetFeatureValueByFact Console.WriteLine($"Succeeded: {result}"); } - // ExposureControl_QueryFeatureValuesByFactory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExposureControlFeatures_ExposureControlQueryFeatureValuesByFactory() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_QueryFeatureValuesByFactory.json @@ -322,9 +314,8 @@ public async Task GetExposureControlFeatures_ExposureControlQueryFeatureValuesBy Console.WriteLine($"Succeeded: {result}"); } - // PipelineRuns_QueryByFactory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPipelineRuns_PipelineRunsQueryByFactory() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_QueryByFactory.json @@ -359,12 +350,11 @@ public async Task GetPipelineRuns_PipelineRunsQueryByFactory() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PipelineRuns_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPipelineRun_PipelineRunsGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Get.json @@ -390,9 +380,8 @@ public async Task GetPipelineRun_PipelineRunsGet() Console.WriteLine($"Succeeded: {result}"); } - // PipelineRuns_Cancel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CancelPipelineRun_PipelineRunsCancel() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Cancel.json @@ -415,12 +404,11 @@ public async Task CancelPipelineRun_PipelineRunsCancel() string runId = "16ac5348-ff82-4f95-a80d-638c1d47b721"; await dataFactory.CancelPipelineRunAsync(runId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ActivityRuns_QueryByPipelineRun - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetActivityRun_ActivityRunsQueryByPipelineRun() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ActivityRuns_QueryByPipelineRun.json @@ -447,12 +435,11 @@ public async Task GetActivityRun_ActivityRunsQueryByPipelineRun() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Triggers_QueryByFactory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTriggers_TriggersQueryByFactory() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_QueryByFactory.json @@ -485,12 +472,11 @@ public async Task GetTriggers_TriggersQueryByFactory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TriggerRuns_QueryByFactory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTriggerRuns_TriggerRunsQueryByFactory() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_QueryByFactory.json @@ -525,12 +511,11 @@ public async Task GetTriggerRuns_TriggerRunsQueryByFactory() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DataFlowDebugSession_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateDataFlowDebugSession_DataFlowDebugSessionCreate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlowDebugSession_Create.json @@ -576,9 +561,8 @@ public async Task CreateDataFlowDebugSession_DataFlowDebugSessionCreate() Console.WriteLine($"Succeeded: {result}"); } - // DataFlowDebugSession_QueryByFactory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDataFlowDebugSessions_DataFlowDebugSessionQueryByFactory() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlowDebugSession_QueryByFactory.json @@ -603,12 +587,11 @@ public async Task GetDataFlowDebugSessions_DataFlowDebugSessionQueryByFactory() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DataFlowDebugSession_AddDataFlow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AddDataFlowToDebugSession_DataFlowDebugSessionAddDataFlow() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlowDebugSession_AddDataFlow.json @@ -729,9 +712,8 @@ public async Task AddDataFlowToDebugSession_DataFlowDebugSessionAddDataFlow() Console.WriteLine($"Succeeded: {result}"); } - // DataFlowDebugSession_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteDataFlowDebugSession_DataFlowDebugSessionDelete() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlowDebugSession_Delete.json @@ -757,12 +739,11 @@ public async Task DeleteDataFlowDebugSession_DataFlowDebugSessionDelete() }; await dataFactory.DeleteDataFlowDebugSessionAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DataFlowDebugSession_ExecuteCommand - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExecuteDataFlowDebugSessionCommand_DataFlowDebugSessionExecuteCommand() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlowDebugSession_ExecuteCommand.json @@ -797,9 +778,8 @@ public async Task ExecuteDataFlowDebugSessionCommand_DataFlowDebugSessionExecute Console.WriteLine($"Succeeded: {result}"); } - // Get private link resources of a site - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinkResources_GetPrivateLinkResourcesOfASite() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GetPrivateLinkResources.json @@ -824,7 +804,7 @@ public async Task GetPrivateLinkResources_GetPrivateLinkResourcesOfASite() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryServiceCredentialCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryServiceCredentialCollection.cs index c7ef9f9ba3e69..12b065098f182 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryServiceCredentialCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryServiceCredentialCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataFactory.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryServiceCredentialCollection { - // Credentials_ListByFactory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CredentialsListByFactory() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_ListByFactory.json @@ -49,12 +49,11 @@ public async Task GetAll_CredentialsListByFactory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Credentials_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CredentialsCreate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Create.json @@ -92,9 +91,8 @@ public async Task CreateOrUpdate_CredentialsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Credentials_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CredentialsGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Get.json @@ -127,9 +125,8 @@ public async Task Get_CredentialsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Credentials_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CredentialsGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Get.json @@ -158,9 +155,8 @@ public async Task Exists_CredentialsGet() Console.WriteLine($"Succeeded: {result}"); } - // Credentials_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CredentialsGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Get.json @@ -189,7 +185,7 @@ public async Task GetIfExists_CredentialsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryServiceCredentialResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryServiceCredentialResource.cs index 2f8f7285ed402..64a9a231cc84b 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryServiceCredentialResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryServiceCredentialResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataFactory.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryServiceCredentialResource { - // Credentials_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CredentialsCreate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Create.json @@ -52,9 +52,8 @@ public async Task Update_CredentialsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Credentials_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CredentialsGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Get.json @@ -84,9 +83,8 @@ public async Task Get_CredentialsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Credentials_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CredentialsDelete() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Delete.json @@ -109,7 +107,7 @@ public async Task Delete_CredentialsDelete() // invoke the operation await dataFactoryServiceCredential.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryTriggerCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryTriggerCollection.cs index 179f8796fc0c2..90ea7c5337757 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryTriggerCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryTriggerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataFactory.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryTriggerCollection { - // Triggers_ListByFactory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_TriggersListByFactory() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_ListByFactory.json @@ -49,12 +49,11 @@ public async Task GetAll_TriggersListByFactory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Triggers_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TriggersCreate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Create.json @@ -109,9 +108,8 @@ public async Task CreateOrUpdate_TriggersCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Triggers_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TriggersUpdate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Update.json @@ -167,9 +165,8 @@ public async Task CreateOrUpdate_TriggersUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Triggers_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TriggersGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json @@ -202,9 +199,8 @@ public async Task Get_TriggersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Triggers_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_TriggersGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json @@ -233,9 +229,8 @@ public async Task Exists_TriggersGet() Console.WriteLine($"Succeeded: {result}"); } - // Triggers_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TriggersGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json @@ -264,7 +259,7 @@ public async Task GetIfExists_TriggersGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryTriggerResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryTriggerResource.cs index 58680fd92c653..0b0aea010160e 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryTriggerResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_DataFactoryTriggerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataFactory.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_DataFactoryTriggerResource { - // Triggers_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TriggersCreate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Create.json @@ -69,9 +69,8 @@ public async Task Update_TriggersCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Triggers_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TriggersUpdate() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Update.json @@ -124,9 +123,8 @@ public async Task Update_TriggersUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Triggers_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TriggersGet() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json @@ -156,9 +154,8 @@ public async Task Get_TriggersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Triggers_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_TriggersDelete() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Delete.json @@ -181,12 +178,11 @@ public async Task Delete_TriggersDelete() // invoke the operation await dataFactoryTrigger.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Triggers_SubscribeToEvents - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SubscribeToEvents_TriggersSubscribeToEvents() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_SubscribeToEvents.json @@ -213,9 +209,8 @@ public async Task SubscribeToEvents_TriggersSubscribeToEvents() Console.WriteLine($"Succeeded: {result}"); } - // Triggers_GetEventSubscriptionStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEventSubscriptionStatus_TriggersGetEventSubscriptionStatus() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_GetEventSubscriptionStatus.json @@ -241,9 +236,8 @@ public async Task GetEventSubscriptionStatus_TriggersGetEventSubscriptionStatus( Console.WriteLine($"Succeeded: {result}"); } - // Triggers_UnsubscribeFromEvents - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UnsubscribeFromEvents_TriggersUnsubscribeFromEvents() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_UnsubscribeFromEvents.json @@ -270,9 +264,8 @@ public async Task UnsubscribeFromEvents_TriggersUnsubscribeFromEvents() Console.WriteLine($"Succeeded: {result}"); } - // Triggers_Start - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_TriggersStart() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Start.json @@ -295,12 +288,11 @@ public async Task Start_TriggersStart() // invoke the operation await dataFactoryTrigger.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Triggers_Stop - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_TriggersStop() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Stop.json @@ -323,12 +315,11 @@ public async Task Stop_TriggersStop() // invoke the operation await dataFactoryTrigger.StopAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Triggers_Rerun - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RerunTriggerRun_TriggersRerun() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Rerun.json @@ -352,12 +343,11 @@ public async Task RerunTriggerRun_TriggersRerun() string runId = "2f7fdb90-5df1-4b8e-ac2f-064cfa58202b"; await dataFactoryTrigger.RerunTriggerRunAsync(runId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Triggers_Cancel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CancelTriggerRun_TriggersCancel() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Cancel.json @@ -381,7 +371,7 @@ public async Task CancelTriggerRun_TriggersCancel() string runId = "2f7fdb90-5df1-4b8e-ac2f-064cfa58202b"; await dataFactoryTrigger.CancelTriggerRunAsync(runId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 23737f1301fd8..b0ad8f0f3c778 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DataFactory.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DataFactory.Samples { public partial class Sample_SubscriptionResourceExtensions { - // ExposureControl_GetFeatureValue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFeatureValueExposureControl_ExposureControlGetFeatureValue() { // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValue.json diff --git a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsAccountCollection.cs b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsAccountCollection.cs index 190b1c17f624f..1fce4eab4bbe7 100644 --- a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsAccountCollection.cs +++ b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsAccountCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.DataLakeAnalytics.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DataLakeAnalytics.Samples { public partial class Sample_DataLakeAnalyticsAccountCollection { - // Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheFirstPageOfDataLakeAnalyticsAccountsIfAnyWithinASpecificResourceGroupThisIncludesALinkToTheNextPageIfAny() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_ListByResourceGroup.json @@ -47,12 +47,11 @@ public async Task GetAll_GetsTheFirstPageOfDataLakeAnalyticsAccountsIfAnyWithinA Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Creates the specified Data Lake Analytics account. This supplies the user with computation services for Data Lake Analytics workloads. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesTheSpecifiedDataLakeAnalyticsAccountThisSuppliesTheUserWithComputationServicesForDataLakeAnalyticsWorkloads() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Create.json @@ -125,9 +124,8 @@ public async Task CreateOrUpdate_CreatesTheSpecifiedDataLakeAnalyticsAccountThis Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets details of the specified Data Lake Analytics account. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsDetailsOfTheSpecifiedDataLakeAnalyticsAccount() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Get.json @@ -159,9 +157,8 @@ public async Task Get_GetsDetailsOfTheSpecifiedDataLakeAnalyticsAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets details of the specified Data Lake Analytics account. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsDetailsOfTheSpecifiedDataLakeAnalyticsAccount() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Get.json @@ -189,9 +186,8 @@ public async Task Exists_GetsDetailsOfTheSpecifiedDataLakeAnalyticsAccount() Console.WriteLine($"Succeeded: {result}"); } - // Gets details of the specified Data Lake Analytics account. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsDetailsOfTheSpecifiedDataLakeAnalyticsAccount() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Get.json @@ -219,7 +215,7 @@ public async Task GetIfExists_GetsDetailsOfTheSpecifiedDataLakeAnalyticsAccount( if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsAccountResource.cs b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsAccountResource.cs index 385bcb056f1fb..c3215724c6363 100644 --- a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsAccountResource.cs +++ b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsAccountResource.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.DataLakeAnalytics.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DataLakeAnalytics.Samples { public partial class Sample_DataLakeAnalyticsAccountResource { - // Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAccounts_GetsTheFirstPageOfDataLakeAnalyticsAccountsIfAnyWithinTheCurrentSubscriptionThisIncludesALinkToTheNextPageIfAny() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_List.json @@ -43,12 +43,11 @@ public async Task GetAccounts_GetsTheFirstPageOfDataLakeAnalyticsAccountsIfAnyWi Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets details of the specified Data Lake Analytics account. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsDetailsOfTheSpecifiedDataLakeAnalyticsAccount() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Get.json @@ -77,9 +76,8 @@ public async Task Get_GetsDetailsOfTheSpecifiedDataLakeAnalyticsAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates the Data Lake Analytics account object specified by the accountName with the contents of the account object. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesTheDataLakeAnalyticsAccountObjectSpecifiedByTheAccountNameWithTheContentsOfTheAccountObject() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Update.json @@ -142,9 +140,8 @@ public async Task Update_UpdatesTheDataLakeAnalyticsAccountObjectSpecifiedByTheA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Begins the delete process for the Data Lake Analytics account object specified by the account name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_BeginsTheDeleteProcessForTheDataLakeAnalyticsAccountObjectSpecifiedByTheAccountName() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Delete.json @@ -166,12 +163,11 @@ public async Task Delete_BeginsTheDeleteProcessForTheDataLakeAnalyticsAccountObj // invoke the operation await dataLakeAnalyticsAccount.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Checks whether the specified account name is available or taken - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckDataLakeAnalyticsAccountNameAvailability_ChecksWhetherTheSpecifiedAccountNameIsAvailableOrTaken() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_CheckNameAvailability.json diff --git a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsComputePolicyCollection.cs b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsComputePolicyCollection.cs index 9257e1e59c6d3..d96297e80cdd4 100644 --- a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsComputePolicyCollection.cs +++ b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsComputePolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataLakeAnalytics.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataLakeAnalytics.Samples { public partial class Sample_DataLakeAnalyticsComputePolicyCollection { - // Lists the compute policies within the adla account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsTheComputePoliciesWithinTheAdlaAccount() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_ListByAccount.json @@ -49,12 +49,11 @@ public async Task GetAll_ListsTheComputePoliciesWithinTheAdlaAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Creates or updates the specified compute policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesTheSpecifiedComputePolicy() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_CreateOrUpdate.json @@ -93,9 +92,8 @@ public async Task CreateOrUpdate_CreatesOrUpdatesTheSpecifiedComputePolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the specified compute policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheSpecifiedComputePolicy() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Get.json @@ -128,9 +126,8 @@ public async Task Get_GetsTheSpecifiedComputePolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the specified compute policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheSpecifiedComputePolicy() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Get.json @@ -159,9 +156,8 @@ public async Task Exists_GetsTheSpecifiedComputePolicy() Console.WriteLine($"Succeeded: {result}"); } - // Gets the specified compute policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheSpecifiedComputePolicy() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Get.json @@ -190,7 +186,7 @@ public async Task GetIfExists_GetsTheSpecifiedComputePolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsComputePolicyResource.cs b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsComputePolicyResource.cs index 1476f0fa54ed1..c061b0583bce1 100644 --- a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsComputePolicyResource.cs +++ b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsComputePolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataLakeAnalytics.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataLakeAnalytics.Samples { public partial class Sample_DataLakeAnalyticsComputePolicyResource { - // Gets the specified compute policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheSpecifiedComputePolicy() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetsTheSpecifiedComputePolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates the specified compute policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesTheSpecifiedComputePolicy() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Update.json @@ -84,9 +83,8 @@ public async Task Update_UpdatesTheSpecifiedComputePolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes the specified compute policy from the adla account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesTheSpecifiedComputePolicyFromTheAdlaAccount() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Delete.json @@ -109,7 +107,7 @@ public async Task Delete_DeletesTheSpecifiedComputePolicyFromTheAdlaAccount() // invoke the operation await dataLakeAnalyticsComputePolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsFirewallRuleCollection.cs b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsFirewallRuleCollection.cs index b905e78e1bf66..29694c343c70a 100644 --- a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsFirewallRuleCollection.cs +++ b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsFirewallRuleCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataLakeAnalytics.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataLakeAnalytics.Samples { public partial class Sample_DataLakeAnalyticsFirewallRuleCollection { - // Lists the Data Lake Analytics firewall rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsTheDataLakeAnalyticsFirewallRules() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_ListByAccount.json @@ -50,12 +50,11 @@ public async Task GetAll_ListsTheDataLakeAnalyticsFirewallRules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Creates or updates the specified firewall rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesTheSpecifiedFirewallRule() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_CreateOrUpdate.json @@ -90,9 +89,8 @@ public async Task CreateOrUpdate_CreatesOrUpdatesTheSpecifiedFirewallRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the specified Data Lake Analytics firewall rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheSpecifiedDataLakeAnalyticsFirewallRule() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Get.json @@ -125,9 +123,8 @@ public async Task Get_GetsTheSpecifiedDataLakeAnalyticsFirewallRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the specified Data Lake Analytics firewall rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheSpecifiedDataLakeAnalyticsFirewallRule() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Get.json @@ -156,9 +153,8 @@ public async Task Exists_GetsTheSpecifiedDataLakeAnalyticsFirewallRule() Console.WriteLine($"Succeeded: {result}"); } - // Gets the specified Data Lake Analytics firewall rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheSpecifiedDataLakeAnalyticsFirewallRule() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Get.json @@ -187,7 +183,7 @@ public async Task GetIfExists_GetsTheSpecifiedDataLakeAnalyticsFirewallRule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsFirewallRuleResource.cs b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsFirewallRuleResource.cs index 4a7c06389f538..3182bd50d1d0c 100644 --- a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsFirewallRuleResource.cs +++ b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsFirewallRuleResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataLakeAnalytics.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataLakeAnalytics.Samples { public partial class Sample_DataLakeAnalyticsFirewallRuleResource { - // Gets the specified Data Lake Analytics firewall rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheSpecifiedDataLakeAnalyticsFirewallRule() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Get.json @@ -48,9 +48,8 @@ public async Task Get_GetsTheSpecifiedDataLakeAnalyticsFirewallRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates the specified firewall rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesTheSpecifiedFirewallRule() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Update.json @@ -85,9 +84,8 @@ public async Task Update_UpdatesTheSpecifiedFirewallRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes the specified firewall rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesTheSpecifiedFirewallRule() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Delete.json @@ -110,7 +108,7 @@ public async Task Delete_DeletesTheSpecifiedFirewallRule() // invoke the operation await dataLakeAnalyticsFirewallRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsStorageAccountInformationCollection.cs b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsStorageAccountInformationCollection.cs index fbacc7c24b542..3ea156b4055f8 100644 --- a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsStorageAccountInformationCollection.cs +++ b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsStorageAccountInformationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataLakeAnalytics.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataLakeAnalytics.Samples { public partial class Sample_DataLakeAnalyticsStorageAccountInformationCollection { - // Gets the first page of Azure Storage accounts linked to the specified Data Lake Analytics account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheFirstPageOfAzureStorageAccountsLinkedToTheSpecifiedDataLakeAnalyticsAccount() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListByAccount.json @@ -50,12 +50,11 @@ public async Task GetAll_GetsTheFirstPageOfAzureStorageAccountsLinkedToTheSpecif Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Adds an Azure Storage account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AddsAnAzureStorageAccount() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Add.json @@ -85,12 +84,11 @@ public async Task CreateOrUpdate_AddsAnAzureStorageAccount() }; await collection.CreateOrUpdateAsync(WaitUntil.Completed, storageAccountName, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the specified Azure Storage account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheSpecifiedAzureStorageAccount() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Get.json @@ -123,9 +121,8 @@ public async Task Get_GetsTheSpecifiedAzureStorageAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the specified Azure Storage account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheSpecifiedAzureStorageAccount() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Get.json @@ -154,9 +151,8 @@ public async Task Exists_GetsTheSpecifiedAzureStorageAccount() Console.WriteLine($"Succeeded: {result}"); } - // Gets the specified Azure Storage account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheSpecifiedAzureStorageAccount() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Get.json @@ -185,7 +181,7 @@ public async Task GetIfExists_GetsTheSpecifiedAzureStorageAccount() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsStorageAccountInformationResource.cs b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsStorageAccountInformationResource.cs index 5b363eeeb6f19..6d69b3c9cb02b 100644 --- a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsStorageAccountInformationResource.cs +++ b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsStorageAccountInformationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataLakeAnalytics.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataLakeAnalytics.Samples { public partial class Sample_DataLakeAnalyticsStorageAccountInformationResource { - // Gets the specified Azure Storage account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheSpecifiedAzureStorageAccount() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetsTheSpecifiedAzureStorageAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Replaces Azure Storage blob account details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ReplacesAzureStorageBlobAccountDetails() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Update.json @@ -77,12 +76,11 @@ public async Task Update_ReplacesAzureStorageBlobAccountDetails() }; await dataLakeAnalyticsStorageAccountInformation.UpdateAsync(patch); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Removes an Azure Storage account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RemovesAnAzureStorageAccount() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Delete.json @@ -105,7 +103,7 @@ public async Task Delete_RemovesAnAzureStorageAccount() // invoke the operation await dataLakeAnalyticsStorageAccountInformation.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsStorageContainerCollection.cs b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsStorageContainerCollection.cs index 9c250e7f32ae6..00139b746fc7c 100644 --- a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsStorageContainerCollection.cs +++ b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsStorageContainerCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DataLakeAnalytics.Samples { public partial class Sample_DataLakeAnalyticsStorageContainerCollection { - // Lists the Azure Storage containers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsTheAzureStorageContainers() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListStorageContainers.json @@ -49,12 +49,11 @@ public async Task GetAll_ListsTheAzureStorageContainers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the specified Azure Storage container - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheSpecifiedAzureStorageContainer() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_GetStorageContainer.json @@ -88,9 +87,8 @@ public async Task Get_GetsTheSpecifiedAzureStorageContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the specified Azure Storage container - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheSpecifiedAzureStorageContainer() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_GetStorageContainer.json @@ -120,9 +118,8 @@ public async Task Exists_GetsTheSpecifiedAzureStorageContainer() Console.WriteLine($"Succeeded: {result}"); } - // Gets the specified Azure Storage container - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheSpecifiedAzureStorageContainer() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_GetStorageContainer.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetsTheSpecifiedAzureStorageContainer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsStorageContainerResource.cs b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsStorageContainerResource.cs index 97748dc926c85..4f1527cb50c0c 100644 --- a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsStorageContainerResource.cs +++ b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeAnalyticsStorageContainerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataLakeAnalytics.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataLakeAnalytics.Samples { public partial class Sample_DataLakeAnalyticsStorageContainerResource { - // Gets the specified Azure Storage container - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheSpecifiedAzureStorageContainer() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_GetStorageContainer.json @@ -48,9 +48,8 @@ public async Task Get_GetsTheSpecifiedAzureStorageContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the SAS token - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSasTokens_GetsTheSASToken() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListSasTokens.json @@ -77,7 +76,7 @@ public async Task GetSasTokens_GetsTheSASToken() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeStoreAccountInformationCollection.cs b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeStoreAccountInformationCollection.cs index 5782063a67c62..dfa5a6f9873a3 100644 --- a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeStoreAccountInformationCollection.cs +++ b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeStoreAccountInformationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataLakeAnalytics.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataLakeAnalytics.Samples { public partial class Sample_DataLakeStoreAccountInformationCollection { - // Gets the first page of Data Lake Store accounts linked to the specified Data Lake Analytics account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheFirstPageOfDataLakeStoreAccountsLinkedToTheSpecifiedDataLakeAnalyticsAccount() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_ListByAccount.json @@ -50,12 +50,11 @@ public async Task GetAll_GetsTheFirstPageOfDataLakeStoreAccountsLinkedToTheSpeci Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Adds a Data Lake Store account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AddsADataLakeStoreAccount() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Add.json @@ -85,12 +84,11 @@ public async Task CreateOrUpdate_AddsADataLakeStoreAccount() }; await collection.CreateOrUpdateAsync(WaitUntil.Completed, dataLakeStoreAccountName, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the specified Data Lake Store account details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheSpecifiedDataLakeStoreAccountDetails() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Get.json @@ -123,9 +121,8 @@ public async Task Get_GetsTheSpecifiedDataLakeStoreAccountDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the specified Data Lake Store account details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheSpecifiedDataLakeStoreAccountDetails() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Get.json @@ -154,9 +151,8 @@ public async Task Exists_GetsTheSpecifiedDataLakeStoreAccountDetails() Console.WriteLine($"Succeeded: {result}"); } - // Gets the specified Data Lake Store account details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheSpecifiedDataLakeStoreAccountDetails() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Get.json @@ -185,7 +181,7 @@ public async Task GetIfExists_GetsTheSpecifiedDataLakeStoreAccountDetails() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeStoreAccountInformationResource.cs b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeStoreAccountInformationResource.cs index 41b70d0c454a5..ff168c8b42286 100644 --- a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeStoreAccountInformationResource.cs +++ b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_DataLakeStoreAccountInformationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataLakeAnalytics.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataLakeAnalytics.Samples { public partial class Sample_DataLakeStoreAccountInformationResource { - // Adds a Data Lake Store account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AddsADataLakeStoreAccount() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Add.json @@ -44,12 +44,11 @@ public async Task Update_AddsADataLakeStoreAccount() }; await dataLakeStoreAccountInformation.UpdateAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the specified Data Lake Store account details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheSpecifiedDataLakeStoreAccountDetails() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Get.json @@ -79,9 +78,8 @@ public async Task Get_GetsTheSpecifiedDataLakeStoreAccountDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Removes the specified Data Lake Store account - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RemovesTheSpecifiedDataLakeStoreAccount() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Delete.json @@ -104,7 +102,7 @@ public async Task Delete_RemovesTheSpecifiedDataLakeStoreAccount() // invoke the operation await dataLakeStoreAccountInformation.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 43938a2ca06ba..1d16d6ac1b649 100644 --- a/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/datalake-analytics/Azure.ResourceManager.DataLakeAnalytics/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DataLakeAnalytics.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DataLakeAnalytics.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Gets subscription-level properties and limits for Data Lake Analytics specified by resource location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCapabilityLocation_GetsSubscriptionLevelPropertiesAndLimitsForDataLakeAnalyticsSpecifiedByResourceLocation() { // Generated from example definition: specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Locations_GetCapability.json diff --git a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DataMigrationServiceCollection.cs b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DataMigrationServiceCollection.cs index 0536b65779f27..1628283e5b2a7 100644 --- a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DataMigrationServiceCollection.cs +++ b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DataMigrationServiceCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DataMigration.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DataMigration.Samples { public partial class Sample_DataMigrationServiceCollection { - // Services_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ServicesCreateOrUpdate() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Services_CreateOrUpdate.json @@ -59,9 +59,8 @@ public async Task CreateOrUpdate_ServicesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Services_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServicesCreateOrUpdate() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Services_Get.json @@ -93,9 +92,8 @@ public async Task Get_ServicesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Services_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ServicesCreateOrUpdate() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Services_Get.json @@ -123,9 +121,8 @@ public async Task Exists_ServicesCreateOrUpdate() Console.WriteLine($"Succeeded: {result}"); } - // Services_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ServicesCreateOrUpdate() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Services_Get.json @@ -153,7 +150,7 @@ public async Task GetIfExists_ServicesCreateOrUpdate() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_ServicesCreateOrUpdate() } } - // Services_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ServicesListByResourceGroup() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Services_ListByResourceGroup.json @@ -198,7 +194,7 @@ public async Task GetAll_ServicesListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DataMigrationServiceResource.cs b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DataMigrationServiceResource.cs index 1dc115f9f3da7..5bd9a9d00aea0 100644 --- a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DataMigrationServiceResource.cs +++ b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DataMigrationServiceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DataMigration.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DataMigration.Samples { public partial class Sample_DataMigrationServiceResource { - // Services_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ServicesCreateOrUpdate() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Services_Get.json @@ -47,9 +47,8 @@ public async Task Get_ServicesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Services_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ServicesCreateOrUpdate() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Services_Delete.json @@ -71,12 +70,11 @@ public async Task Delete_ServicesCreateOrUpdate() // invoke the operation await dataMigrationService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Services_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ServicesCreateOrUpdate() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Services_Update.json @@ -110,9 +108,8 @@ public async Task Update_ServicesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Services_CheckStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckStatus_ServicesCheckStatus() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Services_CheckStatus.json @@ -137,9 +134,8 @@ public async Task CheckStatus_ServicesCheckStatus() Console.WriteLine($"Succeeded: {result}"); } - // Services_Start - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_ServicesStart() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Services_Start.json @@ -161,12 +157,11 @@ public async Task Start_ServicesStart() // invoke the operation await dataMigrationService.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Services_Stop - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_ServicesStop() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Services_Stop.json @@ -188,12 +183,11 @@ public async Task Stop_ServicesStop() // invoke the operation await dataMigrationService.StopAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Services_ListSkus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSkus_ServicesListSkus() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Services_ListSkus.json @@ -218,12 +212,11 @@ public async Task GetSkus_ServicesListSkus() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Services_CheckChildrenNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckChildrenNameAvailability_ServicesCheckChildrenNameAvailability() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Services_CheckChildrenNameAvailability.json @@ -253,9 +246,8 @@ public async Task CheckChildrenNameAvailability_ServicesCheckChildrenNameAvailab Console.WriteLine($"Succeeded: {result}"); } - // Services_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDataMigrationServices_ServicesList() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Services_List.json @@ -282,12 +274,11 @@ public async Task GetDataMigrationServices_ServicesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Services_CheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckNameAvailabilityService_ServicesCheckNameAvailability() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Services_CheckNameAvailability.json diff --git a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DatabaseMigrationSqlDBCollection.cs b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DatabaseMigrationSqlDBCollection.cs index e34401498dc01..1049d254e2f49 100644 --- a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DatabaseMigrationSqlDBCollection.cs +++ b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DatabaseMigrationSqlDBCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DataMigration.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DataMigration.Samples { public partial class Sample_DatabaseMigrationSqlDBCollection { - // Get Sql DB database Migration with the expand parameter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSqlDBDatabaseMigrationWithTheExpandParameter() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlDbGetDatabaseMigrationExpanded.json @@ -52,9 +52,8 @@ public async Task Get_GetSqlDBDatabaseMigrationWithTheExpandParameter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Sql DB database Migration with the expand parameter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSqlDBDatabaseMigrationWithTheExpandParameter() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlDbGetDatabaseMigrationExpanded.json @@ -84,9 +83,8 @@ public async Task Exists_GetSqlDBDatabaseMigrationWithTheExpandParameter() Console.WriteLine($"Succeeded: {result}"); } - // Get Sql DB database Migration with the expand parameter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSqlDBDatabaseMigrationWithTheExpandParameter() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlDbGetDatabaseMigrationExpanded.json @@ -116,7 +114,7 @@ public async Task GetIfExists_GetSqlDBDatabaseMigrationWithTheExpandParameter() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -128,9 +126,8 @@ public async Task GetIfExists_GetSqlDBDatabaseMigrationWithTheExpandParameter() } } - // Get Sql DB database Migration without the expand parameter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSqlDBDatabaseMigrationWithoutTheExpandParameter() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlDbGetDatabaseMigration.json @@ -163,9 +160,8 @@ public async Task Get_GetSqlDBDatabaseMigrationWithoutTheExpandParameter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Sql DB database Migration without the expand parameter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSqlDBDatabaseMigrationWithoutTheExpandParameter() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlDbGetDatabaseMigration.json @@ -194,9 +190,8 @@ public async Task Exists_GetSqlDBDatabaseMigrationWithoutTheExpandParameter() Console.WriteLine($"Succeeded: {result}"); } - // Get Sql DB database Migration without the expand parameter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSqlDBDatabaseMigrationWithoutTheExpandParameter() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlDbGetDatabaseMigration.json @@ -225,7 +220,7 @@ public async Task GetIfExists_GetSqlDBDatabaseMigrationWithoutTheExpandParameter if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -237,9 +232,8 @@ public async Task GetIfExists_GetSqlDBDatabaseMigrationWithoutTheExpandParameter } } - // Create or Update Database Migration resource with Maximum parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateDatabaseMigrationResourceWithMaximumParameters() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlDbCreateOrUpdateDatabaseMigrationMAX.json @@ -304,9 +298,8 @@ public async Task CreateOrUpdate_CreateOrUpdateDatabaseMigrationResourceWithMaxi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Database Migration resource with Minimum parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateDatabaseMigrationResourceWithMinimumParameters() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlDbCreateOrUpdateDatabaseMigrationMIN.json diff --git a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DatabaseMigrationSqlDBResource.cs b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DatabaseMigrationSqlDBResource.cs index 7fb966a744f37..68c4757c52466 100644 --- a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DatabaseMigrationSqlDBResource.cs +++ b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DatabaseMigrationSqlDBResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataMigration.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataMigration.Samples { public partial class Sample_DatabaseMigrationSqlDBResource { - // Get Sql DB database Migration with the expand parameter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSqlDBDatabaseMigrationWithTheExpandParameter() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlDbGetDatabaseMigrationExpanded.json @@ -48,9 +48,8 @@ public async Task Get_GetSqlDBDatabaseMigrationWithTheExpandParameter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Sql DB database Migration without the expand parameter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSqlDBDatabaseMigrationWithoutTheExpandParameter() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlDbGetDatabaseMigration.json @@ -80,9 +79,8 @@ public async Task Get_GetSqlDBDatabaseMigrationWithoutTheExpandParameter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Database Migration resource with Maximum parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateDatabaseMigrationResourceWithMaximumParameters() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlDbCreateOrUpdateDatabaseMigrationMAX.json @@ -144,9 +142,8 @@ public async Task Update_CreateOrUpdateDatabaseMigrationResourceWithMaximumParam Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Database Migration resource with Minimum parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateDatabaseMigrationResourceWithMinimumParameters() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlDbCreateOrUpdateDatabaseMigrationMIN.json @@ -204,9 +201,8 @@ public async Task Update_CreateOrUpdateDatabaseMigrationResourceWithMinimumParam Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Database Migration resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteDatabaseMigrationResource() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlDbDeleteDatabaseMigration.json @@ -229,12 +225,11 @@ public async Task Delete_DeleteDatabaseMigrationResource() // invoke the operation await databaseMigrationSqlDB.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Stop ongoing migration for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cancel_StopOngoingMigrationForTheDatabase() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlDbCancelDatabaseMigration.json @@ -261,7 +256,7 @@ public async Task Cancel_StopOngoingMigrationForTheDatabase() }; await databaseMigrationSqlDB.CancelAsync(WaitUntil.Completed, input); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DatabaseMigrationSqlMICollection.cs b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DatabaseMigrationSqlMICollection.cs index af37da97a5c6e..79f352cdf9810 100644 --- a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DatabaseMigrationSqlMICollection.cs +++ b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DatabaseMigrationSqlMICollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DataMigration.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DataMigration.Samples { public partial class Sample_DatabaseMigrationSqlMICollection { - // Get Sql MI database Migration with the expand parameter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSqlMIDatabaseMigrationWithTheExpandParameter() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlMiGetDatabaseMigrationExpanded.json @@ -52,9 +52,8 @@ public async Task Get_GetSqlMIDatabaseMigrationWithTheExpandParameter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Sql MI database Migration with the expand parameter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSqlMIDatabaseMigrationWithTheExpandParameter() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlMiGetDatabaseMigrationExpanded.json @@ -84,9 +83,8 @@ public async Task Exists_GetSqlMIDatabaseMigrationWithTheExpandParameter() Console.WriteLine($"Succeeded: {result}"); } - // Get Sql MI database Migration with the expand parameter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSqlMIDatabaseMigrationWithTheExpandParameter() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlMiGetDatabaseMigrationExpanded.json @@ -116,7 +114,7 @@ public async Task GetIfExists_GetSqlMIDatabaseMigrationWithTheExpandParameter() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -128,9 +126,8 @@ public async Task GetIfExists_GetSqlMIDatabaseMigrationWithTheExpandParameter() } } - // Get Sql MI database Migration without the expand parameter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSqlMIDatabaseMigrationWithoutTheExpandParameter() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlMiGetDatabaseMigration.json @@ -163,9 +160,8 @@ public async Task Get_GetSqlMIDatabaseMigrationWithoutTheExpandParameter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Sql MI database Migration without the expand parameter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSqlMIDatabaseMigrationWithoutTheExpandParameter() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlMiGetDatabaseMigration.json @@ -194,9 +190,8 @@ public async Task Exists_GetSqlMIDatabaseMigrationWithoutTheExpandParameter() Console.WriteLine($"Succeeded: {result}"); } - // Get Sql MI database Migration without the expand parameter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSqlMIDatabaseMigrationWithoutTheExpandParameter() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlMiGetDatabaseMigration.json @@ -225,7 +220,7 @@ public async Task GetIfExists_GetSqlMIDatabaseMigrationWithoutTheExpandParameter if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -237,9 +232,8 @@ public async Task GetIfExists_GetSqlMIDatabaseMigrationWithoutTheExpandParameter } } - // Create or Update Database Migration resource with Maximum parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateDatabaseMigrationResourceWithMaximumParameters() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlMiCreateOrUpdateDatabaseMigrationMAX.json @@ -313,9 +307,8 @@ public async Task CreateOrUpdate_CreateOrUpdateDatabaseMigrationResourceWithMaxi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Database Migration resource with Minimum parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateDatabaseMigrationResourceWithMinimumParameters() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlMiCreateOrUpdateDatabaseMigrationMIN.json diff --git a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DatabaseMigrationSqlMIResource.cs b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DatabaseMigrationSqlMIResource.cs index 07cf5b98d8fae..aed635bd24e8e 100644 --- a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DatabaseMigrationSqlMIResource.cs +++ b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DatabaseMigrationSqlMIResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataMigration.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataMigration.Samples { public partial class Sample_DatabaseMigrationSqlMIResource { - // Get Sql MI database Migration with the expand parameter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSqlMIDatabaseMigrationWithTheExpandParameter() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlMiGetDatabaseMigrationExpanded.json @@ -48,9 +48,8 @@ public async Task Get_GetSqlMIDatabaseMigrationWithTheExpandParameter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Sql MI database Migration without the expand parameter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSqlMIDatabaseMigrationWithoutTheExpandParameter() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlMiGetDatabaseMigration.json @@ -80,9 +79,8 @@ public async Task Get_GetSqlMIDatabaseMigrationWithoutTheExpandParameter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Database Migration resource with Maximum parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateDatabaseMigrationResourceWithMaximumParameters() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlMiCreateOrUpdateDatabaseMigrationMAX.json @@ -153,9 +151,8 @@ public async Task Update_CreateOrUpdateDatabaseMigrationResourceWithMaximumParam Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Database Migration resource with Minimum parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateDatabaseMigrationResourceWithMinimumParameters() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlMiCreateOrUpdateDatabaseMigrationMIN.json @@ -221,9 +218,8 @@ public async Task Update_CreateOrUpdateDatabaseMigrationResourceWithMinimumParam Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Stop ongoing migration for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cancel_StopOngoingMigrationForTheDatabase() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlMiCancelDatabaseMigration.json @@ -250,12 +246,11 @@ public async Task Cancel_StopOngoingMigrationForTheDatabase() }; await databaseMigrationSqlMI.CancelAsync(WaitUntil.Completed, input); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Cutover online migration operation for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cutover_CutoverOnlineMigrationOperationForTheDatabase() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlMiCutoverDatabaseMigration.json @@ -282,7 +277,7 @@ public async Task Cutover_CutoverOnlineMigrationOperationForTheDatabase() }; await databaseMigrationSqlMI.CutoverAsync(WaitUntil.Completed, input); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DatabaseMigrationSqlVmCollection.cs b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DatabaseMigrationSqlVmCollection.cs index b91f58076dff4..1e7e50017aec9 100644 --- a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DatabaseMigrationSqlVmCollection.cs +++ b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DatabaseMigrationSqlVmCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DataMigration.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DataMigration.Samples { public partial class Sample_DatabaseMigrationSqlVmCollection { - // Get Sql VM database Migration with the expand parameter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSqlVMDatabaseMigrationWithTheExpandParameter() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlVmGetDatabaseMigrationExpanded.json @@ -52,9 +52,8 @@ public async Task Get_GetSqlVMDatabaseMigrationWithTheExpandParameter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Sql VM database Migration with the expand parameter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSqlVMDatabaseMigrationWithTheExpandParameter() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlVmGetDatabaseMigrationExpanded.json @@ -84,9 +83,8 @@ public async Task Exists_GetSqlVMDatabaseMigrationWithTheExpandParameter() Console.WriteLine($"Succeeded: {result}"); } - // Get Sql VM database Migration with the expand parameter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSqlVMDatabaseMigrationWithTheExpandParameter() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlVmGetDatabaseMigrationExpanded.json @@ -116,7 +114,7 @@ public async Task GetIfExists_GetSqlVMDatabaseMigrationWithTheExpandParameter() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -128,9 +126,8 @@ public async Task GetIfExists_GetSqlVMDatabaseMigrationWithTheExpandParameter() } } - // Get Sql VM database Migration without the expand parameter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSqlVMDatabaseMigrationWithoutTheExpandParameter() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlVmGetDatabaseMigration.json @@ -163,9 +160,8 @@ public async Task Get_GetSqlVMDatabaseMigrationWithoutTheExpandParameter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Sql VM database Migration without the expand parameter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSqlVMDatabaseMigrationWithoutTheExpandParameter() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlVmGetDatabaseMigration.json @@ -194,9 +190,8 @@ public async Task Exists_GetSqlVMDatabaseMigrationWithoutTheExpandParameter() Console.WriteLine($"Succeeded: {result}"); } - // Get Sql VM database Migration without the expand parameter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSqlVMDatabaseMigrationWithoutTheExpandParameter() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlVmGetDatabaseMigration.json @@ -225,7 +220,7 @@ public async Task GetIfExists_GetSqlVMDatabaseMigrationWithoutTheExpandParameter if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -237,9 +232,8 @@ public async Task GetIfExists_GetSqlVMDatabaseMigrationWithoutTheExpandParameter } } - // Create or Update Database Migration resource with Maximum parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateDatabaseMigrationResourceWithMaximumParameters() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlVmCreateOrUpdateDatabaseMigrationMAX.json @@ -313,9 +307,8 @@ public async Task CreateOrUpdate_CreateOrUpdateDatabaseMigrationResourceWithMaxi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Database Migration resource with Minimum parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateDatabaseMigrationResourceWithMinimumParameters() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlVmCreateOrUpdateDatabaseMigrationMIN.json diff --git a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DatabaseMigrationSqlVmResource.cs b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DatabaseMigrationSqlVmResource.cs index 31e8b06c32165..c7aa2822edd63 100644 --- a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DatabaseMigrationSqlVmResource.cs +++ b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_DatabaseMigrationSqlVmResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataMigration.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataMigration.Samples { public partial class Sample_DatabaseMigrationSqlVmResource { - // Get Sql VM database Migration with the expand parameter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSqlVMDatabaseMigrationWithTheExpandParameter() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlVmGetDatabaseMigrationExpanded.json @@ -48,9 +48,8 @@ public async Task Get_GetSqlVMDatabaseMigrationWithTheExpandParameter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Sql VM database Migration without the expand parameter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSqlVMDatabaseMigrationWithoutTheExpandParameter() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlVmGetDatabaseMigration.json @@ -80,9 +79,8 @@ public async Task Get_GetSqlVMDatabaseMigrationWithoutTheExpandParameter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Database Migration resource with Maximum parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateDatabaseMigrationResourceWithMaximumParameters() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlVmCreateOrUpdateDatabaseMigrationMAX.json @@ -153,9 +151,8 @@ public async Task Update_CreateOrUpdateDatabaseMigrationResourceWithMaximumParam Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Database Migration resource with Minimum parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateDatabaseMigrationResourceWithMinimumParameters() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlVmCreateOrUpdateDatabaseMigrationMIN.json @@ -221,9 +218,8 @@ public async Task Update_CreateOrUpdateDatabaseMigrationResourceWithMinimumParam Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Stop ongoing migration for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cancel_StopOngoingMigrationForTheDatabase() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlVmCancelDatabaseMigration.json @@ -250,12 +246,11 @@ public async Task Cancel_StopOngoingMigrationForTheDatabase() }; await databaseMigrationSqlVm.CancelAsync(WaitUntil.Completed, input); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Cutover online migration operation for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cutover_CutoverOnlineMigrationOperationForTheDatabase() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/SqlVmCutoverDatabaseMigration.json @@ -282,7 +277,7 @@ public async Task Cutover_CutoverOnlineMigrationOperationForTheDatabase() }; await databaseMigrationSqlVm.CutoverAsync(WaitUntil.Completed, input); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ProjectCollection.cs b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ProjectCollection.cs index 86d1fe378bc5e..f655b71824fda 100644 --- a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ProjectCollection.cs +++ b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ProjectCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataMigration.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataMigration.Samples { public partial class Sample_ProjectCollection { - // Projects_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ProjectsList() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Projects_List.json @@ -49,12 +49,11 @@ public async Task GetAll_ProjectsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Projects_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ProjectsCreateOrUpdate() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Projects_CreateOrUpdate.json @@ -93,9 +92,8 @@ public async Task CreateOrUpdate_ProjectsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Projects_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProjectsGet() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Projects_Get.json @@ -128,9 +126,8 @@ public async Task Get_ProjectsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Projects_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ProjectsGet() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Projects_Get.json @@ -159,9 +156,8 @@ public async Task Exists_ProjectsGet() Console.WriteLine($"Succeeded: {result}"); } - // Projects_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ProjectsGet() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Projects_Get.json @@ -190,7 +186,7 @@ public async Task GetIfExists_ProjectsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ProjectFileCollection.cs b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ProjectFileCollection.cs index 56c37e2c5af4e..435c72459589f 100644 --- a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ProjectFileCollection.cs +++ b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ProjectFileCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataMigration.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataMigration.Samples { public partial class Sample_ProjectFileCollection { - // Files_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_FilesList() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Files_List.json @@ -50,12 +50,11 @@ public async Task GetAll_FilesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Files_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FilesList() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Files_Get.json @@ -89,9 +88,8 @@ public async Task Get_FilesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Files_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_FilesList() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Files_Get.json @@ -121,9 +119,8 @@ public async Task Exists_FilesList() Console.WriteLine($"Succeeded: {result}"); } - // Files_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_FilesList() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Files_Get.json @@ -153,7 +150,7 @@ public async Task GetIfExists_FilesList() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_FilesList() } } - // Files_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_FilesCreateOrUpdate() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Files_CreateOrUpdate.json diff --git a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ProjectFileResource.cs b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ProjectFileResource.cs index b4ee4357075f3..9ff95fafc82fa 100644 --- a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ProjectFileResource.cs +++ b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ProjectFileResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataMigration.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataMigration.Samples { public partial class Sample_ProjectFileResource { - // Files_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FilesList() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Files_Get.json @@ -48,9 +48,8 @@ public async Task Get_FilesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Files_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_FilesDelete() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Files_Delete.json @@ -74,12 +73,11 @@ public async Task Delete_FilesDelete() // invoke the operation await projectFile.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Files_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_FilesUpdate() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Files_Update.json @@ -117,9 +115,8 @@ public async Task Update_FilesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Files_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Read_FilesList() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Files_Read.json @@ -146,9 +143,8 @@ public async Task Read_FilesList() Console.WriteLine($"Succeeded: {result}"); } - // Files_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ReadWrite_FilesList() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Files_ReadWrite.json diff --git a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ProjectResource.cs b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ProjectResource.cs index 7427a41d69431..f62ffc44cac85 100644 --- a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ProjectResource.cs +++ b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ProjectResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataMigration.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataMigration.Samples { public partial class Sample_ProjectResource { - // Projects_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProjectsGet() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Projects_Get.json @@ -47,9 +47,8 @@ public async Task Get_ProjectsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Projects_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ProjectsDelete() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Projects_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_ProjectsDelete() // invoke the operation await project.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Projects_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ProjectsUpdate() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Projects_Update.json diff --git a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ServiceProjectTaskCollection.cs b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ServiceProjectTaskCollection.cs index 60890f3f27dd0..31915a71570a6 100644 --- a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ServiceProjectTaskCollection.cs +++ b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ServiceProjectTaskCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataMigration.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataMigration.Samples { public partial class Sample_ServiceProjectTaskCollection { - // Tasks_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_TasksList() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Tasks_List.json @@ -50,12 +50,11 @@ public async Task GetAll_TasksList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Tasks_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TasksCreateOrUpdate() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Tasks_CreateOrUpdate.json @@ -104,9 +103,8 @@ public async Task CreateOrUpdate_TasksCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Tasks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TasksGet() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Tasks_Get.json @@ -140,9 +138,8 @@ public async Task Get_TasksGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Tasks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_TasksGet() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Tasks_Get.json @@ -172,9 +169,8 @@ public async Task Exists_TasksGet() Console.WriteLine($"Succeeded: {result}"); } - // Tasks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TasksGet() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Tasks_Get.json @@ -204,7 +200,7 @@ public async Task GetIfExists_TasksGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ServiceProjectTaskResource.cs b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ServiceProjectTaskResource.cs index 6929bf3aa4b6e..3a1d106e652f0 100644 --- a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ServiceProjectTaskResource.cs +++ b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ServiceProjectTaskResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataMigration.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataMigration.Samples { public partial class Sample_ServiceProjectTaskResource { - // Tasks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TasksGet() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Tasks_Get.json @@ -48,9 +48,8 @@ public async Task Get_TasksGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Tasks_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_TasksDelete() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Tasks_Delete.json @@ -74,12 +73,11 @@ public async Task Delete_TasksDelete() // invoke the operation await serviceProjectTask.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Tasks_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TasksUpdate() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Tasks_Update.json @@ -124,9 +122,8 @@ public async Task Update_TasksUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Tasks_Cancel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cancel_TasksCancel() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Tasks_Cancel.json @@ -157,9 +154,8 @@ public async Task Cancel_TasksCancel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Tasks_Command - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Command_TasksCommand() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Tasks_Command.json diff --git a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ServiceServiceTaskCollection.cs b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ServiceServiceTaskCollection.cs index 41bb2a3e59999..79eb998ec2baa 100644 --- a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ServiceServiceTaskCollection.cs +++ b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ServiceServiceTaskCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataMigration.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataMigration.Samples { public partial class Sample_ServiceServiceTaskCollection { - // ServiceTasks_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ServiceTasksList() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/ServiceTasks_List.json @@ -49,12 +49,11 @@ public async Task GetAll_ServiceTasksList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Tasks_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TasksCreateOrUpdate() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/ServiceTasks_CreateOrUpdate.json @@ -95,9 +94,8 @@ public async Task CreateOrUpdate_TasksCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Tasks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TasksGet() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/ServiceTasks_Get.json @@ -130,9 +128,8 @@ public async Task Get_TasksGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Tasks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_TasksGet() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/ServiceTasks_Get.json @@ -161,9 +158,8 @@ public async Task Exists_TasksGet() Console.WriteLine($"Succeeded: {result}"); } - // Tasks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TasksGet() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/ServiceTasks_Get.json @@ -192,7 +188,7 @@ public async Task GetIfExists_TasksGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ServiceServiceTaskResource.cs b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ServiceServiceTaskResource.cs index 3b2923303df43..8a80135c9be33 100644 --- a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ServiceServiceTaskResource.cs +++ b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_ServiceServiceTaskResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataMigration.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataMigration.Samples { public partial class Sample_ServiceServiceTaskResource { - // Tasks_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TasksGet() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/ServiceTasks_Get.json @@ -47,9 +47,8 @@ public async Task Get_TasksGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Tasks_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_TasksDelete() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/ServiceTasks_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_TasksDelete() // invoke the operation await serviceServiceTask.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Tasks_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TasksUpdate() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/ServiceTasks_Update.json @@ -114,9 +112,8 @@ public async Task Update_TasksUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Tasks_Cancel - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cancel_TasksCancel() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/ServiceTasks_Cancel.json diff --git a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_SqlMigrationServiceCollection.cs b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_SqlMigrationServiceCollection.cs index 2e7ee8eedca59..98feb91267fb2 100644 --- a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_SqlMigrationServiceCollection.cs +++ b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_SqlMigrationServiceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DataMigration.Samples { public partial class Sample_SqlMigrationServiceCollection { - // Get Migration Service. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMigrationService() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/GetMigrationService.json @@ -49,9 +49,8 @@ public async Task Get_GetMigrationService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Migration Service. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetMigrationService() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/GetMigrationService.json @@ -79,9 +78,8 @@ public async Task Exists_GetMigrationService() Console.WriteLine($"Succeeded: {result}"); } - // Get Migration Service. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetMigrationService() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/GetMigrationService.json @@ -109,7 +107,7 @@ public async Task GetIfExists_GetMigrationService() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_GetMigrationService() } } - // Create or Update SQL Migration Service with maximum parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateSQLMigrationServiceWithMaximumParameters() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/CreateOrUpdateMigrationServiceMAX.json @@ -157,9 +154,8 @@ public async Task CreateOrUpdate_CreateOrUpdateSQLMigrationServiceWithMaximumPar Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update SQL Migration Service with minimum parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateSQLMigrationServiceWithMinimumParameters() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/CreateOrUpdateMigrationServiceMIN.json @@ -193,9 +189,8 @@ public async Task CreateOrUpdate_CreateOrUpdateSQLMigrationServiceWithMinimumPar Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Migration Services in the Resource Group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetMigrationServicesInTheResourceGroup() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/ListByResourceGroupMigrationService.json @@ -226,7 +221,7 @@ public async Task GetAll_GetMigrationServicesInTheResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_SqlMigrationServiceResource.cs b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_SqlMigrationServiceResource.cs index b42e4f3b424c6..046e5c05eadf8 100644 --- a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_SqlMigrationServiceResource.cs +++ b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_SqlMigrationServiceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DataMigration.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DataMigration.Samples { public partial class Sample_SqlMigrationServiceResource { - // Get Migration Service. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMigrationService() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/GetMigrationService.json @@ -47,9 +47,8 @@ public async Task Get_GetMigrationService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete SQL Migration Service. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSQLMigrationService() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/DeleteMigrationService.json @@ -71,12 +70,11 @@ public async Task Delete_DeleteSQLMigrationService() // invoke the operation await sqlMigrationService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update SQL Migration Service. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateSQLMigrationService() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/UpdateMigrationService.json @@ -113,9 +111,8 @@ public async Task Update_UpdateSQLMigrationService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve the List of Authentication Keys. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAuthKeys_RetrieveTheListOfAuthenticationKeys() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/ListAuthKeysMigrationService.json @@ -140,9 +137,8 @@ public async Task GetAuthKeys_RetrieveTheListOfAuthenticationKeys() Console.WriteLine($"Succeeded: {result}"); } - // Regenerate the of Authentication Keys. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateAuthKeys_RegenerateTheOfAuthenticationKeys() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/RegenAuthKeysMigrationService.json @@ -171,9 +167,8 @@ public async Task RegenerateAuthKeys_RegenerateTheOfAuthenticationKeys() Console.WriteLine($"Succeeded: {result}"); } - // Delete the integration runtime node. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteNode_DeleteTheIntegrationRuntimeNode() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/DeleteIntegrationRuntimeNode.json @@ -203,9 +198,8 @@ public async Task DeleteNode_DeleteTheIntegrationRuntimeNode() Console.WriteLine($"Succeeded: {result}"); } - // List database migrations attached to the service. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMigrations_ListDatabaseMigrationsAttachedToTheService() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/ListMigrationsByMigrationService.json @@ -230,12 +224,11 @@ public async Task GetMigrations_ListDatabaseMigrationsAttachedToTheService() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Retrieve the Monitoring Data. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMonitoringData_RetrieveTheMonitoringData() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/GetMonitorDataMigrationService.json @@ -260,9 +253,8 @@ public async Task GetMonitoringData_RetrieveTheMonitoringData() Console.WriteLine($"Succeeded: {result}"); } - // Get Services in the Subscriptions. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSqlMigrationServices_GetServicesInTheSubscriptions() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/ListBySubscriptionMigrationService.json @@ -289,7 +281,7 @@ public async Task GetSqlMigrationServices_GetServicesInTheSubscriptions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index bb128768ccbd8..f3f1bb83637d2 100644 --- a/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/datamigration/Azure.ResourceManager.DataMigration/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DataMigration.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DataMigration.Samples { public partial class Sample_SubscriptionResourceExtensions { - // ListSkus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSkusResourceSkus_ListSkus() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/ResourceSkus_ListSkus.json @@ -41,12 +41,11 @@ public async Task GetSkusResourceSkus_ListSkus() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Services_Usages - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsages_ServicesUsages() { // Generated from example definition: specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2022-03-30-preview/examples/Usages_List.json @@ -70,7 +69,7 @@ public async Task GetUsages_ServicesUsages() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareAccountCollection.cs b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareAccountCollection.cs index ac20030255cee..cfb0a68ce7f84 100644 --- a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareAccountCollection.cs +++ b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareAccountCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DataShare.Samples { public partial class Sample_DataShareAccountCollection { - // Accounts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AccountsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Accounts_Get.json @@ -50,9 +50,8 @@ public async Task Get_AccountsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Accounts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AccountsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Accounts_Get.json @@ -80,9 +79,8 @@ public async Task Exists_AccountsGet() Console.WriteLine($"Succeeded: {result}"); } - // Accounts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AccountsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Accounts_Get.json @@ -110,7 +108,7 @@ public async Task GetIfExists_AccountsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_AccountsGet() } } - // Accounts_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AccountsCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Accounts_Create.json @@ -165,9 +162,8 @@ public async Task CreateOrUpdate_AccountsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Accounts_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AccountsListByResourceGroup() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Accounts_ListByResourceGroup.json @@ -198,7 +194,7 @@ public async Task GetAll_AccountsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareAccountResource.cs b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareAccountResource.cs index df5712fb84534..fab017ba45d19 100644 --- a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareAccountResource.cs +++ b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareAccountResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DataShare.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DataShare.Samples { public partial class Sample_DataShareAccountResource { - // Accounts_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDataShareAccounts_AccountsListBySubscription() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Accounts_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetDataShareAccounts_AccountsListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Accounts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AccountsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Accounts_Get.json @@ -79,9 +78,8 @@ public async Task Get_AccountsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Accounts_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AccountsDelete() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Accounts_Delete.json @@ -107,9 +105,8 @@ public async Task Delete_AccountsDelete() Console.WriteLine($"Succeeded: {result}"); } - // Accounts_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AccountsUpdate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Accounts_Update.json diff --git a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareCollection.cs b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareCollection.cs index cf7581974491a..5407952db2980 100644 --- a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareCollection.cs +++ b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataShare.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataShare.Samples { public partial class Sample_DataShareCollection { - // Shares_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SharesGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Shares_Get.json @@ -50,9 +50,8 @@ public async Task Get_SharesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Shares_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SharesGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Shares_Get.json @@ -81,9 +80,8 @@ public async Task Exists_SharesGet() Console.WriteLine($"Succeeded: {result}"); } - // Shares_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SharesGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Shares_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_SharesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_SharesGet() } } - // Shares_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SharesCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Shares_Create.json @@ -166,9 +163,8 @@ public async Task CreateOrUpdate_SharesCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Shares_ListByAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SharesListByAccount() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Shares_ListByAccount.json @@ -200,7 +196,7 @@ public async Task GetAll_SharesListByAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareConsumerInvitationCollection.cs b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareConsumerInvitationCollection.cs index 7157d793866ed..185890fc10076 100644 --- a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareConsumerInvitationCollection.cs +++ b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareConsumerInvitationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DataShare.Samples { public partial class Sample_DataShareConsumerInvitationCollection { - // ConsumerInvitations_ListInvitations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ConsumerInvitationsListInvitations() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ConsumerInvitations_ListInvitations.json @@ -44,12 +44,11 @@ public async Task GetAll_ConsumerInvitationsListInvitations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ConsumerInvitations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConsumerInvitationsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ConsumerInvitations_Get.json @@ -79,9 +78,8 @@ public async Task Get_ConsumerInvitationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConsumerInvitations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ConsumerInvitationsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ConsumerInvitations_Get.json @@ -107,9 +105,8 @@ public async Task Exists_ConsumerInvitationsGet() Console.WriteLine($"Succeeded: {result}"); } - // ConsumerInvitations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ConsumerInvitationsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ConsumerInvitations_Get.json @@ -135,7 +132,7 @@ public async Task GetIfExists_ConsumerInvitationsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareConsumerInvitationResource.cs b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareConsumerInvitationResource.cs index 20cb123642a88..640ac4537bdac 100644 --- a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareConsumerInvitationResource.cs +++ b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareConsumerInvitationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DataShare.Samples { public partial class Sample_DataShareConsumerInvitationResource { - // ConsumerInvitations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ConsumerInvitationsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ConsumerInvitations_Get.json @@ -44,9 +44,8 @@ public async Task Get_ConsumerInvitationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ConsumerInvitations_RejectInvitation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RejectConsumerInvitation_ConsumerInvitationsRejectInvitation() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ConsumerInvitations_RejectInvitation.json diff --git a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareInvitationCollection.cs b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareInvitationCollection.cs index d3fd5024511ed..daf78154b00f7 100644 --- a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareInvitationCollection.cs +++ b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareInvitationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DataShare.Samples { public partial class Sample_DataShareInvitationCollection { - // Invitations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_InvitationsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Invitations_Get.json @@ -50,9 +50,8 @@ public async Task Get_InvitationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Invitations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_InvitationsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Invitations_Get.json @@ -82,9 +81,8 @@ public async Task Exists_InvitationsGet() Console.WriteLine($"Succeeded: {result}"); } - // Invitations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_InvitationsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Invitations_Get.json @@ -114,7 +112,7 @@ public async Task GetIfExists_InvitationsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -126,9 +124,8 @@ public async Task GetIfExists_InvitationsGet() } } - // Invitations_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_InvitationsCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Invitations_Create.json @@ -168,9 +165,8 @@ public async Task CreateOrUpdate_InvitationsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Invitations_ListByShare - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_InvitationsListByShare() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Invitations_ListByShare.json @@ -203,7 +199,7 @@ public async Task GetAll_InvitationsListByShare() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareInvitationResource.cs b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareInvitationResource.cs index 81db28c949272..398a55c733ebf 100644 --- a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareInvitationResource.cs +++ b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareInvitationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DataShare.Samples { public partial class Sample_DataShareInvitationResource { - // Invitations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_InvitationsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Invitations_Get.json @@ -47,9 +47,8 @@ public async Task Get_InvitationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Invitations_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_InvitationsCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Invitations_Create.json @@ -86,9 +85,8 @@ public async Task Update_InvitationsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Invitations_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_InvitationsDelete() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Invitations_Delete.json @@ -112,7 +110,7 @@ public async Task Delete_InvitationsDelete() // invoke the operation await dataShareInvitation.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareResource.cs b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareResource.cs index fe9ca6f6cb8f8..78b39b30a44f8 100644 --- a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareResource.cs +++ b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataShare.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataShare.Samples { public partial class Sample_DataShareResource { - // Shares_ListSynchronizationDetails - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSynchronizationDetails_SharesListSynchronizationDetails() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Shares_ListSynchronizationDetails.json @@ -47,12 +47,11 @@ public async Task GetSynchronizationDetails_SharesListSynchronizationDetails() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Shares_ListSynchronizations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSynchronizations_SharesListSynchronizations() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Shares_ListSynchronizations.json @@ -78,12 +77,11 @@ public async Task GetSynchronizations_SharesListSynchronizations() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Shares_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SharesGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Shares_Get.json @@ -113,9 +111,8 @@ public async Task Get_SharesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Shares_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SharesCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Shares_Create.json @@ -152,9 +149,8 @@ public async Task Update_SharesCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Shares_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SharesDelete() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Shares_Delete.json diff --git a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareSynchronizationSettingCollection.cs b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareSynchronizationSettingCollection.cs index c1ca7e3fa1dc7..8710ee155003b 100644 --- a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareSynchronizationSettingCollection.cs +++ b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareSynchronizationSettingCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataShare.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataShare.Samples { public partial class Sample_DataShareSynchronizationSettingCollection { - // SynchronizationSettings_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SynchronizationSettingsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/SynchronizationSettings_Get.json @@ -51,9 +51,8 @@ public async Task Get_SynchronizationSettingsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SynchronizationSettings_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SynchronizationSettingsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/SynchronizationSettings_Get.json @@ -83,9 +82,8 @@ public async Task Exists_SynchronizationSettingsGet() Console.WriteLine($"Succeeded: {result}"); } - // SynchronizationSettings_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SynchronizationSettingsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/SynchronizationSettings_Get.json @@ -115,7 +113,7 @@ public async Task GetIfExists_SynchronizationSettingsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_SynchronizationSettingsGet() } } - // SynchronizationSettings_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SynchronizationSettingsCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/SynchronizationSettings_Create.json @@ -165,9 +162,8 @@ public async Task CreateOrUpdate_SynchronizationSettingsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SynchronizationSettings_ListByShare - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SynchronizationSettingsListByShare() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/SynchronizationSettings_ListByShare.json @@ -200,7 +196,7 @@ public async Task GetAll_SynchronizationSettingsListByShare() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareSynchronizationSettingResource.cs b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareSynchronizationSettingResource.cs index f8f3f412f0bb3..42e428b087def 100644 --- a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareSynchronizationSettingResource.cs +++ b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareSynchronizationSettingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataShare.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataShare.Samples { public partial class Sample_DataShareSynchronizationSettingResource { - // SynchronizationSettings_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SynchronizationSettingsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/SynchronizationSettings_Get.json @@ -48,9 +48,8 @@ public async Task Get_SynchronizationSettingsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SynchronizationSettings_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SynchronizationSettingsCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/SynchronizationSettings_Create.json @@ -83,9 +82,8 @@ public async Task Update_SynchronizationSettingsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SynchronizationSettings_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SynchronizationSettingsDelete() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/SynchronizationSettings_Delete.json diff --git a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareTriggerCollection.cs b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareTriggerCollection.cs index 585f4aa025303..8e9c63273123b 100644 --- a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareTriggerCollection.cs +++ b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareTriggerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataShare.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataShare.Samples { public partial class Sample_DataShareTriggerCollection { - // Triggers_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TriggersGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Triggers_Get.json @@ -51,9 +51,8 @@ public async Task Get_TriggersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Triggers_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_TriggersGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Triggers_Get.json @@ -83,9 +82,8 @@ public async Task Exists_TriggersGet() Console.WriteLine($"Succeeded: {result}"); } - // Triggers_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TriggersGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Triggers_Get.json @@ -115,7 +113,7 @@ public async Task GetIfExists_TriggersGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_TriggersGet() } } - // Triggers_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TriggersCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Triggers_Create.json @@ -168,9 +165,8 @@ public async Task CreateOrUpdate_TriggersCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Triggers_ListByShareSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_TriggersListByShareSubscription() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Triggers_ListByShareSubscription.json @@ -203,7 +199,7 @@ public async Task GetAll_TriggersListByShareSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareTriggerResource.cs b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareTriggerResource.cs index 12fd141ca48af..d8e8b6e636feb 100644 --- a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareTriggerResource.cs +++ b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_DataShareTriggerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataShare.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataShare.Samples { public partial class Sample_DataShareTriggerResource { - // Triggers_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TriggersGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Triggers_Get.json @@ -48,9 +48,8 @@ public async Task Get_TriggersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Triggers_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TriggersCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Triggers_Create.json @@ -86,9 +85,8 @@ public async Task Update_TriggersCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Triggers_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_TriggersDelete() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/Triggers_Delete.json diff --git a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ProviderShareSubscriptionCollection.cs b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ProviderShareSubscriptionCollection.cs index f0c4f35dbc700..551c835619f32 100644 --- a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ProviderShareSubscriptionCollection.cs +++ b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ProviderShareSubscriptionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DataShare.Samples { public partial class Sample_ProviderShareSubscriptionCollection { - // ProviderShareSubscriptions_GetByShare - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProviderShareSubscriptionsGetByShare() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ProviderShareSubscriptions_GetByShare.json @@ -50,9 +50,8 @@ public async Task Get_ProviderShareSubscriptionsGetByShare() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ProviderShareSubscriptions_GetByShare - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ProviderShareSubscriptionsGetByShare() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ProviderShareSubscriptions_GetByShare.json @@ -82,9 +81,8 @@ public async Task Exists_ProviderShareSubscriptionsGetByShare() Console.WriteLine($"Succeeded: {result}"); } - // ProviderShareSubscriptions_GetByShare - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ProviderShareSubscriptionsGetByShare() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ProviderShareSubscriptions_GetByShare.json @@ -114,7 +112,7 @@ public async Task GetIfExists_ProviderShareSubscriptionsGetByShare() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -126,9 +124,8 @@ public async Task GetIfExists_ProviderShareSubscriptionsGetByShare() } } - // ProviderShareSubscriptions_ListByShare - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ProviderShareSubscriptionsListByShare() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ProviderShareSubscriptions_ListByShare.json @@ -161,7 +158,7 @@ public async Task GetAll_ProviderShareSubscriptionsListByShare() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ProviderShareSubscriptionResource.cs b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ProviderShareSubscriptionResource.cs index e4c8786a1270d..b54a352b17e57 100644 --- a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ProviderShareSubscriptionResource.cs +++ b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ProviderShareSubscriptionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DataShare.Samples { public partial class Sample_ProviderShareSubscriptionResource { - // ProviderShareSubscriptions_Adjust - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Adjust_ProviderShareSubscriptionsAdjust() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ProviderShareSubscriptions_Adjust.json @@ -51,9 +51,8 @@ public async Task Adjust_ProviderShareSubscriptionsAdjust() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ProviderShareSubscriptions_Reinstate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reinstate_ProviderShareSubscriptionsReinstate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ProviderShareSubscriptions_Reinstate.json @@ -88,9 +87,8 @@ public async Task Reinstate_ProviderShareSubscriptionsReinstate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ProviderShareSubscriptions_Revoke - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Revoke_ProviderShareSubscriptionsRevoke() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ProviderShareSubscriptions_Revoke.json @@ -122,9 +120,8 @@ public async Task Revoke_ProviderShareSubscriptionsRevoke() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ProviderShareSubscriptions_GetByShare - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProviderShareSubscriptionsGetByShare() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ProviderShareSubscriptions_GetByShare.json diff --git a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ShareDataSetCollection.cs b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ShareDataSetCollection.cs index f94e6aa419a1e..46a5aa3bdb3e9 100644 --- a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ShareDataSetCollection.cs +++ b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ShareDataSetCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataShare.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataShare.Samples { public partial class Sample_ShareDataSetCollection { - // DataSets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DataSetsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSets_Get.json @@ -51,9 +51,8 @@ public async Task Get_DataSetsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DataSetsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSets_Get.json @@ -83,9 +82,8 @@ public async Task Exists_DataSetsGet() Console.WriteLine($"Succeeded: {result}"); } - // DataSets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DataSetsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSets_Get.json @@ -115,7 +113,7 @@ public async Task GetIfExists_DataSetsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_DataSetsGet() } } - // DataSets_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DataSetsCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSets_Create.json @@ -165,9 +162,8 @@ public async Task CreateOrUpdate_DataSetsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSets_KustoCluster_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DataSetsKustoClusterCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSets_KustoCluster_Create.json @@ -203,9 +199,8 @@ public async Task CreateOrUpdate_DataSetsKustoClusterCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSets_KustoDatabase_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DataSetsKustoDatabaseCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSets_KustoDatabase_Create.json @@ -241,9 +236,8 @@ public async Task CreateOrUpdate_DataSetsKustoDatabaseCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSets_KustoTable_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DataSetsKustoTableCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSets_KustoTable_Create.json @@ -305,9 +299,8 @@ public async Task CreateOrUpdate_DataSetsKustoTableCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSets_SqlDBTable_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DataSetsSqlDBTableCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSets_SqlDBTable_Create.json @@ -349,9 +342,8 @@ public async Task CreateOrUpdate_DataSetsSqlDBTableCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSets_SqlDWTable_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DataSetsSqlDWTableCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSets_SqlDWTable_Create.json @@ -393,9 +385,8 @@ public async Task CreateOrUpdate_DataSetsSqlDWTableCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSets_SynapseWorkspaceSqlPoolTable_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DataSetsSynapseWorkspaceSqlPoolTableCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSets_SynapseWorkspaceSqlPoolTable_Create.json @@ -431,9 +422,8 @@ public async Task CreateOrUpdate_DataSetsSynapseWorkspaceSqlPoolTableCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSets_ListByShare - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DataSetsListByShare() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSets_ListByShare.json @@ -466,7 +456,7 @@ public async Task GetAll_DataSetsListByShare() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ShareDataSetMappingCollection.cs b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ShareDataSetMappingCollection.cs index 8330e69462401..854cd863e3fca 100644 --- a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ShareDataSetMappingCollection.cs +++ b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ShareDataSetMappingCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataShare.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataShare.Samples { public partial class Sample_ShareDataSetMappingCollection { - // DataSetMappings_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DataSetMappingsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSetMappings_Get.json @@ -51,9 +51,8 @@ public async Task Get_DataSetMappingsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSetMappings_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DataSetMappingsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSetMappings_Get.json @@ -83,9 +82,8 @@ public async Task Exists_DataSetMappingsGet() Console.WriteLine($"Succeeded: {result}"); } - // DataSetMappings_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DataSetMappingsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSetMappings_Get.json @@ -115,7 +113,7 @@ public async Task GetIfExists_DataSetMappingsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_DataSetMappingsGet() } } - // DataSetMappings_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DataSetMappingsCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSetMappings_Create.json @@ -165,9 +162,8 @@ public async Task CreateOrUpdate_DataSetMappingsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSetMappings_SqlDB_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DataSetMappingsSqlDBCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSetMappings_SqlDB_Create.json @@ -203,9 +199,8 @@ public async Task CreateOrUpdate_DataSetMappingsSqlDBCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSetMappings_SqlDWDataSetToAdlsGen2File_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DataSetMappingsSqlDWDataSetToAdlsGen2FileCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSetMappings_SqlDWDataSetToAdlsGen2File_Create.json @@ -244,9 +239,8 @@ public async Task CreateOrUpdate_DataSetMappingsSqlDWDataSetToAdlsGen2FileCreate Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSetMappings_SqlDW_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DataSetMappingsSqlDWCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSetMappings_SqlDW_Create.json @@ -282,9 +276,8 @@ public async Task CreateOrUpdate_DataSetMappingsSqlDWCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSetMappings_SynapseWorkspaceSqlPoolTable_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DataSetMappingsSynapseWorkspaceSqlPoolTableCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSetMappings_SynapseWorkspaceSqlPoolTable_Create.json @@ -320,9 +313,8 @@ public async Task CreateOrUpdate_DataSetMappingsSynapseWorkspaceSqlPoolTableCrea Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSetMappings_ListByShareSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DataSetMappingsListByShareSubscription() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSetMappings_ListByShareSubscription.json @@ -355,7 +347,7 @@ public async Task GetAll_DataSetMappingsListByShareSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ShareDataSetMappingResource.cs b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ShareDataSetMappingResource.cs index 2047dbeeeedde..83fe916d29c54 100644 --- a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ShareDataSetMappingResource.cs +++ b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ShareDataSetMappingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataShare.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataShare.Samples { public partial class Sample_ShareDataSetMappingResource { - // DataSetMappings_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DataSetMappingsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSetMappings_Get.json @@ -48,9 +48,8 @@ public async Task Get_DataSetMappingsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSetMappings_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DataSetMappingsCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSetMappings_Create.json @@ -83,9 +82,8 @@ public async Task Update_DataSetMappingsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSetMappings_SqlDB_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DataSetMappingsSqlDBCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSetMappings_SqlDB_Create.json @@ -118,9 +116,8 @@ public async Task Update_DataSetMappingsSqlDBCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSetMappings_SqlDWDataSetToAdlsGen2File_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DataSetMappingsSqlDWDataSetToAdlsGen2FileCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSetMappings_SqlDWDataSetToAdlsGen2File_Create.json @@ -156,9 +153,8 @@ public async Task Update_DataSetMappingsSqlDWDataSetToAdlsGen2FileCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSetMappings_SqlDW_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DataSetMappingsSqlDWCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSetMappings_SqlDW_Create.json @@ -191,9 +187,8 @@ public async Task Update_DataSetMappingsSqlDWCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSetMappings_SynapseWorkspaceSqlPoolTable_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DataSetMappingsSynapseWorkspaceSqlPoolTableCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSetMappings_SynapseWorkspaceSqlPoolTable_Create.json @@ -226,9 +221,8 @@ public async Task Update_DataSetMappingsSynapseWorkspaceSqlPoolTableCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSetMappings_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DataSetMappingsDelete() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSetMappings_Delete.json @@ -252,7 +246,7 @@ public async Task Delete_DataSetMappingsDelete() // invoke the operation await shareDataSetMapping.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ShareDataSetResource.cs b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ShareDataSetResource.cs index db0d59769324d..a3528a440ecaf 100644 --- a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ShareDataSetResource.cs +++ b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ShareDataSetResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataShare.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataShare.Samples { public partial class Sample_ShareDataSetResource { - // DataSets_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DataSetsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSets_Get.json @@ -48,9 +48,8 @@ public async Task Get_DataSetsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSets_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DataSetsCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSets_Create.json @@ -83,9 +82,8 @@ public async Task Update_DataSetsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSets_KustoCluster_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DataSetsKustoClusterCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSets_KustoCluster_Create.json @@ -118,9 +116,8 @@ public async Task Update_DataSetsKustoClusterCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSets_KustoDatabase_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DataSetsKustoDatabaseCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSets_KustoDatabase_Create.json @@ -153,9 +150,8 @@ public async Task Update_DataSetsKustoDatabaseCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSets_KustoTable_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DataSetsKustoTableCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSets_KustoTable_Create.json @@ -214,9 +210,8 @@ public async Task Update_DataSetsKustoTableCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSets_SqlDBTable_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DataSetsSqlDBTableCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSets_SqlDBTable_Create.json @@ -255,9 +250,8 @@ public async Task Update_DataSetsSqlDBTableCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSets_SqlDWTable_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DataSetsSqlDWTableCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSets_SqlDWTable_Create.json @@ -296,9 +290,8 @@ public async Task Update_DataSetsSqlDWTableCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSets_SynapseWorkspaceSqlPoolTable_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DataSetsSynapseWorkspaceSqlPoolTableCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSets_SynapseWorkspaceSqlPoolTable_Create.json @@ -331,9 +324,8 @@ public async Task Update_DataSetsSynapseWorkspaceSqlPoolTableCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DataSets_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DataSetsDelete() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/DataSets_Delete.json @@ -357,7 +349,7 @@ public async Task Delete_DataSetsDelete() // invoke the operation await shareDataSet.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ShareSubscriptionCollection.cs b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ShareSubscriptionCollection.cs index 9f85435c00daa..bf5e447898dc8 100644 --- a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ShareSubscriptionCollection.cs +++ b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ShareSubscriptionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DataShare.Samples { public partial class Sample_ShareSubscriptionCollection { - // ShareSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ShareSubscriptionsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ShareSubscriptions_Get.json @@ -49,9 +49,8 @@ public async Task Get_ShareSubscriptionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ShareSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ShareSubscriptionsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ShareSubscriptions_Get.json @@ -80,9 +79,8 @@ public async Task Exists_ShareSubscriptionsGet() Console.WriteLine($"Succeeded: {result}"); } - // ShareSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ShareSubscriptionsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ShareSubscriptions_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_ShareSubscriptionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_ShareSubscriptionsGet() } } - // ShareSubscriptions_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ShareSubscriptionsCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ShareSubscriptions_Create.json @@ -163,9 +160,8 @@ public async Task CreateOrUpdate_ShareSubscriptionsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ShareSubscriptions_ListByAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ShareSubscriptionsListByAccount() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ShareSubscriptions_ListByAccount.json @@ -197,7 +193,7 @@ public async Task GetAll_ShareSubscriptionsListByAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ShareSubscriptionResource.cs b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ShareSubscriptionResource.cs index 6ddd681886b5a..469da1cf68bb5 100644 --- a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ShareSubscriptionResource.cs +++ b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_ShareSubscriptionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataShare.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataShare.Samples { public partial class Sample_ShareSubscriptionResource { - // ShareSubscriptions_CancelSynchronization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CancelSynchronization_ShareSubscriptionsCancelSynchronization() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ShareSubscriptions_CancelSynchronization.json @@ -45,9 +45,8 @@ public async Task CancelSynchronization_ShareSubscriptionsCancelSynchronization( Console.WriteLine($"Succeeded: {result}"); } - // ShareSubscriptions_ListSourceShareSynchronizationSettings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSourceShareSynchronizationSettings_ShareSubscriptionsListSourceShareSynchronizationSettings() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ShareSubscriptions_ListSourceShareSynchronizationSettings.json @@ -73,12 +72,11 @@ public async Task GetSourceShareSynchronizationSettings_ShareSubscriptionsListSo Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ShareSubscriptions_ListSynchronizationDetails - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSynchronizationDetails_ShareSubscriptionsListSynchronizationDetails() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ShareSubscriptions_ListSynchronizationDetails.json @@ -105,12 +103,11 @@ public async Task GetSynchronizationDetails_ShareSubscriptionsListSynchronizatio Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ShareSubscriptions_ListSynchronizations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSynchronizations_ShareSubscriptionsListSynchronizations() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ShareSubscriptions_ListSynchronizations.json @@ -136,12 +133,11 @@ public async Task GetSynchronizations_ShareSubscriptionsListSynchronizations() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ShareSubscriptions_Synchronize - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Synchronize_ShareSubscriptionsSynchronize() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ShareSubscriptions_Synchronize.json @@ -172,9 +168,8 @@ public async Task Synchronize_ShareSubscriptionsSynchronize() Console.WriteLine($"Succeeded: {result}"); } - // ShareSubscriptions_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ShareSubscriptionsGet() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ShareSubscriptions_Get.json @@ -204,9 +199,8 @@ public async Task Get_ShareSubscriptionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ShareSubscriptions_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ShareSubscriptionsCreate() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ShareSubscriptions_Create.json @@ -241,9 +235,8 @@ public async Task Update_ShareSubscriptionsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ShareSubscriptions_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ShareSubscriptionsDelete() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ShareSubscriptions_Delete.json @@ -270,9 +263,8 @@ public async Task Delete_ShareSubscriptionsDelete() Console.WriteLine($"Succeeded: {result}"); } - // ConsumerSourceDataSets_ListByShareSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConsumerSourceDataSets_ConsumerSourceDataSetsListByShareSubscription() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/ConsumerSourceDataSets_ListByShareSubscription.json @@ -298,7 +290,7 @@ public async Task GetConsumerSourceDataSets_ConsumerSourceDataSetsListByShareSub Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_TenantResourceExtensions.cs b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_TenantResourceExtensions.cs index 2bec0e988b1fe..0669f5e9eeb40 100644 --- a/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_TenantResourceExtensions.cs +++ b/sdk/datashare/Azure.ResourceManager.DataShare/samples/Generated/Samples/Sample_TenantResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DataShare.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DataShare.Samples { public partial class Sample_TenantResourceExtensions { - // EmailRegistrations_ActivateEmail - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ActivateEmail_EmailRegistrationsActivateEmail() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/EmailRegistrations_ActivateEmail.json @@ -43,9 +43,8 @@ public async Task ActivateEmail_EmailRegistrationsActivateEmail() Console.WriteLine($"Succeeded: {result}"); } - // EmailRegistrations_RegisterEmail - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegisterEmail_EmailRegistrationsRegisterEmail() { // Generated from example definition: specification/datashare/resource-manager/Microsoft.DataShare/stable/2021-08-01/examples/EmailRegistrations_RegisterEmail.json diff --git a/sdk/defendereasm/Azure.ResourceManager.DefenderEasm/samples/Generated/Samples/Sample_EasmLabelCollection.cs b/sdk/defendereasm/Azure.ResourceManager.DefenderEasm/samples/Generated/Samples/Sample_EasmLabelCollection.cs index 654c8ac744943..6e0ad1a95ddd1 100644 --- a/sdk/defendereasm/Azure.ResourceManager.DefenderEasm/samples/Generated/Samples/Sample_EasmLabelCollection.cs +++ b/sdk/defendereasm/Azure.ResourceManager.DefenderEasm/samples/Generated/Samples/Sample_EasmLabelCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.DefenderEasm.Samples { public partial class Sample_EasmLabelCollection { - // Labels - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_Labels() { // Generated from example definition: specification/riskiq/resource-manager/Microsoft.Easm/preview/2023-04-01-preview/examples/Labels_ListByWorkspace.json @@ -48,12 +48,11 @@ public async Task GetAll_Labels() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Labels - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_Labels() { // Generated from example definition: specification/riskiq/resource-manager/Microsoft.Easm/preview/2023-04-01-preview/examples/Labels_GetByWorkspace.json @@ -86,9 +85,8 @@ public async Task Get_Labels() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Labels - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_Labels() { // Generated from example definition: specification/riskiq/resource-manager/Microsoft.Easm/preview/2023-04-01-preview/examples/Labels_GetByWorkspace.json @@ -117,9 +115,8 @@ public async Task Exists_Labels() Console.WriteLine($"Succeeded: {result}"); } - // Labels - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_Labels() { // Generated from example definition: specification/riskiq/resource-manager/Microsoft.Easm/preview/2023-04-01-preview/examples/Labels_GetByWorkspace.json @@ -148,7 +145,7 @@ public async Task GetIfExists_Labels() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_Labels() } } - // Labels - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_Labels() { // Generated from example definition: specification/riskiq/resource-manager/Microsoft.Easm/preview/2023-04-01-preview/examples/Labels_CreateAndUpdate.json diff --git a/sdk/defendereasm/Azure.ResourceManager.DefenderEasm/samples/Generated/Samples/Sample_EasmLabelResource.cs b/sdk/defendereasm/Azure.ResourceManager.DefenderEasm/samples/Generated/Samples/Sample_EasmLabelResource.cs index c1d69f9ad4759..60ce801f5fd89 100644 --- a/sdk/defendereasm/Azure.ResourceManager.DefenderEasm/samples/Generated/Samples/Sample_EasmLabelResource.cs +++ b/sdk/defendereasm/Azure.ResourceManager.DefenderEasm/samples/Generated/Samples/Sample_EasmLabelResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.DefenderEasm.Models; +using NUnit.Framework; namespace Azure.ResourceManager.DefenderEasm.Samples { public partial class Sample_EasmLabelResource { - // Labels - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_Labels() { // Generated from example definition: specification/riskiq/resource-manager/Microsoft.Easm/preview/2023-04-01-preview/examples/Labels_GetByWorkspace.json @@ -47,9 +47,8 @@ public async Task Get_Labels() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Labels - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_Labels() { // Generated from example definition: specification/riskiq/resource-manager/Microsoft.Easm/preview/2023-04-01-preview/examples/Labels_Update.json @@ -80,9 +79,8 @@ public async Task Update_Labels() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Labels - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_Labels() { // Generated from example definition: specification/riskiq/resource-manager/Microsoft.Easm/preview/2023-04-01-preview/examples/Labels_Delete.json @@ -105,7 +103,7 @@ public async Task Delete_Labels() // invoke the operation await easmLabel.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/defendereasm/Azure.ResourceManager.DefenderEasm/samples/Generated/Samples/Sample_EasmWorkspaceCollection.cs b/sdk/defendereasm/Azure.ResourceManager.DefenderEasm/samples/Generated/Samples/Sample_EasmWorkspaceCollection.cs index 668707374532c..4985740dc8404 100644 --- a/sdk/defendereasm/Azure.ResourceManager.DefenderEasm/samples/Generated/Samples/Sample_EasmWorkspaceCollection.cs +++ b/sdk/defendereasm/Azure.ResourceManager.DefenderEasm/samples/Generated/Samples/Sample_EasmWorkspaceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DefenderEasm.Samples { public partial class Sample_EasmWorkspaceCollection { - // Workspaces - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_Workspaces() { // Generated from example definition: specification/riskiq/resource-manager/Microsoft.Easm/preview/2023-04-01-preview/examples/Workspaces_ListByResourceGroup.json @@ -48,12 +48,11 @@ public async Task GetAll_Workspaces() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Workspaces - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_Workspaces() { // Generated from example definition: specification/riskiq/resource-manager/Microsoft.Easm/preview/2023-04-01-preview/examples/Workspaces_Get.json @@ -85,9 +84,8 @@ public async Task Get_Workspaces() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Workspaces - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_Workspaces() { // Generated from example definition: specification/riskiq/resource-manager/Microsoft.Easm/preview/2023-04-01-preview/examples/Workspaces_Get.json @@ -115,9 +113,8 @@ public async Task Exists_Workspaces() Console.WriteLine($"Succeeded: {result}"); } - // Workspaces - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_Workspaces() { // Generated from example definition: specification/riskiq/resource-manager/Microsoft.Easm/preview/2023-04-01-preview/examples/Workspaces_Get.json @@ -145,7 +142,7 @@ public async Task GetIfExists_Workspaces() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -157,9 +154,8 @@ public async Task GetIfExists_Workspaces() } } - // Workspaces - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_Workspaces() { // Generated from example definition: specification/riskiq/resource-manager/Microsoft.Easm/preview/2023-04-01-preview/examples/Workspaces_CreateAndUpdate.json diff --git a/sdk/defendereasm/Azure.ResourceManager.DefenderEasm/samples/Generated/Samples/Sample_EasmWorkspaceResource.cs b/sdk/defendereasm/Azure.ResourceManager.DefenderEasm/samples/Generated/Samples/Sample_EasmWorkspaceResource.cs index 5227e12703696..a4a82d6de7534 100644 --- a/sdk/defendereasm/Azure.ResourceManager.DefenderEasm/samples/Generated/Samples/Sample_EasmWorkspaceResource.cs +++ b/sdk/defendereasm/Azure.ResourceManager.DefenderEasm/samples/Generated/Samples/Sample_EasmWorkspaceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.DefenderEasm.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.DefenderEasm.Samples { public partial class Sample_EasmWorkspaceResource { - // Workspaces - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEasmWorkspaces_Workspaces() { // Generated from example definition: specification/riskiq/resource-manager/Microsoft.Easm/preview/2023-04-01-preview/examples/Workspaces_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetEasmWorkspaces_Workspaces() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Workspaces - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_Workspaces() { // Generated from example definition: specification/riskiq/resource-manager/Microsoft.Easm/preview/2023-04-01-preview/examples/Workspaces_Get.json @@ -79,9 +78,8 @@ public async Task Get_Workspaces() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Workspaces - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_Workspaces() { // Generated from example definition: specification/riskiq/resource-manager/Microsoft.Easm/preview/2023-04-01-preview/examples/Workspaces_Update.json @@ -111,9 +109,8 @@ public async Task Update_Workspaces() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Workspaces - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_Workspaces() { // Generated from example definition: specification/riskiq/resource-manager/Microsoft.Easm/preview/2023-04-01-preview/examples/Workspaces_Delete.json @@ -135,12 +132,11 @@ public async Task Delete_Workspaces() // invoke the operation await easmWorkspace.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Tasks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTaskByWorkspace_Tasks() { // Generated from example definition: specification/riskiq/resource-manager/Microsoft.Easm/preview/2023-04-01-preview/examples/Tasks_GetByWorkspace.json From 95ae70268f17afab3d70466d1a3e54febe2a0c55 Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Tue, 12 Nov 2024 03:49:50 +0000 Subject: [PATCH 8/8] Update SDK codes pu_sq_5 --- .../Sample_PurviewAccountCollection.cs | 30 +-- .../Samples/Sample_PurviewAccountResource.cs | 59 ++--- ...ple_PurviewKafkaConfigurationCollection.cs | 30 +-- ...ample_PurviewKafkaConfigurationResource.cs | 18 +- ...viewPrivateEndpointConnectionCollection.cs | 30 +-- ...urviewPrivateEndpointConnectionResource.cs | 18 +- .../Sample_PurviewPrivateLinkResource.cs | 6 +- ...le_PurviewPrivateLinkResourceCollection.cs | 25 +- .../Sample_SubscriptionResourceExtensions.cs | 13 +- .../Sample_TenantResourceExtensions.cs | 18 +- .../Sample_QuantumWorkspaceCollection.cs | 30 +-- .../Sample_QuantumWorkspaceResource.cs | 37 ++- .../Sample_SubscriptionResourceExtensions.cs | 13 +- .../Sample_QumuloFileSystemResource.cs | 49 ++-- ...mple_QumuloFileSystemResourceCollection.cs | 59 ++--- .../Sample_CurrentQuotaLimitBaseCollection.cs | 76 +++--- .../Sample_CurrentQuotaLimitBaseResource.cs | 21 +- .../Sample_CurrentUsagesBaseCollection.cs | 56 ++--- .../Sample_CurrentUsagesBaseResource.cs | 11 +- .../Sample_GroupQuotaEnforcementCollection.cs | 35 ++- .../Sample_GroupQuotaEnforcementResource.cs | 11 +- .../Sample_GroupQuotaEntityCollection.cs | 30 +-- .../Sample_GroupQuotaEntityResource.cs | 42 ++-- .../Sample_GroupQuotaLimitCollection.cs | 25 +- .../Samples/Sample_GroupQuotaLimitResource.cs | 6 +- ...ample_GroupQuotaRequestStatusCollection.cs | 18 +- .../Sample_GroupQuotaRequestStatusResource.cs | 6 +- ...Sample_GroupQuotaSubscriptionCollection.cs | 30 +-- ...uotaSubscriptionRequestStatusCollection.cs | 25 +- ...pQuotaSubscriptionRequestStatusResource.cs | 6 +- .../Sample_GroupQuotaSubscriptionResource.cs | 18 +- ..._QuotaAllocationRequestStatusCollection.cs | 18 +- ...le_QuotaAllocationRequestStatusResource.cs | 23 +- .../Sample_QuotaRequestDetailCollection.cs | 59 ++--- .../Sample_QuotaRequestDetailResource.cs | 16 +- ...e_SubscriptionQuotaAllocationCollection.cs | 25 +- ...ple_SubscriptionQuotaAllocationResource.cs | 6 +- .../Sample_TenantResourceExtensions.cs | 8 +- .../Samples/Sample_BackupEngineCollection.cs | 25 +- .../Samples/Sample_BackupEngineResource.cs | 6 +- .../Samples/Sample_BackupJobCollection.cs | 39 ++- .../Samples/Sample_BackupJobResource.cs | 13 +- ...ckupPrivateEndpointConnectionCollection.cs | 23 +- ...BackupPrivateEndpointConnectionResource.cs | 18 +- .../Sample_BackupProtectedItemCollection.cs | 45 ++-- .../Sample_BackupProtectedItemResource.cs | 42 ++-- ...ple_BackupProtectionContainerCollection.cs | 23 +- ...ample_BackupProtectionContainerResource.cs | 39 ++- ...Sample_BackupProtectionIntentCollection.cs | 23 +- .../Sample_BackupProtectionIntentResource.cs | 23 +- ...Sample_BackupProtectionPolicyCollection.cs | 96 +++----- .../Sample_BackupProtectionPolicyResource.cs | 58 ++--- .../Sample_BackupRecoveryPointCollection.cs | 25 +- .../Sample_BackupRecoveryPointResource.cs | 69 +++--- .../Sample_BackupResourceConfigCollection.cs | 23 +- .../Sample_BackupResourceConfigResource.cs | 25 +- ...ourceEncryptionConfigExtendedCollection.cs | 25 +- ...esourceEncryptionConfigExtendedResource.cs | 13 +- ...ple_BackupResourceVaultConfigCollection.cs | 23 +- ...ample_BackupResourceVaultConfigResource.cs | 11 +- .../Sample_ResourceGroupResourceExtensions.cs | 94 +++---- .../Sample_ResourceGuardProxyCollection.cs | 30 +-- .../Sample_ResourceGuardProxyResource.cs | 23 +- .../Sample_SubscriptionResourceExtensions.cs | 11 +- .../Sample_DataReplicationDraCollection.cs | 30 +-- .../Sample_DataReplicationDraResource.cs | 18 +- ...ReplicationEmailConfigurationCollection.cs | 30 +-- ...taReplicationEmailConfigurationResource.cs | 11 +- .../Sample_DataReplicationEventCollection.cs | 25 +- .../Sample_DataReplicationEventResource.cs | 6 +- .../Sample_DataReplicationFabricCollection.cs | 30 +-- .../Sample_DataReplicationFabricResource.cs | 25 +- .../Sample_DataReplicationPolicyCollection.cs | 30 +-- .../Sample_DataReplicationPolicyResource.cs | 18 +- ..._DataReplicationProtectedItemCollection.cs | 30 +-- ...le_DataReplicationProtectedItemResource.cs | 23 +- ..._DataReplicationRecoveryPointCollection.cs | 25 +- ...le_DataReplicationRecoveryPointResource.cs | 6 +- ...plicationReplicationExtensionCollection.cs | 30 +-- ...ReplicationReplicationExtensionResource.cs | 18 +- .../Sample_DataReplicationVaultCollection.cs | 30 +-- .../Sample_DataReplicationVaultResource.cs | 25 +- ...ample_DataReplicationWorkflowCollection.cs | 25 +- .../Sample_DataReplicationWorkflowResource.cs | 6 +- .../Sample_ResourceGroupResourceExtensions.cs | 6 +- .../Sample_SubscriptionResourceExtensions.cs | 6 +- ...Sample_MigrationRecoveryPointCollection.cs | 25 +- .../Sample_MigrationRecoveryPointResource.cs | 6 +- ...le_ProtectionContainerMappingCollection.cs | 25 +- ...mple_ProtectionContainerMappingResource.cs | 32 ++- ..._ReplicationEligibilityResultCollection.cs | 25 +- ...le_ReplicationEligibilityResultResource.cs | 6 +- ...mple_ReplicationProtectedItemCollection.cs | 30 +-- ...Sample_ReplicationProtectedItemResource.cs | 107 ++++---- ...e_ReplicationProtectionIntentCollection.cs | 30 +-- ...ple_ReplicationProtectionIntentResource.cs | 11 +- .../Sample_ResourceGroupResourceExtensions.cs | 23 +- .../Sample_SiteRecoveryAlertCollection.cs | 30 +-- .../Sample_SiteRecoveryAlertResource.cs | 11 +- .../Sample_SiteRecoveryEventCollection.cs | 25 +- .../Sample_SiteRecoveryEventResource.cs | 6 +- .../Sample_SiteRecoveryFabricCollection.cs | 25 +- .../Sample_SiteRecoveryFabricResource.cs | 42 ++-- .../Sample_SiteRecoveryJobCollection.cs | 25 +- .../Samples/Sample_SiteRecoveryJobResource.cs | 21 +- ...le_SiteRecoveryLogicalNetworkCollection.cs | 25 +- ...mple_SiteRecoveryLogicalNetworkResource.cs | 6 +- ...ple_SiteRecoveryMigrationItemCollection.cs | 30 +-- ...ample_SiteRecoveryMigrationItemResource.cs | 55 ++--- .../Sample_SiteRecoveryNetworkCollection.cs | 25 +- ...le_SiteRecoveryNetworkMappingCollection.cs | 30 +-- ...mple_SiteRecoveryNetworkMappingResource.cs | 25 +- .../Sample_SiteRecoveryNetworkResource.cs | 13 +- .../Sample_SiteRecoveryPointCollection.cs | 25 +- .../Sample_SiteRecoveryPointResource.cs | 6 +- .../Sample_SiteRecoveryPolicyCollection.cs | 30 +-- .../Sample_SiteRecoveryPolicyResource.cs | 18 +- ...e_SiteRecoveryProtectableItemCollection.cs | 25 +- ...ple_SiteRecoveryProtectableItemResource.cs | 6 +- ...teRecoveryProtectionContainerCollection.cs | 25 +- ...SiteRecoveryProtectionContainerResource.cs | 30 +-- ...mple_SiteRecoveryRecoveryPlanCollection.cs | 30 +-- ...Sample_SiteRecoveryRecoveryPlanResource.cs | 53 ++-- ..._SiteRecoveryServicesProviderCollection.cs | 30 +-- ...le_SiteRecoveryServicesProviderResource.cs | 30 +-- .../Sample_SiteRecoveryVCenterCollection.cs | 30 +-- .../Sample_SiteRecoveryVCenterResource.cs | 25 +- ...mple_SiteRecoveryVaultSettingCollection.cs | 30 +-- ...Sample_SiteRecoveryVaultSettingResource.cs | 11 +- .../Sample_StorageClassificationCollection.cs | 25 +- ..._StorageClassificationMappingCollection.cs | 30 +-- ...le_StorageClassificationMappingResource.cs | 25 +- .../Sample_StorageClassificationResource.cs | 13 +- ...ple_RecoveryServicesPrivateLinkResource.cs | 6 +- ...ryServicesPrivateLinkResourceCollection.cs | 25 +- .../Sample_RecoveryServicesVaultCollection.cs | 45 ++-- ...coveryServicesVaultExtendedInfoResource.cs | 16 +- .../Sample_RecoveryServicesVaultResource.cs | 76 +++--- .../Sample_ResourceGroupResourceExtensions.cs | 11 +- .../Sample_SubscriptionResourceExtensions.cs | 6 +- ...isCacheAccessPolicyAssignmentCollection.cs | 30 +-- ...edisCacheAccessPolicyAssignmentResource.cs | 18 +- ...Sample_RedisCacheAccessPolicyCollection.cs | 30 +-- .../Sample_RedisCacheAccessPolicyResource.cs | 18 +- .../Samples/Sample_RedisCollection.cs | 40 ++- .../Sample_RedisFirewallRuleCollection.cs | 30 +-- .../Sample_RedisFirewallRuleResource.cs | 18 +- ...RedisLinkedServerWithPropertyCollection.cs | 30 +-- ...e_RedisLinkedServerWithPropertyResource.cs | 18 +- .../Sample_RedisPatchScheduleCollection.cs | 30 +-- .../Sample_RedisPatchScheduleResource.cs | 18 +- ...edisPrivateEndpointConnectionCollection.cs | 30 +-- ..._RedisPrivateEndpointConnectionResource.cs | 18 +- .../Generated/Samples/Sample_RedisResource.cs | 80 +++--- .../Sample_SubscriptionResourceExtensions.cs | 6 +- ...Sample_AccessPolicyAssignmentCollection.cs | 30 +-- .../Sample_AccessPolicyAssignmentResource.cs | 18 +- ...Sample_RedisEnterpriseClusterCollection.cs | 30 +-- .../Sample_RedisEnterpriseClusterResource.cs | 32 ++- ...ample_RedisEnterpriseDatabaseCollection.cs | 35 ++- .../Sample_RedisEnterpriseDatabaseResource.cs | 70 +++--- ...risePrivateEndpointConnectionCollection.cs | 30 +-- ...rprisePrivateEndpointConnectionResource.cs | 18 +- .../Sample_SubscriptionResourceExtensions.cs | 6 +- ...idConnectionAuthorizationRuleCollection.cs | 30 +-- ...bridConnectionAuthorizationRuleResource.cs | 28 +-- .../Sample_RelayHybridConnectionCollection.cs | 30 +-- .../Sample_RelayHybridConnectionResource.cs | 18 +- ...layNamespaceAuthorizationRuleCollection.cs | 30 +-- ...RelayNamespaceAuthorizationRuleResource.cs | 28 +-- .../Sample_RelayNamespaceCollection.cs | 30 +-- .../Samples/Sample_RelayNamespaceResource.cs | 30 +-- .../Sample_RelayNetworkRuleSetResource.cs | 11 +- ...elayPrivateEndpointConnectionCollection.cs | 30 +-- ..._RelayPrivateEndpointConnectionResource.cs | 18 +- .../Sample_RelayPrivateLinkResource.cs | 6 +- ...mple_RelayPrivateLinkResourceCollection.cs | 25 +- ...ple_WcfRelayAuthorizationRuleCollection.cs | 30 +-- ...ample_WcfRelayAuthorizationRuleResource.cs | 28 +-- .../Samples/Sample_WcfRelayCollection.cs | 30 +-- .../Samples/Sample_WcfRelayResource.cs | 18 +- .../Sample_QuotaRequestDetailCollection.cs | 59 ++--- .../Sample_QuotaRequestDetailResource.cs | 16 +- .../Sample_ReservationDetailCollection.cs | 32 ++- .../Sample_ReservationDetailResource.cs | 37 ++- .../Sample_ReservationOrderCollection.cs | 47 ++-- .../Sample_ReservationOrderResource.cs | 46 ++-- .../Sample_ReservationQuotaCollection.cs | 47 ++-- .../Sample_ReservationQuotaResource.cs | 11 +- .../Sample_SubscriptionResourceExtensions.cs | 13 +- .../Sample_TenantResourceExtensions.cs | 11 +- ...le_ResourceConnectorApplianceCollection.cs | 30 +-- ...mple_ResourceConnectorApplianceResource.cs | 45 ++-- .../Sample_TenantResourceExtensions.cs | 66 +++-- .../Sample_ResourceGroupResourceExtensions.cs | 8 +- .../Sample_ResourceHealthEventCollection.cs | 25 +- ...ple_ResourceHealthEventImpactedResource.cs | 6 +- ...ceHealthEventImpactedResourceCollection.cs | 25 +- .../Sample_ResourceHealthEventResource.cs | 18 +- ..._ResourceHealthMetadataEntityCollection.cs | 25 +- ...le_ResourceHealthMetadataEntityResource.cs | 6 +- .../Sample_ServiceEmergingIssueCollection.cs | 25 +- .../Sample_ServiceEmergingIssueResource.cs | 6 +- .../Sample_SubscriptionResourceExtensions.cs | 8 +- ...ple_TenantResourceHealthEventCollection.cs | 25 +- ...nantResourceHealthEventImpactedResource.cs | 6 +- ...ceHealthEventImpactedResourceCollection.cs | 25 +- ...ample_TenantResourceHealthEventResource.cs | 18 +- .../Sample_DataPolicyManifestCollection.cs | 32 ++- .../Sample_DataPolicyManifestResource.cs | 6 +- .../Samples/Sample_FeatureCollection.cs | 25 +- .../Samples/Sample_FeatureResource.cs | 16 +- .../Sample_ManagementGroupCollection.cs | 110 ++++----- ...nagementGroupPolicyDefinitionCollection.cs | 30 +-- ...ManagementGroupPolicyDefinitionResource.cs | 18 +- ...ementGroupPolicySetDefinitionCollection.cs | 35 ++- ...agementGroupPolicySetDefinitionResource.cs | 23 +- .../Samples/Sample_ManagementGroupResource.cs | 45 ++-- ...e_ManagementGroupSubscriptionCollection.cs | 30 +-- ...ple_ManagementGroupSubscriptionResource.cs | 18 +- .../Sample_ManagementLockCollection.cs | 30 +-- .../Samples/Sample_ManagementLockResource.cs | 18 +- .../Sample_PolicyAssignmentCollection.cs | 149 +++++------- .../Sample_PolicyAssignmentResource.cs | 51 ++-- .../Samples/Sample_ResourceGroupCollection.cs | 6 +- .../Samples/Sample_ResourceGroupResource.cs | 25 +- .../Sample_ResourceProviderCollection.cs | 25 +- .../Sample_ResourceProviderResource.cs | 20 +- .../Samples/Sample_SubscriptionCollection.cs | 25 +- ..._SubscriptionPolicyDefinitionCollection.cs | 35 ++- ...le_SubscriptionPolicyDefinitionResource.cs | 23 +- ...bscriptionPolicySetDefinitionCollection.cs | 35 ++- ...SubscriptionPolicySetDefinitionResource.cs | 23 +- .../Samples/Sample_SubscriptionResource.cs | 27 +-- .../Generated/Samples/Sample_TagResource.cs | 45 ++-- .../Samples/Sample_TenantCollection.cs | 13 +- ...Sample_TenantPolicyDefinitionCollection.cs | 25 +- .../Sample_TenantPolicyDefinitionResource.cs | 6 +- ...ple_TenantPolicySetDefinitionCollection.cs | 25 +- ...ample_TenantPolicySetDefinitionResource.cs | 6 +- .../Samples/Sample_TenantResource.cs | 6 +- .../Generated/Samples/Sample_MoverResource.cs | 16 +- .../Samples/Sample_MoverResourceCollection.cs | 30 +-- .../Sample_MoverResourceSetCollection.cs | 30 +-- .../Sample_MoverResourceSetResource.cs | 65 +++-- .../Sample_TenantResourceExtensions.cs | 8 +- .../Sample_ArmApplicationCollection.cs | 30 +-- ...mple_ArmApplicationDefinitionCollection.cs | 30 +-- ...Sample_ArmApplicationDefinitionResource.cs | 11 +- .../Samples/Sample_ArmApplicationResource.cs | 11 +- .../Samples/Sample_ArmDeploymentCollection.cs | 6 +- .../Samples/Sample_ArmDeploymentResource.cs | 31 +-- .../Sample_ArmDeploymentScriptCollection.cs | 50 ++-- .../Sample_ArmDeploymentScriptResource.cs | 32 ++- .../Samples/Sample_DataBoundaryCollection.cs | 18 +- .../Samples/Sample_DataBoundaryResource.cs | 6 +- .../Samples/Sample_ScriptLogResource.cs | 11 +- .../Sample_SubscriptionResourceExtensions.cs | 6 +- .../Samples/Sample_TemplateSpecCollection.cs | 30 +-- .../Samples/Sample_TemplateSpecResource.cs | 25 +- .../Sample_TemplateSpecVersionCollection.cs | 30 +-- .../Sample_TemplateSpecVersionResource.cs | 18 +- .../Sample_TenantDataBoundaryCollection.cs | 23 +- .../Sample_TenantDataBoundaryResource.cs | 11 +- ...ecurityPerimeterConfigurationCollection.cs | 25 +- ...kSecurityPerimeterConfigurationResource.cs | 13 +- ...archPrivateEndpointConnectionCollection.cs | 30 +-- ...SearchPrivateEndpointConnectionResource.cs | 16 +- .../Samples/Sample_SearchServiceCollection.cs | 75 +++--- .../Samples/Sample_SearchServiceResource.cs | 111 ++++----- ..._SharedSearchServicePrivateLinkResource.cs | 18 +- ...rchServicePrivateLinkResourceCollection.cs | 30 +-- .../Sample_SubscriptionResourceExtensions.cs | 13 +- ...aptiveApplicationControlGroupCollection.cs | 23 +- ...AdaptiveApplicationControlGroupResource.cs | 25 +- ...mple_AdaptiveNetworkHardeningCollection.cs | 25 +- ...Sample_AdaptiveNetworkHardeningResource.cs | 13 +- ...AdvancedThreatProtectionSettingResource.cs | 11 +- ...ample_AutoProvisioningSettingCollection.cs | 30 +-- .../Sample_AutoProvisioningSettingResource.cs | 11 +- .../Sample_ComplianceResultCollection.cs | 25 +- .../Sample_ComplianceResultResource.cs | 6 +- ...le_CustomAssessmentAutomationCollection.cs | 30 +-- ...mple_CustomAssessmentAutomationResource.cs | 25 +- ...e_CustomEntityStoreAssignmentCollection.cs | 30 +-- ...ple_CustomEntityStoreAssignmentResource.cs | 25 +- ...ple_DefenderForStorageSettingCollection.cs | 23 +- ...ample_DefenderForStorageSettingResource.cs | 11 +- .../Sample_DevOpsConfigurationResource.cs | 64 +++-- .../Samples/Sample_DevOpsOrgCollection.cs | 30 +-- .../Samples/Sample_DevOpsOrgResource.cs | 11 +- .../Samples/Sample_DevOpsProjectCollection.cs | 30 +-- .../Samples/Sample_DevOpsProjectResource.cs | 11 +- .../Sample_DevOpsRepositoryCollection.cs | 30 +-- .../Sample_DevOpsRepositoryResource.cs | 11 +- .../Sample_DeviceSecurityGroupCollection.cs | 30 +-- .../Sample_DeviceSecurityGroupResource.cs | 18 +- .../Sample_GovernanceAssignmentCollection.cs | 30 +-- .../Sample_GovernanceAssignmentResource.cs | 18 +- .../Sample_GovernanceRuleCollection.cs | 88 +++---- .../Samples/Sample_GovernanceRuleResource.cs | 73 +++--- ...le_IotSecurityAggregatedAlertCollection.cs | 25 +- ...mple_IotSecurityAggregatedAlertResource.cs | 13 +- ...urityAggregatedRecommendationCollection.cs | 25 +- ...ecurityAggregatedRecommendationResource.cs | 6 +- ...tSecuritySolutionAnalyticsModelResource.cs | 6 +- .../Sample_IotSecuritySolutionCollection.cs | 37 ++- .../Sample_IotSecuritySolutionResource.cs | 32 ++- ...Sample_JitNetworkAccessPolicyCollection.cs | 30 +-- .../Sample_JitNetworkAccessPolicyResource.cs | 37 ++- ...egulatoryComplianceAssessmentCollection.cs | 25 +- ..._RegulatoryComplianceAssessmentResource.cs | 6 +- ...e_RegulatoryComplianceControlCollection.cs | 25 +- ...ple_RegulatoryComplianceControlResource.cs | 6 +- ..._RegulatoryComplianceStandardCollection.cs | 25 +- ...le_RegulatoryComplianceStandardResource.cs | 6 +- .../Sample_ResourceGroupResourceExtensions.cs | 33 ++- ...le_ResourceGroupSecurityAlertCollection.cs | 25 +- ...mple_ResourceGroupSecurityAlertResource.cs | 34 ++- ...ple_ResourceGroupSecurityTaskCollection.cs | 25 +- ...ample_ResourceGroupSecurityTaskResource.cs | 6 +- .../Samples/Sample_SecureScoreCollection.cs | 25 +- .../Samples/Sample_SecureScoreResource.cs | 20 +- ...SecurityAlertsSuppressionRuleCollection.cs | 37 ++- ...e_SecurityAlertsSuppressionRuleResource.cs | 18 +- .../Sample_SecurityAssessmentCollection.cs | 40 ++- .../Sample_SecurityAssessmentResource.cs | 23 +- .../Sample_SecurityAutomationCollection.cs | 40 ++- .../Sample_SecurityAutomationResource.cs | 40 ++- ...e_SecurityCenterApiCollectionCollection.cs | 30 +-- ...ple_SecurityCenterApiCollectionResource.cs | 32 ++- ...Sample_SecurityCenterLocationCollection.cs | 25 +- .../Sample_SecurityCenterLocationResource.cs | 48 ++-- .../Sample_SecurityCenterPricingCollection.cs | 103 ++++---- .../Sample_SecurityCenterPricingResource.cs | 36 ++- ...Sample_SecurityCloudConnectorCollection.cs | 40 ++- .../Sample_SecurityCloudConnectorResource.cs | 28 +-- .../Sample_SecurityComplianceCollection.cs | 25 +- .../Sample_SecurityComplianceResource.cs | 6 +- ..._SecurityConnectorApplicationCollection.cs | 30 +-- ...le_SecurityConnectorApplicationResource.cs | 18 +- .../Sample_SecurityConnectorCollection.cs | 30 +-- ..._SecurityConnectorGitHubOwnerCollection.cs | 25 +- ...le_SecurityConnectorGitHubOwnerResource.cs | 6 +- ...rityConnectorGitHubRepositoryCollection.cs | 25 +- ...curityConnectorGitHubRepositoryResource.cs | 6 +- ..._SecurityConnectorGitLabGroupCollection.cs | 32 ++- ...le_SecurityConnectorGitLabGroupResource.cs | 6 +- ...ecurityConnectorGitLabProjectCollection.cs | 25 +- ..._SecurityConnectorGitLabProjectResource.cs | 6 +- .../Sample_SecurityConnectorResource.cs | 25 +- .../Sample_SecurityContactCollection.cs | 30 +-- .../Samples/Sample_SecurityContactResource.cs | 18 +- .../Sample_SecurityHealthReportCollection.cs | 25 +- .../Sample_SecurityHealthReportResource.cs | 6 +- .../Sample_SecurityOperatorCollection.cs | 30 +-- .../Sample_SecurityOperatorResource.cs | 18 +- .../Sample_SecuritySettingCollection.cs | 30 +-- .../Samples/Sample_SecuritySettingResource.cs | 11 +- .../Sample_SecuritySubAssessmentCollection.cs | 25 +- .../Sample_SecuritySubAssessmentResource.cs | 6 +- ...mple_SecurityWorkspaceSettingCollection.cs | 30 +-- ...Sample_SecurityWorkspaceSettingResource.cs | 18 +- .../Sample_SensitivitySettingResource.cs | 11 +- ...ServerVulnerabilityAssessmentCollection.cs | 30 +-- ...e_ServerVulnerabilityAssessmentResource.cs | 18 +- ...lnerabilityAssessmentsSettingCollection.cs | 30 +-- ...VulnerabilityAssessmentsSettingResource.cs | 18 +- .../Sample_SoftwareInventoryCollection.cs | 25 +- .../Sample_SoftwareInventoryResource.cs | 13 +- ...abilityAssessmentBaselineRuleCollection.cs | 49 ++-- ...erabilityAssessmentBaselineRuleResource.cs | 23 +- ...qlVulnerabilityAssessmentScanCollection.cs | 42 ++-- ..._SqlVulnerabilityAssessmentScanResource.cs | 35 ++- ...ubscriptionAssessmentMetadataCollection.cs | 30 +-- ..._SubscriptionAssessmentMetadataResource.cs | 18 +- .../Sample_SubscriptionResourceExtensions.cs | 83 +++---- ...ple_SubscriptionSecurityAlertCollection.cs | 32 ++- ...ample_SubscriptionSecurityAlertResource.cs | 34 ++- ...bscriptionSecurityApplicationCollection.cs | 30 +-- ...SubscriptionSecurityApplicationResource.cs | 18 +- ...mple_SubscriptionSecurityTaskCollection.cs | 25 +- ...Sample_SubscriptionSecurityTaskResource.cs | 6 +- ...mple_TenantAssessmentMetadataCollection.cs | 25 +- ...Sample_TenantAssessmentMetadataResource.cs | 6 +- .../Sample_TenantResourceExtensions.cs | 8 +- .../Sample_AzureDevOpsConnectorCollection.cs | 30 +-- .../Sample_AzureDevOpsConnectorResource.cs | 39 ++- .../Sample_AzureDevOpsOrgCollection.cs | 30 +-- .../Samples/Sample_AzureDevOpsOrgResource.cs | 11 +- .../Sample_AzureDevOpsProjectCollection.cs | 30 +-- .../Sample_AzureDevOpsProjectResource.cs | 11 +- .../Sample_AzureDevOpsRepoCollection.cs | 30 +-- .../Samples/Sample_AzureDevOpsRepoResource.cs | 11 +- .../Sample_GitHubConnectorCollection.cs | 30 +-- .../Samples/Sample_GitHubConnectorResource.cs | 39 ++- .../Samples/Sample_GitHubOwnerCollection.cs | 30 +-- .../Samples/Sample_GitHubOwnerResource.cs | 11 +- .../Samples/Sample_GitHubRepoCollection.cs | 30 +-- .../Samples/Sample_GitHubRepoResource.cs | 11 +- .../Sample_SelfHelpDiagnosticCollection.cs | 23 +- .../Sample_SelfHelpDiagnosticResource.cs | 11 +- ...le_SelfHelpSimplifiedSolutionCollection.cs | 23 +- ...mple_SelfHelpSimplifiedSolutionResource.cs | 11 +- .../Sample_SelfHelpSolutionCollection.cs | 23 +- .../Sample_SelfHelpSolutionResource.cs | 18 +- ...Sample_SelfHelpTroubleshooterCollection.cs | 23 +- .../Sample_SelfHelpTroubleshooterResource.cs | 30 +-- .../Sample_SubscriptionResourceExtensions.cs | 8 +- .../Sample_TenantResourceExtensions.cs | 20 +- ...Sample_MigrationConfigurationCollection.cs | 30 +-- .../Sample_MigrationConfigurationResource.cs | 32 ++- ...sterRecoveryAuthorizationRuleCollection.cs | 25 +- ...sasterRecoveryAuthorizationRuleResource.cs | 11 +- ...le_ServiceBusDisasterRecoveryCollection.cs | 30 +-- ...mple_ServiceBusDisasterRecoveryResource.cs | 32 ++- ...BusNamespaceAuthorizationRuleCollection.cs | 30 +-- ...ceBusNamespaceAuthorizationRuleResource.cs | 28 +-- .../Sample_ServiceBusNamespaceCollection.cs | 30 +-- .../Sample_ServiceBusNamespaceResource.cs | 42 ++-- ...Sample_ServiceBusNetworkRuleSetResource.cs | 11 +- ...eBusPrivateEndpointConnectionCollection.cs | 30 +-- ...iceBusPrivateEndpointConnectionResource.cs | 18 +- ...viceBusQueueAuthorizationRuleCollection.cs | 30 +-- ...erviceBusQueueAuthorizationRuleResource.cs | 28 +-- .../Sample_ServiceBusQueueCollection.cs | 30 +-- .../Samples/Sample_ServiceBusQueueResource.cs | 18 +- .../Sample_ServiceBusRuleCollection.cs | 40 ++- .../Samples/Sample_ServiceBusRuleResource.cs | 28 +-- ...Sample_ServiceBusSubscriptionCollection.cs | 30 +-- .../Sample_ServiceBusSubscriptionResource.cs | 18 +- ...viceBusTopicAuthorizationRuleCollection.cs | 30 +-- ...erviceBusTopicAuthorizationRuleResource.cs | 28 +-- .../Sample_ServiceBusTopicCollection.cs | 30 +-- .../Samples/Sample_ServiceBusTopicResource.cs | 18 +- ...mple_ServiceFabricApplicationCollection.cs | 40 ++- ...Sample_ServiceFabricApplicationResource.cs | 18 +- ..._ServiceFabricApplicationTypeCollection.cs | 30 +-- ...le_ServiceFabricApplicationTypeResource.cs | 18 +- ...eFabricApplicationTypeVersionCollection.cs | 30 +-- ...iceFabricApplicationTypeVersionResource.cs | 18 +- .../Sample_ServiceFabricClusterCollection.cs | 35 ++- .../Sample_ServiceFabricClusterResource.cs | 35 ++- .../Sample_ServiceFabricServiceCollection.cs | 35 ++- .../Sample_ServiceFabricServiceResource.cs | 18 +- .../Sample_ServiceFabricVmSizeResource.cs | 6 +- ...e_ServiceFabricVmSizeResourceCollection.cs | 25 +- .../Sample_SubscriptionResourceExtensions.cs | 29 +-- ...rviceFabricManagedApplicationCollection.cs | 35 ++- ...ServiceFabricManagedApplicationResource.cs | 39 ++- ...eFabricManagedApplicationTypeCollection.cs | 30 +-- ...iceFabricManagedApplicationTypeResource.cs | 18 +- ...ManagedApplicationTypeVersionCollection.cs | 30 +-- ...icManagedApplicationTypeVersionResource.cs | 18 +- ...e_ServiceFabricManagedClusterCollection.cs | 35 ++- ...ple_ServiceFabricManagedClusterResource.cs | 42 ++-- ..._ServiceFabricManagedNodeTypeCollection.cs | 65 +++-- ...le_ServiceFabricManagedNodeTypeResource.cs | 58 ++--- ...e_ServiceFabricManagedServiceCollection.cs | 35 ++- ...ple_ServiceFabricManagedServiceResource.cs | 18 +- .../Sample_SubscriptionResourceExtensions.cs | 37 ++- .../Samples/Sample_LinkerResource.cs | 28 +-- .../Sample_LinkerResourceCollection.cs | 40 ++- .../Samples/Sample_AssociationCollection.cs | 30 +-- .../Samples/Sample_AssociationResource.cs | 18 +- .../Samples/Sample_FrontendCollection.cs | 30 +-- .../Samples/Sample_FrontendResource.cs | 18 +- .../Sample_TrafficControllerCollection.cs | 30 +-- .../Sample_TrafficControllerResource.cs | 25 +- .../Samples/Sample_SphereCatalogCollection.cs | 30 +-- .../Samples/Sample_SphereCatalogResource.cs | 65 +++-- .../Sample_SphereCertificateCollection.cs | 25 +- .../Sample_SphereCertificateResource.cs | 16 +- .../Sample_SphereDeploymentCollection.cs | 30 +-- .../Sample_SphereDeploymentResource.cs | 18 +- .../Samples/Sample_SphereDeviceCollection.cs | 30 +-- .../Sample_SphereDeviceGroupCollection.cs | 30 +-- .../Sample_SphereDeviceGroupResource.cs | 30 +-- .../Samples/Sample_SphereDeviceResource.cs | 23 +- .../Samples/Sample_SphereImageCollection.cs | 30 +-- .../Samples/Sample_SphereImageResource.cs | 18 +- .../Samples/Sample_SphereProductCollection.cs | 30 +-- .../Samples/Sample_SphereProductResource.cs | 30 +-- .../Samples/Sample_SpringBootAppCollection.cs | 49 ++-- .../Samples/Sample_SpringBootAppResource.cs | 35 ++- .../Sample_SpringBootServerCollection.cs | 59 ++--- .../Sample_SpringBootServerResource.cs | 49 ++-- .../Sample_SpringBootSiteCollection.cs | 59 ++--- ...le_SpringBootSiteErrorSummaryCollection.cs | 49 ++-- ...mple_SpringBootSiteErrorSummaryResource.cs | 11 +- .../Samples/Sample_SpringBootSiteResource.cs | 63 +++-- .../Sample_SpringBootSiteSummaryCollection.cs | 49 ++-- .../Sample_SpringBootSiteSummaryResource.cs | 11 +- ...ackupShortTermRetentionPolicyCollection.cs | 30 +-- ..._BackupShortTermRetentionPolicyResource.cs | 11 +- .../Sample_DataMaskingPolicyResource.cs | 43 ++-- ...ple_DataWarehouseUserActivityCollection.cs | 25 +- ...ample_DataWarehouseUserActivityResource.cs | 6 +- ...abaseAdvancedThreatProtectionCollection.cs | 35 ++- ...atabaseAdvancedThreatProtectionResource.cs | 16 +- .../Samples/Sample_DeletedServerCollection.cs | 25 +- .../Samples/Sample_DeletedServerResource.cs | 18 +- ..._DistributedAvailabilityGroupCollection.cs | 30 +-- ...le_DistributedAvailabilityGroupResource.cs | 18 +- .../Samples/Sample_ElasticPoolCollection.cs | 111 ++++----- .../Samples/Sample_ElasticPoolResource.cs | 119 ++++----- .../Sample_EncryptionProtectorCollection.cs | 35 ++- .../Sample_EncryptionProtectorResource.cs | 23 +- .../Sample_EndpointCertificateCollection.cs | 25 +- .../Sample_EndpointCertificateResource.cs | 6 +- ...dedDatabaseBlobAuditingPolicyCollection.cs | 40 ++- ...endedDatabaseBlobAuditingPolicyResource.cs | 21 +- ...endedServerBlobAuditingPolicyCollection.cs | 35 ++- ...xtendedServerBlobAuditingPolicyResource.cs | 16 +- .../Samples/Sample_FailoverGroupCollection.cs | 35 ++- .../Samples/Sample_FailoverGroupResource.cs | 38 ++- .../Sample_GeoBackupPolicyCollection.cs | 30 +-- .../Samples/Sample_GeoBackupPolicyResource.cs | 11 +- .../Sample_IPv6FirewallRuleCollection.cs | 35 ++- .../Sample_IPv6FirewallRuleResource.cs | 23 +- .../Sample_InstanceFailoverGroupCollection.cs | 30 +-- .../Sample_InstanceFailoverGroupResource.cs | 28 +-- .../Samples/Sample_InstancePoolCollection.cs | 35 ++- .../Samples/Sample_InstancePoolResource.cs | 53 ++-- .../Sample_LedgerDigestUploadCollection.cs | 30 +-- .../Sample_LedgerDigestUploadResource.cs | 16 +- ...baseTransparentDataEncryptionCollection.cs | 30 +-- ...tabaseTransparentDataEncryptionResource.cs | 11 +- ...ample_LongTermRetentionPolicyCollection.cs | 30 +-- .../Sample_LongTermRetentionPolicyResource.cs | 11 +- .../Sample_MaintenanceWindowOptionResource.cs | 6 +- .../Sample_MaintenanceWindowsResource.cs | 13 +- ...ackupShortTermRetentionPolicyCollection.cs | 30 +-- ...dBackupShortTermRetentionPolicyResource.cs | 11 +- ...abaseAdvancedThreatProtectionCollection.cs | 35 ++- ...atabaseAdvancedThreatProtectionResource.cs | 16 +- .../Sample_ManagedDatabaseCollection.cs | 70 +++--- .../Sample_ManagedDatabaseColumnCollection.cs | 25 +- .../Sample_ManagedDatabaseColumnResource.cs | 20 +- .../Samples/Sample_ManagedDatabaseResource.cs | 140 +++++------ ..._ManagedDatabaseRestoreDetailCollection.cs | 18 +- ...le_ManagedDatabaseRestoreDetailResource.cs | 6 +- .../Sample_ManagedDatabaseSchemaCollection.cs | 25 +- .../Sample_ManagedDatabaseSchemaResource.cs | 6 +- ...edDatabaseSecurityAlertPolicyCollection.cs | 35 ++- ...agedDatabaseSecurityAlertPolicyResource.cs | 16 +- ...nagedDatabaseSensitivityLabelCollection.cs | 18 +- ...ManagedDatabaseSensitivityLabelResource.cs | 6 +- .../Sample_ManagedDatabaseTableCollection.cs | 25 +- .../Sample_ManagedDatabaseTableResource.cs | 6 +- ...tabaseVulnerabilityAssessmentCollection.cs | 35 ++- ...DatabaseVulnerabilityAssessmentResource.cs | 23 +- ...abilityAssessmentRuleBaselineCollection.cs | 23 +- ...erabilityAssessmentRuleBaselineResource.cs | 18 +- ...seVulnerabilityAssessmentScanCollection.cs | 25 +- ...baseVulnerabilityAssessmentScanResource.cs | 18 +- ..._ManagedInstanceAdministratorCollection.cs | 35 ++- ...le_ManagedInstanceAdministratorResource.cs | 23 +- ...tanceAdvancedThreatProtectionCollection.cs | 35 ++- ...nstanceAdvancedThreatProtectionResource.cs | 16 +- ...anceAzureADOnlyAuthenticationCollection.cs | 30 +-- ...stanceAzureADOnlyAuthenticationResource.cs | 18 +- .../Sample_ManagedInstanceCollection.cs | 59 ++--- .../Sample_ManagedInstanceDtcCollection.cs | 35 ++- .../Sample_ManagedInstanceDtcResource.cs | 16 +- ...edInstanceEncryptionProtectorCollection.cs | 35 ++- ...agedInstanceEncryptionProtectorResource.cs | 23 +- .../Sample_ManagedInstanceKeyCollection.cs | 30 +-- .../Sample_ManagedInstanceKeyResource.cs | 18 +- ...stanceLongTermRetentionPolicyCollection.cs | 30 +-- ...InstanceLongTermRetentionPolicyResource.cs | 11 +- ...mple_ManagedInstanceOperationCollection.cs | 25 +- ...Sample_ManagedInstanceOperationResource.cs | 13 +- ...ancePrivateEndpointConnectionCollection.cs | 30 +-- ...stancePrivateEndpointConnectionResource.cs | 18 +- ...le_ManagedInstancePrivateLinkCollection.cs | 25 +- ...mple_ManagedInstancePrivateLinkResource.cs | 6 +- .../Samples/Sample_ManagedInstanceResource.cs | 117 ++++----- ...anceServerConfigurationOptionCollection.cs | 30 +-- ...stanceServerConfigurationOptionResource.cs | 11 +- ...nstanceServerTrustCertificateCollection.cs | 30 +-- ...dInstanceServerTrustCertificateResource.cs | 18 +- ...agedInstanceStartStopScheduleCollection.cs | 35 ++- ...anagedInstanceStartStopScheduleResource.cs | 23 +- ...stanceVulnerabilityAssessmentCollection.cs | 40 ++- ...InstanceVulnerabilityAssessmentResource.cs | 28 +-- ...ple_ManagedLedgerDigestUploadCollection.cs | 30 +-- ...ample_ManagedLedgerDigestUploadResource.cs | 16 +- ...ackupShortTermRetentionPolicyCollection.cs | 30 +-- ...bBackupShortTermRetentionPolicyResource.cs | 11 +- .../Sample_ManagedServerDnsAliasCollection.cs | 30 +-- .../Sample_ManagedServerDnsAliasResource.cs | 23 +- ...agedServerSecurityAlertPolicyCollection.cs | 35 ++- ...anagedServerSecurityAlertPolicyResource.cs | 16 +- ...agedTransparentDataEncryptionCollection.cs | 30 +-- ...anagedTransparentDataEncryptionResource.cs | 11 +- .../Sample_OutboundFirewallRuleCollection.cs | 30 +-- .../Sample_OutboundFirewallRuleResource.cs | 18 +- .../Sample_RecommendedActionCollection.cs | 25 +- .../Sample_RecommendedActionResource.cs | 11 +- .../Sample_RecoverableDatabaseCollection.cs | 42 ++-- .../Sample_RecoverableDatabaseResource.cs | 11 +- ...le_RecoverableManagedDatabaseCollection.cs | 25 +- ...mple_RecoverableManagedDatabaseResource.cs | 6 +- ...eGroupLongTermRetentionBackupCollection.cs | 25 +- ...rceGroupLongTermRetentionBackupResource.cs | 28 +-- ...etentionManagedInstanceBackupCollection.cs | 25 +- ...mRetentionManagedInstanceBackupResource.cs | 13 +- .../Sample_ResourceGroupResourceExtensions.cs | 29 +-- ...ple_RestorableDroppedDatabaseCollection.cs | 42 ++-- ...ample_RestorableDroppedDatabaseResource.cs | 11 +- ...torableDroppedManagedDatabaseCollection.cs | 25 +- ...estorableDroppedManagedDatabaseResource.cs | 6 +- ...erverAdvancedThreatProtectionCollection.cs | 35 ++- ..._ServerAdvancedThreatProtectionResource.cs | 16 +- .../Sample_ServiceObjectiveCollection.cs | 25 +- .../Sample_ServiceObjectiveResource.cs | 6 +- .../Sample_SqlAgentConfigurationResource.cs | 11 +- .../Sample_SqlDatabaseAdvisorCollection.cs | 32 ++- .../Sample_SqlDatabaseAdvisorResource.cs | 11 +- ...mple_SqlDatabaseAutomaticTuningResource.cs | 16 +- ...SqlDatabaseBlobAuditingPolicyCollection.cs | 40 ++- ...e_SqlDatabaseBlobAuditingPolicyResource.cs | 21 +- .../Samples/Sample_SqlDatabaseCollection.cs | 205 +++++++--------- .../Sample_SqlDatabaseColumnCollection.cs | 25 +- .../Sample_SqlDatabaseColumnResource.cs | 20 +- .../Samples/Sample_SqlDatabaseResource.cs | 229 ++++++++---------- .../Sample_SqlDatabaseSchemaCollection.cs | 25 +- .../Sample_SqlDatabaseSchemaResource.cs | 6 +- ...qlDatabaseSecurityAlertPolicyCollection.cs | 35 ++- ..._SqlDatabaseSecurityAlertPolicyResource.cs | 16 +- ...e_SqlDatabaseSensitivityLabelCollection.cs | 18 +- ...ple_SqlDatabaseSensitivityLabelResource.cs | 6 +- ...lnerabilityAssessmentBaselineCollection.cs | 35 ++- ...VulnerabilityAssessmentBaselineResource.cs | 16 +- ...abilityAssessmentBaselineRuleCollection.cs | 30 +-- ...erabilityAssessmentBaselineRuleResource.cs | 18 +- ...aseSqlVulnerabilityAssessmentCollection.cs | 25 +- ...abaseSqlVulnerabilityAssessmentResource.cs | 13 +- ...qlVulnerabilityAssessmentScanCollection.cs | 25 +- ...eSqlVulnerabilityAssessmentScanResource.cs | 6 +- ...erabilityAssessmentScanResultCollection.cs | 25 +- ...lnerabilityAssessmentScanResultResource.cs | 6 +- .../Sample_SqlDatabaseTableCollection.cs | 25 +- .../Sample_SqlDatabaseTableResource.cs | 6 +- ...tabaseVulnerabilityAssessmentCollection.cs | 40 ++- ...DatabaseVulnerabilityAssessmentResource.cs | 28 +-- ...abilityAssessmentRuleBaselineCollection.cs | 23 +- ...erabilityAssessmentRuleBaselineResource.cs | 18 +- ...seVulnerabilityAssessmentScanCollection.cs | 25 +- ...baseVulnerabilityAssessmentScanResource.cs | 18 +- .../Sample_SqlFirewallRuleCollection.cs | 35 ++- .../Samples/Sample_SqlFirewallRuleResource.cs | 23 +- ..._SqlPrivateEndpointConnectionCollection.cs | 30 +-- ...le_SqlPrivateEndpointConnectionResource.cs | 18 +- .../Samples/Sample_SqlPrivateLinkResource.cs | 6 +- ...Sample_SqlPrivateLinkResourceCollection.cs | 25 +- .../Sample_SqlServerAdvisorCollection.cs | 32 ++- .../Sample_SqlServerAdvisorResource.cs | 11 +- ...Sample_SqlServerAutomaticTuningResource.cs | 16 +- ...SqlServerAzureADAdministratorCollection.cs | 30 +-- ...e_SqlServerAzureADAdministratorResource.cs | 18 +- ...rverAzureADOnlyAuthenticationCollection.cs | 30 +-- ...ServerAzureADOnlyAuthenticationResource.cs | 18 +- ...e_SqlServerBlobAuditingPolicyCollection.cs | 35 ++- ...ple_SqlServerBlobAuditingPolicyResource.cs | 16 +- .../Samples/Sample_SqlServerCollection.cs | 54 ++--- ...le_SqlServerCommunicationLinkCollection.cs | 30 +-- ...mple_SqlServerCommunicationLinkResource.cs | 18 +- ...ple_SqlServerConnectionPolicyCollection.cs | 30 +-- ...ample_SqlServerConnectionPolicyResource.cs | 11 +- ...ServerDatabaseReplicationLinkCollection.cs | 30 +-- ...qlServerDatabaseReplicationLinkResource.cs | 28 +-- ...SqlServerDatabaseRestorePointCollection.cs | 49 ++-- ...e_SqlServerDatabaseRestorePointResource.cs | 18 +- ...qlServerDevOpsAuditingSettingCollection.cs | 35 ++- ..._SqlServerDevOpsAuditingSettingResource.cs | 16 +- .../Sample_SqlServerDnsAliasCollection.cs | 30 +-- .../Sample_SqlServerDnsAliasResource.cs | 23 +- .../Sample_SqlServerJobAgentCollection.cs | 30 +-- .../Sample_SqlServerJobAgentResource.cs | 32 ++- .../Samples/Sample_SqlServerJobCollection.cs | 35 ++- ...Sample_SqlServerJobCredentialCollection.cs | 30 +-- .../Sample_SqlServerJobCredentialResource.cs | 18 +- .../Sample_SqlServerJobExecutionCollection.cs | 37 ++- .../Sample_SqlServerJobExecutionResource.cs | 18 +- ...ple_SqlServerJobExecutionStepCollection.cs | 25 +- ...ample_SqlServerJobExecutionStepResource.cs | 6 +- ...lServerJobExecutionStepTargetCollection.cs | 25 +- ...SqlServerJobExecutionStepTargetResource.cs | 6 +- .../Samples/Sample_SqlServerJobResource.cs | 28 +-- .../Sample_SqlServerJobStepCollection.cs | 35 ++- .../Sample_SqlServerJobStepResource.cs | 23 +- ...ample_SqlServerJobTargetGroupCollection.cs | 35 ++- .../Sample_SqlServerJobTargetGroupResource.cs | 23 +- .../Sample_SqlServerJobVersionCollection.cs | 25 +- .../Sample_SqlServerJobVersionResource.cs | 6 +- ...ample_SqlServerJobVersionStepCollection.cs | 25 +- .../Sample_SqlServerJobVersionStepResource.cs | 6 +- .../Samples/Sample_SqlServerKeyCollection.cs | 30 +-- .../Samples/Sample_SqlServerKeyResource.cs | 18 +- .../Samples/Sample_SqlServerResource.cs | 102 ++++---- ..._SqlServerSecurityAlertPolicyCollection.cs | 35 ++- ...le_SqlServerSecurityAlertPolicyResource.cs | 16 +- ...lnerabilityAssessmentBaselineCollection.cs | 35 ++- ...VulnerabilityAssessmentBaselineResource.cs | 16 +- ...abilityAssessmentBaselineRuleCollection.cs | 30 +-- ...erabilityAssessmentBaselineRuleResource.cs | 18 +- ...verSqlVulnerabilityAssessmentCollection.cs | 30 +-- ...erverSqlVulnerabilityAssessmentResource.cs | 25 +- ...qlVulnerabilityAssessmentScanCollection.cs | 25 +- ...rSqlVulnerabilityAssessmentScanResource.cs | 6 +- ...erabilityAssessmentScanResultCollection.cs | 25 +- ...lnerabilityAssessmentScanResultResource.cs | 6 +- .../Sample_SqlServerTrustGroupCollection.cs | 30 +-- .../Sample_SqlServerTrustGroupResource.cs | 18 +- ...e_SqlServerVirtualNetworkRuleCollection.cs | 30 +-- ...ple_SqlServerVirtualNetworkRuleResource.cs | 18 +- ...ServerVulnerabilityAssessmentCollection.cs | 40 ++- ...qlServerVulnerabilityAssessmentResource.cs | 28 +-- .../Samples/Sample_SqlTimeZoneCollection.cs | 25 +- .../Samples/Sample_SqlTimeZoneResource.cs | 6 +- ...iptionLongTermRetentionBackupCollection.cs | 25 +- ...criptionLongTermRetentionBackupResource.cs | 28 +-- ...etentionManagedInstanceBackupCollection.cs | 25 +- ...mRetentionManagedInstanceBackupResource.cs | 13 +- .../Sample_SubscriptionResourceExtensions.cs | 34 ++- .../Sample_SubscriptionUsageCollection.cs | 25 +- .../Sample_SubscriptionUsageResource.cs | 6 +- .../Samples/Sample_SyncAgentCollection.cs | 35 ++- .../Samples/Sample_SyncAgentResource.cs | 35 ++- .../Samples/Sample_SyncGroupCollection.cs | 35 ++- .../Samples/Sample_SyncGroupResource.cs | 60 ++--- .../Samples/Sample_SyncMemberCollection.cs | 35 ++- .../Samples/Sample_SyncMemberResource.cs | 32 ++- .../Sample_VirtualClusterCollection.cs | 25 +- .../Samples/Sample_VirtualClusterResource.cs | 30 +-- .../Sample_WorkloadClassifierCollection.cs | 35 ++- .../Sample_WorkloadClassifierResource.cs | 23 +- .../Samples/Sample_WorkloadGroupCollection.cs | 35 ++- .../Samples/Sample_WorkloadGroupResource.cs | 23 +- 741 files changed, 8738 insertions(+), 11375 deletions(-) diff --git a/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewAccountCollection.cs b/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewAccountCollection.cs index 2539affd51593..94b09499eed61 100644 --- a/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewAccountCollection.cs +++ b/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewAccountCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Purview.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Purview.Samples { public partial class Sample_PurviewAccountCollection { - // Accounts_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AccountsListByResourceGroup() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/Accounts_ListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_AccountsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Accounts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AccountsGet() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/Accounts_Get.json @@ -86,9 +85,8 @@ public async Task Get_AccountsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Accounts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AccountsGet() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/Accounts_Get.json @@ -116,9 +114,8 @@ public async Task Exists_AccountsGet() Console.WriteLine($"Succeeded: {result}"); } - // Accounts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AccountsGet() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/Accounts_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_AccountsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_AccountsGet() } } - // Accounts_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AccountsCreateOrUpdate() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/Accounts_CreateOrUpdate.json diff --git a/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewAccountResource.cs b/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewAccountResource.cs index 0b0752c050fbf..b063521600319 100644 --- a/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewAccountResource.cs +++ b/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewAccountResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Purview.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Purview.Samples { public partial class Sample_PurviewAccountResource { - // Accounts_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPurviewAccounts_AccountsListBySubscription() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/Accounts_ListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetPurviewAccounts_AccountsListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Accounts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AccountsGet() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/Accounts_Get.json @@ -79,9 +78,8 @@ public async Task Get_AccountsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Accounts_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AccountsDelete() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/Accounts_Delete.json @@ -103,12 +101,11 @@ public async Task Delete_AccountsDelete() // invoke the operation await purviewAccount.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Accounts_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AccountsUpdate() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/Accounts_Update.json @@ -145,9 +142,8 @@ public async Task Update_AccountsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Accounts_AddRootCollectionAdmin - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AddRootCollectionAdmin_AccountsAddRootCollectionAdmin() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/Accounts_AddRootCollectionAdmin.json @@ -173,12 +169,11 @@ public async Task AddRootCollectionAdmin_AccountsAddRootCollectionAdmin() }; await purviewAccount.AddRootCollectionAdminAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Accounts_ListKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_AccountsListKeys() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/Accounts_ListKeys.json @@ -203,9 +198,8 @@ public async Task GetKeys_AccountsListKeys() Console.WriteLine($"Succeeded: {result}"); } - // Accounts_CheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckPurviewAccountNameAvailability_AccountsCheckNameAvailability() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/Accounts_CheckNameAvailability.json @@ -233,9 +227,8 @@ public async Task CheckPurviewAccountNameAvailability_AccountsCheckNameAvailabil Console.WriteLine($"Succeeded: {result}"); } - // Features_AccountGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AccountGetFeature_FeaturesAccountGet() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/Features_AccountGet.json @@ -267,9 +260,8 @@ public async Task AccountGetFeature_FeaturesAccountGet() Console.WriteLine($"Succeeded: {result}"); } - // IngestionPrivateEndpointConnections_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIngestionPrivateEndpointConnections_IngestionPrivateEndpointConnectionsList() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/IngestionPrivateEndpointConnections_List.json @@ -298,12 +290,11 @@ public async Task GetIngestionPrivateEndpointConnections_IngestionPrivateEndpoin Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // IngestionPrivateEndpointConnections_UpdateStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateStatusIngestionPrivateEndpointConnection_IngestionPrivateEndpointConnectionsUpdateStatus() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/IngestionPrivateEndpointConnections_UpdateStatus.json diff --git a/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewKafkaConfigurationCollection.cs b/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewKafkaConfigurationCollection.cs index e94a5fa10255c..3eef5157f6097 100644 --- a/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewKafkaConfigurationCollection.cs +++ b/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewKafkaConfigurationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Purview.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Purview.Samples { public partial class Sample_PurviewKafkaConfigurationCollection { - // KafkaConfigurations_ListByAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_KafkaConfigurationsListByAccount() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/KafkaConfigurations_ListByAccount.json @@ -50,12 +50,11 @@ public async Task GetAll_KafkaConfigurationsListByAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // KafkaConfigurations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KafkaConfigurationsGet() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/KafkaConfigurations_Get.json @@ -88,9 +87,8 @@ public async Task Get_KafkaConfigurationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KafkaConfigurations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_KafkaConfigurationsGet() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/KafkaConfigurations_Get.json @@ -119,9 +117,8 @@ public async Task Exists_KafkaConfigurationsGet() Console.WriteLine($"Succeeded: {result}"); } - // KafkaConfigurations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_KafkaConfigurationsGet() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/KafkaConfigurations_Get.json @@ -150,7 +147,7 @@ public async Task GetIfExists_KafkaConfigurationsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_KafkaConfigurationsGet() } } - // KafkaConfigurations_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_KafkaConfigurationsCreateOrUpdate() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/KafkaConfigurations_CreateOrUpdate.json diff --git a/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewKafkaConfigurationResource.cs b/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewKafkaConfigurationResource.cs index 1011b446292da..aa24b53ee7611 100644 --- a/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewKafkaConfigurationResource.cs +++ b/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewKafkaConfigurationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Purview.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Purview.Samples { public partial class Sample_PurviewKafkaConfigurationResource { - // KafkaConfigurations_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_KafkaConfigurationsGet() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/KafkaConfigurations_Get.json @@ -47,9 +47,8 @@ public async Task Get_KafkaConfigurationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KafkaConfigurations_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_KafkaConfigurationsCreateOrUpdate() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/KafkaConfigurations_CreateOrUpdate.json @@ -94,9 +93,8 @@ public async Task Update_KafkaConfigurationsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // KafkaConfigurations_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_KafkaConfigurationsDelete() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/KafkaConfigurations_Delete.json @@ -119,7 +117,7 @@ public async Task Delete_KafkaConfigurationsDelete() // invoke the operation await purviewKafkaConfiguration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewPrivateEndpointConnectionCollection.cs b/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewPrivateEndpointConnectionCollection.cs index ae551d53f7381..4125a7a05719d 100644 --- a/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewPrivateEndpointConnectionCollection.cs +++ b/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Purview.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Purview.Samples { public partial class Sample_PurviewPrivateEndpointConnectionCollection { - // PrivateEndpointConnections_ListByAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndpointConnectionsListByAccount() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/PrivateEndpointConnections_ListByAccount.json @@ -49,12 +49,11 @@ public async Task GetAll_PrivateEndpointConnectionsListByAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/PrivateEndpointConnections_Get.json @@ -87,9 +86,8 @@ public async Task Get_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/PrivateEndpointConnections_Get.json @@ -118,9 +116,8 @@ public async Task Exists_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/PrivateEndpointConnections_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_PrivateEndpointConnectionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_PrivateEndpointConnectionsGet() } } - // PrivateEndpointConnections_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateEndpointConnectionsCreateOrUpdate() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/PrivateEndpointConnections_CreateOrUpdate.json diff --git a/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewPrivateEndpointConnectionResource.cs b/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewPrivateEndpointConnectionResource.cs index d719d2f1e5e72..ae2a3415a2c50 100644 --- a/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewPrivateEndpointConnectionResource.cs +++ b/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Purview.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Purview.Samples { public partial class Sample_PurviewPrivateEndpointConnectionResource { - // PrivateEndpointConnections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionsGet() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/PrivateEndpointConnections_Get.json @@ -47,9 +47,8 @@ public async Task Get_PrivateEndpointConnectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateEndpointConnectionsCreateOrUpdate() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/PrivateEndpointConnections_CreateOrUpdate.json @@ -88,9 +87,8 @@ public async Task Update_PrivateEndpointConnectionsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnections_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateEndpointConnectionsDelete() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/PrivateEndpointConnections_Delete.json @@ -113,7 +111,7 @@ public async Task Delete_PrivateEndpointConnectionsDelete() // invoke the operation await purviewPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewPrivateLinkResource.cs b/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewPrivateLinkResource.cs index bff3828a8d6fb..268184074b15f 100644 --- a/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewPrivateLinkResource.cs +++ b/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Purview.Samples { public partial class Sample_PurviewPrivateLinkResource { - // PrivateLinkResources_GetByGroupId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkResourcesGetByGroupId() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/PrivateLinkResources_GetByGroupId.json diff --git a/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewPrivateLinkResourceCollection.cs b/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewPrivateLinkResourceCollection.cs index 5fdfc96583c92..389dd6ecc4681 100644 --- a/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewPrivateLinkResourceCollection.cs +++ b/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_PurviewPrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Purview.Samples { public partial class Sample_PurviewPrivateLinkResourceCollection { - // PrivateLinkResources_ListByAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateLinkResourcesListByAccount() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/PrivateLinkResources_ListByAccount.json @@ -48,12 +48,11 @@ public async Task GetAll_PrivateLinkResourcesListByAccount() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PrivateLinkResources_GetByGroupId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkResourcesGetByGroupId() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/PrivateLinkResources_GetByGroupId.json @@ -86,9 +85,8 @@ public async Task Get_PrivateLinkResourcesGetByGroupId() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateLinkResources_GetByGroupId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateLinkResourcesGetByGroupId() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/PrivateLinkResources_GetByGroupId.json @@ -117,9 +115,8 @@ public async Task Exists_PrivateLinkResourcesGetByGroupId() Console.WriteLine($"Succeeded: {result}"); } - // PrivateLinkResources_GetByGroupId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateLinkResourcesGetByGroupId() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/PrivateLinkResources_GetByGroupId.json @@ -148,7 +145,7 @@ public async Task GetIfExists_PrivateLinkResourcesGetByGroupId() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 6ad3c9c2471b5..9868f6da73c6f 100644 --- a/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Purview.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Purview.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Features_SubscriptionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SubscriptionGetFeature_FeaturesSubscriptionGet() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/Features_SubscriptionGet.json @@ -49,9 +49,8 @@ public async Task SubscriptionGetFeature_FeaturesSubscriptionGet() Console.WriteLine($"Succeeded: {result}"); } - // Usages_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsages_UsagesGet() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/Usages_Get.json @@ -75,7 +74,7 @@ public async Task GetUsages_UsagesGet() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_TenantResourceExtensions.cs b/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_TenantResourceExtensions.cs index 2cd644abd3375..04e11ed53a177 100644 --- a/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_TenantResourceExtensions.cs +++ b/sdk/purview/Azure.ResourceManager.Purview/samples/Generated/Samples/Sample_TenantResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Purview.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Purview.Samples { public partial class Sample_TenantResourceExtensions { - // DefaultAccounts_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDefaultAccount_DefaultAccountsGet() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/DefaultAccounts_Get.json @@ -41,9 +41,8 @@ public async Task GetDefaultAccount_DefaultAccountsGet() Console.WriteLine($"Succeeded: {result}"); } - // DefaultAccounts_Remove - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RemoveDefaultAccount_DefaultAccountsRemove() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/DefaultAccounts_Remove.json @@ -64,12 +63,11 @@ public async Task RemoveDefaultAccount_DefaultAccountsRemove() string scope = "12345678-1234-1234-1234-12345678abcd"; await tenantResource.RemoveDefaultAccountAsync(scopeTenantId, scopeType, scope: scope); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DefaultAccounts_Set - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SetDefaultAccount_DefaultAccountsSet() { // Generated from example definition: specification/purview/resource-manager/Microsoft.Purview/preview/2023-05-01-preview/examples/DefaultAccounts_Set.json diff --git a/sdk/quantum/Azure.ResourceManager.Quantum/samples/Generated/Samples/Sample_QuantumWorkspaceCollection.cs b/sdk/quantum/Azure.ResourceManager.Quantum/samples/Generated/Samples/Sample_QuantumWorkspaceCollection.cs index f0fe5ffdb8386..b12175968104a 100644 --- a/sdk/quantum/Azure.ResourceManager.Quantum/samples/Generated/Samples/Sample_QuantumWorkspaceCollection.cs +++ b/sdk/quantum/Azure.ResourceManager.Quantum/samples/Generated/Samples/Sample_QuantumWorkspaceCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Quantum.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Quantum.Samples { public partial class Sample_QuantumWorkspaceCollection { - // QuantumWorkspacesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuantumWorkspacesGet() { // Generated from example definition: specification/quantum/resource-manager/Microsoft.Quantum/preview/2023-11-13-preview/examples/quantumWorkspacesGet.json @@ -50,9 +50,8 @@ public async Task Get_QuantumWorkspacesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QuantumWorkspacesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_QuantumWorkspacesGet() { // Generated from example definition: specification/quantum/resource-manager/Microsoft.Quantum/preview/2023-11-13-preview/examples/quantumWorkspacesGet.json @@ -80,9 +79,8 @@ public async Task Exists_QuantumWorkspacesGet() Console.WriteLine($"Succeeded: {result}"); } - // QuantumWorkspacesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_QuantumWorkspacesGet() { // Generated from example definition: specification/quantum/resource-manager/Microsoft.Quantum/preview/2023-11-13-preview/examples/quantumWorkspacesGet.json @@ -110,7 +108,7 @@ public async Task GetIfExists_QuantumWorkspacesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_QuantumWorkspacesGet() } } - // QuantumWorkspacesPut - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_QuantumWorkspacesPut() { // Generated from example definition: specification/quantum/resource-manager/Microsoft.Quantum/preview/2023-11-13-preview/examples/quantumWorkspacesPut.json @@ -177,9 +174,8 @@ public async Task CreateOrUpdate_QuantumWorkspacesPut() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QuantumWorkspacesListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_QuantumWorkspacesListByResourceGroup() { // Generated from example definition: specification/quantum/resource-manager/Microsoft.Quantum/preview/2023-11-13-preview/examples/quantumWorkspacesListResourceGroup.json @@ -210,7 +206,7 @@ public async Task GetAll_QuantumWorkspacesListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/quantum/Azure.ResourceManager.Quantum/samples/Generated/Samples/Sample_QuantumWorkspaceResource.cs b/sdk/quantum/Azure.ResourceManager.Quantum/samples/Generated/Samples/Sample_QuantumWorkspaceResource.cs index a2d0e88942ae1..df9fbfce711f5 100644 --- a/sdk/quantum/Azure.ResourceManager.Quantum/samples/Generated/Samples/Sample_QuantumWorkspaceResource.cs +++ b/sdk/quantum/Azure.ResourceManager.Quantum/samples/Generated/Samples/Sample_QuantumWorkspaceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Quantum.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Quantum.Samples { public partial class Sample_QuantumWorkspaceResource { - // QuantumWorkspacesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuantumWorkspacesGet() { // Generated from example definition: specification/quantum/resource-manager/Microsoft.Quantum/preview/2023-11-13-preview/examples/quantumWorkspacesGet.json @@ -47,9 +47,8 @@ public async Task Get_QuantumWorkspacesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QuantumWorkspacesPatchTags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_QuantumWorkspacesPatchTags() { // Generated from example definition: specification/quantum/resource-manager/Microsoft.Quantum/preview/2023-11-13-preview/examples/quantumWorkspacesPatch.json @@ -86,9 +85,8 @@ public async Task Update_QuantumWorkspacesPatchTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QuantumWorkspacesDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_QuantumWorkspacesDelete() { // Generated from example definition: specification/quantum/resource-manager/Microsoft.Quantum/preview/2023-11-13-preview/examples/quantumWorkspacesDelete.json @@ -110,12 +108,11 @@ public async Task Delete_QuantumWorkspacesDelete() // invoke the operation await quantumWorkspace.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // QuantumWorkspacesListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetQuantumWorkspaces_QuantumWorkspacesListBySubscription() { // Generated from example definition: specification/quantum/resource-manager/Microsoft.Quantum/preview/2023-11-13-preview/examples/quantumWorkspacesListSubscription.json @@ -142,12 +139,11 @@ public async Task GetQuantumWorkspaces_QuantumWorkspacesListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeysWorkspace_ListKeys() { // Generated from example definition: specification/quantum/resource-manager/Microsoft.Quantum/preview/2023-11-13-preview/examples/listKeys.json @@ -172,9 +168,8 @@ public async Task GetKeysWorkspace_ListKeys() Console.WriteLine($"Succeeded: {result}"); } - // RegenerateKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKeysWorkspace_RegenerateKey() { // Generated from example definition: specification/quantum/resource-manager/Microsoft.Quantum/preview/2023-11-13-preview/examples/regenerateKey.json @@ -203,7 +198,7 @@ public async Task RegenerateKeysWorkspace_RegenerateKey() }; await quantumWorkspace.RegenerateKeysWorkspaceAsync(keySpecification); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/quantum/Azure.ResourceManager.Quantum/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/quantum/Azure.ResourceManager.Quantum/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index ddda1768bd70d..6859303971ff4 100644 --- a/sdk/quantum/Azure.ResourceManager.Quantum/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/quantum/Azure.ResourceManager.Quantum/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Quantum.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Quantum.Samples { public partial class Sample_SubscriptionResourceExtensions { - // OfferingsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOfferings_OfferingsList() { // Generated from example definition: specification/quantum/resource-manager/Microsoft.Quantum/preview/2023-11-13-preview/examples/offeringsList.json @@ -42,12 +42,11 @@ public async Task GetOfferings_OfferingsList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // QuantumWorkspacesCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckWorkspaceNameAvailability_QuantumWorkspacesCheckNameAvailability() { // Generated from example definition: specification/quantum/resource-manager/Microsoft.Quantum/preview/2023-11-13-preview/examples/quantumWorkspacesCheckNameAvailability.json diff --git a/sdk/qumulo/Azure.ResourceManager.Qumulo/samples/Generated/Samples/Sample_QumuloFileSystemResource.cs b/sdk/qumulo/Azure.ResourceManager.Qumulo/samples/Generated/Samples/Sample_QumuloFileSystemResource.cs index 6806212048290..49fe2da29b387 100644 --- a/sdk/qumulo/Azure.ResourceManager.Qumulo/samples/Generated/Samples/Sample_QumuloFileSystemResource.cs +++ b/sdk/qumulo/Azure.ResourceManager.Qumulo/samples/Generated/Samples/Sample_QumuloFileSystemResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.Qumulo.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Qumulo.Samples { public partial class Sample_QumuloFileSystemResource { - // FileSystems_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetQumuloFileSystemResources_FileSystemsListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_ListBySubscription_MaximumSet_Gen.json @@ -46,12 +46,11 @@ public async Task GetQumuloFileSystemResources_FileSystemsListBySubscriptionMaxi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // FileSystems_ListBySubscription_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetQumuloFileSystemResources_FileSystemsListBySubscriptionMinimumSetGen() { // Generated from example definition: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_ListBySubscription_MinimumSet_Gen.json @@ -78,12 +77,11 @@ public async Task GetQumuloFileSystemResources_FileSystemsListBySubscriptionMini Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // FileSystems_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FileSystemsGetMaximumSetGen() { // Generated from example definition: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_Get_MaximumSet_Gen.json @@ -112,9 +110,8 @@ public async Task Get_FileSystemsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FileSystems_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FileSystemsGetMinimumSetGen() { // Generated from example definition: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_Get_MinimumSet_Gen.json @@ -143,9 +140,8 @@ public async Task Get_FileSystemsGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FileSystems_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_FileSystemsUpdateMaximumSetGen() { // Generated from example definition: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_Update_MaximumSet_Gen.json @@ -202,9 +198,8 @@ public async Task Update_FileSystemsUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FileSystems_Update_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_FileSystemsUpdateMinimumSetGen() { // Generated from example definition: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_Update_MinimumSet_Gen.json @@ -234,9 +229,8 @@ public async Task Update_FileSystemsUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FileSystems_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_FileSystemsDeleteMaximumSetGen() { // Generated from example definition: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_Delete_MaximumSet_Gen.json @@ -258,12 +252,11 @@ public async Task Delete_FileSystemsDeleteMaximumSetGen() // invoke the operation await qumuloFileSystemResource.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // FileSystems_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_FileSystemsDeleteMinimumSetGen() { // Generated from example definition: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_Delete_MinimumSet_Gen.json @@ -285,7 +278,7 @@ public async Task Delete_FileSystemsDeleteMinimumSetGen() // invoke the operation await qumuloFileSystemResource.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/qumulo/Azure.ResourceManager.Qumulo/samples/Generated/Samples/Sample_QumuloFileSystemResourceCollection.cs b/sdk/qumulo/Azure.ResourceManager.Qumulo/samples/Generated/Samples/Sample_QumuloFileSystemResourceCollection.cs index 50d5d2ddfbbd9..f9695015ac681 100644 --- a/sdk/qumulo/Azure.ResourceManager.Qumulo/samples/Generated/Samples/Sample_QumuloFileSystemResourceCollection.cs +++ b/sdk/qumulo/Azure.ResourceManager.Qumulo/samples/Generated/Samples/Sample_QumuloFileSystemResourceCollection.cs @@ -13,14 +13,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.Qumulo.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Qumulo.Samples { public partial class Sample_QumuloFileSystemResourceCollection { - // FileSystems_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_FileSystemsListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_ListByResourceGroup_MaximumSet_Gen.json @@ -51,12 +51,11 @@ public async Task GetAll_FileSystemsListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // FileSystems_ListByResourceGroup_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_FileSystemsListByResourceGroupMinimumSetGen() { // Generated from example definition: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_ListByResourceGroup_MinimumSet_Gen.json @@ -87,12 +86,11 @@ public async Task GetAll_FileSystemsListByResourceGroupMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // FileSystems_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FileSystemsGetMaximumSetGen() { // Generated from example definition: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_Get_MaximumSet_Gen.json @@ -124,9 +122,8 @@ public async Task Get_FileSystemsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FileSystems_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_FileSystemsGetMaximumSetGen() { // Generated from example definition: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_Get_MaximumSet_Gen.json @@ -154,9 +151,8 @@ public async Task Exists_FileSystemsGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // FileSystems_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_FileSystemsGetMaximumSetGen() { // Generated from example definition: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_Get_MaximumSet_Gen.json @@ -184,7 +180,7 @@ public async Task GetIfExists_FileSystemsGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -196,9 +192,8 @@ public async Task GetIfExists_FileSystemsGetMaximumSetGen() } } - // FileSystems_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FileSystemsGetMinimumSetGen() { // Generated from example definition: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_Get_MinimumSet_Gen.json @@ -230,9 +225,8 @@ public async Task Get_FileSystemsGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FileSystems_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_FileSystemsGetMinimumSetGen() { // Generated from example definition: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_Get_MinimumSet_Gen.json @@ -260,9 +254,8 @@ public async Task Exists_FileSystemsGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // FileSystems_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_FileSystemsGetMinimumSetGen() { // Generated from example definition: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_Get_MinimumSet_Gen.json @@ -290,7 +283,7 @@ public async Task GetIfExists_FileSystemsGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -302,9 +295,8 @@ public async Task GetIfExists_FileSystemsGetMinimumSetGen() } } - // FileSystems_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_FileSystemsCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_CreateOrUpdate_MaximumSet_Gen.json @@ -363,9 +355,8 @@ public async Task CreateOrUpdate_FileSystemsCreateOrUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // FileSystems_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_FileSystemsCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_CreateOrUpdate_MinimumSet_Gen.json diff --git a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_CurrentQuotaLimitBaseCollection.cs b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_CurrentQuotaLimitBaseCollection.cs index ced5a54f3b9a1..4e246a1f949f4 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_CurrentQuotaLimitBaseCollection.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_CurrentQuotaLimitBaseCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Quota.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Quota.Samples { public partial class Sample_CurrentQuotaLimitBaseCollection { - // Quotas_Get_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotasGetRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getComputeOneSkuQuotaLimit.json @@ -47,9 +47,8 @@ public async Task Get_QuotasGetRequestForCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Quotas_Get_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_QuotasGetRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getComputeOneSkuQuotaLimit.json @@ -75,9 +74,8 @@ public async Task Exists_QuotasGetRequestForCompute() Console.WriteLine($"Succeeded: {result}"); } - // Quotas_Get_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_QuotasGetRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getComputeOneSkuQuotaLimit.json @@ -103,7 +101,7 @@ public async Task GetIfExists_QuotasGetRequestForCompute() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -115,9 +113,8 @@ public async Task GetIfExists_QuotasGetRequestForCompute() } } - // Quotas_UsagesRequest_ForNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotasUsagesRequestForNetwork() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getNetworkOneSkuQuotaLimit.json @@ -147,9 +144,8 @@ public async Task Get_QuotasUsagesRequestForNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Quotas_UsagesRequest_ForNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_QuotasUsagesRequestForNetwork() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getNetworkOneSkuQuotaLimit.json @@ -175,9 +171,8 @@ public async Task Exists_QuotasUsagesRequestForNetwork() Console.WriteLine($"Succeeded: {result}"); } - // Quotas_UsagesRequest_ForNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_QuotasUsagesRequestForNetwork() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getNetworkOneSkuQuotaLimit.json @@ -203,7 +198,7 @@ public async Task GetIfExists_QuotasUsagesRequestForNetwork() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -215,9 +210,8 @@ public async Task GetIfExists_QuotasUsagesRequestForNetwork() } } - // Quotas_PutRequest_ForNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_QuotasPutRequestForNetwork() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/putNetworkOneSkuQuotaRequest.json @@ -260,9 +254,8 @@ public async Task CreateOrUpdate_QuotasPutRequestForNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Quotas_PutRequest_ForNetwork_StandardSkuPublicIpAddressesResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_QuotasPutRequestForNetworkStandardSkuPublicIpAddressesResource() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/putNetworkOneSkuQuotaRequestStandardSkuPublicIpAddresses.json @@ -305,9 +298,8 @@ public async Task CreateOrUpdate_QuotasPutRequestForNetworkStandardSkuPublicIpAd Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Quotas_Put_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_QuotasPutRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/putComputeOneSkuQuotaRequest.json @@ -349,9 +341,8 @@ public async Task CreateOrUpdate_QuotasPutRequestForCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Quotas_Request_ForMachineLearningServices_LowPriorityResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_QuotasRequestForMachineLearningServicesLowPriorityResource() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/putMachineLearningServicesQuotaRequestLowPriority.json @@ -394,9 +385,8 @@ public async Task CreateOrUpdate_QuotasRequestForMachineLearningServicesLowPrior Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Quotas_listQuotaLimitsForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_QuotasListQuotaLimitsForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getComputeQuotaLimits.json @@ -425,12 +415,11 @@ public async Task GetAll_QuotasListQuotaLimitsForCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Quotas_listQuotaLimitsForNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_QuotasListQuotaLimitsForNetwork() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getNetworkQuotaLimits.json @@ -459,12 +448,11 @@ public async Task GetAll_QuotasListQuotaLimitsForNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Quotas_listQuotaLimitsMachineLearningServices - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_QuotasListQuotaLimitsMachineLearningServices() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getMachineLearningServicesQuotaLimits.json @@ -493,7 +481,7 @@ public async Task GetAll_QuotasListQuotaLimitsMachineLearningServices() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_CurrentQuotaLimitBaseResource.cs b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_CurrentQuotaLimitBaseResource.cs index 8c7ee11303c42..5f242fe385546 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_CurrentQuotaLimitBaseResource.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_CurrentQuotaLimitBaseResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Quota.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Quota.Samples { public partial class Sample_CurrentQuotaLimitBaseResource { - // Quotas_Get_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotasGetRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getComputeOneSkuQuotaLimit.json @@ -45,9 +45,8 @@ public async Task Get_QuotasGetRequestForCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Quotas_UsagesRequest_ForNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotasUsagesRequestForNetwork() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getNetworkOneSkuQuotaLimit.json @@ -75,9 +74,8 @@ public async Task Get_QuotasUsagesRequestForNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Quotas_Request_PatchForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_QuotasRequestPatchForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/patchComputeQuotaRequest.json @@ -117,9 +115,8 @@ public async Task Update_QuotasRequestPatchForCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Quotas_Request_PatchForNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_QuotasRequestPatchForNetwork() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/patchNetworkOneSkuQuotaRequest.json diff --git a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_CurrentUsagesBaseCollection.cs b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_CurrentUsagesBaseCollection.cs index a2e6a2c678b8c..f419d74eaa83f 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_CurrentUsagesBaseCollection.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_CurrentUsagesBaseCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Quota.Samples { public partial class Sample_CurrentUsagesBaseCollection { - // Quotas_UsagesRequest_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotasUsagesRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getComputeOneSkuUsages.json @@ -46,9 +46,8 @@ public async Task Get_QuotasUsagesRequestForCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Quotas_UsagesRequest_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_QuotasUsagesRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getComputeOneSkuUsages.json @@ -74,9 +73,8 @@ public async Task Exists_QuotasUsagesRequestForCompute() Console.WriteLine($"Succeeded: {result}"); } - // Quotas_UsagesRequest_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_QuotasUsagesRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getComputeOneSkuUsages.json @@ -102,7 +100,7 @@ public async Task GetIfExists_QuotasUsagesRequestForCompute() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -114,9 +112,8 @@ public async Task GetIfExists_QuotasUsagesRequestForCompute() } } - // Quotas_UsagesRequest_ForNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotasUsagesRequestForNetwork() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getNetworkOneSkuUsages.json @@ -146,9 +143,8 @@ public async Task Get_QuotasUsagesRequestForNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Quotas_UsagesRequest_ForNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_QuotasUsagesRequestForNetwork() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getNetworkOneSkuUsages.json @@ -174,9 +170,8 @@ public async Task Exists_QuotasUsagesRequestForNetwork() Console.WriteLine($"Succeeded: {result}"); } - // Quotas_UsagesRequest_ForNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_QuotasUsagesRequestForNetwork() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getNetworkOneSkuUsages.json @@ -202,7 +197,7 @@ public async Task GetIfExists_QuotasUsagesRequestForNetwork() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -214,9 +209,8 @@ public async Task GetIfExists_QuotasUsagesRequestForNetwork() } } - // Quotas_listUsagesForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_QuotasListUsagesForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getComputeUsages.json @@ -245,12 +239,11 @@ public async Task GetAll_QuotasListUsagesForCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Quotas_listUsagesForNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_QuotasListUsagesForNetwork() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getNetworkUsages.json @@ -279,12 +272,11 @@ public async Task GetAll_QuotasListUsagesForNetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Quotas_listUsagesMachineLearningServices - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_QuotasListUsagesMachineLearningServices() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getMachineLearningServicesUsages.json @@ -313,7 +305,7 @@ public async Task GetAll_QuotasListUsagesMachineLearningServices() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_CurrentUsagesBaseResource.cs b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_CurrentUsagesBaseResource.cs index 0589035b906f0..f1d9ce8e39262 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_CurrentUsagesBaseResource.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_CurrentUsagesBaseResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Quota.Samples { public partial class Sample_CurrentUsagesBaseResource { - // Quotas_UsagesRequest_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotasUsagesRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getComputeOneSkuUsages.json @@ -44,9 +44,8 @@ public async Task Get_QuotasUsagesRequestForCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Quotas_UsagesRequest_ForNetwork - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotasUsagesRequestForNetwork() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getNetworkOneSkuUsages.json diff --git a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaEnforcementCollection.cs b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaEnforcementCollection.cs index f13764f3ec0e4..094f19b3c3910 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaEnforcementCollection.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaEnforcementCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Quota.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Quota.Samples { public partial class Sample_GroupQuotaEnforcementCollection { - // GroupQuotaLocationSettings_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_GroupQuotaLocationSettingsCreateOrUpdate() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotasEnforcement/PutGroupQuotaEnforcement.json @@ -58,9 +58,8 @@ public async Task CreateOrUpdate_GroupQuotaLocationSettingsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GroupQuotaLocationSettings_CreateOrUpdate_Failed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_GroupQuotaLocationSettingsCreateOrUpdateFailed() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotasEnforcement/PutGroupQuotaEnforcementFailed.json @@ -101,9 +100,8 @@ public async Task CreateOrUpdate_GroupQuotaLocationSettingsCreateOrUpdateFailed( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GroupQuotasEnforcement_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GroupQuotasEnforcementGet() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotasEnforcement/GetGroupQuotaEnforcement.json @@ -136,9 +134,8 @@ public async Task Get_GroupQuotasEnforcementGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GroupQuotasEnforcement_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GroupQuotasEnforcementGet() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotasEnforcement/GetGroupQuotaEnforcement.json @@ -167,9 +164,8 @@ public async Task Exists_GroupQuotasEnforcementGet() Console.WriteLine($"Succeeded: {result}"); } - // GroupQuotasEnforcement_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GroupQuotasEnforcementGet() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotasEnforcement/GetGroupQuotaEnforcement.json @@ -198,7 +194,7 @@ public async Task GetIfExists_GroupQuotasEnforcementGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -210,9 +206,8 @@ public async Task GetIfExists_GroupQuotasEnforcementGet() } } - // GroupQuotaEnforcement_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GroupQuotaEnforcementList() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotasEnforcement/ListGroupQuotaEnforcement.json @@ -244,7 +239,7 @@ public async Task GetAll_GroupQuotaEnforcementList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaEnforcementResource.cs b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaEnforcementResource.cs index 70e7190fc6461..68633643d1219 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaEnforcementResource.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaEnforcementResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Quota.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Quota.Samples { public partial class Sample_GroupQuotaEnforcementResource { - // GroupQuotaLocationSettings_Patch - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_GroupQuotaLocationSettingsPatch() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotasEnforcement/PatchGroupQuotaEnforcement.json @@ -55,9 +55,8 @@ public async Task Update_GroupQuotaLocationSettingsPatch() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GroupQuotasEnforcement_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GroupQuotasEnforcementGet() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotasEnforcement/GetGroupQuotaEnforcement.json diff --git a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaEntityCollection.cs b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaEntityCollection.cs index 8adfeb32c2c66..ae5ce513787db 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaEntityCollection.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaEntityCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagementGroups; using Azure.ResourceManager.Quota.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Quota.Samples { public partial class Sample_GroupQuotaEntityCollection { - // GroupQuotas_Put_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_GroupQuotasPutRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotas/PutGroupQuotas.json @@ -65,9 +65,8 @@ public async Task CreateOrUpdate_GroupQuotasPutRequestForCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GroupQuotas_Get_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GroupQuotasGetRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotas/GetGroupQuotas.json @@ -98,9 +97,8 @@ public async Task Get_GroupQuotasGetRequestForCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GroupQuotas_Get_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GroupQuotasGetRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotas/GetGroupQuotas.json @@ -127,9 +125,8 @@ public async Task Exists_GroupQuotasGetRequestForCompute() Console.WriteLine($"Succeeded: {result}"); } - // GroupQuotas_Get_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GroupQuotasGetRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotas/GetGroupQuotas.json @@ -156,7 +153,7 @@ public async Task GetIfExists_GroupQuotasGetRequestForCompute() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_GroupQuotasGetRequestForCompute() } } - // GroupQuotas_List_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GroupQuotasListRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotas/GetGroupQuotasList.json @@ -200,7 +196,7 @@ public async Task GetAll_GroupQuotasListRequestForCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaEntityResource.cs b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaEntityResource.cs index 73f37983f49f9..da00fa0eb6813 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaEntityResource.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaEntityResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Quota.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Quota.Samples { public partial class Sample_GroupQuotaEntityResource { - // GroupQuotas_Patch_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_GroupQuotasPatchRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotas/PatchGroupQuotas.json @@ -62,9 +62,8 @@ public async Task Update_GroupQuotasPatchRequestForCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GroupQuotas_Get_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GroupQuotasGetRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotas/GetGroupQuotas.json @@ -92,9 +91,8 @@ public async Task Get_GroupQuotasGetRequestForCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GroupQuotas_Delete_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_GroupQuotasDeleteRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotas/DeleteGroupQuotas.json @@ -115,12 +113,11 @@ public async Task Delete_GroupQuotasDeleteRequestForCompute() // invoke the operation await groupQuotaEntity.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GroupQuotaLimitsRequests_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateGroupQuotaLimitsRequest_GroupQuotaLimitsRequestsCreateOrUpdate() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotaLimitsRequests/PutGroupQuotaLimitsRequests-Compute.json @@ -151,9 +148,8 @@ public async Task CreateOrUpdateGroupQuotaLimitsRequest_GroupQuotaLimitsRequests Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GroupQuotaLimitsRequests_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateGroupQuotaLimitsRequest_GroupQuotaLimitsRequestsUpdate() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotaLimitsRequests/PatchGroupQuotaLimitsRequests-Compute.json @@ -184,9 +180,8 @@ public async Task UpdateGroupQuotaLimitsRequest_GroupQuotaLimitsRequestsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GroupQuotaLimitsRequest_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetGroupQuotaLimitsRequests_GroupQuotaLimitsRequestList() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotaLimitsRequests/GroupQuotaLimitsRequests_List.json @@ -216,12 +211,11 @@ public async Task GetGroupQuotaLimitsRequests_GroupQuotaLimitsRequestList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GroupQuotasUsages_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetGroupQuotaUsages_GroupQuotasUsagesList() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotaUsages/GetGroupQuotaUsages.json @@ -247,7 +241,7 @@ public async Task GetGroupQuotaUsages_GroupQuotasUsagesList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaLimitCollection.cs b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaLimitCollection.cs index 09b2946219d60..aee9997d163b7 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaLimitCollection.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaLimitCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Quota.Samples { public partial class Sample_GroupQuotaLimitCollection { - // GroupQuotaLimits_Get_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GroupQuotaLimitsGetRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotaLimits/GetGroupQuotaLimits-Compute.json @@ -50,9 +50,8 @@ public async Task Get_GroupQuotaLimitsGetRequestForCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GroupQuotaLimits_Get_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GroupQuotaLimitsGetRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotaLimits/GetGroupQuotaLimits-Compute.json @@ -82,9 +81,8 @@ public async Task Exists_GroupQuotaLimitsGetRequestForCompute() Console.WriteLine($"Succeeded: {result}"); } - // GroupQuotaLimits_Get_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GroupQuotaLimitsGetRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotaLimits/GetGroupQuotaLimits-Compute.json @@ -114,7 +112,7 @@ public async Task GetIfExists_GroupQuotaLimitsGetRequestForCompute() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -126,9 +124,8 @@ public async Task GetIfExists_GroupQuotaLimitsGetRequestForCompute() } } - // GroupQuotaLimits_List_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GroupQuotaLimitsListRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotaLimits/ListGroupQuotaLimits-Compute.json @@ -161,7 +158,7 @@ public async Task GetAll_GroupQuotaLimitsListRequestForCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaLimitResource.cs b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaLimitResource.cs index 4a9a3fbe00177..674232f063c47 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaLimitResource.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaLimitResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Quota.Samples { public partial class Sample_GroupQuotaLimitResource { - // GroupQuotaLimits_Get_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GroupQuotaLimitsGetRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotaLimits/GetGroupQuotaLimits-Compute.json diff --git a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaRequestStatusCollection.cs b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaRequestStatusCollection.cs index 63512eb8fd26e..b7039ffaef830 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaRequestStatusCollection.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaRequestStatusCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Quota.Samples { public partial class Sample_GroupQuotaRequestStatusCollection { - // GroupQuotaLimitsRequests_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GroupQuotaLimitsRequestsGet() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotaLimitsRequests/GroupQuotaLimitsRequests_Get.json @@ -48,9 +48,8 @@ public async Task Get_GroupQuotaLimitsRequestsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GroupQuotaLimitsRequests_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GroupQuotaLimitsRequestsGet() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotaLimitsRequests/GroupQuotaLimitsRequests_Get.json @@ -78,9 +77,8 @@ public async Task Exists_GroupQuotaLimitsRequestsGet() Console.WriteLine($"Succeeded: {result}"); } - // GroupQuotaLimitsRequests_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GroupQuotaLimitsRequestsGet() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotaLimitsRequests/GroupQuotaLimitsRequests_Get.json @@ -108,7 +106,7 @@ public async Task GetIfExists_GroupQuotaLimitsRequestsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaRequestStatusResource.cs b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaRequestStatusResource.cs index 175e2d9cbc5b0..30f2a62d29f43 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaRequestStatusResource.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaRequestStatusResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Quota.Samples { public partial class Sample_GroupQuotaRequestStatusResource { - // GroupQuotaLimitsRequests_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GroupQuotaLimitsRequestsGet() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotaLimitsRequests/GroupQuotaLimitsRequests_Get.json diff --git a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaSubscriptionCollection.cs b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaSubscriptionCollection.cs index 07ceaf487177e..fb18d84265584 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaSubscriptionCollection.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaSubscriptionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Quota.Samples { public partial class Sample_GroupQuotaSubscriptionCollection { - // GroupQuotaSubscriptions_Put_Subscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_GroupQuotaSubscriptionsPutSubscriptions() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotasSubscriptions/PutGroupQuotasSubscription.json @@ -49,9 +49,8 @@ public async Task CreateOrUpdate_GroupQuotaSubscriptionsPutSubscriptions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GroupQuotaSubscriptions_Get_Subscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GroupQuotaSubscriptionsGetSubscriptions() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotasSubscriptions/GetGroupQuotaSubscriptions.json @@ -83,9 +82,8 @@ public async Task Get_GroupQuotaSubscriptionsGetSubscriptions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GroupQuotaSubscriptions_Get_Subscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GroupQuotaSubscriptionsGetSubscriptions() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotasSubscriptions/GetGroupQuotaSubscriptions.json @@ -113,9 +111,8 @@ public async Task Exists_GroupQuotaSubscriptionsGetSubscriptions() Console.WriteLine($"Succeeded: {result}"); } - // GroupQuotaSubscriptions_Get_Subscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GroupQuotaSubscriptionsGetSubscriptions() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotasSubscriptions/GetGroupQuotaSubscriptions.json @@ -143,7 +140,7 @@ public async Task GetIfExists_GroupQuotaSubscriptionsGetSubscriptions() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -155,9 +152,8 @@ public async Task GetIfExists_GroupQuotaSubscriptionsGetSubscriptions() } } - // GroupQuotaSubscriptions_List_Subscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GroupQuotaSubscriptionsListSubscriptions() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotasSubscriptions/ListGroupQuotaSubscriptions.json @@ -188,7 +184,7 @@ public async Task GetAll_GroupQuotaSubscriptionsListSubscriptions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaSubscriptionRequestStatusCollection.cs b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaSubscriptionRequestStatusCollection.cs index 30183b48cd057..22880347656d4 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaSubscriptionRequestStatusCollection.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaSubscriptionRequestStatusCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Quota.Samples { public partial class Sample_GroupQuotaSubscriptionRequestStatusCollection { - // GroupQuotaSubscriptionRequests_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GroupQuotaSubscriptionRequestsList() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/SubscriptionRequests/SubscriptionRequests_List.json @@ -47,12 +47,11 @@ public async Task GetAll_GroupQuotaSubscriptionRequestsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GroupQuotaSubscriptionRequests_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GroupQuotaSubscriptionRequestsGet() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/SubscriptionRequests/SubscriptionRequests_Get.json @@ -84,9 +83,8 @@ public async Task Get_GroupQuotaSubscriptionRequestsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GroupQuotaSubscriptionRequests_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GroupQuotaSubscriptionRequestsGet() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/SubscriptionRequests/SubscriptionRequests_Get.json @@ -114,9 +112,8 @@ public async Task Exists_GroupQuotaSubscriptionRequestsGet() Console.WriteLine($"Succeeded: {result}"); } - // GroupQuotaSubscriptionRequests_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GroupQuotaSubscriptionRequestsGet() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/SubscriptionRequests/SubscriptionRequests_Get.json @@ -144,7 +141,7 @@ public async Task GetIfExists_GroupQuotaSubscriptionRequestsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaSubscriptionRequestStatusResource.cs b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaSubscriptionRequestStatusResource.cs index 9b644dd44ed86..c8e017b238fb8 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaSubscriptionRequestStatusResource.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaSubscriptionRequestStatusResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Quota.Samples { public partial class Sample_GroupQuotaSubscriptionRequestStatusResource { - // GroupQuotaSubscriptionRequests_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GroupQuotaSubscriptionRequestsGet() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/SubscriptionRequests/SubscriptionRequests_Get.json diff --git a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaSubscriptionResource.cs b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaSubscriptionResource.cs index 21431c1b9b853..c514f274d7951 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaSubscriptionResource.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_GroupQuotaSubscriptionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Quota.Samples { public partial class Sample_GroupQuotaSubscriptionResource { - // GroupQuotaSubscriptions_Patch_Subscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_GroupQuotaSubscriptionsPatchSubscriptions() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotasSubscriptions/PatchGroupQuotasSubscription.json @@ -46,9 +46,8 @@ public async Task Update_GroupQuotaSubscriptionsPatchSubscriptions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GroupQuotaSubscriptions_Delete_Subscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_GroupQuotaSubscriptionsDeleteSubscriptions() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotasSubscriptions/DeleteGroupQuotaSubscriptions.json @@ -70,12 +69,11 @@ public async Task Delete_GroupQuotaSubscriptionsDeleteSubscriptions() // invoke the operation await groupQuotaSubscription.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GroupQuotaSubscriptions_Get_Subscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GroupQuotaSubscriptionsGetSubscriptions() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GroupQuotasSubscriptions/GetGroupQuotaSubscriptions.json diff --git a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_QuotaAllocationRequestStatusCollection.cs b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_QuotaAllocationRequestStatusCollection.cs index e9595abc3f981..c2bc5e31dbc87 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_QuotaAllocationRequestStatusCollection.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_QuotaAllocationRequestStatusCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ManagementGroups; +using NUnit.Framework; namespace Azure.ResourceManager.Quota.Samples { public partial class Sample_QuotaAllocationRequestStatusCollection { - // SubscriptionQuotaAllocationRequests_Get_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SubscriptionQuotaAllocationRequestsGetRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/SubscriptionQuotaAllocationRequests/SubscriptionQuotaAllocationRequests_Get-Compute.json @@ -50,9 +50,8 @@ public async Task Get_SubscriptionQuotaAllocationRequestsGetRequestForCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SubscriptionQuotaAllocationRequests_Get_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SubscriptionQuotaAllocationRequestsGetRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/SubscriptionQuotaAllocationRequests/SubscriptionQuotaAllocationRequests_Get-Compute.json @@ -81,9 +80,8 @@ public async Task Exists_SubscriptionQuotaAllocationRequestsGetRequestForCompute Console.WriteLine($"Succeeded: {result}"); } - // SubscriptionQuotaAllocationRequests_Get_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SubscriptionQuotaAllocationRequestsGetRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/SubscriptionQuotaAllocationRequests/SubscriptionQuotaAllocationRequests_Get-Compute.json @@ -112,7 +110,7 @@ public async Task GetIfExists_SubscriptionQuotaAllocationRequestsGetRequestForCo if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_QuotaAllocationRequestStatusResource.cs b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_QuotaAllocationRequestStatusResource.cs index bf896a400648a..ea7d956e3dd56 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_QuotaAllocationRequestStatusResource.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_QuotaAllocationRequestStatusResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagementGroups; using Azure.ResourceManager.Quota.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Quota.Samples { public partial class Sample_QuotaAllocationRequestStatusResource { - // SubscriptionQuotaAllocationRequests_Get_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SubscriptionQuotaAllocationRequestsGetRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/SubscriptionQuotaAllocationRequests/SubscriptionQuotaAllocationRequests_Get-Compute.json @@ -48,9 +48,8 @@ public async Task Get_SubscriptionQuotaAllocationRequestsGetRequestForCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SubscriptionQuotaAllocation_List_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetQuotaAllocationRequestStatusesByResourceProvider_SubscriptionQuotaAllocationListRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/SubscriptionQuotaAllocationRequests/SubscriptionQuotaAllocationRequests_List-Compute.json @@ -81,12 +80,11 @@ public async Task GetQuotaAllocationRequestStatusesByResourceProvider_Subscripti Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SubscriptionQuotaAllocation_Put_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateGroupQuotaSubscriptionAllocationRequest_SubscriptionQuotaAllocationPutRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/SubscriptionQuotaAllocationRequests/PutSubscriptionQuotaAllocationRequest-Compute.json @@ -126,9 +124,8 @@ public async Task CreateOrUpdateGroupQuotaSubscriptionAllocationRequest_Subscrip Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SubscriptionQuotaAllocation_Patch_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateGroupQuotaSubscriptionAllocationRequest_SubscriptionQuotaAllocationPatchRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/SubscriptionQuotaAllocationRequests/PatchSubscriptionQuotaAllocationRequest-Compute.json diff --git a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_QuotaRequestDetailCollection.cs b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_QuotaRequestDetailCollection.cs index 7247f01db4091..db77f3008ec69 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_QuotaRequestDetailCollection.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_QuotaRequestDetailCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Quota.Samples { public partial class Sample_QuotaRequestDetailCollection { - // QuotaRequestFailed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotaRequestFailed() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getQuotaRequestStatusFailed.json @@ -46,9 +46,8 @@ public async Task Get_QuotaRequestFailed() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QuotaRequestFailed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_QuotaRequestFailed() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getQuotaRequestStatusFailed.json @@ -74,9 +73,8 @@ public async Task Exists_QuotaRequestFailed() Console.WriteLine($"Succeeded: {result}"); } - // QuotaRequestFailed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_QuotaRequestFailed() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getQuotaRequestStatusFailed.json @@ -102,7 +100,7 @@ public async Task GetIfExists_QuotaRequestFailed() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -114,9 +112,8 @@ public async Task GetIfExists_QuotaRequestFailed() } } - // QuotaRequestInProgress - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotaRequestInProgress() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getQuotaRequestStatusInProgress.json @@ -146,9 +143,8 @@ public async Task Get_QuotaRequestInProgress() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QuotaRequestInProgress - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_QuotaRequestInProgress() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getQuotaRequestStatusInProgress.json @@ -174,9 +170,8 @@ public async Task Exists_QuotaRequestInProgress() Console.WriteLine($"Succeeded: {result}"); } - // QuotaRequestInProgress - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_QuotaRequestInProgress() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getQuotaRequestStatusInProgress.json @@ -202,7 +197,7 @@ public async Task GetIfExists_QuotaRequestInProgress() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -214,9 +209,8 @@ public async Task GetIfExists_QuotaRequestInProgress() } } - // QuotaRequestStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotaRequestStatus() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getQuotaRequestStatusById.json @@ -246,9 +240,8 @@ public async Task Get_QuotaRequestStatus() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QuotaRequestStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_QuotaRequestStatus() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getQuotaRequestStatusById.json @@ -274,9 +267,8 @@ public async Task Exists_QuotaRequestStatus() Console.WriteLine($"Succeeded: {result}"); } - // QuotaRequestStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_QuotaRequestStatus() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getQuotaRequestStatusById.json @@ -302,7 +294,7 @@ public async Task GetIfExists_QuotaRequestStatus() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -314,9 +306,8 @@ public async Task GetIfExists_QuotaRequestStatus() } } - // QuotaRequestHistory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_QuotaRequestHistory() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getQuotaRequestsHistory.json @@ -345,7 +336,7 @@ public async Task GetAll_QuotaRequestHistory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_QuotaRequestDetailResource.cs b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_QuotaRequestDetailResource.cs index 75c7688494083..92d88d305834d 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_QuotaRequestDetailResource.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_QuotaRequestDetailResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Quota.Samples { public partial class Sample_QuotaRequestDetailResource { - // QuotaRequestFailed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotaRequestFailed() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getQuotaRequestStatusFailed.json @@ -44,9 +44,8 @@ public async Task Get_QuotaRequestFailed() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QuotaRequestInProgress - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotaRequestInProgress() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getQuotaRequestStatusInProgress.json @@ -74,9 +73,8 @@ public async Task Get_QuotaRequestInProgress() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QuotaRequestStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotaRequestStatus() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/getQuotaRequestStatusById.json diff --git a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_SubscriptionQuotaAllocationCollection.cs b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_SubscriptionQuotaAllocationCollection.cs index 3e0571decf519..40f0f3869f37d 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_SubscriptionQuotaAllocationCollection.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_SubscriptionQuotaAllocationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ManagementGroups; +using NUnit.Framework; namespace Azure.ResourceManager.Quota.Samples { public partial class Sample_SubscriptionQuotaAllocationCollection { - // SubscriptionQuotaAllocation_List_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SubscriptionQuotaAllocationListForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/SubscriptionQuotaAllocation/SubscriptionQuotaAllocation_List-Compute.json @@ -50,12 +50,11 @@ public async Task GetAll_SubscriptionQuotaAllocationListForCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SubscriptionQuotaAllocation_Get_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SubscriptionQuotaAllocationGetRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/SubscriptionQuotaAllocation/SubscriptionQuotaAllocation_Get-Compute.json @@ -89,9 +88,8 @@ public async Task Get_SubscriptionQuotaAllocationGetRequestForCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SubscriptionQuotaAllocation_Get_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SubscriptionQuotaAllocationGetRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/SubscriptionQuotaAllocation/SubscriptionQuotaAllocation_Get-Compute.json @@ -121,9 +119,8 @@ public async Task Exists_SubscriptionQuotaAllocationGetRequestForCompute() Console.WriteLine($"Succeeded: {result}"); } - // SubscriptionQuotaAllocation_Get_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SubscriptionQuotaAllocationGetRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/SubscriptionQuotaAllocation/SubscriptionQuotaAllocation_Get-Compute.json @@ -153,7 +150,7 @@ public async Task GetIfExists_SubscriptionQuotaAllocationGetRequestForCompute() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_SubscriptionQuotaAllocationResource.cs b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_SubscriptionQuotaAllocationResource.cs index fe117ad2cb350..d37fdba0a11c8 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_SubscriptionQuotaAllocationResource.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_SubscriptionQuotaAllocationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Quota.Samples { public partial class Sample_SubscriptionQuotaAllocationResource { - // SubscriptionQuotaAllocation_Get_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SubscriptionQuotaAllocationGetRequestForCompute() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/SubscriptionQuotaAllocation/SubscriptionQuotaAllocation_Get-Compute.json diff --git a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_TenantResourceExtensions.cs b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_TenantResourceExtensions.cs index d7f81bcac57b6..32122e6753839 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_TenantResourceExtensions.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/samples/Generated/Samples/Sample_TenantResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Quota.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Quota.Samples { public partial class Sample_TenantResourceExtensions { - // GetOperations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetQuotaOperations_GetOperations() { // Generated from example definition: specification/quota/resource-manager/Microsoft.Quota/preview/2023-06-01-preview/examples/GetOperations.json @@ -38,7 +38,7 @@ public async Task GetQuotaOperations_GetOperations() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupEngineCollection.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupEngineCollection.cs index 5f2afcb037146..1fce2b802ea52 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupEngineCollection.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupEngineCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_BackupEngineCollection { - // List Dpm/AzureBackupServer/Lajolla Backup Engines - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDpmAzureBackupServerLajollaBackupEngines() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Dpm/BackupEngines_List.json @@ -49,12 +49,11 @@ public async Task GetAll_ListDpmAzureBackupServerLajollaBackupEngines() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Dpm/AzureBackupServer/Lajolla Backup Engine Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDpmAzureBackupServerLajollaBackupEngineDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Dpm/BackupEngines_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetDpmAzureBackupServerLajollaBackupEngineDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Dpm/AzureBackupServer/Lajolla Backup Engine Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDpmAzureBackupServerLajollaBackupEngineDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Dpm/BackupEngines_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetDpmAzureBackupServerLajollaBackupEngineDetails() Console.WriteLine($"Succeeded: {result}"); } - // Get Dpm/AzureBackupServer/Lajolla Backup Engine Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDpmAzureBackupServerLajollaBackupEngineDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Dpm/BackupEngines_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetDpmAzureBackupServerLajollaBackupEngineDetails( if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupEngineResource.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupEngineResource.cs index 6d3ee4e39dce4..5333446bdc365 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupEngineResource.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupEngineResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_BackupEngineResource { - // Get Dpm/AzureBackupServer/Lajolla Backup Engine Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDpmAzureBackupServerLajollaBackupEngineDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Dpm/BackupEngines_Get.json diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupJobCollection.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupJobCollection.cs index fca1d5558458f..5b6a342cdc888 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupJobCollection.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupJobCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_BackupJobCollection { - // List All Jobs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllJobs() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/ListJobs.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAllJobs() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Jobs With Filters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListJobsWithFilters() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/ListJobsWithAllSupportedFilters.json @@ -87,12 +86,11 @@ public async Task GetAll_ListJobsWithFilters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Jobs With Time Filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListJobsWithTimeFilter() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/ListJobsWithStartTimeAndEndTimeFilters.json @@ -125,12 +123,11 @@ public async Task GetAll_ListJobsWithTimeFilter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Job Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetJobDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/GetJobDetails.json @@ -163,9 +160,8 @@ public async Task Get_GetJobDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Job Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetJobDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/GetJobDetails.json @@ -194,9 +190,8 @@ public async Task Exists_GetJobDetails() Console.WriteLine($"Succeeded: {result}"); } - // Get Job Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetJobDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/GetJobDetails.json @@ -225,7 +220,7 @@ public async Task GetIfExists_GetJobDetails() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupJobResource.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupJobResource.cs index 9eab5ca8ccd36..38c62a03cf9a3 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupJobResource.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupJobResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_BackupJobResource { - // Get Job Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetJobDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/GetJobDetails.json @@ -46,9 +46,8 @@ public async Task Get_GetJobDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Cancel Job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TriggerJobCancellation_CancelJob() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/TriggerCancelJob.json @@ -71,7 +70,7 @@ public async Task TriggerJobCancellation_CancelJob() // invoke the operation await backupJob.TriggerJobCancellationAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupPrivateEndpointConnectionCollection.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupPrivateEndpointConnectionCollection.cs index 1296461a19682..4631a84cca58c 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupPrivateEndpointConnectionCollection.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupPrivateEndpointConnectionCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesBackup.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_BackupPrivateEndpointConnectionCollection { - // Get PrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateEndpointConnection() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/PrivateEndpointConnection/GetPrivateEndpointConnection.json @@ -51,9 +51,8 @@ public async Task Get_GetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get PrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPrivateEndpointConnection() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/PrivateEndpointConnection/GetPrivateEndpointConnection.json @@ -82,9 +81,8 @@ public async Task Exists_GetPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // Get PrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPrivateEndpointConnection() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/PrivateEndpointConnection/GetPrivateEndpointConnection.json @@ -113,7 +111,7 @@ public async Task GetIfExists_GetPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -125,9 +123,8 @@ public async Task GetIfExists_GetPrivateEndpointConnection() } } - // Update PrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdatePrivateEndpointConnection() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/PrivateEndpointConnection/PutPrivateEndpointConnection.json diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupPrivateEndpointConnectionResource.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupPrivateEndpointConnectionResource.cs index 027d1aa849099..22a07ee21ceca 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupPrivateEndpointConnectionResource.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesBackup.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_BackupPrivateEndpointConnectionResource { - // Get PrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateEndpointConnection() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/PrivateEndpointConnection/GetPrivateEndpointConnection.json @@ -47,9 +47,8 @@ public async Task Get_GetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update PrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatePrivateEndpointConnection() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/PrivateEndpointConnection/PutPrivateEndpointConnection.json @@ -97,9 +96,8 @@ public async Task Update_UpdatePrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete PrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletePrivateEndpointConnection() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/PrivateEndpointConnection/DeletePrivateEndpointConnection.json @@ -122,7 +120,7 @@ public async Task Delete_DeletePrivateEndpointConnection() // invoke the operation await backupPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectedItemCollection.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectedItemCollection.cs index 68ef9564b53bf..0809f25bafd2c 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectedItemCollection.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectedItemCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesBackup.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_BackupProtectedItemCollection { - // Get Protected Classic Virtual Machine Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetProtectedClassicVirtualMachineDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/ClassicCompute_ProtectedItem_Get.json @@ -52,9 +52,8 @@ public async Task Get_GetProtectedClassicVirtualMachineDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Protected Classic Virtual Machine Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetProtectedClassicVirtualMachineDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/ClassicCompute_ProtectedItem_Get.json @@ -85,9 +84,8 @@ public async Task Exists_GetProtectedClassicVirtualMachineDetails() Console.WriteLine($"Succeeded: {result}"); } - // Get Protected Classic Virtual Machine Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetProtectedClassicVirtualMachineDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/ClassicCompute_ProtectedItem_Get.json @@ -118,7 +116,7 @@ public async Task GetIfExists_GetProtectedClassicVirtualMachineDetails() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -130,9 +128,8 @@ public async Task GetIfExists_GetProtectedClassicVirtualMachineDetails() } } - // Get Protected Virtual Machine Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetProtectedVirtualMachineDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/Compute_ProtectedItem_Get.json @@ -167,9 +164,8 @@ public async Task Get_GetProtectedVirtualMachineDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Protected Virtual Machine Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetProtectedVirtualMachineDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/Compute_ProtectedItem_Get.json @@ -200,9 +196,8 @@ public async Task Exists_GetProtectedVirtualMachineDetails() Console.WriteLine($"Succeeded: {result}"); } - // Get Protected Virtual Machine Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetProtectedVirtualMachineDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/Compute_ProtectedItem_Get.json @@ -233,7 +228,7 @@ public async Task GetIfExists_GetProtectedVirtualMachineDetails() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -245,9 +240,8 @@ public async Task GetIfExists_GetProtectedVirtualMachineDetails() } } - // Enable Protection on Azure IaasVm - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EnableProtectionOnAzureIaasVm() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/ConfigureProtection.json @@ -291,9 +285,8 @@ public async Task CreateOrUpdate_EnableProtectionOnAzureIaasVm() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Stop Protection with retain data on Azure IaasVm - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_StopProtectionWithRetainDataOnAzureIaasVm() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/StopProtection.json diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectedItemResource.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectedItemResource.cs index 04bab9342bded..49bc38bb00d1f 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectedItemResource.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectedItemResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesBackup.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_BackupProtectedItemResource { - // Get Protected Classic Virtual Machine Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetProtectedClassicVirtualMachineDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/ClassicCompute_ProtectedItem_Get.json @@ -49,9 +49,8 @@ public async Task Get_GetProtectedClassicVirtualMachineDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Protected Virtual Machine Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetProtectedVirtualMachineDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/Compute_ProtectedItem_Get.json @@ -83,9 +82,8 @@ public async Task Get_GetProtectedVirtualMachineDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Enable Protection on Azure IaasVm - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_EnableProtectionOnAzureIaasVm() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/ConfigureProtection.json @@ -126,9 +124,8 @@ public async Task Update_EnableProtectionOnAzureIaasVm() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Stop Protection with retain data on Azure IaasVm - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_StopProtectionWithRetainDataOnAzureIaasVm() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/StopProtection.json @@ -169,9 +166,8 @@ public async Task Update_StopProtectionWithRetainDataOnAzureIaasVm() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Protection from Azure Virtual Machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteProtectionFromAzureVirtualMachine() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/ProtectedItem_Delete.json @@ -196,12 +192,11 @@ public async Task Delete_DeleteProtectionFromAzureVirtualMachine() // invoke the operation await backupProtectedItem.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Trigger Backup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TriggerBackup_TriggerBackup() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/TriggerBackup_Post.json @@ -230,12 +225,11 @@ public async Task TriggerBackup_TriggerBackup() }; await backupProtectedItem.TriggerBackupAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Protected Azure Vm Recovery Points Recommended for Move - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRecoveryPointsRecommendedForMove_GetProtectedAzureVmRecoveryPointsRecommendedForMove() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/RecoveryPointsRecommendedForMove_List.json @@ -275,7 +269,7 @@ public async Task GetRecoveryPointsRecommendedForMove_GetProtectedAzureVmRecover Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectionContainerCollection.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectionContainerCollection.cs index 6055ad6f299ea..fd5cd4110abc4 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectionContainerCollection.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectionContainerCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesBackup.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_BackupProtectionContainerCollection { - // Get Protection Container Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetProtectionContainerDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureWorkload/ProtectionContainers_Get.json @@ -52,9 +52,8 @@ public async Task Get_GetProtectionContainerDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Protection Container Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetProtectionContainerDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureWorkload/ProtectionContainers_Get.json @@ -84,9 +83,8 @@ public async Task Exists_GetProtectionContainerDetails() Console.WriteLine($"Succeeded: {result}"); } - // Get Protection Container Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetProtectionContainerDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureWorkload/ProtectionContainers_Get.json @@ -116,7 +114,7 @@ public async Task GetIfExists_GetProtectionContainerDetails() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -128,9 +126,8 @@ public async Task GetIfExists_GetProtectionContainerDetails() } } - // RegisterAzure Storage ProtectionContainers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RegisterAzureStorageProtectionContainers() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureStorage/ProtectionContainers_Register.json diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectionContainerResource.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectionContainerResource.cs index a1bf0f7fdfe37..22e0bbbd35b50 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectionContainerResource.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectionContainerResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesBackup.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_BackupProtectionContainerResource { - // Get Protection Container Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetProtectionContainerDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureWorkload/ProtectionContainers_Get.json @@ -49,9 +49,8 @@ public async Task Get_GetProtectionContainerDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RegisterAzure Storage ProtectionContainers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RegisterAzureStorageProtectionContainers() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureStorage/ProtectionContainers_Register.json @@ -93,9 +92,8 @@ public async Task Update_RegisterAzureStorageProtectionContainers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Unregister Protection Container - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_UnregisterProtectionContainer() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureWorkload/ProtectionContainers_Unregister.json @@ -119,12 +117,11 @@ public async Task Delete_UnregisterProtectionContainer() // invoke the operation await backupProtectionContainer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Inquire Azure Storage Protection Containers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Inquire_InquireAzureStorageProtectionContainers() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureStorage/ProtectionContainers_Inquire.json @@ -148,12 +145,11 @@ public async Task Inquire_InquireAzureStorageProtectionContainers() // invoke the operation await backupProtectionContainer.InquireAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Trigger Azure Vm Discovery - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RefreshProtectionContainer_TriggerAzureVmDiscovery() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/RefreshContainers.json @@ -176,12 +172,11 @@ public async Task RefreshProtectionContainer_TriggerAzureVmDiscovery() string fabricName = "Azure"; await resourceGroupResource.RefreshProtectionContainerAsync(vaultName, fabricName); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Workload Items in Container - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBackupWorkloadItems_ListWorkloadItemsInContainer() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureWorkload/BackupWorkloadItems_List.json @@ -209,7 +204,7 @@ public async Task GetBackupWorkloadItems_ListWorkloadItemsInContainer() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectionIntentCollection.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectionIntentCollection.cs index 0516afac1b738..00c29bdbead99 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectionIntentCollection.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectionIntentCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesBackup.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_BackupProtectionIntentCollection { - // Get ProtectionIntent for an item - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetProtectionIntentForAnItem() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureWorkload/BackupProtectionIntent_Get.json @@ -52,9 +52,8 @@ public async Task Get_GetProtectionIntentForAnItem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get ProtectionIntent for an item - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetProtectionIntentForAnItem() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureWorkload/BackupProtectionIntent_Get.json @@ -84,9 +83,8 @@ public async Task Exists_GetProtectionIntentForAnItem() Console.WriteLine($"Succeeded: {result}"); } - // Get ProtectionIntent for an item - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetProtectionIntentForAnItem() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureWorkload/BackupProtectionIntent_Get.json @@ -116,7 +114,7 @@ public async Task GetIfExists_GetProtectionIntentForAnItem() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -128,9 +126,8 @@ public async Task GetIfExists_GetProtectionIntentForAnItem() } } - // Create or Update Azure Vm Protection Intent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAzureVmProtectionIntent() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/ProtectionIntent_CreateOrUpdate.json diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectionIntentResource.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectionIntentResource.cs index 74f0af7854bdf..5256dc474c564 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectionIntentResource.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectionIntentResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesBackup.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_BackupProtectionIntentResource { - // Validate Enable Protection on Azure Vm - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateProtectionIntent_ValidateEnableProtectionOnAzureVm() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/ProtectionIntent_Validate.json @@ -49,9 +49,8 @@ public async Task ValidateProtectionIntent_ValidateEnableProtectionOnAzureVm() Console.WriteLine($"Succeeded: {result}"); } - // Get ProtectionIntent for an item - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetProtectionIntentForAnItem() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureWorkload/BackupProtectionIntent_Get.json @@ -82,9 +81,8 @@ public async Task Get_GetProtectionIntentForAnItem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Azure Vm Protection Intent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAzureVmProtectionIntent() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/ProtectionIntent_CreateOrUpdate.json @@ -124,9 +122,8 @@ public async Task Update_CreateOrUpdateAzureVmProtectionIntent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Protection intent from item - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteProtectionIntentFromItem() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureWorkload/BackupProtectionIntent_Delete.json @@ -150,7 +147,7 @@ public async Task Delete_DeleteProtectionIntentFromItem() // invoke the operation await backupProtectionIntent.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectionPolicyCollection.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectionPolicyCollection.cs index 682acd10c2535..d186b3ff8f66c 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectionPolicyCollection.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectionPolicyCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesBackup.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_BackupProtectionPolicyCollection { - // List protection policies with backupManagementType filter as AzureIaasVm - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListProtectionPoliciesWithBackupManagementTypeFilterAsAzureIaasVm() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/BackupPolicies_List.json @@ -51,12 +51,11 @@ public async Task GetAll_ListProtectionPoliciesWithBackupManagementTypeFilterAsA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List protection policies with backupManagementType filter as AzureIaasVm with both V1 and V2 policies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListProtectionPoliciesWithBackupManagementTypeFilterAsAzureIaasVmWithBothV1AndV2Policies() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/V2Policy/v2-List-Policies.json @@ -89,12 +88,11 @@ public async Task GetAll_ListProtectionPoliciesWithBackupManagementTypeFilterAsA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List protection policies with backupManagementType filter as AzureWorkload - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListProtectionPoliciesWithBackupManagementTypeFilterAsAzureWorkload() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureWorkload/BackupPolicies_List.json @@ -127,12 +125,11 @@ public async Task GetAll_ListProtectionPoliciesWithBackupManagementTypeFilterAsA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Azure IaasVm Enhanced Protection Policy Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureIaasVmEnhancedProtectionPolicyDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/V2Policy/v2-Get-Policy.json @@ -165,9 +162,8 @@ public async Task Get_GetAzureIaasVmEnhancedProtectionPolicyDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Azure IaasVm Enhanced Protection Policy Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAzureIaasVmEnhancedProtectionPolicyDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/V2Policy/v2-Get-Policy.json @@ -196,9 +192,8 @@ public async Task Exists_GetAzureIaasVmEnhancedProtectionPolicyDetails() Console.WriteLine($"Succeeded: {result}"); } - // Get Azure IaasVm Enhanced Protection Policy Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAzureIaasVmEnhancedProtectionPolicyDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/V2Policy/v2-Get-Policy.json @@ -227,7 +222,7 @@ public async Task GetIfExists_GetAzureIaasVmEnhancedProtectionPolicyDetails() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -239,9 +234,8 @@ public async Task GetIfExists_GetAzureIaasVmEnhancedProtectionPolicyDetails() } } - // Get Azure IaasVm Protection Policy Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureIaasVmProtectionPolicyDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/ProtectionPolicies_Get.json @@ -274,9 +268,8 @@ public async Task Get_GetAzureIaasVmProtectionPolicyDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Azure IaasVm Protection Policy Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAzureIaasVmProtectionPolicyDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/ProtectionPolicies_Get.json @@ -305,9 +298,8 @@ public async Task Exists_GetAzureIaasVmProtectionPolicyDetails() Console.WriteLine($"Succeeded: {result}"); } - // Get Azure IaasVm Protection Policy Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAzureIaasVmProtectionPolicyDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/ProtectionPolicies_Get.json @@ -336,7 +328,7 @@ public async Task GetIfExists_GetAzureIaasVmProtectionPolicyDetails() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -348,9 +340,8 @@ public async Task GetIfExists_GetAzureIaasVmProtectionPolicyDetails() } } - // Create or Update Azure Storage Vault Standard Protection Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAzureStorageVaultStandardProtectionPolicy() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureStorage/ProtectionPolicies_CreateOrUpdate_Hardened.json @@ -483,9 +474,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAzureStorageVaultStandardProtecti Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Daily Azure Storage Protection Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateDailyAzureStorageProtectionPolicy() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureStorage/ProtectionPolicies_CreateOrUpdate_Daily.json @@ -618,9 +608,8 @@ public async Task CreateOrUpdate_CreateOrUpdateDailyAzureStorageProtectionPolicy Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Enhanced Azure Vm Protection Policy with Hourly backup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateEnhancedAzureVmProtectionPolicyWithHourlyBackup() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/V2Policy/IaaS_v2_hourly.json @@ -756,9 +745,8 @@ public async Task CreateOrUpdate_CreateOrUpdateEnhancedAzureVmProtectionPolicyWi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Enhanced Azure Vm Protection Policy with daily backup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateEnhancedAzureVmProtectionPolicyWithDailyBackup() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/V2Policy/IaaS_v2_daily.json @@ -892,9 +880,8 @@ public async Task CreateOrUpdate_CreateOrUpdateEnhancedAzureVmProtectionPolicyWi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Full Azure Vm Protection Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateFullAzureVmProtectionPolicy() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Complex.json @@ -1018,9 +1005,8 @@ public async Task CreateOrUpdate_CreateOrUpdateFullAzureVmProtectionPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Full Azure Workload Protection Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateFullAzureWorkloadProtectionPolicy() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureWorkload/ProtectionPolicies_CreateOrUpdate_Complex.json @@ -1194,9 +1180,8 @@ public async Task CreateOrUpdate_CreateOrUpdateFullAzureWorkloadProtectionPolicy Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Hourly Azure Storage Protection Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateHourlyAzureStorageProtectionPolicy() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureStorage/ProtectionPolicies_CreateOrUpdate_Hourly.json @@ -1327,9 +1312,8 @@ public async Task CreateOrUpdate_CreateOrUpdateHourlyAzureStorageProtectionPolic Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Simple Azure Vm Protection Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateSimpleAzureVmProtectionPolicy() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Simple.json diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectionPolicyResource.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectionPolicyResource.cs index 0893071f8b7db..51e8509eebad7 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectionPolicyResource.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupProtectionPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesBackup.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_BackupProtectionPolicyResource { - // Get Azure IaasVm Enhanced Protection Policy Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureIaasVmEnhancedProtectionPolicyDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/V2Policy/v2-Get-Policy.json @@ -47,9 +47,8 @@ public async Task Get_GetAzureIaasVmEnhancedProtectionPolicyDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Azure IaasVm Protection Policy Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureIaasVmProtectionPolicyDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/ProtectionPolicies_Get.json @@ -79,9 +78,8 @@ public async Task Get_GetAzureIaasVmProtectionPolicyDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Azure Storage Vault Standard Protection Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAzureStorageVaultStandardProtectionPolicy() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureStorage/ProtectionPolicies_CreateOrUpdate_Hardened.json @@ -211,9 +209,8 @@ public async Task Update_CreateOrUpdateAzureStorageVaultStandardProtectionPolicy Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Daily Azure Storage Protection Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateDailyAzureStorageProtectionPolicy() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureStorage/ProtectionPolicies_CreateOrUpdate_Daily.json @@ -343,9 +340,8 @@ public async Task Update_CreateOrUpdateDailyAzureStorageProtectionPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Enhanced Azure Vm Protection Policy with Hourly backup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateEnhancedAzureVmProtectionPolicyWithHourlyBackup() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/V2Policy/IaaS_v2_hourly.json @@ -478,9 +474,8 @@ public async Task Update_CreateOrUpdateEnhancedAzureVmProtectionPolicyWithHourly Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Enhanced Azure Vm Protection Policy with daily backup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateEnhancedAzureVmProtectionPolicyWithDailyBackup() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/V2Policy/IaaS_v2_daily.json @@ -611,9 +606,8 @@ public async Task Update_CreateOrUpdateEnhancedAzureVmProtectionPolicyWithDailyB Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Full Azure Vm Protection Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateFullAzureVmProtectionPolicy() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Complex.json @@ -734,9 +728,8 @@ public async Task Update_CreateOrUpdateFullAzureVmProtectionPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Full Azure Workload Protection Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateFullAzureWorkloadProtectionPolicy() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureWorkload/ProtectionPolicies_CreateOrUpdate_Complex.json @@ -907,9 +900,8 @@ public async Task Update_CreateOrUpdateFullAzureWorkloadProtectionPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Hourly Azure Storage Protection Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateHourlyAzureStorageProtectionPolicy() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureStorage/ProtectionPolicies_CreateOrUpdate_Hourly.json @@ -1037,9 +1029,8 @@ public async Task Update_CreateOrUpdateHourlyAzureStorageProtectionPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Simple Azure Vm Protection Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateSimpleAzureVmProtectionPolicy() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Simple.json @@ -1100,9 +1091,8 @@ public async Task Update_CreateOrUpdateSimpleAzureVmProtectionPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Azure Vm Protection Policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAzureVmProtectionPolicy() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/ProtectionPolicies_Delete.json @@ -1125,7 +1115,7 @@ public async Task Delete_DeleteAzureVmProtectionPolicy() // invoke the operation await backupProtectionPolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupRecoveryPointCollection.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupRecoveryPointCollection.cs index 4401fdaac4ca1..0677000be9c75 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupRecoveryPointCollection.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupRecoveryPointCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_BackupRecoveryPointCollection { - // Get Protected Azure Vm Recovery Points - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetProtectedAzureVmRecoveryPoints() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/RecoveryPoints_List.json @@ -51,12 +51,11 @@ public async Task GetAll_GetProtectedAzureVmRecoveryPoints() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Azure Vm Recovery Point Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureVmRecoveryPointDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/RecoveryPoints_Get.json @@ -92,9 +91,8 @@ public async Task Get_GetAzureVmRecoveryPointDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Azure Vm Recovery Point Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAzureVmRecoveryPointDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/RecoveryPoints_Get.json @@ -126,9 +124,8 @@ public async Task Exists_GetAzureVmRecoveryPointDetails() Console.WriteLine($"Succeeded: {result}"); } - // Get Azure Vm Recovery Point Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAzureVmRecoveryPointDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/RecoveryPoints_Get.json @@ -160,7 +157,7 @@ public async Task GetIfExists_GetAzureVmRecoveryPointDetails() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupRecoveryPointResource.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupRecoveryPointResource.cs index 1d7f3f6f48620..da0e87782ecdc 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupRecoveryPointResource.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupRecoveryPointResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesBackup.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_BackupRecoveryPointResource { - // Trigger RP Move Operation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MoveRecoveryPoint_TriggerRPMoveOperation() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/TriggerRecoveryPointMove_Post.json @@ -50,12 +50,11 @@ public async Task MoveRecoveryPoint_TriggerRPMoveOperation() }; await backupRecoveryPoint.MoveRecoveryPointAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Azure Vm Recovery Point Details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureVmRecoveryPointDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/RecoveryPoints_Get.json @@ -88,9 +87,8 @@ public async Task Get_GetAzureVmRecoveryPointDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Restore Disks with IaasVMRestoreRequest - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TriggerRestore_RestoreDisksWithIaasVMRestoreRequest() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/TriggerRestore_RestoreDisks_IaasVMRestoreRequest.json @@ -143,12 +141,11 @@ public async Task TriggerRestore_RestoreDisksWithIaasVMRestoreRequest() }; await backupRecoveryPoint.TriggerRestoreAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Restore Disks with IaasVMRestoreRequest with IdentityBasedRestoreDetails - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TriggerRestore_RestoreDisksWithIaasVMRestoreRequestWithIdentityBasedRestoreDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/TriggerRestore_RestoreDisks_IaasVMRestoreRequest_IdentityBasedRestoreDetails.json @@ -199,12 +196,11 @@ public async Task TriggerRestore_RestoreDisksWithIaasVMRestoreRequestWithIdentit }; await backupRecoveryPoint.TriggerRestoreAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Restore Disks with IaasVMRestoreWithRehydrationRequest - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TriggerRestore_RestoreDisksWithIaasVMRestoreWithRehydrationRequest() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/TriggerRestore_RestoreDisks_IaasVMRestoreWithRehydrationRequest.json @@ -252,12 +248,11 @@ public async Task TriggerRestore_RestoreDisksWithIaasVMRestoreWithRehydrationReq }; await backupRecoveryPoint.TriggerRestoreAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Restore to New Azure IaasVm with IaasVMRestoreRequest - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TriggerRestore_RestoreToNewAzureIaasVmWithIaasVMRestoreRequest() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/TriggerRestore_ALR_IaasVMRestoreRequest.json @@ -308,12 +303,11 @@ public async Task TriggerRestore_RestoreToNewAzureIaasVmWithIaasVMRestoreRequest }; await backupRecoveryPoint.TriggerRestoreAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Restore to New Azure IaasVm with IaasVMRestoreRequest with identityBasedRestoreDetails - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TriggerRestore_RestoreToNewAzureIaasVmWithIaasVMRestoreRequestWithIdentityBasedRestoreDetails() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/TriggerRestore_ALR_IaasVMRestoreRequest_IdentityBasedRestoreDetails.json @@ -367,12 +361,11 @@ public async Task TriggerRestore_RestoreToNewAzureIaasVmWithIaasVMRestoreRequest }; await backupRecoveryPoint.TriggerRestoreAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Restore to New Azure IaasVm with IaasVMRestoreWithRehydrationRequest - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TriggerRestore_RestoreToNewAzureIaasVmWithIaasVMRestoreWithRehydrationRequest() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/TriggerRestore_ALR_IaasVMRestoreWithRehydrationRequest.json @@ -424,12 +417,11 @@ public async Task TriggerRestore_RestoreToNewAzureIaasVmWithIaasVMRestoreWithReh }; await backupRecoveryPoint.TriggerRestoreAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Provision Instant Item Level Recovery for Azure Vm - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ProvisionItemLevelRecoveryConnection_ProvisionInstantItemLevelRecoveryForAzureVm() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/Provision_Ilr.json @@ -465,12 +457,11 @@ public async Task ProvisionItemLevelRecoveryConnection_ProvisionInstantItemLevel }; await backupRecoveryPoint.ProvisionItemLevelRecoveryConnectionAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Revoke Instant Item Level Recovery for Azure Vm - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RevokeItemLevelRecoveryConnection_RevokeInstantItemLevelRecoveryForAzureVm() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/Revoke_Ilr.json @@ -496,7 +487,7 @@ public async Task RevokeItemLevelRecoveryConnection_RevokeInstantItemLevelRecove // invoke the operation await backupRecoveryPoint.RevokeItemLevelRecoveryConnectionAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupResourceConfigCollection.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupResourceConfigCollection.cs index dfec7eca8030d..e12b97008e7db 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupResourceConfigCollection.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupResourceConfigCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesBackup.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_BackupResourceConfigCollection { - // Get Vault Storage Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVaultStorageConfiguration() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/BackupStorageConfig_Get.json @@ -50,9 +50,8 @@ public async Task Get_GetVaultStorageConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Vault Storage Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVaultStorageConfiguration() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/BackupStorageConfig_Get.json @@ -80,9 +79,8 @@ public async Task Exists_GetVaultStorageConfiguration() Console.WriteLine($"Succeeded: {result}"); } - // Get Vault Storage Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVaultStorageConfiguration() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/BackupStorageConfig_Get.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetVaultStorageConfiguration() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetVaultStorageConfiguration() } } - // Update Vault Storage Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateVaultStorageConfiguration() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/BackupStorageConfig_Put.json diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupResourceConfigResource.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupResourceConfigResource.cs index 2934e0c9f3800..a62258517e3df 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupResourceConfigResource.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupResourceConfigResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesBackup.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_BackupResourceConfigResource { - // Get Vault Storage Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVaultStorageConfiguration() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/BackupStorageConfig_Get.json @@ -46,9 +46,8 @@ public async Task Get_GetVaultStorageConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Vault Storage Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateVaultStorageConfiguration() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/BackupStorageConfig_Patch.json @@ -85,9 +84,8 @@ public async Task Update_UpdateVaultStorageConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Prepare Data Move - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PrepareDataMove_PrepareDataMove() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/BackupDataMove/PrepareDataMove_Post.json @@ -110,12 +108,11 @@ public async Task PrepareDataMove_PrepareDataMove() PrepareDataMoveContent content = new PrepareDataMoveContent(new ResourceIdentifier("/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/targetRG/providers/Microsoft.RecoveryServices/vaults/target-rsv"), new AzureLocation("USGov Virginia"), DataMoveLevel.Vault); await backupResourceConfig.PrepareDataMoveAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Trigger Data Move - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TriggerDataMove_TriggerDataMove() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/BackupDataMove/TriggerDataMove_Post.json @@ -138,7 +135,7 @@ public async Task TriggerDataMove_TriggerDataMove() TriggerDataMoveContent content = new TriggerDataMoveContent(new ResourceIdentifier("/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/sourceRG/providers/Microsoft.RecoveryServices/vaults/source-rsv"), new AzureLocation("USGov Iowa"), DataMoveLevel.Vault, "MTg2OTcyMzM4NzYyMjc1NDY3Nzs1YmUzYmVmNi04YjJiLTRhOTItOTllYi01NTM0MDllYjk2NjE="); await backupResourceConfig.TriggerDataMoveAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupResourceEncryptionConfigExtendedCollection.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupResourceEncryptionConfigExtendedCollection.cs index 7960580153b14..72ff79a66d772 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupResourceEncryptionConfigExtendedCollection.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupResourceEncryptionConfigExtendedCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesBackup.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_BackupResourceEncryptionConfigExtendedCollection { - // Get Vault Encryption Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVaultEncryptionConfiguration() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/BackupResourceEncryptionConfig_Get.json @@ -50,9 +50,8 @@ public async Task Get_GetVaultEncryptionConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Vault Encryption Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVaultEncryptionConfiguration() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/BackupResourceEncryptionConfig_Get.json @@ -80,9 +79,8 @@ public async Task Exists_GetVaultEncryptionConfiguration() Console.WriteLine($"Succeeded: {result}"); } - // Get Vault Encryption Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVaultEncryptionConfiguration() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/BackupResourceEncryptionConfig_Get.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetVaultEncryptionConfiguration() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetVaultEncryptionConfiguration() } } - // Update Vault Encryption Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateVaultEncryptionConfiguration() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/BackupResourceEncryptionConfig_Put.json @@ -159,7 +156,7 @@ public async Task CreateOrUpdate_UpdateVaultEncryptionConfiguration() }; await collection.CreateOrUpdateAsync(WaitUntil.Completed, vaultName, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupResourceEncryptionConfigExtendedResource.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupResourceEncryptionConfigExtendedResource.cs index e3b9398a2a6fe..e3d5c2922718b 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupResourceEncryptionConfigExtendedResource.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupResourceEncryptionConfigExtendedResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesBackup.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_BackupResourceEncryptionConfigExtendedResource { - // Get Vault Encryption Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVaultEncryptionConfiguration() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/BackupResourceEncryptionConfig_Get.json @@ -46,9 +46,8 @@ public async Task Get_GetVaultEncryptionConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Vault Encryption Configuration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateVaultEncryptionConfiguration() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/BackupResourceEncryptionConfig_Put.json @@ -80,7 +79,7 @@ public async Task Update_UpdateVaultEncryptionConfiguration() }; await backupResourceEncryptionConfigExtended.UpdateAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupResourceVaultConfigCollection.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupResourceVaultConfigCollection.cs index 8afb48f631f9e..eb609951f431c 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupResourceVaultConfigCollection.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupResourceVaultConfigCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesBackup.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_BackupResourceVaultConfigCollection { - // Get Vault Security Config - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVaultSecurityConfig() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/BackupResourceVaultConfigs_Get.json @@ -50,9 +50,8 @@ public async Task Get_GetVaultSecurityConfig() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Vault Security Config - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetVaultSecurityConfig() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/BackupResourceVaultConfigs_Get.json @@ -80,9 +79,8 @@ public async Task Exists_GetVaultSecurityConfig() Console.WriteLine($"Succeeded: {result}"); } - // Get Vault Security Config - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetVaultSecurityConfig() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/BackupResourceVaultConfigs_Get.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetVaultSecurityConfig() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetVaultSecurityConfig() } } - // Update Vault Security Config - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateVaultSecurityConfig() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/BackupResourceVaultConfigs_Put.json diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupResourceVaultConfigResource.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupResourceVaultConfigResource.cs index 186e952c08f23..7a5f012e82a37 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupResourceVaultConfigResource.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_BackupResourceVaultConfigResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesBackup.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_BackupResourceVaultConfigResource { - // Get Vault Security Config - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetVaultSecurityConfig() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/BackupResourceVaultConfigs_Get.json @@ -46,9 +46,8 @@ public async Task Get_GetVaultSecurityConfig() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Vault Security Config - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateVaultSecurityConfig() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/BackupResourceVaultConfigs_Patch.json diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs index 1e5dffe3ebeae..77e24a7ddd447 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesBackup.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_ResourceGroupResourceExtensions { - // List protection intent with backupManagementType filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBackupProtectionIntents_ListProtectionIntentWithBackupManagementTypeFilter() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureWorkload/BackupProtectionIntent_List.json @@ -47,12 +47,11 @@ public async Task GetBackupProtectionIntents_ListProtectionIntentWithBackupManag Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Protected Containers Usages Summary - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBackupUsageSummaries_GetProtectedContainersUsagesSummary() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/BackupProtectionContainers_UsageSummary_Get.json @@ -78,12 +77,11 @@ public async Task GetBackupUsageSummaries_GetProtectedContainersUsagesSummary() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Protected Items Usages Summary - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBackupUsageSummaries_GetProtectedItemsUsagesSummary() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/BackupProtectedItem_UsageSummary_Get.json @@ -109,12 +107,11 @@ public async Task GetBackupUsageSummaries_GetProtectedItemsUsagesSummary() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Export Jobs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExportJob_ExportJobs() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/TriggerExportJobs.json @@ -136,12 +133,11 @@ public async Task ExportJob_ExportJobs() string vaultName = "NetSDKTestRsVault"; await resourceGroupResource.ExportJobAsync(vaultName); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List protected items with backupManagementType filter as AzureIaasVm - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBackupProtectedItems_ListProtectedItemsWithBackupManagementTypeFilterAsAzureIaasVm() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/BackupProtectedItems_List.json @@ -171,12 +167,11 @@ public async Task GetBackupProtectedItems_ListProtectedItemsWithBackupManagement Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List protectable items with backupManagementType filter as AzureStorage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetProtectableContainers_ListProtectableItemsWithBackupManagementTypeFilterAsAzureStorage() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureStorage/ProtectableContainers_List.json @@ -203,12 +198,11 @@ public async Task GetProtectableContainers_ListProtectableItemsWithBackupManagem Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List protectable items with backupManagementType filter as AzureIaasVm - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBackupProtectableItems_ListProtectableItemsWithBackupManagementTypeFilterAsAzureIaasVm() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/BackupProtectableItems_List.json @@ -234,12 +228,11 @@ public async Task GetBackupProtectableItems_ListProtectableItemsWithBackupManage Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Backup Protection Containers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBackupProtectionContainers_ListBackupProtectionContainers() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureStorage/ProtectionContainers_List.json @@ -269,12 +262,11 @@ public async Task GetBackupProtectionContainers_ListBackupProtectionContainers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Backup Protection Containers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSoftDeletedProtectionContainers_ListBackupProtectionContainers() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureStorage/SoftDeletedContainers_List.json @@ -304,12 +296,11 @@ public async Task GetSoftDeletedProtectionContainers_ListBackupProtectionContain Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Vault Security Pin - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecurityPin_GetVaultSecurityPin() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/Common/BackupSecurityPin_Get.json @@ -334,9 +325,8 @@ public async Task GetSecurityPin_GetVaultSecurityPin() Console.WriteLine($"Succeeded: {result}"); } - // Get the rehydration cost for recovery point - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PostFetchTieringCost_GetTheRehydrationCostForRecoveryPoint() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/TieringCost/FetchTieringCostForRehydrate.json @@ -363,9 +353,8 @@ public async Task PostFetchTieringCost_GetTheRehydrationCostForRecoveryPoint() Console.WriteLine($"Succeeded: {result}"); } - // Get the tiering savings cost info for policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PostFetchTieringCost_GetTheTieringSavingsCostInfoForPolicy() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/TieringCost/FetchTieringCostForPolicy.json @@ -392,9 +381,8 @@ public async Task PostFetchTieringCost_GetTheTieringSavingsCostInfoForPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Get the tiering savings cost info for protected item - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PostFetchTieringCost_GetTheTieringSavingsCostInfoForProtectedItem() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/TieringCost/FetchTieringCostForProtectedItem.json @@ -421,9 +409,8 @@ public async Task PostFetchTieringCost_GetTheTieringSavingsCostInfoForProtectedI Console.WriteLine($"Succeeded: {result}"); } - // Get the tiering savings cost info for vault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PostFetchTieringCost_GetTheTieringSavingsCostInfoForVault() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/TieringCost/FetchTieringCostForVault.json @@ -450,9 +437,8 @@ public async Task PostFetchTieringCost_GetTheTieringSavingsCostInfoForVault() Console.WriteLine($"Succeeded: {result}"); } - // Fetch Tiering Cost Operation Result - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetGetTieringCostOperationResult_FetchTieringCostOperationResult() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/TieringCost/GetTieringCostOperationResult.json diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_ResourceGuardProxyCollection.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_ResourceGuardProxyCollection.cs index fbfc0f366ce38..3277127f28360 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_ResourceGuardProxyCollection.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_ResourceGuardProxyCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesBackup.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_ResourceGuardProxyCollection { - // Get VaultGuardProxies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetVaultGuardProxies() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ResourceGuardProxyCRUD/ListResourceGuardProxy.json @@ -50,12 +50,11 @@ public async Task GetAll_GetVaultGuardProxies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get ResourceGuardProxy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetResourceGuardProxy() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ResourceGuardProxyCRUD/GetResourceGuardProxy.json @@ -88,9 +87,8 @@ public async Task Get_GetResourceGuardProxy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get ResourceGuardProxy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetResourceGuardProxy() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ResourceGuardProxyCRUD/GetResourceGuardProxy.json @@ -119,9 +117,8 @@ public async Task Exists_GetResourceGuardProxy() Console.WriteLine($"Succeeded: {result}"); } - // Get ResourceGuardProxy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetResourceGuardProxy() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ResourceGuardProxyCRUD/GetResourceGuardProxy.json @@ -150,7 +147,7 @@ public async Task GetIfExists_GetResourceGuardProxy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_GetResourceGuardProxy() } } - // Create ResourceGuardProxy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateResourceGuardProxy() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ResourceGuardProxyCRUD/PutResourceGuardProxy.json diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_ResourceGuardProxyResource.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_ResourceGuardProxyResource.cs index 35e87134f464e..184fee87ead48 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_ResourceGuardProxyResource.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_ResourceGuardProxyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesBackup.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_ResourceGuardProxyResource { - // Get ResourceGuardProxy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetResourceGuardProxy() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ResourceGuardProxyCRUD/GetResourceGuardProxy.json @@ -47,9 +47,8 @@ public async Task Get_GetResourceGuardProxy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create ResourceGuardProxy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateResourceGuardProxy() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ResourceGuardProxyCRUD/PutResourceGuardProxy.json @@ -84,9 +83,8 @@ public async Task Update_CreateResourceGuardProxy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete ResourceGuardProxy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteResourceGuardProxy() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ResourceGuardProxyCRUD/DeleteResourceGuardProxy.json @@ -109,12 +107,11 @@ public async Task Delete_DeleteResourceGuardProxy() // invoke the operation await resourceGuardProxy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // UnlockDelete ResourceGuardProxy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UnlockDelete_UnlockDeleteResourceGuardProxy() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/ResourceGuardProxyCRUD/UnlockDeleteResourceGuardProxy.json diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 3778cbf2fe35c..2c9f48fa00e0b 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesBackup.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesBackup.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Get Azure Virtual Machine Backup Status - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetBackupStatus_GetAzureVirtualMachineBackupStatus() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/GetBackupStatus.json @@ -47,9 +47,8 @@ public async Task GetBackupStatus_GetAzureVirtualMachineBackupStatus() Console.WriteLine($"Succeeded: {result}"); } - // Check Azure Vm Backup Feature Support - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ValidateFeatureSupport_CheckAzureVmBackupFeatureSupport() { // Generated from example definition: specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-06-01/examples/AzureIaasVm/BackupFeature_Validate.json diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationDraCollection.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationDraCollection.cs index 29cf1630ea3bf..265701b27abe8 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationDraCollection.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationDraCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesDataReplication.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesDataReplication.Samples { public partial class Sample_DataReplicationDraCollection { - // Dra_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DraGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Get.json @@ -50,9 +50,8 @@ public async Task Get_DraGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Dra_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DraGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Get.json @@ -81,9 +80,8 @@ public async Task Exists_DraGet() Console.WriteLine($"Succeeded: {result}"); } - // Dra_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DraGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_DraGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_DraGet() } } - // Dra_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DraCreate() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Create.json @@ -161,9 +158,8 @@ public async Task CreateOrUpdate_DraCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Dra_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DraList() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_List.json @@ -195,7 +191,7 @@ public async Task GetAll_DraList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationDraResource.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationDraResource.cs index d3e6e7f07913e..081974329eebe 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationDraResource.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationDraResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesDataReplication.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesDataReplication.Samples { public partial class Sample_DataReplicationDraResource { - // Dra_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DraGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Get.json @@ -47,9 +47,8 @@ public async Task Get_DraGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Dra_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DraCreate() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Create.json @@ -81,9 +80,8 @@ public async Task Update_DraCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Dra_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DraDelete() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Dra_Delete.json @@ -106,7 +104,7 @@ public async Task Delete_DraDelete() // invoke the operation await dataReplicationDra.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationEmailConfigurationCollection.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationEmailConfigurationCollection.cs index 4b2a35759475b..ad117410f1f2e 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationEmailConfigurationCollection.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationEmailConfigurationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesDataReplication.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesDataReplication.Samples { public partial class Sample_DataReplicationEmailConfigurationCollection { - // EmailConfiguration_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EmailConfigurationGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Get.json @@ -50,9 +50,8 @@ public async Task Get_EmailConfigurationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EmailConfiguration_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EmailConfigurationGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Get.json @@ -81,9 +80,8 @@ public async Task Exists_EmailConfigurationGet() Console.WriteLine($"Succeeded: {result}"); } - // EmailConfiguration_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EmailConfigurationGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_EmailConfigurationGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_EmailConfigurationGet() } } - // EmailConfiguration_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EmailConfigurationCreate() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Create.json @@ -168,9 +165,8 @@ public async Task CreateOrUpdate_EmailConfigurationCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EmailConfiguration_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_EmailConfigurationList() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_List.json @@ -202,7 +198,7 @@ public async Task GetAll_EmailConfigurationList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationEmailConfigurationResource.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationEmailConfigurationResource.cs index 3e1972657537b..21b727d5c872f 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationEmailConfigurationResource.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationEmailConfigurationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesDataReplication.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesDataReplication.Samples { public partial class Sample_DataReplicationEmailConfigurationResource { - // EmailConfiguration_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EmailConfigurationGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Get.json @@ -47,9 +47,8 @@ public async Task Get_EmailConfigurationGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EmailConfiguration_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_EmailConfigurationCreate() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/EmailConfiguration_Create.json diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationEventCollection.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationEventCollection.cs index 8444321e6097a..f935c409e5e69 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationEventCollection.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationEventCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesDataReplication.Samples { public partial class Sample_DataReplicationEventCollection { - // Event_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Event_Get.json @@ -49,9 +49,8 @@ public async Task Get_EventGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Event_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EventGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Event_Get.json @@ -80,9 +79,8 @@ public async Task Exists_EventGet() Console.WriteLine($"Succeeded: {result}"); } - // Event_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EventGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Event_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_EventGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_EventGet() } } - // Event_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_EventList() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Event_List.json @@ -159,7 +156,7 @@ public async Task GetAll_EventList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationEventResource.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationEventResource.cs index 9067c40c1ce80..57688079f7c31 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationEventResource.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationEventResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesDataReplication.Samples { public partial class Sample_DataReplicationEventResource { - // Event_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Event_Get.json diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationFabricCollection.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationFabricCollection.cs index a8ef7d3134159..ab309473ee642 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationFabricCollection.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationFabricCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesDataReplication.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesDataReplication.Samples { public partial class Sample_DataReplicationFabricCollection { - // Fabric_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FabricGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Get.json @@ -50,9 +50,8 @@ public async Task Get_FabricGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Fabric_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_FabricGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Get.json @@ -80,9 +79,8 @@ public async Task Exists_FabricGet() Console.WriteLine($"Succeeded: {result}"); } - // Fabric_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_FabricGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Get.json @@ -110,7 +108,7 @@ public async Task GetIfExists_FabricGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_FabricGet() } } - // Fabric_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_FabricCreate() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Create.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_FabricCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Fabric_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_FabricList() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_List.json @@ -198,7 +194,7 @@ public async Task GetAll_FabricList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationFabricResource.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationFabricResource.cs index 25713c65c1da5..1c0b44739968f 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationFabricResource.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationFabricResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesDataReplication.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesDataReplication.Samples { public partial class Sample_DataReplicationFabricResource { - // Fabric_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_FabricGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Get.json @@ -47,9 +47,8 @@ public async Task Get_FabricGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Fabric_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_FabricUpdate() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Update.json @@ -87,9 +86,8 @@ public async Task Update_FabricUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Fabric_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_FabricDelete() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_Delete.json @@ -111,12 +109,11 @@ public async Task Delete_FabricDelete() // invoke the operation await dataReplicationFabric.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Fabric_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDataReplicationFabrics_FabricListBySubscription() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Fabric_ListBySubscription.json @@ -144,7 +141,7 @@ public async Task GetDataReplicationFabrics_FabricListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationPolicyCollection.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationPolicyCollection.cs index 1e65cfcff39c8..866a0ecd6c55d 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationPolicyCollection.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesDataReplication.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesDataReplication.Samples { public partial class Sample_DataReplicationPolicyCollection { - // Policy_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PolicyGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Get.json @@ -50,9 +50,8 @@ public async Task Get_PolicyGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Policy_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PolicyGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Get.json @@ -81,9 +80,8 @@ public async Task Exists_PolicyGet() Console.WriteLine($"Succeeded: {result}"); } - // Policy_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PolicyGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_PolicyGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_PolicyGet() } } - // Policy_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PolicyCreate() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Create.json @@ -161,9 +158,8 @@ public async Task CreateOrUpdate_PolicyCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Policy_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PolicyList() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_List.json @@ -195,7 +191,7 @@ public async Task GetAll_PolicyList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationPolicyResource.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationPolicyResource.cs index c30858f545dda..8540e68a68d3e 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationPolicyResource.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesDataReplication.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesDataReplication.Samples { public partial class Sample_DataReplicationPolicyResource { - // Policy_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PolicyGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Get.json @@ -47,9 +47,8 @@ public async Task Get_PolicyGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Policy_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PolicyCreate() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Create.json @@ -81,9 +80,8 @@ public async Task Update_PolicyCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Policy_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PolicyDelete() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Policy_Delete.json @@ -106,7 +104,7 @@ public async Task Delete_PolicyDelete() // invoke the operation await dataReplicationPolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationProtectedItemCollection.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationProtectedItemCollection.cs index cdf758bcd879d..52113b0a8c3b2 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationProtectedItemCollection.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationProtectedItemCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesDataReplication.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesDataReplication.Samples { public partial class Sample_DataReplicationProtectedItemCollection { - // ProtectedItem_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProtectedItemGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Get.json @@ -50,9 +50,8 @@ public async Task Get_ProtectedItemGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ProtectedItem_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ProtectedItemGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Get.json @@ -81,9 +80,8 @@ public async Task Exists_ProtectedItemGet() Console.WriteLine($"Succeeded: {result}"); } - // ProtectedItem_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ProtectedItemGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_ProtectedItemGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_ProtectedItemGet() } } - // ProtectedItem_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ProtectedItemCreate() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Create.json @@ -161,9 +158,8 @@ public async Task CreateOrUpdate_ProtectedItemCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ProtectedItem_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ProtectedItemList() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_List.json @@ -195,7 +191,7 @@ public async Task GetAll_ProtectedItemList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationProtectedItemResource.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationProtectedItemResource.cs index e49042be23817..7136c4a619ba3 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationProtectedItemResource.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationProtectedItemResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesDataReplication.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesDataReplication.Samples { public partial class Sample_DataReplicationProtectedItemResource { - // ProtectedItem_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProtectedItemGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Get.json @@ -47,9 +47,8 @@ public async Task Get_ProtectedItemGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ProtectedItem_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ProtectedItemCreate() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Create.json @@ -81,9 +80,8 @@ public async Task Update_ProtectedItemCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ProtectedItem_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ProtectedItemDelete() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_Delete.json @@ -107,12 +105,11 @@ public async Task Delete_ProtectedItemDelete() bool? forceDelete = true; await dataReplicationProtectedItem.DeleteAsync(WaitUntil.Completed, forceDelete: forceDelete); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ProtectedItem_PlannedFailover - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PlannedFailover_ProtectedItemPlannedFailover() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ProtectedItem_PlannedFailover.json diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationRecoveryPointCollection.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationRecoveryPointCollection.cs index 8aa841fecf956..3e40a9160ad1f 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationRecoveryPointCollection.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationRecoveryPointCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesDataReplication.Samples { public partial class Sample_DataReplicationRecoveryPointCollection { - // RecoveryPoints_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RecoveryPointsGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/RecoveryPoints_Get.json @@ -50,9 +50,8 @@ public async Task Get_RecoveryPointsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RecoveryPoints_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RecoveryPointsGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/RecoveryPoints_Get.json @@ -82,9 +81,8 @@ public async Task Exists_RecoveryPointsGet() Console.WriteLine($"Succeeded: {result}"); } - // RecoveryPoints_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RecoveryPointsGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/RecoveryPoints_Get.json @@ -114,7 +112,7 @@ public async Task GetIfExists_RecoveryPointsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -126,9 +124,8 @@ public async Task GetIfExists_RecoveryPointsGet() } } - // RecoveryPoints_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RecoveryPointsList() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/RecoveryPoints_List.json @@ -161,7 +158,7 @@ public async Task GetAll_RecoveryPointsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationRecoveryPointResource.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationRecoveryPointResource.cs index fbf3fd5992534..28cbf61427468 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationRecoveryPointResource.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationRecoveryPointResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesDataReplication.Samples { public partial class Sample_DataReplicationRecoveryPointResource { - // RecoveryPoints_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RecoveryPointsGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/RecoveryPoints_Get.json diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationReplicationExtensionCollection.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationReplicationExtensionCollection.cs index 01d0e0ea0c80c..b04307c4c5671 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationReplicationExtensionCollection.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationReplicationExtensionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesDataReplication.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesDataReplication.Samples { public partial class Sample_DataReplicationReplicationExtensionCollection { - // ReplicationExtension_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ReplicationExtensionGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Get.json @@ -50,9 +50,8 @@ public async Task Get_ReplicationExtensionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ReplicationExtension_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ReplicationExtensionGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Get.json @@ -81,9 +80,8 @@ public async Task Exists_ReplicationExtensionGet() Console.WriteLine($"Succeeded: {result}"); } - // ReplicationExtension_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ReplicationExtensionGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Get.json @@ -112,7 +110,7 @@ public async Task GetIfExists_ReplicationExtensionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_ReplicationExtensionGet() } } - // ReplicationExtension_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ReplicationExtensionCreate() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Create.json @@ -161,9 +158,8 @@ public async Task CreateOrUpdate_ReplicationExtensionCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ReplicationExtension_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ReplicationExtensionList() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_List.json @@ -195,7 +191,7 @@ public async Task GetAll_ReplicationExtensionList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationReplicationExtensionResource.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationReplicationExtensionResource.cs index 9914cfacc986b..79f2b3dee3bed 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationReplicationExtensionResource.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationReplicationExtensionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesDataReplication.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesDataReplication.Samples { public partial class Sample_DataReplicationReplicationExtensionResource { - // ReplicationExtension_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ReplicationExtensionGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Get.json @@ -47,9 +47,8 @@ public async Task Get_ReplicationExtensionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ReplicationExtension_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ReplicationExtensionCreate() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Create.json @@ -81,9 +80,8 @@ public async Task Update_ReplicationExtensionCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ReplicationExtension_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ReplicationExtensionDelete() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/ReplicationExtension_Delete.json @@ -106,7 +104,7 @@ public async Task Delete_ReplicationExtensionDelete() // invoke the operation await dataReplicationReplicationExtension.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationVaultCollection.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationVaultCollection.cs index 1a0e69b1e4c11..315f9c44d173d 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationVaultCollection.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationVaultCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesDataReplication.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesDataReplication.Samples { public partial class Sample_DataReplicationVaultCollection { - // Vault_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VaultGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Get.json @@ -50,9 +50,8 @@ public async Task Get_VaultGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Vault_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_VaultGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Get.json @@ -80,9 +79,8 @@ public async Task Exists_VaultGet() Console.WriteLine($"Succeeded: {result}"); } - // Vault_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_VaultGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Get.json @@ -110,7 +108,7 @@ public async Task GetIfExists_VaultGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_VaultGet() } } - // Vault_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_VaultCreate() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Create.json @@ -168,9 +165,8 @@ public async Task CreateOrUpdate_VaultCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Vault_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_VaultList() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_List.json @@ -202,7 +198,7 @@ public async Task GetAll_VaultList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationVaultResource.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationVaultResource.cs index 351071f08fe39..693568bfd0a93 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationVaultResource.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationVaultResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesDataReplication.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesDataReplication.Samples { public partial class Sample_DataReplicationVaultResource { - // Vault_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_VaultGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Get.json @@ -47,9 +47,8 @@ public async Task Get_VaultGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Vault_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_VaultUpdate() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Update.json @@ -90,9 +89,8 @@ public async Task Update_VaultUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Vault_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_VaultDelete() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_Delete.json @@ -114,12 +112,11 @@ public async Task Delete_VaultDelete() // invoke the operation await dataReplicationVault.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Vault_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDataReplicationVaults_VaultListBySubscription() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Vault_ListBySubscription.json @@ -147,7 +144,7 @@ public async Task GetDataReplicationVaults_VaultListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationWorkflowCollection.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationWorkflowCollection.cs index abd0aaeb1d251..e318100c14e57 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationWorkflowCollection.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationWorkflowCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesDataReplication.Samples { public partial class Sample_DataReplicationWorkflowCollection { - // Workflow_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkflowGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Workflow_Get.json @@ -49,9 +49,8 @@ public async Task Get_WorkflowGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Workflow_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_WorkflowGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Workflow_Get.json @@ -80,9 +79,8 @@ public async Task Exists_WorkflowGet() Console.WriteLine($"Succeeded: {result}"); } - // Workflow_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_WorkflowGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Workflow_Get.json @@ -111,7 +109,7 @@ public async Task GetIfExists_WorkflowGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_WorkflowGet() } } - // Workflow_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_WorkflowList() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Workflow_List.json @@ -159,7 +156,7 @@ public async Task GetAll_WorkflowList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationWorkflowResource.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationWorkflowResource.cs index 8c09d3aa52606..e95e248d897bf 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationWorkflowResource.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_DataReplicationWorkflowResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesDataReplication.Samples { public partial class Sample_DataReplicationWorkflowResource { - // Workflow_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_WorkflowGet() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/Workflow_Get.json diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs index 1a9bb8069fc18..d33309cca1392 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesDataReplication.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesDataReplication.Samples { public partial class Sample_ResourceGroupResourceExtensions { - // DeploymentPreflight - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeploymentPreflight_DeploymentPreflight() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/DeploymentPreflight.json diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 2d35f022f33d6..a0091b1456841 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesDataReplication.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesDataReplication.Samples { public partial class Sample_SubscriptionResourceExtensions { - // CheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckDataReplicationNameAvailability_CheckNameAvailability() { // Generated from example definition: specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/examples/CheckNameAvailability.json diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_MigrationRecoveryPointCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_MigrationRecoveryPointCollection.cs index a9c456d15a089..66135de4c734d 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_MigrationRecoveryPointCollection.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_MigrationRecoveryPointCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_MigrationRecoveryPointCollection { - // Gets the recovery points for a migration item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheRecoveryPointsForAMigrationItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/MigrationRecoveryPoints_ListByReplicationMigrationItems.json @@ -51,12 +51,11 @@ public async Task GetAll_GetsTheRecoveryPointsForAMigrationItem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a recovery point for a migration item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsARecoveryPointForAMigrationItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/MigrationRecoveryPoints_Get.json @@ -92,9 +91,8 @@ public async Task Get_GetsARecoveryPointForAMigrationItem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a recovery point for a migration item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsARecoveryPointForAMigrationItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/MigrationRecoveryPoints_Get.json @@ -126,9 +124,8 @@ public async Task Exists_GetsARecoveryPointForAMigrationItem() Console.WriteLine($"Succeeded: {result}"); } - // Gets a recovery point for a migration item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsARecoveryPointForAMigrationItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/MigrationRecoveryPoints_Get.json @@ -160,7 +157,7 @@ public async Task GetIfExists_GetsARecoveryPointForAMigrationItem() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_MigrationRecoveryPointResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_MigrationRecoveryPointResource.cs index 8533a7b05729f..45c593b676d2c 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_MigrationRecoveryPointResource.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_MigrationRecoveryPointResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_MigrationRecoveryPointResource { - // Gets a recovery point for a migration item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsARecoveryPointForAMigrationItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/MigrationRecoveryPoints_Get.json diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ProtectionContainerMappingCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ProtectionContainerMappingCollection.cs index 1fe12a5743e7d..4ca3df28c54e1 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ProtectionContainerMappingCollection.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ProtectionContainerMappingCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_ProtectionContainerMappingCollection { - // Gets the list of protection container mappings for a protection container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfProtectionContainerMappingsForAProtectionContainer() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainerMappings_ListByReplicationProtectionContainers.json @@ -50,12 +50,11 @@ public async Task GetAll_GetsTheListOfProtectionContainerMappingsForAProtectionC Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a protection container mapping. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAProtectionContainerMapping() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainerMappings_Get.json @@ -90,9 +89,8 @@ public async Task Get_GetsAProtectionContainerMapping() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a protection container mapping. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAProtectionContainerMapping() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainerMappings_Get.json @@ -123,9 +121,8 @@ public async Task Exists_GetsAProtectionContainerMapping() Console.WriteLine($"Succeeded: {result}"); } - // Gets a protection container mapping. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAProtectionContainerMapping() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainerMappings_Get.json @@ -156,7 +153,7 @@ public async Task GetIfExists_GetsAProtectionContainerMapping() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ProtectionContainerMappingResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ProtectionContainerMappingResource.cs index c66e3ae457055..9da517c954e44 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ProtectionContainerMappingResource.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ProtectionContainerMappingResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_ProtectionContainerMappingResource { - // Gets a protection container mapping. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAProtectionContainerMapping() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainerMappings_Get.json @@ -50,9 +50,8 @@ public async Task Get_GetsAProtectionContainerMapping() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Purge protection container mapping. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PurgeProtectionContainerMapping() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainerMappings_Purge.json @@ -77,12 +76,11 @@ public async Task Delete_PurgeProtectionContainerMapping() // invoke the operation await protectionContainerMapping.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update protection container mapping. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateProtectionContainerMapping() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainerMappings_Update.json @@ -123,9 +121,8 @@ public async Task Update_UpdateProtectionContainerMapping() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Remove protection container mapping. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RemoveProtectionContainerMapping() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainerMappings_Delete.json @@ -151,12 +148,11 @@ public async Task Delete_RemoveProtectionContainerMapping() RemoveProtectionContainerMappingContent content = new RemoveProtectionContainerMappingContent(); await protectionContainerMapping.DeleteAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the list of all protection container mappings in a vault. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetProtectionContainerMappings_GetsTheListOfAllProtectionContainerMappingsInAVault() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainerMappings_List.json @@ -185,7 +181,7 @@ public async Task GetProtectionContainerMappings_GetsTheListOfAllProtectionConta Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationEligibilityResultCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationEligibilityResultCollection.cs index f50f8e83688b2..ecc752facd344 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationEligibilityResultCollection.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationEligibilityResultCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_ReplicationEligibilityResultCollection { - // Gets the validation errors in case the VM is unsuitable for protection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheValidationErrorsInCaseTheVMIsUnsuitableForProtection() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationEligibilityResults_List.json @@ -49,12 +49,11 @@ public async Task GetAll_GetsTheValidationErrorsInCaseTheVMIsUnsuitableForProtec Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the validation errors in case the VM is unsuitable for protection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheValidationErrorsInCaseTheVMIsUnsuitableForProtection() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationEligibilityResults_Get.json @@ -86,9 +85,8 @@ public async Task Get_GetsTheValidationErrorsInCaseTheVMIsUnsuitableForProtectio Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the validation errors in case the VM is unsuitable for protection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheValidationErrorsInCaseTheVMIsUnsuitableForProtection() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationEligibilityResults_Get.json @@ -116,9 +114,8 @@ public async Task Exists_GetsTheValidationErrorsInCaseTheVMIsUnsuitableForProtec Console.WriteLine($"Succeeded: {result}"); } - // Gets the validation errors in case the VM is unsuitable for protection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheValidationErrorsInCaseTheVMIsUnsuitableForProtection() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationEligibilityResults_Get.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetsTheValidationErrorsInCaseTheVMIsUnsuitableForP if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationEligibilityResultResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationEligibilityResultResource.cs index aa2fa59dfa854..d72b9c3bcd1e6 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationEligibilityResultResource.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationEligibilityResultResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_ReplicationEligibilityResultResource { - // Gets the validation errors in case the VM is unsuitable for protection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheValidationErrorsInCaseTheVMIsUnsuitableForProtection() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationEligibilityResults_Get.json diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectedItemCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectedItemCollection.cs index 1e09fa51cbf51..5524016588296 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectedItemCollection.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectedItemCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_ReplicationProtectedItemCollection { - // Gets the list of Replication protected items. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfReplicationProtectedItems() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_ListByReplicationProtectionContainers.json @@ -51,12 +51,11 @@ public async Task GetAll_GetsTheListOfReplicationProtectedItems() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the details of a Replication protected item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDetailsOfAReplicationProtectedItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_Get.json @@ -91,9 +90,8 @@ public async Task Get_GetsTheDetailsOfAReplicationProtectedItem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the details of a Replication protected item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheDetailsOfAReplicationProtectedItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_Get.json @@ -124,9 +122,8 @@ public async Task Exists_GetsTheDetailsOfAReplicationProtectedItem() Console.WriteLine($"Succeeded: {result}"); } - // Gets the details of a Replication protected item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheDetailsOfAReplicationProtectedItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_Get.json @@ -157,7 +154,7 @@ public async Task GetIfExists_GetsTheDetailsOfAReplicationProtectedItem() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_GetsTheDetailsOfAReplicationProtectedItem() } } - // Enables protection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EnablesProtection() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_Create.json diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectedItemResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectedItemResource.cs index d5680ae702627..0254adc8e120c 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectedItemResource.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectedItemResource.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_ReplicationProtectedItemResource { - // Gets the details of a Replication protected item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDetailsOfAReplicationProtectedItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_Get.json @@ -51,9 +51,8 @@ public async Task Get_GetsTheDetailsOfAReplicationProtectedItem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Purges protection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PurgesProtection() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_Purge.json @@ -78,12 +77,11 @@ public async Task Delete_PurgesProtection() // invoke the operation await replicationProtectedItem.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Updates the replication protected Item settings. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesTheReplicationProtectedItemSettings() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_Update.json @@ -145,9 +143,8 @@ public async Task Update_UpdatesTheReplicationProtectedItemSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Add disk(s) for protection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task AddDisks_AddDiskSForProtection() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_AddDisks.json @@ -190,9 +187,8 @@ public async Task AddDisks_AddDiskSForProtection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Change or apply recovery point. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ApplyRecoveryPoint_ChangeOrApplyRecoveryPoint() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_ApplyRecoveryPoint.json @@ -229,9 +225,8 @@ public async Task ApplyRecoveryPoint_ChangeOrApplyRecoveryPoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Execute cancel failover. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task FailoverCancel_ExecuteCancelFailover() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_FailoverCancel.json @@ -264,9 +259,8 @@ public async Task FailoverCancel_ExecuteCancelFailover() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Execute commit failover. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task FailoverCommit_ExecuteCommitFailover() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_FailoverCommit.json @@ -299,9 +293,8 @@ public async Task FailoverCommit_ExecuteCommitFailover() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Execute planned failover. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PlannedFailover_ExecutePlannedFailover() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_PlannedFailover.json @@ -342,9 +335,8 @@ public async Task PlannedFailover_ExecutePlannedFailover() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Removes disk(s). - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RemoveDisks_RemovesDiskS() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_RemoveDisks.json @@ -387,9 +379,8 @@ public async Task RemoveDisks_RemovesDiskS() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Resynchronize or repair replication. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RepairReplication_ResynchronizeOrRepairReplication() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_RepairReplication.json @@ -422,9 +413,8 @@ public async Task RepairReplication_ResynchronizeOrRepairReplication() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Execute Reverse Replication\Reprotect. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reprotect_ExecuteReverseReplicationReprotect() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_Reprotect.json @@ -465,9 +455,8 @@ public async Task Reprotect_ExecuteReverseReplicationReprotect() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Resolve health errors. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResolveHealthErrors_ResolveHealthErrors() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_ResolveHealthErrors.json @@ -510,9 +499,8 @@ public async Task ResolveHealthErrors_ResolveHealthErrors() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Execute switch provider. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SwitchProvider_ExecuteSwitchProvider() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_SwitchProvider.json @@ -553,9 +541,8 @@ public async Task SwitchProvider_ExecuteSwitchProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Execute test failover. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TestFailover_ExecuteTestFailover() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_TestFailover.json @@ -595,9 +582,8 @@ public async Task TestFailover_ExecuteTestFailover() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Execute test failover cleanup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TestFailoverCleanup_ExecuteTestFailoverCleanup() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_TestFailoverCleanup.json @@ -634,9 +620,8 @@ public async Task TestFailoverCleanup_ExecuteTestFailoverCleanup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Execute unplanned failover. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UnplannedFailover_ExecuteUnplannedFailover() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_UnplannedFailover.json @@ -675,9 +660,8 @@ public async Task UnplannedFailover_ExecuteUnplannedFailover() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates appliance for replication protected Item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateAppliance_UpdatesApplianceForReplicationProtectedItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_UpdateAppliance.json @@ -714,9 +698,8 @@ public async Task UpdateAppliance_UpdatesApplianceForReplicationProtectedItem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update the mobility service on a protected item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateMobilityService_UpdateTheMobilityServiceOnAProtectedItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_UpdateMobilityService.json @@ -753,9 +736,8 @@ public async Task UpdateMobilityService_UpdateTheMobilityServiceOnAProtectedItem Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the list of replication protected items. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReplicationProtectedItems_GetsTheListOfReplicationProtectedItems() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectedItems_List.json @@ -784,12 +766,11 @@ public async Task GetReplicationProtectedItems_GetsTheListOfReplicationProtected Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the list of target compute sizes for the replication protected item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTargetComputeSizesByReplicationProtectedItems_GetsTheListOfTargetComputeSizesForTheReplicationProtectedItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/TargetComputeSizes_ListByReplicationProtectedItems.json @@ -817,7 +798,7 @@ public async Task GetTargetComputeSizesByReplicationProtectedItems_GetsTheListOf Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectionIntentCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectionIntentCollection.cs index 90d28c2d7f52e..cec500ab44b31 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectionIntentCollection.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectionIntentCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_ReplicationProtectionIntentCollection { - // Gets the list of replication protection intent objects. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfReplicationProtectionIntentObjects() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionIntents_List.json @@ -50,12 +50,11 @@ public async Task GetAll_GetsTheListOfReplicationProtectionIntentObjects() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the details of a Replication protection intent item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDetailsOfAReplicationProtectionIntentItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionIntents_Get.json @@ -88,9 +87,8 @@ public async Task Get_GetsTheDetailsOfAReplicationProtectionIntentItem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the details of a Replication protection intent item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheDetailsOfAReplicationProtectionIntentItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionIntents_Get.json @@ -119,9 +117,8 @@ public async Task Exists_GetsTheDetailsOfAReplicationProtectionIntentItem() Console.WriteLine($"Succeeded: {result}"); } - // Gets the details of a Replication protection intent item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheDetailsOfAReplicationProtectionIntentItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionIntents_Get.json @@ -150,7 +147,7 @@ public async Task GetIfExists_GetsTheDetailsOfAReplicationProtectionIntentItem() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_GetsTheDetailsOfAReplicationProtectionIntentItem() } } - // Create protection intent Resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateProtectionIntentResource() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionIntents_Create.json diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectionIntentResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectionIntentResource.cs index 480c23c1e929d..3887a123b0839 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectionIntentResource.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ReplicationProtectionIntentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_ReplicationProtectionIntentResource { - // Gets the details of a Replication protection intent item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDetailsOfAReplicationProtectionIntentItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionIntents_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetsTheDetailsOfAReplicationProtectionIntentItem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create protection intent Resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateProtectionIntentResource() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionIntents_Create.json diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs index 02ea729a1093b..7da19b8c489e6 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_ResourceGroupResourceExtensions { - // Gets the list of appliances. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReplicationAppliances_GetsTheListOfAppliances() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationAppliances_List.json @@ -43,12 +43,11 @@ public async Task GetReplicationAppliances_GetsTheListOfAppliances() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the data of supported operating systems by SRS. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSupportedOperatingSystem_GetsTheDataOfSupportedOperatingSystemsBySRS() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/SupportedOperatingSystems_Get.json @@ -73,9 +72,8 @@ public async Task GetSupportedOperatingSystem_GetsTheDataOfSupportedOperatingSys Console.WriteLine($"Succeeded: {result}"); } - // Gets the health summary for the vault. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReplicationVaultHealth_GetsTheHealthSummaryForTheVault() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationVaultHealth_Get.json @@ -100,9 +98,8 @@ public async Task GetReplicationVaultHealth_GetsTheHealthSummaryForTheVault() Console.WriteLine($"Succeeded: {result}"); } - // Refreshes health summary of the vault. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RefreshReplicationVaultHealth_RefreshesHealthSummaryOfTheVault() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationVaultHealth_Refresh.json diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryAlertCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryAlertCollection.cs index a74b60d6650df..0066040f1df35 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryAlertCollection.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryAlertCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryAlertCollection { - // Gets the list of configured email notification(alert) configurations. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfConfiguredEmailNotificationAlertConfigurations() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationAlertSettings_List.json @@ -50,12 +50,11 @@ public async Task GetAll_GetsTheListOfConfiguredEmailNotificationAlertConfigurat Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets an email notification(alert) configuration. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAnEmailNotificationAlertConfiguration() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationAlertSettings_Get.json @@ -88,9 +87,8 @@ public async Task Get_GetsAnEmailNotificationAlertConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets an email notification(alert) configuration. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAnEmailNotificationAlertConfiguration() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationAlertSettings_Get.json @@ -119,9 +117,8 @@ public async Task Exists_GetsAnEmailNotificationAlertConfiguration() Console.WriteLine($"Succeeded: {result}"); } - // Gets an email notification(alert) configuration. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAnEmailNotificationAlertConfiguration() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationAlertSettings_Get.json @@ -150,7 +147,7 @@ public async Task GetIfExists_GetsAnEmailNotificationAlertConfiguration() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_GetsAnEmailNotificationAlertConfiguration() } } - // Configures email notifications for this vault. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ConfiguresEmailNotificationsForThisVault() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationAlertSettings_Create.json diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryAlertResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryAlertResource.cs index 953d7d9bfd17f..e6362155f3843 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryAlertResource.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryAlertResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryAlertResource { - // Gets an email notification(alert) configuration. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAnEmailNotificationAlertConfiguration() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationAlertSettings_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetsAnEmailNotificationAlertConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Configures email notifications for this vault. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ConfiguresEmailNotificationsForThisVault() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationAlertSettings_Create.json diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryEventCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryEventCollection.cs index 0b04911a67500..67afb4bdd2c70 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryEventCollection.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryEventCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryEventCollection { - // Gets the list of Azure Site Recovery events. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfAzureSiteRecoveryEvents() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationEvents_List.json @@ -49,12 +49,11 @@ public async Task GetAll_GetsTheListOfAzureSiteRecoveryEvents() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the details of an Azure Site recovery event. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheDetailsOfAnAzureSiteRecoveryEvent() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationEvents_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetTheDetailsOfAnAzureSiteRecoveryEvent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the details of an Azure Site recovery event. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheDetailsOfAnAzureSiteRecoveryEvent() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationEvents_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetTheDetailsOfAnAzureSiteRecoveryEvent() Console.WriteLine($"Succeeded: {result}"); } - // Get the details of an Azure Site recovery event. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheDetailsOfAnAzureSiteRecoveryEvent() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationEvents_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetTheDetailsOfAnAzureSiteRecoveryEvent() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryEventResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryEventResource.cs index b7cfcf40432b0..4b982754886d3 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryEventResource.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryEventResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryEventResource { - // Get the details of an Azure Site recovery event. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheDetailsOfAnAzureSiteRecoveryEvent() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationEvents_Get.json diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryFabricCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryFabricCollection.cs index 1e47d47bdfe62..ca7aac7d8aa53 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryFabricCollection.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryFabricCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryFabricCollection { - // Gets the list of ASR fabrics. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfASRFabrics() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_List.json @@ -49,12 +49,11 @@ public async Task GetAll_GetsTheListOfASRFabrics() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the details of an ASR fabric. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDetailsOfAnASRFabric() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetsTheDetailsOfAnASRFabric() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the details of an ASR fabric. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheDetailsOfAnASRFabric() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetsTheDetailsOfAnASRFabric() Console.WriteLine($"Succeeded: {result}"); } - // Gets the details of an ASR fabric. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheDetailsOfAnASRFabric() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetsTheDetailsOfAnASRFabric() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryFabricResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryFabricResource.cs index d95695c036e3c..3776802d042d3 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryFabricResource.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryFabricResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryFabricResource { - // Gets the details of an ASR fabric. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDetailsOfAnASRFabric() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetsTheDetailsOfAnASRFabric() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Checks the consistency of the ASR fabric. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckConsistency_ChecksTheConsistencyOfTheASRFabric() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_CheckConsistency.json @@ -80,9 +79,8 @@ public async Task CheckConsistency_ChecksTheConsistencyOfTheASRFabric() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Migrates the site to AAD. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MigrateToAad_MigratesTheSiteToAAD() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_MigrateToAad.json @@ -105,12 +103,11 @@ public async Task MigrateToAad_MigratesTheSiteToAAD() // invoke the operation await siteRecoveryFabric.MigrateToAadAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Perform failover of the process server. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ReassociateGateway_PerformFailoverOfTheProcessServer() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_ReassociateGateway.json @@ -155,9 +152,8 @@ public async Task ReassociateGateway_PerformFailoverOfTheProcessServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes the site. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesTheSite() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_Delete.json @@ -180,12 +176,11 @@ public async Task Delete_DeletesTheSite() // invoke the operation await siteRecoveryFabric.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Renews certificate for the fabric. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RenewCertificate_RenewsCertificateForTheFabric() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationFabrics_RenewCertificate.json @@ -220,9 +215,8 @@ public async Task RenewCertificate_RenewsCertificateForTheFabric() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Removes the appliance's infrastructure under the fabric. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RemoveInfra_RemovesTheApplianceSInfrastructureUnderTheFabric() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationInfrastructure_Delete.json @@ -245,7 +239,7 @@ public async Task RemoveInfra_RemovesTheApplianceSInfrastructureUnderTheFabric() // invoke the operation await siteRecoveryFabric.RemoveInfraAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryJobCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryJobCollection.cs index 917e0dd073d11..0c62ee0be056f 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryJobCollection.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryJobCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryJobCollection { - // Gets the list of jobs. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfJobs() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationJobs_List.json @@ -49,12 +49,11 @@ public async Task GetAll_GetsTheListOfJobs() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the job details. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheJobDetails() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationJobs_Get.json @@ -87,9 +86,8 @@ public async Task Get_GetsTheJobDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the job details. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheJobDetails() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationJobs_Get.json @@ -118,9 +116,8 @@ public async Task Exists_GetsTheJobDetails() Console.WriteLine($"Succeeded: {result}"); } - // Gets the job details. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheJobDetails() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationJobs_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetsTheJobDetails() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryJobResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryJobResource.cs index bcee6831f7147..9530b99d22787 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryJobResource.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryJobResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryJobResource { - // Gets the job details. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheJobDetails() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationJobs_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetsTheJobDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Cancels the specified job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cancel_CancelsTheSpecifiedJob() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationJobs_Cancel.json @@ -80,9 +79,8 @@ public async Task Cancel_CancelsTheSpecifiedJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Restarts the specified job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_RestartsTheSpecifiedJob() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationJobs_Restart.json @@ -113,9 +111,8 @@ public async Task Restart_RestartsTheSpecifiedJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Resumes the specified job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Resume_ResumesTheSpecifiedJob() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationJobs_Resume.json diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryLogicalNetworkCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryLogicalNetworkCollection.cs index d5f052f6f6973..5febcfe4affb1 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryLogicalNetworkCollection.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryLogicalNetworkCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryLogicalNetworkCollection { - // Gets the list of logical networks under a fabric. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfLogicalNetworksUnderAFabric() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationLogicalNetworks_ListByReplicationFabrics.json @@ -49,12 +49,11 @@ public async Task GetAll_GetsTheListOfLogicalNetworksUnderAFabric() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a logical network with specified server id and logical network name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsALogicalNetworkWithSpecifiedServerIdAndLogicalNetworkName() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationLogicalNetworks_Get.json @@ -88,9 +87,8 @@ public async Task Get_GetsALogicalNetworkWithSpecifiedServerIdAndLogicalNetworkN Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a logical network with specified server id and logical network name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsALogicalNetworkWithSpecifiedServerIdAndLogicalNetworkName() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationLogicalNetworks_Get.json @@ -120,9 +118,8 @@ public async Task Exists_GetsALogicalNetworkWithSpecifiedServerIdAndLogicalNetwo Console.WriteLine($"Succeeded: {result}"); } - // Gets a logical network with specified server id and logical network name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsALogicalNetworkWithSpecifiedServerIdAndLogicalNetworkName() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationLogicalNetworks_Get.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetsALogicalNetworkWithSpecifiedServerIdAndLogical if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryLogicalNetworkResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryLogicalNetworkResource.cs index 4ee8aa29a3dd9..57f0b077c94f8 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryLogicalNetworkResource.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryLogicalNetworkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryLogicalNetworkResource { - // Gets a logical network with specified server id and logical network name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsALogicalNetworkWithSpecifiedServerIdAndLogicalNetworkName() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationLogicalNetworks_Get.json diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryMigrationItemCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryMigrationItemCollection.cs index 86896c871525f..6de07734c9326 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryMigrationItemCollection.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryMigrationItemCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryMigrationItemCollection { - // Gets the list of migration items in the protection container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfMigrationItemsInTheProtectionContainer() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_ListByReplicationProtectionContainers.json @@ -51,12 +51,11 @@ public async Task GetAll_GetsTheListOfMigrationItemsInTheProtectionContainer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the details of a migration item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDetailsOfAMigrationItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_Get.json @@ -91,9 +90,8 @@ public async Task Get_GetsTheDetailsOfAMigrationItem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the details of a migration item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheDetailsOfAMigrationItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_Get.json @@ -124,9 +122,8 @@ public async Task Exists_GetsTheDetailsOfAMigrationItem() Console.WriteLine($"Succeeded: {result}"); } - // Gets the details of a migration item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheDetailsOfAMigrationItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_Get.json @@ -157,7 +154,7 @@ public async Task GetIfExists_GetsTheDetailsOfAMigrationItem() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_GetsTheDetailsOfAMigrationItem() } } - // Enables migration. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EnablesMigration() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_Create.json diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryMigrationItemResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryMigrationItemResource.cs index d0139c6528ee7..15442a76a2e55 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryMigrationItemResource.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryMigrationItemResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryMigrationItemResource { - // Gets the details of a migration item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDetailsOfAMigrationItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_Get.json @@ -50,9 +50,8 @@ public async Task Get_GetsTheDetailsOfAMigrationItem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete the migration item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteTheMigrationItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_Delete.json @@ -77,12 +76,11 @@ public async Task Delete_DeleteTheMigrationItem() // invoke the operation await siteRecoveryMigrationItem.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Updates migration item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesMigrationItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_Update.json @@ -119,9 +117,8 @@ public async Task Update_UpdatesMigrationItem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Migrate item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Migrate_MigrateItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_Migrate.json @@ -155,9 +152,8 @@ public async Task Migrate_MigrateItem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Pause replication. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PauseReplication_PauseReplication() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_PauseReplication.json @@ -191,9 +187,8 @@ public async Task PauseReplication_PauseReplication() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Resume replication. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResumeReplication_ResumeReplication() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_ResumeReplication.json @@ -230,9 +225,8 @@ public async Task ResumeReplication_ResumeReplication() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Resynchronizes replication. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Resync_ResynchronizesReplication() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_Resync.json @@ -266,9 +260,8 @@ public async Task Resync_ResynchronizesReplication() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Test migrate item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TestMigrate_TestMigrateItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_TestMigrate.json @@ -302,9 +295,8 @@ public async Task TestMigrate_TestMigrateItem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Test migrate cleanup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TestMigrateCleanup_TestMigrateCleanup() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_TestMigrateCleanup.json @@ -341,9 +333,8 @@ public async Task TestMigrateCleanup_TestMigrateCleanup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the list of migration items in the vault. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSiteRecoveryMigrationItems_GetsTheListOfMigrationItemsInTheVault() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationMigrationItems_List.json @@ -372,7 +363,7 @@ public async Task GetSiteRecoveryMigrationItems_GetsTheListOfMigrationItemsInThe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkCollection.cs index 9e538c4844a62..401ab3cae4541 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkCollection.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryNetworkCollection { - // Gets the list of networks under a fabric. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfNetworksUnderAFabric() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworks_ListByReplicationFabrics.json @@ -49,12 +49,11 @@ public async Task GetAll_GetsTheListOfNetworksUnderAFabric() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a network with specified server id and network name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsANetworkWithSpecifiedServerIdAndNetworkName() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworks_Get.json @@ -88,9 +87,8 @@ public async Task Get_GetsANetworkWithSpecifiedServerIdAndNetworkName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a network with specified server id and network name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsANetworkWithSpecifiedServerIdAndNetworkName() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworks_Get.json @@ -120,9 +118,8 @@ public async Task Exists_GetsANetworkWithSpecifiedServerIdAndNetworkName() Console.WriteLine($"Succeeded: {result}"); } - // Gets a network with specified server id and network name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsANetworkWithSpecifiedServerIdAndNetworkName() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworks_Get.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetsANetworkWithSpecifiedServerIdAndNetworkName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkMappingCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkMappingCollection.cs index 7cf757797ce2d..1c7b5a6ba35e2 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkMappingCollection.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkMappingCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryNetworkMappingCollection { - // Gets all the network mappings under a network. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsAllTheNetworkMappingsUnderANetwork() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworkMappings_ListByReplicationNetworks.json @@ -51,12 +51,11 @@ public async Task GetAll_GetsAllTheNetworkMappingsUnderANetwork() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets network mapping by name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsNetworkMappingByName() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworkMappings_Get.json @@ -91,9 +90,8 @@ public async Task Get_GetsNetworkMappingByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets network mapping by name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsNetworkMappingByName() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworkMappings_Get.json @@ -124,9 +122,8 @@ public async Task Exists_GetsNetworkMappingByName() Console.WriteLine($"Succeeded: {result}"); } - // Gets network mapping by name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsNetworkMappingByName() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworkMappings_Get.json @@ -157,7 +154,7 @@ public async Task GetIfExists_GetsNetworkMappingByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_GetsNetworkMappingByName() } } - // Creates network mapping. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesNetworkMapping() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworkMappings_Create.json diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkMappingResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkMappingResource.cs index b92fabd3e9225..37299c533a70a 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkMappingResource.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkMappingResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryNetworkMappingResource { - // Gets network mapping by name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsNetworkMappingByName() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworkMappings_Get.json @@ -50,9 +50,8 @@ public async Task Get_GetsNetworkMappingByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete network mapping. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteNetworkMapping() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworkMappings_Delete.json @@ -77,12 +76,11 @@ public async Task Delete_DeleteNetworkMapping() // invoke the operation await siteRecoveryNetworkMapping.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Updates network mapping. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesNetworkMapping() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworkMappings_Update.json @@ -124,9 +122,8 @@ public async Task Update_UpdatesNetworkMapping() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets all the network mappings under a vault. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSiteRecoveryNetworkMappings_GetsAllTheNetworkMappingsUnderAVault() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworkMappings_List.json @@ -155,7 +152,7 @@ public async Task GetSiteRecoveryNetworkMappings_GetsAllTheNetworkMappingsUnderA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkResource.cs index 8c6d1f0ff4556..da9ec0c005c56 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkResource.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryNetworkResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryNetworkResource { - // Gets a network with specified server id and network name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsANetworkWithSpecifiedServerIdAndNetworkName() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworks_Get.json @@ -48,9 +48,8 @@ public async Task Get_GetsANetworkWithSpecifiedServerIdAndNetworkName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the list of networks. View-only API. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSiteRecoveryNetworks_GetsTheListOfNetworksViewOnlyAPI() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationNetworks_List.json @@ -79,7 +78,7 @@ public async Task GetSiteRecoveryNetworks_GetsTheListOfNetworksViewOnlyAPI() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPointCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPointCollection.cs index d46cfda0beceb..188dbb99655be 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPointCollection.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPointCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryPointCollection { - // Gets the list of recovery points for a replication protected item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfRecoveryPointsForAReplicationProtectedItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/RecoveryPoints_ListByReplicationProtectedItems.json @@ -51,12 +51,11 @@ public async Task GetAll_GetsTheListOfRecoveryPointsForAReplicationProtectedItem Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a recovery point. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsARecoveryPoint() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/RecoveryPoints_Get.json @@ -92,9 +91,8 @@ public async Task Get_GetsARecoveryPoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a recovery point. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsARecoveryPoint() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/RecoveryPoints_Get.json @@ -126,9 +124,8 @@ public async Task Exists_GetsARecoveryPoint() Console.WriteLine($"Succeeded: {result}"); } - // Gets a recovery point. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsARecoveryPoint() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/RecoveryPoints_Get.json @@ -160,7 +157,7 @@ public async Task GetIfExists_GetsARecoveryPoint() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPointResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPointResource.cs index 5375ef9b5912b..70ad9648ed33d 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPointResource.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPointResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryPointResource { - // Gets a recovery point. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsARecoveryPoint() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/RecoveryPoints_Get.json diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPolicyCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPolicyCollection.cs index c69602a60fb6e..f0c15db8a8650 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPolicyCollection.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPolicyCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryPolicyCollection { - // Gets the list of replication policies. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfReplicationPolicies() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationPolicies_List.json @@ -50,12 +50,11 @@ public async Task GetAll_GetsTheListOfReplicationPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the requested policy. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheRequestedPolicy() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationPolicies_Get.json @@ -88,9 +87,8 @@ public async Task Get_GetsTheRequestedPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the requested policy. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheRequestedPolicy() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationPolicies_Get.json @@ -119,9 +117,8 @@ public async Task Exists_GetsTheRequestedPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Gets the requested policy. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheRequestedPolicy() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationPolicies_Get.json @@ -150,7 +147,7 @@ public async Task GetIfExists_GetsTheRequestedPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_GetsTheRequestedPolicy() } } - // Creates the policy. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesThePolicy() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationPolicies_Create.json diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPolicyResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPolicyResource.cs index 1548d626e2379..a3198553be9c7 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPolicyResource.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryPolicyResource { - // Gets the requested policy. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheRequestedPolicy() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationPolicies_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetsTheRequestedPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete the policy. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteThePolicy() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationPolicies_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_DeleteThePolicy() // invoke the operation await siteRecoveryPolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Updates the policy. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesThePolicy() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationPolicies_Update.json diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectableItemCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectableItemCollection.cs index 73198c3f6640f..7518ec45c64d0 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectableItemCollection.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectableItemCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryProtectableItemCollection { - // Gets the list of protectable items. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfProtectableItems() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectableItems_ListByReplicationProtectionContainers.json @@ -50,12 +50,11 @@ public async Task GetAll_GetsTheListOfProtectableItems() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the details of a protectable item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDetailsOfAProtectableItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectableItems_Get.json @@ -90,9 +89,8 @@ public async Task Get_GetsTheDetailsOfAProtectableItem() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the details of a protectable item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheDetailsOfAProtectableItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectableItems_Get.json @@ -123,9 +121,8 @@ public async Task Exists_GetsTheDetailsOfAProtectableItem() Console.WriteLine($"Succeeded: {result}"); } - // Gets the details of a protectable item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheDetailsOfAProtectableItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectableItems_Get.json @@ -156,7 +153,7 @@ public async Task GetIfExists_GetsTheDetailsOfAProtectableItem() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectableItemResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectableItemResource.cs index e7c4126970f40..de8080302d574 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectableItemResource.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectableItemResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryProtectableItemResource { - // Gets the details of a protectable item. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDetailsOfAProtectableItem() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectableItems_Get.json diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectionContainerCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectionContainerCollection.cs index 16e7ab8a075a5..1c61627bf9d15 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectionContainerCollection.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectionContainerCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryProtectionContainerCollection { - // Gets the list of protection container for a fabric. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfProtectionContainerForAFabric() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainers_ListByReplicationFabrics.json @@ -49,12 +49,11 @@ public async Task GetAll_GetsTheListOfProtectionContainerForAFabric() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the protection container details. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheProtectionContainerDetails() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainers_Get.json @@ -88,9 +87,8 @@ public async Task Get_GetsTheProtectionContainerDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the protection container details. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheProtectionContainerDetails() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainers_Get.json @@ -120,9 +118,8 @@ public async Task Exists_GetsTheProtectionContainerDetails() Console.WriteLine($"Succeeded: {result}"); } - // Gets the protection container details. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheProtectionContainerDetails() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainers_Get.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetsTheProtectionContainerDetails() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectionContainerResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectionContainerResource.cs index 2eebfc897f4c8..684a21cf13c01 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectionContainerResource.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryProtectionContainerResource.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryProtectionContainerResource { - // Gets the protection container details. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheProtectionContainerDetails() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainers_Get.json @@ -50,9 +50,8 @@ public async Task Get_GetsTheProtectionContainerDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Adds a protectable item to the replication protection container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DiscoverProtectableItem_AddsAProtectableItemToTheReplicationProtectionContainer() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainers_DiscoverProtectableItem.json @@ -93,9 +92,8 @@ public async Task DiscoverProtectableItem_AddsAProtectableItemToTheReplicationPr Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Removes a protection container. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RemovesAProtectionContainer() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainers_Delete.json @@ -119,12 +117,11 @@ public async Task Delete_RemovesAProtectionContainer() // invoke the operation await siteRecoveryProtectionContainer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Switches protection from one container to another or one replication provider to another. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SwitchProtection_SwitchesProtectionFromOneContainerToAnotherOrOneReplicationProviderToAnother() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainers_SwitchProtection.json @@ -164,9 +161,8 @@ public async Task SwitchProtection_SwitchesProtectionFromOneContainerToAnotherOr Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the list of all protection containers in a vault. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSiteRecoveryProtectionContainers_GetsTheListOfAllProtectionContainersInAVault() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationProtectionContainers_List.json @@ -195,7 +191,7 @@ public async Task GetSiteRecoveryProtectionContainers_GetsTheListOfAllProtection Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryRecoveryPlanCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryRecoveryPlanCollection.cs index dc8fb190c82b1..0d94277123d8b 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryRecoveryPlanCollection.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryRecoveryPlanCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryRecoveryPlanCollection { - // Gets the list of recovery plans. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfRecoveryPlans() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_List.json @@ -50,12 +50,11 @@ public async Task GetAll_GetsTheListOfRecoveryPlans() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the requested recovery plan. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheRequestedRecoveryPlan() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_Get.json @@ -88,9 +87,8 @@ public async Task Get_GetsTheRequestedRecoveryPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the requested recovery plan. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheRequestedRecoveryPlan() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_Get.json @@ -119,9 +117,8 @@ public async Task Exists_GetsTheRequestedRecoveryPlan() Console.WriteLine($"Succeeded: {result}"); } - // Gets the requested recovery plan. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheRequestedRecoveryPlan() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_Get.json @@ -150,7 +147,7 @@ public async Task GetIfExists_GetsTheRequestedRecoveryPlan() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_GetsTheRequestedRecoveryPlan() } } - // Creates a recovery plan with the given details. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesARecoveryPlanWithTheGivenDetails() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_Create.json diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryRecoveryPlanResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryRecoveryPlanResource.cs index a00942c0eab59..1e8626af27966 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryRecoveryPlanResource.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryRecoveryPlanResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryRecoveryPlanResource { - // Gets the requested recovery plan. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheRequestedRecoveryPlan() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetsTheRequestedRecoveryPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes the specified recovery plan. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesTheSpecifiedRecoveryPlan() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_Delete.json @@ -72,12 +71,11 @@ public async Task Delete_DeletesTheSpecifiedRecoveryPlan() // invoke the operation await siteRecoveryRecoveryPlan.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Updates the given recovery plan. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesTheGivenRecoveryPlan() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_Update.json @@ -169,9 +167,8 @@ public async Task Update_UpdatesTheGivenRecoveryPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Execute cancel failover of the recovery plan. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task FailoverCancel_ExecuteCancelFailoverOfTheRecoveryPlan() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_FailoverCancel.json @@ -202,9 +199,8 @@ public async Task FailoverCancel_ExecuteCancelFailoverOfTheRecoveryPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Execute commit failover of the recovery plan. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task FailoverCommit_ExecuteCommitFailoverOfTheRecoveryPlan() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_FailoverCommit.json @@ -235,9 +231,8 @@ public async Task FailoverCommit_ExecuteCommitFailoverOfTheRecoveryPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Execute planned failover of the recovery plan. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PlannedFailover_ExecutePlannedFailoverOfTheRecoveryPlan() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_PlannedFailover.json @@ -275,9 +270,8 @@ public async Task PlannedFailover_ExecutePlannedFailoverOfTheRecoveryPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Execute reprotect of the recovery plan. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reprotect_ExecuteReprotectOfTheRecoveryPlan() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_Reprotect.json @@ -308,9 +302,8 @@ public async Task Reprotect_ExecuteReprotectOfTheRecoveryPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Execute test failover of the recovery plan. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TestFailover_ExecuteTestFailoverOfTheRecoveryPlan() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_TestFailover.json @@ -349,9 +342,8 @@ public async Task TestFailover_ExecuteTestFailoverOfTheRecoveryPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Execute test failover cleanup of the recovery plan. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TestFailoverCleanup_ExecuteTestFailoverCleanupOfTheRecoveryPlan() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_TestFailoverCleanup.json @@ -386,9 +378,8 @@ public async Task TestFailoverCleanup_ExecuteTestFailoverCleanupOfTheRecoveryPla Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Execute unplanned failover of the recovery plan. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UnplannedFailover_ExecuteUnplannedFailoverOfTheRecoveryPlan() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryPlans_UnplannedFailover.json diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryServicesProviderCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryServicesProviderCollection.cs index 68e14782db2dd..686849788893a 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryServicesProviderCollection.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryServicesProviderCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryServicesProviderCollection { - // Gets the list of registered recovery services providers for the fabric. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfRegisteredRecoveryServicesProvidersForTheFabric() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryServicesProviders_ListByReplicationFabrics.json @@ -50,12 +50,11 @@ public async Task GetAll_GetsTheListOfRegisteredRecoveryServicesProvidersForTheF Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the details of a recovery services provider. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDetailsOfARecoveryServicesProvider() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryServicesProviders_Get.json @@ -89,9 +88,8 @@ public async Task Get_GetsTheDetailsOfARecoveryServicesProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the details of a recovery services provider. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheDetailsOfARecoveryServicesProvider() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryServicesProviders_Get.json @@ -121,9 +119,8 @@ public async Task Exists_GetsTheDetailsOfARecoveryServicesProvider() Console.WriteLine($"Succeeded: {result}"); } - // Gets the details of a recovery services provider. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheDetailsOfARecoveryServicesProvider() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryServicesProviders_Get.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetsTheDetailsOfARecoveryServicesProvider() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_GetsTheDetailsOfARecoveryServicesProvider() } } - // Adds a recovery services provider. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AddsARecoveryServicesProvider() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryServicesProviders_Create.json diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryServicesProviderResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryServicesProviderResource.cs index bd7add214c994..fda3119adc4e8 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryServicesProviderResource.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryServicesProviderResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryServicesProviderResource { - // Gets the details of a recovery services provider. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDetailsOfARecoveryServicesProvider() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryServicesProviders_Get.json @@ -49,9 +49,8 @@ public async Task Get_GetsTheDetailsOfARecoveryServicesProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Adds a recovery services provider. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AddsARecoveryServicesProvider() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryServicesProviders_Create.json @@ -84,9 +83,8 @@ public async Task Update_AddsARecoveryServicesProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Refresh details from the recovery services provider. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RefreshProvider_RefreshDetailsFromTheRecoveryServicesProvider() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryServicesProviders_RefreshProvider.json @@ -118,9 +116,8 @@ public async Task RefreshProvider_RefreshDetailsFromTheRecoveryServicesProvider( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes provider from fabric. Note: Deleting provider for any fabric other than SingleHost is unsupported. To maintain backward compatibility for released clients the object "deleteRspInput" is used (if the object is empty we assume that it is old client and continue the old behavior). - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesProviderFromFabricNoteDeletingProviderForAnyFabricOtherThanSingleHostIsUnsupportedToMaintainBackwardCompatibilityForReleasedClientsTheObjectDeleteRspInputIsUsedIfTheObjectIsEmptyWeAssumeThatItIsOldClientAndContinueTheOldBehavior() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryServicesProviders_Delete.json @@ -144,12 +141,11 @@ public async Task Delete_DeletesProviderFromFabricNoteDeletingProviderForAnyFabr // invoke the operation await siteRecoveryServicesProvider.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the list of registered recovery services providers in the vault. This is a view only api. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSiteRecoveryServicesProviders_GetsTheListOfRegisteredRecoveryServicesProvidersInTheVaultThisIsAViewOnlyApi() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationRecoveryServicesProviders_List.json @@ -178,7 +174,7 @@ public async Task GetSiteRecoveryServicesProviders_GetsTheListOfRegisteredRecove Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVCenterCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVCenterCollection.cs index dbf2dc25746b0..da1f58970e054 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVCenterCollection.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVCenterCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryVCenterCollection { - // Gets the list of vCenter registered under a fabric. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfVCenterRegisteredUnderAFabric() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationvCenters_ListByReplicationFabrics.json @@ -51,12 +51,11 @@ public async Task GetAll_GetsTheListOfVCenterRegisteredUnderAFabric() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the details of a vCenter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDetailsOfAVCenter() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationvCenters_Get.json @@ -90,9 +89,8 @@ public async Task Get_GetsTheDetailsOfAVCenter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the details of a vCenter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheDetailsOfAVCenter() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationvCenters_Get.json @@ -122,9 +120,8 @@ public async Task Exists_GetsTheDetailsOfAVCenter() Console.WriteLine($"Succeeded: {result}"); } - // Gets the details of a vCenter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheDetailsOfAVCenter() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationvCenters_Get.json @@ -154,7 +151,7 @@ public async Task GetIfExists_GetsTheDetailsOfAVCenter() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -166,9 +163,8 @@ public async Task GetIfExists_GetsTheDetailsOfAVCenter() } } - // Add vCenter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AddVCenter() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationvCenters_Create.json diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVCenterResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVCenterResource.cs index 01f603455463a..aafd8813262a6 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVCenterResource.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVCenterResource.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryVCenterResource { - // Gets the details of a vCenter. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDetailsOfAVCenter() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationvCenters_Get.json @@ -50,9 +50,8 @@ public async Task Get_GetsTheDetailsOfAVCenter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Remove vCenter operation. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RemoveVCenterOperation() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationvCenters_Delete.json @@ -76,12 +75,11 @@ public async Task Delete_RemoveVCenterOperation() // invoke the operation await siteRecoveryVCenter.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update vCenter operation. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateVCenterOperation() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationvCenters_Update.json @@ -120,9 +118,8 @@ public async Task Update_UpdateVCenterOperation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the list of vCenter registered under the vault. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSiteRecoveryVCenters_GetsTheListOfVCenterRegisteredUnderTheVault() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationvCenters_List.json @@ -151,7 +148,7 @@ public async Task GetSiteRecoveryVCenters_GetsTheListOfVCenterRegisteredUnderThe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVaultSettingCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVaultSettingCollection.cs index 0867f734de6a2..cebc39b21dc37 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVaultSettingCollection.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVaultSettingCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryVaultSettingCollection { - // Gets the list of vault setting. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfVaultSetting() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationVaultSetting_List.json @@ -50,12 +50,11 @@ public async Task GetAll_GetsTheListOfVaultSetting() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the vault setting. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheVaultSetting() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationVaultSetting_Get.json @@ -88,9 +87,8 @@ public async Task Get_GetsTheVaultSetting() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the vault setting. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheVaultSetting() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationVaultSetting_Get.json @@ -119,9 +117,8 @@ public async Task Exists_GetsTheVaultSetting() Console.WriteLine($"Succeeded: {result}"); } - // Gets the vault setting. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheVaultSetting() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationVaultSetting_Get.json @@ -150,7 +147,7 @@ public async Task GetIfExists_GetsTheVaultSetting() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_GetsTheVaultSetting() } } - // Updates vault setting. A vault setting object is a singleton per vault and it is always present by default. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdatesVaultSettingAVaultSettingObjectIsASingletonPerVaultAndItIsAlwaysPresentByDefault() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationVaultSetting_Create.json diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVaultSettingResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVaultSettingResource.cs index bc9ab9156af2d..24c9efb3d179f 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVaultSettingResource.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_SiteRecoveryVaultSettingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_SiteRecoveryVaultSettingResource { - // Gets the vault setting. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheVaultSetting() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationVaultSetting_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetsTheVaultSetting() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates vault setting. A vault setting object is a singleton per vault and it is always present by default. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesVaultSettingAVaultSettingObjectIsASingletonPerVaultAndItIsAlwaysPresentByDefault() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationVaultSetting_Create.json diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationCollection.cs index a93e15bf9adb2..1aa231315b238 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationCollection.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_StorageClassificationCollection { - // Gets the list of storage classification objects under a fabric. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfStorageClassificationObjectsUnderAFabric() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassifications_ListByReplicationFabrics.json @@ -49,12 +49,11 @@ public async Task GetAll_GetsTheListOfStorageClassificationObjectsUnderAFabric() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the details of a storage classification. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDetailsOfAStorageClassification() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassifications_Get.json @@ -88,9 +87,8 @@ public async Task Get_GetsTheDetailsOfAStorageClassification() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the details of a storage classification. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheDetailsOfAStorageClassification() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassifications_Get.json @@ -120,9 +118,8 @@ public async Task Exists_GetsTheDetailsOfAStorageClassification() Console.WriteLine($"Succeeded: {result}"); } - // Gets the details of a storage classification. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheDetailsOfAStorageClassification() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassifications_Get.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetsTheDetailsOfAStorageClassification() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationMappingCollection.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationMappingCollection.cs index 1ab5aaf1fb3bd..2de6c03bb2ecf 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationMappingCollection.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationMappingCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_StorageClassificationMappingCollection { - // Gets the list of storage classification mappings objects under a storage. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfStorageClassificationMappingsObjectsUnderAStorage() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassificationMappings_ListByReplicationStorageClassifications.json @@ -51,12 +51,11 @@ public async Task GetAll_GetsTheListOfStorageClassificationMappingsObjectsUnderA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the details of a storage classification mapping. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDetailsOfAStorageClassificationMapping() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassificationMappings_Get.json @@ -91,9 +90,8 @@ public async Task Get_GetsTheDetailsOfAStorageClassificationMapping() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the details of a storage classification mapping. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheDetailsOfAStorageClassificationMapping() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassificationMappings_Get.json @@ -124,9 +122,8 @@ public async Task Exists_GetsTheDetailsOfAStorageClassificationMapping() Console.WriteLine($"Succeeded: {result}"); } - // Gets the details of a storage classification mapping. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheDetailsOfAStorageClassificationMapping() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassificationMappings_Get.json @@ -157,7 +154,7 @@ public async Task GetIfExists_GetsTheDetailsOfAStorageClassificationMapping() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_GetsTheDetailsOfAStorageClassificationMapping() } } - // Create storage classification mapping. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateStorageClassificationMapping() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassificationMappings_Create.json diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationMappingResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationMappingResource.cs index 88e2394b96cf4..9169220d5559b 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationMappingResource.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationMappingResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServicesSiteRecovery.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_StorageClassificationMappingResource { - // Gets the details of a storage classification mapping. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDetailsOfAStorageClassificationMapping() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassificationMappings_Get.json @@ -50,9 +50,8 @@ public async Task Get_GetsTheDetailsOfAStorageClassificationMapping() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create storage classification mapping. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateStorageClassificationMapping() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassificationMappings_Create.json @@ -89,9 +88,8 @@ public async Task Update_CreateStorageClassificationMapping() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a storage classification mapping. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAStorageClassificationMapping() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassificationMappings_Delete.json @@ -116,12 +114,11 @@ public async Task Delete_DeleteAStorageClassificationMapping() // invoke the operation await storageClassificationMapping.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the list of storage classification mappings objects under a vault. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStorageClassificationMappings_GetsTheListOfStorageClassificationMappingsObjectsUnderAVault() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassificationMappings_List.json @@ -150,7 +147,7 @@ public async Task GetStorageClassificationMappings_GetsTheListOfStorageClassific Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationResource.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationResource.cs index e0fb2e4824312..1c70a08601eae 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationResource.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/samples/Generated/Samples/Sample_StorageClassificationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Samples { public partial class Sample_StorageClassificationResource { - // Gets the details of a storage classification. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDetailsOfAStorageClassification() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassifications_Get.json @@ -48,9 +48,8 @@ public async Task Get_GetsTheDetailsOfAStorageClassification() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the list of storage classification objects under a vault. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetStorageClassifications_GetsTheListOfStorageClassificationObjectsUnderAVault() { // Generated from example definition: specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-08-01/examples/ReplicationStorageClassifications_List.json @@ -79,7 +78,7 @@ public async Task GetStorageClassifications_GetsTheListOfStorageClassificationOb Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_RecoveryServicesPrivateLinkResource.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_RecoveryServicesPrivateLinkResource.cs index f54d0df4e8972..37f579b032510 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_RecoveryServicesPrivateLinkResource.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_RecoveryServicesPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServices.Samples { public partial class Sample_RecoveryServicesPrivateLinkResource { - // Get PrivateLinkResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateLinkResource() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/GetPrivateLinkResources.json diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_RecoveryServicesPrivateLinkResourceCollection.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_RecoveryServicesPrivateLinkResourceCollection.cs index a3f61c8a905b5..16e53091c1d49 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_RecoveryServicesPrivateLinkResourceCollection.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_RecoveryServicesPrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServices.Samples { public partial class Sample_RecoveryServicesPrivateLinkResourceCollection { - // List PrivateLinkResources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPrivateLinkResources() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/ListPrivateLinkResources.json @@ -48,12 +48,11 @@ public async Task GetAll_ListPrivateLinkResources() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get PrivateLinkResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPrivateLinkResource() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/GetPrivateLinkResources.json @@ -86,9 +85,8 @@ public async Task Get_GetPrivateLinkResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get PrivateLinkResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPrivateLinkResource() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/GetPrivateLinkResources.json @@ -117,9 +115,8 @@ public async Task Exists_GetPrivateLinkResource() Console.WriteLine($"Succeeded: {result}"); } - // Get PrivateLinkResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPrivateLinkResource() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/GetPrivateLinkResources.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetPrivateLinkResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_RecoveryServicesVaultCollection.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_RecoveryServicesVaultCollection.cs index bcc481a003fa6..c384d5ef17b98 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_RecoveryServicesVaultCollection.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_RecoveryServicesVaultCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.RecoveryServices.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServices.Samples { public partial class Sample_RecoveryServicesVaultCollection { - // List of Recovery Services Resources in ResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListOfRecoveryServicesResourcesInResourceGroup() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/ListResources.json @@ -50,12 +50,11 @@ public async Task GetAll_ListOfRecoveryServicesResourcesInResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Recovery Services Resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRecoveryServicesResource() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/GETVault.json @@ -87,9 +86,8 @@ public async Task Get_GetRecoveryServicesResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Recovery Services Resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetRecoveryServicesResource() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/GETVault.json @@ -117,9 +115,8 @@ public async Task Exists_GetRecoveryServicesResource() Console.WriteLine($"Succeeded: {result}"); } - // Get Recovery Services Resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetRecoveryServicesResource() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/GETVault.json @@ -147,7 +144,7 @@ public async Task GetIfExists_GetRecoveryServicesResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_GetRecoveryServicesResource() } } - // Create or Update Recovery Services vault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateRecoveryServicesVault() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/PUTVault.json @@ -203,9 +199,8 @@ public async Task CreateOrUpdate_CreateOrUpdateRecoveryServicesVault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Vault With Monitoring Setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateVaultWithMonitoringSetting() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/PUTVault_WithMonitoringSettings.json @@ -252,9 +247,8 @@ public async Task CreateOrUpdate_CreateOrUpdateVaultWithMonitoringSetting() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Vault with CustomerManagedKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateVaultWithCustomerManagedKeys() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/PUTVault_WithCMK.json @@ -311,9 +305,8 @@ public async Task CreateOrUpdate_CreateOrUpdateVaultWithCustomerManagedKeys() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update Vault with User Assigned Identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateVaultWithUserAssignedIdentity() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/PUTVault_WithUserAssignedIdentity.json diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_RecoveryServicesVaultExtendedInfoResource.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_RecoveryServicesVaultExtendedInfoResource.cs index 643344fb417dc..67fafdc0d37d6 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_RecoveryServicesVaultExtendedInfoResource.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_RecoveryServicesVaultExtendedInfoResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServices.Samples { public partial class Sample_RecoveryServicesVaultExtendedInfoResource { - // Get ExtendedInfo of Resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetExtendedInfoOfResource() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/GETVaultExtendedInfo.json @@ -45,9 +45,8 @@ public async Task Get_GetExtendedInfoOfResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put ExtendedInfo of Resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutExtendedInfoOfResource() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/UpdateVaultExtendedInfo.json @@ -78,9 +77,8 @@ public async Task CreateOrUpdate_PutExtendedInfoOfResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PATCH ExtendedInfo of Resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PATCHExtendedInfoOfResource() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/UpdateVaultExtendedInfo.json diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_RecoveryServicesVaultResource.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_RecoveryServicesVaultResource.cs index d48a8d4f77f9d..6558ee9fba876 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_RecoveryServicesVaultResource.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_RecoveryServicesVaultResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.RecoveryServices.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServices.Samples { public partial class Sample_RecoveryServicesVaultResource { - // Download vault credential file - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateVaultCertificate_DownloadVaultCredentialFile() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/PUTVaultCred.json @@ -53,9 +53,8 @@ public async Task CreateVaultCertificate_DownloadVaultCredentialFile() Console.WriteLine($"Succeeded: {result}"); } - // Delete registered Identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteRegisteredIdentity_DeleteRegisteredIdentity() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/DeleteRegisteredIdentities.json @@ -78,12 +77,11 @@ public async Task DeleteRegisteredIdentity_DeleteRegisteredIdentity() string identityName = "dpmcontainer01"; await recoveryServicesVault.DeleteRegisteredIdentityAsync(identityName); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets Replication usages of vault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReplicationUsages_GetsReplicationUsagesOfVault() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/ListReplicationUsages.json @@ -108,12 +106,11 @@ public async Task GetReplicationUsages_GetsReplicationUsagesOfVault() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List of Recovery Services Resources in SubscriptionId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRecoveryServicesVaults_ListOfRecoveryServicesResourcesInSubscriptionId() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/ListBySubscriptionIds.json @@ -140,12 +137,11 @@ public async Task GetRecoveryServicesVaults_ListOfRecoveryServicesResourcesInSub Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Recovery Services Resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetRecoveryServicesResource() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/GETVault.json @@ -174,9 +170,8 @@ public async Task Get_GetRecoveryServicesResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Recovery Services Vault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteRecoveryServicesVault() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/DeleteVault.json @@ -198,12 +193,11 @@ public async Task Delete_DeleteRecoveryServicesVault() // invoke the operation await recoveryServicesVault.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update Resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateResource() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/PATCHVault.json @@ -240,9 +234,8 @@ public async Task Update_UpdateResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Resource With CustomerManagedKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateResourceWithCustomerManagedKeys() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/PATCHVault_WithCMK.json @@ -298,9 +291,8 @@ public async Task Update_UpdateResourceWithCustomerManagedKeys() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Resource With CustomerManagedKeys2 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateResourceWithCustomerManagedKeys2() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/PatchVault_WithCMK2.json @@ -348,9 +340,8 @@ public async Task Update_UpdateResourceWithCustomerManagedKeys2() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Resource With CustomerManagedKeys3 - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateResourceWithCustomerManagedKeys3() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/PATCHVault_WithCMK3.json @@ -401,9 +392,8 @@ public async Task Update_UpdateResourceWithCustomerManagedKeys3() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Resource With User Assigned Identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateResourceWithUserAssignedIdentity() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/PATCHVault_WithUserAssignedIdentity.json @@ -447,9 +437,8 @@ public async Task Update_UpdateResourceWithUserAssignedIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Vault With Monitoring Setting - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateVaultWithMonitoringSetting() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/PATCHVault_WithMonitoringSettings.json @@ -494,9 +483,8 @@ public async Task Update_UpdateVaultWithMonitoringSetting() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets vault usages - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsagesByVaults_GetsVaultUsages() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/ListUsages.json @@ -521,7 +509,7 @@ public async Task GetUsagesByVaults_GetsVaultUsages() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs index 2ddbfda2b2d26..aab781d0d7e3e 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServices.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServices.Samples { public partial class Sample_ResourceGroupResourceExtensions { - // Availability status of Resource Name when no resource with same name, type and subscription exists, nor has been deleted within last 24 hours - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckRecoveryServicesNameAvailability_AvailabilityStatusOfResourceNameWhenNoResourceWithSameNameTypeAndSubscriptionExistsNorHasBeenDeletedWithinLast24Hours() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/CheckNameAvailability_Available.json @@ -48,9 +48,8 @@ public async Task CheckRecoveryServicesNameAvailability_AvailabilityStatusOfReso Console.WriteLine($"Succeeded: {result}"); } - // Availability status of Resource Name when resource with same name, type and subscription exists - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckRecoveryServicesNameAvailability_AvailabilityStatusOfResourceNameWhenResourceWithSameNameTypeAndSubscriptionExists() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/CheckNameAvailability_NotAvailable.json diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index d041c22c4783f..6a8ec75b43a15 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RecoveryServices.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RecoveryServices.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Capabilities for Microsoft.RecoveryServices/Vaults - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRecoveryServiceCapabilities_CapabilitiesForMicrosoftRecoveryServicesVaults() { // Generated from example definition: specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2023-04-01/examples/Capabilities.json diff --git a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisCacheAccessPolicyAssignmentCollection.cs b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisCacheAccessPolicyAssignmentCollection.cs index ee65ebec97506..e8d21acb31cfb 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisCacheAccessPolicyAssignmentCollection.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisCacheAccessPolicyAssignmentCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Redis.Samples { public partial class Sample_RedisCacheAccessPolicyAssignmentCollection { - // RedisCacheAccessPolicyAssignmentCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RedisCacheAccessPolicyAssignmentCreateUpdate() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentCreateUpdate.json @@ -56,9 +56,8 @@ public async Task CreateOrUpdate_RedisCacheAccessPolicyAssignmentCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisCacheAccessPolicyAssignmentGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RedisCacheAccessPolicyAssignmentGet() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentGet.json @@ -91,9 +90,8 @@ public async Task Get_RedisCacheAccessPolicyAssignmentGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisCacheAccessPolicyAssignmentGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RedisCacheAccessPolicyAssignmentGet() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentGet.json @@ -122,9 +120,8 @@ public async Task Exists_RedisCacheAccessPolicyAssignmentGet() Console.WriteLine($"Succeeded: {result}"); } - // RedisCacheAccessPolicyAssignmentGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RedisCacheAccessPolicyAssignmentGet() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_RedisCacheAccessPolicyAssignmentGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_RedisCacheAccessPolicyAssignmentGet() } } - // RedisCacheAccessPolicyAssignmentList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RedisCacheAccessPolicyAssignmentList() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentList.json @@ -199,7 +195,7 @@ public async Task GetAll_RedisCacheAccessPolicyAssignmentList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisCacheAccessPolicyAssignmentResource.cs b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisCacheAccessPolicyAssignmentResource.cs index 5f7da14355b2f..5c249dde516a1 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisCacheAccessPolicyAssignmentResource.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisCacheAccessPolicyAssignmentResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Redis.Samples { public partial class Sample_RedisCacheAccessPolicyAssignmentResource { - // RedisCacheAccessPolicyAssignmentCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RedisCacheAccessPolicyAssignmentCreateUpdate() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentCreateUpdate.json @@ -53,9 +53,8 @@ public async Task Update_RedisCacheAccessPolicyAssignmentCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisCacheAccessPolicyAssignmentDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RedisCacheAccessPolicyAssignmentDelete() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentDelete.json @@ -78,12 +77,11 @@ public async Task Delete_RedisCacheAccessPolicyAssignmentDelete() // invoke the operation await redisCacheAccessPolicyAssignment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RedisCacheAccessPolicyAssignmentGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RedisCacheAccessPolicyAssignmentGet() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentGet.json diff --git a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisCacheAccessPolicyCollection.cs b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisCacheAccessPolicyCollection.cs index ebe6d0f4f393c..427120fcbbb50 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisCacheAccessPolicyCollection.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisCacheAccessPolicyCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Redis.Samples { public partial class Sample_RedisCacheAccessPolicyCollection { - // RedisCacheAccessPolicyCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RedisCacheAccessPolicyCreateUpdate() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyCreateUpdate.json @@ -54,9 +54,8 @@ public async Task CreateOrUpdate_RedisCacheAccessPolicyCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisCacheAccessPolicyGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RedisCacheAccessPolicyGet() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyGet.json @@ -89,9 +88,8 @@ public async Task Get_RedisCacheAccessPolicyGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisCacheAccessPolicyGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RedisCacheAccessPolicyGet() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyGet.json @@ -120,9 +118,8 @@ public async Task Exists_RedisCacheAccessPolicyGet() Console.WriteLine($"Succeeded: {result}"); } - // RedisCacheAccessPolicyGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RedisCacheAccessPolicyGet() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyGet.json @@ -151,7 +148,7 @@ public async Task GetIfExists_RedisCacheAccessPolicyGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -163,9 +160,8 @@ public async Task GetIfExists_RedisCacheAccessPolicyGet() } } - // RedisCacheAccessPolicyList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RedisCacheAccessPolicyList() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyList.json @@ -197,7 +193,7 @@ public async Task GetAll_RedisCacheAccessPolicyList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisCacheAccessPolicyResource.cs b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisCacheAccessPolicyResource.cs index 915b4d848346c..1aa2f99a38026 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisCacheAccessPolicyResource.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisCacheAccessPolicyResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Redis.Samples { public partial class Sample_RedisCacheAccessPolicyResource { - // RedisCacheAccessPolicyCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RedisCacheAccessPolicyCreateUpdate() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyCreateUpdate.json @@ -51,9 +51,8 @@ public async Task Update_RedisCacheAccessPolicyCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisCacheAccessPolicyDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RedisCacheAccessPolicyDelete() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyDelete.json @@ -76,12 +75,11 @@ public async Task Delete_RedisCacheAccessPolicyDelete() // invoke the operation await redisCacheAccessPolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RedisCacheAccessPolicyGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RedisCacheAccessPolicyGet() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyGet.json diff --git a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisCollection.cs b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisCollection.cs index b5e24db7fcf53..595e4d954a17e 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisCollection.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Redis.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Redis.Samples { public partial class Sample_RedisCollection { - // RedisCacheCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RedisCacheCreate() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreate.json @@ -70,9 +70,8 @@ public async Task CreateOrUpdate_RedisCacheCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisCacheCreateDefaultVersion - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RedisCacheCreateDefaultVersion() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateDefaultVersion.json @@ -122,9 +121,8 @@ public async Task CreateOrUpdate_RedisCacheCreateDefaultVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisCacheCreateLatestVersion - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RedisCacheCreateLatestVersion() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCreateLatestVersion.json @@ -175,9 +173,8 @@ public async Task CreateOrUpdate_RedisCacheCreateLatestVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisCacheGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RedisCacheGet() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGet.json @@ -209,9 +206,8 @@ public async Task Get_RedisCacheGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisCacheGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RedisCacheGet() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGet.json @@ -239,9 +235,8 @@ public async Task Exists_RedisCacheGet() Console.WriteLine($"Succeeded: {result}"); } - // RedisCacheGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RedisCacheGet() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGet.json @@ -269,7 +264,7 @@ public async Task GetIfExists_RedisCacheGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -281,9 +276,8 @@ public async Task GetIfExists_RedisCacheGet() } } - // RedisCacheListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RedisCacheListByResourceGroup() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListByResourceGroup.json @@ -314,7 +308,7 @@ public async Task GetAll_RedisCacheListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisFirewallRuleCollection.cs b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisFirewallRuleCollection.cs index 07cdf65cda5dc..d4cc120036d34 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisFirewallRuleCollection.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisFirewallRuleCollection.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Redis.Samples { public partial class Sample_RedisFirewallRuleCollection { - // RedisCacheFirewallRulesList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RedisCacheFirewallRulesList() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRulesList.json @@ -49,12 +49,11 @@ public async Task GetAll_RedisCacheFirewallRulesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RedisCacheFirewallRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RedisCacheFirewallRuleCreate() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleCreate.json @@ -89,9 +88,8 @@ public async Task CreateOrUpdate_RedisCacheFirewallRuleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisCacheFirewallRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RedisCacheFirewallRuleGet() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleGet.json @@ -124,9 +122,8 @@ public async Task Get_RedisCacheFirewallRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisCacheFirewallRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RedisCacheFirewallRuleGet() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleGet.json @@ -155,9 +152,8 @@ public async Task Exists_RedisCacheFirewallRuleGet() Console.WriteLine($"Succeeded: {result}"); } - // RedisCacheFirewallRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RedisCacheFirewallRuleGet() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleGet.json @@ -186,7 +182,7 @@ public async Task GetIfExists_RedisCacheFirewallRuleGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisFirewallRuleResource.cs b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisFirewallRuleResource.cs index 534413d0ec628..ef22d5d4e74e1 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisFirewallRuleResource.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisFirewallRuleResource.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Redis.Samples { public partial class Sample_RedisFirewallRuleResource { - // RedisCacheFirewallRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RedisCacheFirewallRuleCreate() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleCreate.json @@ -49,9 +49,8 @@ public async Task Update_RedisCacheFirewallRuleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisCacheFirewallRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RedisCacheFirewallRuleGet() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleGet.json @@ -81,9 +80,8 @@ public async Task Get_RedisCacheFirewallRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisCacheFirewallRuleDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RedisCacheFirewallRuleDelete() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFirewallRuleDelete.json @@ -106,7 +104,7 @@ public async Task Delete_RedisCacheFirewallRuleDelete() // invoke the operation await redisFirewallRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisLinkedServerWithPropertyCollection.cs b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisLinkedServerWithPropertyCollection.cs index 2ed2d3537e2c7..75c953bd6da2b 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisLinkedServerWithPropertyCollection.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisLinkedServerWithPropertyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Redis.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Redis.Samples { public partial class Sample_RedisLinkedServerWithPropertyCollection { - // LinkedServer_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_LinkedServerCreate() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Create.json @@ -52,9 +52,8 @@ public async Task CreateOrUpdate_LinkedServerCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LinkedServer_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LinkedServerGet() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Get.json @@ -87,9 +86,8 @@ public async Task Get_LinkedServerGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LinkedServer_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_LinkedServerGet() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Get.json @@ -118,9 +116,8 @@ public async Task Exists_LinkedServerGet() Console.WriteLine($"Succeeded: {result}"); } - // LinkedServer_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_LinkedServerGet() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Get.json @@ -149,7 +146,7 @@ public async Task GetIfExists_LinkedServerGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_LinkedServerGet() } } - // LinkedServer_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_LinkedServerList() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_List.json @@ -195,7 +191,7 @@ public async Task GetAll_LinkedServerList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisLinkedServerWithPropertyResource.cs b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisLinkedServerWithPropertyResource.cs index bf2e2336f5b79..09454db143388 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisLinkedServerWithPropertyResource.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisLinkedServerWithPropertyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Redis.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Redis.Samples { public partial class Sample_RedisLinkedServerWithPropertyResource { - // LinkedServer_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_LinkedServerCreate() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Create.json @@ -49,9 +49,8 @@ public async Task Update_LinkedServerCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // LinkedServerDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_LinkedServerDelete() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Delete.json @@ -74,12 +73,11 @@ public async Task Delete_LinkedServerDelete() // invoke the operation await redisLinkedServerWithProperty.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // LinkedServer_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_LinkedServerGet() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheLinkedServer_Get.json diff --git a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisPatchScheduleCollection.cs b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisPatchScheduleCollection.cs index 563777f8113fe..2f7020354aafa 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisPatchScheduleCollection.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisPatchScheduleCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Redis.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Redis.Samples { public partial class Sample_RedisPatchScheduleCollection { - // RedisCachePatchSchedulesList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RedisCachePatchSchedulesList() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesList.json @@ -50,12 +50,11 @@ public async Task GetAll_RedisCachePatchSchedulesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RedisCachePatchSchedulesCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RedisCachePatchSchedulesCreateOrUpdate() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesCreateOrUpdate.json @@ -96,9 +95,8 @@ public async Task CreateOrUpdate_RedisCachePatchSchedulesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisCachePatchSchedulesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RedisCachePatchSchedulesGet() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesGet.json @@ -131,9 +129,8 @@ public async Task Get_RedisCachePatchSchedulesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisCachePatchSchedulesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RedisCachePatchSchedulesGet() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesGet.json @@ -162,9 +159,8 @@ public async Task Exists_RedisCachePatchSchedulesGet() Console.WriteLine($"Succeeded: {result}"); } - // RedisCachePatchSchedulesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RedisCachePatchSchedulesGet() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesGet.json @@ -193,7 +189,7 @@ public async Task GetIfExists_RedisCachePatchSchedulesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisPatchScheduleResource.cs b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisPatchScheduleResource.cs index a28a6d3158d55..fc549f3f3de8a 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisPatchScheduleResource.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisPatchScheduleResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Redis.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Redis.Samples { public partial class Sample_RedisPatchScheduleResource { - // RedisCachePatchSchedulesCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RedisCachePatchSchedulesCreateOrUpdate() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesCreateOrUpdate.json @@ -56,9 +56,8 @@ public async Task Update_RedisCachePatchSchedulesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisCachePatchSchedulesDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RedisCachePatchSchedulesDelete() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesDelete.json @@ -81,12 +80,11 @@ public async Task Delete_RedisCachePatchSchedulesDelete() // invoke the operation await redisPatchSchedule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RedisCachePatchSchedulesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RedisCachePatchSchedulesGet() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePatchSchedulesGet.json diff --git a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisPrivateEndpointConnectionCollection.cs b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisPrivateEndpointConnectionCollection.cs index e34c6b465c99d..54a48ab048234 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisPrivateEndpointConnectionCollection.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Redis.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Redis.Samples { public partial class Sample_RedisPrivateEndpointConnectionCollection { - // RedisCacheListPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RedisCacheListPrivateEndpointConnection() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateEndpointConnections.json @@ -49,12 +49,11 @@ public async Task GetAll_RedisCacheListPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RedisCacheGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RedisCacheGetPrivateEndpointConnection() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGetPrivateEndpointConnection.json @@ -87,9 +86,8 @@ public async Task Get_RedisCacheGetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisCacheGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RedisCacheGetPrivateEndpointConnection() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGetPrivateEndpointConnection.json @@ -118,9 +116,8 @@ public async Task Exists_RedisCacheGetPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // RedisCacheGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RedisCacheGetPrivateEndpointConnection() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGetPrivateEndpointConnection.json @@ -149,7 +146,7 @@ public async Task GetIfExists_RedisCacheGetPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_RedisCacheGetPrivateEndpointConnection() } } - // RedisCachePutPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RedisCachePutPrivateEndpointConnection() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePutPrivateEndpointConnection.json diff --git a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisPrivateEndpointConnectionResource.cs b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisPrivateEndpointConnectionResource.cs index 7e5bb77d83a2f..2ade74b9a6ee3 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisPrivateEndpointConnectionResource.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Redis.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Redis.Samples { public partial class Sample_RedisPrivateEndpointConnectionResource { - // RedisCacheGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RedisCacheGetPrivateEndpointConnection() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGetPrivateEndpointConnection.json @@ -47,9 +47,8 @@ public async Task Get_RedisCacheGetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisCachePutPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RedisCachePutPrivateEndpointConnection() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCachePutPrivateEndpointConnection.json @@ -88,9 +87,8 @@ public async Task Update_RedisCachePutPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisCacheDeletePrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RedisCacheDeletePrivateEndpointConnection() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDeletePrivateEndpointConnection.json @@ -113,7 +111,7 @@ public async Task Delete_RedisCacheDeletePrivateEndpointConnection() // invoke the operation await redisPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisResource.cs b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisResource.cs index 961bed50977af..2ab3b2921c2ba 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisResource.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_RedisResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.Redis.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Redis.Samples { public partial class Sample_RedisResource { - // RedisCacheCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckRedisNameAvailability_RedisCacheCheckNameAvailability() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCheckNameAvailability.json @@ -40,12 +40,11 @@ public async Task CheckRedisNameAvailability_RedisCacheCheckNameAvailability() RedisNameAvailabilityContent content = new RedisNameAvailabilityContent("cacheName", new ResourceType("Microsoft.Cache/Redis")); await subscriptionResource.CheckRedisNameAvailabilityAsync(content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RedisCacheListUpgradeNotifications - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUpgradeNotifications_RedisCacheListUpgradeNotifications() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListUpgradeNotifications.json @@ -71,12 +70,11 @@ public async Task GetUpgradeNotifications_RedisCacheListUpgradeNotifications() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RedisCacheUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RedisCacheUpdate() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheUpdate.json @@ -111,9 +109,8 @@ public async Task Update_RedisCacheUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisCacheDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RedisCacheDelete() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheDelete.json @@ -135,12 +132,11 @@ public async Task Delete_RedisCacheDelete() // invoke the operation await redis.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RedisCacheGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RedisCacheGet() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheGet.json @@ -169,9 +165,8 @@ public async Task Get_RedisCacheGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisCacheList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllRedis_RedisCacheList() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheList.json @@ -198,12 +193,11 @@ public async Task GetAllRedis_RedisCacheList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RedisCacheListKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_RedisCacheListKeys() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListKeys.json @@ -228,9 +222,8 @@ public async Task GetKeys_RedisCacheListKeys() Console.WriteLine($"Succeeded: {result}"); } - // RedisCacheRegenerateKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKey_RedisCacheRegenerateKey() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheRegenerateKey.json @@ -256,9 +249,8 @@ public async Task RegenerateKey_RedisCacheRegenerateKey() Console.WriteLine($"Succeeded: {result}"); } - // RedisCacheForceReboot - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ForceReboot_RedisCacheForceReboot() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheForceReboot.json @@ -292,9 +284,8 @@ public async Task ForceReboot_RedisCacheForceReboot() Console.WriteLine($"Succeeded: {result}"); } - // RedisCacheImport - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ImportData_RedisCacheImport() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheImport.json @@ -324,12 +315,11 @@ public async Task ImportData_RedisCacheImport() }; await redis.ImportDataAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RedisCacheExport - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExportData_RedisCacheExport() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheExport.json @@ -356,12 +346,11 @@ public async Task ExportData_RedisCacheExport() }; await redis.ExportDataAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RedisCacheFlush - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task FlushCache_RedisCacheFlush() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheFlush.json @@ -387,9 +376,8 @@ public async Task FlushCache_RedisCacheFlush() Console.WriteLine($"Succeeded: {result}"); } - // StorageAccountListPrivateLinkResources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinkResourcesByRedisCache_StorageAccountListPrivateLinkResources() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheListPrivateLinkResources.json @@ -414,7 +402,7 @@ public async Task GetPrivateLinkResourcesByRedisCache_StorageAccountListPrivateL Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 71d11f471f361..9c43c9eac65d7 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Redis.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Redis.Samples { public partial class Sample_SubscriptionResourceExtensions { - // RedisCacheAsyncOperationStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAsyncOperationStatus_RedisCacheAsyncOperationStatus() { // Generated from example definition: specification/redis/resource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAsyncOperationStatus.json diff --git a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_AccessPolicyAssignmentCollection.cs b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_AccessPolicyAssignmentCollection.cs index f64532d74d7ec..ac889a486428c 100644 --- a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_AccessPolicyAssignmentCollection.cs +++ b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_AccessPolicyAssignmentCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RedisEnterprise.Samples { public partial class Sample_AccessPolicyAssignmentCollection { - // RedisEnterpriseAccessPolicyAssignmentCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RedisEnterpriseAccessPolicyAssignmentCreateUpdate() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseAccessPolicyAssignmentCreateUpdate.json @@ -56,9 +56,8 @@ public async Task CreateOrUpdate_RedisEnterpriseAccessPolicyAssignmentCreateUpda Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisEnterpriseAccessPolicyAssignmentGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RedisEnterpriseAccessPolicyAssignmentGet() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseAccessPolicyAssignmentGet.json @@ -92,9 +91,8 @@ public async Task Get_RedisEnterpriseAccessPolicyAssignmentGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisEnterpriseAccessPolicyAssignmentGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RedisEnterpriseAccessPolicyAssignmentGet() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseAccessPolicyAssignmentGet.json @@ -124,9 +122,8 @@ public async Task Exists_RedisEnterpriseAccessPolicyAssignmentGet() Console.WriteLine($"Succeeded: {result}"); } - // RedisEnterpriseAccessPolicyAssignmentGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RedisEnterpriseAccessPolicyAssignmentGet() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseAccessPolicyAssignmentGet.json @@ -156,7 +153,7 @@ public async Task GetIfExists_RedisEnterpriseAccessPolicyAssignmentGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_RedisEnterpriseAccessPolicyAssignmentGet() } } - // RedisEnterpriseAccessPolicyAssignmentList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RedisEnterpriseAccessPolicyAssignmentList() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseAccessPolicyAssignmentsList.json @@ -203,7 +199,7 @@ public async Task GetAll_RedisEnterpriseAccessPolicyAssignmentList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_AccessPolicyAssignmentResource.cs b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_AccessPolicyAssignmentResource.cs index 227cbb5ebb512..ce056a2d5721d 100644 --- a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_AccessPolicyAssignmentResource.cs +++ b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_AccessPolicyAssignmentResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.RedisEnterprise.Samples { public partial class Sample_AccessPolicyAssignmentResource { - // RedisEnterpriseAccessPolicyAssignmentCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RedisEnterpriseAccessPolicyAssignmentCreateUpdate() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseAccessPolicyAssignmentCreateUpdate.json @@ -53,9 +53,8 @@ public async Task Update_RedisEnterpriseAccessPolicyAssignmentCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisEnterpriseAccessPolicyAssignmentGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RedisEnterpriseAccessPolicyAssignmentGet() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseAccessPolicyAssignmentGet.json @@ -86,9 +85,8 @@ public async Task Get_RedisEnterpriseAccessPolicyAssignmentGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisEnterpriseAccessPolicyAssignmentDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RedisEnterpriseAccessPolicyAssignmentDelete() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseAccessPolicyAssignmentDelete.json @@ -112,7 +110,7 @@ public async Task Delete_RedisEnterpriseAccessPolicyAssignmentDelete() // invoke the operation await accessPolicyAssignment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_RedisEnterpriseClusterCollection.cs b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_RedisEnterpriseClusterCollection.cs index 10b12940763b7..011e7e1aba017 100644 --- a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_RedisEnterpriseClusterCollection.cs +++ b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_RedisEnterpriseClusterCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.RedisEnterprise.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RedisEnterprise.Samples { public partial class Sample_RedisEnterpriseClusterCollection { - // RedisEnterpriseCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RedisEnterpriseCreate() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseCreate.json @@ -83,9 +83,8 @@ public async Task CreateOrUpdate_RedisEnterpriseCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisEnterpriseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RedisEnterpriseGet() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseGet.json @@ -117,9 +116,8 @@ public async Task Get_RedisEnterpriseGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisEnterpriseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RedisEnterpriseGet() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseGet.json @@ -147,9 +145,8 @@ public async Task Exists_RedisEnterpriseGet() Console.WriteLine($"Succeeded: {result}"); } - // RedisEnterpriseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RedisEnterpriseGet() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseGet.json @@ -177,7 +174,7 @@ public async Task GetIfExists_RedisEnterpriseGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -189,9 +186,8 @@ public async Task GetIfExists_RedisEnterpriseGet() } } - // RedisEnterpriseListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RedisEnterpriseListByResourceGroup() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseListByResourceGroup.json @@ -222,7 +218,7 @@ public async Task GetAll_RedisEnterpriseListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_RedisEnterpriseClusterResource.cs b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_RedisEnterpriseClusterResource.cs index b5332eb70a273..5e1d288cb3591 100644 --- a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_RedisEnterpriseClusterResource.cs +++ b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_RedisEnterpriseClusterResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RedisEnterprise.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RedisEnterprise.Samples { public partial class Sample_RedisEnterpriseClusterResource { - // RedisEnterpriseUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RedisEnterpriseUpdate() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseUpdate.json @@ -60,9 +60,8 @@ public async Task Update_RedisEnterpriseUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisEnterpriseDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RedisEnterpriseDelete() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseDelete.json @@ -84,12 +83,11 @@ public async Task Delete_RedisEnterpriseDelete() // invoke the operation await redisEnterpriseCluster.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RedisEnterpriseGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RedisEnterpriseGet() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseGet.json @@ -118,9 +116,8 @@ public async Task Get_RedisEnterpriseGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisEnterpriseList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRedisEnterpriseClusters_RedisEnterpriseList() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseList.json @@ -147,12 +144,11 @@ public async Task GetRedisEnterpriseClusters_RedisEnterpriseList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RedisEnterpriseListPrivateLinkResources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinkResourcesByCluster_RedisEnterpriseListPrivateLinkResources() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseListPrivateLinkResources.json @@ -177,7 +173,7 @@ public async Task GetPrivateLinkResourcesByCluster_RedisEnterpriseListPrivateLin Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_RedisEnterpriseDatabaseCollection.cs b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_RedisEnterpriseDatabaseCollection.cs index 8394b865f0784..cf8ba67aa7bb0 100644 --- a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_RedisEnterpriseDatabaseCollection.cs +++ b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_RedisEnterpriseDatabaseCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RedisEnterprise.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RedisEnterprise.Samples { public partial class Sample_RedisEnterpriseDatabaseCollection { - // RedisEnterpriseDatabasesListByCluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RedisEnterpriseDatabasesListByCluster() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseDatabasesListByCluster.json @@ -49,12 +49,11 @@ public async Task GetAll_RedisEnterpriseDatabasesListByCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RedisEnterpriseDatabasesCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RedisEnterpriseDatabasesCreate() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseDatabasesCreate.json @@ -112,9 +111,8 @@ public async Task CreateOrUpdate_RedisEnterpriseDatabasesCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisEnterpriseDatabasesCreate With Active Geo Replication - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RedisEnterpriseDatabasesCreateWithActiveGeoReplication() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseDatabasesCreateWithGeoReplication.json @@ -170,9 +168,8 @@ public async Task CreateOrUpdate_RedisEnterpriseDatabasesCreateWithActiveGeoRepl Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisEnterpriseDatabasesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RedisEnterpriseDatabasesGet() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseDatabasesGet.json @@ -205,9 +202,8 @@ public async Task Get_RedisEnterpriseDatabasesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisEnterpriseDatabasesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RedisEnterpriseDatabasesGet() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseDatabasesGet.json @@ -236,9 +232,8 @@ public async Task Exists_RedisEnterpriseDatabasesGet() Console.WriteLine($"Succeeded: {result}"); } - // RedisEnterpriseDatabasesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RedisEnterpriseDatabasesGet() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseDatabasesGet.json @@ -267,7 +262,7 @@ public async Task GetIfExists_RedisEnterpriseDatabasesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_RedisEnterpriseDatabaseResource.cs b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_RedisEnterpriseDatabaseResource.cs index 134b11af77b0e..b0acf4a5fb4c9 100644 --- a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_RedisEnterpriseDatabaseResource.cs +++ b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_RedisEnterpriseDatabaseResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RedisEnterprise.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RedisEnterprise.Samples { public partial class Sample_RedisEnterpriseDatabaseResource { - // RedisEnterpriseDatabasesUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RedisEnterpriseDatabasesUpdate() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseDatabasesUpdate.json @@ -59,9 +59,8 @@ public async Task Update_RedisEnterpriseDatabasesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisEnterpriseDatabasesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RedisEnterpriseDatabasesGet() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseDatabasesGet.json @@ -91,9 +90,8 @@ public async Task Get_RedisEnterpriseDatabasesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisEnterpriseDatabasesDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RedisEnterpriseDatabasesDelete() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseDatabasesDelete.json @@ -116,12 +114,11 @@ public async Task Delete_RedisEnterpriseDatabasesDelete() // invoke the operation await redisEnterpriseDatabase.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RedisEnterpriseDatabasesListKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_RedisEnterpriseDatabasesListKeys() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseDatabasesListKeys.json @@ -147,9 +144,8 @@ public async Task GetKeys_RedisEnterpriseDatabasesListKeys() Console.WriteLine($"Succeeded: {result}"); } - // RedisEnterpriseDatabasesRegenerateKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKey_RedisEnterpriseDatabasesRegenerateKey() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseDatabasesRegenerateKey.json @@ -177,9 +173,8 @@ public async Task RegenerateKey_RedisEnterpriseDatabasesRegenerateKey() Console.WriteLine($"Succeeded: {result}"); } - // RedisEnterpriseDatabasesImport - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Import_RedisEnterpriseDatabasesImport() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseDatabasesImport.json @@ -206,12 +201,11 @@ public async Task Import_RedisEnterpriseDatabasesImport() }); await redisEnterpriseDatabase.ImportAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RedisEnterpriseDatabasesExport - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Export_RedisEnterpriseDatabasesExport() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseDatabasesExport.json @@ -235,12 +229,11 @@ public async Task Export_RedisEnterpriseDatabasesExport() ExportRedisEnterpriseDatabaseContent content = new ExportRedisEnterpriseDatabaseContent(new Uri("https://contosostorage.blob.core.window.net/urlToBlobContainer?sasKeyParameters")); await redisEnterpriseDatabase.ExportAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // How to unlink a database during a regional outage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ForceUnlink_HowToUnlinkADatabaseDuringARegionalOutage() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseDatabasesForceUnlink.json @@ -267,12 +260,11 @@ public async Task ForceUnlink_HowToUnlinkADatabaseDuringARegionalOutage() }); await redisEnterpriseDatabase.ForceUnlinkAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // How to relink a database after a regional outage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ForceLinkToReplicationGroup_HowToRelinkADatabaseAfterARegionalOutage() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseDatabasesForceLink.json @@ -305,12 +297,11 @@ public async Task ForceLinkToReplicationGroup_HowToRelinkADatabaseAfterARegional }); await redisEnterpriseDatabase.ForceLinkToReplicationGroupAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // How to flush all the keys in the database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Flush_HowToFlushAllTheKeysInTheDatabase() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseDatabasesFlush.json @@ -340,12 +331,11 @@ public async Task Flush_HowToFlushAllTheKeysInTheDatabase() }; await redisEnterpriseDatabase.FlushAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // How to upgrade your database Redis version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpgradeDBRedisVersion_HowToUpgradeYourDatabaseRedisVersion() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseDatabasesUpgradeDBRedisVersion.json @@ -368,7 +358,7 @@ public async Task UpgradeDBRedisVersion_HowToUpgradeYourDatabaseRedisVersion() // invoke the operation await redisEnterpriseDatabase.UpgradeDBRedisVersionAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_RedisEnterprisePrivateEndpointConnectionCollection.cs b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_RedisEnterprisePrivateEndpointConnectionCollection.cs index 4e685b508bee5..41056191cfce7 100644 --- a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_RedisEnterprisePrivateEndpointConnectionCollection.cs +++ b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_RedisEnterprisePrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RedisEnterprise.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RedisEnterprise.Samples { public partial class Sample_RedisEnterprisePrivateEndpointConnectionCollection { - // RedisEnterpriseListPrivateEndpointConnections - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RedisEnterpriseListPrivateEndpointConnections() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseListPrivateEndpointConnections.json @@ -49,12 +49,11 @@ public async Task GetAll_RedisEnterpriseListPrivateEndpointConnections() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RedisEnterpriseGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RedisEnterpriseGetPrivateEndpointConnection() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseGetPrivateEndpointConnection.json @@ -87,9 +86,8 @@ public async Task Get_RedisEnterpriseGetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisEnterpriseGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RedisEnterpriseGetPrivateEndpointConnection() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseGetPrivateEndpointConnection.json @@ -118,9 +116,8 @@ public async Task Exists_RedisEnterpriseGetPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // RedisEnterpriseGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RedisEnterpriseGetPrivateEndpointConnection() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseGetPrivateEndpointConnection.json @@ -149,7 +146,7 @@ public async Task GetIfExists_RedisEnterpriseGetPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_RedisEnterpriseGetPrivateEndpointConnection() } } - // RedisEnterprisePutPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RedisEnterprisePutPrivateEndpointConnection() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterprisePutPrivateEndpointConnection.json diff --git a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_RedisEnterprisePrivateEndpointConnectionResource.cs b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_RedisEnterprisePrivateEndpointConnectionResource.cs index b7a2d244001a0..fa0d9fff4d64d 100644 --- a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_RedisEnterprisePrivateEndpointConnectionResource.cs +++ b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_RedisEnterprisePrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.RedisEnterprise.Models; +using NUnit.Framework; namespace Azure.ResourceManager.RedisEnterprise.Samples { public partial class Sample_RedisEnterprisePrivateEndpointConnectionResource { - // RedisEnterpriseGetPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RedisEnterpriseGetPrivateEndpointConnection() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseGetPrivateEndpointConnection.json @@ -47,9 +47,8 @@ public async Task Get_RedisEnterpriseGetPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisEnterprisePutPrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RedisEnterprisePutPrivateEndpointConnection() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterprisePutPrivateEndpointConnection.json @@ -88,9 +87,8 @@ public async Task Update_RedisEnterprisePutPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RedisEnterpriseDeletePrivateEndpointConnection - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RedisEnterpriseDeletePrivateEndpointConnection() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/RedisEnterpriseDeletePrivateEndpointConnection.json @@ -113,7 +111,7 @@ public async Task Delete_RedisEnterpriseDeletePrivateEndpointConnection() // invoke the operation await redisEnterprisePrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 743d69141769f..8d90afa45c96f 100644 --- a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.RedisEnterprise.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.RedisEnterprise.Samples { public partial class Sample_SubscriptionResourceExtensions { - // OperationsStatusGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRedisEnterpriseOperationsStatus_OperationsStatusGet() { // Generated from example definition: specification/redisenterprise/resource-manager/Microsoft.Cache/preview/2024-09-01-preview/examples/OperationsStatusGet.json diff --git a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayHybridConnectionAuthorizationRuleCollection.cs b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayHybridConnectionAuthorizationRuleCollection.cs index 45080426df051..f7142e1a8b07f 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayHybridConnectionAuthorizationRuleCollection.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayHybridConnectionAuthorizationRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Relay.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Relay.Samples { public partial class Sample_RelayHybridConnectionAuthorizationRuleCollection { - // RelayHybridConnectionAuthorizationRuleListAll - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RelayHybridConnectionAuthorizationRuleListAll() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleListAll.json @@ -50,12 +50,11 @@ public async Task GetAll_RelayHybridConnectionAuthorizationRuleListAll() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RelayHybridConnectionAuthorizationRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RelayHybridConnectionAuthorizationRuleCreate() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleCreate.json @@ -97,9 +96,8 @@ public async Task CreateOrUpdate_RelayHybridConnectionAuthorizationRuleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RelayHybridConnectionAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RelayHybridConnectionAuthorizationRuleGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleGet.json @@ -133,9 +131,8 @@ public async Task Get_RelayHybridConnectionAuthorizationRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RelayHybridConnectionAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RelayHybridConnectionAuthorizationRuleGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleGet.json @@ -165,9 +162,8 @@ public async Task Exists_RelayHybridConnectionAuthorizationRuleGet() Console.WriteLine($"Succeeded: {result}"); } - // RelayHybridConnectionAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RelayHybridConnectionAuthorizationRuleGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleGet.json @@ -197,7 +193,7 @@ public async Task GetIfExists_RelayHybridConnectionAuthorizationRuleGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayHybridConnectionAuthorizationRuleResource.cs b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayHybridConnectionAuthorizationRuleResource.cs index d972f57ccca76..97287596152b7 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayHybridConnectionAuthorizationRuleResource.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayHybridConnectionAuthorizationRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Relay.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Relay.Samples { public partial class Sample_RelayHybridConnectionAuthorizationRuleResource { - // RelayHybridConnectionAuthorizationRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RelayHybridConnectionAuthorizationRuleCreate() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleCreate.json @@ -56,9 +56,8 @@ public async Task Update_RelayHybridConnectionAuthorizationRuleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RelayHybridConnectionAuthorizationRuleDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RelayHybridConnectionAuthorizationRuleDelete() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleDelete.json @@ -82,12 +81,11 @@ public async Task Delete_RelayHybridConnectionAuthorizationRuleDelete() // invoke the operation await relayHybridConnectionAuthorizationRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RelayHybridConnectionAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RelayHybridConnectionAuthorizationRuleGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleGet.json @@ -118,9 +116,8 @@ public async Task Get_RelayHybridConnectionAuthorizationRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RelayHybridConnectionAuthorizationRuleListKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_RelayHybridConnectionAuthorizationRuleListKey() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleListKey.json @@ -147,9 +144,8 @@ public async Task GetKeys_RelayHybridConnectionAuthorizationRuleListKey() Console.WriteLine($"Succeeded: {result}"); } - // RelayHybridConnectionAuthorizationRuleRegenerateKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKeys_RelayHybridConnectionAuthorizationRuleRegenerateKey() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleRegenerateKey.json diff --git a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayHybridConnectionCollection.cs b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayHybridConnectionCollection.cs index a2c8608e9599b..78846f8bc22c1 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayHybridConnectionCollection.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayHybridConnectionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Relay.Samples { public partial class Sample_RelayHybridConnectionCollection { - // RelayHybridConnectionListAll - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RelayHybridConnectionListAll() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/HybridConnection/RelayHybridConnectionListAll.json @@ -48,12 +48,11 @@ public async Task GetAll_RelayHybridConnectionListAll() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RelayHybridConnectionCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RelayHybridConnectionCreate() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/HybridConnection/RelayHybridConnectionCreate.json @@ -91,9 +90,8 @@ public async Task CreateOrUpdate_RelayHybridConnectionCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RelayHybridConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RelayHybridConnectionGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/HybridConnection/RelayHybridConnectionGet.json @@ -126,9 +124,8 @@ public async Task Get_RelayHybridConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RelayHybridConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RelayHybridConnectionGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/HybridConnection/RelayHybridConnectionGet.json @@ -157,9 +154,8 @@ public async Task Exists_RelayHybridConnectionGet() Console.WriteLine($"Succeeded: {result}"); } - // RelayHybridConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RelayHybridConnectionGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/HybridConnection/RelayHybridConnectionGet.json @@ -188,7 +184,7 @@ public async Task GetIfExists_RelayHybridConnectionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayHybridConnectionResource.cs b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayHybridConnectionResource.cs index e0e710c9a05db..881a84dc9c822 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayHybridConnectionResource.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayHybridConnectionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Relay.Samples { public partial class Sample_RelayHybridConnectionResource { - // RelayHybridConnectionCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RelayHybridConnectionCreate() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/HybridConnection/RelayHybridConnectionCreate.json @@ -51,9 +51,8 @@ public async Task Update_RelayHybridConnectionCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RelayHybridconnectionDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RelayHybridconnectionDelete() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/HybridConnection/RelayHybridconnectionDelete.json @@ -76,12 +75,11 @@ public async Task Delete_RelayHybridconnectionDelete() // invoke the operation await relayHybridConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RelayHybridConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RelayHybridConnectionGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/HybridConnection/RelayHybridConnectionGet.json diff --git a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayNamespaceAuthorizationRuleCollection.cs b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayNamespaceAuthorizationRuleCollection.cs index 572895b7218f6..90e8b55bd9fe7 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayNamespaceAuthorizationRuleCollection.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayNamespaceAuthorizationRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Relay.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Relay.Samples { public partial class Sample_RelayNamespaceAuthorizationRuleCollection { - // RelayNameSpaceAuthorizationRuleListAll - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RelayNameSpaceAuthorizationRuleListAll() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleListAll.json @@ -49,12 +49,11 @@ public async Task GetAll_RelayNameSpaceAuthorizationRuleListAll() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RelayNameSpaceAuthorizationRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RelayNameSpaceAuthorizationRuleCreate() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleCreate.json @@ -95,9 +94,8 @@ public async Task CreateOrUpdate_RelayNameSpaceAuthorizationRuleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RelayNameSpaceAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RelayNameSpaceAuthorizationRuleGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleGet.json @@ -130,9 +128,8 @@ public async Task Get_RelayNameSpaceAuthorizationRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RelayNameSpaceAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RelayNameSpaceAuthorizationRuleGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleGet.json @@ -161,9 +158,8 @@ public async Task Exists_RelayNameSpaceAuthorizationRuleGet() Console.WriteLine($"Succeeded: {result}"); } - // RelayNameSpaceAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RelayNameSpaceAuthorizationRuleGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleGet.json @@ -192,7 +188,7 @@ public async Task GetIfExists_RelayNameSpaceAuthorizationRuleGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayNamespaceAuthorizationRuleResource.cs b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayNamespaceAuthorizationRuleResource.cs index d53bbb4f81231..8432d53df9c3e 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayNamespaceAuthorizationRuleResource.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayNamespaceAuthorizationRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Relay.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Relay.Samples { public partial class Sample_RelayNamespaceAuthorizationRuleResource { - // RelayNameSpaceAuthorizationRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RelayNameSpaceAuthorizationRuleCreate() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleCreate.json @@ -55,9 +55,8 @@ public async Task Update_RelayNameSpaceAuthorizationRuleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RelayNameSpaceAuthorizationRuleDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RelayNameSpaceAuthorizationRuleDelete() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleDelete.json @@ -80,12 +79,11 @@ public async Task Delete_RelayNameSpaceAuthorizationRuleDelete() // invoke the operation await relayNamespaceAuthorizationRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RelayNameSpaceAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RelayNameSpaceAuthorizationRuleGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleGet.json @@ -115,9 +113,8 @@ public async Task Get_RelayNameSpaceAuthorizationRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RelayNameSpaceAuthorizationRuleListKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_RelayNameSpaceAuthorizationRuleListKey() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleListKey.json @@ -143,9 +140,8 @@ public async Task GetKeys_RelayNameSpaceAuthorizationRuleListKey() Console.WriteLine($"Succeeded: {result}"); } - // RelayNameSpaceAuthorizationRuleRegenerateKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKeys_RelayNameSpaceAuthorizationRuleRegenerateKey() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleRegenerateKey.json diff --git a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayNamespaceCollection.cs b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayNamespaceCollection.cs index 2b03273f73fdf..b1b873d86b212 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayNamespaceCollection.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayNamespaceCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Relay.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Relay.Samples { public partial class Sample_RelayNamespaceCollection { - // RelayNameSpaceListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RelayNameSpaceListByResourceGroup() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/NameSpaces/RelayNameSpaceListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_RelayNameSpaceListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RelayNamespaceCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RelayNamespaceCreate() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/NameSpaces/RelayNameSpaceCreate.json @@ -99,9 +98,8 @@ public async Task CreateOrUpdate_RelayNamespaceCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RelayNameSpaceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RelayNameSpaceGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/NameSpaces/RelayNameSpaceGet.json @@ -133,9 +131,8 @@ public async Task Get_RelayNameSpaceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RelayNameSpaceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RelayNameSpaceGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/NameSpaces/RelayNameSpaceGet.json @@ -163,9 +160,8 @@ public async Task Exists_RelayNameSpaceGet() Console.WriteLine($"Succeeded: {result}"); } - // RelayNameSpaceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RelayNameSpaceGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/NameSpaces/RelayNameSpaceGet.json @@ -193,7 +189,7 @@ public async Task GetIfExists_RelayNameSpaceGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayNamespaceResource.cs b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayNamespaceResource.cs index 2df8baa5679b6..3a57c6b48c934 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayNamespaceResource.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayNamespaceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Relay.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Relay.Samples { public partial class Sample_RelayNamespaceResource { - // RelayCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckRelayNamespaceNameAvailability_RelayCheckNameAvailability() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/NameSpaces/RelayNameSpaceCheckNameAvailability.json @@ -42,9 +42,8 @@ public async Task CheckRelayNamespaceNameAvailability_RelayCheckNameAvailability Console.WriteLine($"Succeeded: {result}"); } - // RelayNameSpaceListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRelayNamespaces_RelayNameSpaceListBySubscription() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/NameSpaces/RelayNameSpaceListBySubscription.json @@ -71,12 +70,11 @@ public async Task GetRelayNamespaces_RelayNameSpaceListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RelayNameSpaceDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RelayNameSpaceDelete() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/NameSpaces/RelayNameSpaceDelete.json @@ -98,12 +96,11 @@ public async Task Delete_RelayNameSpaceDelete() // invoke the operation await relayNamespace.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RelayNameSpaceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RelayNameSpaceGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/NameSpaces/RelayNameSpaceGet.json @@ -132,9 +129,8 @@ public async Task Get_RelayNameSpaceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RelayNameSpaceUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RelayNameSpaceUpdate() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/NameSpaces/RelayNameSpaceUpdate.json diff --git a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayNetworkRuleSetResource.cs b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayNetworkRuleSetResource.cs index 31d575ff16371..2a3f9fbbf00ea 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayNetworkRuleSetResource.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayNetworkRuleSetResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Relay.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Relay.Samples { public partial class Sample_RelayNetworkRuleSetResource { - // NameSpaceNetworkRuleSetCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NameSpaceNetworkRuleSetCreate() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/VirtualNetworkRules/RelayNetworkRuleSetCreate.json @@ -75,9 +75,8 @@ public async Task CreateOrUpdate_NameSpaceNetworkRuleSetCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpaceNetworkRuleSetGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NameSpaceNetworkRuleSetGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/VirtualNetworkRules/RelayNetworkRuleSetGet.json diff --git a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayPrivateEndpointConnectionCollection.cs b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayPrivateEndpointConnectionCollection.cs index f5e6adbee0b3d..1614c898f48be 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayPrivateEndpointConnectionCollection.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Relay.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Relay.Samples { public partial class Sample_RelayPrivateEndpointConnectionCollection { - // PrivateEndpointConnectionsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndpointConnectionsList() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/PrivateEndpointConnections/PrivateEndpointConnectionsList.json @@ -49,12 +49,11 @@ public async Task GetAll_PrivateEndpointConnectionsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NameSpacePrivateEndPointConnectionCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NameSpacePrivateEndPointConnectionCreate() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/PrivateEndpointConnections/PrivateEndpointConnectionsCreate.json @@ -97,9 +96,8 @@ public async Task CreateOrUpdate_NameSpacePrivateEndPointConnectionCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpacePrivateEndPointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NameSpacePrivateEndPointConnectionGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/PrivateEndpointConnections/PrivateEndpointConnectionsGet.json @@ -132,9 +130,8 @@ public async Task Get_NameSpacePrivateEndPointConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpacePrivateEndPointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NameSpacePrivateEndPointConnectionGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/PrivateEndpointConnections/PrivateEndpointConnectionsGet.json @@ -163,9 +160,8 @@ public async Task Exists_NameSpacePrivateEndPointConnectionGet() Console.WriteLine($"Succeeded: {result}"); } - // NameSpacePrivateEndPointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NameSpacePrivateEndPointConnectionGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/PrivateEndpointConnections/PrivateEndpointConnectionsGet.json @@ -194,7 +190,7 @@ public async Task GetIfExists_NameSpacePrivateEndPointConnectionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayPrivateEndpointConnectionResource.cs b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayPrivateEndpointConnectionResource.cs index 13bbba4177a9a..33fd1dae41f9c 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayPrivateEndpointConnectionResource.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Relay.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Relay.Samples { public partial class Sample_RelayPrivateEndpointConnectionResource { - // NameSpacePrivateEndPointConnectionCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NameSpacePrivateEndPointConnectionCreate() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/PrivateEndpointConnections/PrivateEndpointConnectionsCreate.json @@ -57,9 +57,8 @@ public async Task Update_NameSpacePrivateEndPointConnectionCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpacePrivateEndPointConnectionDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NameSpacePrivateEndPointConnectionDelete() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/PrivateEndpointConnections/PrivateEndpointConnectionsDelete.json @@ -82,12 +81,11 @@ public async Task Delete_NameSpacePrivateEndPointConnectionDelete() // invoke the operation await relayPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NameSpacePrivateEndPointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NameSpacePrivateEndPointConnectionGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/PrivateEndpointConnections/PrivateEndpointConnectionsGet.json diff --git a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayPrivateLinkResource.cs b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayPrivateLinkResource.cs index d5c23b0ad561c..9897712ede870 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayPrivateLinkResource.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Relay.Samples { public partial class Sample_RelayPrivateLinkResource { - // NameSpacePrivateEndPointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NameSpacePrivateEndPointConnectionGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/PrivateEndpointConnections/PrivateLinkResourcesGet.json diff --git a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayPrivateLinkResourceCollection.cs b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayPrivateLinkResourceCollection.cs index 661ea7e98decc..8fa12ddeae49f 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayPrivateLinkResourceCollection.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_RelayPrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Relay.Samples { public partial class Sample_RelayPrivateLinkResourceCollection { - // NameSpacePrivateEndPointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NameSpacePrivateEndPointConnectionGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/PrivateEndpointConnections/PrivateLinkResourcesGet.json @@ -49,9 +49,8 @@ public async Task Get_NameSpacePrivateEndPointConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpacePrivateEndPointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NameSpacePrivateEndPointConnectionGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/PrivateEndpointConnections/PrivateLinkResourcesGet.json @@ -80,9 +79,8 @@ public async Task Exists_NameSpacePrivateEndPointConnectionGet() Console.WriteLine($"Succeeded: {result}"); } - // NameSpacePrivateEndPointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NameSpacePrivateEndPointConnectionGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/PrivateEndpointConnections/PrivateLinkResourcesGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_NameSpacePrivateEndPointConnectionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_NameSpacePrivateEndPointConnectionGet() } } - // NameSpacePrivateLinkResourcesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NameSpacePrivateLinkResourcesGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/PrivateEndpointConnections/PrivateLinkResourcesList.json @@ -157,7 +154,7 @@ public async Task GetAll_NameSpacePrivateLinkResourcesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_WcfRelayAuthorizationRuleCollection.cs b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_WcfRelayAuthorizationRuleCollection.cs index 8e937696c23d2..099a25c320ec7 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_WcfRelayAuthorizationRuleCollection.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_WcfRelayAuthorizationRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Relay.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Relay.Samples { public partial class Sample_WcfRelayAuthorizationRuleCollection { - // RelayAuthorizationRuleListAll - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RelayAuthorizationRuleListAll() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/Relay/RelayAuthorizationRuleListAll.json @@ -50,12 +50,11 @@ public async Task GetAll_RelayAuthorizationRuleListAll() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RelayAuthorizationRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RelayAuthorizationRuleCreate() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/Relay/RelayAuthorizationRuleCreate.json @@ -97,9 +96,8 @@ public async Task CreateOrUpdate_RelayAuthorizationRuleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RelayAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RelayAuthorizationRuleGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/Relay/RelayAuthorizationRuleGet.json @@ -133,9 +131,8 @@ public async Task Get_RelayAuthorizationRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RelayAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RelayAuthorizationRuleGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/Relay/RelayAuthorizationRuleGet.json @@ -165,9 +162,8 @@ public async Task Exists_RelayAuthorizationRuleGet() Console.WriteLine($"Succeeded: {result}"); } - // RelayAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RelayAuthorizationRuleGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/Relay/RelayAuthorizationRuleGet.json @@ -197,7 +193,7 @@ public async Task GetIfExists_RelayAuthorizationRuleGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_WcfRelayAuthorizationRuleResource.cs b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_WcfRelayAuthorizationRuleResource.cs index 2ef4094353157..f60115d653a87 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_WcfRelayAuthorizationRuleResource.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_WcfRelayAuthorizationRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Relay.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Relay.Samples { public partial class Sample_WcfRelayAuthorizationRuleResource { - // RelayAuthorizationRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RelayAuthorizationRuleCreate() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/Relay/RelayAuthorizationRuleCreate.json @@ -56,9 +56,8 @@ public async Task Update_RelayAuthorizationRuleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RelayAuthorizationRuleDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RelayAuthorizationRuleDelete() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/Relay/RelayAuthorizationRuleDelete.json @@ -82,12 +81,11 @@ public async Task Delete_RelayAuthorizationRuleDelete() // invoke the operation await wcfRelayAuthorizationRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RelayAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RelayAuthorizationRuleGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/Relay/RelayAuthorizationRuleGet.json @@ -118,9 +116,8 @@ public async Task Get_RelayAuthorizationRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RelayAuthorizationRuleListKey.json - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_RelayAuthorizationRuleListKeyJson() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/Relay/RelayAuthorizationRuleListKey.json @@ -147,9 +144,8 @@ public async Task GetKeys_RelayAuthorizationRuleListKeyJson() Console.WriteLine($"Succeeded: {result}"); } - // RelayAuthorizationRuleRegenerateKey.json - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKeys_RelayAuthorizationRuleRegenerateKeyJson() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/Relay/RelayAuthorizationRuleRegenerateKey.json diff --git a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_WcfRelayCollection.cs b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_WcfRelayCollection.cs index 68deea035f3d7..28000280156aa 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_WcfRelayCollection.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_WcfRelayCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Relay.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Relay.Samples { public partial class Sample_WcfRelayCollection { - // RelayListAll - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RelayListAll() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/Relay/RelayListAll.json @@ -49,12 +49,11 @@ public async Task GetAll_RelayListAll() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RelayCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RelayCreate() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/Relay/RelayCreate.json @@ -94,9 +93,8 @@ public async Task CreateOrUpdate_RelayCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RelayGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RelayGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/Relay/RelayGet.json @@ -129,9 +127,8 @@ public async Task Get_RelayGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RelayGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RelayGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/Relay/RelayGet.json @@ -160,9 +157,8 @@ public async Task Exists_RelayGet() Console.WriteLine($"Succeeded: {result}"); } - // RelayGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RelayGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/Relay/RelayGet.json @@ -191,7 +187,7 @@ public async Task GetIfExists_RelayGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_WcfRelayResource.cs b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_WcfRelayResource.cs index cbf4d013d8aa8..0c7768ad0ff87 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_WcfRelayResource.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/samples/Generated/Samples/Sample_WcfRelayResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Relay.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Relay.Samples { public partial class Sample_WcfRelayResource { - // RelayCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RelayCreate() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/Relay/RelayCreate.json @@ -54,9 +54,8 @@ public async Task Update_RelayCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RelayDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RelayDelete() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/Relay/RelayDelete.json @@ -79,12 +78,11 @@ public async Task Delete_RelayDelete() // invoke the operation await wcfRelay.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RelayGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RelayGet() { // Generated from example definition: specification/relay/resource-manager/Microsoft.Relay/stable/2021-11-01/examples/Relay/RelayGet.json diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_QuotaRequestDetailCollection.cs b/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_QuotaRequestDetailCollection.cs index 2293208998fa0..d6af6be229bf6 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_QuotaRequestDetailCollection.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_QuotaRequestDetailCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Reservations.Samples { public partial class Sample_QuotaRequestDetailCollection { - // QuotaRequestFailed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotaRequestFailed() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusFailed.json @@ -50,9 +50,8 @@ public async Task Get_QuotaRequestFailed() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QuotaRequestFailed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_QuotaRequestFailed() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusFailed.json @@ -81,9 +80,8 @@ public async Task Exists_QuotaRequestFailed() Console.WriteLine($"Succeeded: {result}"); } - // QuotaRequestFailed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_QuotaRequestFailed() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusFailed.json @@ -112,7 +110,7 @@ public async Task GetIfExists_QuotaRequestFailed() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_QuotaRequestFailed() } } - // QuotaRequestInProgress - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotaRequestInProgress() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusInProgress.json @@ -159,9 +156,8 @@ public async Task Get_QuotaRequestInProgress() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QuotaRequestInProgress - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_QuotaRequestInProgress() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusInProgress.json @@ -190,9 +186,8 @@ public async Task Exists_QuotaRequestInProgress() Console.WriteLine($"Succeeded: {result}"); } - // QuotaRequestInProgress - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_QuotaRequestInProgress() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusInProgress.json @@ -221,7 +216,7 @@ public async Task GetIfExists_QuotaRequestInProgress() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -233,9 +228,8 @@ public async Task GetIfExists_QuotaRequestInProgress() } } - // QuotaRequestStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotaRequestStatus() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusById.json @@ -268,9 +262,8 @@ public async Task Get_QuotaRequestStatus() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QuotaRequestStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_QuotaRequestStatus() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusById.json @@ -299,9 +292,8 @@ public async Task Exists_QuotaRequestStatus() Console.WriteLine($"Succeeded: {result}"); } - // QuotaRequestStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_QuotaRequestStatus() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusById.json @@ -330,7 +322,7 @@ public async Task GetIfExists_QuotaRequestStatus() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -342,9 +334,8 @@ public async Task GetIfExists_QuotaRequestStatus() } } - // QuotaRequestHistory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_QuotaRequestHistory() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestsHistory.json @@ -376,7 +367,7 @@ public async Task GetAll_QuotaRequestHistory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_QuotaRequestDetailResource.cs b/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_QuotaRequestDetailResource.cs index 8c345cdd4dd8d..85d238dd6de0d 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_QuotaRequestDetailResource.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_QuotaRequestDetailResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Reservations.Samples { public partial class Sample_QuotaRequestDetailResource { - // QuotaRequestFailed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotaRequestFailed() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusFailed.json @@ -46,9 +46,8 @@ public async Task Get_QuotaRequestFailed() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QuotaRequestInProgress - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotaRequestInProgress() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusInProgress.json @@ -78,9 +77,8 @@ public async Task Get_QuotaRequestInProgress() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QuotaRequestStatus - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotaRequestStatus() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getQuotaRequestStatusById.json diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_ReservationDetailCollection.cs b/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_ReservationDetailCollection.cs index 895cf8a7082ac..ce91f6d948418 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_ReservationDetailCollection.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_ReservationDetailCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Reservations.Samples { public partial class Sample_ReservationDetailCollection { - // ReservationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ReservationList() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/GetReservationsFromOrder.json @@ -46,12 +46,11 @@ public async Task GetAll_ReservationList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetReservation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetReservation() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/GetReservationDetails.json @@ -83,9 +82,8 @@ public async Task Get_GetReservation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetReservation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetReservation() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/GetReservationDetails.json @@ -113,9 +111,8 @@ public async Task Exists_GetReservation() Console.WriteLine($"Succeeded: {result}"); } - // GetReservation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetReservation() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/GetReservationDetails.json @@ -143,7 +140,7 @@ public async Task GetIfExists_GetReservation() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -155,9 +152,8 @@ public async Task GetIfExists_GetReservation() } } - // ReservationRevisions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRevisions_ReservationRevisions() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/GetReservationRevisions.json @@ -188,7 +184,7 @@ public async Task GetRevisions_ReservationRevisions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_ReservationDetailResource.cs b/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_ReservationDetailResource.cs index 1fdb454326335..2f7d275a50800 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_ReservationDetailResource.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_ReservationDetailResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Reservations.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Reservations.Samples { public partial class Sample_ReservationDetailResource { - // AvailableScopes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableScopes_AvailableScopes() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/GetAvailableScope.json @@ -49,9 +49,8 @@ public async Task GetAvailableScopes_AvailableScopes() Console.WriteLine($"Succeeded: {result}"); } - // GetReservation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetReservation() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/GetReservationDetails.json @@ -80,9 +79,8 @@ public async Task Get_GetReservation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PatchReservation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchReservation() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/UpdateReservation.json @@ -116,9 +114,8 @@ public async Task Update_PatchReservation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Archive - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Archive_Archive() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/Archive.json @@ -139,12 +136,11 @@ public async Task Archive_Archive() // invoke the operation await reservationDetail.ArchiveAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Unarchive - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Unarchive_Unarchive() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/Unarchive.json @@ -165,12 +161,11 @@ public async Task Unarchive_Unarchive() // invoke the operation await reservationDetail.UnarchiveAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ReservationListAll - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReservationDetails_ReservationListAll() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/GetReservations.json @@ -196,7 +191,7 @@ public async Task GetReservationDetails_ReservationListAll() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_ReservationOrderCollection.cs b/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_ReservationOrderCollection.cs index 504ae0b6084aa..91b8823e01717 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_ReservationOrderCollection.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_ReservationOrderCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Reservations.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Reservations.Samples { public partial class Sample_ReservationOrderCollection { - // ReservationOrderList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ReservationOrderList() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/GetReservationOrders.json @@ -45,12 +45,11 @@ public async Task GetAll_ReservationOrderList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Purchase - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_Purchase() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/PurchaseReservationOrder.json @@ -97,9 +96,8 @@ public async Task CreateOrUpdate_Purchase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetReservationOrder - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetReservationOrder() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/GetReservationOrderDetails.json @@ -128,9 +126,8 @@ public async Task Get_GetReservationOrder() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetReservationOrder - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetReservationOrder() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/GetReservationOrderDetails.json @@ -155,9 +152,8 @@ public async Task Exists_GetReservationOrder() Console.WriteLine($"Succeeded: {result}"); } - // GetReservationOrder - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetReservationOrder() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/GetReservationOrderDetails.json @@ -182,7 +178,7 @@ public async Task GetIfExists_GetReservationOrder() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -194,9 +190,8 @@ public async Task GetIfExists_GetReservationOrder() } } - // GetReservationWithExpandPayments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetReservationWithExpandPayments() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/GetReservationOrderDetailsWithExpandPlanInformation.json @@ -226,9 +221,8 @@ public async Task Get_GetReservationWithExpandPayments() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetReservationWithExpandPayments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetReservationWithExpandPayments() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/GetReservationOrderDetailsWithExpandPlanInformation.json @@ -254,9 +248,8 @@ public async Task Exists_GetReservationWithExpandPayments() Console.WriteLine($"Succeeded: {result}"); } - // GetReservationWithExpandPayments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetReservationWithExpandPayments() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/GetReservationOrderDetailsWithExpandPlanInformation.json @@ -282,7 +275,7 @@ public async Task GetIfExists_GetReservationWithExpandPayments() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_ReservationOrderResource.cs b/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_ReservationOrderResource.cs index 32a8dc4c092cc..b90eda4262e77 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_ReservationOrderResource.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_ReservationOrderResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Reservations.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Reservations.Samples { public partial class Sample_ReservationOrderResource { - // Split - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task SplitReservation_Split() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/SplitReservation.json @@ -50,9 +50,8 @@ public async Task SplitReservation_Split() Console.WriteLine($"Succeeded: {result}"); } - // Merge - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task MergeReservation_Merge() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/MergeReservations.json @@ -83,9 +82,8 @@ public async Task MergeReservation_Merge() Console.WriteLine($"Succeeded: {result}"); } - // CalculatePrice - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CalculateReservationOrder_CalculatePrice() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/CalculateReservationOrder.json @@ -122,9 +120,8 @@ public async Task CalculateReservationOrder_CalculatePrice() Console.WriteLine($"Succeeded: {result}"); } - // Purchase - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_Purchase() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/PurchaseReservationOrder.json @@ -169,9 +166,8 @@ public async Task Update_Purchase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetReservationOrder - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetReservationOrder() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/GetReservationOrderDetails.json @@ -198,9 +194,8 @@ public async Task Get_GetReservationOrder() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetReservationWithExpandPayments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetReservationWithExpandPayments() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/GetReservationOrderDetailsWithExpandPlanInformation.json @@ -228,9 +223,8 @@ public async Task Get_GetReservationWithExpandPayments() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ChangeDirectory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ChangeDirectory_ChangeDirectory() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/ChangeDirectoryReservationOrder.json @@ -257,9 +251,8 @@ public async Task ChangeDirectory_ChangeDirectory() Console.WriteLine($"Succeeded: {result}"); } - // CalculateRefund - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CalculateRefund_CalculateRefund() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/CalculateRefund.json @@ -295,9 +288,8 @@ public async Task CalculateRefund_CalculateRefund() Console.WriteLine($"Succeeded: {result}"); } - // Return a reservation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Return_ReturnAReservation() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/Return.json diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_ReservationQuotaCollection.cs b/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_ReservationQuotaCollection.cs index 27f23721a14a6..3860059b4177c 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_ReservationQuotaCollection.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_ReservationQuotaCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Reservations.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Reservations.Samples { public partial class Sample_ReservationQuotaCollection { - // Quotas_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotasRequestForCompute() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeOneSkuUsages.json @@ -51,9 +51,8 @@ public async Task Get_QuotasRequestForCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Quotas_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_QuotasRequestForCompute() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeOneSkuUsages.json @@ -82,9 +81,8 @@ public async Task Exists_QuotasRequestForCompute() Console.WriteLine($"Succeeded: {result}"); } - // Quotas_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_QuotasRequestForCompute() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeOneSkuUsages.json @@ -113,7 +111,7 @@ public async Task GetIfExists_QuotasRequestForCompute() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -125,9 +123,8 @@ public async Task GetIfExists_QuotasRequestForCompute() } } - // Quotas_Request_PutForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_QuotasRequestPutForCompute() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putComputeOneSkuQuotaRequest.json @@ -173,9 +170,8 @@ public async Task CreateOrUpdate_QuotasRequestPutForCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Quotas_Request_PutForMachineLearningServices_DedicatedResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_QuotasRequestPutForMachineLearningServicesDedicatedResource() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestDedicated.json @@ -222,9 +218,8 @@ public async Task CreateOrUpdate_QuotasRequestPutForMachineLearningServicesDedic Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Quotas_Request_PutForMachineLearningServices_LowPriorityResource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_QuotasRequestPutForMachineLearningServicesLowPriorityResource() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/putMachineLearningServicesQuotaRequestLowPriority.json @@ -271,9 +266,8 @@ public async Task CreateOrUpdate_QuotasRequestPutForMachineLearningServicesLowPr Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Quotas_listUsagesForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_QuotasListUsagesForCompute() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeUsages.json @@ -305,12 +299,11 @@ public async Task GetAll_QuotasListUsagesForCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Quotas_listUsagesMachineLearningServices - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_QuotasListUsagesMachineLearningServices() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getMachineLearningServicesUsages.json @@ -342,7 +335,7 @@ public async Task GetAll_QuotasListUsagesMachineLearningServices() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_ReservationQuotaResource.cs b/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_ReservationQuotaResource.cs index dca5f907d1278..d9b19c669f913 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_ReservationQuotaResource.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_ReservationQuotaResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Reservations.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Reservations.Samples { public partial class Sample_ReservationQuotaResource { - // Quotas_Request_ForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QuotasRequestForCompute() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/getComputeOneSkuUsages.json @@ -47,9 +47,8 @@ public async Task Get_QuotasRequestForCompute() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Quotas_Request_PatchForCompute - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_QuotasRequestPatchForCompute() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2020-10-25/examples/patchComputeQuotaRequest.json diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 669a7b6b43e08..a2f4ed60b1674 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Reservations.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Reservations.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Catalog - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCatalog_Catalog() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/GetCatalog.json @@ -42,12 +42,11 @@ public async Task GetCatalog_Catalog() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AppliedReservationList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAppliedReservations_AppliedReservationList() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/GetAppliedReservations.json diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_TenantResourceExtensions.cs b/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_TenantResourceExtensions.cs index 8a4d3f7cff337..2dcf818dc57ad 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_TenantResourceExtensions.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/samples/Generated/Samples/Sample_TenantResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Reservations.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Reservations.Samples { public partial class Sample_TenantResourceExtensions { - // CalculateExchange - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CalculateReservationExchange_CalculateExchange() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/CalculateExchange.json @@ -94,9 +94,8 @@ public async Task CalculateReservationExchange_CalculateExchange() Console.WriteLine($"Succeeded: {result}"); } - // Exchange - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exchange_Exchange() { // Generated from example definition: specification/reservations/resource-manager/Microsoft.Capacity/stable/2022-11-01/examples/Exchange.json diff --git a/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/samples/Generated/Samples/Sample_ResourceConnectorApplianceCollection.cs b/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/samples/Generated/Samples/Sample_ResourceConnectorApplianceCollection.cs index 1dc040726a9b8..433f2325558a1 100644 --- a/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/samples/Generated/Samples/Sample_ResourceConnectorApplianceCollection.cs +++ b/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/samples/Generated/Samples/Sample_ResourceConnectorApplianceCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ResourceConnector.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ResourceConnector.Samples { public partial class Sample_ResourceConnectorApplianceCollection { - // List Appliances by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAppliancesByResourceGroup() { // Generated from example definition: specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/AppliancesListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAppliancesByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Appliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppliance() { // Generated from example definition: specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/AppliancesGet.json @@ -86,9 +85,8 @@ public async Task Get_GetAppliance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Appliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAppliance() { // Generated from example definition: specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/AppliancesGet.json @@ -116,9 +114,8 @@ public async Task Exists_GetAppliance() Console.WriteLine($"Succeeded: {result}"); } - // Get Appliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAppliance() { // Generated from example definition: specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/AppliancesGet.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetAppliance() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetAppliance() } } - // Create/Update Appliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateUpdateAppliance() { // Generated from example definition: specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/AppliancesCreate_Update.json diff --git a/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/samples/Generated/Samples/Sample_ResourceConnectorApplianceResource.cs b/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/samples/Generated/Samples/Sample_ResourceConnectorApplianceResource.cs index d08beee1ab0ef..2ab3d7e9c5e84 100644 --- a/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/samples/Generated/Samples/Sample_ResourceConnectorApplianceResource.cs +++ b/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/samples/Generated/Samples/Sample_ResourceConnectorApplianceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ResourceConnector.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ResourceConnector.Samples { public partial class Sample_ResourceConnectorApplianceResource { - // List Appliances by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResourceConnectorAppliances_ListAppliancesBySubscription() { // Generated from example definition: specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/AppliancesListBySubscription.json @@ -45,12 +45,11 @@ public async Task GetResourceConnectorAppliances_ListAppliancesBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetTelemetryConfig Appliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTelemetryConfigAppliance_GetTelemetryConfigAppliance() { // Generated from example definition: specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/TelemetryConfig.json @@ -73,9 +72,8 @@ public async Task GetTelemetryConfigAppliance_GetTelemetryConfigAppliance() Console.WriteLine($"Succeeded: {result}"); } - // Get Appliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAppliance() { // Generated from example definition: specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/AppliancesGet.json @@ -104,9 +102,8 @@ public async Task Get_GetAppliance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Appliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAppliance() { // Generated from example definition: specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/AppliancesDelete.json @@ -128,12 +125,11 @@ public async Task Delete_DeleteAppliance() // invoke the operation await resourceConnectorAppliance.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update Appliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAppliance() { // Generated from example definition: specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/AppliancesPatch.json @@ -169,9 +165,8 @@ public async Task Update_UpdateAppliance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ListClusterUserCredentialAppliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetClusterUserCredential_ListClusterUserCredentialAppliance() { // Generated from example definition: specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/AppliancesListClusterUserCredential.json @@ -196,9 +191,8 @@ public async Task GetClusterUserCredential_ListClusterUserCredentialAppliance() Console.WriteLine($"Succeeded: {result}"); } - // ListKeys Appliance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_ListKeysAppliance() { // Generated from example definition: specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/AppliancesListKeys.json @@ -223,9 +217,8 @@ public async Task GetKeys_ListKeysAppliance() Console.WriteLine($"Succeeded: {result}"); } - // Get Appliance Upgrade Graph - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUpgradeGraph_GetApplianceUpgradeGraph() { // Generated from example definition: specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/stable/2022-10-27/examples/UpgradeGraph.json diff --git a/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/samples/Generated/Samples/Sample_TenantResourceExtensions.cs b/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/samples/Generated/Samples/Sample_TenantResourceExtensions.cs index fd8dc68503993..b7c0dbe67995b 100644 --- a/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/samples/Generated/Samples/Sample_TenantResourceExtensions.cs +++ b/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/samples/Generated/Samples/Sample_TenantResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ResourceGraph.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ResourceGraph.Samples { public partial class Sample_TenantResourceExtensions { - // Access a properties field - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResources_AccessAPropertiesField() { // Generated from example definition: specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2021-06-01-preview/examples/ResourcesPropertiesQuery.json @@ -45,9 +45,8 @@ public async Task GetResources_AccessAPropertiesField() Console.WriteLine($"Succeeded: {result}"); } - // Basic management group query - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResources_BasicManagementGroupQuery() { // Generated from example definition: specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2021-06-01-preview/examples/ResourcesMgBasicQuery.json @@ -75,9 +74,8 @@ public async Task GetResources_BasicManagementGroupQuery() Console.WriteLine($"Succeeded: {result}"); } - // Basic query - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResources_BasicQuery() { // Generated from example definition: specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2021-06-01-preview/examples/ResourcesBasicQuery.json @@ -105,9 +103,8 @@ public async Task GetResources_BasicQuery() Console.WriteLine($"Succeeded: {result}"); } - // Basic tenant query - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResources_BasicTenantQuery() { // Generated from example definition: specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2021-06-01-preview/examples/ResourcesTenantBasicQuery.json @@ -129,9 +126,8 @@ public async Task GetResources_BasicTenantQuery() Console.WriteLine($"Succeeded: {result}"); } - // Complex query - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResources_ComplexQuery() { // Generated from example definition: specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2021-06-01-preview/examples/ResourcesComplexQuery.json @@ -159,9 +155,8 @@ public async Task GetResources_ComplexQuery() Console.WriteLine($"Succeeded: {result}"); } - // Filter resources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResources_FilterResources() { // Generated from example definition: specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2021-06-01-preview/examples/ResourcesFilterQuery.json @@ -189,9 +184,8 @@ public async Task GetResources_FilterResources() Console.WriteLine($"Succeeded: {result}"); } - // First page query - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResources_FirstPageQuery() { // Generated from example definition: specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2021-06-01-preview/examples/ResourcesFirstPageQuery.json @@ -224,9 +218,8 @@ public async Task GetResources_FirstPageQuery() Console.WriteLine($"Succeeded: {result}"); } - // Next page query - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResources_NextPageQuery() { // Generated from example definition: specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2021-06-01-preview/examples/ResourcesNextPageQuery.json @@ -258,9 +251,8 @@ public async Task GetResources_NextPageQuery() Console.WriteLine($"Succeeded: {result}"); } - // Query with a facet request - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResources_QueryWithAFacetRequest() { // Generated from example definition: specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2021-06-01-preview/examples/ResourcesFacetQuery.json @@ -328,9 +320,8 @@ public async Task GetResources_QueryWithAFacetRequest() Console.WriteLine($"Succeeded: {result}"); } - // Random page query - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResources_RandomPageQuery() { // Generated from example definition: specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2021-06-01-preview/examples/ResourcesRandomPageQuery.json @@ -363,9 +354,8 @@ public async Task GetResources_RandomPageQuery() Console.WriteLine($"Succeeded: {result}"); } - // Summarize resources by location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResources_SummarizeResourcesByLocation() { // Generated from example definition: specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2021-06-01-preview/examples/ResourcesSummarizeQuery.json @@ -393,9 +383,8 @@ public async Task GetResources_SummarizeResourcesByLocation() Console.WriteLine($"Succeeded: {result}"); } - // Resource History Management Group scope Query - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResourceHistory_ResourceHistoryManagementGroupScopeQuery() { // Generated from example definition: specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2021-06-01-preview/examples/ResourcesHistoryMgsGet.json @@ -428,9 +417,8 @@ public async Task GetResourceHistory_ResourceHistoryManagementGroupScopeQuery() Console.WriteLine($"Succeeded: {result}"); } - // Resource History Query - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetResourceHistory_ResourceHistoryQuery() { // Generated from example definition: specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2021-06-01-preview/examples/ResourcesHistoryGet.json diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs index f38fe2abe3aad..8518004111a31 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ResourceHealth.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ResourceHealth.Samples { public partial class Sample_ResourceGroupResourceExtensions { - // ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailabilityStatusesByResourceGroup_ListByResourceGroup() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/AvailabilityStatuses_ListByResourceGroup.json @@ -43,7 +43,7 @@ public async Task GetAvailabilityStatusesByResourceGroup_ListByResourceGroup() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceHealthEventCollection.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceHealthEventCollection.cs index c0f80cc22f6b8..55035c7a2c586 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceHealthEventCollection.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceHealthEventCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ResourceHealth.Samples { public partial class Sample_ResourceHealthEventCollection { - // ListEventsBySubscriptionId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListEventsBySubscriptionId() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/Events_ListBySubscriptionId.json @@ -49,12 +49,11 @@ public async Task GetAll_ListEventsBySubscriptionId() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SecurityAdvisoriesEventBySubscriptionIdAndTrackingId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SecurityAdvisoriesEventBySubscriptionIdAndTrackingId() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/Event_GetBySubscriptionIdAndTrackingId.json @@ -87,9 +86,8 @@ public async Task Get_SecurityAdvisoriesEventBySubscriptionIdAndTrackingId() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SecurityAdvisoriesEventBySubscriptionIdAndTrackingId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SecurityAdvisoriesEventBySubscriptionIdAndTrackingId() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/Event_GetBySubscriptionIdAndTrackingId.json @@ -118,9 +116,8 @@ public async Task Exists_SecurityAdvisoriesEventBySubscriptionIdAndTrackingId() Console.WriteLine($"Succeeded: {result}"); } - // SecurityAdvisoriesEventBySubscriptionIdAndTrackingId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SecurityAdvisoriesEventBySubscriptionIdAndTrackingId() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/Event_GetBySubscriptionIdAndTrackingId.json @@ -149,7 +146,7 @@ public async Task GetIfExists_SecurityAdvisoriesEventBySubscriptionIdAndTracking if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceHealthEventImpactedResource.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceHealthEventImpactedResource.cs index a06c3f0eed7d4..d5229c900da57 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceHealthEventImpactedResource.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceHealthEventImpactedResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ResourceHealth.Samples { public partial class Sample_ResourceHealthEventImpactedResource { - // ImpactedResourcesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ImpactedResourcesGet() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/ImpactedResources_Get.json diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceHealthEventImpactedResourceCollection.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceHealthEventImpactedResourceCollection.cs index daa395fd81f16..f2a82debe9c94 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceHealthEventImpactedResourceCollection.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceHealthEventImpactedResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ResourceHealth.Samples { public partial class Sample_ResourceHealthEventImpactedResourceCollection { - // ListImpactedResourcesBySubscriptionId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListImpactedResourcesBySubscriptionId() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/ImpactedResources_ListBySubscriptionId_ListByEventId.json @@ -48,12 +48,11 @@ public async Task GetAll_ListImpactedResourcesBySubscriptionId() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ImpactedResourcesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ImpactedResourcesGet() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/ImpactedResources_Get.json @@ -85,9 +84,8 @@ public async Task Get_ImpactedResourcesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ImpactedResourcesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ImpactedResourcesGet() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/ImpactedResources_Get.json @@ -115,9 +113,8 @@ public async Task Exists_ImpactedResourcesGet() Console.WriteLine($"Succeeded: {result}"); } - // ImpactedResourcesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ImpactedResourcesGet() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/ImpactedResources_Get.json @@ -145,7 +142,7 @@ public async Task GetIfExists_ImpactedResourcesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceHealthEventResource.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceHealthEventResource.cs index 5f777e318a86f..3fe84ad8f375f 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceHealthEventResource.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceHealthEventResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ResourceHealth.Samples { public partial class Sample_ResourceHealthEventResource { - // ListSecurityAdvisoryImpactedResourcesBySubscriptionId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecurityAdvisoryImpactedResourcesBySubscriptionIdAndEventId_ListSecurityAdvisoryImpactedResourcesBySubscriptionId() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/SecurityAdvisoryImpactedResources_ListBySubscriptionId_ListByEventId.json @@ -41,12 +41,11 @@ public async Task GetSecurityAdvisoryImpactedResourcesBySubscriptionIdAndEventId Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SecurityAdvisoriesEventBySubscriptionIdAndTrackingId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SecurityAdvisoriesEventBySubscriptionIdAndTrackingId() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/Event_GetBySubscriptionIdAndTrackingId.json @@ -76,9 +75,8 @@ public async Task Get_SecurityAdvisoriesEventBySubscriptionIdAndTrackingId() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventDetailsBySubscriptionIdAndTrackingId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task FetchDetailsBySubscriptionIdAndTrackingId_EventDetailsBySubscriptionIdAndTrackingId() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/Event_fetchDetailsBySubscriptionIdAndTrackingId.json diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceHealthMetadataEntityCollection.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceHealthMetadataEntityCollection.cs index 729eded558b03..4487a48ca98f4 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceHealthMetadataEntityCollection.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceHealthMetadataEntityCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ResourceHealth.Samples { public partial class Sample_ResourceHealthMetadataEntityCollection { - // GetMetadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetMetadata() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/Metadata_List.json @@ -44,12 +44,11 @@ public async Task GetAll_GetMetadata() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetMetadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMetadata() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/Metadata_GetEntity.json @@ -78,9 +77,8 @@ public async Task Get_GetMetadata() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetMetadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetMetadata() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/Metadata_GetEntity.json @@ -105,9 +103,8 @@ public async Task Exists_GetMetadata() Console.WriteLine($"Succeeded: {result}"); } - // GetMetadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetMetadata() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/Metadata_GetEntity.json @@ -132,7 +129,7 @@ public async Task GetIfExists_GetMetadata() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceHealthMetadataEntityResource.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceHealthMetadataEntityResource.cs index 112e629100957..02858b35beae0 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceHealthMetadataEntityResource.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ResourceHealthMetadataEntityResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ResourceHealth.Samples { public partial class Sample_ResourceHealthMetadataEntityResource { - // GetMetadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetMetadata() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/Metadata_GetEntity.json diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ServiceEmergingIssueCollection.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ServiceEmergingIssueCollection.cs index bd4817cfd68c7..8bd79b63cc5da 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ServiceEmergingIssueCollection.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ServiceEmergingIssueCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ResourceHealth.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ResourceHealth.Samples { public partial class Sample_ServiceEmergingIssueCollection { - // GetEmergingIssues - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetEmergingIssues() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/EmergingIssues_List.json @@ -45,12 +45,11 @@ public async Task GetAll_GetEmergingIssues() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetEmergingIssues - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetEmergingIssues() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/EmergingIssues_Get.json @@ -79,9 +78,8 @@ public async Task Get_GetEmergingIssues() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetEmergingIssues - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetEmergingIssues() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/EmergingIssues_Get.json @@ -106,9 +104,8 @@ public async Task Exists_GetEmergingIssues() Console.WriteLine($"Succeeded: {result}"); } - // GetEmergingIssues - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetEmergingIssues() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/EmergingIssues_Get.json @@ -133,7 +130,7 @@ public async Task GetIfExists_GetEmergingIssues() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ServiceEmergingIssueResource.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ServiceEmergingIssueResource.cs index f67eec95fac59..526e1d59ea0de 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ServiceEmergingIssueResource.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_ServiceEmergingIssueResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ResourceHealth.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ResourceHealth.Samples { public partial class Sample_ServiceEmergingIssueResource { - // GetEmergingIssues - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetEmergingIssues() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/EmergingIssues_Get.json diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 74ba809a06fa1..755e55d0da02d 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ResourceHealth.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ResourceHealth.Samples { public partial class Sample_SubscriptionResourceExtensions { - // ListHealthBySubscriptionId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailabilityStatusesBySubscription_ListHealthBySubscriptionId() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/AvailabilityStatuses_ListBySubscriptionId.json @@ -42,7 +42,7 @@ public async Task GetAvailabilityStatusesBySubscription_ListHealthBySubscription Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_TenantResourceHealthEventCollection.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_TenantResourceHealthEventCollection.cs index e027d1b2fcd4d..3a69b32994a39 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_TenantResourceHealthEventCollection.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_TenantResourceHealthEventCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ResourceHealth.Samples { public partial class Sample_TenantResourceHealthEventCollection { - // ListEventsByTenantId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListEventsByTenantId() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/Events_ListByTenantId.json @@ -46,12 +46,11 @@ public async Task GetAll_ListEventsByTenantId() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // EventByTenantIdAndTrackingId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventByTenantIdAndTrackingId() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/Event_GetByTenantIdAndTrackingId.json @@ -82,9 +81,8 @@ public async Task Get_EventByTenantIdAndTrackingId() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventByTenantIdAndTrackingId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_EventByTenantIdAndTrackingId() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/Event_GetByTenantIdAndTrackingId.json @@ -111,9 +109,8 @@ public async Task Exists_EventByTenantIdAndTrackingId() Console.WriteLine($"Succeeded: {result}"); } - // EventByTenantIdAndTrackingId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_EventByTenantIdAndTrackingId() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/Event_GetByTenantIdAndTrackingId.json @@ -140,7 +137,7 @@ public async Task GetIfExists_EventByTenantIdAndTrackingId() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_TenantResourceHealthEventImpactedResource.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_TenantResourceHealthEventImpactedResource.cs index 2d78ce4e04ebf..39e0326657c72 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_TenantResourceHealthEventImpactedResource.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_TenantResourceHealthEventImpactedResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ResourceHealth.Samples { public partial class Sample_TenantResourceHealthEventImpactedResource { - // ImpactedResourcesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ImpactedResourcesGet() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/ImpactedResources_GetByTenantId.json diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_TenantResourceHealthEventImpactedResourceCollection.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_TenantResourceHealthEventImpactedResourceCollection.cs index 18b7b5b8c5b1e..f2fa5621ef46f 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_TenantResourceHealthEventImpactedResourceCollection.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_TenantResourceHealthEventImpactedResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ResourceHealth.Samples { public partial class Sample_TenantResourceHealthEventImpactedResourceCollection { - // ListEventsByTenantId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListEventsByTenantId() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/ImpactedResources_ListByTenantId_ListByEventId.json @@ -47,12 +47,11 @@ public async Task GetAll_ListEventsByTenantId() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ImpactedResourcesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ImpactedResourcesGet() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/ImpactedResources_GetByTenantId.json @@ -83,9 +82,8 @@ public async Task Get_ImpactedResourcesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ImpactedResourcesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ImpactedResourcesGet() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/ImpactedResources_GetByTenantId.json @@ -112,9 +110,8 @@ public async Task Exists_ImpactedResourcesGet() Console.WriteLine($"Succeeded: {result}"); } - // ImpactedResourcesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ImpactedResourcesGet() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/ImpactedResources_GetByTenantId.json @@ -141,7 +138,7 @@ public async Task GetIfExists_ImpactedResourcesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_TenantResourceHealthEventResource.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_TenantResourceHealthEventResource.cs index 8f4192f14e1e0..00108368b107a 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_TenantResourceHealthEventResource.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/samples/Generated/Samples/Sample_TenantResourceHealthEventResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ResourceHealth.Samples { public partial class Sample_TenantResourceHealthEventResource { - // ListSecurityAdvisoryImpactedResourcesByTenantId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecurityAdvisoryImpactedResourcesByTenantIdAndEventId_ListSecurityAdvisoryImpactedResourcesByTenantId() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/SecurityAdvisoryImpactedResources_ListByTenantId_ListByEventId.json @@ -40,12 +40,11 @@ public async Task GetSecurityAdvisoryImpactedResourcesByTenantIdAndEventId_ListS Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // EventByTenantIdAndTrackingId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_EventByTenantIdAndTrackingId() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/Event_GetByTenantIdAndTrackingId.json @@ -74,9 +73,8 @@ public async Task Get_EventByTenantIdAndTrackingId() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // EventDetailsByTenantIdAndTrackingId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task FetchDetailsByTenantIdAndTrackingId_EventDetailsByTenantIdAndTrackingId() { // Generated from example definition: specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2023-10-01-preview/examples/Event_fetchDetailsByTenantIdAndTrackingId.json diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_DataPolicyManifestCollection.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_DataPolicyManifestCollection.cs index 48e49d0c11488..738219b3d809a 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_DataPolicyManifestCollection.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_DataPolicyManifestCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_DataPolicyManifestCollection { - // Retrieve a data policy manifest by policy mode - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveADataPolicyManifestByPolicyMode() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getDataPolicyManifest.json @@ -45,9 +45,8 @@ public async Task Get_RetrieveADataPolicyManifestByPolicyMode() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a data policy manifest by policy mode - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RetrieveADataPolicyManifestByPolicyMode() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getDataPolicyManifest.json @@ -72,9 +71,8 @@ public async Task Exists_RetrieveADataPolicyManifestByPolicyMode() Console.WriteLine($"Succeeded: {result}"); } - // Retrieve a data policy manifest by policy mode - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RetrieveADataPolicyManifestByPolicyMode() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getDataPolicyManifest.json @@ -99,7 +97,7 @@ public async Task GetIfExists_RetrieveADataPolicyManifestByPolicyMode() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -111,9 +109,8 @@ public async Task GetIfExists_RetrieveADataPolicyManifestByPolicyMode() } } - // List data policy manifests - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDataPolicyManifests() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listDataPolicyManifests.json @@ -141,12 +138,11 @@ public async Task GetAll_ListDataPolicyManifests() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List data policy manifests with namespace filter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDataPolicyManifestsWithNamespaceFilter() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/listDataPolicyManifestsNamespaceFilter.json @@ -175,7 +171,7 @@ public async Task GetAll_ListDataPolicyManifestsWithNamespaceFilter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_DataPolicyManifestResource.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_DataPolicyManifestResource.cs index a65456a44f8d8..8fbd722be3760 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_DataPolicyManifestResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_DataPolicyManifestResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_DataPolicyManifestResource { - // Retrieve a data policy manifest by policy mode - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveADataPolicyManifestByPolicyMode() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2020-09-01/examples/getDataPolicyManifest.json diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_FeatureCollection.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_FeatureCollection.cs index 68627f8b84408..b85fd512b9b45 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_FeatureCollection.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_FeatureCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_FeatureCollection { - // List provider Features - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListProviderFeatures() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/listProviderFeatures.json @@ -47,12 +47,11 @@ public async Task GetAll_ListProviderFeatures() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get feature - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFeature() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/getFeature.json @@ -84,9 +83,8 @@ public async Task Get_GetFeature() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get feature - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetFeature() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/getFeature.json @@ -114,9 +112,8 @@ public async Task Exists_GetFeature() Console.WriteLine($"Succeeded: {result}"); } - // Get feature - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetFeature() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/getFeature.json @@ -144,7 +141,7 @@ public async Task GetIfExists_GetFeature() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_FeatureResource.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_FeatureResource.cs index ecca03a05f8fd..4f18c027a3506 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_FeatureResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_FeatureResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_FeatureResource { - // Get feature - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFeature() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/getFeature.json @@ -45,9 +45,8 @@ public async Task Get_GetFeature() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Register feature - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Register_RegisterFeature() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/registerFeature.json @@ -76,9 +75,8 @@ public async Task Register_RegisterFeature() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Register feature - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Unregister_RegisterFeature() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/unregisterFeature.json diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupCollection.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupCollection.cs index 9ebcafbd812de..06164d5d029be 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupCollection.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagementGroups.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ManagementGroups.Samples { public partial class Sample_ManagementGroupCollection { - // ListManagementGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListManagementGroups() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/ListManagementGroups.json @@ -47,12 +47,11 @@ public async Task GetAll_ListManagementGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagementGroup() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetManagementGroup.json @@ -82,9 +81,8 @@ public async Task Get_GetManagementGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetManagementGroup() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetManagementGroup.json @@ -110,9 +108,8 @@ public async Task Exists_GetManagementGroup() Console.WriteLine($"Succeeded: {result}"); } - // GetManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetManagementGroup() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetManagementGroup.json @@ -138,7 +135,7 @@ public async Task GetIfExists_GetManagementGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -150,9 +147,8 @@ public async Task GetIfExists_GetManagementGroup() } } - // GetManagementGroupWithAncestors - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagementGroupWithAncestors() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetManagementGroupWithAncestors.json @@ -183,9 +179,8 @@ public async Task Get_GetManagementGroupWithAncestors() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetManagementGroupWithAncestors - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetManagementGroupWithAncestors() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetManagementGroupWithAncestors.json @@ -212,9 +207,8 @@ public async Task Exists_GetManagementGroupWithAncestors() Console.WriteLine($"Succeeded: {result}"); } - // GetManagementGroupWithAncestors - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetManagementGroupWithAncestors() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetManagementGroupWithAncestors.json @@ -241,7 +235,7 @@ public async Task GetIfExists_GetManagementGroupWithAncestors() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -253,9 +247,8 @@ public async Task GetIfExists_GetManagementGroupWithAncestors() } } - // GetManagementGroupWithExpand - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagementGroupWithExpand() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetManagementGroupWithExpand.json @@ -286,9 +279,8 @@ public async Task Get_GetManagementGroupWithExpand() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetManagementGroupWithExpand - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetManagementGroupWithExpand() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetManagementGroupWithExpand.json @@ -315,9 +307,8 @@ public async Task Exists_GetManagementGroupWithExpand() Console.WriteLine($"Succeeded: {result}"); } - // GetManagementGroupWithExpand - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetManagementGroupWithExpand() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetManagementGroupWithExpand.json @@ -344,7 +335,7 @@ public async Task GetIfExists_GetManagementGroupWithExpand() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -356,9 +347,8 @@ public async Task GetIfExists_GetManagementGroupWithExpand() } } - // GetManagementGroupWithPath - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagementGroupWithPath() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetManagementGroupWithPath.json @@ -389,9 +379,8 @@ public async Task Get_GetManagementGroupWithPath() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetManagementGroupWithPath - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetManagementGroupWithPath() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetManagementGroupWithPath.json @@ -418,9 +407,8 @@ public async Task Exists_GetManagementGroupWithPath() Console.WriteLine($"Succeeded: {result}"); } - // GetManagementGroupWithPath - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetManagementGroupWithPath() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetManagementGroupWithPath.json @@ -447,7 +435,7 @@ public async Task GetIfExists_GetManagementGroupWithPath() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -459,9 +447,8 @@ public async Task GetIfExists_GetManagementGroupWithPath() } } - // GetManagementGroupsWithExpandAndRecurse - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagementGroupsWithExpandAndRecurse() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetManagementGroupWithExpandAndRecurse.json @@ -493,9 +480,8 @@ public async Task Get_GetManagementGroupsWithExpandAndRecurse() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetManagementGroupsWithExpandAndRecurse - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetManagementGroupsWithExpandAndRecurse() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetManagementGroupWithExpandAndRecurse.json @@ -523,9 +509,8 @@ public async Task Exists_GetManagementGroupsWithExpandAndRecurse() Console.WriteLine($"Succeeded: {result}"); } - // GetManagementGroupsWithExpandAndRecurse - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetManagementGroupsWithExpandAndRecurse() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetManagementGroupWithExpandAndRecurse.json @@ -553,7 +538,7 @@ public async Task GetIfExists_GetManagementGroupsWithExpandAndRecurse() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -565,9 +550,8 @@ public async Task GetIfExists_GetManagementGroupsWithExpandAndRecurse() } } - // PutManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutManagementGroup() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/PutManagementGroup.json @@ -609,9 +593,8 @@ public async Task CreateOrUpdate_PutManagementGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CheckManagementGroupNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckNameAvailability_CheckManagementGroupNameAvailability() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/CheckManagementGroupNameAvailability.json @@ -640,9 +623,8 @@ public async Task CheckNameAvailability_CheckManagementGroupNameAvailability() Console.WriteLine($"Succeeded: {result}"); } - // GetEntities - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetEntities_GetEntities() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetEntities.json @@ -667,7 +649,7 @@ public async Task GetEntities_GetEntities() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupPolicyDefinitionCollection.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupPolicyDefinitionCollection.cs index 2d265be743aef..280fb6326a96f 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupPolicyDefinitionCollection.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupPolicyDefinitionCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagementGroups; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_ManagementGroupPolicyDefinitionCollection { - // Create or update a policy definition at management group level - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAPolicyDefinitionAtManagementGroupLevel() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json @@ -97,9 +97,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAPolicyDefinitionAtManagementGrou Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a policy definition at management group level - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveAPolicyDefinitionAtManagementGroupLevel() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicyDefinitionAtManagementGroup.json @@ -130,9 +129,8 @@ public async Task Get_RetrieveAPolicyDefinitionAtManagementGroupLevel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a policy definition at management group level - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RetrieveAPolicyDefinitionAtManagementGroupLevel() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicyDefinitionAtManagementGroup.json @@ -159,9 +157,8 @@ public async Task Exists_RetrieveAPolicyDefinitionAtManagementGroupLevel() Console.WriteLine($"Succeeded: {result}"); } - // Retrieve a policy definition at management group level - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RetrieveAPolicyDefinitionAtManagementGroupLevel() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicyDefinitionAtManagementGroup.json @@ -188,7 +185,7 @@ public async Task GetIfExists_RetrieveAPolicyDefinitionAtManagementGroupLevel() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -200,9 +197,8 @@ public async Task GetIfExists_RetrieveAPolicyDefinitionAtManagementGroupLevel() } } - // List policy definitions by management group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPolicyDefinitionsByManagementGroup() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listPolicyDefinitionsByManagementGroup.json @@ -232,7 +228,7 @@ public async Task GetAll_ListPolicyDefinitionsByManagementGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupPolicyDefinitionResource.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupPolicyDefinitionResource.cs index ca29d17b6d8b1..dd90844cfc338 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupPolicyDefinitionResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupPolicyDefinitionResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_ManagementGroupPolicyDefinitionResource { - // Create or update a policy definition at management group level - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAPolicyDefinitionAtManagementGroupLevel() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicyDefinitionAtManagementGroup.json @@ -93,9 +93,8 @@ public async Task Update_CreateOrUpdateAPolicyDefinitionAtManagementGroupLevel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a policy definition at management group level - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAPolicyDefinitionAtManagementGroupLevel() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/deletePolicyDefinitionAtManagementGroup.json @@ -116,12 +115,11 @@ public async Task Delete_DeleteAPolicyDefinitionAtManagementGroupLevel() // invoke the operation await managementGroupPolicyDefinition.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Retrieve a policy definition at management group level - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveAPolicyDefinitionAtManagementGroupLevel() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicyDefinitionAtManagementGroup.json diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupPolicySetDefinitionCollection.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupPolicySetDefinitionCollection.cs index 4493d95866e53..caea7caccdff4 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupPolicySetDefinitionCollection.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupPolicySetDefinitionCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.ManagementGroups; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_ManagementGroupPolicySetDefinitionCollection { - // Create or update a policy set definition at management group level - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAPolicySetDefinitionAtManagementGroupLevel() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json @@ -88,9 +88,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAPolicySetDefinitionAtManagementG Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a policy set definition with groups at management group level - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAPolicySetDefinitionWithGroupsAtManagementGroupLevel() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json @@ -179,9 +178,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAPolicySetDefinitionWithGroupsAtM Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a policy set definition at management group level - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveAPolicySetDefinitionAtManagementGroupLevel() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicySetDefinitionAtManagementGroup.json @@ -212,9 +210,8 @@ public async Task Get_RetrieveAPolicySetDefinitionAtManagementGroupLevel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a policy set definition at management group level - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RetrieveAPolicySetDefinitionAtManagementGroupLevel() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicySetDefinitionAtManagementGroup.json @@ -241,9 +238,8 @@ public async Task Exists_RetrieveAPolicySetDefinitionAtManagementGroupLevel() Console.WriteLine($"Succeeded: {result}"); } - // Retrieve a policy set definition at management group level - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RetrieveAPolicySetDefinitionAtManagementGroupLevel() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicySetDefinitionAtManagementGroup.json @@ -270,7 +266,7 @@ public async Task GetIfExists_RetrieveAPolicySetDefinitionAtManagementGroupLevel if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -282,9 +278,8 @@ public async Task GetIfExists_RetrieveAPolicySetDefinitionAtManagementGroupLevel } } - // List policy set definitions at management group level - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPolicySetDefinitionsAtManagementGroupLevel() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listPolicySetDefinitionsByManagementGroup.json @@ -314,7 +309,7 @@ public async Task GetAll_ListPolicySetDefinitionsAtManagementGroupLevel() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupPolicySetDefinitionResource.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupPolicySetDefinitionResource.cs index 9dab616445bbb..d266d26ffd5c3 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupPolicySetDefinitionResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupPolicySetDefinitionResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_ManagementGroupPolicySetDefinitionResource { - // Create or update a policy set definition at management group level - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAPolicySetDefinitionAtManagementGroupLevel() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicySetDefinitionAtManagementGroup.json @@ -84,9 +84,8 @@ public async Task Update_CreateOrUpdateAPolicySetDefinitionAtManagementGroupLeve Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a policy set definition with groups at management group level - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAPolicySetDefinitionWithGroupsAtManagementGroupLevel() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicySetDefinitionWithGroupsAtManagementGroup.json @@ -172,9 +171,8 @@ public async Task Update_CreateOrUpdateAPolicySetDefinitionWithGroupsAtManagemen Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a policy set definition at management group level - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAPolicySetDefinitionAtManagementGroupLevel() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/deletePolicySetDefinitionAtManagementGroup.json @@ -195,12 +193,11 @@ public async Task Delete_DeleteAPolicySetDefinitionAtManagementGroupLevel() // invoke the operation await managementGroupPolicySetDefinition.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Retrieve a policy set definition at management group level - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveAPolicySetDefinitionAtManagementGroupLevel() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicySetDefinitionAtManagementGroup.json diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupResource.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupResource.cs index 9b86227a43e34..696829806e7f0 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ManagementGroups.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ManagementGroups.Samples { public partial class Sample_ManagementGroupResource { - // GetManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagementGroup() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetManagementGroup.json @@ -45,9 +45,8 @@ public async Task Get_GetManagementGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetManagementGroupWithAncestors - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagementGroupWithAncestors() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetManagementGroupWithAncestors.json @@ -76,9 +75,8 @@ public async Task Get_GetManagementGroupWithAncestors() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetManagementGroupWithExpand - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagementGroupWithExpand() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetManagementGroupWithExpand.json @@ -107,9 +105,8 @@ public async Task Get_GetManagementGroupWithExpand() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetManagementGroupWithPath - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagementGroupWithPath() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetManagementGroupWithPath.json @@ -138,9 +135,8 @@ public async Task Get_GetManagementGroupWithPath() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetManagementGroupsWithExpandAndRecurse - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagementGroupsWithExpandAndRecurse() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetManagementGroupWithExpandAndRecurse.json @@ -170,9 +166,8 @@ public async Task Get_GetManagementGroupsWithExpandAndRecurse() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PatchManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchManagementGroup() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/PatchManagementGroup.json @@ -205,9 +200,8 @@ public async Task Update_PatchManagementGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteManagementGroup() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/DeleteManagementGroup.json @@ -228,12 +222,11 @@ public async Task Delete_DeleteManagementGroup() string cacheControl = "no-cache"; await managementGroup.DeleteAsync(WaitUntil.Completed, cacheControl: cacheControl); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetDescendants - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDescendants_GetDescendants() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetDescendants.json @@ -256,7 +249,7 @@ public async Task GetDescendants_GetDescendants() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupSubscriptionCollection.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupSubscriptionCollection.cs index 46120df4b84a7..d8c90be2f3338 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupSubscriptionCollection.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupSubscriptionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ManagementGroups.Samples { public partial class Sample_ManagementGroupSubscriptionCollection { - // AddSubscriptionToManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AddSubscriptionToManagementGroup() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/AddManagementGroupSubscription.json @@ -49,9 +49,8 @@ public async Task CreateOrUpdate_AddSubscriptionToManagementGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetSubscriptionFromManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSubscriptionFromManagementGroup() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetSubscriptionFromManagementGroup.json @@ -83,9 +82,8 @@ public async Task Get_GetSubscriptionFromManagementGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetSubscriptionFromManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSubscriptionFromManagementGroup() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetSubscriptionFromManagementGroup.json @@ -113,9 +111,8 @@ public async Task Exists_GetSubscriptionFromManagementGroup() Console.WriteLine($"Succeeded: {result}"); } - // GetSubscriptionFromManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSubscriptionFromManagementGroup() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetSubscriptionFromManagementGroup.json @@ -143,7 +140,7 @@ public async Task GetIfExists_GetSubscriptionFromManagementGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -155,9 +152,8 @@ public async Task GetIfExists_GetSubscriptionFromManagementGroup() } } - // GetAllSubscriptionsFromManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllSubscriptionsFromManagementGroup() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetAllSubscriptionsFromManagementGroup.json @@ -187,7 +183,7 @@ public async Task GetAll_GetAllSubscriptionsFromManagementGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupSubscriptionResource.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupSubscriptionResource.cs index 5fedd97906c01..b1dd6db682f09 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupSubscriptionResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementGroupSubscriptionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ManagementGroups.Samples { public partial class Sample_ManagementGroupSubscriptionResource { - // AddSubscriptionToManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AddSubscriptionToManagementGroup() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/AddManagementGroupSubscription.json @@ -46,9 +46,8 @@ public async Task Update_AddSubscriptionToManagementGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteSubscriptionFromManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSubscriptionFromManagementGroup() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/RemoveManagementGroupSubscription.json @@ -70,12 +69,11 @@ public async Task Delete_DeleteSubscriptionFromManagementGroup() string cacheControl = "no-cache"; await managementGroupSubscription.DeleteAsync(WaitUntil.Completed, cacheControl: cacheControl); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetSubscriptionFromManagementGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSubscriptionFromManagementGroup() { // Generated from example definition: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/GetSubscriptionFromManagementGroup.json diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementLockCollection.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementLockCollection.cs index da65c233e61e8..59d19ed765348 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementLockCollection.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementLockCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_ManagementLockCollection { - // Create management lock at scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateManagementLockAtScope() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_CreateOrUpdateAtScope.json @@ -49,9 +49,8 @@ public async Task CreateOrUpdate_CreateManagementLockAtScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get management lock at scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagementLockAtScope() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_GetAtScope.json @@ -81,9 +80,8 @@ public async Task Get_GetManagementLockAtScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get management lock at scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetManagementLockAtScope() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_GetAtScope.json @@ -109,9 +107,8 @@ public async Task Exists_GetManagementLockAtScope() Console.WriteLine($"Succeeded: {result}"); } - // Get management lock at scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetManagementLockAtScope() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_GetAtScope.json @@ -137,7 +134,7 @@ public async Task GetIfExists_GetManagementLockAtScope() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -149,9 +146,8 @@ public async Task GetIfExists_GetManagementLockAtScope() } } - // List management locks at scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListManagementLocksAtScope() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_ListAtScope.json @@ -180,7 +176,7 @@ public async Task GetAll_ListManagementLocksAtScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementLockResource.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementLockResource.cs index 85d3877dd71b3..33de02ed4bbb8 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementLockResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ManagementLockResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_ManagementLockResource { - // Create management lock at scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateManagementLockAtScope() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_CreateOrUpdateAtScope.json @@ -47,9 +47,8 @@ public async Task Update_CreateManagementLockAtScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete management lock at scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteManagementLockAtScope() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_DeleteAtScope.json @@ -70,12 +69,11 @@ public async Task Delete_DeleteManagementLockAtScope() // invoke the operation await managementLock.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get management lock at scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagementLockAtScope() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2020-05-01/examples/ManagementLocks_GetAtScope.json diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_PolicyAssignmentCollection.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_PolicyAssignmentCollection.cs index 48789d471e744..d8bb82a7a10d1 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_PolicyAssignmentCollection.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_PolicyAssignmentCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_PolicyAssignmentCollection { - // Create or update a policy assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAPolicyAssignment() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/createPolicyAssignment.json @@ -75,9 +75,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAPolicyAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a policy assignment with a system assigned identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAPolicyAssignmentWithASystemAssignedIdentity() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/createPolicyAssignmentWithIdentity.json @@ -132,9 +131,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAPolicyAssignmentWithASystemAssig Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a policy assignment with a user assigned identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAPolicyAssignmentWithAUserAssignedIdentity() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/createPolicyAssignmentWithUserAssignedIdentity.json @@ -195,9 +193,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAPolicyAssignmentWithAUserAssigne Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a policy assignment with multiple non-compliance messages - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAPolicyAssignmentWithMultipleNonComplianceMessages() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/createPolicyAssignmentNonComplianceMessages.json @@ -243,9 +240,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAPolicyAssignmentWithMultipleNonC Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a policy assignment with overrides - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAPolicyAssignmentWithOverrides() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/createPolicyAssignmentWithOverrides.json @@ -305,9 +301,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAPolicyAssignmentWithOverrides() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a policy assignment with resource selectors - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAPolicyAssignmentWithResourceSelectors() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/createPolicyAssignmentWithResourceSelectors.json @@ -366,9 +361,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAPolicyAssignmentWithResourceSele Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a policy assignment without enforcing policy effect during resource creation or update. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAPolicyAssignmentWithoutEnforcingPolicyEffectDuringResourceCreationOrUpdate() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/createPolicyAssignmentWithoutEnforcement.json @@ -421,9 +415,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAPolicyAssignmentWithoutEnforcing Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a policy assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveAPolicyAssignment() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignment.json @@ -453,9 +446,8 @@ public async Task Get_RetrieveAPolicyAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a policy assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RetrieveAPolicyAssignment() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignment.json @@ -481,9 +473,8 @@ public async Task Exists_RetrieveAPolicyAssignment() Console.WriteLine($"Succeeded: {result}"); } - // Retrieve a policy assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RetrieveAPolicyAssignment() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignment.json @@ -509,7 +500,7 @@ public async Task GetIfExists_RetrieveAPolicyAssignment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -521,9 +512,8 @@ public async Task GetIfExists_RetrieveAPolicyAssignment() } } - // Retrieve a policy assignment with a system assigned identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveAPolicyAssignmentWithASystemAssignedIdentity() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithIdentity.json @@ -553,9 +543,8 @@ public async Task Get_RetrieveAPolicyAssignmentWithASystemAssignedIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a policy assignment with a system assigned identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RetrieveAPolicyAssignmentWithASystemAssignedIdentity() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithIdentity.json @@ -581,9 +570,8 @@ public async Task Exists_RetrieveAPolicyAssignmentWithASystemAssignedIdentity() Console.WriteLine($"Succeeded: {result}"); } - // Retrieve a policy assignment with a system assigned identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RetrieveAPolicyAssignmentWithASystemAssignedIdentity() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithIdentity.json @@ -609,7 +597,7 @@ public async Task GetIfExists_RetrieveAPolicyAssignmentWithASystemAssignedIdenti if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -621,9 +609,8 @@ public async Task GetIfExists_RetrieveAPolicyAssignmentWithASystemAssignedIdenti } } - // Retrieve a policy assignment with a user assigned identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveAPolicyAssignmentWithAUserAssignedIdentity() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json @@ -653,9 +640,8 @@ public async Task Get_RetrieveAPolicyAssignmentWithAUserAssignedIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a policy assignment with a user assigned identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RetrieveAPolicyAssignmentWithAUserAssignedIdentity() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json @@ -681,9 +667,8 @@ public async Task Exists_RetrieveAPolicyAssignmentWithAUserAssignedIdentity() Console.WriteLine($"Succeeded: {result}"); } - // Retrieve a policy assignment with a user assigned identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RetrieveAPolicyAssignmentWithAUserAssignedIdentity() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json @@ -709,7 +694,7 @@ public async Task GetIfExists_RetrieveAPolicyAssignmentWithAUserAssignedIdentity if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -721,9 +706,8 @@ public async Task GetIfExists_RetrieveAPolicyAssignmentWithAUserAssignedIdentity } } - // Retrieve a policy assignment with overrides - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveAPolicyAssignmentWithOverrides() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithOverrides.json @@ -753,9 +737,8 @@ public async Task Get_RetrieveAPolicyAssignmentWithOverrides() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a policy assignment with overrides - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RetrieveAPolicyAssignmentWithOverrides() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithOverrides.json @@ -781,9 +764,8 @@ public async Task Exists_RetrieveAPolicyAssignmentWithOverrides() Console.WriteLine($"Succeeded: {result}"); } - // Retrieve a policy assignment with overrides - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RetrieveAPolicyAssignmentWithOverrides() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithOverrides.json @@ -809,7 +791,7 @@ public async Task GetIfExists_RetrieveAPolicyAssignmentWithOverrides() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -821,9 +803,8 @@ public async Task GetIfExists_RetrieveAPolicyAssignmentWithOverrides() } } - // Retrieve a policy assignment with resource selectors - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveAPolicyAssignmentWithResourceSelectors() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithResourceSelectors.json @@ -853,9 +834,8 @@ public async Task Get_RetrieveAPolicyAssignmentWithResourceSelectors() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a policy assignment with resource selectors - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RetrieveAPolicyAssignmentWithResourceSelectors() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithResourceSelectors.json @@ -881,9 +861,8 @@ public async Task Exists_RetrieveAPolicyAssignmentWithResourceSelectors() Console.WriteLine($"Succeeded: {result}"); } - // Retrieve a policy assignment with resource selectors - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RetrieveAPolicyAssignmentWithResourceSelectors() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithResourceSelectors.json @@ -909,7 +888,7 @@ public async Task GetIfExists_RetrieveAPolicyAssignmentWithResourceSelectors() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -921,9 +900,8 @@ public async Task GetIfExists_RetrieveAPolicyAssignmentWithResourceSelectors() } } - // List policy assignments that apply to a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPolicyAssignmentsThatApplyToAResourceGroup() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/listPolicyAssignmentsForResourceGroup.json @@ -954,12 +932,11 @@ public async Task GetAll_ListPolicyAssignmentsThatApplyToAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List all policy assignments that apply to a resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllPolicyAssignmentsThatApplyToAResource() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/listPolicyAssignmentsForResource.json @@ -993,12 +970,11 @@ public async Task GetAll_ListAllPolicyAssignmentsThatApplyToAResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List policy assignments that apply to a management group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPolicyAssignmentsThatApplyToAManagementGroup() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/listPolicyAssignmentsForManagementGroup.json @@ -1028,12 +1004,11 @@ public async Task GetAll_ListPolicyAssignmentsThatApplyToAManagementGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List policy assignments that apply to a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPolicyAssignmentsThatApplyToASubscription() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/listPolicyAssignments.json @@ -1063,7 +1038,7 @@ public async Task GetAll_ListPolicyAssignmentsThatApplyToASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_PolicyAssignmentResource.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_PolicyAssignmentResource.cs index e2d35c2246378..a05d0a94cc31c 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_PolicyAssignmentResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_PolicyAssignmentResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_PolicyAssignmentResource { - // Delete a policy assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAPolicyAssignment() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/deletePolicyAssignment.json @@ -47,9 +47,8 @@ public async Task Delete_DeleteAPolicyAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a policy assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveAPolicyAssignment() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignment.json @@ -77,9 +76,8 @@ public async Task Get_RetrieveAPolicyAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a policy assignment with a system assigned identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveAPolicyAssignmentWithASystemAssignedIdentity() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithIdentity.json @@ -107,9 +105,8 @@ public async Task Get_RetrieveAPolicyAssignmentWithASystemAssignedIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a policy assignment with a user assigned identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveAPolicyAssignmentWithAUserAssignedIdentity() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithUserAssignedIdentity.json @@ -137,9 +134,8 @@ public async Task Get_RetrieveAPolicyAssignmentWithAUserAssignedIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a policy assignment with overrides - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveAPolicyAssignmentWithOverrides() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithOverrides.json @@ -167,9 +163,8 @@ public async Task Get_RetrieveAPolicyAssignmentWithOverrides() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a policy assignment with resource selectors - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveAPolicyAssignmentWithResourceSelectors() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/getPolicyAssignmentWithResourceSelectors.json @@ -197,9 +192,8 @@ public async Task Get_RetrieveAPolicyAssignmentWithResourceSelectors() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a policy assignment with a system assigned identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAPolicyAssignmentWithASystemAssignedIdentity() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/updatePolicyAssignmentWithIdentity.json @@ -232,9 +226,8 @@ public async Task Update_UpdateAPolicyAssignmentWithASystemAssignedIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a policy assignment with a user assigned identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAPolicyAssignmentWithAUserAssignedIdentity() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/updatePolicyAssignmentWithUserAssignedIdentity.json @@ -273,9 +266,8 @@ public async Task Update_UpdateAPolicyAssignmentWithAUserAssignedIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a policy assignment with overrides - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAPolicyAssignmentWithOverrides() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/updatePolicyAssignmentWithOverrides.json @@ -325,9 +317,8 @@ public async Task Update_UpdateAPolicyAssignmentWithOverrides() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a policy assignment with resource selectors - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAPolicyAssignmentWithResourceSelectors() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2022-06-01/examples/updatePolicyAssignmentWithResourceSelectors.json diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ResourceGroupCollection.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ResourceGroupCollection.cs index e716238485444..744bb00b90afd 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ResourceGroupCollection.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ResourceGroupCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_ResourceGroupCollection { - // Create or update a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAResourceGroup() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/CreateResourceGroup.json diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ResourceGroupResource.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ResourceGroupResource.cs index 6b90581b371dd..1a2854ea54a34 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ResourceGroupResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ResourceGroupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_ResourceGroupResource { - // Force delete all the Virtual Machines and Virtual Machine Scale Sets in a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ForceDeleteAllTheVirtualMachinesAndVirtualMachineScaleSetsInAResourceGroup() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json @@ -39,12 +39,11 @@ public async Task Delete_ForceDeleteAllTheVirtualMachinesAndVirtualMachineScaleS string forceDeletionTypes = "Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets"; await resourceGroup.DeleteAsync(WaitUntil.Completed, forceDeletionTypes: forceDeletionTypes); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Force delete all the Virtual Machines in a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ForceDeleteAllTheVirtualMachinesInAResourceGroup() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/ForceDeleteVMsInResourceGroup.json @@ -66,12 +65,11 @@ public async Task Delete_ForceDeleteAllTheVirtualMachinesInAResourceGroup() string forceDeletionTypes = "Microsoft.Compute/virtualMachines"; await resourceGroup.DeleteAsync(WaitUntil.Completed, forceDeletionTypes: forceDeletionTypes); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Export a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExportTemplate_ExportAResourceGroup() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/ExportResourceGroup.json @@ -104,9 +102,8 @@ public async Task ExportTemplate_ExportAResourceGroup() Console.WriteLine($"Succeeded: {result}"); } - // Export a resource group with filtering - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExportTemplate_ExportAResourceGroupWithFiltering() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/ExportResourceGroupWithFiltering.json diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ResourceProviderCollection.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ResourceProviderCollection.cs index aec9541a88c76..929512c91d758 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ResourceProviderCollection.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ResourceProviderCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_ResourceProviderCollection { - // Get providers. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetProviders() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/GetProviders.json @@ -46,12 +46,11 @@ public async Task GetAll_GetProviders() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get provider. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetProvider() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/GetProvider.json @@ -82,9 +81,8 @@ public async Task Get_GetProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get provider. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetProvider() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/GetProvider.json @@ -111,9 +109,8 @@ public async Task Exists_GetProvider() Console.WriteLine($"Succeeded: {result}"); } - // Get provider. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetProvider() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/GetProvider.json @@ -140,7 +137,7 @@ public async Task GetIfExists_GetProvider() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ResourceProviderResource.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ResourceProviderResource.cs index d26c4990dfdcb..cc8cabedbffa6 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ResourceProviderResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_ResourceProviderResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_ResourceProviderResource { - // Get provider resource types. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ProviderPermissions_GetProviderResourceTypes() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/GetProviderPermissions.json @@ -41,12 +41,11 @@ public async Task ProviderPermissions_GetProviderResourceTypes() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get provider. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetProvider() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/GetProvider.json @@ -74,9 +73,8 @@ public async Task Get_GetProvider() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get provider resource types. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetProviderResourceTypes_GetProviderResourceTypes() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/GetProviderResourceTypes.json @@ -100,7 +98,7 @@ public async Task GetProviderResourceTypes_GetProviderResourceTypes() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionCollection.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionCollection.cs index ca112821c63cd..701adba965fe1 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionCollection.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_SubscriptionCollection { - // GetASingleSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASingleSubscription() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/examples/GetSubscription.json @@ -45,9 +45,8 @@ public async Task Get_GetASingleSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GetASingleSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetASingleSubscription() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/examples/GetSubscription.json @@ -72,9 +71,8 @@ public async Task Exists_GetASingleSubscription() Console.WriteLine($"Succeeded: {result}"); } - // GetASingleSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetASingleSubscription() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/examples/GetSubscription.json @@ -99,7 +97,7 @@ public async Task GetIfExists_GetASingleSubscription() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -111,9 +109,8 @@ public async Task GetIfExists_GetASingleSubscription() } } - // GetAllSubscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllSubscriptions() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/examples/GetSubscriptions.json @@ -141,7 +138,7 @@ public async Task GetAll_GetAllSubscriptions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionPolicyDefinitionCollection.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionPolicyDefinitionCollection.cs index fb20dadecfb51..c7522142fd4d6 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionPolicyDefinitionCollection.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionPolicyDefinitionCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_SubscriptionPolicyDefinitionCollection { - // Create or update a policy definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAPolicyDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicyDefinition.json @@ -96,9 +96,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAPolicyDefinition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a policy definition with advanced parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAPolicyDefinitionWithAdvancedParameters() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json @@ -183,9 +182,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAPolicyDefinitionWithAdvancedPara Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a policy definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveAPolicyDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicyDefinition.json @@ -216,9 +214,8 @@ public async Task Get_RetrieveAPolicyDefinition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a policy definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RetrieveAPolicyDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicyDefinition.json @@ -245,9 +242,8 @@ public async Task Exists_RetrieveAPolicyDefinition() Console.WriteLine($"Succeeded: {result}"); } - // Retrieve a policy definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RetrieveAPolicyDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicyDefinition.json @@ -274,7 +270,7 @@ public async Task GetIfExists_RetrieveAPolicyDefinition() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -286,9 +282,8 @@ public async Task GetIfExists_RetrieveAPolicyDefinition() } } - // List policy definitions by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPolicyDefinitionsBySubscription() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listPolicyDefinitions.json @@ -318,7 +313,7 @@ public async Task GetAll_ListPolicyDefinitionsBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionPolicyDefinitionResource.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionPolicyDefinitionResource.cs index dbd65ce018e51..d4c9bae57421c 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionPolicyDefinitionResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionPolicyDefinitionResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_SubscriptionPolicyDefinitionResource { - // Create or update a policy definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAPolicyDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicyDefinition.json @@ -93,9 +93,8 @@ public async Task Update_CreateOrUpdateAPolicyDefinition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a policy definition with advanced parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAPolicyDefinitionWithAdvancedParameters() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicyDefinitionAdvancedParams.json @@ -177,9 +176,8 @@ public async Task Update_CreateOrUpdateAPolicyDefinitionWithAdvancedParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a policy definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAPolicyDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/deletePolicyDefinition.json @@ -200,12 +198,11 @@ public async Task Delete_DeleteAPolicyDefinition() // invoke the operation await subscriptionPolicyDefinition.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Retrieve a policy definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveAPolicyDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicyDefinition.json diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionPolicySetDefinitionCollection.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionPolicySetDefinitionCollection.cs index dd21c53ab4de0..f47ece8defeb5 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionPolicySetDefinitionCollection.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionPolicySetDefinitionCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_SubscriptionPolicySetDefinitionCollection { - // Create or update a policy set definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAPolicySetDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicySetDefinition.json @@ -99,9 +99,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAPolicySetDefinition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a policy set definition with groups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAPolicySetDefinitionWithGroups() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json @@ -190,9 +189,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAPolicySetDefinitionWithGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a policy set definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveAPolicySetDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicySetDefinition.json @@ -223,9 +221,8 @@ public async Task Get_RetrieveAPolicySetDefinition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a policy set definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RetrieveAPolicySetDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicySetDefinition.json @@ -252,9 +249,8 @@ public async Task Exists_RetrieveAPolicySetDefinition() Console.WriteLine($"Succeeded: {result}"); } - // Retrieve a policy set definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RetrieveAPolicySetDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicySetDefinition.json @@ -281,7 +277,7 @@ public async Task GetIfExists_RetrieveAPolicySetDefinition() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -293,9 +289,8 @@ public async Task GetIfExists_RetrieveAPolicySetDefinition() } } - // List policy set definitions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPolicySetDefinitions() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listPolicySetDefinitions.json @@ -325,7 +320,7 @@ public async Task GetAll_ListPolicySetDefinitions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionPolicySetDefinitionResource.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionPolicySetDefinitionResource.cs index 6ecdcdabf1791..447038b76ad54 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionPolicySetDefinitionResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionPolicySetDefinitionResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_SubscriptionPolicySetDefinitionResource { - // Create or update a policy set definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAPolicySetDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicySetDefinition.json @@ -96,9 +96,8 @@ public async Task Update_CreateOrUpdateAPolicySetDefinition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a policy set definition with groups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAPolicySetDefinitionWithGroups() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/createOrUpdatePolicySetDefinitionWithGroups.json @@ -184,9 +183,8 @@ public async Task Update_CreateOrUpdateAPolicySetDefinitionWithGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a policy set definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAPolicySetDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/deletePolicySetDefinition.json @@ -207,12 +205,11 @@ public async Task Delete_DeleteAPolicySetDefinition() // invoke the operation await subscriptionPolicySetDefinition.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Retrieve a policy set definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveAPolicySetDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getPolicySetDefinition.json diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionResource.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionResource.cs index 768a8afe27e3b..064f52c9795c3 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_SubscriptionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_SubscriptionResource { - // GetLocationsWithASubscriptionId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLocations_GetLocationsWithASubscriptionId() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/examples/GetLocations.json @@ -40,12 +40,11 @@ public async Task GetLocations_GetLocationsWithASubscriptionId() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetLocationsWithExtendedLocations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLocations_GetLocationsWithExtendedLocations() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/examples/GetLocationsWithExtendedLocations.json @@ -69,12 +68,11 @@ public async Task GetLocations_GetLocationsWithExtendedLocations() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetASingleSubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASingleSubscription() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/examples/GetSubscription.json @@ -101,9 +99,8 @@ public async Task Get_GetASingleSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List subscription Features - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetFeatures_ListSubscriptionFeatures() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/listSubscriptionFeatures.json @@ -130,7 +127,7 @@ public async Task GetFeatures_ListSubscriptionFeatures() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TagResource.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TagResource.cs index 5d5861397a91b..a5dd3ba01719b 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TagResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TagResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_TagResource { - // Update tags on a resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateTagsOnAResource() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/PutTagsResource.json @@ -53,9 +53,8 @@ public async Task CreateOrUpdate_UpdateTagsOnAResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update tags on a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateTagsOnASubscription() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/PutTagsSubscription.json @@ -91,9 +90,8 @@ public async Task CreateOrUpdate_UpdateTagsOnASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update tags on a resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateTagsOnAResource() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/PatchTagsResource.json @@ -130,9 +128,8 @@ public async Task Update_UpdateTagsOnAResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update tags on a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateTagsOnASubscription() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/PatchTagsSubscription.json @@ -169,9 +166,8 @@ public async Task Update_UpdateTagsOnASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get tags on a resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTagsOnAResource() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/GetTagsResource.json @@ -198,9 +194,8 @@ public async Task Get_GetTagsOnAResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get tags on a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTagsOnASubscription() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/GetTagsSubscription.json @@ -227,9 +222,8 @@ public async Task Get_GetTagsOnASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update tags on a resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_UpdateTagsOnAResource() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/DeleteTagsResource.json @@ -249,12 +243,11 @@ public async Task Delete_UpdateTagsOnAResource() // invoke the operation await tagResource.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update tags on a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_UpdateTagsOnASubscription() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/DeleteTagsSubscription.json @@ -274,7 +267,7 @@ public async Task Delete_UpdateTagsOnASubscription() // invoke the operation await tagResource.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TenantCollection.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TenantCollection.cs index 9ac6e63bb9324..8cc718623f71f 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TenantCollection.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TenantCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_TenantCollection { - // GetAllTenants - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllTenants() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/examples/GetTenants.json @@ -40,12 +40,11 @@ public async Task GetAll_GetAllTenants() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // CheckValidityForAResourceName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckResourceName_CheckValidityForAResourceName() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-12-01/examples/CheckResourceName.json diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TenantPolicyDefinitionCollection.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TenantPolicyDefinitionCollection.cs index bec219465094b..16d6bcc86a0cc 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TenantPolicyDefinitionCollection.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TenantPolicyDefinitionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_TenantPolicyDefinitionCollection { - // Retrieve a built-in policy definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveABuiltInPolicyDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getBuiltinPolicyDefinition.json @@ -45,9 +45,8 @@ public async Task Get_RetrieveABuiltInPolicyDefinition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a built-in policy definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RetrieveABuiltInPolicyDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getBuiltinPolicyDefinition.json @@ -72,9 +71,8 @@ public async Task Exists_RetrieveABuiltInPolicyDefinition() Console.WriteLine($"Succeeded: {result}"); } - // Retrieve a built-in policy definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RetrieveABuiltInPolicyDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getBuiltinPolicyDefinition.json @@ -99,7 +97,7 @@ public async Task GetIfExists_RetrieveABuiltInPolicyDefinition() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -111,9 +109,8 @@ public async Task GetIfExists_RetrieveABuiltInPolicyDefinition() } } - // List built-in policy definitions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListBuiltInPolicyDefinitions() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listBuiltInPolicyDefinitions.json @@ -141,7 +138,7 @@ public async Task GetAll_ListBuiltInPolicyDefinitions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TenantPolicyDefinitionResource.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TenantPolicyDefinitionResource.cs index c36fee50c19e5..65721e7968d96 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TenantPolicyDefinitionResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TenantPolicyDefinitionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_TenantPolicyDefinitionResource { - // Retrieve a built-in policy definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveABuiltInPolicyDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getBuiltinPolicyDefinition.json diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TenantPolicySetDefinitionCollection.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TenantPolicySetDefinitionCollection.cs index 5763ce292e7b9..1fc2a60250692 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TenantPolicySetDefinitionCollection.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TenantPolicySetDefinitionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_TenantPolicySetDefinitionCollection { - // Retrieve a built-in policy set definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveABuiltInPolicySetDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getBuiltInPolicySetDefinition.json @@ -45,9 +45,8 @@ public async Task Get_RetrieveABuiltInPolicySetDefinition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a built-in policy set definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RetrieveABuiltInPolicySetDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getBuiltInPolicySetDefinition.json @@ -72,9 +71,8 @@ public async Task Exists_RetrieveABuiltInPolicySetDefinition() Console.WriteLine($"Succeeded: {result}"); } - // Retrieve a built-in policy set definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RetrieveABuiltInPolicySetDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getBuiltInPolicySetDefinition.json @@ -99,7 +97,7 @@ public async Task GetIfExists_RetrieveABuiltInPolicySetDefinition() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -111,9 +109,8 @@ public async Task GetIfExists_RetrieveABuiltInPolicySetDefinition() } } - // List built-in policy set definitions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListBuiltInPolicySetDefinitions() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/listBuiltInPolicySetDefinitions.json @@ -141,7 +138,7 @@ public async Task GetAll_ListBuiltInPolicySetDefinitions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TenantPolicySetDefinitionResource.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TenantPolicySetDefinitionResource.cs index 92efdce89b796..70de5337edf94 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TenantPolicySetDefinitionResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TenantPolicySetDefinitionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_TenantPolicySetDefinitionResource { - // Retrieve a built-in policy set definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveABuiltInPolicySetDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Authorization/stable/2021-06-01/examples/getBuiltInPolicySetDefinition.json diff --git a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TenantResource.cs b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TenantResource.cs index 64da914de535e..c2d89849b8d45 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TenantResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/samples/Generated/Samples/Sample_TenantResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_TenantResource { - // Get a resource provider at tenant scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTenantResourceProvider_GetAResourceProviderAtTenantScope() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2022-09-01/examples/GetNamedProviderAtTenant.json diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/samples/Generated/Samples/Sample_MoverResource.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/samples/Generated/Samples/Sample_MoverResource.cs index 9ccb6d4bc6450..8b0fca002ec48 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/samples/Generated/Samples/Sample_MoverResource.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/samples/Generated/Samples/Sample_MoverResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ResourceMover.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ResourceMover.Samples { public partial class Sample_MoverResource { - // MoveResources_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_MoveResourcesCreate() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/MoveResources_Create.json @@ -73,9 +73,8 @@ public async Task Update_MoveResourcesCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MoveResources_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_MoveResourcesDelete() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/MoveResources_Delete.json @@ -102,9 +101,8 @@ public async Task Delete_MoveResourcesDelete() Console.WriteLine($"Succeeded: {result}"); } - // MoveResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MoveResourcesGet() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/MoveResources_Get.json diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/samples/Generated/Samples/Sample_MoverResourceCollection.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/samples/Generated/Samples/Sample_MoverResourceCollection.cs index 9d5e92503805d..f763ac424d57c 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/samples/Generated/Samples/Sample_MoverResourceCollection.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/samples/Generated/Samples/Sample_MoverResourceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ResourceMover.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ResourceMover.Samples { public partial class Sample_MoverResourceCollection { - // MoveResources_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_MoveResourcesList() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/MoveResources_List.json @@ -49,12 +49,11 @@ public async Task GetAll_MoveResourcesList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // MoveResources_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_MoveResourcesCreate() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/MoveResources_Create.json @@ -113,9 +112,8 @@ public async Task CreateOrUpdate_MoveResourcesCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MoveResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MoveResourcesGet() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/MoveResources_Get.json @@ -148,9 +146,8 @@ public async Task Get_MoveResourcesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MoveResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_MoveResourcesGet() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/MoveResources_Get.json @@ -179,9 +176,8 @@ public async Task Exists_MoveResourcesGet() Console.WriteLine($"Succeeded: {result}"); } - // MoveResources_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_MoveResourcesGet() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/MoveResources_Get.json @@ -210,7 +206,7 @@ public async Task GetIfExists_MoveResourcesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/samples/Generated/Samples/Sample_MoverResourceSetCollection.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/samples/Generated/Samples/Sample_MoverResourceSetCollection.cs index dc4b91fbf82e5..3e0e70c39ca3f 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/samples/Generated/Samples/Sample_MoverResourceSetCollection.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/samples/Generated/Samples/Sample_MoverResourceSetCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.ResourceMover.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ResourceMover.Samples { public partial class Sample_MoverResourceSetCollection { - // MoveCollections_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_MoveCollectionsCreate() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/MoveCollections_Create.json @@ -62,9 +62,8 @@ public async Task CreateOrUpdate_MoveCollectionsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MoveCollections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MoveCollectionsGet() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/MoveCollections_Get.json @@ -96,9 +95,8 @@ public async Task Get_MoveCollectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MoveCollections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_MoveCollectionsGet() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/MoveCollections_Get.json @@ -126,9 +124,8 @@ public async Task Exists_MoveCollectionsGet() Console.WriteLine($"Succeeded: {result}"); } - // MoveCollections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_MoveCollectionsGet() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/MoveCollections_Get.json @@ -156,7 +153,7 @@ public async Task GetIfExists_MoveCollectionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_MoveCollectionsGet() } } - // MoveCollections_ListMoveCollectionsByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_MoveCollectionsListMoveCollectionsByResourceGroup() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/MoveCollections_ListMoveCollectionsByResourceGroup.json @@ -201,7 +197,7 @@ public async Task GetAll_MoveCollectionsListMoveCollectionsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/samples/Generated/Samples/Sample_MoverResourceSetResource.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/samples/Generated/Samples/Sample_MoverResourceSetResource.cs index edbea9cd2d371..beb46e039bb9f 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/samples/Generated/Samples/Sample_MoverResourceSetResource.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/samples/Generated/Samples/Sample_MoverResourceSetResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.ResourceMover.Models; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ResourceMover.Samples { public partial class Sample_MoverResourceSetResource { - // MoveCollections_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_MoveCollectionsUpdate() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/MoveCollections_Update.json @@ -56,9 +56,8 @@ public async Task Update_MoveCollectionsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MoveCollections_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_MoveCollectionsDelete() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/MoveCollections_Delete.json @@ -84,9 +83,8 @@ public async Task Delete_MoveCollectionsDelete() Console.WriteLine($"Succeeded: {result}"); } - // MoveCollections_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MoveCollectionsGet() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/MoveCollections_Get.json @@ -115,9 +113,8 @@ public async Task Get_MoveCollectionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MoveCollections_Prepare - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Prepare_MoveCollectionsPrepare() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/MoveCollections_Prepare.json @@ -150,9 +147,8 @@ public async Task Prepare_MoveCollectionsPrepare() Console.WriteLine($"Succeeded: {result}"); } - // MoveCollections_InitiateMove - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task InitiateMove_MoveCollectionsInitiateMove() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/MoveCollections_InitiateMove.json @@ -185,9 +181,8 @@ public async Task InitiateMove_MoveCollectionsInitiateMove() Console.WriteLine($"Succeeded: {result}"); } - // MoveCollections_Commit - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Commit_MoveCollectionsCommit() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/MoveCollections_Commit.json @@ -220,9 +215,8 @@ public async Task Commit_MoveCollectionsCommit() Console.WriteLine($"Succeeded: {result}"); } - // MoveCollections_Discard - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Discard_MoveCollectionsDiscard() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/MoveCollections_Discard.json @@ -255,9 +249,8 @@ public async Task Discard_MoveCollectionsDiscard() Console.WriteLine($"Succeeded: {result}"); } - // MoveCollections_ResolveDependencies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResolveDependencies_MoveCollectionsResolveDependencies() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/MoveCollections_ResolveDependencies.json @@ -283,9 +276,8 @@ public async Task ResolveDependencies_MoveCollectionsResolveDependencies() Console.WriteLine($"Succeeded: {result}"); } - // MoveCollections_BulkRemove - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task BulkRemove_MoveCollectionsBulkRemove() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/MoveCollections_BulkRemove.json @@ -319,9 +311,8 @@ public async Task BulkRemove_MoveCollectionsBulkRemove() Console.WriteLine($"Succeeded: {result}"); } - // MoveCollections_ListMoveCollectionsBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMoverResourceSets_MoveCollectionsListMoveCollectionsBySubscription() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/MoveCollections_ListMoveCollectionsBySubscription.json @@ -348,12 +339,11 @@ public async Task GetMoverResourceSets_MoveCollectionsListMoveCollectionsBySubsc Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RequiredFor_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRequiredForResources_RequiredForGet() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/RequiredFor_Get.json @@ -379,9 +369,8 @@ public async Task GetRequiredForResources_RequiredForGet() Console.WriteLine($"Succeeded: {result}"); } - // UnresolvedDependencies_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUnresolvedDependencies_UnresolvedDependenciesGet() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/UnresolvedDependencies_Get.json @@ -406,7 +395,7 @@ public async Task GetUnresolvedDependencies_UnresolvedDependenciesGet() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/samples/Generated/Samples/Sample_TenantResourceExtensions.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/samples/Generated/Samples/Sample_TenantResourceExtensions.cs index bfe06569b545e..2aba24d9820af 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/samples/Generated/Samples/Sample_TenantResourceExtensions.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/samples/Generated/Samples/Sample_TenantResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ResourceMover.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ResourceMover.Samples { public partial class Sample_TenantResourceExtensions { - // OperationsDiscovery_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOperationsDiscoveries_OperationsDiscoveryGet() { // Generated from example definition: specification/resourcemover/resource-manager/Microsoft.Migrate/stable/2023-08-01/examples/OperationsDiscovery_Get.json @@ -38,7 +38,7 @@ public async Task GetOperationsDiscoveries_OperationsDiscoveryGet() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmApplicationCollection.cs b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmApplicationCollection.cs index 6fa13ab873915..60bb2f8c33b83 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmApplicationCollection.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmApplicationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_ArmApplicationCollection { - // Get a managed application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAManagedApplication() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/getApplication.json @@ -48,9 +48,8 @@ public async Task Get_GetAManagedApplication() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a managed application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAManagedApplication() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/getApplication.json @@ -78,9 +77,8 @@ public async Task Exists_GetAManagedApplication() Console.WriteLine($"Succeeded: {result}"); } - // Get a managed application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAManagedApplication() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/getApplication.json @@ -108,7 +106,7 @@ public async Task GetIfExists_GetAManagedApplication() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -120,9 +118,8 @@ public async Task GetIfExists_GetAManagedApplication() } } - // Create or update managed application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateManagedApplication() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/createOrUpdateApplication.json @@ -160,9 +157,8 @@ public async Task CreateOrUpdate_CreateOrUpdateManagedApplication() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Lists applications - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsApplications() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/listApplicationsByResourceGroup.json @@ -193,7 +189,7 @@ public async Task GetAll_ListsApplications() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmApplicationDefinitionCollection.cs b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmApplicationDefinitionCollection.cs index 6ca1bbc3ae979..19530b037f88e 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmApplicationDefinitionCollection.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmApplicationDefinitionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_ArmApplicationDefinitionCollection { - // Get managed application definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagedApplicationDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/getApplicationDefinition.json @@ -49,9 +49,8 @@ public async Task Get_GetManagedApplicationDefinition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get managed application definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetManagedApplicationDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/getApplicationDefinition.json @@ -79,9 +78,8 @@ public async Task Exists_GetManagedApplicationDefinition() Console.WriteLine($"Succeeded: {result}"); } - // Get managed application definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetManagedApplicationDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/getApplicationDefinition.json @@ -109,7 +107,7 @@ public async Task GetIfExists_GetManagedApplicationDefinition() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_GetManagedApplicationDefinition() } } - // Create or update managed application definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateManagedApplicationDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/createOrUpdateApplicationDefinition.json @@ -166,9 +163,8 @@ public async Task CreateOrUpdate_CreateOrUpdateManagedApplicationDefinition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List managed application definitions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListManagedApplicationDefinitions() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/listApplicationDefinitionsByResourceGroup.json @@ -199,7 +195,7 @@ public async Task GetAll_ListManagedApplicationDefinitions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmApplicationDefinitionResource.cs b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmApplicationDefinitionResource.cs index 77bd30bdcff0d..85f0a4667bbb4 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmApplicationDefinitionResource.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmApplicationDefinitionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_ArmApplicationDefinitionResource { - // Get managed application definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagedApplicationDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/getApplicationDefinition.json @@ -46,9 +46,8 @@ public async Task Get_GetManagedApplicationDefinition() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update managed application definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateManagedApplicationDefinition() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/createOrUpdateApplicationDefinition.json diff --git a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmApplicationResource.cs b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmApplicationResource.cs index 74a43b1685c06..c4b246f98b955 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmApplicationResource.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmApplicationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_ArmApplicationResource { - // Get a managed application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAManagedApplication() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/getApplication.json @@ -46,9 +46,8 @@ public async Task Get_GetAManagedApplication() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update managed application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateManagedApplication() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/updateApplication.json diff --git a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmDeploymentCollection.cs b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmDeploymentCollection.cs index 7825e52a8fa33..915672464fa06 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmDeploymentCollection.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmDeploymentCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_ArmDeploymentCollection { - // Create deployment at a given scope. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateDeploymentAtAGivenScope() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/PutDeploymentAtScope.json diff --git a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmDeploymentResource.cs b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmDeploymentResource.cs index c98a85fb53476..c0f56ffa62ec6 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmDeploymentResource.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmDeploymentResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_ArmDeploymentResource { - // Create deployment at a given scope. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateDeploymentAtAGivenScope() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/PutDeploymentAtScope.json @@ -65,9 +65,8 @@ public async Task Update_CreateDeploymentAtAGivenScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Predict template changes at management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task WhatIf_PredictTemplateChangesAtManagementGroupScope() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/PostDeploymentWhatIfOnTenant.json @@ -105,9 +104,8 @@ public async Task WhatIf_PredictTemplateChangesAtManagementGroupScope() Console.WriteLine($"Succeeded: {result}"); } - // Predict template changes at management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task WhatIf_PredictTemplateChangesAtManagementGroupScope1() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/PostDeploymentWhatIfOnManagementGroup.json @@ -146,9 +144,8 @@ public async Task WhatIf_PredictTemplateChangesAtManagementGroupScope1() Console.WriteLine($"Succeeded: {result}"); } - // Predict template changes at subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task WhatIf_PredictTemplateChangesAtSubscriptionScope() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/PostDeploymentWhatIfOnSubscription.json @@ -187,9 +184,8 @@ public async Task WhatIf_PredictTemplateChangesAtSubscriptionScope() Console.WriteLine($"Succeeded: {result}"); } - // Predict template changes at resource group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task WhatIf_PredictTemplateChangesAtResourceGroupScope() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/PostDeploymentWhatIfOnResourceGroup.json @@ -226,9 +222,8 @@ public async Task WhatIf_PredictTemplateChangesAtResourceGroupScope() Console.WriteLine($"Succeeded: {result}"); } - // Calculate template hash - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CalculateDeploymentTemplateHash_CalculateTemplateHash() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2024-03-01/examples/CalculateTemplateHash.json diff --git a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmDeploymentScriptCollection.cs b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmDeploymentScriptCollection.cs index a67c2b53208c3..8c1c5f98c6bae 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmDeploymentScriptCollection.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmDeploymentScriptCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_ArmDeploymentScriptCollection { - // DeploymentScriptsCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DeploymentScriptsCreate() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Create.json @@ -71,9 +71,8 @@ public async Task CreateOrUpdate_DeploymentScriptsCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeploymentScriptsCreateNoUserManagedIdentity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DeploymentScriptsCreateNoUserManagedIdentity() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Create_No_UserManagedIdentity.json @@ -117,9 +116,8 @@ public async Task CreateOrUpdate_DeploymentScriptsCreateNoUserManagedIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeploymentScriptsCreate_MinCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DeploymentScriptsCreateMinCreate() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Min_Create.json @@ -165,9 +163,8 @@ public async Task CreateOrUpdate_DeploymentScriptsCreateMinCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeploymentScriptsCreate_UsingCustomACIName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DeploymentScriptsCreateUsingCustomACIName() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Create_Using_Custom_Aci_Name.json @@ -220,9 +217,8 @@ public async Task CreateOrUpdate_DeploymentScriptsCreateUsingCustomACIName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeploymentScriptsCreate_UsingExistingStorageAccount - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DeploymentScriptsCreateUsingExistingStorageAccount() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Create_Using_Existing_StorageAccount.json @@ -279,9 +275,8 @@ public async Task CreateOrUpdate_DeploymentScriptsCreateUsingExistingStorageAcco Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeploymentScriptsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DeploymentScriptsGet() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Get.json @@ -313,9 +308,8 @@ public async Task Get_DeploymentScriptsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeploymentScriptsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DeploymentScriptsGet() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Get.json @@ -343,9 +337,8 @@ public async Task Exists_DeploymentScriptsGet() Console.WriteLine($"Succeeded: {result}"); } - // DeploymentScriptsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DeploymentScriptsGet() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Get.json @@ -373,7 +366,7 @@ public async Task GetIfExists_DeploymentScriptsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -385,9 +378,8 @@ public async Task GetIfExists_DeploymentScriptsGet() } } - // DeploymentScriptsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DeploymentScriptsList() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_ListByResourceGroup.json @@ -418,7 +410,7 @@ public async Task GetAll_DeploymentScriptsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmDeploymentScriptResource.cs b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmDeploymentScriptResource.cs index d187846afdf1e..599205f94c7b6 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmDeploymentScriptResource.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ArmDeploymentScriptResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_ArmDeploymentScriptResource { - // DeploymentScriptsUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DeploymentScriptsUpdate() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Update.json @@ -52,9 +52,8 @@ public async Task Update_DeploymentScriptsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeploymentScriptsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DeploymentScriptsGet() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Get.json @@ -83,9 +82,8 @@ public async Task Get_DeploymentScriptsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeploymentScriptsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeploymentScriptsDelete() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_Delete.json @@ -107,12 +105,11 @@ public async Task Delete_DeploymentScriptsDelete() // invoke the operation await armDeploymentScript.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DeploymentScriptsListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetArmDeploymentScripts_DeploymentScriptsListBySubscription() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_ListBySubscription.json @@ -139,12 +136,11 @@ public async Task GetArmDeploymentScripts_DeploymentScriptsListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DeploymentScriptsGetLogs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLogs_DeploymentScriptsGetLogs() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_GetLogs.json @@ -173,7 +169,7 @@ public async Task GetLogs_DeploymentScriptsGetLogs() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_DataBoundaryCollection.cs b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_DataBoundaryCollection.cs index fe6cf809e0ca2..fcacaeb4c36e3 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_DataBoundaryCollection.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_DataBoundaryCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_DataBoundaryCollection { - // Get data boundary at scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDataBoundaryAtScope() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2024-08-01/examples/GetScopedDataBoundary.json @@ -47,9 +47,8 @@ public async Task Get_GetDataBoundaryAtScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get data boundary at scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDataBoundaryAtScope() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2024-08-01/examples/GetScopedDataBoundary.json @@ -75,9 +74,8 @@ public async Task Exists_GetDataBoundaryAtScope() Console.WriteLine($"Succeeded: {result}"); } - // Get data boundary at scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDataBoundaryAtScope() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2024-08-01/examples/GetScopedDataBoundary.json @@ -103,7 +101,7 @@ public async Task GetIfExists_GetDataBoundaryAtScope() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_DataBoundaryResource.cs b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_DataBoundaryResource.cs index 44218c8bc3627..c23058ae27d57 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_DataBoundaryResource.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_DataBoundaryResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_DataBoundaryResource { - // Get data boundary at scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDataBoundaryAtScope() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2024-08-01/examples/GetScopedDataBoundary.json diff --git a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ScriptLogResource.cs b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ScriptLogResource.cs index 7d67a91abcd13..09511a9e0efd4 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ScriptLogResource.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_ScriptLogResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_ScriptLogResource { - // DeploymentScriptsGetLogs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DeploymentScriptsGetLogs() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_GetLogsDefault.json @@ -45,9 +45,8 @@ public async Task Get_DeploymentScriptsGetLogs() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeploymentScriptsGetLogsWithTail - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DeploymentScriptsGetLogsWithTail() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2020-10-01/examples/DeploymentScripts_GetLogsDefaultWithTail.json diff --git a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 4ab30c0707766..19744339dfc1f 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Decompile an ARM json template into a Bicep file - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task BicepDecompile_DecompileAnARMJsonTemplateIntoABicepFile() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2023-11-01/examples/DecompileBicep.json diff --git a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_TemplateSpecCollection.cs b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_TemplateSpecCollection.cs index 2b8ca628947f1..f2a081f91a076 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_TemplateSpecCollection.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_TemplateSpecCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_TemplateSpecCollection { - // TemplateSpecsCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TemplateSpecsCreateUpdate() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2021-05-01/examples/TemplateSpecsCreate.json @@ -53,9 +53,8 @@ public async Task CreateOrUpdate_TemplateSpecsCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TemplateSpecsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TemplateSpecsGet() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2021-05-01/examples/TemplateSpecsGet.json @@ -87,9 +86,8 @@ public async Task Get_TemplateSpecsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TemplateSpecsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_TemplateSpecsGet() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2021-05-01/examples/TemplateSpecsGet.json @@ -117,9 +115,8 @@ public async Task Exists_TemplateSpecsGet() Console.WriteLine($"Succeeded: {result}"); } - // TemplateSpecsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TemplateSpecsGet() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2021-05-01/examples/TemplateSpecsGet.json @@ -147,7 +144,7 @@ public async Task GetIfExists_TemplateSpecsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -159,9 +156,8 @@ public async Task GetIfExists_TemplateSpecsGet() } } - // TemplateSpecsListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_TemplateSpecsListByResourceGroup() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2021-05-01/examples/TemplateSpecsListByResourceGroup.json @@ -192,7 +188,7 @@ public async Task GetAll_TemplateSpecsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_TemplateSpecResource.cs b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_TemplateSpecResource.cs index f2c27aba96413..e2223194e12ff 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_TemplateSpecResource.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_TemplateSpecResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_TemplateSpecResource { - // TemplateSpecsPatch - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TemplateSpecsPatch() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2021-05-01/examples/TemplateSpecsPatch.json @@ -53,9 +53,8 @@ public async Task Update_TemplateSpecsPatch() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TemplateSpecsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TemplateSpecsGet() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2021-05-01/examples/TemplateSpecsGet.json @@ -84,9 +83,8 @@ public async Task Get_TemplateSpecsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TemplateSpecsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_TemplateSpecsDelete() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2021-05-01/examples/TemplateSpecsDelete.json @@ -108,12 +106,11 @@ public async Task Delete_TemplateSpecsDelete() // invoke the operation await templateSpec.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TemplatesSpecsListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTemplateSpecs_TemplatesSpecsListBySubscription() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2021-05-01/examples/TemplateSpecsListBySubscription.json @@ -140,7 +137,7 @@ public async Task GetTemplateSpecs_TemplatesSpecsListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_TemplateSpecVersionCollection.cs b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_TemplateSpecVersionCollection.cs index 1e22fa8324165..91ca28695877b 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_TemplateSpecVersionCollection.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_TemplateSpecVersionCollection.cs @@ -10,14 +10,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_TemplateSpecVersionCollection { - // TemplateSpecVersionsCreateUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TemplateSpecVersionsCreateUpdate() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2021-05-01/examples/TemplateSpecVersionsCreate.json @@ -64,9 +64,8 @@ public async Task CreateOrUpdate_TemplateSpecVersionsCreateUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TemplateSpecVersionsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TemplateSpecVersionsGet() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2021-05-01/examples/TemplateSpecVersionsGet.json @@ -99,9 +98,8 @@ public async Task Get_TemplateSpecVersionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TemplateSpecVersionsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_TemplateSpecVersionsGet() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2021-05-01/examples/TemplateSpecVersionsGet.json @@ -130,9 +128,8 @@ public async Task Exists_TemplateSpecVersionsGet() Console.WriteLine($"Succeeded: {result}"); } - // TemplateSpecVersionsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TemplateSpecVersionsGet() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2021-05-01/examples/TemplateSpecVersionsGet.json @@ -161,7 +158,7 @@ public async Task GetIfExists_TemplateSpecVersionsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -173,9 +170,8 @@ public async Task GetIfExists_TemplateSpecVersionsGet() } } - // TemplateSpecVersions_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_TemplateSpecVersionsList() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2021-05-01/examples/TemplateSpecVersionsList.json @@ -207,7 +203,7 @@ public async Task GetAll_TemplateSpecVersionsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_TemplateSpecVersionResource.cs b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_TemplateSpecVersionResource.cs index 4963ace3bfda9..a96fb0ed37930 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_TemplateSpecVersionResource.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_TemplateSpecVersionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_TemplateSpecVersionResource { - // TemplateSpecsPatch - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TemplateSpecsPatch() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2021-05-01/examples/TemplateSpecVersionsPatch.json @@ -54,9 +54,8 @@ public async Task Update_TemplateSpecsPatch() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TemplateSpecVersionsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TemplateSpecVersionsGet() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2021-05-01/examples/TemplateSpecVersionsGet.json @@ -86,9 +85,8 @@ public async Task Get_TemplateSpecVersionsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TemplateSpecVersionsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_TemplateSpecVersionsDelete() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2021-05-01/examples/TemplateSpecVersionsDelete.json @@ -111,7 +109,7 @@ public async Task Delete_TemplateSpecVersionsDelete() // invoke the operation await templateSpecVersion0.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_TenantDataBoundaryCollection.cs b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_TenantDataBoundaryCollection.cs index 0addf23948445..7b51b0394e35d 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_TenantDataBoundaryCollection.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_TenantDataBoundaryCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_TenantDataBoundaryCollection { - // Opt-in to data boundary - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_OptInToDataBoundary() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2024-08-01/examples/PutDataBoundary.json @@ -54,9 +54,8 @@ public async Task CreateOrUpdate_OptInToDataBoundary() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get data boundary for tenant - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDataBoundaryForTenant() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2024-08-01/examples/GetTenantDataBoundary.json @@ -85,9 +84,8 @@ public async Task Get_GetDataBoundaryForTenant() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get data boundary for tenant - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDataBoundaryForTenant() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2024-08-01/examples/GetTenantDataBoundary.json @@ -112,9 +110,8 @@ public async Task Exists_GetDataBoundaryForTenant() Console.WriteLine($"Succeeded: {result}"); } - // Get data boundary for tenant - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDataBoundaryForTenant() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2024-08-01/examples/GetTenantDataBoundary.json @@ -139,7 +136,7 @@ public async Task GetIfExists_GetDataBoundaryForTenant() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_TenantDataBoundaryResource.cs b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_TenantDataBoundaryResource.cs index 64060efadb367..cea0d42a04a10 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_TenantDataBoundaryResource.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/samples/Generated/Samples/Sample_TenantDataBoundaryResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Resources.Samples { public partial class Sample_TenantDataBoundaryResource { - // Opt-in to data boundary - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_OptInToDataBoundary() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2024-08-01/examples/PutDataBoundary.json @@ -52,9 +52,8 @@ public async Task Update_OptInToDataBoundary() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get data boundary for tenant - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDataBoundaryForTenant() { // Generated from example definition: specification/resources/resource-manager/Microsoft.Resources/stable/2024-08-01/examples/GetTenantDataBoundary.json diff --git a/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationCollection.cs b/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationCollection.cs index 88ef9613e2876..538af92123f5d 100644 --- a/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationCollection.cs +++ b/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Search.Samples { public partial class Sample_NetworkSecurityPerimeterConfigurationCollection { - // List NSP configs by search service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListNSPConfigsBySearchService() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/NetworkSecurityPerimeterConfigurationsListByService.json @@ -48,12 +48,11 @@ public async Task GetAll_ListNSPConfigsBySearchService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an NSP config by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnNSPConfigByName() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/NetworkSecurityPerimeterConfigurationsGet.json @@ -86,9 +85,8 @@ public async Task Get_GetAnNSPConfigByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an NSP config by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnNSPConfigByName() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/NetworkSecurityPerimeterConfigurationsGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetAnNSPConfigByName() Console.WriteLine($"Succeeded: {result}"); } - // Get an NSP config by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnNSPConfigByName() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/NetworkSecurityPerimeterConfigurationsGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetAnNSPConfigByName() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationResource.cs b/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationResource.cs index 78e198888ef32..c576f6b65a279 100644 --- a/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationResource.cs +++ b/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_NetworkSecurityPerimeterConfigurationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Search.Samples { public partial class Sample_NetworkSecurityPerimeterConfigurationResource { - // Get an NSP config by name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnNSPConfigByName() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/NetworkSecurityPerimeterConfigurationsGet.json @@ -46,9 +46,8 @@ public async Task Get_GetAnNSPConfigByName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Reconcile NSP Config - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reconcile_ReconcileNSPConfig() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/NetworkSecurityPerimeterConfigurationsReconcile.json @@ -71,7 +70,7 @@ public async Task Reconcile_ReconcileNSPConfig() // invoke the operation await networkSecurityPerimeterConfiguration.ReconcileAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SearchPrivateEndpointConnectionCollection.cs b/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SearchPrivateEndpointConnectionCollection.cs index 1a76f7a08e35e..7653788e4a6de 100644 --- a/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SearchPrivateEndpointConnectionCollection.cs +++ b/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SearchPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Search.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Search.Samples { public partial class Sample_SearchPrivateEndpointConnectionCollection { - // PrivateEndpointConnectionUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateEndpointConnectionUpdate() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/UpdatePrivateEndpointConnection.json @@ -62,9 +62,8 @@ public async Task CreateOrUpdate_PrivateEndpointConnectionUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionGet() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/GetPrivateEndpointConnection.json @@ -97,9 +96,8 @@ public async Task Get_PrivateEndpointConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateEndpointConnectionGet() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/GetPrivateEndpointConnection.json @@ -128,9 +126,8 @@ public async Task Exists_PrivateEndpointConnectionGet() Console.WriteLine($"Succeeded: {result}"); } - // PrivateEndpointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateEndpointConnectionGet() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/GetPrivateEndpointConnection.json @@ -159,7 +156,7 @@ public async Task GetIfExists_PrivateEndpointConnectionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -171,9 +168,8 @@ public async Task GetIfExists_PrivateEndpointConnectionGet() } } - // ListPrivateEndpointConnectionsByService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListPrivateEndpointConnectionsByService() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/ListPrivateEndpointConnectionsByService.json @@ -205,7 +201,7 @@ public async Task GetAll_ListPrivateEndpointConnectionsByService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SearchPrivateEndpointConnectionResource.cs b/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SearchPrivateEndpointConnectionResource.cs index a4169a2d52102..90bc76fe31f0c 100644 --- a/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SearchPrivateEndpointConnectionResource.cs +++ b/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SearchPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Search.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Search.Samples { public partial class Sample_SearchPrivateEndpointConnectionResource { - // PrivateEndpointConnectionUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PrivateEndpointConnectionUpdate() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/UpdatePrivateEndpointConnection.json @@ -59,9 +59,8 @@ public async Task Update_PrivateEndpointConnectionUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionGet() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/GetPrivateEndpointConnection.json @@ -91,9 +90,8 @@ public async Task Get_PrivateEndpointConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PrivateEndpointConnectionDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateEndpointConnectionDelete() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/DeletePrivateEndpointConnection.json diff --git a/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SearchServiceCollection.cs b/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SearchServiceCollection.cs index 08a1e8e29adcf..13ef9e3dfce3b 100644 --- a/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SearchServiceCollection.cs +++ b/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SearchServiceCollection.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Search.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Search.Samples { public partial class Sample_SearchServiceCollection { - // SearchCreateOrUpdateService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SearchCreateOrUpdateService() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchCreateOrUpdateService.json @@ -63,9 +63,8 @@ public async Task CreateOrUpdate_SearchCreateOrUpdateService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SearchCreateOrUpdateServiceAuthOptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SearchCreateOrUpdateServiceAuthOptions() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchCreateOrUpdateServiceAuthOptions.json @@ -113,9 +112,8 @@ public async Task CreateOrUpdate_SearchCreateOrUpdateServiceAuthOptions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SearchCreateOrUpdateServiceDisableLocalAuth - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SearchCreateOrUpdateServiceDisableLocalAuth() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchCreateOrUpdateServiceDisableLocalAuth.json @@ -160,9 +158,8 @@ public async Task CreateOrUpdate_SearchCreateOrUpdateServiceDisableLocalAuth() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SearchCreateOrUpdateServiceToAllowAccessFromPrivateEndpoints - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SearchCreateOrUpdateServiceToAllowAccessFromPrivateEndpoints() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchCreateOrUpdateServiceToAllowAccessFromPrivateEndpoints.json @@ -207,9 +204,8 @@ public async Task CreateOrUpdate_SearchCreateOrUpdateServiceToAllowAccessFromPri Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SearchCreateOrUpdateServiceToAllowAccessFromPublicCustomIPs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SearchCreateOrUpdateServiceToAllowAccessFromPublicCustomIPs() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchCreateOrUpdateServiceToAllowAccessFromPublicCustomIPs.json @@ -266,9 +262,8 @@ public async Task CreateOrUpdate_SearchCreateOrUpdateServiceToAllowAccessFromPub Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SearchCreateOrUpdateServiceToAllowAccessFromPublicCustomIPsAndBypass - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SearchCreateOrUpdateServiceToAllowAccessFromPublicCustomIPsAndBypass() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchCreateOrUpdateServiceToAllowAccessFromPublicCustomIPsAndBypass.json @@ -326,9 +321,8 @@ public async Task CreateOrUpdate_SearchCreateOrUpdateServiceToAllowAccessFromPub Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SearchCreateOrUpdateServiceWithCmkEnforcement - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SearchCreateOrUpdateServiceWithCmkEnforcement() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchCreateOrUpdateServiceWithCmkEnforcement.json @@ -376,9 +370,8 @@ public async Task CreateOrUpdate_SearchCreateOrUpdateServiceWithCmkEnforcement() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SearchCreateOrUpdateServiceWithDataExfiltration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SearchCreateOrUpdateServiceWithDataExfiltration() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchCreateOrUpdateServiceWithDataExfiltration.json @@ -426,9 +419,8 @@ public async Task CreateOrUpdate_SearchCreateOrUpdateServiceWithDataExfiltration Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SearchCreateOrUpdateServiceWithIdentity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SearchCreateOrUpdateServiceWithIdentity() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchCreateOrUpdateServiceWithIdentity.json @@ -479,9 +471,8 @@ public async Task CreateOrUpdate_SearchCreateOrUpdateServiceWithIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SearchCreateOrUpdateWithSemanticSearch - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SearchCreateOrUpdateWithSemanticSearch() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchCreateOrUpdateWithSemanticSearch.json @@ -526,9 +517,8 @@ public async Task CreateOrUpdate_SearchCreateOrUpdateWithSemanticSearch() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SearchGetService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SearchGetService() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchGetService.json @@ -560,9 +550,8 @@ public async Task Get_SearchGetService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SearchGetService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SearchGetService() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchGetService.json @@ -590,9 +579,8 @@ public async Task Exists_SearchGetService() Console.WriteLine($"Succeeded: {result}"); } - // SearchGetService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SearchGetService() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchGetService.json @@ -620,7 +608,7 @@ public async Task GetIfExists_SearchGetService() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -632,9 +620,8 @@ public async Task GetIfExists_SearchGetService() } } - // SearchListServicesByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SearchListServicesByResourceGroup() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchListServicesByResourceGroup.json @@ -665,7 +652,7 @@ public async Task GetAll_SearchListServicesByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SearchServiceResource.cs b/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SearchServiceResource.cs index 961b66ab176e1..b9337df46136c 100644 --- a/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SearchServiceResource.cs +++ b/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SearchServiceResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Search.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Search.Samples { public partial class Sample_SearchServiceResource { - // SearchGetAdminKeys - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAdminKey_SearchGetAdminKeys() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchGetAdminKeys.json @@ -44,9 +44,8 @@ public async Task GetAdminKey_SearchGetAdminKeys() Console.WriteLine($"Succeeded: {result}"); } - // SearchRegenerateAdminKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateAdminKey_SearchRegenerateAdminKey() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchRegenerateAdminKey.json @@ -72,9 +71,8 @@ public async Task RegenerateAdminKey_SearchRegenerateAdminKey() Console.WriteLine($"Succeeded: {result}"); } - // SearchCreateQueryKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateQueryKey_SearchCreateQueryKey() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchCreateQueryKey.json @@ -100,9 +98,8 @@ public async Task CreateQueryKey_SearchCreateQueryKey() Console.WriteLine($"Succeeded: {result}"); } - // SearchListQueryKeysBySearchService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetQueryKeysBySearchService_SearchListQueryKeysBySearchService() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchListQueryKeysBySearchService.json @@ -127,12 +124,11 @@ public async Task GetQueryKeysBySearchService_SearchListQueryKeysBySearchService Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SearchDeleteQueryKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteQueryKey_SearchDeleteQueryKey() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchDeleteQueryKey.json @@ -155,12 +151,11 @@ public async Task DeleteQueryKey_SearchDeleteQueryKey() string key = ""; await searchService.DeleteQueryKeyAsync(key); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SearchUpdateService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SearchUpdateService() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchUpdateService.json @@ -198,9 +193,8 @@ public async Task Update_SearchUpdateService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SearchUpdateServiceAuthOptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SearchUpdateServiceAuthOptions() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchUpdateServiceAuthOptions.json @@ -242,9 +236,8 @@ public async Task Update_SearchUpdateServiceAuthOptions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SearchUpdateServiceDisableLocalAuth - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SearchUpdateServiceDisableLocalAuth() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchUpdateServiceDisableLocalAuth.json @@ -283,9 +276,8 @@ public async Task Update_SearchUpdateServiceDisableLocalAuth() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SearchUpdateServiceToAllowAccessFromPrivateEndpoints - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SearchUpdateServiceToAllowAccessFromPrivateEndpoints() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchUpdateServiceToAllowAccessFromPrivateEndpoints.json @@ -320,9 +312,8 @@ public async Task Update_SearchUpdateServiceToAllowAccessFromPrivateEndpoints() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SearchUpdateServiceToAllowAccessFromPublicCustomIPs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SearchUpdateServiceToAllowAccessFromPublicCustomIPs() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchUpdateServiceToAllowAccessFromPublicCustomIPs.json @@ -370,9 +361,8 @@ public async Task Update_SearchUpdateServiceToAllowAccessFromPublicCustomIPs() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SearchUpdateServiceToAllowAccessFromPublicCustomIPsAndBypass - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SearchUpdateServiceToAllowAccessFromPublicCustomIPsAndBypass() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchUpdateServiceToAllowAccessFromPublicCustomIPsAndBypass.json @@ -421,9 +411,8 @@ public async Task Update_SearchUpdateServiceToAllowAccessFromPublicCustomIPsAndB Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SearchUpdateServiceToRemoveIdentity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SearchUpdateServiceToRemoveIdentity() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchUpdateServiceToRemoveIdentity.json @@ -457,9 +446,8 @@ public async Task Update_SearchUpdateServiceToRemoveIdentity() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SearchUpdateServiceWithCmkEnforcement - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SearchUpdateServiceWithCmkEnforcement() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchUpdateServiceWithCmkEnforcement.json @@ -501,9 +489,8 @@ public async Task Update_SearchUpdateServiceWithCmkEnforcement() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SearchUpdateServiceWithDataExfiltration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SearchUpdateServiceWithDataExfiltration() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchUpdateServiceWithDataExfiltration.json @@ -545,9 +532,8 @@ public async Task Update_SearchUpdateServiceWithDataExfiltration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SearchUpdateServiceWithSemanticSearch - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SearchUpdateServiceWithSemanticSearch() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchUpdateServiceWithSemanticSearch.json @@ -586,9 +572,8 @@ public async Task Update_SearchUpdateServiceWithSemanticSearch() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SearchGetService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SearchGetService() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchGetService.json @@ -617,9 +602,8 @@ public async Task Get_SearchGetService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SearchDeleteService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SearchDeleteService() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchDeleteService.json @@ -641,12 +625,11 @@ public async Task Delete_SearchDeleteService() // invoke the operation await searchService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SearchListServicesBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSearchServices_SearchListServicesBySubscription() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchListServicesBySubscription.json @@ -673,12 +656,11 @@ public async Task GetSearchServices_SearchListServicesBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SearchCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckSearchServiceNameAvailability_SearchCheckNameAvailability() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/SearchCheckNameAvailability.json @@ -702,9 +684,8 @@ public async Task CheckSearchServiceNameAvailability_SearchCheckNameAvailability Console.WriteLine($"Succeeded: {result}"); } - // ListSupportedPrivateLinkResources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSupportedPrivateLinkResources_ListSupportedPrivateLinkResources() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/ListSupportedPrivateLinkResources.json @@ -729,7 +710,7 @@ public async Task GetSupportedPrivateLinkResources_ListSupportedPrivateLinkResou Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SharedSearchServicePrivateLinkResource.cs b/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SharedSearchServicePrivateLinkResource.cs index ad635b6ec6ba0..469522c1a9342 100644 --- a/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SharedSearchServicePrivateLinkResource.cs +++ b/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SharedSearchServicePrivateLinkResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Search.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Search.Samples { public partial class Sample_SharedSearchServicePrivateLinkResource { - // SharedPrivateLinkResourceCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SharedPrivateLinkResourceCreateOrUpdate() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/CreateOrUpdateSharedPrivateLinkResource.json @@ -58,9 +58,8 @@ public async Task Update_SharedPrivateLinkResourceCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SharedPrivateLinkResourceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SharedPrivateLinkResourceGet() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/GetSharedPrivateLinkResource.json @@ -90,9 +89,8 @@ public async Task Get_SharedPrivateLinkResourceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SharedPrivateLinkResourceDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SharedPrivateLinkResourceDelete() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/DeleteSharedPrivateLinkResource.json @@ -115,7 +113,7 @@ public async Task Delete_SharedPrivateLinkResourceDelete() // invoke the operation await sharedSearchServicePrivateLinkResource.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SharedSearchServicePrivateLinkResourceCollection.cs b/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SharedSearchServicePrivateLinkResourceCollection.cs index d1eeda2029b72..7dd0daf9e74d3 100644 --- a/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SharedSearchServicePrivateLinkResourceCollection.cs +++ b/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SharedSearchServicePrivateLinkResourceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Search.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Search.Samples { public partial class Sample_SharedSearchServicePrivateLinkResourceCollection { - // SharedPrivateLinkResourceCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SharedPrivateLinkResourceCreateOrUpdate() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/CreateOrUpdateSharedPrivateLinkResource.json @@ -61,9 +61,8 @@ public async Task CreateOrUpdate_SharedPrivateLinkResourceCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SharedPrivateLinkResourceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SharedPrivateLinkResourceGet() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/GetSharedPrivateLinkResource.json @@ -96,9 +95,8 @@ public async Task Get_SharedPrivateLinkResourceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SharedPrivateLinkResourceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SharedPrivateLinkResourceGet() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/GetSharedPrivateLinkResource.json @@ -127,9 +125,8 @@ public async Task Exists_SharedPrivateLinkResourceGet() Console.WriteLine($"Succeeded: {result}"); } - // SharedPrivateLinkResourceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SharedPrivateLinkResourceGet() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/GetSharedPrivateLinkResource.json @@ -158,7 +155,7 @@ public async Task GetIfExists_SharedPrivateLinkResourceGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -170,9 +167,8 @@ public async Task GetIfExists_SharedPrivateLinkResourceGet() } } - // ListSharedPrivateLinkResourcesByService - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSharedPrivateLinkResourcesByService() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/ListSharedPrivateLinkResourcesByService.json @@ -204,7 +200,7 @@ public async Task GetAll_ListSharedPrivateLinkResourcesByService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index b425563ba96c5..705c3cf8f3e79 100644 --- a/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/search/Azure.ResourceManager.Search/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Search.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Search.Samples { public partial class Sample_SubscriptionResourceExtensions { - // GetQuotaUsagesList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsagesBySubscription_GetQuotaUsagesList() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/GetQuotaUsagesList.json @@ -42,12 +42,11 @@ public async Task GetUsagesBySubscription_GetQuotaUsagesList() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GetQuotaUsage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UsageBySubscriptionSku_GetQuotaUsage() { // Generated from example definition: specification/search/resource-manager/Microsoft.Search/preview/2024-06-01-preview/examples/GetQuotaUsage.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AdaptiveApplicationControlGroupCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AdaptiveApplicationControlGroupCollection.cs index b3848fdf9c3bb..5437221124813 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AdaptiveApplicationControlGroupCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AdaptiveApplicationControlGroupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_AdaptiveApplicationControlGroupCollection { - // Gets a configured application control VM/server group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAConfiguredApplicationControlVMServerGroup() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ApplicationWhitelistings/GetAdaptiveApplicationControlsGroup_example.json @@ -49,9 +49,8 @@ public async Task Get_GetsAConfiguredApplicationControlVMServerGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a configured application control VM/server group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAConfiguredApplicationControlVMServerGroup() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ApplicationWhitelistings/GetAdaptiveApplicationControlsGroup_example.json @@ -79,9 +78,8 @@ public async Task Exists_GetsAConfiguredApplicationControlVMServerGroup() Console.WriteLine($"Succeeded: {result}"); } - // Gets a configured application control VM/server group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAConfiguredApplicationControlVMServerGroup() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ApplicationWhitelistings/GetAdaptiveApplicationControlsGroup_example.json @@ -109,7 +107,7 @@ public async Task GetIfExists_GetsAConfiguredApplicationControlVMServerGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_GetsAConfiguredApplicationControlVMServerGroup() } } - // Update an application control machine group by adding a new application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAnApplicationControlMachineGroupByAddingANewApplication() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ApplicationWhitelistings/PutAdaptiveApplicationControls_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AdaptiveApplicationControlGroupResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AdaptiveApplicationControlGroupResource.cs index 500d1d0c11423..2d98ccb4fdcfb 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AdaptiveApplicationControlGroupResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AdaptiveApplicationControlGroupResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_AdaptiveApplicationControlGroupResource { - // Gets a list of application control groups of machines for the subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAdaptiveApplicationControlGroups_GetsAListOfApplicationControlGroupsOfMachinesForTheSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ApplicationWhitelistings/GetAdaptiveApplicationControlsSubscription_example.json @@ -47,12 +47,11 @@ public async Task GetAdaptiveApplicationControlGroups_GetsAListOfApplicationCont Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a configured application control VM/server group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAConfiguredApplicationControlVMServerGroup() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ApplicationWhitelistings/GetAdaptiveApplicationControlsGroup_example.json @@ -81,9 +80,8 @@ public async Task Get_GetsAConfiguredApplicationControlVMServerGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update an application control machine group by adding a new application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAnApplicationControlMachineGroupByAddingANewApplication() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ApplicationWhitelistings/PutAdaptiveApplicationControls_example.json @@ -230,9 +228,8 @@ public async Task Update_UpdateAnApplicationControlMachineGroupByAddingANewAppli Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an application control machine group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnApplicationControlMachineGroup() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ApplicationWhitelistings/DeleteAdaptiveApplicationControls_example.json @@ -254,7 +251,7 @@ public async Task Delete_DeleteAnApplicationControlMachineGroup() // invoke the operation await adaptiveApplicationControlGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AdaptiveNetworkHardeningCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AdaptiveNetworkHardeningCollection.cs index 70d11063a46bf..13bd441dd0b49 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AdaptiveNetworkHardeningCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AdaptiveNetworkHardeningCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_AdaptiveNetworkHardeningCollection { - // List Adaptive Network Hardenings resources of an extended resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAdaptiveNetworkHardeningsResourcesOfAnExtendedResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/AdaptiveNetworkHardenings/ListByExtendedResourceAdaptiveNetworkHardenings_example.json @@ -51,12 +51,11 @@ public async Task GetAll_ListAdaptiveNetworkHardeningsResourcesOfAnExtendedResou Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a single Adaptive Network Hardening resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASingleAdaptiveNetworkHardeningResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/AdaptiveNetworkHardenings/GetAdaptiveNetworkHardening_example.json @@ -91,9 +90,8 @@ public async Task Get_GetASingleAdaptiveNetworkHardeningResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a single Adaptive Network Hardening resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetASingleAdaptiveNetworkHardeningResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/AdaptiveNetworkHardenings/GetAdaptiveNetworkHardening_example.json @@ -124,9 +122,8 @@ public async Task Exists_GetASingleAdaptiveNetworkHardeningResource() Console.WriteLine($"Succeeded: {result}"); } - // Get a single Adaptive Network Hardening resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetASingleAdaptiveNetworkHardeningResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/AdaptiveNetworkHardenings/GetAdaptiveNetworkHardening_example.json @@ -157,7 +154,7 @@ public async Task GetIfExists_GetASingleAdaptiveNetworkHardeningResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AdaptiveNetworkHardeningResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AdaptiveNetworkHardeningResource.cs index 33cdf1dc3b105..e03d98de846e6 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AdaptiveNetworkHardeningResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AdaptiveNetworkHardeningResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_AdaptiveNetworkHardeningResource { - // Get a single Adaptive Network Hardening resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASingleAdaptiveNetworkHardeningResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/AdaptiveNetworkHardenings/GetAdaptiveNetworkHardening_example.json @@ -49,9 +49,8 @@ public async Task Get_GetASingleAdaptiveNetworkHardeningResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Enforces the given rules on the NSG(s) listed in the request - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Enforce_EnforcesTheGivenRulesOnTheNSGSListedInTheRequest() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/AdaptiveNetworkHardenings/EnforceAdaptiveNetworkHardeningRules_example.json @@ -108,7 +107,7 @@ public async Task Enforce_EnforcesTheGivenRulesOnTheNSGSListedInTheRequest() }); await adaptiveNetworkHardening.EnforceAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AdvancedThreatProtectionSettingResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AdvancedThreatProtectionSettingResource.cs index 78f3928d553ba..f71c08966eca5 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AdvancedThreatProtectionSettingResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AdvancedThreatProtectionSettingResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_AdvancedThreatProtectionSettingResource { - // Gets the Advanced Threat Protection settings for the specified resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheAdvancedThreatProtectionSettingsForTheSpecifiedResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-01-01/examples/AdvancedThreatProtection/GetAdvancedThreatProtectionSettings_example.json @@ -43,9 +43,8 @@ public async Task Get_GetsTheAdvancedThreatProtectionSettingsForTheSpecifiedReso Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates the Advanced Threat Protection settings on a specified resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesTheAdvancedThreatProtectionSettingsOnASpecifiedResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-01-01/examples/AdvancedThreatProtection/PutAdvancedThreatProtectionSettings_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AutoProvisioningSettingCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AutoProvisioningSettingCollection.cs index 003ab535560af..fc2a5c156a1c3 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AutoProvisioningSettingCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AutoProvisioningSettingCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_AutoProvisioningSettingCollection { - // Get auto provisioning settings for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAutoProvisioningSettingsForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/AutoProvisioningSettings/GetAutoProvisioningSettingsSubscription_example.json @@ -48,12 +48,11 @@ public async Task GetAll_GetAutoProvisioningSettingsForSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an auto provisioning setting for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAutoProvisioningSettingForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/AutoProvisioningSettings/GetAutoProvisioningSettingSubscription_example.json @@ -84,9 +83,8 @@ public async Task Get_GetAnAutoProvisioningSettingForSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an auto provisioning setting for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnAutoProvisioningSettingForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/AutoProvisioningSettings/GetAutoProvisioningSettingSubscription_example.json @@ -113,9 +111,8 @@ public async Task Exists_GetAnAutoProvisioningSettingForSubscription() Console.WriteLine($"Succeeded: {result}"); } - // Get an auto provisioning setting for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnAutoProvisioningSettingForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/AutoProvisioningSettings/GetAutoProvisioningSettingSubscription_example.json @@ -142,7 +139,7 @@ public async Task GetIfExists_GetAnAutoProvisioningSettingForSubscription() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -154,9 +151,8 @@ public async Task GetIfExists_GetAnAutoProvisioningSettingForSubscription() } } - // Create auto provisioning settings for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAutoProvisioningSettingsForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/AutoProvisioningSettings/CreateAutoProvisioningSettingsSubscription_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AutoProvisioningSettingResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AutoProvisioningSettingResource.cs index 481a06b26b6bf..6915b5be93058 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AutoProvisioningSettingResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_AutoProvisioningSettingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_AutoProvisioningSettingResource { - // Get an auto provisioning setting for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnAutoProvisioningSettingForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/AutoProvisioningSettings/GetAutoProvisioningSettingSubscription_example.json @@ -45,9 +45,8 @@ public async Task Get_GetAnAutoProvisioningSettingForSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create auto provisioning settings for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAutoProvisioningSettingsForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/AutoProvisioningSettings/CreateAutoProvisioningSettingsSubscription_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ComplianceResultCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ComplianceResultCollection.cs index 44d949e05cc74..9859c28dd2831 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ComplianceResultCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ComplianceResultCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_ComplianceResultCollection { - // Get compliance results on subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetComplianceResultsOnSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2017-08-01/examples/ComplianceResults/ListComplianceResults_example.json @@ -45,12 +45,11 @@ public async Task GetAll_GetComplianceResultsOnSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get compliance results on subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetComplianceResultsOnSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2017-08-01/examples/ComplianceResults/GetComplianceResults_example.json @@ -80,9 +79,8 @@ public async Task Get_GetComplianceResultsOnSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get compliance results on subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetComplianceResultsOnSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2017-08-01/examples/ComplianceResults/GetComplianceResults_example.json @@ -108,9 +106,8 @@ public async Task Exists_GetComplianceResultsOnSubscription() Console.WriteLine($"Succeeded: {result}"); } - // Get compliance results on subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetComplianceResultsOnSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2017-08-01/examples/ComplianceResults/GetComplianceResults_example.json @@ -136,7 +133,7 @@ public async Task GetIfExists_GetComplianceResultsOnSubscription() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ComplianceResultResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ComplianceResultResource.cs index c2451d631a10b..053f1bf7a4e79 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ComplianceResultResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ComplianceResultResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_ComplianceResultResource { - // Get compliance results on subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetComplianceResultsOnSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2017-08-01/examples/ComplianceResults/GetComplianceResults_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_CustomAssessmentAutomationCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_CustomAssessmentAutomationCollection.cs index 79635d7a6ade4..0789f430e684b 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_CustomAssessmentAutomationCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_CustomAssessmentAutomationCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_CustomAssessmentAutomationCollection { - // Get a Custom Assessment Automation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACustomAssessmentAutomation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomAssessmentAutomations/customAssessmentAutomationGet_example.json @@ -50,9 +50,8 @@ public async Task Get_GetACustomAssessmentAutomation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Custom Assessment Automation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetACustomAssessmentAutomation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomAssessmentAutomations/customAssessmentAutomationGet_example.json @@ -80,9 +79,8 @@ public async Task Exists_GetACustomAssessmentAutomation() Console.WriteLine($"Succeeded: {result}"); } - // Get a Custom Assessment Automation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetACustomAssessmentAutomation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomAssessmentAutomations/customAssessmentAutomationGet_example.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetACustomAssessmentAutomation() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetACustomAssessmentAutomation() } } - // Create a Custom Assessment Automation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateACustomAssessmentAutomation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomAssessmentAutomations/customAssessmentAutomationCreate_example.json @@ -166,9 +163,8 @@ public async Task CreateOrUpdate_CreateACustomAssessmentAutomation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List Custom Assessment Automations in a subscription and a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCustomAssessmentAutomationsInASubscriptionAndAResourceGroup() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomAssessmentAutomations/customAssessmentAutomationListByResourceGroup_example.json @@ -199,7 +195,7 @@ public async Task GetAll_ListCustomAssessmentAutomationsInASubscriptionAndAResou Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_CustomAssessmentAutomationResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_CustomAssessmentAutomationResource.cs index e5a06789977ee..7c7ac519b6dc2 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_CustomAssessmentAutomationResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_CustomAssessmentAutomationResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_CustomAssessmentAutomationResource { - // Get a Custom Assessment Automation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACustomAssessmentAutomation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomAssessmentAutomations/customAssessmentAutomationGet_example.json @@ -47,9 +47,8 @@ public async Task Get_GetACustomAssessmentAutomation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a Custom Assessment Automation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateACustomAssessmentAutomation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomAssessmentAutomations/customAssessmentAutomationCreate_example.json @@ -88,9 +87,8 @@ public async Task Update_CreateACustomAssessmentAutomation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a Custom Assessment Automation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteACustomAssessmentAutomation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomAssessmentAutomations/customAssessmentAutomationDelete_example.json @@ -112,12 +110,11 @@ public async Task Delete_DeleteACustomAssessmentAutomation() // invoke the operation await customAssessmentAutomation.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Custom Assessment Automations in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCustomAssessmentAutomations_ListCustomAssessmentAutomationsInASubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomAssessmentAutomations/customAssessmentAutomationListBySubscription_example.json @@ -144,7 +141,7 @@ public async Task GetCustomAssessmentAutomations_ListCustomAssessmentAutomations Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_CustomEntityStoreAssignmentCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_CustomEntityStoreAssignmentCollection.cs index 74cea7669102d..33355ac276b9a 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_CustomEntityStoreAssignmentCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_CustomEntityStoreAssignmentCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_CustomEntityStoreAssignmentCollection { - // Get a custom entity store assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACustomEntityStoreAssignment() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomEntityStoreAssignments/customEntityStoreAssignmentGet_example.json @@ -50,9 +50,8 @@ public async Task Get_GetACustomEntityStoreAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a custom entity store assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetACustomEntityStoreAssignment() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomEntityStoreAssignments/customEntityStoreAssignmentGet_example.json @@ -80,9 +79,8 @@ public async Task Exists_GetACustomEntityStoreAssignment() Console.WriteLine($"Succeeded: {result}"); } - // Get a custom entity store assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetACustomEntityStoreAssignment() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomEntityStoreAssignments/customEntityStoreAssignmentGet_example.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetACustomEntityStoreAssignment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetACustomEntityStoreAssignment() } } - // Create a custom entity store assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateACustomEntityStoreAssignment() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomEntityStoreAssignments/customEntityStoreAssignmentCreate_example.json @@ -161,9 +158,8 @@ public async Task CreateOrUpdate_CreateACustomEntityStoreAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List custom entity store assignments in a subscription and a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCustomEntityStoreAssignmentsInASubscriptionAndAResourceGroup() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomEntityStoreAssignments/customEntityStoreAssignmentListByResourceGroup_example.json @@ -194,7 +190,7 @@ public async Task GetAll_ListCustomEntityStoreAssignmentsInASubscriptionAndAReso Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_CustomEntityStoreAssignmentResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_CustomEntityStoreAssignmentResource.cs index 09f19b472620b..b97489e0eb928 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_CustomEntityStoreAssignmentResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_CustomEntityStoreAssignmentResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_CustomEntityStoreAssignmentResource { - // Get a custom entity store assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACustomEntityStoreAssignment() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomEntityStoreAssignments/customEntityStoreAssignmentGet_example.json @@ -47,9 +47,8 @@ public async Task Get_GetACustomEntityStoreAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a custom entity store assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateACustomEntityStoreAssignment() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomEntityStoreAssignments/customEntityStoreAssignmentCreate_example.json @@ -83,9 +82,8 @@ public async Task Update_CreateACustomEntityStoreAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a custom entity store assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteACustomEntityStoreAssignment() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomEntityStoreAssignments/customEntityStoreAssignmentDelete_example.json @@ -107,12 +105,11 @@ public async Task Delete_DeleteACustomEntityStoreAssignment() // invoke the operation await customEntityStoreAssignment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List custom entity store assignments in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCustomEntityStoreAssignments_ListCustomEntityStoreAssignmentsInASubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-07-01-preview/examples/CustomEntityStoreAssignments/customEntityStoreAssignmentListBySubscription_example.json @@ -139,7 +136,7 @@ public async Task GetCustomEntityStoreAssignments_ListCustomEntityStoreAssignmen Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DefenderForStorageSettingCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DefenderForStorageSettingCollection.cs index f3fdd1b021380..329f57977efbf 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DefenderForStorageSettingCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DefenderForStorageSettingCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_DefenderForStorageSettingCollection { - // Gets the Defender for Storage settings for the specified resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDefenderForStorageSettingsForTheSpecifiedResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-12-01-preview/examples/DefenderForStorage/GetDefenderForStorageSettings_example.json @@ -47,9 +47,8 @@ public async Task Get_GetsTheDefenderForStorageSettingsForTheSpecifiedResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the Defender for Storage settings for the specified resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheDefenderForStorageSettingsForTheSpecifiedResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-12-01-preview/examples/DefenderForStorage/GetDefenderForStorageSettings_example.json @@ -75,9 +74,8 @@ public async Task Exists_GetsTheDefenderForStorageSettingsForTheSpecifiedResourc Console.WriteLine($"Succeeded: {result}"); } - // Gets the Defender for Storage settings for the specified resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheDefenderForStorageSettingsForTheSpecifiedResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-12-01-preview/examples/DefenderForStorage/GetDefenderForStorageSettings_example.json @@ -103,7 +101,7 @@ public async Task GetIfExists_GetsTheDefenderForStorageSettingsForTheSpecifiedRe if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -115,9 +113,8 @@ public async Task GetIfExists_GetsTheDefenderForStorageSettingsForTheSpecifiedRe } } - // Creates or updates the Defender for Storage settings on a specified resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesTheDefenderForStorageSettingsOnASpecifiedResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-12-01-preview/examples/DefenderForStorage/PutDefenderForStorageSettings_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DefenderForStorageSettingResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DefenderForStorageSettingResource.cs index a72977a3f78e0..9a475ddcd0be6 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DefenderForStorageSettingResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DefenderForStorageSettingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_DefenderForStorageSettingResource { - // Gets the Defender for Storage settings for the specified resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDefenderForStorageSettingsForTheSpecifiedResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-12-01-preview/examples/DefenderForStorage/GetDefenderForStorageSettings_example.json @@ -46,9 +46,8 @@ public async Task Get_GetsTheDefenderForStorageSettingsForTheSpecifiedResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates the Defender for Storage settings on a specified resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesOrUpdatesTheDefenderForStorageSettingsOnASpecifiedResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-12-01-preview/examples/DefenderForStorage/PutDefenderForStorageSettings_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsConfigurationResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsConfigurationResource.cs index 3675bf5eab190..d610e89de9609 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsConfigurationResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsConfigurationResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Models; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_DevOpsConfigurationResource { - // ListAvailable_AzureDevOpsOrgs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableDevOpsOrgs_ListAvailableAzureDevOpsOrgs() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/ListAvailableAzureDevOpsOrgs_example.json @@ -47,12 +47,11 @@ public async Task GetAvailableDevOpsOrgs_ListAvailableAzureDevOpsOrgs() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get_DevOpsConfigurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDevOpsConfigurations() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetDevOpsConfigurations_example.json @@ -81,9 +80,8 @@ public async Task Get_GetDevOpsConfigurations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate_DevOpsConfigurations_OnboardCurrentAndFuture - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateDevOpsConfigurationsOnboardCurrentAndFuture() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/CreateOrUpdateDevOpsConfigurationsOnboardCurrentAndFuture_example.json @@ -121,9 +119,8 @@ public async Task CreateOrUpdate_CreateOrUpdateDevOpsConfigurationsOnboardCurren Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate_DevOpsConfigurations_OnboardCurrentOnly - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateDevOpsConfigurationsOnboardCurrentOnly() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/CreateOrUpdateDevOpsConfigurationsOnboardCurrentOnly_example.json @@ -161,9 +158,8 @@ public async Task CreateOrUpdate_CreateOrUpdateDevOpsConfigurationsOnboardCurren Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // CreateOrUpdate_DevOpsConfigurations_OnboardSelected - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateDevOpsConfigurationsOnboardSelected() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/CreateOrUpdateDevOpsConfigurationsOnboardSelected_example.json @@ -205,9 +201,8 @@ public async Task CreateOrUpdate_CreateOrUpdateDevOpsConfigurationsOnboardSelect Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update_DevOpsConfigurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateDevOpsConfigurations() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/UpdateDevOpsConfigurations_example.json @@ -244,9 +239,8 @@ public async Task Update_UpdateDevOpsConfigurations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete_DevOpsConfigurations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteDevOpsConfigurations() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/DeleteDevOpsConfigurations_example.json @@ -268,12 +262,11 @@ public async Task Delete_DeleteDevOpsConfigurations() // invoke the operation await devOpsConfiguration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListAvailable_GitHubOwners - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableGitHubOwners_ListAvailableGitHubOwners() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/ListAvailableGitHubOwners_example.json @@ -302,12 +295,11 @@ public async Task GetAvailableGitHubOwners_ListAvailableGitHubOwners() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ListAvailable_GitLabGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableGitLabGroups_ListAvailableGitLabGroups() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/ListAvailableGitLabGroups_example.json @@ -336,12 +328,11 @@ public async Task GetAvailableGitLabGroups_ListAvailableGitLabGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get_DevOpsOperationResults_Failed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDevOpsOperationResult_GetDevOpsOperationResultsFailed() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetDevOpsOperationResultsFailed_example.json @@ -367,9 +358,8 @@ public async Task GetDevOpsOperationResult_GetDevOpsOperationResultsFailed() Console.WriteLine($"Succeeded: {result}"); } - // Get_DevOpsOperationResults_Succeeded - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDevOpsOperationResult_GetDevOpsOperationResultsSucceeded() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetDevOpsOperationResultsSucceeded_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsOrgCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsOrgCollection.cs index 10ddf557c3509..30120d1604fe8 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsOrgCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsOrgCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_DevOpsOrgCollection { - // List_AzureDevOpsOrgs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAzureDevOpsOrgs() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/ListAzureDevOpsOrgs_example.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAzureDevOpsOrgs() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get_AzureDevOpsOrgs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureDevOpsOrgs() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetAzureDevOpsOrgs_example.json @@ -87,9 +86,8 @@ public async Task Get_GetAzureDevOpsOrgs() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get_AzureDevOpsOrgs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAzureDevOpsOrgs() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetAzureDevOpsOrgs_example.json @@ -118,9 +116,8 @@ public async Task Exists_GetAzureDevOpsOrgs() Console.WriteLine($"Succeeded: {result}"); } - // Get_AzureDevOpsOrgs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAzureDevOpsOrgs() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetAzureDevOpsOrgs_example.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetAzureDevOpsOrgs() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetAzureDevOpsOrgs() } } - // CreateOrUpdate_AzureDevOpsOrgs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAzureDevOpsOrgs() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/CreateOrUpdateAzureDevOpsOrgs_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsOrgResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsOrgResource.cs index f1ba8819db361..5266aec7d3b95 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsOrgResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsOrgResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_DevOpsOrgResource { - // Get_AzureDevOpsOrgs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureDevOpsOrgs() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetAzureDevOpsOrgs_example.json @@ -47,9 +47,8 @@ public async Task Get_GetAzureDevOpsOrgs() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update_AzureDevOpsOrgs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAzureDevOpsOrgs() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/UpdateAzureDevOpsOrgs_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsProjectCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsProjectCollection.cs index 2a9f75b0d2bf7..0ba179042b224 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsProjectCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsProjectCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_DevOpsProjectCollection { - // List_AzureDevOpsProjects - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAzureDevOpsProjects() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/ListAzureDevOpsProjects_example.json @@ -50,12 +50,11 @@ public async Task GetAll_ListAzureDevOpsProjects() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get_AzureDevOpsProjects - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureDevOpsProjects() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetAzureDevOpsProjects_example.json @@ -89,9 +88,8 @@ public async Task Get_GetAzureDevOpsProjects() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get_AzureDevOpsProjects - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAzureDevOpsProjects() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetAzureDevOpsProjects_example.json @@ -121,9 +119,8 @@ public async Task Exists_GetAzureDevOpsProjects() Console.WriteLine($"Succeeded: {result}"); } - // Get_AzureDevOpsProjects - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAzureDevOpsProjects() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetAzureDevOpsProjects_example.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetAzureDevOpsProjects() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_GetAzureDevOpsProjects() } } - // CreateOrUpdate_AzureDevOpsProjects - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAzureDevOpsProjects() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/CreateOrUpdateAzureDevOpsProjects_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsProjectResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsProjectResource.cs index 5aa9f9d5c5cd7..d7f46cb137062 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsProjectResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsProjectResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_DevOpsProjectResource { - // Get_AzureDevOpsProjects - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureDevOpsProjects() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetAzureDevOpsProjects_example.json @@ -48,9 +48,8 @@ public async Task Get_GetAzureDevOpsProjects() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update_AzureDevOpsProjects - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAzureDevOpsProjects() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/UpdateAzureDevOpsProjects_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsRepositoryCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsRepositoryCollection.cs index 9d5dd779aef65..d9d2f05bb219c 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsRepositoryCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsRepositoryCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_DevOpsRepositoryCollection { - // List_AzureDevOpsRepos - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAzureDevOpsRepos() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/ListAzureDevOpsRepos_example.json @@ -51,12 +51,11 @@ public async Task GetAll_ListAzureDevOpsRepos() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get_AzureDevOpsRepos - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureDevOpsRepos() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetAzureDevOpsRepos_example.json @@ -91,9 +90,8 @@ public async Task Get_GetAzureDevOpsRepos() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get_AzureDevOpsRepos - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAzureDevOpsRepos() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetAzureDevOpsRepos_example.json @@ -124,9 +122,8 @@ public async Task Exists_GetAzureDevOpsRepos() Console.WriteLine($"Succeeded: {result}"); } - // Get_AzureDevOpsRepos - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAzureDevOpsRepos() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetAzureDevOpsRepos_example.json @@ -157,7 +154,7 @@ public async Task GetIfExists_GetAzureDevOpsRepos() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_GetAzureDevOpsRepos() } } - // CreateOrUpdate_AzureDevOpsRepos - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAzureDevOpsRepos() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/CreateOrUpdateAzureDevOpsRepos_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsRepositoryResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsRepositoryResource.cs index 000b2ee12a645..217b386271eae 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsRepositoryResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DevOpsRepositoryResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_DevOpsRepositoryResource { - // Get_AzureDevOpsRepos - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAzureDevOpsRepos() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetAzureDevOpsRepos_example.json @@ -49,9 +49,8 @@ public async Task Get_GetAzureDevOpsRepos() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update_AzureDevOpsRepos - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAzureDevOpsRepos() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/UpdateAzureDevOpsRepos_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DeviceSecurityGroupCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DeviceSecurityGroupCollection.cs index a7a6ffe14de49..c5677a6ba7ce4 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DeviceSecurityGroupCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DeviceSecurityGroupCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_DeviceSecurityGroupCollection { - // List all device security groups for the specified IoT Hub resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllDeviceSecurityGroupsForTheSpecifiedIoTHubResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/DeviceSecurityGroups/ListDeviceSecurityGroups_example.json @@ -47,12 +47,11 @@ public async Task GetAll_ListAllDeviceSecurityGroupsForTheSpecifiedIoTHubResourc Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a device security group for the specified IoT Hub resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADeviceSecurityGroupForTheSpecifiedIoTHubResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/DeviceSecurityGroups/GetDeviceSecurityGroups_example.json @@ -82,9 +81,8 @@ public async Task Get_GetADeviceSecurityGroupForTheSpecifiedIoTHubResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a device security group for the specified IoT Hub resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADeviceSecurityGroupForTheSpecifiedIoTHubResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/DeviceSecurityGroups/GetDeviceSecurityGroups_example.json @@ -110,9 +108,8 @@ public async Task Exists_GetADeviceSecurityGroupForTheSpecifiedIoTHubResource() Console.WriteLine($"Succeeded: {result}"); } - // Get a device security group for the specified IoT Hub resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADeviceSecurityGroupForTheSpecifiedIoTHubResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/DeviceSecurityGroups/GetDeviceSecurityGroups_example.json @@ -138,7 +135,7 @@ public async Task GetIfExists_GetADeviceSecurityGroupForTheSpecifiedIoTHubResour if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -150,9 +147,8 @@ public async Task GetIfExists_GetADeviceSecurityGroupForTheSpecifiedIoTHubResour } } - // Create or update a device security group for the specified IoT hub resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateADeviceSecurityGroupForTheSpecifiedIoTHubResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/DeviceSecurityGroups/PutDeviceSecurityGroups_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DeviceSecurityGroupResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DeviceSecurityGroupResource.cs index 9e53d6ba451ab..9deb5523c8f85 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DeviceSecurityGroupResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_DeviceSecurityGroupResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_DeviceSecurityGroupResource { - // Get a device security group for the specified IoT Hub resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADeviceSecurityGroupForTheSpecifiedIoTHubResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/DeviceSecurityGroups/GetDeviceSecurityGroups_example.json @@ -46,9 +46,8 @@ public async Task Get_GetADeviceSecurityGroupForTheSpecifiedIoTHubResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a device security group for the specified IoT hub resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateADeviceSecurityGroupForTheSpecifiedIoTHubResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/DeviceSecurityGroups/PutDeviceSecurityGroups_example.json @@ -84,9 +83,8 @@ public async Task Update_CreateOrUpdateADeviceSecurityGroupForTheSpecifiedIoTHub Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a device security group for the specified IoT Hub resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteADeviceSecurityGroupForTheSpecifiedIoTHubResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/DeviceSecurityGroups/DeleteDeviceSecurityGroups_example.json @@ -107,7 +105,7 @@ public async Task Delete_DeleteADeviceSecurityGroupForTheSpecifiedIoTHubResource // invoke the operation await deviceSecurityGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_GovernanceAssignmentCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_GovernanceAssignmentCollection.cs index 06004469fd9c3..6c8611756d211 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_GovernanceAssignmentCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_GovernanceAssignmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_GovernanceAssignmentCollection { - // List governance assignments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListGovernanceAssignments() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceAssignments/ListGovernanceAssignments_example.json @@ -48,12 +48,11 @@ public async Task GetAll_ListGovernanceAssignments() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get governanceAssignment by specific governanceAssignmentKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetGovernanceAssignmentBySpecificGovernanceAssignmentKey() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceAssignments/GetGovernanceAssignment_example.json @@ -85,9 +84,8 @@ public async Task Get_GetGovernanceAssignmentBySpecificGovernanceAssignmentKey() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get governanceAssignment by specific governanceAssignmentKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetGovernanceAssignmentBySpecificGovernanceAssignmentKey() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceAssignments/GetGovernanceAssignment_example.json @@ -115,9 +113,8 @@ public async Task Exists_GetGovernanceAssignmentBySpecificGovernanceAssignmentKe Console.WriteLine($"Succeeded: {result}"); } - // Get governanceAssignment by specific governanceAssignmentKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetGovernanceAssignmentBySpecificGovernanceAssignmentKey() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceAssignments/GetGovernanceAssignment_example.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetGovernanceAssignmentBySpecificGovernanceAssignm if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -157,9 +154,8 @@ public async Task GetIfExists_GetGovernanceAssignmentBySpecificGovernanceAssignm } } - // Create Governance assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateGovernanceAssignment() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceAssignments/PutGovernanceAssignment_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_GovernanceAssignmentResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_GovernanceAssignmentResource.cs index 1a852072b9225..0644a7b6523cb 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_GovernanceAssignmentResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_GovernanceAssignmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_GovernanceAssignmentResource { - // Get governanceAssignment by specific governanceAssignmentKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetGovernanceAssignmentBySpecificGovernanceAssignmentKey() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceAssignments/GetGovernanceAssignment_example.json @@ -46,9 +46,8 @@ public async Task Get_GetGovernanceAssignmentBySpecificGovernanceAssignmentKey() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Governance assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateGovernanceAssignment() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceAssignments/PutGovernanceAssignment_example.json @@ -96,9 +95,8 @@ public async Task Update_CreateGovernanceAssignment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete security assignment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSecurityAssignment() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceAssignments/DeleteGovernanceAssignment_example.json @@ -120,7 +118,7 @@ public async Task Delete_DeleteSecurityAssignment() // invoke the operation await governanceAssignment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_GovernanceRuleCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_GovernanceRuleCollection.cs index 43fbe2abb9694..12b8ae4f649fd 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_GovernanceRuleCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_GovernanceRuleCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_GovernanceRuleCollection { - // List governance rules by management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListGovernanceRulesByManagementGroupScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/ListByManagementGroupGovernanceRules_example.json @@ -47,12 +47,11 @@ public async Task GetAll_ListGovernanceRulesByManagementGroupScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List governance rules by security connector scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListGovernanceRulesBySecurityConnectorScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/ListBySecurityConnectorGovernanceRules_example.json @@ -81,12 +80,11 @@ public async Task GetAll_ListGovernanceRulesBySecurityConnectorScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List governance rules by subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListGovernanceRulesBySubscriptionScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/ListBySubscriptionGovernanceRules_example.json @@ -115,12 +113,11 @@ public async Task GetAll_ListGovernanceRulesBySubscriptionScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a governance rule over management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGovernanceRuleOverManagementGroupScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/GetManagementGroupGovernanceRule_example.json @@ -150,9 +147,8 @@ public async Task Get_GetAGovernanceRuleOverManagementGroupScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a governance rule over management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAGovernanceRuleOverManagementGroupScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/GetManagementGroupGovernanceRule_example.json @@ -178,9 +174,8 @@ public async Task Exists_GetAGovernanceRuleOverManagementGroupScope() Console.WriteLine($"Succeeded: {result}"); } - // Get a governance rule over management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAGovernanceRuleOverManagementGroupScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/GetManagementGroupGovernanceRule_example.json @@ -206,7 +201,7 @@ public async Task GetIfExists_GetAGovernanceRuleOverManagementGroupScope() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -218,9 +213,8 @@ public async Task GetIfExists_GetAGovernanceRuleOverManagementGroupScope() } } - // Get a governance rule over security connector scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGovernanceRuleOverSecurityConnectorScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/GetSecurityConnectorGovernanceRule_example.json @@ -250,9 +244,8 @@ public async Task Get_GetAGovernanceRuleOverSecurityConnectorScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a governance rule over security connector scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAGovernanceRuleOverSecurityConnectorScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/GetSecurityConnectorGovernanceRule_example.json @@ -278,9 +271,8 @@ public async Task Exists_GetAGovernanceRuleOverSecurityConnectorScope() Console.WriteLine($"Succeeded: {result}"); } - // Get a governance rule over security connector scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAGovernanceRuleOverSecurityConnectorScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/GetSecurityConnectorGovernanceRule_example.json @@ -306,7 +298,7 @@ public async Task GetIfExists_GetAGovernanceRuleOverSecurityConnectorScope() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -318,9 +310,8 @@ public async Task GetIfExists_GetAGovernanceRuleOverSecurityConnectorScope() } } - // Get a governance rule over subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGovernanceRuleOverSubscriptionScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/GetGovernanceRule_example.json @@ -350,9 +341,8 @@ public async Task Get_GetAGovernanceRuleOverSubscriptionScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a governance rule over subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAGovernanceRuleOverSubscriptionScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/GetGovernanceRule_example.json @@ -378,9 +368,8 @@ public async Task Exists_GetAGovernanceRuleOverSubscriptionScope() Console.WriteLine($"Succeeded: {result}"); } - // Get a governance rule over subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAGovernanceRuleOverSubscriptionScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/GetGovernanceRule_example.json @@ -406,7 +395,7 @@ public async Task GetIfExists_GetAGovernanceRuleOverSubscriptionScope() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -418,9 +407,8 @@ public async Task GetIfExists_GetAGovernanceRuleOverSubscriptionScope() } } - // Create or update governance rule over management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateGovernanceRuleOverManagementGroupScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/PutManagementGroupGovernanceRule_example.json @@ -486,9 +474,8 @@ public async Task CreateOrUpdate_CreateOrUpdateGovernanceRuleOverManagementGroup Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update governance rule over security connector scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateGovernanceRuleOverSecurityConnectorScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/PutSecurityConnectorGovernanceRule_example.json @@ -550,9 +537,8 @@ public async Task CreateOrUpdate_CreateOrUpdateGovernanceRuleOverSecurityConnect Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update governance rule over subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateGovernanceRuleOverSubscriptionScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/PutGovernanceRule_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_GovernanceRuleResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_GovernanceRuleResource.cs index 54cb0767905a0..967bd9eadc0c0 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_GovernanceRuleResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_GovernanceRuleResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_GovernanceRuleResource { - // Get a governance rule over management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGovernanceRuleOverManagementGroupScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/GetManagementGroupGovernanceRule_example.json @@ -46,9 +46,8 @@ public async Task Get_GetAGovernanceRuleOverManagementGroupScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a governance rule over security connector scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGovernanceRuleOverSecurityConnectorScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/GetSecurityConnectorGovernanceRule_example.json @@ -76,9 +75,8 @@ public async Task Get_GetAGovernanceRuleOverSecurityConnectorScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a governance rule over subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAGovernanceRuleOverSubscriptionScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/GetGovernanceRule_example.json @@ -106,9 +104,8 @@ public async Task Get_GetAGovernanceRuleOverSubscriptionScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update governance rule over management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateGovernanceRuleOverManagementGroupScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/PutManagementGroupGovernanceRule_example.json @@ -172,9 +169,8 @@ public async Task Update_CreateOrUpdateGovernanceRuleOverManagementGroupScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update governance rule over security connector scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateGovernanceRuleOverSecurityConnectorScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/PutSecurityConnectorGovernanceRule_example.json @@ -234,9 +230,8 @@ public async Task Update_CreateOrUpdateGovernanceRuleOverSecurityConnectorScope( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update governance rule over subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateGovernanceRuleOverSubscriptionScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/PutGovernanceRule_example.json @@ -296,9 +291,8 @@ public async Task Update_CreateOrUpdateGovernanceRuleOverSubscriptionScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a Governance rule over management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAGovernanceRuleOverManagementGroupScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/DeleteManagementGroupGovernanceRule_example.json @@ -319,12 +313,11 @@ public async Task Delete_DeleteAGovernanceRuleOverManagementGroupScope() // invoke the operation await governanceRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Delete a Governance rule over security connector scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAGovernanceRuleOverSecurityConnectorScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/DeleteSecurityConnectorGovernanceRule_example.json @@ -345,12 +338,11 @@ public async Task Delete_DeleteAGovernanceRuleOverSecurityConnectorScope() // invoke the operation await governanceRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Delete a Governance rule over subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAGovernanceRuleOverSubscriptionScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/DeleteGovernanceRule_example.json @@ -371,12 +363,11 @@ public async Task Delete_DeleteAGovernanceRuleOverSubscriptionScope() // invoke the operation await governanceRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Execute Governance rule over subscription scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Execute_ExecuteGovernanceRuleOverSubscriptionScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/PostGovernanceRule_example.json @@ -397,12 +388,11 @@ public async Task Execute_ExecuteGovernanceRuleOverSubscriptionScope() // invoke the operation await governanceRule.ExecuteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Execute governance rule over management group scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Execute_ExecuteGovernanceRuleOverManagementGroupScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/PostManagementGroupGovernanceRule_example.json @@ -423,12 +413,11 @@ public async Task Execute_ExecuteGovernanceRuleOverManagementGroupScope() // invoke the operation await governanceRule.ExecuteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Execute governance rule over security connector scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Execute_ExecuteGovernanceRuleOverSecurityConnectorScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-01-01-preview/examples/GovernanceRules/PostSecurityConnectorGovernanceRule_example.json @@ -449,7 +438,7 @@ public async Task Execute_ExecuteGovernanceRuleOverSecurityConnectorScope() // invoke the operation await governanceRule.ExecuteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecurityAggregatedAlertCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecurityAggregatedAlertCollection.cs index 437f8b03d07ee..c88dd9806b912 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecurityAggregatedAlertCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecurityAggregatedAlertCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_IotSecurityAggregatedAlertCollection { - // Get the aggregated alert list of yours IoT Security solution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetTheAggregatedAlertListOfYoursIoTSecuritySolution() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlertList.json @@ -48,12 +48,11 @@ public async Task GetAll_GetTheAggregatedAlertListOfYoursIoTSecuritySolution() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the aggregated security analytics alert of yours IoT Security solution. This aggregation is performed by alert name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheAggregatedSecurityAnalyticsAlertOfYoursIoTSecuritySolutionThisAggregationIsPerformedByAlertName() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert.json @@ -86,9 +85,8 @@ public async Task Get_GetTheAggregatedSecurityAnalyticsAlertOfYoursIoTSecuritySo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the aggregated security analytics alert of yours IoT Security solution. This aggregation is performed by alert name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheAggregatedSecurityAnalyticsAlertOfYoursIoTSecuritySolutionThisAggregationIsPerformedByAlertName() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert.json @@ -117,9 +115,8 @@ public async Task Exists_GetTheAggregatedSecurityAnalyticsAlertOfYoursIoTSecurit Console.WriteLine($"Succeeded: {result}"); } - // Get the aggregated security analytics alert of yours IoT Security solution. This aggregation is performed by alert name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheAggregatedSecurityAnalyticsAlertOfYoursIoTSecuritySolutionThisAggregationIsPerformedByAlertName() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetTheAggregatedSecurityAnalyticsAlertOfYoursIoTSe if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecurityAggregatedAlertResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecurityAggregatedAlertResource.cs index 2732e22ce86c8..e23a7332dd733 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecurityAggregatedAlertResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecurityAggregatedAlertResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_IotSecurityAggregatedAlertResource { - // Get the aggregated security analytics alert of yours IoT Security solution. This aggregation is performed by alert name - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheAggregatedSecurityAnalyticsAlertOfYoursIoTSecuritySolutionThisAggregationIsPerformedByAlertName() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAggregatedAlert.json @@ -46,9 +46,8 @@ public async Task Get_GetTheAggregatedSecurityAnalyticsAlertOfYoursIoTSecuritySo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Dismiss an aggregated IoT Security Solution Alert - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Dismiss_DismissAnAggregatedIoTSecuritySolutionAlert() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/PostIoTSecuritySolutionsSecurityAggregatedAlertDismiss.json @@ -71,7 +70,7 @@ public async Task Dismiss_DismissAnAggregatedIoTSecuritySolutionAlert() // invoke the operation await iotSecurityAggregatedAlert.DismissAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecurityAggregatedRecommendationCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecurityAggregatedRecommendationCollection.cs index bcf2a67072d83..861372003ec60 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecurityAggregatedRecommendationCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecurityAggregatedRecommendationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_IotSecurityAggregatedRecommendationCollection { - // Get the aggregated security analytics recommendation of yours IoT Security solution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheAggregatedSecurityAnalyticsRecommendationOfYoursIoTSecuritySolution() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendation.json @@ -49,9 +49,8 @@ public async Task Get_GetTheAggregatedSecurityAnalyticsRecommendationOfYoursIoTS Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the aggregated security analytics recommendation of yours IoT Security solution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheAggregatedSecurityAnalyticsRecommendationOfYoursIoTSecuritySolution() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendation.json @@ -80,9 +79,8 @@ public async Task Exists_GetTheAggregatedSecurityAnalyticsRecommendationOfYoursI Console.WriteLine($"Succeeded: {result}"); } - // Get the aggregated security analytics recommendation of yours IoT Security solution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheAggregatedSecurityAnalyticsRecommendationOfYoursIoTSecuritySolution() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendation.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetTheAggregatedSecurityAnalyticsRecommendationOfY if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetTheAggregatedSecurityAnalyticsRecommendationOfY } } - // Get the list of aggregated security analytics recommendations of yours IoT Security solution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetTheListOfAggregatedSecurityAnalyticsRecommendationsOfYoursIoTSecuritySolution() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendationList.json @@ -157,7 +154,7 @@ public async Task GetAll_GetTheListOfAggregatedSecurityAnalyticsRecommendationsO Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecurityAggregatedRecommendationResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecurityAggregatedRecommendationResource.cs index eb92c188cca8b..6a37de699d5cb 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecurityAggregatedRecommendationResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecurityAggregatedRecommendationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_IotSecurityAggregatedRecommendationResource { - // Get the aggregated security analytics recommendation of yours IoT Security solution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheAggregatedSecurityAnalyticsRecommendationOfYoursIoTSecuritySolution() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityRecommendation.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecuritySolutionAnalyticsModelResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecuritySolutionAnalyticsModelResource.cs index 60c04ce7d3edb..bd08ef238444c 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecuritySolutionAnalyticsModelResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecuritySolutionAnalyticsModelResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_IotSecuritySolutionAnalyticsModelResource { - // Get Security Solution Analytics - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecuritySolutionAnalytics() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutionsAnalytics/GetIoTSecuritySolutionsSecurityAnalytics.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecuritySolutionCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecuritySolutionCollection.cs index 6d424b97bcc3f..09e015e76e58d 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecuritySolutionCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecuritySolutionCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_IotSecuritySolutionCollection { - // List IoT Security solutions by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListIoTSecuritySolutionsByResourceGroup() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByRg.json @@ -49,12 +49,11 @@ public async Task GetAll_ListIoTSecuritySolutionsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List IoT Security solutions by resource group and IoT Hub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListIoTSecuritySolutionsByResourceGroupAndIoTHub() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHubAndRg.json @@ -86,12 +85,11 @@ public async Task GetAll_ListIoTSecuritySolutionsByResourceGroupAndIoTHub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a IoT security solution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAIoTSecuritySolution() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolution.json @@ -123,9 +121,8 @@ public async Task Get_GetAIoTSecuritySolution() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a IoT security solution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAIoTSecuritySolution() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolution.json @@ -153,9 +150,8 @@ public async Task Exists_GetAIoTSecuritySolution() Console.WriteLine($"Succeeded: {result}"); } - // Get a IoT security solution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAIoTSecuritySolution() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolution.json @@ -183,7 +179,7 @@ public async Task GetIfExists_GetAIoTSecuritySolution() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -195,9 +191,8 @@ public async Task GetIfExists_GetAIoTSecuritySolution() } } - // Create or update a IoT security solution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAIoTSecuritySolution() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/CreateIoTSecuritySolution.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecuritySolutionResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecuritySolutionResource.cs index a0720363eae95..34d80693adf14 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecuritySolutionResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_IotSecuritySolutionResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_IotSecuritySolutionResource { - // List IoT Security solutions by IoT Hub - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIotSecuritySolutions_ListIoTSecuritySolutionsByIoTHub() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsListByIotHub.json @@ -46,12 +46,11 @@ public async Task GetIotSecuritySolutions_ListIoTSecuritySolutionsByIoTHub() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List IoT Security solutions by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIotSecuritySolutions_ListIoTSecuritySolutionsBySubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolutionsList.json @@ -78,12 +77,11 @@ public async Task GetIotSecuritySolutions_ListIoTSecuritySolutionsBySubscription Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a IoT security solution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAIoTSecuritySolution() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/GetIoTSecuritySolution.json @@ -112,9 +110,8 @@ public async Task Get_GetAIoTSecuritySolution() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Use this method to update existing IoT Security solution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UseThisMethodToUpdateExistingIoTSecuritySolution() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/UpdateIoTSecuritySolution.json @@ -158,9 +155,8 @@ public async Task Update_UseThisMethodToUpdateExistingIoTSecuritySolution() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an IoT security solution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnIoTSecuritySolution() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IoTSecuritySolutions/DeleteIoTSecuritySolution.json @@ -182,7 +178,7 @@ public async Task Delete_DeleteAnIoTSecuritySolution() // invoke the operation await iotSecuritySolution.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_JitNetworkAccessPolicyCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_JitNetworkAccessPolicyCollection.cs index 9fab54f6cc266..1aa003a5697ea 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_JitNetworkAccessPolicyCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_JitNetworkAccessPolicyCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_JitNetworkAccessPolicyCollection { - // Get JIT network access policies on a resource group from a security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetJITNetworkAccessPoliciesOnAResourceGroupFromASecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/GetJitNetworkAccessPoliciesResourceGroupLocation_example.json @@ -51,12 +51,11 @@ public async Task GetAll_GetJITNetworkAccessPoliciesOnAResourceGroupFromASecurit Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get JIT network access policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetJITNetworkAccessPolicy() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/GetJitNetworkAccessPolicy_example.json @@ -89,9 +88,8 @@ public async Task Get_GetJITNetworkAccessPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get JIT network access policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetJITNetworkAccessPolicy() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/GetJitNetworkAccessPolicy_example.json @@ -120,9 +118,8 @@ public async Task Exists_GetJITNetworkAccessPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Get JIT network access policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetJITNetworkAccessPolicy() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/GetJitNetworkAccessPolicy_example.json @@ -151,7 +148,7 @@ public async Task GetIfExists_GetJITNetworkAccessPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -163,9 +160,8 @@ public async Task GetIfExists_GetJITNetworkAccessPolicy() } } - // Create JIT network access policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateJITNetworkAccessPolicy() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/CreateJitNetworkAccessPolicy_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_JitNetworkAccessPolicyResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_JitNetworkAccessPolicyResource.cs index 483d69ef302b6..1db6e0fe23de5 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_JitNetworkAccessPolicyResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_JitNetworkAccessPolicyResource.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_JitNetworkAccessPolicyResource { - // Get JIT network access policies on a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetJitNetworkAccessPolicies_GetJITNetworkAccessPoliciesOnASubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/GetJitNetworkAccessPoliciesSubscription_example.json @@ -46,12 +46,11 @@ public async Task GetJitNetworkAccessPolicies_GetJITNetworkAccessPoliciesOnASubs Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get JIT network access policies on a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetJitNetworkAccessPolicies_GetJITNetworkAccessPoliciesOnAResourceGroup() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/GetJitNetworkAccessPoliciesResourceGroup_example.json @@ -79,12 +78,11 @@ public async Task GetJitNetworkAccessPolicies_GetJITNetworkAccessPoliciesOnAReso Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get JIT network access policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetJITNetworkAccessPolicy() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/GetJitNetworkAccessPolicy_example.json @@ -114,9 +112,8 @@ public async Task Get_GetJITNetworkAccessPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create JIT network access policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateJITNetworkAccessPolicy() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/CreateJitNetworkAccessPolicy_example.json @@ -176,9 +173,8 @@ public async Task Update_CreateJITNetworkAccessPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a JIT network access policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAJITNetworkAccessPolicy() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/DeleteJitNetworkAccessPolicy_example.json @@ -201,12 +197,11 @@ public async Task Delete_DeleteAJITNetworkAccessPolicy() // invoke the operation await jitNetworkAccessPolicy.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Initiate an action on a JIT network access policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Initiate_InitiateAnActionOnAJITNetworkAccessPolicy() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/InitiateJitNetworkAccessPolicy_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_RegulatoryComplianceAssessmentCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_RegulatoryComplianceAssessmentCollection.cs index 7628128acbe10..2a95d13baf5bb 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_RegulatoryComplianceAssessmentCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_RegulatoryComplianceAssessmentCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_RegulatoryComplianceAssessmentCollection { - // Get all assessments mapped to selected regulatory compliance control - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllAssessmentsMappedToSelectedRegulatoryComplianceControl() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceAssessmentList_example.json @@ -48,12 +48,11 @@ public async Task GetAll_GetAllAssessmentsMappedToSelectedRegulatoryComplianceCo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get selected regulatory compliance assessment details and state - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSelectedRegulatoryComplianceAssessmentDetailsAndState() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceAssessment_example.json @@ -86,9 +85,8 @@ public async Task Get_GetSelectedRegulatoryComplianceAssessmentDetailsAndState() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get selected regulatory compliance assessment details and state - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSelectedRegulatoryComplianceAssessmentDetailsAndState() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceAssessment_example.json @@ -117,9 +115,8 @@ public async Task Exists_GetSelectedRegulatoryComplianceAssessmentDetailsAndStat Console.WriteLine($"Succeeded: {result}"); } - // Get selected regulatory compliance assessment details and state - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSelectedRegulatoryComplianceAssessmentDetailsAndState() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceAssessment_example.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetSelectedRegulatoryComplianceAssessmentDetailsAn if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_RegulatoryComplianceAssessmentResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_RegulatoryComplianceAssessmentResource.cs index 284460584e6db..34c75fdb02caa 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_RegulatoryComplianceAssessmentResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_RegulatoryComplianceAssessmentResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_RegulatoryComplianceAssessmentResource { - // Get selected regulatory compliance assessment details and state - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSelectedRegulatoryComplianceAssessmentDetailsAndState() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceAssessment_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_RegulatoryComplianceControlCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_RegulatoryComplianceControlCollection.cs index 81cc524e57a11..15ae91aa18f43 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_RegulatoryComplianceControlCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_RegulatoryComplianceControlCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_RegulatoryComplianceControlCollection { - // Get all regulatory compliance controls details and state for selected standard - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllRegulatoryComplianceControlsDetailsAndStateForSelectedStandard() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControlList_example.json @@ -47,12 +47,11 @@ public async Task GetAll_GetAllRegulatoryComplianceControlsDetailsAndStateForSel Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get selected regulatory compliance control details and state - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSelectedRegulatoryComplianceControlDetailsAndState() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControl_example.json @@ -84,9 +83,8 @@ public async Task Get_GetSelectedRegulatoryComplianceControlDetailsAndState() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get selected regulatory compliance control details and state - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSelectedRegulatoryComplianceControlDetailsAndState() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControl_example.json @@ -114,9 +112,8 @@ public async Task Exists_GetSelectedRegulatoryComplianceControlDetailsAndState() Console.WriteLine($"Succeeded: {result}"); } - // Get selected regulatory compliance control details and state - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSelectedRegulatoryComplianceControlDetailsAndState() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControl_example.json @@ -144,7 +141,7 @@ public async Task GetIfExists_GetSelectedRegulatoryComplianceControlDetailsAndSt if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_RegulatoryComplianceControlResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_RegulatoryComplianceControlResource.cs index ad0311ab9c94c..cd722d53efe41 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_RegulatoryComplianceControlResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_RegulatoryComplianceControlResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_RegulatoryComplianceControlResource { - // Get selected regulatory compliance control details and state - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSelectedRegulatoryComplianceControlDetailsAndState() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceControl_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_RegulatoryComplianceStandardCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_RegulatoryComplianceStandardCollection.cs index 1d4375ea06c51..a92f524870b65 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_RegulatoryComplianceStandardCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_RegulatoryComplianceStandardCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_RegulatoryComplianceStandardCollection { - // Get all supported regulatory compliance standards details and state - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllSupportedRegulatoryComplianceStandardsDetailsAndState() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceStandardList_example.json @@ -47,12 +47,11 @@ public async Task GetAll_GetAllSupportedRegulatoryComplianceStandardsDetailsAndS Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get selected regulatory compliance standard details and state - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSelectedRegulatoryComplianceStandardDetailsAndState() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceStandard_example.json @@ -83,9 +82,8 @@ public async Task Get_GetSelectedRegulatoryComplianceStandardDetailsAndState() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get selected regulatory compliance standard details and state - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSelectedRegulatoryComplianceStandardDetailsAndState() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceStandard_example.json @@ -112,9 +110,8 @@ public async Task Exists_GetSelectedRegulatoryComplianceStandardDetailsAndState( Console.WriteLine($"Succeeded: {result}"); } - // Get selected regulatory compliance standard details and state - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSelectedRegulatoryComplianceStandardDetailsAndState() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceStandard_example.json @@ -141,7 +138,7 @@ public async Task GetIfExists_GetSelectedRegulatoryComplianceStandardDetailsAndS if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_RegulatoryComplianceStandardResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_RegulatoryComplianceStandardResource.cs index b837f8fa0e413..4e149cbe9f497 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_RegulatoryComplianceStandardResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_RegulatoryComplianceStandardResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_RegulatoryComplianceStandardResource { - // Get selected regulatory compliance standard details and state - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSelectedRegulatoryComplianceStandardDetailsAndState() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/RegulatoryCompliance/getRegulatoryComplianceStandard_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs index c9a23039dd7f3..b89b54a221067 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_ResourceGroupResourceExtensions { - // Get allowed connections - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllowedConnection_GetAllowedConnections() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/AllowedConnections/GetAllowedConnections_example.json @@ -44,9 +44,8 @@ public async Task GetAllowedConnection_GetAllowedConnections() Console.WriteLine($"Succeeded: {result}"); } - // Get discovered security solution from a security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDiscoveredSecuritySolution_GetDiscoveredSecuritySolutionFromASecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/DiscoveredSecuritySolutions/GetDiscoveredSecuritySolutionResourceGroupLocation_example.json @@ -72,9 +71,8 @@ public async Task GetDiscoveredSecuritySolution_GetDiscoveredSecuritySolutionFro Console.WriteLine($"Succeeded: {result}"); } - // Get external security solution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExternalSecuritySolution_GetExternalSecuritySolution() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ExternalSecuritySolutions/GetExternalSecuritySolution_example.json @@ -100,9 +98,8 @@ public async Task GetExternalSecuritySolution_GetExternalSecuritySolution() Console.WriteLine($"Succeeded: {result}"); } - // Get a security solution from a security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecuritySolution_GetASecuritySolutionFromASecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/SecuritySolutions/GetSecuritySolutionsResourceGroupLocation_example.json @@ -128,9 +125,8 @@ public async Task GetSecuritySolution_GetASecuritySolutionFromASecurityDataLocat Console.WriteLine($"Succeeded: {result}"); } - // Get topology - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTopology_GetTopology() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/Topology/GetTopology_example.json @@ -156,9 +152,8 @@ public async Task GetTopology_GetTopology() Console.WriteLine($"Succeeded: {result}"); } - // Get security alerts on a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAlertsByResourceGroup_GetSecurityAlertsOnAResourceGroup() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-01-01/examples/Alerts/GetAlertsResourceGroup_example.json @@ -183,7 +178,7 @@ public async Task GetAlertsByResourceGroup_GetSecurityAlertsOnAResourceGroup() Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ResourceGroupSecurityAlertCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ResourceGroupSecurityAlertCollection.cs index de9f48ddb6666..67b0130b73c39 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ResourceGroupSecurityAlertCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ResourceGroupSecurityAlertCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_ResourceGroupSecurityAlertCollection { - // Get security alerts on a resource group from a security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetSecurityAlertsOnAResourceGroupFromASecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-01-01/examples/Alerts/GetAlertsResourceGroupLocation_example.json @@ -49,12 +49,11 @@ public async Task GetAll_GetSecurityAlertsOnAResourceGroupFromASecurityDataLocat Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get security alert on a resource group from a security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityAlertOnAResourceGroupFromASecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-01-01/examples/Alerts/GetAlertResourceGroupLocation_example.json @@ -87,9 +86,8 @@ public async Task Get_GetSecurityAlertOnAResourceGroupFromASecurityDataLocation( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get security alert on a resource group from a security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSecurityAlertOnAResourceGroupFromASecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-01-01/examples/Alerts/GetAlertResourceGroupLocation_example.json @@ -118,9 +116,8 @@ public async Task Exists_GetSecurityAlertOnAResourceGroupFromASecurityDataLocati Console.WriteLine($"Succeeded: {result}"); } - // Get security alert on a resource group from a security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSecurityAlertOnAResourceGroupFromASecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-01-01/examples/Alerts/GetAlertResourceGroupLocation_example.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetSecurityAlertOnAResourceGroupFromASecurityDataL if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ResourceGroupSecurityAlertResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ResourceGroupSecurityAlertResource.cs index 169f5a820c72d..4fb0f6a28d6cf 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ResourceGroupSecurityAlertResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ResourceGroupSecurityAlertResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_ResourceGroupSecurityAlertResource { - // Get security alert on a resource group from a security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityAlertOnAResourceGroupFromASecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-01-01/examples/Alerts/GetAlertResourceGroupLocation_example.json @@ -46,9 +46,8 @@ public async Task Get_GetSecurityAlertOnAResourceGroupFromASecurityDataLocation( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update security alert state on a resource group from a security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Resolve_UpdateSecurityAlertStateOnAResourceGroupFromASecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-01-01/examples/Alerts/UpdateAlertResourceGroupLocation_resolve_example.json @@ -71,12 +70,11 @@ public async Task Resolve_UpdateSecurityAlertStateOnAResourceGroupFromASecurityD // invoke the operation await resourceGroupSecurityAlert.ResolveAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update security alert state on a resource group from a security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Dismiss_UpdateSecurityAlertStateOnAResourceGroupFromASecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-01-01/examples/Alerts/UpdateAlertResourceGroupLocation_dismiss_example.json @@ -99,12 +97,11 @@ public async Task Dismiss_UpdateSecurityAlertStateOnAResourceGroupFromASecurityD // invoke the operation await resourceGroupSecurityAlert.DismissAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update security alert state on a resource group from a security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Activate_UpdateSecurityAlertStateOnAResourceGroupFromASecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-01-01/examples/Alerts/UpdateAlertResourceGroupLocation_activate_example.json @@ -127,12 +124,11 @@ public async Task Activate_UpdateSecurityAlertStateOnAResourceGroupFromASecurity // invoke the operation await resourceGroupSecurityAlert.ActivateAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update security alert state on a resource group from a security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateSatateToInProgress_UpdateSecurityAlertStateOnAResourceGroupFromASecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-01-01/examples/Alerts/UpdateAlertResourceGroupLocation_inProgress_example.json @@ -155,7 +151,7 @@ public async Task UpdateSatateToInProgress_UpdateSecurityAlertStateOnAResourceGr // invoke the operation await resourceGroupSecurityAlert.UpdateSatateToInProgressAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ResourceGroupSecurityTaskCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ResourceGroupSecurityTaskCollection.cs index a1bd576b6188b..0c7e6f7b0440d 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ResourceGroupSecurityTaskCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ResourceGroupSecurityTaskCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_ResourceGroupSecurityTaskCollection { - // Get security recommendation tasks in a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetSecurityRecommendationTasksInAResourceGroup() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/Tasks/GetTasksResourceGroupLocation_example.json @@ -49,12 +49,11 @@ public async Task GetAll_GetSecurityRecommendationTasksInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get security recommendation task in a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityRecommendationTaskInAResourceGroup() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/Tasks/GetTaskResourceGroupLocation_example.json @@ -87,9 +86,8 @@ public async Task Get_GetSecurityRecommendationTaskInAResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get security recommendation task in a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSecurityRecommendationTaskInAResourceGroup() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/Tasks/GetTaskResourceGroupLocation_example.json @@ -118,9 +116,8 @@ public async Task Exists_GetSecurityRecommendationTaskInAResourceGroup() Console.WriteLine($"Succeeded: {result}"); } - // Get security recommendation task in a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSecurityRecommendationTaskInAResourceGroup() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/Tasks/GetTaskResourceGroupLocation_example.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetSecurityRecommendationTaskInAResourceGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ResourceGroupSecurityTaskResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ResourceGroupSecurityTaskResource.cs index 81878eb524829..3ac9cfbb79ddf 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ResourceGroupSecurityTaskResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ResourceGroupSecurityTaskResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_ResourceGroupSecurityTaskResource { - // Get security recommendation task in a resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityRecommendationTaskInAResourceGroup() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/Tasks/GetTaskResourceGroupLocation_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecureScoreCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecureScoreCollection.cs index 30179f080c0dd..6b4f6947479a9 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecureScoreCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecureScoreCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecureScoreCollection { - // List secure scores - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSecureScores() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/secureScores/ListSecureScores_example.json @@ -47,12 +47,11 @@ public async Task GetAll_ListSecureScores() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get single secure score - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSingleSecureScore() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/secureScores/GetSecureScoresSingle_example.json @@ -83,9 +82,8 @@ public async Task Get_GetSingleSecureScore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get single secure score - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSingleSecureScore() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/secureScores/GetSecureScoresSingle_example.json @@ -112,9 +110,8 @@ public async Task Exists_GetSingleSecureScore() Console.WriteLine($"Succeeded: {result}"); } - // Get single secure score - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSingleSecureScore() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/secureScores/GetSecureScoresSingle_example.json @@ -141,7 +138,7 @@ public async Task GetIfExists_GetSingleSecureScore() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecureScoreResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecureScoreResource.cs index d67b2a11c23bd..2494542940907 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecureScoreResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecureScoreResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecureScoreResource { - // Get single secure score - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSingleSecureScore() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/secureScores/GetSecureScoresSingle_example.json @@ -45,9 +45,8 @@ public async Task Get_GetSingleSecureScore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get security controls and their current score for the specified initiative - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecureScoreControls_GetSecurityControlsAndTheirCurrentScoreForTheSpecifiedInitiative() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/secureScores/ListSecureScoreControlsForName_builtin_example.json @@ -71,12 +70,11 @@ public async Task GetSecureScoreControls_GetSecurityControlsAndTheirCurrentScore Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get security controls and their current score for the specified initiative with the expand parameter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecureScoreControls_GetSecurityControlsAndTheirCurrentScoreForTheSpecifiedInitiativeWithTheExpandParameter() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/secureScores/ListSecureScoreControlsForNameWithExpand_builtin_example.json @@ -101,7 +99,7 @@ public async Task GetSecureScoreControls_GetSecurityControlsAndTheirCurrentScore Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityAlertsSuppressionRuleCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityAlertsSuppressionRuleCollection.cs index d7afdfd02b180..d1c8542af5e01 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityAlertsSuppressionRuleCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityAlertsSuppressionRuleCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityAlertsSuppressionRuleCollection { - // Get suppression alert rule for subscription, filtered by AlertType - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetSuppressionAlertRuleForSubscriptionFilteredByAlertType() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AlertsSuppressionRules/GetAlertsSuppressionRulesWithAlertType_example.json @@ -48,12 +48,11 @@ public async Task GetAll_GetSuppressionAlertRuleForSubscriptionFilteredByAlertTy Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get suppression rules for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetSuppressionRulesForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AlertsSuppressionRules/GetAlertsSuppressionRules_example.json @@ -83,12 +82,11 @@ public async Task GetAll_GetSuppressionRulesForSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get suppression alert rule for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSuppressionAlertRuleForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AlertsSuppressionRules/GetAlertsSuppressionRule_example.json @@ -119,9 +117,8 @@ public async Task Get_GetSuppressionAlertRuleForSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get suppression alert rule for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSuppressionAlertRuleForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AlertsSuppressionRules/GetAlertsSuppressionRule_example.json @@ -148,9 +145,8 @@ public async Task Exists_GetSuppressionAlertRuleForSubscription() Console.WriteLine($"Succeeded: {result}"); } - // Get suppression alert rule for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSuppressionAlertRuleForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AlertsSuppressionRules/GetAlertsSuppressionRule_example.json @@ -177,7 +173,7 @@ public async Task GetIfExists_GetSuppressionAlertRuleForSubscription() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -189,9 +185,8 @@ public async Task GetIfExists_GetSuppressionAlertRuleForSubscription() } } - // Update or create suppression rule for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateOrCreateSuppressionRuleForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AlertsSuppressionRules/PutAlertsSuppressionRule_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityAlertsSuppressionRuleResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityAlertsSuppressionRuleResource.cs index 552be9cfb0a75..25ad1f41b5a8e 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityAlertsSuppressionRuleResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityAlertsSuppressionRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityAlertsSuppressionRuleResource { - // Get suppression alert rule for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSuppressionAlertRuleForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AlertsSuppressionRules/GetAlertsSuppressionRule_example.json @@ -45,9 +45,8 @@ public async Task Get_GetSuppressionAlertRuleForSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update or create suppression rule for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateOrCreateSuppressionRuleForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AlertsSuppressionRules/PutAlertsSuppressionRule_example.json @@ -94,9 +93,8 @@ public async Task Update_UpdateOrCreateSuppressionRuleForSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete suppression rule data for a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSuppressionRuleDataForASubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/AlertsSuppressionRules/DeleteAlertsSuppressionRule_example.json @@ -117,7 +115,7 @@ public async Task Delete_DeleteSuppressionRuleDataForASubscription() // invoke the operation await securityAlertsSuppressionRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityAssessmentCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityAssessmentCollection.cs index d6bf4cd47bffa..a2cbbecd18488 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityAssessmentCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityAssessmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityAssessmentCollection { - // Get security recommendation task from security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityRecommendationTaskFromSecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2021-06-01/examples/Assessments/GetAssessment_example.json @@ -47,9 +47,8 @@ public async Task Get_GetSecurityRecommendationTaskFromSecurityDataLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get security recommendation task from security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSecurityRecommendationTaskFromSecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2021-06-01/examples/Assessments/GetAssessment_example.json @@ -75,9 +74,8 @@ public async Task Exists_GetSecurityRecommendationTaskFromSecurityDataLocation() Console.WriteLine($"Succeeded: {result}"); } - // Get security recommendation task from security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSecurityRecommendationTaskFromSecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2021-06-01/examples/Assessments/GetAssessment_example.json @@ -103,7 +101,7 @@ public async Task GetIfExists_GetSecurityRecommendationTaskFromSecurityDataLocat if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -115,9 +113,8 @@ public async Task GetIfExists_GetSecurityRecommendationTaskFromSecurityDataLocat } } - // Get security recommendation task from security data location with expand parameter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityRecommendationTaskFromSecurityDataLocationWithExpandParameter() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2021-06-01/examples/Assessments/GetAssessmentWithExpand_example.json @@ -148,9 +145,8 @@ public async Task Get_GetSecurityRecommendationTaskFromSecurityDataLocationWithE Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get security recommendation task from security data location with expand parameter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSecurityRecommendationTaskFromSecurityDataLocationWithExpandParameter() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2021-06-01/examples/Assessments/GetAssessmentWithExpand_example.json @@ -177,9 +173,8 @@ public async Task Exists_GetSecurityRecommendationTaskFromSecurityDataLocationWi Console.WriteLine($"Succeeded: {result}"); } - // Get security recommendation task from security data location with expand parameter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSecurityRecommendationTaskFromSecurityDataLocationWithExpandParameter() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2021-06-01/examples/Assessments/GetAssessmentWithExpand_example.json @@ -206,7 +201,7 @@ public async Task GetIfExists_GetSecurityRecommendationTaskFromSecurityDataLocat if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -218,9 +213,8 @@ public async Task GetIfExists_GetSecurityRecommendationTaskFromSecurityDataLocat } } - // Create security recommendation task on a resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSecurityRecommendationTaskOnAResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2021-06-01/examples/Assessments/PutAssessment_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityAssessmentResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityAssessmentResource.cs index 4d86b0de5e6cd..cc01197d4628e 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityAssessmentResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityAssessmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityAssessmentResource { - // Get security recommendation task from security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityRecommendationTaskFromSecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2021-06-01/examples/Assessments/GetAssessment_example.json @@ -45,9 +45,8 @@ public async Task Get_GetSecurityRecommendationTaskFromSecurityDataLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get security recommendation task from security data location with expand parameter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityRecommendationTaskFromSecurityDataLocationWithExpandParameter() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2021-06-01/examples/Assessments/GetAssessmentWithExpand_example.json @@ -76,9 +75,8 @@ public async Task Get_GetSecurityRecommendationTaskFromSecurityDataLocationWithE Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create security recommendation task on a resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateSecurityRecommendationTaskOnAResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2021-06-01/examples/Assessments/PutAssessment_example.json @@ -112,9 +110,8 @@ public async Task Update_CreateSecurityRecommendationTaskOnAResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a security recommendation task on a resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteASecurityRecommendationTaskOnAResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2021-06-01/examples/Assessments/DeleteAssessment_example.json @@ -135,7 +132,7 @@ public async Task Delete_DeleteASecurityRecommendationTaskOnAResource() // invoke the operation await securityAssessment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityAutomationCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityAutomationCollection.cs index fbf4443bef6ea..90e74ebf63340 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityAutomationCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityAutomationCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityAutomationCollection { - // List all security automations of a specified resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllSecurityAutomationsOfASpecifiedResourceGroup() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsResourceGroup_example.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAllSecurityAutomationsOfASpecifiedResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Retrieve a security automation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveASecurityAutomation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json @@ -86,9 +85,8 @@ public async Task Get_RetrieveASecurityAutomation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a security automation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RetrieveASecurityAutomation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json @@ -116,9 +114,8 @@ public async Task Exists_RetrieveASecurityAutomation() Console.WriteLine($"Succeeded: {result}"); } - // Retrieve a security automation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RetrieveASecurityAutomation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json @@ -146,7 +143,7 @@ public async Task GetIfExists_RetrieveASecurityAutomation() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_RetrieveASecurityAutomation() } } - // Create or update a security automation for all assessments (including all severities) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateASecurityAutomationForAllAssessmentsIncludingAllSeverities() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomationAllAssessments_example.json @@ -225,9 +221,8 @@ public async Task CreateOrUpdate_CreateOrUpdateASecurityAutomationForAllAssessme Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a security automation for all high severity assessments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateASecurityAutomationForAllHighSeverityAssessments() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomationHighSeverityAssessments_example.json @@ -308,9 +303,8 @@ public async Task CreateOrUpdate_CreateOrUpdateASecurityAutomationForAllHighSeve Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Disable or enable a security automation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DisableOrEnableASecurityAutomation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutDisableAutomation_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityAutomationResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityAutomationResource.cs index 1599785a581e1..913c2eb014baa 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityAutomationResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityAutomationResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityAutomationResource { - // List all security automations of a specified subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecurityAutomations_ListAllSecurityAutomationsOfASpecifiedSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationsSubscription_example.json @@ -45,12 +45,11 @@ public async Task GetSecurityAutomations_ListAllSecurityAutomationsOfASpecifiedS Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Retrieve a security automation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveASecurityAutomation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/GetAutomationResourceGroup_example.json @@ -79,9 +78,8 @@ public async Task Get_RetrieveASecurityAutomation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a security automation for all assessments (including all severities) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateASecurityAutomationForAllAssessmentsIncludingAllSeverities() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomationAllAssessments_example.json @@ -143,9 +141,8 @@ public async Task Update_CreateOrUpdateASecurityAutomationForAllAssessmentsInclu Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a security automation for all high severity assessments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateASecurityAutomationForAllHighSeverityAssessments() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutAutomationHighSeverityAssessments_example.json @@ -223,9 +220,8 @@ public async Task Update_CreateOrUpdateASecurityAutomationForAllHighSeverityAsse Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Disable or enable a security automation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DisableOrEnableASecurityAutomation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/PutDisableAutomation_example.json @@ -303,9 +299,8 @@ public async Task Update_DisableOrEnableASecurityAutomation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a security automation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteASecurityAutomation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/DeleteAutomation_example.json @@ -327,12 +322,11 @@ public async Task Delete_DeleteASecurityAutomation() // invoke the operation await securityAutomation.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Validate the security automation model before create or update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Validate_ValidateTheSecurityAutomationModelBeforeCreateOrUpdate() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/Automations/ValidateAutomation_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCenterApiCollectionCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCenterApiCollectionCollection.cs index e0bc93adeeb81..5ed8a8a6ee287 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCenterApiCollectionCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCenterApiCollectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityCenterApiCollectionCollection { - // Gets a list of Azure API Management APIs that have been onboarded to Microsoft Defender for APIs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsAListOfAzureAPIManagementAPIsThatHaveBeenOnboardedToMicrosoftDefenderForAPIs() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-11-15/examples/ApiCollections/APICollections_ListByAzureApiManagementService_example.json @@ -49,12 +49,11 @@ public async Task GetAll_GetsAListOfAzureAPIManagementAPIsThatHaveBeenOnboardedT Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets an Azure API Management API if it has been onboarded to Microsoft Defender for APIs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAnAzureAPIManagementAPIIfItHasBeenOnboardedToMicrosoftDefenderForAPIs() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-11-15/examples/ApiCollections/APICollections_GetByAzureApiManagementService_example.json @@ -87,9 +86,8 @@ public async Task Get_GetsAnAzureAPIManagementAPIIfItHasBeenOnboardedToMicrosoft Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets an Azure API Management API if it has been onboarded to Microsoft Defender for APIs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAnAzureAPIManagementAPIIfItHasBeenOnboardedToMicrosoftDefenderForAPIs() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-11-15/examples/ApiCollections/APICollections_GetByAzureApiManagementService_example.json @@ -118,9 +116,8 @@ public async Task Exists_GetsAnAzureAPIManagementAPIIfItHasBeenOnboardedToMicros Console.WriteLine($"Succeeded: {result}"); } - // Gets an Azure API Management API if it has been onboarded to Microsoft Defender for APIs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAnAzureAPIManagementAPIIfItHasBeenOnboardedToMicrosoftDefenderForAPIs() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-11-15/examples/ApiCollections/APICollections_GetByAzureApiManagementService_example.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetsAnAzureAPIManagementAPIIfItHasBeenOnboardedToM if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetsAnAzureAPIManagementAPIIfItHasBeenOnboardedToM } } - // Onboard an Azure API Management API to Microsoft Defender for APIs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_OnboardAnAzureAPIManagementAPIToMicrosoftDefenderForAPIs() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-11-15/examples/ApiCollections/APICollections_OnboardAzureApiManagementApi_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCenterApiCollectionResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCenterApiCollectionResource.cs index c5441af9c50fe..980ab074d2bae 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCenterApiCollectionResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCenterApiCollectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityCenterApiCollectionResource { - // Gets a list of API collections within a subscription that have been onboarded to Microsoft Defender for APIs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecurityCenterApiCollections_GetsAListOfAPICollectionsWithinASubscriptionThatHaveBeenOnboardedToMicrosoftDefenderForAPIs() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-11-15/examples/ApiCollections/APICollections_ListBySubscription_example.json @@ -44,12 +44,11 @@ public async Task GetSecurityCenterApiCollections_GetsAListOfAPICollectionsWithi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a list of API collections within a resource group that have been onboarded to Microsoft Defender for APIs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecurityCenterApiCollections_GetsAListOfAPICollectionsWithinAResourceGroupThatHaveBeenOnboardedToMicrosoftDefenderForAPIs() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-11-15/examples/ApiCollections/APICollections_ListByResourceGroup_example.json @@ -77,12 +76,11 @@ public async Task GetSecurityCenterApiCollections_GetsAListOfAPICollectionsWithi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets an Azure API Management API if it has been onboarded to Microsoft Defender for APIs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAnAzureAPIManagementAPIIfItHasBeenOnboardedToMicrosoftDefenderForAPIs() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-11-15/examples/ApiCollections/APICollections_GetByAzureApiManagementService_example.json @@ -112,9 +110,8 @@ public async Task Get_GetsAnAzureAPIManagementAPIIfItHasBeenOnboardedToMicrosoft Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Onboard an Azure API Management API to Microsoft Defender for APIs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_OnboardAnAzureAPIManagementAPIToMicrosoftDefenderForAPIs() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-11-15/examples/ApiCollections/APICollections_OnboardAzureApiManagementApi_example.json @@ -145,9 +142,8 @@ public async Task Update_OnboardAnAzureAPIManagementAPIToMicrosoftDefenderForAPI Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Offboard an Azure API Management API from Microsoft Defender for APIs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_OffboardAnAzureAPIManagementAPIFromMicrosoftDefenderForAPIs() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-11-15/examples/ApiCollections/APICollections_OffboardAzureApiManagementApi_example.json @@ -170,7 +166,7 @@ public async Task Delete_OffboardAnAzureAPIManagementAPIFromMicrosoftDefenderFor // invoke the operation await securityCenterApiCollection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCenterLocationCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCenterLocationCollection.cs index 23fd0fda12b98..948de348e7d9c 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCenterLocationCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCenterLocationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityCenterLocationCollection { - // Get security data locations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetSecurityDataLocations() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/Locations/GetLocations_example.json @@ -47,12 +47,11 @@ public async Task GetAll_GetSecurityDataLocations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/Locations/GetLocation_example.json @@ -83,9 +82,8 @@ public async Task Get_GetSecurityDataLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/Locations/GetLocation_example.json @@ -112,9 +110,8 @@ public async Task Exists_GetSecurityDataLocation() Console.WriteLine($"Succeeded: {result}"); } - // Get security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/Locations/GetLocation_example.json @@ -141,7 +138,7 @@ public async Task GetIfExists_GetSecurityDataLocation() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCenterLocationResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCenterLocationResource.cs index c8770e1e01608..a34ba637c58c7 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCenterLocationResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCenterLocationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityCenterLocationResource { - // Get security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/Locations/GetLocation_example.json @@ -45,9 +45,8 @@ public async Task Get_GetSecurityDataLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get allowed connections on a subscription from security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllowedConnectionsByHomeRegion_GetAllowedConnectionsOnASubscriptionFromSecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/AllowedConnections/GetAllowedConnectionsSubscriptionLocation_example.json @@ -71,12 +70,11 @@ public async Task GetAllowedConnectionsByHomeRegion_GetAllowedConnectionsOnASubs Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get discovered security solutions from a security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDiscoveredSecuritySolutionsByHomeRegion_GetDiscoveredSecuritySolutionsFromASecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/DiscoveredSecuritySolutions/GetDiscoveredSecuritySolutionsSubscriptionLocation_example.json @@ -100,12 +98,11 @@ public async Task GetDiscoveredSecuritySolutionsByHomeRegion_GetDiscoveredSecuri Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get external security solutions on a subscription from security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExternalSecuritySolutionsByHomeRegion_GetExternalSecuritySolutionsOnASubscriptionFromSecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ExternalSecuritySolutions/GetExternalSecuritySolutionsSubscriptionLocation_example.json @@ -129,12 +126,11 @@ public async Task GetExternalSecuritySolutionsByHomeRegion_GetExternalSecuritySo Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get JIT network access policies on a subscription from a security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetJitNetworkAccessPoliciesByRegion_GetJITNetworkAccessPoliciesOnASubscriptionFromASecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/JitNetworkAccessPolicies/GetJitNetworkAccessPoliciesSubscriptionLocation_example.json @@ -162,12 +158,11 @@ public async Task GetJitNetworkAccessPoliciesByRegion_GetJITNetworkAccessPolicie Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get security solutions from a security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllSecuritySolutionsReferenceDataByHomeRegion_GetSecuritySolutionsFromASecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/SecuritySolutionsReferenceData/GetSecuritySolutionsReferenceDataSubscriptionLocation_example.json @@ -191,12 +186,11 @@ public async Task GetAllSecuritySolutionsReferenceDataByHomeRegion_GetSecuritySo Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get topology on a subscription from security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTopologiesByHomeRegion_GetTopologyOnASubscriptionFromSecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/Topology/GetTopologySubscriptionLocation_example.json @@ -220,7 +214,7 @@ public async Task GetTopologiesByHomeRegion_GetTopologyOnASubscriptionFromSecuri Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCenterPricingCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCenterPricingCollection.cs index 6f06d9b0509c1..d8812c7b18de5 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCenterPricingCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCenterPricingCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityCenterPricingCollection { - // Get pricings on subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetPricingsOnSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-01-01/examples/Pricings/ListPricings_example.json @@ -48,12 +48,11 @@ public async Task GetAll_GetPricingsOnSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get pricings on subscription - CloudPosture plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPricingsOnSubscriptionCloudPosturePlan() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-01-01/examples/Pricings/GetPricingByNameCloudPosture_example.json @@ -84,9 +83,8 @@ public async Task Get_GetPricingsOnSubscriptionCloudPosturePlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get pricings on subscription - CloudPosture plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPricingsOnSubscriptionCloudPosturePlan() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-01-01/examples/Pricings/GetPricingByNameCloudPosture_example.json @@ -113,9 +111,8 @@ public async Task Exists_GetPricingsOnSubscriptionCloudPosturePlan() Console.WriteLine($"Succeeded: {result}"); } - // Get pricings on subscription - CloudPosture plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPricingsOnSubscriptionCloudPosturePlan() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-01-01/examples/Pricings/GetPricingByNameCloudPosture_example.json @@ -142,7 +139,7 @@ public async Task GetIfExists_GetPricingsOnSubscriptionCloudPosturePlan() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -154,9 +151,8 @@ public async Task GetIfExists_GetPricingsOnSubscriptionCloudPosturePlan() } } - // Get pricings on subscription - Containers plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPricingsOnSubscriptionContainersPlan() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-01-01/examples/Pricings/GetPricingByNameContainers_example.json @@ -187,9 +183,8 @@ public async Task Get_GetPricingsOnSubscriptionContainersPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get pricings on subscription - Containers plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPricingsOnSubscriptionContainersPlan() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-01-01/examples/Pricings/GetPricingByNameContainers_example.json @@ -216,9 +211,8 @@ public async Task Exists_GetPricingsOnSubscriptionContainersPlan() Console.WriteLine($"Succeeded: {result}"); } - // Get pricings on subscription - Containers plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPricingsOnSubscriptionContainersPlan() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-01-01/examples/Pricings/GetPricingByNameContainers_example.json @@ -245,7 +239,7 @@ public async Task GetIfExists_GetPricingsOnSubscriptionContainersPlan() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -257,9 +251,8 @@ public async Task GetIfExists_GetPricingsOnSubscriptionContainersPlan() } } - // Get pricings on subscription - Dns plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPricingsOnSubscriptionDnsPlan() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-01-01/examples/Pricings/GetPricingByNameDns_example.json @@ -290,9 +283,8 @@ public async Task Get_GetPricingsOnSubscriptionDnsPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get pricings on subscription - Dns plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPricingsOnSubscriptionDnsPlan() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-01-01/examples/Pricings/GetPricingByNameDns_example.json @@ -319,9 +311,8 @@ public async Task Exists_GetPricingsOnSubscriptionDnsPlan() Console.WriteLine($"Succeeded: {result}"); } - // Get pricings on subscription - Dns plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPricingsOnSubscriptionDnsPlan() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-01-01/examples/Pricings/GetPricingByNameDns_example.json @@ -348,7 +339,7 @@ public async Task GetIfExists_GetPricingsOnSubscriptionDnsPlan() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -360,9 +351,8 @@ public async Task GetIfExists_GetPricingsOnSubscriptionDnsPlan() } } - // Get pricings on subscription - StorageAccounts plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPricingsOnSubscriptionStorageAccountsPlan() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-01-01/examples/Pricings/GetPricingByNameStorageAccounts_example.json @@ -393,9 +383,8 @@ public async Task Get_GetPricingsOnSubscriptionStorageAccountsPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get pricings on subscription - StorageAccounts plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPricingsOnSubscriptionStorageAccountsPlan() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-01-01/examples/Pricings/GetPricingByNameStorageAccounts_example.json @@ -422,9 +411,8 @@ public async Task Exists_GetPricingsOnSubscriptionStorageAccountsPlan() Console.WriteLine($"Succeeded: {result}"); } - // Get pricings on subscription - StorageAccounts plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPricingsOnSubscriptionStorageAccountsPlan() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-01-01/examples/Pricings/GetPricingByNameStorageAccounts_example.json @@ -451,7 +439,7 @@ public async Task GetIfExists_GetPricingsOnSubscriptionStorageAccountsPlan() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -463,9 +451,8 @@ public async Task GetIfExists_GetPricingsOnSubscriptionStorageAccountsPlan() } } - // Get pricings on subscription - VirtualMachines plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPricingsOnSubscriptionVirtualMachinesPlan() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-01-01/examples/Pricings/GetPricingByNameVirtualMachines_example.json @@ -496,9 +483,8 @@ public async Task Get_GetPricingsOnSubscriptionVirtualMachinesPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get pricings on subscription - VirtualMachines plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetPricingsOnSubscriptionVirtualMachinesPlan() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-01-01/examples/Pricings/GetPricingByNameVirtualMachines_example.json @@ -525,9 +511,8 @@ public async Task Exists_GetPricingsOnSubscriptionVirtualMachinesPlan() Console.WriteLine($"Succeeded: {result}"); } - // Get pricings on subscription - VirtualMachines plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetPricingsOnSubscriptionVirtualMachinesPlan() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-01-01/examples/Pricings/GetPricingByNameVirtualMachines_example.json @@ -554,7 +539,7 @@ public async Task GetIfExists_GetPricingsOnSubscriptionVirtualMachinesPlan() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -566,9 +551,8 @@ public async Task GetIfExists_GetPricingsOnSubscriptionVirtualMachinesPlan() } } - // Update pricing on subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdatePricingOnSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-01-01/examples/Pricings/PutPricingByName_example.json @@ -604,9 +588,8 @@ public async Task CreateOrUpdate_UpdatePricingOnSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update pricing on subscription - partial success - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdatePricingOnSubscriptionPartialSuccess() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-01-01/examples/Pricings/PutPricingByNamePartialSuccess_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCenterPricingResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCenterPricingResource.cs index 3adc2f687f0ee..8914a415899f4 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCenterPricingResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCenterPricingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityCenterPricingResource { - // Get pricings on subscription - CloudPosture plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPricingsOnSubscriptionCloudPosturePlan() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-01-01/examples/Pricings/GetPricingByNameCloudPosture_example.json @@ -45,9 +45,8 @@ public async Task Get_GetPricingsOnSubscriptionCloudPosturePlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get pricings on subscription - Containers plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPricingsOnSubscriptionContainersPlan() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-01-01/examples/Pricings/GetPricingByNameContainers_example.json @@ -75,9 +74,8 @@ public async Task Get_GetPricingsOnSubscriptionContainersPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get pricings on subscription - Dns plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPricingsOnSubscriptionDnsPlan() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-01-01/examples/Pricings/GetPricingByNameDns_example.json @@ -105,9 +103,8 @@ public async Task Get_GetPricingsOnSubscriptionDnsPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get pricings on subscription - StorageAccounts plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPricingsOnSubscriptionStorageAccountsPlan() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-01-01/examples/Pricings/GetPricingByNameStorageAccounts_example.json @@ -135,9 +132,8 @@ public async Task Get_GetPricingsOnSubscriptionStorageAccountsPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get pricings on subscription - VirtualMachines plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetPricingsOnSubscriptionVirtualMachinesPlan() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-01-01/examples/Pricings/GetPricingByNameVirtualMachines_example.json @@ -165,9 +161,8 @@ public async Task Get_GetPricingsOnSubscriptionVirtualMachinesPlan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update pricing on subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatePricingOnSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-01-01/examples/Pricings/PutPricingByName_example.json @@ -200,9 +195,8 @@ public async Task Update_UpdatePricingOnSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update pricing on subscription - partial success - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatePricingOnSubscriptionPartialSuccess() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-01-01/examples/Pricings/PutPricingByNamePartialSuccess_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCloudConnectorCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCloudConnectorCollection.cs index 645e8afc5b50a..80f98296fd847 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCloudConnectorCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCloudConnectorCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityCloudConnectorCollection { - // Get all cloud accounts connectors of a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllCloudAccountsConnectorsOfASubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/Connectors/GetListConnectorSubscription_example.json @@ -48,12 +48,11 @@ public async Task GetAll_GetAllCloudAccountsConnectorsOfASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Details of a specific cloud account connector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DetailsOfASpecificCloudAccountConnector() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/Connectors/GetConnectorSubscription_example.json @@ -84,9 +83,8 @@ public async Task Get_DetailsOfASpecificCloudAccountConnector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Details of a specific cloud account connector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DetailsOfASpecificCloudAccountConnector() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/Connectors/GetConnectorSubscription_example.json @@ -113,9 +111,8 @@ public async Task Exists_DetailsOfASpecificCloudAccountConnector() Console.WriteLine($"Succeeded: {result}"); } - // Details of a specific cloud account connector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DetailsOfASpecificCloudAccountConnector() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/Connectors/GetConnectorSubscription_example.json @@ -142,7 +139,7 @@ public async Task GetIfExists_DetailsOfASpecificCloudAccountConnector() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -154,9 +151,8 @@ public async Task GetIfExists_DetailsOfASpecificCloudAccountConnector() } } - // AwsAssumeRole - Create a cloud account connector for a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AwsAssumeRoleCreateACloudAccountConnectorForASubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/Connectors/CreateUpdateAwsAssumeRoleConnectorSubscription_example.json @@ -207,9 +203,8 @@ public async Task CreateOrUpdate_AwsAssumeRoleCreateACloudAccountConnectorForASu Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AwsCred - Create a cloud account connector for a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AwsCredCreateACloudAccountConnectorForASubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/Connectors/CreateUpdateAwsCredConnectorSubscription_example.json @@ -260,9 +255,8 @@ public async Task CreateOrUpdate_AwsCredCreateACloudAccountConnectorForASubscrip Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // gcpCredentials - Create a cloud account connector for a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_GcpCredentialsCreateACloudAccountConnectorForASubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/Connectors/CreateUpdateGcpCredentialsConnectorSubscription_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCloudConnectorResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCloudConnectorResource.cs index fbc5bbcdb179d..1efcc5988ea5c 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCloudConnectorResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityCloudConnectorResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityCloudConnectorResource { - // Details of a specific cloud account connector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DetailsOfASpecificCloudAccountConnector() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/Connectors/GetConnectorSubscription_example.json @@ -45,9 +45,8 @@ public async Task Get_DetailsOfASpecificCloudAccountConnector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AwsAssumeRole - Create a cloud account connector for a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AwsAssumeRoleCreateACloudAccountConnectorForASubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/Connectors/CreateUpdateAwsAssumeRoleConnectorSubscription_example.json @@ -95,9 +94,8 @@ public async Task Update_AwsAssumeRoleCreateACloudAccountConnectorForASubscripti Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AwsCred - Create a cloud account connector for a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AwsCredCreateACloudAccountConnectorForASubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/Connectors/CreateUpdateAwsCredConnectorSubscription_example.json @@ -145,9 +143,8 @@ public async Task Update_AwsCredCreateACloudAccountConnectorForASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // gcpCredentials - Create a cloud account connector for a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_GcpCredentialsCreateACloudAccountConnectorForASubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/Connectors/CreateUpdateGcpCredentialsConnectorSubscription_example.json @@ -181,9 +178,8 @@ public async Task Update_GcpCredentialsCreateACloudAccountConnectorForASubscript Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a cloud account connector from a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteACloudAccountConnectorFromASubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/Connectors/DeleteConnectorSubscription_example.json @@ -204,7 +200,7 @@ public async Task Delete_DeleteACloudAccountConnectorFromASubscription() // invoke the operation await securityCloudConnector.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityComplianceCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityComplianceCollection.cs index 7832ed1691236..1f120dd0df3e7 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityComplianceCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityComplianceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityComplianceCollection { - // Get security compliance data over time - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetSecurityComplianceDataOverTime() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/Compliances/GetCompliances_example.json @@ -45,12 +45,11 @@ public async Task GetAll_GetSecurityComplianceDataOverTime() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get security compliance data for a day - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityComplianceDataForADay() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/Compliances/GetCompliance_example.json @@ -80,9 +79,8 @@ public async Task Get_GetSecurityComplianceDataForADay() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get security compliance data for a day - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSecurityComplianceDataForADay() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/Compliances/GetCompliance_example.json @@ -108,9 +106,8 @@ public async Task Exists_GetSecurityComplianceDataForADay() Console.WriteLine($"Succeeded: {result}"); } - // Get security compliance data for a day - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSecurityComplianceDataForADay() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/Compliances/GetCompliance_example.json @@ -136,7 +133,7 @@ public async Task GetIfExists_GetSecurityComplianceDataForADay() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityComplianceResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityComplianceResource.cs index 77e19610f1c3a..c41b32b2938a9 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityComplianceResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityComplianceResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityComplianceResource { - // Get security compliance data for a day - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityComplianceDataForADay() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/Compliances/GetCompliance_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorApplicationCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorApplicationCollection.cs index e6baf39362c6c..7f8fe6c6c69d1 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorApplicationCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorApplicationCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityConnectorApplicationCollection { - // List security applications by security connector level scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSecurityApplicationsBySecurityConnectorLevelScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/ListBySecurityConnectorApplications_example.json @@ -50,12 +50,11 @@ public async Task GetAll_ListSecurityApplicationsBySecurityConnectorLevelScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get security applications by specific applicationId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityApplicationsBySpecificApplicationId() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/GetSecurityConnectorApplication_example.json @@ -88,9 +87,8 @@ public async Task Get_GetSecurityApplicationsBySpecificApplicationId() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get security applications by specific applicationId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSecurityApplicationsBySpecificApplicationId() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/GetSecurityConnectorApplication_example.json @@ -119,9 +117,8 @@ public async Task Exists_GetSecurityApplicationsBySpecificApplicationId() Console.WriteLine($"Succeeded: {result}"); } - // Get security applications by specific applicationId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSecurityApplicationsBySpecificApplicationId() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/GetSecurityConnectorApplication_example.json @@ -150,7 +147,7 @@ public async Task GetIfExists_GetSecurityApplicationsBySpecificApplicationId() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_GetSecurityApplicationsBySpecificApplicationId() } } - // Create Application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateApplication() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/PutSecurityConnectorApplication_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorApplicationResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorApplicationResource.cs index 48695a7dff0b3..c377e4d5d363f 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorApplicationResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorApplicationResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityConnectorApplicationResource { - // Get security applications by specific applicationId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityApplicationsBySpecificApplicationId() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/GetSecurityConnectorApplication_example.json @@ -48,9 +48,8 @@ public async Task Get_GetSecurityApplicationsBySpecificApplicationId() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create Application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateApplication() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/PutSecurityConnectorApplication_example.json @@ -97,9 +96,8 @@ public async Task Update_CreateApplication() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete security Application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSecurityApplication() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/DeleteSecurityConnectorApplication_example.json @@ -122,7 +120,7 @@ public async Task Delete_DeleteSecurityApplication() // invoke the operation await securityConnectorApplication.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorCollection.cs index 7f39b6f51b953..ab3248746a2de 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityConnectorCollection { - // List all security connectors of a specified resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAllSecurityConnectorsOfASpecifiedResourceGroup() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-10-01-preview/examples/SecurityConnectors/GetSecurityConnectorsResourceGroup_example.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAllSecurityConnectorsOfASpecifiedResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Retrieve a security connector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveASecurityConnector() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-10-01-preview/examples/SecurityConnectors/GetSecurityConnectorSingleResource_example.json @@ -86,9 +85,8 @@ public async Task Get_RetrieveASecurityConnector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Retrieve a security connector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RetrieveASecurityConnector() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-10-01-preview/examples/SecurityConnectors/GetSecurityConnectorSingleResource_example.json @@ -116,9 +114,8 @@ public async Task Exists_RetrieveASecurityConnector() Console.WriteLine($"Succeeded: {result}"); } - // Retrieve a security connector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RetrieveASecurityConnector() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-10-01-preview/examples/SecurityConnectors/GetSecurityConnectorSingleResource_example.json @@ -146,7 +143,7 @@ public async Task GetIfExists_RetrieveASecurityConnector() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_RetrieveASecurityConnector() } } - // Create or update a security connector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateASecurityConnector() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-10-01-preview/examples/SecurityConnectors/PutSecurityConnector_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitHubOwnerCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitHubOwnerCollection.cs index 0e36c59f5d6f7..79fb5d8e3db10 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitHubOwnerCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitHubOwnerCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityConnectorGitHubOwnerCollection { - // List_GitHubOwners - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListGitHubOwners() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/ListGitHubOwners_example.json @@ -48,12 +48,11 @@ public async Task GetAll_ListGitHubOwners() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get_GitHubOwners - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetGitHubOwners() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetGitHubOwners_example.json @@ -86,9 +85,8 @@ public async Task Get_GetGitHubOwners() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get_GitHubOwners - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetGitHubOwners() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetGitHubOwners_example.json @@ -117,9 +115,8 @@ public async Task Exists_GetGitHubOwners() Console.WriteLine($"Succeeded: {result}"); } - // Get_GitHubOwners - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetGitHubOwners() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetGitHubOwners_example.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetGitHubOwners() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitHubOwnerResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitHubOwnerResource.cs index d9e0e41fc05db..125fc3149501c 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitHubOwnerResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitHubOwnerResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityConnectorGitHubOwnerResource { - // Get_GitHubOwners - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetGitHubOwners() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetGitHubOwners_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitHubRepositoryCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitHubRepositoryCollection.cs index 69f931cde7db8..375beadbd3ba7 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitHubRepositoryCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitHubRepositoryCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityConnectorGitHubRepositoryCollection { - // List_GitHubRepos - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListGitHubRepos() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/ListGitHubRepos_example.json @@ -49,12 +49,11 @@ public async Task GetAll_ListGitHubRepos() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get_GitHubRepos - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetGitHubRepos() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetGitHubRepos_example.json @@ -88,9 +87,8 @@ public async Task Get_GetGitHubRepos() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get_GitHubRepos - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetGitHubRepos() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetGitHubRepos_example.json @@ -120,9 +118,8 @@ public async Task Exists_GetGitHubRepos() Console.WriteLine($"Succeeded: {result}"); } - // Get_GitHubRepos - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetGitHubRepos() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetGitHubRepos_example.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetGitHubRepos() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitHubRepositoryResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitHubRepositoryResource.cs index ec3115cb617f6..0b397b3a28aad 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitHubRepositoryResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitHubRepositoryResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityConnectorGitHubRepositoryResource { - // Get_GitHubRepos - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetGitHubRepos() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetGitHubRepos_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitLabGroupCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitLabGroupCollection.cs index 6fadce716e6a0..a860d02dbbdd4 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitLabGroupCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitLabGroupCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityConnectorGitLabGroupCollection { - // List_GitLabGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListGitLabGroups() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/ListGitLabGroups_example.json @@ -48,12 +48,11 @@ public async Task GetAll_ListGitLabGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get_GitLabGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetGitLabGroups() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetGitLabGroups_example.json @@ -86,9 +85,8 @@ public async Task Get_GetGitLabGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get_GitLabGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetGitLabGroups() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetGitLabGroups_example.json @@ -117,9 +115,8 @@ public async Task Exists_GetGitLabGroups() Console.WriteLine($"Succeeded: {result}"); } - // Get_GitLabGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetGitLabGroups() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetGitLabGroups_example.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetGitLabGroups() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GetGitLabGroups() } } - // List_GitLabSubgroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetGitLabSubgroups_ListGitLabSubgroups() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/ListGitLabSubgroups_example.json @@ -195,7 +191,7 @@ public async Task GetGitLabSubgroups_ListGitLabSubgroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitLabGroupResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitLabGroupResource.cs index 7e9f66c11bd9a..dbf2fb22061f1 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitLabGroupResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitLabGroupResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityConnectorGitLabGroupResource { - // Get_GitLabGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetGitLabGroups() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetGitLabGroups_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitLabProjectCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitLabProjectCollection.cs index 137217a9b927d..3227ac38715d8 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitLabProjectCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitLabProjectCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityConnectorGitLabProjectCollection { - // List_GitLabProjects - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListGitLabProjects() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/ListGitLabProjects_example.json @@ -49,12 +49,11 @@ public async Task GetAll_ListGitLabProjects() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get_GitLabProjects - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetGitLabProjects() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetGitLabProjects_example.json @@ -88,9 +87,8 @@ public async Task Get_GetGitLabProjects() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get_GitLabProjects - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetGitLabProjects() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetGitLabProjects_example.json @@ -120,9 +118,8 @@ public async Task Exists_GetGitLabProjects() Console.WriteLine($"Succeeded: {result}"); } - // Get_GitLabProjects - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetGitLabProjects() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetGitLabProjects_example.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetGitLabProjects() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitLabProjectResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitLabProjectResource.cs index 836400a24fed1..d62c9bba19f30 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitLabProjectResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorGitLabProjectResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityConnectorGitLabProjectResource { - // Get_GitLabProjects - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetGitLabProjects() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-09-01-preview/examples/SecurityConnectorsDevOps/GetGitLabProjects_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorResource.cs index efd927761adbd..3fb3697577f0a 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityConnectorResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityConnectorResource { - // List all security connectors of a specified subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecurityConnectors_ListAllSecurityConnectorsOfASpecifiedSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-10-01-preview/examples/SecurityConnectors/GetSecurityConnectorsSubscription_example.json @@ -45,12 +45,11 @@ public async Task GetSecurityConnectors_ListAllSecurityConnectorsOfASpecifiedSub Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Retrieve a security connector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RetrieveASecurityConnector() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-10-01-preview/examples/SecurityConnectors/GetSecurityConnectorSingleResource_example.json @@ -79,9 +78,8 @@ public async Task Get_RetrieveASecurityConnector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a security connector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateASecurityConnector() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-10-01-preview/examples/SecurityConnectors/PatchSecurityConnector_example.json @@ -127,9 +125,8 @@ public async Task Update_UpdateASecurityConnector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a security connector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteASecurityConnector() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-10-01-preview/examples/SecurityConnectors/DeleteSecurityConnector_example.json @@ -151,7 +148,7 @@ public async Task Delete_DeleteASecurityConnector() // invoke the operation await securityConnector.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityContactCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityContactCollection.cs index e16cc27460cec..ce636aa2eb837 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityContactCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityContactCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityContactCollection { - // List security contact data - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSecurityContactData() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/SecurityContacts/GetSecurityContactsSubscription_example.json @@ -48,12 +48,11 @@ public async Task GetAll_ListSecurityContactData() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a security contact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASecurityContact() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/SecurityContacts/GetSecurityContact_example.json @@ -84,9 +83,8 @@ public async Task Get_GetASecurityContact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a security contact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetASecurityContact() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/SecurityContacts/GetSecurityContact_example.json @@ -113,9 +111,8 @@ public async Task Exists_GetASecurityContact() Console.WriteLine($"Succeeded: {result}"); } - // Get a security contact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetASecurityContact() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/SecurityContacts/GetSecurityContact_example.json @@ -142,7 +139,7 @@ public async Task GetIfExists_GetASecurityContact() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -154,9 +151,8 @@ public async Task GetIfExists_GetASecurityContact() } } - // Create security contact data - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSecurityContactData() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/SecurityContacts/CreateSecurityContact_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityContactResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityContactResource.cs index 9610c49e7ea13..ce81756261c8a 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityContactResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityContactResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityContactResource { - // Get a security contact - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASecurityContact() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/SecurityContacts/GetSecurityContact_example.json @@ -45,9 +45,8 @@ public async Task Get_GetASecurityContact() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create security contact data - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateSecurityContactData() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/SecurityContacts/CreateSecurityContact_example.json @@ -94,9 +93,8 @@ public async Task Update_CreateSecurityContactData() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a security contact data - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesASecurityContactData() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2020-01-01-preview/examples/SecurityContacts/DeleteSecurityContact_example.json @@ -117,7 +115,7 @@ public async Task Delete_DeletesASecurityContactData() // invoke the operation await securityContact.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityHealthReportCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityHealthReportCollection.cs index 5a033eddb8ca2..9d8c1d1e0fea6 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityHealthReportCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityHealthReportCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityHealthReportCollection { - // List health reports - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListHealthReports() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-05-01-preview/examples/HealthReports/ListHealthReports_example.json @@ -45,12 +45,11 @@ public async Task GetAll_ListHealthReports() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get health report of resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetHealthReportOfResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-05-01-preview/examples/HealthReports/GetHealthReports_example.json @@ -80,9 +79,8 @@ public async Task Get_GetHealthReportOfResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get health report of resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetHealthReportOfResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-05-01-preview/examples/HealthReports/GetHealthReports_example.json @@ -108,9 +106,8 @@ public async Task Exists_GetHealthReportOfResource() Console.WriteLine($"Succeeded: {result}"); } - // Get health report of resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetHealthReportOfResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-05-01-preview/examples/HealthReports/GetHealthReports_example.json @@ -136,7 +133,7 @@ public async Task GetIfExists_GetHealthReportOfResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityHealthReportResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityHealthReportResource.cs index fdff5fa3cab97..21b4a43a79d71 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityHealthReportResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityHealthReportResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityHealthReportResource { - // Get health report of resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetHealthReportOfResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-05-01-preview/examples/HealthReports/GetHealthReports_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityOperatorCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityOperatorCollection.cs index 061335667f485..8a3552b301a27 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityOperatorCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityOperatorCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityOperatorCollection { - // List SecurityOperators - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSecurityOperators() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-01-01-preview/examples/SecurityOperators/ListSecurityOperators_example.json @@ -47,12 +47,11 @@ public async Task GetAll_ListSecurityOperators() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a specific security operator by scope and securityOperatorName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASpecificSecurityOperatorByScopeAndSecurityOperatorName() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-01-01-preview/examples/SecurityOperators/GetSecurityOperatorByName_example.json @@ -84,9 +83,8 @@ public async Task Get_GetASpecificSecurityOperatorByScopeAndSecurityOperatorName Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a specific security operator by scope and securityOperatorName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetASpecificSecurityOperatorByScopeAndSecurityOperatorName() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-01-01-preview/examples/SecurityOperators/GetSecurityOperatorByName_example.json @@ -114,9 +112,8 @@ public async Task Exists_GetASpecificSecurityOperatorByScopeAndSecurityOperatorN Console.WriteLine($"Succeeded: {result}"); } - // Get a specific security operator by scope and securityOperatorName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetASpecificSecurityOperatorByScopeAndSecurityOperatorName() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-01-01-preview/examples/SecurityOperators/GetSecurityOperatorByName_example.json @@ -144,7 +141,7 @@ public async Task GetIfExists_GetASpecificSecurityOperatorByScopeAndSecurityOper if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -156,9 +153,8 @@ public async Task GetIfExists_GetASpecificSecurityOperatorByScopeAndSecurityOper } } - // Create a security operator on the given scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateASecurityOperatorOnTheGivenScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-01-01-preview/examples/SecurityOperators/PutSecurityOperatorByName_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityOperatorResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityOperatorResource.cs index 3895551943c87..3620e66424082 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityOperatorResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityOperatorResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityOperatorResource { - // Get a specific security operator by scope and securityOperatorName - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASpecificSecurityOperatorByScopeAndSecurityOperatorName() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-01-01-preview/examples/SecurityOperators/GetSecurityOperatorByName_example.json @@ -45,9 +45,8 @@ public async Task Get_GetASpecificSecurityOperatorByScopeAndSecurityOperatorName Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a security operator on the given scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateASecurityOperatorOnTheGivenScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-01-01-preview/examples/SecurityOperators/PutSecurityOperatorByName_example.json @@ -77,9 +76,8 @@ public async Task Update_CreateASecurityOperatorOnTheGivenScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete SecurityOperator on subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSecurityOperatorOnSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-01-01-preview/examples/SecurityOperators/DeleteSecurityOperatorByName_example.json @@ -101,7 +99,7 @@ public async Task Delete_DeleteSecurityOperatorOnSubscription() // invoke the operation await securityOperator.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecuritySettingCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecuritySettingCollection.cs index 955c4d0aca055..986775fda3ee7 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecuritySettingCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecuritySettingCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecuritySettingCollection { - // Get settings of subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetSettingsOfSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-05-01/examples/Settings/GetSettings_example.json @@ -48,12 +48,11 @@ public async Task GetAll_GetSettingsOfSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a setting on subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASettingOnSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-05-01/examples/Settings/GetSetting_example.json @@ -84,9 +83,8 @@ public async Task Get_GetASettingOnSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a setting on subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetASettingOnSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-05-01/examples/Settings/GetSetting_example.json @@ -113,9 +111,8 @@ public async Task Exists_GetASettingOnSubscription() Console.WriteLine($"Succeeded: {result}"); } - // Get a setting on subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetASettingOnSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-05-01/examples/Settings/GetSetting_example.json @@ -142,7 +139,7 @@ public async Task GetIfExists_GetASettingOnSubscription() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -154,9 +151,8 @@ public async Task GetIfExists_GetASettingOnSubscription() } } - // Update a setting for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateASettingForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-05-01/examples/Settings/UpdateSetting_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecuritySettingResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecuritySettingResource.cs index 683c5de11c159..f85c070b080a4 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecuritySettingResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecuritySettingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecuritySettingResource { - // Get a setting on subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASettingOnSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-05-01/examples/Settings/GetSetting_example.json @@ -45,9 +45,8 @@ public async Task Get_GetASettingOnSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a setting for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateASettingForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-05-01/examples/Settings/UpdateSetting_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecuritySubAssessmentCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecuritySubAssessmentCollection.cs index f470f400e580e..4ae0daa4058e5 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecuritySubAssessmentCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecuritySubAssessmentCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecuritySubAssessmentCollection { - // List security sub-assessments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSecuritySubAssessments() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SubAssessments/ListSubAssessments_example.json @@ -47,12 +47,11 @@ public async Task GetAll_ListSecuritySubAssessments() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get security recommendation task from security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityRecommendationTaskFromSecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SubAssessments/GetSubAssessment_example.json @@ -84,9 +83,8 @@ public async Task Get_GetSecurityRecommendationTaskFromSecurityDataLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get security recommendation task from security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSecurityRecommendationTaskFromSecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SubAssessments/GetSubAssessment_example.json @@ -114,9 +112,8 @@ public async Task Exists_GetSecurityRecommendationTaskFromSecurityDataLocation() Console.WriteLine($"Succeeded: {result}"); } - // Get security recommendation task from security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSecurityRecommendationTaskFromSecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SubAssessments/GetSubAssessment_example.json @@ -144,7 +141,7 @@ public async Task GetIfExists_GetSecurityRecommendationTaskFromSecurityDataLocat if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecuritySubAssessmentResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecuritySubAssessmentResource.cs index 247b525caf0f2..beccbc695ae97 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecuritySubAssessmentResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecuritySubAssessmentResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecuritySubAssessmentResource { - // Get security recommendation task from security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityRecommendationTaskFromSecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2019-01-01-preview/examples/SubAssessments/GetSubAssessment_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityWorkspaceSettingCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityWorkspaceSettingCollection.cs index 1c280da052aab..d037e99229aab 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityWorkspaceSettingCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityWorkspaceSettingCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityWorkspaceSettingCollection { - // Get workspace settings on subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetWorkspaceSettingsOnSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/WorkspaceSettings/GetWorkspaceSettings_example.json @@ -47,12 +47,11 @@ public async Task GetAll_GetWorkspaceSettingsOnSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a workspace setting on subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkspaceSettingOnSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/WorkspaceSettings/GetWorkspaceSetting_example.json @@ -83,9 +82,8 @@ public async Task Get_GetAWorkspaceSettingOnSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a workspace setting on subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAWorkspaceSettingOnSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/WorkspaceSettings/GetWorkspaceSetting_example.json @@ -112,9 +110,8 @@ public async Task Exists_GetAWorkspaceSettingOnSubscription() Console.WriteLine($"Succeeded: {result}"); } - // Get a workspace setting on subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAWorkspaceSettingOnSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/WorkspaceSettings/GetWorkspaceSetting_example.json @@ -141,7 +138,7 @@ public async Task GetIfExists_GetAWorkspaceSettingOnSubscription() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -153,9 +150,8 @@ public async Task GetIfExists_GetAWorkspaceSettingOnSubscription() } } - // Create a workspace setting data for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAWorkspaceSettingDataForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/WorkspaceSettings/CreateWorkspaceSetting_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityWorkspaceSettingResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityWorkspaceSettingResource.cs index 2ac7973b8ec96..f71dffa86f86c 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityWorkspaceSettingResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SecurityWorkspaceSettingResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SecurityWorkspaceSettingResource { - // Get a workspace setting on subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAWorkspaceSettingOnSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/WorkspaceSettings/GetWorkspaceSetting_example.json @@ -44,9 +44,8 @@ public async Task Get_GetAWorkspaceSettingOnSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a workspace setting data for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAWorkspaceSettingDataForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/WorkspaceSettings/UpdateWorkspaceSetting_example.json @@ -78,9 +77,8 @@ public async Task Update_UpdateAWorkspaceSettingDataForSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a workspace setting data for resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAWorkspaceSettingDataForResourceGroup() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2017-08-01-preview/examples/WorkspaceSettings/DeleteWorkspaceSetting_example.json @@ -101,7 +99,7 @@ public async Task Delete_DeleteAWorkspaceSettingDataForResourceGroup() // invoke the operation await securityWorkspaceSetting.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SensitivitySettingResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SensitivitySettingResource.cs index 6acb489b3eac8..a4f901f7c476f 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SensitivitySettingResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SensitivitySettingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SensitivitySettingResource { - // Update sensitivity settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateSensitivitySettings() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-15-preview/examples/SensitivitySettings/PutSensitivitySettings_example.json @@ -52,9 +52,8 @@ public async Task CreateOrUpdate_UpdateSensitivitySettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get sensitivity settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSensitivitySettings() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-15-preview/examples/SensitivitySettings/GetSensitivitySettings_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ServerVulnerabilityAssessmentCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ServerVulnerabilityAssessmentCollection.cs index 70e5310e4d487..582cf0a540309 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ServerVulnerabilityAssessmentCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ServerVulnerabilityAssessmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_ServerVulnerabilityAssessmentCollection { - // Get a list of server vulnerability assessments on a resource. Though this API returns a list, Currently Microsoft.Security only supports a single default type of server vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAListOfServerVulnerabilityAssessmentsOnAResourceThoughThisAPIReturnsAListCurrentlyMicrosoftSecurityOnlySupportsASingleDefaultTypeOfServerVulnerabilityAssessment() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ServerVulnerabilityAssessments/ListByExtendedResourceServerVulnerabilityAssessments_example.json @@ -51,12 +51,11 @@ public async Task GetAll_GetAListOfServerVulnerabilityAssessmentsOnAResourceThou Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a server vulnerability assessments onboarding status on a resource. Currently Microsoft.Security only supports the single 'default' resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerVulnerabilityAssessmentsOnboardingStatusOnAResourceCurrentlyMicrosoftSecurityOnlySupportsTheSingleDefaultResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ServerVulnerabilityAssessments/GetServerVulnerabilityAssessments_example.json @@ -90,9 +89,8 @@ public async Task Get_GetAServerVulnerabilityAssessmentsOnboardingStatusOnAResou Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a server vulnerability assessments onboarding status on a resource. Currently Microsoft.Security only supports the single 'default' resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAServerVulnerabilityAssessmentsOnboardingStatusOnAResourceCurrentlyMicrosoftSecurityOnlySupportsTheSingleDefaultResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ServerVulnerabilityAssessments/GetServerVulnerabilityAssessments_example.json @@ -122,9 +120,8 @@ public async Task Exists_GetAServerVulnerabilityAssessmentsOnboardingStatusOnARe Console.WriteLine($"Succeeded: {result}"); } - // Get a server vulnerability assessments onboarding status on a resource. Currently Microsoft.Security only supports the single 'default' resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAServerVulnerabilityAssessmentsOnboardingStatusOnAResourceCurrentlyMicrosoftSecurityOnlySupportsTheSingleDefaultResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ServerVulnerabilityAssessments/GetServerVulnerabilityAssessments_example.json @@ -154,7 +151,7 @@ public async Task GetIfExists_GetAServerVulnerabilityAssessmentsOnboardingStatus if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -166,9 +163,8 @@ public async Task GetIfExists_GetAServerVulnerabilityAssessmentsOnboardingStatus } } - // Create a server vulnerability assessments on a resource. Only 'default' resource is supported. Once creating the resource, the server will be onboarded to vulnerability assessment by Microsoft.Security - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAServerVulnerabilityAssessmentsOnAResourceOnlyDefaultResourceIsSupportedOnceCreatingTheResourceTheServerWillBeOnboardedToVulnerabilityAssessmentByMicrosoftSecurity() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ServerVulnerabilityAssessments/CreateServerVulnerabilityAssessments_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ServerVulnerabilityAssessmentResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ServerVulnerabilityAssessmentResource.cs index 794837c7b5fc8..286f33eee2086 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ServerVulnerabilityAssessmentResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ServerVulnerabilityAssessmentResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_ServerVulnerabilityAssessmentResource { - // Get a server vulnerability assessments onboarding status on a resource. Currently Microsoft.Security only supports the single 'default' resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerVulnerabilityAssessmentsOnboardingStatusOnAResourceCurrentlyMicrosoftSecurityOnlySupportsTheSingleDefaultResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ServerVulnerabilityAssessments/GetServerVulnerabilityAssessments_example.json @@ -47,9 +47,8 @@ public async Task Get_GetAServerVulnerabilityAssessmentsOnboardingStatusOnAResou Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a server vulnerability assessments on a resource. Only 'default' resource is supported. Once creating the resource, the server will be onboarded to vulnerability assessment by Microsoft.Security - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAServerVulnerabilityAssessmentsOnAResourceOnlyDefaultResourceIsSupportedOnceCreatingTheResourceTheServerWillBeOnboardedToVulnerabilityAssessmentByMicrosoftSecurity() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ServerVulnerabilityAssessments/CreateServerVulnerabilityAssessments_example.json @@ -81,9 +80,8 @@ public async Task Update_CreateAServerVulnerabilityAssessmentsOnAResourceOnlyDef Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a server vulnerability assessments on a resource. Only 'default' resource is supported. Once deleting, Microsoft.Security will not provide vulnerability assessment findings on the resource. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAServerVulnerabilityAssessmentsOnAResourceOnlyDefaultResourceIsSupportedOnceDeletingMicrosoftSecurityWillNotProvideVulnerabilityAssessmentFindingsOnTheResource() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ServerVulnerabilityAssessments/DeleteServerVulnerabilityAssessments_example.json @@ -107,7 +105,7 @@ public async Task Delete_DeleteAServerVulnerabilityAssessmentsOnAResourceOnlyDef // invoke the operation await serverVulnerabilityAssessment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ServerVulnerabilityAssessmentsSettingCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ServerVulnerabilityAssessmentsSettingCollection.cs index b15c37cfaf44b..ae5ff513be0f2 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ServerVulnerabilityAssessmentsSettingCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ServerVulnerabilityAssessmentsSettingCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_ServerVulnerabilityAssessmentsSettingCollection { - // List the server vulnerability assessments settings set on the subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTheServerVulnerabilityAssessmentsSettingsSetOnTheSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-05-01/examples/ServerVulnerabilityAssessmentsSettings/ListServerVulnerabilityAssessmentsSettings_example.json @@ -48,12 +48,11 @@ public async Task GetAll_ListTheServerVulnerabilityAssessmentsSettingsSetOnTheSu Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the server vulnerability assessments setting of the kind settingKind that is set on the subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheServerVulnerabilityAssessmentsSettingOfTheKindSettingKindThatIsSetOnTheSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-05-01/examples/ServerVulnerabilityAssessmentsSettings/GetServerVulnerabilityAssessmentsSetting_example.json @@ -84,9 +83,8 @@ public async Task Get_GetTheServerVulnerabilityAssessmentsSettingOfTheKindSettin Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the server vulnerability assessments setting of the kind settingKind that is set on the subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheServerVulnerabilityAssessmentsSettingOfTheKindSettingKindThatIsSetOnTheSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-05-01/examples/ServerVulnerabilityAssessmentsSettings/GetServerVulnerabilityAssessmentsSetting_example.json @@ -113,9 +111,8 @@ public async Task Exists_GetTheServerVulnerabilityAssessmentsSettingOfTheKindSet Console.WriteLine($"Succeeded: {result}"); } - // Get the server vulnerability assessments setting of the kind settingKind that is set on the subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheServerVulnerabilityAssessmentsSettingOfTheKindSettingKindThatIsSetOnTheSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-05-01/examples/ServerVulnerabilityAssessmentsSettings/GetServerVulnerabilityAssessmentsSetting_example.json @@ -142,7 +139,7 @@ public async Task GetIfExists_GetTheServerVulnerabilityAssessmentsSettingOfTheKi if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -154,9 +151,8 @@ public async Task GetIfExists_GetTheServerVulnerabilityAssessmentsSettingOfTheKi } } - // Set a server vulnerability assessments setting of the kind settingKind on the subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SetAServerVulnerabilityAssessmentsSettingOfTheKindSettingKindOnTheSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-05-01/examples/ServerVulnerabilityAssessmentsSettings/PutServerVulnerabilityAssessmentsSetting_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ServerVulnerabilityAssessmentsSettingResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ServerVulnerabilityAssessmentsSettingResource.cs index c9d39d9422ea5..e75c4fd41b3f2 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ServerVulnerabilityAssessmentsSettingResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_ServerVulnerabilityAssessmentsSettingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_ServerVulnerabilityAssessmentsSettingResource { - // Get the server vulnerability assessments setting of the kind settingKind that is set on the subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheServerVulnerabilityAssessmentsSettingOfTheKindSettingKindThatIsSetOnTheSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-05-01/examples/ServerVulnerabilityAssessmentsSettings/GetServerVulnerabilityAssessmentsSetting_example.json @@ -45,9 +45,8 @@ public async Task Get_GetTheServerVulnerabilityAssessmentsSettingOfTheKindSettin Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Set a server vulnerability assessments setting of the kind settingKind on the subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SetAServerVulnerabilityAssessmentsSettingOfTheKindSettingKindOnTheSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-05-01/examples/ServerVulnerabilityAssessmentsSettings/PutServerVulnerabilityAssessmentsSetting_example.json @@ -80,9 +79,8 @@ public async Task Update_SetAServerVulnerabilityAssessmentsSettingOfTheKindSetti Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete the server vulnerability assessments setting of the kind settingKind from the subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteTheServerVulnerabilityAssessmentsSettingOfTheKindSettingKindFromTheSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2023-05-01/examples/ServerVulnerabilityAssessmentsSettings/DeleteServerVulnerabilityAssessmentsSetting_example.json @@ -103,7 +101,7 @@ public async Task Delete_DeleteTheServerVulnerabilityAssessmentsSettingOfTheKind // invoke the operation await serverVulnerabilityAssessmentsSetting.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SoftwareInventoryCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SoftwareInventoryCollection.cs index 958cc416dcaaa..d97468dbb6278 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SoftwareInventoryCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SoftwareInventoryCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SoftwareInventoryCollection { - // Gets the software inventory of the virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheSoftwareInventoryOfTheVirtualMachine() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-05-01-preview/examples/SoftwareInventories/ListByExtendedResourceSoftwareInventories_example.json @@ -51,12 +51,11 @@ public async Task GetAll_GetsTheSoftwareInventoryOfTheVirtualMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a single software data of the virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsASingleSoftwareDataOfTheVirtualMachine() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-05-01-preview/examples/SoftwareInventories/GetSoftware_example.json @@ -91,9 +90,8 @@ public async Task Get_GetsASingleSoftwareDataOfTheVirtualMachine() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a single software data of the virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsASingleSoftwareDataOfTheVirtualMachine() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-05-01-preview/examples/SoftwareInventories/GetSoftware_example.json @@ -124,9 +122,8 @@ public async Task Exists_GetsASingleSoftwareDataOfTheVirtualMachine() Console.WriteLine($"Succeeded: {result}"); } - // Gets a single software data of the virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsASingleSoftwareDataOfTheVirtualMachine() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-05-01-preview/examples/SoftwareInventories/GetSoftware_example.json @@ -157,7 +154,7 @@ public async Task GetIfExists_GetsASingleSoftwareDataOfTheVirtualMachine() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SoftwareInventoryResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SoftwareInventoryResource.cs index 939b7cdcfe00f..bf3bcca8af367 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SoftwareInventoryResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SoftwareInventoryResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SoftwareInventoryResource { - // Gets the software inventory of all virtual machines in the subscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSoftwareInventories_GetsTheSoftwareInventoryOfAllVirtualMachinesInTheSubscriptions() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-05-01-preview/examples/SoftwareInventories/ListBySubscriptionSoftwareInventories_example.json @@ -44,12 +44,11 @@ public async Task GetSoftwareInventories_GetsTheSoftwareInventoryOfAllVirtualMac Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a single software data of the virtual machine - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsASingleSoftwareDataOfTheVirtualMachine() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-05-01-preview/examples/SoftwareInventories/GetSoftware_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SqlVulnerabilityAssessmentBaselineRuleCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SqlVulnerabilityAssessmentBaselineRuleCollection.cs index 46e676f565201..25660d96630cb 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SqlVulnerabilityAssessmentBaselineRuleCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SqlVulnerabilityAssessmentBaselineRuleCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SqlVulnerabilityAssessmentBaselineRuleCollection { - // Create a baseline - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateABaseline() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_Put.json @@ -64,9 +64,8 @@ public async Task CreateOrUpdate_CreateABaseline() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a baseline using the latest scan results - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateABaselineUsingTheLatestScanResults() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_PutLatest.json @@ -105,9 +104,8 @@ public async Task CreateOrUpdate_CreateABaselineUsingTheLatestScanResults() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the baseline - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheBaseline() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_Get.json @@ -138,9 +136,8 @@ public async Task Get_GetTheBaseline() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the baseline - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheBaseline() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_Get.json @@ -167,9 +164,8 @@ public async Task Exists_GetTheBaseline() Console.WriteLine($"Succeeded: {result}"); } - // Get the baseline - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheBaseline() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_Get.json @@ -196,7 +192,7 @@ public async Task GetIfExists_GetTheBaseline() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -208,9 +204,8 @@ public async Task GetIfExists_GetTheBaseline() } } - // List baseline for all rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListBaselineForAllRules() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_List.json @@ -240,12 +235,11 @@ public async Task GetAll_ListBaselineForAllRules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create a baseline for all rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CreateABaselineForAllRules() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_Add.json @@ -299,12 +293,11 @@ public async Task GetAll_CreateABaselineForAllRules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Create a baseline for all rules using the latest scan results - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CreateABaselineForAllRulesUsingTheLatestScanResults() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_AddLatest.json @@ -341,7 +334,7 @@ public async Task GetAll_CreateABaselineForAllRulesUsingTheLatestScanResults() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SqlVulnerabilityAssessmentBaselineRuleResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SqlVulnerabilityAssessmentBaselineRuleResource.cs index 8e6fff8c7815f..c8b89f34950d9 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SqlVulnerabilityAssessmentBaselineRuleResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SqlVulnerabilityAssessmentBaselineRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SqlVulnerabilityAssessmentBaselineRuleResource { - // Create a baseline - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateABaseline() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_Put.json @@ -61,9 +61,8 @@ public async Task Update_CreateABaseline() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a baseline using the latest scan results - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateABaselineUsingTheLatestScanResults() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_PutLatest.json @@ -100,9 +99,8 @@ public async Task Update_CreateABaselineUsingTheLatestScanResults() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the baseline - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheBaseline() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_Get.json @@ -131,9 +129,8 @@ public async Task Get_GetTheBaseline() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete the baseline - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteTheBaseline() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/sqlVulnerabilityAssessmentsBaselineRuleOperations/ArcMachineBaselineRules_Delete.json @@ -155,7 +152,7 @@ public async Task Delete_DeleteTheBaseline() Guid workspaceId = Guid.Parse("55555555-6666-7777-8888-999999999999"); await sqlVulnerabilityAssessmentBaselineRule.DeleteAsync(WaitUntil.Completed, workspaceId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SqlVulnerabilityAssessmentScanCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SqlVulnerabilityAssessmentScanCollection.cs index 446221acdcf5f..3246607f7a103 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SqlVulnerabilityAssessmentScanCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SqlVulnerabilityAssessmentScanCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SqlVulnerabilityAssessmentScanCollection { - // Get scan details of a scan record - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetScanDetailsOfAScanRecord() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/sqlVulnerabilityAssessmentScanOperations/ArcMachineScans_Get.json @@ -47,9 +47,8 @@ public async Task Get_GetScanDetailsOfAScanRecord() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get scan details of a scan record - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetScanDetailsOfAScanRecord() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/sqlVulnerabilityAssessmentScanOperations/ArcMachineScans_Get.json @@ -76,9 +75,8 @@ public async Task Exists_GetScanDetailsOfAScanRecord() Console.WriteLine($"Succeeded: {result}"); } - // Get scan details of a scan record - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetScanDetailsOfAScanRecord() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/sqlVulnerabilityAssessmentScanOperations/ArcMachineScans_Get.json @@ -105,7 +103,7 @@ public async Task GetIfExists_GetScanDetailsOfAScanRecord() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -117,9 +115,8 @@ public async Task GetIfExists_GetScanDetailsOfAScanRecord() } } - // Get scan details of the latest scan record - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetScanDetailsOfTheLatestScanRecord() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/sqlVulnerabilityAssessmentScanOperations/ArcMachineScans_GetLatest.json @@ -150,9 +147,8 @@ public async Task Get_GetScanDetailsOfTheLatestScanRecord() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get scan details of the latest scan record - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetScanDetailsOfTheLatestScanRecord() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/sqlVulnerabilityAssessmentScanOperations/ArcMachineScans_GetLatest.json @@ -179,9 +175,8 @@ public async Task Exists_GetScanDetailsOfTheLatestScanRecord() Console.WriteLine($"Succeeded: {result}"); } - // Get scan details of the latest scan record - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetScanDetailsOfTheLatestScanRecord() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/sqlVulnerabilityAssessmentScanOperations/ArcMachineScans_GetLatest.json @@ -208,7 +203,7 @@ public async Task GetIfExists_GetScanDetailsOfTheLatestScanRecord() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -220,9 +215,8 @@ public async Task GetIfExists_GetScanDetailsOfTheLatestScanRecord() } } - // List scan details - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListScanDetails() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/sqlVulnerabilityAssessmentScanOperations/ArcMachineScans_List.json @@ -252,7 +246,7 @@ public async Task GetAll_ListScanDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SqlVulnerabilityAssessmentScanResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SqlVulnerabilityAssessmentScanResource.cs index a26cde2852a5e..3187bfe267465 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SqlVulnerabilityAssessmentScanResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SqlVulnerabilityAssessmentScanResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SqlVulnerabilityAssessmentScanResource { - // Get scan details of a scan record - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetScanDetailsOfAScanRecord() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/sqlVulnerabilityAssessmentScanOperations/ArcMachineScans_Get.json @@ -46,9 +46,8 @@ public async Task Get_GetScanDetailsOfAScanRecord() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get scan details of the latest scan record - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetScanDetailsOfTheLatestScanRecord() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/sqlVulnerabilityAssessmentScanOperations/ArcMachineScans_GetLatest.json @@ -77,9 +76,8 @@ public async Task Get_GetScanDetailsOfTheLatestScanRecord() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get scan details of a scan record - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSqlVulnerabilityAssessmentScanResult_GetScanDetailsOfAScanRecord() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/sqlVulnerabilityAssessmentsScanResultsOperations/ArcMachineScanResults_Get.json @@ -105,9 +103,8 @@ public async Task GetSqlVulnerabilityAssessmentScanResult_GetScanDetailsOfAScanR Console.WriteLine($"Succeeded: {result}"); } - // Get scan details of the latest scan record - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSqlVulnerabilityAssessmentScanResult_GetScanDetailsOfTheLatestScanRecord() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/sqlVulnerabilityAssessmentsScanResultsOperations/ArcMachineScanResults_GetLatest.json @@ -133,9 +130,8 @@ public async Task GetSqlVulnerabilityAssessmentScanResult_GetScanDetailsOfTheLat Console.WriteLine($"Succeeded: {result}"); } - // List scan results - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSqlVulnerabilityAssessmentScanResults_ListScanResults() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/sqlVulnerabilityAssessmentsScanResultsOperations/ArcMachineScanResults_List.json @@ -160,12 +156,11 @@ public async Task GetSqlVulnerabilityAssessmentScanResults_ListScanResults() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List scan results of the latest scan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSqlVulnerabilityAssessmentScanResults_ListScanResultsOfTheLatestScan() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2023-02-01-preview/examples/sqlVulnerabilityAssessmentsScanResultsOperations/ArcMachineScanResults_ListLatest.json @@ -190,7 +185,7 @@ public async Task GetSqlVulnerabilityAssessmentScanResults_ListScanResultsOfTheL Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionAssessmentMetadataCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionAssessmentMetadataCollection.cs index 3b01195ce8368..fd259bb2220f9 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionAssessmentMetadataCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionAssessmentMetadataCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SubscriptionAssessmentMetadataCollection { - // List security assessment metadata for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSecurityAssessmentMetadataForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2021-06-01/examples/AssessmentsMetadata/ListAssessmentsMetadata_subscription_example.json @@ -48,12 +48,11 @@ public async Task GetAll_ListSecurityAssessmentMetadataForSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get security assessment metadata for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityAssessmentMetadataForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2021-06-01/examples/AssessmentsMetadata/GetAssessmentsMetadata_subscription_example.json @@ -84,9 +83,8 @@ public async Task Get_GetSecurityAssessmentMetadataForSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get security assessment metadata for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSecurityAssessmentMetadataForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2021-06-01/examples/AssessmentsMetadata/GetAssessmentsMetadata_subscription_example.json @@ -113,9 +111,8 @@ public async Task Exists_GetSecurityAssessmentMetadataForSubscription() Console.WriteLine($"Succeeded: {result}"); } - // Get security assessment metadata for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSecurityAssessmentMetadataForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2021-06-01/examples/AssessmentsMetadata/GetAssessmentsMetadata_subscription_example.json @@ -142,7 +139,7 @@ public async Task GetIfExists_GetSecurityAssessmentMetadataForSubscription() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -154,9 +151,8 @@ public async Task GetIfExists_GetSecurityAssessmentMetadataForSubscription() } } - // Create security assessment metadata for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateSecurityAssessmentMetadataForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2021-06-01/examples/AssessmentsMetadata/CreateAssessmentsMetadata_subscription_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionAssessmentMetadataResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionAssessmentMetadataResource.cs index c14bd7976e1b6..6abd15390bc03 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionAssessmentMetadataResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionAssessmentMetadataResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SubscriptionAssessmentMetadataResource { - // Get security assessment metadata for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityAssessmentMetadataForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2021-06-01/examples/AssessmentsMetadata/GetAssessmentsMetadata_subscription_example.json @@ -45,9 +45,8 @@ public async Task Get_GetSecurityAssessmentMetadataForSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create security assessment metadata for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateSecurityAssessmentMetadataForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2021-06-01/examples/AssessmentsMetadata/CreateAssessmentsMetadata_subscription_example.json @@ -94,9 +93,8 @@ public async Task Update_CreateSecurityAssessmentMetadataForSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a security assessment metadata for subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteASecurityAssessmentMetadataForSubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2021-06-01/examples/AssessmentsMetadata/DeleteAssessmentsMetadata_subscription_example.json @@ -117,7 +115,7 @@ public async Task Delete_DeleteASecurityAssessmentMetadataForSubscription() // invoke the operation await subscriptionAssessmentMetadata.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 1d957a296ac21..eeb2736df7559 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Get security recommendations tasks - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTasks_GetSecurityRecommendationsTasks() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/Tasks/GetTasksSubscription_example.json @@ -42,12 +42,11 @@ public async Task GetTasks_GetSecurityRecommendationsTasks() Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // The configuration or data needed to onboard the machine to MDE - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMdeOnboardings_TheConfigurationOrDataNeededToOnboardTheMachineToMDE() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-10-01-preview/examples/MdeOnboardings/ListMdeOnboardings_example.json @@ -70,12 +69,11 @@ public async Task GetMdeOnboardings_TheConfigurationOrDataNeededToOnboardTheMach Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // The default configuration or data needed to onboard the machine to MDE - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMdeOnboarding_TheDefaultConfigurationOrDataNeededToOnboardTheMachineToMDE() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2021-10-01-preview/examples/MdeOnboardings/GetMdeOnboardings_example.json @@ -98,9 +96,8 @@ public async Task GetMdeOnboarding_TheDefaultConfigurationOrDataNeededToOnboardT Console.WriteLine($"Succeeded: {result}"); } - // Get allowed connections on a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllowedConnections_GetAllowedConnectionsOnASubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/AllowedConnections/GetAllowedConnectionsSubscription_example.json @@ -123,12 +120,11 @@ public async Task GetAllowedConnections_GetAllowedConnectionsOnASubscription() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get discovered security solutions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDiscoveredSecuritySolutions_GetDiscoveredSecuritySolutions() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/DiscoveredSecuritySolutions/GetDiscoveredSecuritySolutionsSubscription_example.json @@ -151,12 +147,11 @@ public async Task GetDiscoveredSecuritySolutions_GetDiscoveredSecuritySolutions( Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get external security solutions on a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetExternalSecuritySolutions_GetExternalSecuritySolutionsOnASubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/ExternalSecuritySolutions/GetExternalSecuritySolutionsSubscription_example.json @@ -179,12 +174,11 @@ public async Task GetExternalSecuritySolutions_GetExternalSecuritySolutionsOnASu Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List all secure scores controls - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecureScoreControls_ListAllSecureScoresControls() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/secureScores/ListSecureScoreControls_example.json @@ -207,12 +201,11 @@ public async Task GetSecureScoreControls_ListAllSecureScoresControls() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List security controls definition by subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecureScoreControlDefinitionsBySubscription_ListSecurityControlsDefinitionBySubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/secureScoreControlDefinitions/ListSecureScoreControlDefinitions_subscription_example.json @@ -235,12 +228,11 @@ public async Task GetSecureScoreControlDefinitionsBySubscription_ListSecurityCon Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get security solutions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecuritySolutions_GetSecuritySolutions() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/SecuritySolutions/GetSecuritySolutionsSubscription_example.json @@ -263,12 +255,11 @@ public async Task GetSecuritySolutions_GetSecuritySolutions() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get security solutions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAllSecuritySolutionsReferenceData_GetSecuritySolutions() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/SecuritySolutionsReferenceData/GetSecuritySolutionsReferenceDataSubscription_example.json @@ -291,12 +282,11 @@ public async Task GetAllSecuritySolutionsReferenceData_GetSecuritySolutions() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get topology on a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTopologies_GetTopologyOnASubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/Topology/GetTopologySubscription_example.json @@ -319,12 +309,11 @@ public async Task GetTopologies_GetTopologyOnASubscription() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get security alerts on a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAlerts_GetSecurityAlertsOnASubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-01-01/examples/Alerts/GetAlertsSubscription_example.json @@ -348,7 +337,7 @@ public async Task GetAlerts_GetSecurityAlertsOnASubscription() Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionSecurityAlertCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionSecurityAlertCollection.cs index 3af556cdb2479..7e4f4eef92060 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionSecurityAlertCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionSecurityAlertCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SubscriptionSecurityAlertCollection { - // Get security alerts on a subscription from a security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetSecurityAlertsOnASubscriptionFromASecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-01-01/examples/Alerts/GetAlertsSubscriptionsLocation_example.json @@ -48,12 +48,11 @@ public async Task GetAll_GetSecurityAlertsOnASubscriptionFromASecurityDataLocati Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get security alert on a subscription from a security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityAlertOnASubscriptionFromASecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-01-01/examples/Alerts/GetAlertSubscriptionLocation_example.json @@ -85,9 +84,8 @@ public async Task Get_GetSecurityAlertOnASubscriptionFromASecurityDataLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get security alert on a subscription from a security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSecurityAlertOnASubscriptionFromASecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-01-01/examples/Alerts/GetAlertSubscriptionLocation_example.json @@ -115,9 +113,8 @@ public async Task Exists_GetSecurityAlertOnASubscriptionFromASecurityDataLocatio Console.WriteLine($"Succeeded: {result}"); } - // Get security alert on a subscription from a security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSecurityAlertOnASubscriptionFromASecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-01-01/examples/Alerts/GetAlertSubscriptionLocation_example.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetSecurityAlertOnASubscriptionFromASecurityDataLo if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -157,9 +154,8 @@ public async Task GetIfExists_GetSecurityAlertOnASubscriptionFromASecurityDataLo } } - // Simulate security alerts on a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Simulate_SimulateSecurityAlertsOnASubscription() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-01-01/examples/Alerts/SimulateAlerts_example.json @@ -193,7 +189,7 @@ public async Task Simulate_SimulateSecurityAlertsOnASubscription() }; await collection.SimulateAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionSecurityAlertResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionSecurityAlertResource.cs index 4457e80035ecf..3831317049924 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionSecurityAlertResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionSecurityAlertResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SubscriptionSecurityAlertResource { - // Get security alert on a subscription from a security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityAlertOnASubscriptionFromASecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-01-01/examples/Alerts/GetAlertSubscriptionLocation_example.json @@ -45,9 +45,8 @@ public async Task Get_GetSecurityAlertOnASubscriptionFromASecurityDataLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update security alert state on a subscription from a security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Dismiss_UpdateSecurityAlertStateOnASubscriptionFromASecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-01-01/examples/Alerts/UpdateAlertSubscriptionLocation_dismiss_example.json @@ -69,12 +68,11 @@ public async Task Dismiss_UpdateSecurityAlertStateOnASubscriptionFromASecurityDa // invoke the operation await subscriptionSecurityAlert.DismissAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update security alert state on a subscription from a security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Resolve_UpdateSecurityAlertStateOnASubscriptionFromASecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-01-01/examples/Alerts/UpdateAlertSubscriptionLocation_resolve_example.json @@ -96,12 +94,11 @@ public async Task Resolve_UpdateSecurityAlertStateOnASubscriptionFromASecurityDa // invoke the operation await subscriptionSecurityAlert.ResolveAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update security alert state on a subscription from a security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Activate_UpdateSecurityAlertStateOnASubscriptionFromASecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-01-01/examples/Alerts/UpdateAlertSubscriptionLocation_activate_example.json @@ -123,12 +120,11 @@ public async Task Activate_UpdateSecurityAlertStateOnASubscriptionFromASecurityD // invoke the operation await subscriptionSecurityAlert.ActivateAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update security alert state on a subscription from a security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateSatateToInProgress_UpdateSecurityAlertStateOnASubscriptionFromASecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2022-01-01/examples/Alerts/UpdateAlertSubscriptionLocation_inProgress_example.json @@ -150,7 +146,7 @@ public async Task UpdateSatateToInProgress_UpdateSecurityAlertStateOnASubscripti // invoke the operation await subscriptionSecurityAlert.UpdateSatateToInProgressAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionSecurityApplicationCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionSecurityApplicationCollection.cs index b47719e7dfa52..8b295c0cf7274 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionSecurityApplicationCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionSecurityApplicationCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SubscriptionSecurityApplicationCollection { - // List applications security by subscription level scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListApplicationsSecurityBySubscriptionLevelScope() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/ListBySubscriptionApplications_example.json @@ -49,12 +49,11 @@ public async Task GetAll_ListApplicationsSecurityBySubscriptionLevelScope() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get security application by specific applicationId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityApplicationBySpecificApplicationId() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/GetApplication_example.json @@ -85,9 +84,8 @@ public async Task Get_GetSecurityApplicationBySpecificApplicationId() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get security application by specific applicationId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSecurityApplicationBySpecificApplicationId() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/GetApplication_example.json @@ -114,9 +112,8 @@ public async Task Exists_GetSecurityApplicationBySpecificApplicationId() Console.WriteLine($"Succeeded: {result}"); } - // Get security application by specific applicationId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSecurityApplicationBySpecificApplicationId() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/GetApplication_example.json @@ -143,7 +140,7 @@ public async Task GetIfExists_GetSecurityApplicationBySpecificApplicationId() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -155,9 +152,8 @@ public async Task GetIfExists_GetSecurityApplicationBySpecificApplicationId() } } - // Create application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateApplication() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/PutApplication_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionSecurityApplicationResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionSecurityApplicationResource.cs index 4b32037dd7332..661ccc3d53c94 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionSecurityApplicationResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionSecurityApplicationResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SubscriptionSecurityApplicationResource { - // Get security application by specific applicationId - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityApplicationBySpecificApplicationId() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/GetApplication_example.json @@ -46,9 +46,8 @@ public async Task Get_GetSecurityApplicationBySpecificApplicationId() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateApplication() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/PutApplication_example.json @@ -93,9 +92,8 @@ public async Task Update_CreateApplication() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete security Application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteSecurityApplication() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/DeleteApplication_example.json @@ -116,7 +114,7 @@ public async Task Delete_DeleteSecurityApplication() // invoke the operation await subscriptionSecurityApplication.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionSecurityTaskCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionSecurityTaskCollection.cs index 3209e11320a68..bf85ac6465541 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionSecurityTaskCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionSecurityTaskCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SubscriptionSecurityTaskCollection { - // Get security recommendations tasks from security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetSecurityRecommendationsTasksFromSecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/Tasks/GetTasksSubscriptionLocation_example.json @@ -47,12 +47,11 @@ public async Task GetAll_GetSecurityRecommendationsTasksFromSecurityDataLocation Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get security recommendation task from security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityRecommendationTaskFromSecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/Tasks/GetTaskSubscriptionLocation_example.json @@ -84,9 +83,8 @@ public async Task Get_GetSecurityRecommendationTaskFromSecurityDataLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get security recommendation task from security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSecurityRecommendationTaskFromSecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/Tasks/GetTaskSubscriptionLocation_example.json @@ -114,9 +112,8 @@ public async Task Exists_GetSecurityRecommendationTaskFromSecurityDataLocation() Console.WriteLine($"Succeeded: {result}"); } - // Get security recommendation task from security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSecurityRecommendationTaskFromSecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/Tasks/GetTaskSubscriptionLocation_example.json @@ -144,7 +141,7 @@ public async Task GetIfExists_GetSecurityRecommendationTaskFromSecurityDataLocat if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionSecurityTaskResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionSecurityTaskResource.cs index 6010f11e4d627..0ac601063652f 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionSecurityTaskResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_SubscriptionSecurityTaskResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_SubscriptionSecurityTaskResource { - // Get security recommendation task from security data location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityRecommendationTaskFromSecurityDataLocation() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/examples/Tasks/GetTaskSubscriptionLocation_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_TenantAssessmentMetadataCollection.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_TenantAssessmentMetadataCollection.cs index e820a1a53d51e..f5586f5fe0df6 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_TenantAssessmentMetadataCollection.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_TenantAssessmentMetadataCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_TenantAssessmentMetadataCollection { - // List security assessment metadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSecurityAssessmentMetadata() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2021-06-01/examples/AssessmentsMetadata/ListAssessmentsMetadata_example.json @@ -44,12 +44,11 @@ public async Task GetAll_ListSecurityAssessmentMetadata() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get security assessment metadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityAssessmentMetadata() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2021-06-01/examples/AssessmentsMetadata/GetAssessmentsMetadata_example.json @@ -78,9 +77,8 @@ public async Task Get_GetSecurityAssessmentMetadata() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get security assessment metadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSecurityAssessmentMetadata() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2021-06-01/examples/AssessmentsMetadata/GetAssessmentsMetadata_example.json @@ -105,9 +103,8 @@ public async Task Exists_GetSecurityAssessmentMetadata() Console.WriteLine($"Succeeded: {result}"); } - // Get security assessment metadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSecurityAssessmentMetadata() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2021-06-01/examples/AssessmentsMetadata/GetAssessmentsMetadata_example.json @@ -132,7 +129,7 @@ public async Task GetIfExists_GetSecurityAssessmentMetadata() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_TenantAssessmentMetadataResource.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_TenantAssessmentMetadataResource.cs index cbbc17c51b716..1833fe405deca 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_TenantAssessmentMetadataResource.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_TenantAssessmentMetadataResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_TenantAssessmentMetadataResource { - // Get security assessment metadata - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSecurityAssessmentMetadata() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2021-06-01/examples/AssessmentsMetadata/GetAssessmentsMetadata_example.json diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_TenantResourceExtensions.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_TenantResourceExtensions.cs index 55576e5799be7..dcff43b7bedce 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_TenantResourceExtensions.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/samples/Generated/Samples/Sample_TenantResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityCenter.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityCenter.Samples { public partial class Sample_TenantResourceExtensions { - // List security controls definition - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSecureScoreControlDefinitions_ListSecurityControlsDefinition() { // Generated from example definition: specification/security/resource-manager/Microsoft.Security/stable/2020-01-01/examples/secureScoreControlDefinitions/ListSecureScoreControlDefinitions_example.json @@ -38,7 +38,7 @@ public async Task GetSecureScoreControlDefinitions_ListSecurityControlsDefinitio Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsConnectorCollection.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsConnectorCollection.cs index c109c4afdff4a..dcf57308e99a7 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsConnectorCollection.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsConnectorCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityDevOps.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityDevOps.Samples { public partial class Sample_AzureDevOpsConnectorCollection { - // AzureDevOpsConnector_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AzureDevOpsConnectorListByResourceGroup() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsConnectorListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_AzureDevOpsConnectorListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AzureDevOpsConnector_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AzureDevOpsConnectorGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsConnectorGet.json @@ -86,9 +85,8 @@ public async Task Get_AzureDevOpsConnectorGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AzureDevOpsConnector_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AzureDevOpsConnectorGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsConnectorGet.json @@ -116,9 +114,8 @@ public async Task Exists_AzureDevOpsConnectorGet() Console.WriteLine($"Succeeded: {result}"); } - // AzureDevOpsConnector_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AzureDevOpsConnectorGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsConnectorGet.json @@ -146,7 +143,7 @@ public async Task GetIfExists_AzureDevOpsConnectorGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_AzureDevOpsConnectorGet() } } - // AzureDevOpsConnector_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AzureDevOpsConnectorCreateOrUpdate() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsConnectorCreateOrUpdate.json diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsConnectorResource.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsConnectorResource.cs index 9b721b4fd460f..724f69006318b 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsConnectorResource.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsConnectorResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityDevOps.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityDevOps.Samples { public partial class Sample_AzureDevOpsConnectorResource { - // AzureDevOpsConnector_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AzureDevOpsConnectorGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsConnectorGet.json @@ -47,9 +47,8 @@ public async Task Get_AzureDevOpsConnectorGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AzureDevOpsConnector_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AzureDevOpsConnectorUpdate() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsConnectorUpdate.json @@ -87,9 +86,8 @@ public async Task Update_AzureDevOpsConnectorUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AzureDevOpsConnector_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_AzureDevOpsConnectorDelete() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsConnectorDelete.json @@ -111,12 +109,11 @@ public async Task Delete_AzureDevOpsConnectorDelete() // invoke the operation await azureDevOpsConnector.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AzureDevOpsConnector_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAzureDevOpsConnectors_AzureDevOpsConnectorListBySubscription() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsConnectorListBySubscription.json @@ -143,12 +140,11 @@ public async Task GetAzureDevOpsConnectors_AzureDevOpsConnectorListBySubscriptio Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AzureDevOpsRepo_ListByConnector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAzureDevOpsReposByConnector_AzureDevOpsRepoListByConnector() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsRepoListByConnector.json @@ -177,12 +173,11 @@ public async Task GetAzureDevOpsReposByConnector_AzureDevOpsRepoListByConnector( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AzureDevOpsConnectorStats_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAzureDevOpsConnectorStats_AzureDevOpsConnectorStatsGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsConnectorStatsGet.json @@ -207,7 +202,7 @@ public async Task GetAzureDevOpsConnectorStats_AzureDevOpsConnectorStatsGet() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsOrgCollection.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsOrgCollection.cs index 35abb9237ff07..58766f45fcb4e 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsOrgCollection.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsOrgCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityDevOps.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityDevOps.Samples { public partial class Sample_AzureDevOpsOrgCollection { - // AzureDevOpsOrg_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AzureDevOpsOrgList() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsOrgList.json @@ -49,12 +49,11 @@ public async Task GetAll_AzureDevOpsOrgList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AzureDevOpsOrg_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AzureDevOpsOrgGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsOrgGet.json @@ -87,9 +86,8 @@ public async Task Get_AzureDevOpsOrgGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AzureDevOpsOrg_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AzureDevOpsOrgGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsOrgGet.json @@ -118,9 +116,8 @@ public async Task Exists_AzureDevOpsOrgGet() Console.WriteLine($"Succeeded: {result}"); } - // AzureDevOpsOrg_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AzureDevOpsOrgGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsOrgGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_AzureDevOpsOrgGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_AzureDevOpsOrgGet() } } - // AzureDevOpsOrg_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AzureDevOpsOrgCreateOrUpdate() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsOrgCreateOrUpdate.json diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsOrgResource.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsOrgResource.cs index 300f16541b84b..2394df84934b6 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsOrgResource.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsOrgResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityDevOps.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityDevOps.Samples { public partial class Sample_AzureDevOpsOrgResource { - // AzureDevOpsOrg_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AzureDevOpsOrgGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsOrgGet.json @@ -47,9 +47,8 @@ public async Task Get_AzureDevOpsOrgGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AzureDevOpsOrg_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AzureDevOpsOrgUpdate() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsOrgUpdate.json diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsProjectCollection.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsProjectCollection.cs index c2af419f96d65..874b8d044c167 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsProjectCollection.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsProjectCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityDevOps.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityDevOps.Samples { public partial class Sample_AzureDevOpsProjectCollection { - // AzureDevOpsProject_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AzureDevOpsProjectList() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsProjectList.json @@ -50,12 +50,11 @@ public async Task GetAll_AzureDevOpsProjectList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AzureDevOpsProject_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AzureDevOpsProjectGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsProjectGet.json @@ -89,9 +88,8 @@ public async Task Get_AzureDevOpsProjectGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AzureDevOpsProject_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AzureDevOpsProjectGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsProjectGet.json @@ -121,9 +119,8 @@ public async Task Exists_AzureDevOpsProjectGet() Console.WriteLine($"Succeeded: {result}"); } - // AzureDevOpsProject_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AzureDevOpsProjectGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsProjectGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_AzureDevOpsProjectGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_AzureDevOpsProjectGet() } } - // AzureDevOpsProject_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AzureDevOpsProjectCreateOrUpdate() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsProjectCreateOrUpdate.json diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsProjectResource.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsProjectResource.cs index e5fd1b49ee97a..7cfd4c5a6a098 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsProjectResource.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsProjectResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityDevOps.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityDevOps.Samples { public partial class Sample_AzureDevOpsProjectResource { - // AzureDevOpsProject_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AzureDevOpsProjectGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsProjectGet.json @@ -48,9 +48,8 @@ public async Task Get_AzureDevOpsProjectGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AzureDevOpsProject_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AzureDevOpsProjectUpdate() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsProjectUpdate.json diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsRepoCollection.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsRepoCollection.cs index bff61662b7dde..e88bc6b4479a9 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsRepoCollection.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsRepoCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SecurityDevOps.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityDevOps.Samples { public partial class Sample_AzureDevOpsRepoCollection { - // AzureDevOpsRepo_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_AzureDevOpsRepoList() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsRepoList.json @@ -51,12 +51,11 @@ public async Task GetAll_AzureDevOpsRepoList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AzureDevOpsRepo_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AzureDevOpsRepoGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsRepoGet.json @@ -91,9 +90,8 @@ public async Task Get_AzureDevOpsRepoGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AzureDevOpsRepo_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_AzureDevOpsRepoGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsRepoGet.json @@ -124,9 +122,8 @@ public async Task Exists_AzureDevOpsRepoGet() Console.WriteLine($"Succeeded: {result}"); } - // AzureDevOpsRepo_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_AzureDevOpsRepoGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsRepoGet.json @@ -157,7 +154,7 @@ public async Task GetIfExists_AzureDevOpsRepoGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_AzureDevOpsRepoGet() } } - // AzureDevOpsRepo_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AzureDevOpsRepoCreateOrUpdate() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsRepoCreateOrUpdate.json diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsRepoResource.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsRepoResource.cs index f62d77b181040..628ca8508ea7c 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsRepoResource.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_AzureDevOpsRepoResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityDevOps.Samples { public partial class Sample_AzureDevOpsRepoResource { - // AzureDevOpsRepo_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_AzureDevOpsRepoGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsRepoGet.json @@ -48,9 +48,8 @@ public async Task Get_AzureDevOpsRepoGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // AzureDevOpsRepo_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AzureDevOpsRepoUpdate() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/AzureDevOpsRepoUpdate.json diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_GitHubConnectorCollection.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_GitHubConnectorCollection.cs index 3c1b293d147bd..abdfc165a2f20 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_GitHubConnectorCollection.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_GitHubConnectorCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityDevOps.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityDevOps.Samples { public partial class Sample_GitHubConnectorCollection { - // GitHubConnector_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GitHubConnectorListByResourceGroup() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/GitHubConnectorListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_GitHubConnectorListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GitHubConnector_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GitHubConnectorGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/GitHubConnectorGet.json @@ -86,9 +85,8 @@ public async Task Get_GitHubConnectorGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GitHubConnector_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GitHubConnectorGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/GitHubConnectorGet.json @@ -116,9 +114,8 @@ public async Task Exists_GitHubConnectorGet() Console.WriteLine($"Succeeded: {result}"); } - // GitHubConnector_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GitHubConnectorGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/GitHubConnectorGet.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GitHubConnectorGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GitHubConnectorGet() } } - // GitHubConnector_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_GitHubConnectorCreateOrUpdate() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/GitHubConnectorCreateOrUpdate.json diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_GitHubConnectorResource.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_GitHubConnectorResource.cs index 8b595d11f02d9..ac09eb1536f25 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_GitHubConnectorResource.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_GitHubConnectorResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SecurityDevOps.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityDevOps.Samples { public partial class Sample_GitHubConnectorResource { - // GitHubConnector_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GitHubConnectorGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/GitHubConnectorGet.json @@ -47,9 +47,8 @@ public async Task Get_GitHubConnectorGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GitHubConnector_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_GitHubConnectorUpdate() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/GitHubConnectorUpdate.json @@ -87,9 +86,8 @@ public async Task Update_GitHubConnectorUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GitHubConnector_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_GitHubConnectorDelete() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/GitHubConnectorDelete.json @@ -111,12 +109,11 @@ public async Task Delete_GitHubConnectorDelete() // invoke the operation await gitHubConnector.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GitHubConnector_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetGitHubConnectors_GitHubConnectorListBySubscription() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/GitHubConnectorListBySubscription.json @@ -143,12 +140,11 @@ public async Task GetGitHubConnectors_GitHubConnectorListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GitHubRepo_ListByConnector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetGitHubReposByConnector_GitHubRepoListByConnector() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/GitHubRepoListByConnector.json @@ -177,12 +173,11 @@ public async Task GetGitHubReposByConnector_GitHubRepoListByConnector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GitHubConnectorStats_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetGitHubConnectorStats_GitHubConnectorStatsGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/GitHubConnectorStatsGet.json @@ -207,7 +202,7 @@ public async Task GetGitHubConnectorStats_GitHubConnectorStatsGet() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_GitHubOwnerCollection.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_GitHubOwnerCollection.cs index 4faf869e8db44..0e0d6b4bdfa2c 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_GitHubOwnerCollection.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_GitHubOwnerCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityDevOps.Samples { public partial class Sample_GitHubOwnerCollection { - // GitHubOwner_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GitHubOwnerList() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/GitHubOwnerList.json @@ -48,12 +48,11 @@ public async Task GetAll_GitHubOwnerList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GitHubOwner_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GitHubOwnerGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/GitHubOwnerGet.json @@ -86,9 +85,8 @@ public async Task Get_GitHubOwnerGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GitHubOwner_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GitHubOwnerGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/GitHubOwnerGet.json @@ -117,9 +115,8 @@ public async Task Exists_GitHubOwnerGet() Console.WriteLine($"Succeeded: {result}"); } - // GitHubOwner_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GitHubOwnerGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/GitHubOwnerGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GitHubOwnerGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GitHubOwnerGet() } } - // GitHubOwner_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_GitHubOwnerCreateOrUpdate() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/GitHubOwnerCreateOrUpdate.json diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_GitHubOwnerResource.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_GitHubOwnerResource.cs index 222e977c7a711..c4ac8fddb5d4a 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_GitHubOwnerResource.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_GitHubOwnerResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityDevOps.Samples { public partial class Sample_GitHubOwnerResource { - // GitHubOwner_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GitHubOwnerGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/GitHubOwnerGet.json @@ -46,9 +46,8 @@ public async Task Get_GitHubOwnerGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GitHubOwner_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_GitHubOwnerUpdate() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/GitHubOwnerUpdate.json diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_GitHubRepoCollection.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_GitHubRepoCollection.cs index 40afe9023f969..86aaca2a7842e 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_GitHubRepoCollection.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_GitHubRepoCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityDevOps.Samples { public partial class Sample_GitHubRepoCollection { - // GitHubRepo_List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GitHubRepoList() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/GitHubRepoList.json @@ -49,12 +49,11 @@ public async Task GetAll_GitHubRepoList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // GitHubRepo_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GitHubRepoGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/GitHubRepoGet.json @@ -88,9 +87,8 @@ public async Task Get_GitHubRepoGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GitHubRepo_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GitHubRepoGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/GitHubRepoGet.json @@ -120,9 +118,8 @@ public async Task Exists_GitHubRepoGet() Console.WriteLine($"Succeeded: {result}"); } - // GitHubRepo_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GitHubRepoGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/GitHubRepoGet.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GitHubRepoGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_GitHubRepoGet() } } - // GitHubRepo_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_GitHubRepoCreateOrUpdate() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/GitHubRepoCreateOrUpdate.json diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_GitHubRepoResource.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_GitHubRepoResource.cs index ef9b09a6309c5..e5c86bcd0da46 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_GitHubRepoResource.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/samples/Generated/Samples/Sample_GitHubRepoResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SecurityDevOps.Samples { public partial class Sample_GitHubRepoResource { - // GitHubRepo_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GitHubRepoGet() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/GitHubRepoGet.json @@ -47,9 +47,8 @@ public async Task Get_GitHubRepoGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // GitHubRepo_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_GitHubRepoUpdate() { // Generated from example definition: specification/securitydevops/resource-manager/Microsoft.SecurityDevOps/preview/2022-09-01-preview/examples/GitHubRepoUpdate.json diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpDiagnosticCollection.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpDiagnosticCollection.cs index 8ea8c6466a201..6c58aeb02e33b 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpDiagnosticCollection.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpDiagnosticCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SelfHelp.Samples { public partial class Sample_SelfHelpDiagnosticCollection { - // Creates a Diagnostic for a KeyVault resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesADiagnosticForAKeyVaultResource() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/CreateDiagnosticForKeyVaultResource.json @@ -48,9 +48,8 @@ public async Task CreateOrUpdate_CreatesADiagnosticForAKeyVaultResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a Diagnostic for a KeyVault resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADiagnosticForAKeyVaultResource() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/GetDiagnosticForKeyVaultResource.json @@ -80,9 +79,8 @@ public async Task Get_GetsADiagnosticForAKeyVaultResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a Diagnostic for a KeyVault resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsADiagnosticForAKeyVaultResource() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/GetDiagnosticForKeyVaultResource.json @@ -108,9 +106,8 @@ public async Task Exists_GetsADiagnosticForAKeyVaultResource() Console.WriteLine($"Succeeded: {result}"); } - // Gets a Diagnostic for a KeyVault resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsADiagnosticForAKeyVaultResource() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/GetDiagnosticForKeyVaultResource.json @@ -136,7 +133,7 @@ public async Task GetIfExists_GetsADiagnosticForAKeyVaultResource() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpDiagnosticResource.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpDiagnosticResource.cs index 0d8d8dd96a896..7176e86b8cc5f 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpDiagnosticResource.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpDiagnosticResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SelfHelp.Samples { public partial class Sample_SelfHelpDiagnosticResource { - // Creates a Diagnostic for a KeyVault resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesADiagnosticForAKeyVaultResource() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/CreateDiagnosticForKeyVaultResource.json @@ -46,9 +46,8 @@ public async Task Update_CreatesADiagnosticForAKeyVaultResource() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a Diagnostic for a KeyVault resource - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADiagnosticForAKeyVaultResource() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/GetDiagnosticForKeyVaultResource.json diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpSimplifiedSolutionCollection.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpSimplifiedSolutionCollection.cs index f638d35d85564..042d9452678b5 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpSimplifiedSolutionCollection.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpSimplifiedSolutionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SelfHelp.Samples { public partial class Sample_SelfHelpSimplifiedSolutionCollection { - // Solution_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SolutionCreate() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/SimplifiedSolutions_Create.json @@ -55,9 +55,8 @@ public async Task CreateOrUpdate_SolutionCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Solution_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SolutionGet() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/SimplifiedSolutions_Get.json @@ -87,9 +86,8 @@ public async Task Get_SolutionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Solution_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SolutionGet() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/SimplifiedSolutions_Get.json @@ -115,9 +113,8 @@ public async Task Exists_SolutionGet() Console.WriteLine($"Succeeded: {result}"); } - // Solution_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SolutionGet() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/SimplifiedSolutions_Get.json @@ -143,7 +140,7 @@ public async Task GetIfExists_SolutionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpSimplifiedSolutionResource.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpSimplifiedSolutionResource.cs index 0299b48976c7d..642b36cd98465 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpSimplifiedSolutionResource.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpSimplifiedSolutionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SelfHelp.Samples { public partial class Sample_SelfHelpSimplifiedSolutionResource { - // Solution_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SolutionCreate() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/SimplifiedSolutions_Create.json @@ -53,9 +53,8 @@ public async Task Update_SolutionCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Solution_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SolutionGet() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/SimplifiedSolutions_Get.json diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpSolutionCollection.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpSolutionCollection.cs index 713f7c9f6d89f..72a20497abed3 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpSolutionCollection.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpSolutionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SelfHelp.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SelfHelp.Samples { public partial class Sample_SelfHelpSolutionCollection { - // Solution_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SolutionCreate() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/Solution_Create.json @@ -63,9 +63,8 @@ public async Task CreateOrUpdate_SolutionCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Solution_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SolutionGet() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/Solution_Get.json @@ -95,9 +94,8 @@ public async Task Get_SolutionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Solution_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SolutionGet() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/Solution_Get.json @@ -123,9 +121,8 @@ public async Task Exists_SolutionGet() Console.WriteLine($"Succeeded: {result}"); } - // Solution_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SolutionGet() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/Solution_Get.json @@ -151,7 +148,7 @@ public async Task GetIfExists_SolutionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpSolutionResource.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpSolutionResource.cs index 529cc4e9daa16..8bd60f15645a1 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpSolutionResource.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpSolutionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SelfHelp.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SelfHelp.Samples { public partial class Sample_SelfHelpSolutionResource { - // Solution_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SolutionGet() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/Solution_Get.json @@ -45,9 +45,8 @@ public async Task Get_SolutionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Solution_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SolutionUpdate() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/Solution_Update.json @@ -77,9 +76,8 @@ public async Task Update_SolutionUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Solution_WarmUp - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task WarmUp_SolutionWarmUp() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/Solution_WarmUp.json @@ -100,7 +98,7 @@ public async Task WarmUp_SolutionWarmUp() // invoke the operation await selfHelpSolution.WarmUpAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpTroubleshooterCollection.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpTroubleshooterCollection.cs index 582944796b4df..0e3a77462bae5 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpTroubleshooterCollection.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpTroubleshooterCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SelfHelp.Samples { public partial class Sample_SelfHelpTroubleshooterCollection { - // Troubleshooters_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TroubleshootersCreate() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/Troubleshooter_Create.json @@ -55,9 +55,8 @@ public async Task CreateOrUpdate_TroubleshootersCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Troubleshooters_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TroubleshootersGet() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/Troubleshooter_Get.json @@ -87,9 +86,8 @@ public async Task Get_TroubleshootersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Troubleshooters_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_TroubleshootersGet() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/Troubleshooter_Get.json @@ -115,9 +113,8 @@ public async Task Exists_TroubleshootersGet() Console.WriteLine($"Succeeded: {result}"); } - // Troubleshooters_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TroubleshootersGet() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/Troubleshooter_Get.json @@ -143,7 +140,7 @@ public async Task GetIfExists_TroubleshootersGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpTroubleshooterResource.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpTroubleshooterResource.cs index 936f1758fdde4..d59759a3e34c1 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpTroubleshooterResource.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SelfHelpTroubleshooterResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SelfHelp.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SelfHelp.Samples { public partial class Sample_SelfHelpTroubleshooterResource { - // Troubleshooters_Create - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TroubleshootersCreate() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/Troubleshooter_Create.json @@ -54,9 +54,8 @@ public async Task Update_TroubleshootersCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Troubleshooters_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TroubleshootersGet() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/Troubleshooter_Get.json @@ -84,9 +83,8 @@ public async Task Get_TroubleshootersGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Troubleshooter_Continue - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Continue_TroubleshooterContinue() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/Troubleshooter_Continue.json @@ -120,12 +118,11 @@ public async Task Continue_TroubleshooterContinue() }; await selfHelpTroubleshooter.ContinueAsync(content: content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Troubleshooters_End - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task End_TroubleshootersEnd() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/Troubleshooter_End.json @@ -146,12 +143,11 @@ public async Task End_TroubleshootersEnd() // invoke the operation await selfHelpTroubleshooter.EndAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Troubleshooters_Restart - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_TroubleshootersRestart() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/Troubleshooter_Restart.json diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index ad4d7610bc16c..bb69a5ec0c406 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SelfHelp.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SelfHelp.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Discovery Solutions using issue summary and service id. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DiscoverSolutionsNlp_DiscoverySolutionsUsingIssueSummaryAndServiceId() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/DiscoverSolutionsAtSubscriptionScope.json @@ -46,7 +46,7 @@ public async Task DiscoverSolutionsNlp_DiscoverySolutionsUsingIssueSummaryAndSer Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_TenantResourceExtensions.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_TenantResourceExtensions.cs index 88b393eeeb27e..ac3a01c8b01f0 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_TenantResourceExtensions.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/samples/Generated/Samples/Sample_TenantResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SelfHelp.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SelfHelp.Samples { public partial class Sample_TenantResourceExtensions { - // List DiscoverySolutions at resource scope - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DiscoverSolutions_ListDiscoverySolutionsAtResourceScope() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/ListDiscoverySolutionsAtTenantScope.json @@ -39,12 +39,11 @@ public async Task DiscoverSolutions_ListDiscoverySolutionsAtResourceScope() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Solution_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSelfHelpSolutionById_SolutionGet() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/SelfHelpSolution_Get.json @@ -66,9 +65,8 @@ public async Task GetSelfHelpSolutionById_SolutionGet() Console.WriteLine($"Succeeded: {result}"); } - // Discovery Solutions using issue summary and service id. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DiscoverSolutionsNlp_DiscoverySolutionsUsingIssueSummaryAndServiceId() { // Generated from example definition: specification/help/resource-manager/Microsoft.Help/preview/2024-03-01-preview/examples/DiscoverSolutionsAtTenantScope.json @@ -93,7 +91,7 @@ public async Task DiscoverSolutionsNlp_DiscoverySolutionsUsingIssueSummaryAndSer Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_MigrationConfigurationCollection.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_MigrationConfigurationCollection.cs index 2f20aeeb984cb..f00588ae0a6c8 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_MigrationConfigurationCollection.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_MigrationConfigurationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceBus.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceBus.Samples { public partial class Sample_MigrationConfigurationCollection { - // MigrationConfigurationsList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_MigrationConfigurationsList() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Migrationconfigurations/SBMigrationconfigurationList.json @@ -49,12 +49,11 @@ public async Task GetAll_MigrationConfigurationsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // MigrationConfigurationsStartMigration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_MigrationConfigurationsStartMigration() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Migrationconfigurations/SBMigrationconfigurationCreateAndStartMigration.json @@ -93,9 +92,8 @@ public async Task CreateOrUpdate_MigrationConfigurationsStartMigration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MigrationConfigurationsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MigrationConfigurationsGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Migrationconfigurations/SBMigrationconfigurationGet.json @@ -128,9 +126,8 @@ public async Task Get_MigrationConfigurationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MigrationConfigurationsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_MigrationConfigurationsGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Migrationconfigurations/SBMigrationconfigurationGet.json @@ -159,9 +156,8 @@ public async Task Exists_MigrationConfigurationsGet() Console.WriteLine($"Succeeded: {result}"); } - // MigrationConfigurationsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_MigrationConfigurationsGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Migrationconfigurations/SBMigrationconfigurationGet.json @@ -190,7 +186,7 @@ public async Task GetIfExists_MigrationConfigurationsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_MigrationConfigurationResource.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_MigrationConfigurationResource.cs index e50cfbf881182..667755157ad20 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_MigrationConfigurationResource.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_MigrationConfigurationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceBus.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceBus.Samples { public partial class Sample_MigrationConfigurationResource { - // MigrationConfigurationsStartMigration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_MigrationConfigurationsStartMigration() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Migrationconfigurations/SBMigrationconfigurationCreateAndStartMigration.json @@ -53,9 +53,8 @@ public async Task Update_MigrationConfigurationsStartMigration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MigrationConfigurationsDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_MigrationConfigurationsDelete() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Migrationconfigurations/SBMigrationconfigurationDelete.json @@ -78,12 +77,11 @@ public async Task Delete_MigrationConfigurationsDelete() // invoke the operation await migrationConfiguration.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // MigrationConfigurationsGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_MigrationConfigurationsGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Migrationconfigurations/SBMigrationconfigurationGet.json @@ -113,9 +111,8 @@ public async Task Get_MigrationConfigurationsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // MigrationConfigurationsCompleteMigration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CompleteMigration_MigrationConfigurationsCompleteMigration() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Migrationconfigurations/SBMigrationconfigurationCompleteMigration.json @@ -138,12 +135,11 @@ public async Task CompleteMigration_MigrationConfigurationsCompleteMigration() // invoke the operation await migrationConfiguration.CompleteMigrationAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // MigrationConfigurationsRevert - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Revert_MigrationConfigurationsRevert() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Migrationconfigurations/SBMigrationconfigurationRevert.json @@ -166,7 +162,7 @@ public async Task Revert_MigrationConfigurationsRevert() // invoke the operation await migrationConfiguration.RevertAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusDisasterRecoveryAuthorizationRuleCollection.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusDisasterRecoveryAuthorizationRuleCollection.cs index 1553c3236f348..50268fd81bdb5 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusDisasterRecoveryAuthorizationRuleCollection.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusDisasterRecoveryAuthorizationRuleCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceBus.Samples { public partial class Sample_ServiceBusDisasterRecoveryAuthorizationRuleCollection { - // NameSpaceAuthorizationRuleListAll - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NameSpaceAuthorizationRuleListAll() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleListAll.json @@ -49,12 +49,11 @@ public async Task GetAll_NameSpaceAuthorizationRuleListAll() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DisasterRecoveryConfigsAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DisasterRecoveryConfigsAuthorizationRuleGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleGet.json @@ -88,9 +87,8 @@ public async Task Get_DisasterRecoveryConfigsAuthorizationRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DisasterRecoveryConfigsAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DisasterRecoveryConfigsAuthorizationRuleGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleGet.json @@ -120,9 +118,8 @@ public async Task Exists_DisasterRecoveryConfigsAuthorizationRuleGet() Console.WriteLine($"Succeeded: {result}"); } - // DisasterRecoveryConfigsAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DisasterRecoveryConfigsAuthorizationRuleGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleGet.json @@ -152,7 +149,7 @@ public async Task GetIfExists_DisasterRecoveryConfigsAuthorizationRuleGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusDisasterRecoveryAuthorizationRuleResource.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusDisasterRecoveryAuthorizationRuleResource.cs index b1661caaa10e4..5e6e123d4c497 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusDisasterRecoveryAuthorizationRuleResource.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusDisasterRecoveryAuthorizationRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceBus.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceBus.Samples { public partial class Sample_ServiceBusDisasterRecoveryAuthorizationRuleResource { - // DisasterRecoveryConfigsAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DisasterRecoveryConfigsAuthorizationRuleGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleGet.json @@ -48,9 +48,8 @@ public async Task Get_DisasterRecoveryConfigsAuthorizationRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DisasterRecoveryConfigsAuthorizationRuleListKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_DisasterRecoveryConfigsAuthorizationRuleListKey() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/disasterRecoveryConfigs/SBAliasAuthorizationRuleListKey.json diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusDisasterRecoveryCollection.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusDisasterRecoveryCollection.cs index 3b9265f2afd2c..e400b45c3d4cd 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusDisasterRecoveryCollection.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusDisasterRecoveryCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceBus.Samples { public partial class Sample_ServiceBusDisasterRecoveryCollection { - // SBAliasList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SBAliasList() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/disasterRecoveryConfigs/SBAliasList.json @@ -48,12 +48,11 @@ public async Task GetAll_SBAliasList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SBAliasCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SBAliasCreate() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/disasterRecoveryConfigs/SBAliasCreate.json @@ -92,9 +91,8 @@ public async Task CreateOrUpdate_SBAliasCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SBAliasGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SBAliasGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/disasterRecoveryConfigs/SBAliasGet.json @@ -127,9 +125,8 @@ public async Task Get_SBAliasGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SBAliasGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SBAliasGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/disasterRecoveryConfigs/SBAliasGet.json @@ -158,9 +155,8 @@ public async Task Exists_SBAliasGet() Console.WriteLine($"Succeeded: {result}"); } - // SBAliasGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SBAliasGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/disasterRecoveryConfigs/SBAliasGet.json @@ -189,7 +185,7 @@ public async Task GetIfExists_SBAliasGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusDisasterRecoveryResource.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusDisasterRecoveryResource.cs index fb1b1a076f035..43fd25aaef871 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusDisasterRecoveryResource.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusDisasterRecoveryResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceBus.Samples { public partial class Sample_ServiceBusDisasterRecoveryResource { - // SBAliasCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SBAliasCreate() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/disasterRecoveryConfigs/SBAliasCreate.json @@ -52,9 +52,8 @@ public async Task Update_SBAliasCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SBAliasDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SBAliasDelete() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/disasterRecoveryConfigs/SBAliasDelete.json @@ -77,12 +76,11 @@ public async Task Delete_SBAliasDelete() // invoke the operation await serviceBusDisasterRecovery.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SBAliasGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SBAliasGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/disasterRecoveryConfigs/SBAliasGet.json @@ -112,9 +110,8 @@ public async Task Get_SBAliasGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SBEHAliasBreakPairing - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task BreakPairing_SBEHAliasBreakPairing() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/disasterRecoveryConfigs/SBEHAliasBreakPairing.json @@ -137,12 +134,11 @@ public async Task BreakPairing_SBEHAliasBreakPairing() // invoke the operation await serviceBusDisasterRecovery.BreakPairingAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SBAliasFailOver - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task FailOver_SBAliasFailOver() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/disasterRecoveryConfigs/SBAliasFailOver.json @@ -165,7 +161,7 @@ public async Task FailOver_SBAliasFailOver() // invoke the operation await serviceBusDisasterRecovery.FailOverAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusNamespaceAuthorizationRuleCollection.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusNamespaceAuthorizationRuleCollection.cs index a8294844a2983..88b488e9d571b 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusNamespaceAuthorizationRuleCollection.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusNamespaceAuthorizationRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceBus.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceBus.Samples { public partial class Sample_ServiceBusNamespaceAuthorizationRuleCollection { - // NameSpaceAuthorizationRuleListAll - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NameSpaceAuthorizationRuleListAll() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/SBNameSpaceAuthorizationRuleListAll.json @@ -49,12 +49,11 @@ public async Task GetAll_NameSpaceAuthorizationRuleListAll() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NameSpaceAuthorizationRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NameSpaceAuthorizationRuleCreate() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/SBNameSpaceAuthorizationRuleCreate.json @@ -95,9 +94,8 @@ public async Task CreateOrUpdate_NameSpaceAuthorizationRuleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpaceAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NameSpaceAuthorizationRuleGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/SBNameSpaceAuthorizationRuleGet.json @@ -130,9 +128,8 @@ public async Task Get_NameSpaceAuthorizationRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpaceAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NameSpaceAuthorizationRuleGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/SBNameSpaceAuthorizationRuleGet.json @@ -161,9 +158,8 @@ public async Task Exists_NameSpaceAuthorizationRuleGet() Console.WriteLine($"Succeeded: {result}"); } - // NameSpaceAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NameSpaceAuthorizationRuleGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/SBNameSpaceAuthorizationRuleGet.json @@ -192,7 +188,7 @@ public async Task GetIfExists_NameSpaceAuthorizationRuleGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusNamespaceAuthorizationRuleResource.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusNamespaceAuthorizationRuleResource.cs index b46780dd4032b..19378369bea7f 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusNamespaceAuthorizationRuleResource.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusNamespaceAuthorizationRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceBus.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceBus.Samples { public partial class Sample_ServiceBusNamespaceAuthorizationRuleResource { - // NameSpaceAuthorizationRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NameSpaceAuthorizationRuleCreate() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/SBNameSpaceAuthorizationRuleCreate.json @@ -55,9 +55,8 @@ public async Task Update_NameSpaceAuthorizationRuleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpaceAuthorizationRuleDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NameSpaceAuthorizationRuleDelete() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/SBNameSpaceAuthorizationRuleDelete.json @@ -80,12 +79,11 @@ public async Task Delete_NameSpaceAuthorizationRuleDelete() // invoke the operation await serviceBusNamespaceAuthorizationRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NameSpaceAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NameSpaceAuthorizationRuleGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/SBNameSpaceAuthorizationRuleGet.json @@ -115,9 +113,8 @@ public async Task Get_NameSpaceAuthorizationRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpaceAuthorizationRuleListKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_NameSpaceAuthorizationRuleListKey() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/SBNameSpaceAuthorizationRuleListKey.json @@ -143,9 +140,8 @@ public async Task GetKeys_NameSpaceAuthorizationRuleListKey() Console.WriteLine($"Succeeded: {result}"); } - // NameSpaceAuthorizationRuleRegenerateKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKeys_NameSpaceAuthorizationRuleRegenerateKey() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/SBNameSpaceAuthorizationRuleRegenerateKey.json diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusNamespaceCollection.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusNamespaceCollection.cs index 4369edeb00ef1..e7b840db24176 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusNamespaceCollection.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusNamespaceCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.ServiceBus.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceBus.Samples { public partial class Sample_ServiceBusNamespaceCollection { - // NameSpaceListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NameSpaceListByResourceGroup() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/SBNameSpaceListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_NameSpaceListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NameSpaceCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NameSpaceCreate() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/SBNameSpaceCreate.json @@ -101,9 +100,8 @@ public async Task CreateOrUpdate_NameSpaceCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpaceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NameSpaceGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/SBNameSpaceGet.json @@ -135,9 +133,8 @@ public async Task Get_NameSpaceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpaceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NameSpaceGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/SBNameSpaceGet.json @@ -165,9 +162,8 @@ public async Task Exists_NameSpaceGet() Console.WriteLine($"Succeeded: {result}"); } - // NameSpaceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NameSpaceGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/SBNameSpaceGet.json @@ -195,7 +191,7 @@ public async Task GetIfExists_NameSpaceGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusNamespaceResource.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusNamespaceResource.cs index 200e5ae4591c8..f75a66c24b3d9 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusNamespaceResource.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusNamespaceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.ServiceBus.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceBus.Samples { public partial class Sample_ServiceBusNamespaceResource { - // NameSpaceList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetServiceBusNamespaces_NameSpaceList() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/SBNameSpaceList.json @@ -45,12 +45,11 @@ public async Task GetServiceBusNamespaces_NameSpaceList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NameSpaceDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NameSpaceDelete() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/SBNameSpaceDelete.json @@ -72,12 +71,11 @@ public async Task Delete_NameSpaceDelete() // invoke the operation await serviceBusNamespace.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NameSpaceGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NameSpaceGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/SBNameSpaceGet.json @@ -106,9 +104,8 @@ public async Task Get_NameSpaceGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpaceUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NameSpaceUpdate() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/SBNameSpaceUpdate.json @@ -145,9 +142,8 @@ public async Task Update_NameSpaceUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpaceCheckNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckServiceBusNamespaceNameAvailability_NameSpaceCheckNameAvailability() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/SBNameSpaceCheckNameAvailability.json @@ -171,9 +167,8 @@ public async Task CheckServiceBusNamespaceNameAvailability_NameSpaceCheckNameAva Console.WriteLine($"Succeeded: {result}"); } - // NameSpacePrivateLinkResourcesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinkResources_NameSpacePrivateLinkResourcesGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/PrivateLinkResourcesGet.json @@ -198,12 +193,11 @@ public async Task GetPrivateLinkResources_NameSpacePrivateLinkResourcesGet() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // AliasNameAvailability - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckServiceBusDisasterRecoveryNameAvailability_AliasNameAvailability() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/disasterRecoveryConfigs/SBAliasCheckNameAvailability.json diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusNetworkRuleSetResource.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusNetworkRuleSetResource.cs index ef475342fb3f0..6e75ff7a9a8dc 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusNetworkRuleSetResource.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusNetworkRuleSetResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceBus.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceBus.Samples { public partial class Sample_ServiceBusNetworkRuleSetResource { - // NameSpaceNetworkRuleSetCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NameSpaceNetworkRuleSetCreate() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetCreate.json @@ -91,9 +91,8 @@ public async Task CreateOrUpdate_NameSpaceNetworkRuleSetCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpaceNetworkRuleSetGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NameSpaceNetworkRuleSetGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/VirtualNetworkRule/SBNetworkRuleSetGet.json diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusPrivateEndpointConnectionCollection.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusPrivateEndpointConnectionCollection.cs index 6a5ac45832c80..944099129b87b 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusPrivateEndpointConnectionCollection.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceBus.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceBus.Samples { public partial class Sample_ServiceBusPrivateEndpointConnectionCollection { - // NameSpaceCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_NameSpaceCreate() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/PrivateEndPointConnectionList.json @@ -49,12 +49,11 @@ public async Task GetAll_NameSpaceCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NameSpacePrivateEndPointConnectionCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_NameSpacePrivateEndPointConnectionCreate() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/PrivateEndPointConnectionCreate.json @@ -98,9 +97,8 @@ public async Task CreateOrUpdate_NameSpacePrivateEndPointConnectionCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpacePrivateEndPointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NameSpacePrivateEndPointConnectionGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/PrivateEndPointConnectionGet.json @@ -133,9 +131,8 @@ public async Task Get_NameSpacePrivateEndPointConnectionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpacePrivateEndPointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_NameSpacePrivateEndPointConnectionGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/PrivateEndPointConnectionGet.json @@ -164,9 +161,8 @@ public async Task Exists_NameSpacePrivateEndPointConnectionGet() Console.WriteLine($"Succeeded: {result}"); } - // NameSpacePrivateEndPointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_NameSpacePrivateEndPointConnectionGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/PrivateEndPointConnectionGet.json @@ -195,7 +191,7 @@ public async Task GetIfExists_NameSpacePrivateEndPointConnectionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusPrivateEndpointConnectionResource.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusPrivateEndpointConnectionResource.cs index 331028292c246..85b5b5a344e84 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusPrivateEndpointConnectionResource.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceBus.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceBus.Samples { public partial class Sample_ServiceBusPrivateEndpointConnectionResource { - // NameSpacePrivateEndPointConnectionCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_NameSpacePrivateEndPointConnectionCreate() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/PrivateEndPointConnectionCreate.json @@ -58,9 +58,8 @@ public async Task Update_NameSpacePrivateEndPointConnectionCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // NameSpacePrivateEndPointConnectionDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_NameSpacePrivateEndPointConnectionDelete() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/PrivateEndPointConnectionDelete.json @@ -83,12 +82,11 @@ public async Task Delete_NameSpacePrivateEndPointConnectionDelete() // invoke the operation await serviceBusPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // NameSpacePrivateEndPointConnectionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_NameSpacePrivateEndPointConnectionGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/NameSpaces/PrivateEndPointConnectionGet.json diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusQueueAuthorizationRuleCollection.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusQueueAuthorizationRuleCollection.cs index d731fedafbdfa..1c6779d9f87bd 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusQueueAuthorizationRuleCollection.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusQueueAuthorizationRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceBus.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceBus.Samples { public partial class Sample_ServiceBusQueueAuthorizationRuleCollection { - // QueueAuthorizationRuleListAll - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_QueueAuthorizationRuleListAll() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Queues/SBQueueAuthorizationRuleListAll.json @@ -50,12 +50,11 @@ public async Task GetAll_QueueAuthorizationRuleListAll() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // QueueAuthorizationRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_QueueAuthorizationRuleCreate() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Queues/SBQueueAuthorizationRuleCreate.json @@ -97,9 +96,8 @@ public async Task CreateOrUpdate_QueueAuthorizationRuleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QueueAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QueueAuthorizationRuleGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Queues/SBQueueAuthorizationRuleGet.json @@ -133,9 +131,8 @@ public async Task Get_QueueAuthorizationRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QueueAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_QueueAuthorizationRuleGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Queues/SBQueueAuthorizationRuleGet.json @@ -165,9 +162,8 @@ public async Task Exists_QueueAuthorizationRuleGet() Console.WriteLine($"Succeeded: {result}"); } - // QueueAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_QueueAuthorizationRuleGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Queues/SBQueueAuthorizationRuleGet.json @@ -197,7 +193,7 @@ public async Task GetIfExists_QueueAuthorizationRuleGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusQueueAuthorizationRuleResource.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusQueueAuthorizationRuleResource.cs index c906a0ffeb975..17d005fa28fc1 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusQueueAuthorizationRuleResource.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusQueueAuthorizationRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceBus.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceBus.Samples { public partial class Sample_ServiceBusQueueAuthorizationRuleResource { - // QueueAuthorizationRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_QueueAuthorizationRuleCreate() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Queues/SBQueueAuthorizationRuleCreate.json @@ -56,9 +56,8 @@ public async Task Update_QueueAuthorizationRuleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QueueAuthorizationRuleDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_QueueAuthorizationRuleDelete() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Queues/SBQueueAuthorizationRuleDelete.json @@ -82,12 +81,11 @@ public async Task Delete_QueueAuthorizationRuleDelete() // invoke the operation await serviceBusQueueAuthorizationRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // QueueAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QueueAuthorizationRuleGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Queues/SBQueueAuthorizationRuleGet.json @@ -118,9 +116,8 @@ public async Task Get_QueueAuthorizationRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QueueAuthorizationRuleListKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_QueueAuthorizationRuleListKey() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Queues/SBQueueAuthorizationRuleListKey.json @@ -147,9 +144,8 @@ public async Task GetKeys_QueueAuthorizationRuleListKey() Console.WriteLine($"Succeeded: {result}"); } - // QueueAuthorizationRuleRegenerateKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKeys_QueueAuthorizationRuleRegenerateKey() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Queues/SBQueueAuthorizationRuleRegenerateKey.json diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusQueueCollection.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusQueueCollection.cs index ec29af0e544a9..96e03ab67293d 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusQueueCollection.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusQueueCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceBus.Samples { public partial class Sample_ServiceBusQueueCollection { - // QueueListByNameSpace - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_QueueListByNameSpace() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Queues/SBQueueListByNameSpace.json @@ -48,12 +48,11 @@ public async Task GetAll_QueueListByNameSpace() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // QueueCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_QueueCreate() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Queues/SBQueueCreate.json @@ -91,9 +90,8 @@ public async Task CreateOrUpdate_QueueCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QueueGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QueueGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Queues/SBQueueGet.json @@ -126,9 +124,8 @@ public async Task Get_QueueGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QueueGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_QueueGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Queues/SBQueueGet.json @@ -157,9 +154,8 @@ public async Task Exists_QueueGet() Console.WriteLine($"Succeeded: {result}"); } - // QueueGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_QueueGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Queues/SBQueueGet.json @@ -188,7 +184,7 @@ public async Task GetIfExists_QueueGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusQueueResource.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusQueueResource.cs index 87b027be2de4c..b5b34a8b8067b 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusQueueResource.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusQueueResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceBus.Samples { public partial class Sample_ServiceBusQueueResource { - // QueueCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_QueueCreate() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Queues/SBQueueCreate.json @@ -51,9 +51,8 @@ public async Task Update_QueueCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // QueueDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_QueueDelete() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Queues/SBQueueDelete.json @@ -76,12 +75,11 @@ public async Task Delete_QueueDelete() // invoke the operation await serviceBusQueue.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // QueueGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_QueueGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Queues/SBQueueGet.json diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusRuleCollection.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusRuleCollection.cs index f4de5fcaa2e23..ac50ca574fa4d 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusRuleCollection.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceBus.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceBus.Samples { public partial class Sample_ServiceBusRuleCollection { - // RulesListBySubscriptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_RulesListBySubscriptions() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Rules/RuleListBySubscription.json @@ -51,12 +51,11 @@ public async Task GetAll_RulesListBySubscriptions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RulesCreateCorrelationFilter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RulesCreateCorrelationFilter() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Rules/RuleCreate_CorrelationFilter.json @@ -103,9 +102,8 @@ public async Task CreateOrUpdate_RulesCreateCorrelationFilter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RulesCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RulesCreateOrUpdate() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Rules/RuleCreate.json @@ -142,9 +140,8 @@ public async Task CreateOrUpdate_RulesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RulesCreateSqlFilter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_RulesCreateSqlFilter() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Rules/RuleCreate_SqlFilter.json @@ -188,9 +185,8 @@ public async Task CreateOrUpdate_RulesCreateSqlFilter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RulesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RulesGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Rules/RuleGet.json @@ -225,9 +221,8 @@ public async Task Get_RulesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RulesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_RulesGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Rules/RuleGet.json @@ -258,9 +253,8 @@ public async Task Exists_RulesGet() Console.WriteLine($"Succeeded: {result}"); } - // RulesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_RulesGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Rules/RuleGet.json @@ -291,7 +285,7 @@ public async Task GetIfExists_RulesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusRuleResource.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusRuleResource.cs index 6c185a13e18b5..d06d184906145 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusRuleResource.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceBus.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceBus.Samples { public partial class Sample_ServiceBusRuleResource { - // RulesCreateCorrelationFilter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RulesCreateCorrelationFilter() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Rules/RuleCreate_CorrelationFilter.json @@ -61,9 +61,8 @@ public async Task Update_RulesCreateCorrelationFilter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RulesCreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RulesCreateOrUpdate() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Rules/RuleCreate.json @@ -97,9 +96,8 @@ public async Task Update_RulesCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RulesCreateSqlFilter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RulesCreateSqlFilter() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Rules/RuleCreate_SqlFilter.json @@ -140,9 +138,8 @@ public async Task Update_RulesCreateSqlFilter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // RulesDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RulesDelete() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Rules/RuleDelete.json @@ -167,12 +164,11 @@ public async Task Delete_RulesDelete() // invoke the operation await serviceBusRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // RulesGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_RulesGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Rules/RuleGet.json diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusSubscriptionCollection.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusSubscriptionCollection.cs index fc9a6cbe7ce73..e43e192f33615 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusSubscriptionCollection.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusSubscriptionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceBus.Samples { public partial class Sample_ServiceBusSubscriptionCollection { - // SubscriptionListByTopic - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SubscriptionListByTopic() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Subscriptions/SBSubscriptionListByTopic.json @@ -49,12 +49,11 @@ public async Task GetAll_SubscriptionListByTopic() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SubscriptionCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SubscriptionCreate() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Subscriptions/SBSubscriptionCreate.json @@ -93,9 +92,8 @@ public async Task CreateOrUpdate_SubscriptionCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SubscriptionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SubscriptionGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Subscriptions/SBSubscriptionGet.json @@ -129,9 +127,8 @@ public async Task Get_SubscriptionGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SubscriptionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SubscriptionGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Subscriptions/SBSubscriptionGet.json @@ -161,9 +158,8 @@ public async Task Exists_SubscriptionGet() Console.WriteLine($"Succeeded: {result}"); } - // SubscriptionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SubscriptionGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Subscriptions/SBSubscriptionGet.json @@ -193,7 +189,7 @@ public async Task GetIfExists_SubscriptionGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusSubscriptionResource.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusSubscriptionResource.cs index 810b34de19e36..f9908d5e2dcaa 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusSubscriptionResource.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusSubscriptionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceBus.Samples { public partial class Sample_ServiceBusSubscriptionResource { - // SubscriptionCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SubscriptionCreate() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Subscriptions/SBSubscriptionCreate.json @@ -52,9 +52,8 @@ public async Task Update_SubscriptionCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // SubscriptionDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SubscriptionDelete() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Subscriptions/SBSubscriptionDelete.json @@ -78,12 +77,11 @@ public async Task Delete_SubscriptionDelete() // invoke the operation await serviceBusSubscription.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // SubscriptionGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SubscriptionGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Subscriptions/SBSubscriptionGet.json diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusTopicAuthorizationRuleCollection.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusTopicAuthorizationRuleCollection.cs index ee13c6a79d1a6..4530813084c83 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusTopicAuthorizationRuleCollection.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusTopicAuthorizationRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceBus.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceBus.Samples { public partial class Sample_ServiceBusTopicAuthorizationRuleCollection { - // TopicAuthorizationRuleListAll - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_TopicAuthorizationRuleListAll() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Topics/SBTopicAuthorizationRuleListAll.json @@ -50,12 +50,11 @@ public async Task GetAll_TopicAuthorizationRuleListAll() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TopicAuthorizationRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TopicAuthorizationRuleCreate() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Topics/SBTopicAuthorizationRuleCreate.json @@ -97,9 +96,8 @@ public async Task CreateOrUpdate_TopicAuthorizationRuleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TopicAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TopicAuthorizationRuleGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Topics/SBTopicAuthorizationRuleGet.json @@ -133,9 +131,8 @@ public async Task Get_TopicAuthorizationRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TopicAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_TopicAuthorizationRuleGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Topics/SBTopicAuthorizationRuleGet.json @@ -165,9 +162,8 @@ public async Task Exists_TopicAuthorizationRuleGet() Console.WriteLine($"Succeeded: {result}"); } - // TopicAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TopicAuthorizationRuleGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Topics/SBTopicAuthorizationRuleGet.json @@ -197,7 +193,7 @@ public async Task GetIfExists_TopicAuthorizationRuleGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusTopicAuthorizationRuleResource.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusTopicAuthorizationRuleResource.cs index 4558d465d8eb7..3c0eb8aae1158 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusTopicAuthorizationRuleResource.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusTopicAuthorizationRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceBus.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceBus.Samples { public partial class Sample_ServiceBusTopicAuthorizationRuleResource { - // TopicAuthorizationRuleCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TopicAuthorizationRuleCreate() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Topics/SBTopicAuthorizationRuleCreate.json @@ -56,9 +56,8 @@ public async Task Update_TopicAuthorizationRuleCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TopicAuthorizationRuleGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TopicAuthorizationRuleGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Topics/SBTopicAuthorizationRuleGet.json @@ -89,9 +88,8 @@ public async Task Get_TopicAuthorizationRuleGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TopicAuthorizationRuleDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_TopicAuthorizationRuleDelete() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Topics/SBTopicAuthorizationRuleDelete.json @@ -115,12 +113,11 @@ public async Task Delete_TopicAuthorizationRuleDelete() // invoke the operation await serviceBusTopicAuthorizationRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TopicAuthorizationRuleListKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetKeys_TopicAuthorizationRuleListKey() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Topics/SBTopicAuthorizationRuleListKey.json @@ -147,9 +144,8 @@ public async Task GetKeys_TopicAuthorizationRuleListKey() Console.WriteLine($"Succeeded: {result}"); } - // TopicAuthorizationRuleRegenerateKey - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RegenerateKeys_TopicAuthorizationRuleRegenerateKey() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Topics/SBTopicAuthorizationRuleRegenerateKey.json diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusTopicCollection.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusTopicCollection.cs index 125dced11d7be..21ab370ec6de9 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusTopicCollection.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusTopicCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceBus.Samples { public partial class Sample_ServiceBusTopicCollection { - // TopicGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_TopicGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Topics/SBTopicListByNameSpace.json @@ -48,12 +48,11 @@ public async Task GetAll_TopicGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TopicCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TopicCreate() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Topics/SBTopicCreate.json @@ -91,9 +90,8 @@ public async Task CreateOrUpdate_TopicCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TopicGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TopicGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Topics/SBTopicGet.json @@ -126,9 +124,8 @@ public async Task Get_TopicGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TopicGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_TopicGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Topics/SBTopicGet.json @@ -157,9 +154,8 @@ public async Task Exists_TopicGet() Console.WriteLine($"Succeeded: {result}"); } - // TopicGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TopicGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Topics/SBTopicGet.json @@ -188,7 +184,7 @@ public async Task GetIfExists_TopicGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusTopicResource.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusTopicResource.cs index a686930e7ddfd..47b0421855fbb 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusTopicResource.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/samples/Generated/Samples/Sample_ServiceBusTopicResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceBus.Samples { public partial class Sample_ServiceBusTopicResource { - // TopicCreate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_TopicCreate() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Topics/SBTopicCreate.json @@ -51,9 +51,8 @@ public async Task Update_TopicCreate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // TopicDelete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_TopicDelete() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Topics/SBTopicDelete.json @@ -76,12 +75,11 @@ public async Task Delete_TopicDelete() // invoke the operation await serviceBusTopic.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // TopicGet - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_TopicGet() { // Generated from example definition: specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/examples/Topics/SBTopicGet.json diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricApplicationCollection.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricApplicationCollection.cs index a1951795bd3f5..6b75120b7a337 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricApplicationCollection.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricApplicationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceFabric.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabric.Samples { public partial class Sample_ServiceFabricApplicationCollection { - // Get an application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnApplication() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationGetOperation_example.json @@ -50,9 +50,8 @@ public async Task Get_GetAnApplication() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnApplication() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationGetOperation_example.json @@ -81,9 +80,8 @@ public async Task Exists_GetAnApplication() Console.WriteLine($"Succeeded: {result}"); } - // Get an application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnApplication() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationGetOperation_example.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetAnApplication() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetAnApplication() } } - // Put an application with maximum parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutAnApplicationWithMaximumParameters() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationPutOperation_example_max.json @@ -211,9 +208,8 @@ public async Task CreateOrUpdate_PutAnApplicationWithMaximumParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put an application with minimum parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutAnApplicationWithMinimumParameters() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationPutOperation_example_min.json @@ -256,9 +252,8 @@ public async Task CreateOrUpdate_PutAnApplicationWithMinimumParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put an application with recreate option - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutAnApplicationWithRecreateOption() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationPutOperation_recreate_example.json @@ -308,9 +303,8 @@ public async Task CreateOrUpdate_PutAnApplicationWithRecreateOption() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a list of application resources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAListOfApplicationResources() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationListOperation_example.json @@ -342,7 +336,7 @@ public async Task GetAll_GetAListOfApplicationResources() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricApplicationResource.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricApplicationResource.cs index 80bc82c623e97..8bb9c9795e279 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricApplicationResource.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricApplicationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceFabric.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabric.Samples { public partial class Sample_ServiceFabricApplicationResource { - // Get an application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnApplication() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationGetOperation_example.json @@ -47,9 +47,8 @@ public async Task Get_GetAnApplication() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch an application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchAnApplication() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationPatchOperation_example.json @@ -98,9 +97,8 @@ public async Task Update_PatchAnApplication() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnApplication() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationDeleteOperation_example.json @@ -123,7 +121,7 @@ public async Task Delete_DeleteAnApplication() // invoke the operation await serviceFabricApplication.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricApplicationTypeCollection.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricApplicationTypeCollection.cs index 5a4c081e988d6..b82277adc552d 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricApplicationTypeCollection.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricApplicationTypeCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabric.Samples { public partial class Sample_ServiceFabricApplicationTypeCollection { - // Get an application type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnApplicationType() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationTypeNameGetOperation_example.json @@ -49,9 +49,8 @@ public async Task Get_GetAnApplicationType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an application type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnApplicationType() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationTypeNameGetOperation_example.json @@ -80,9 +79,8 @@ public async Task Exists_GetAnApplicationType() Console.WriteLine($"Succeeded: {result}"); } - // Get an application type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnApplicationType() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationTypeNameGetOperation_example.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetAnApplicationType() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetAnApplicationType() } } - // Put an application type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutAnApplicationType() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationTypeNamePutOperation_example.json @@ -165,9 +162,8 @@ public async Task CreateOrUpdate_PutAnApplicationType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a list of application type name resources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAListOfApplicationTypeNameResources() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationTypeNameListOperation_example.json @@ -199,7 +195,7 @@ public async Task GetAll_GetAListOfApplicationTypeNameResources() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricApplicationTypeResource.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricApplicationTypeResource.cs index 10b8e96f9d36a..a9fb6360725e6 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricApplicationTypeResource.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricApplicationTypeResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabric.Samples { public partial class Sample_ServiceFabricApplicationTypeResource { - // Get an application type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnApplicationType() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationTypeNameGetOperation_example.json @@ -46,9 +46,8 @@ public async Task Get_GetAnApplicationType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put an application type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PutAnApplicationType() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationTypeNamePutOperation_example.json @@ -85,9 +84,8 @@ public async Task Update_PutAnApplicationType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an application type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnApplicationType() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationTypeNameDeleteOperation_example.json @@ -110,7 +108,7 @@ public async Task Delete_DeleteAnApplicationType() // invoke the operation await serviceFabricApplicationType.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricApplicationTypeVersionCollection.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricApplicationTypeVersionCollection.cs index 8f5fac8ff4f86..f2489f0b29182 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricApplicationTypeVersionCollection.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricApplicationTypeVersionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabric.Samples { public partial class Sample_ServiceFabricApplicationTypeVersionCollection { - // Get an application type version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnApplicationTypeVersion() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationTypeVersionGetOperation_example.json @@ -50,9 +50,8 @@ public async Task Get_GetAnApplicationTypeVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an application type version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnApplicationTypeVersion() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationTypeVersionGetOperation_example.json @@ -82,9 +81,8 @@ public async Task Exists_GetAnApplicationTypeVersion() Console.WriteLine($"Succeeded: {result}"); } - // Get an application type version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnApplicationTypeVersion() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationTypeVersionGetOperation_example.json @@ -114,7 +112,7 @@ public async Task GetIfExists_GetAnApplicationTypeVersion() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -126,9 +124,8 @@ public async Task GetIfExists_GetAnApplicationTypeVersion() } } - // Put an application type version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutAnApplicationTypeVersion() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationTypeVersionPutOperation_example.json @@ -170,9 +167,8 @@ public async Task CreateOrUpdate_PutAnApplicationTypeVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a list of application type version resources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAListOfApplicationTypeVersionResources() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationTypeVersionListOperation_example.json @@ -205,7 +201,7 @@ public async Task GetAll_GetAListOfApplicationTypeVersionResources() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricApplicationTypeVersionResource.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricApplicationTypeVersionResource.cs index af2937d6f6451..16866450d2a3d 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricApplicationTypeVersionResource.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricApplicationTypeVersionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabric.Samples { public partial class Sample_ServiceFabricApplicationTypeVersionResource { - // Get an application type version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnApplicationTypeVersion() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationTypeVersionGetOperation_example.json @@ -47,9 +47,8 @@ public async Task Get_GetAnApplicationTypeVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put an application type version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PutAnApplicationTypeVersion() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationTypeVersionPutOperation_example.json @@ -88,9 +87,8 @@ public async Task Update_PutAnApplicationTypeVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an application type version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnApplicationTypeVersion() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ApplicationTypeVersionDeleteOperation_example.json @@ -114,7 +112,7 @@ public async Task Delete_DeleteAnApplicationTypeVersion() // invoke the operation await serviceFabricApplicationTypeVersion.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricClusterCollection.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricClusterCollection.cs index 18846cc6a5907..d9088a942cdfd 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricClusterCollection.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricClusterCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.ServiceFabric.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabric.Samples { public partial class Sample_ServiceFabricClusterCollection { - // Get a cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACluster() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ClusterGetOperation_example.json @@ -50,9 +50,8 @@ public async Task Get_GetACluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetACluster() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ClusterGetOperation_example.json @@ -80,9 +79,8 @@ public async Task Exists_GetACluster() Console.WriteLine($"Succeeded: {result}"); } - // Get a cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetACluster() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ClusterGetOperation_example.json @@ -110,7 +108,7 @@ public async Task GetIfExists_GetACluster() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_GetACluster() } } - // Put a cluster with maximum parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutAClusterWithMaximumParameters() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ClusterPutOperation_example_max.json @@ -292,9 +289,8 @@ public async Task CreateOrUpdate_PutAClusterWithMaximumParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put a cluster with minimum parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutAClusterWithMinimumParameters() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ClusterPutOperation_example_min.json @@ -353,9 +349,8 @@ public async Task CreateOrUpdate_PutAClusterWithMinimumParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List cluster by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListClusterByResourceGroup() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ClusterListByResourceGroupOperation_example.json @@ -386,7 +381,7 @@ public async Task GetAll_ListClusterByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricClusterResource.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricClusterResource.cs index d98afafb98e52..ae3459af1dd82 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricClusterResource.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricClusterResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.ServiceFabric.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabric.Samples { public partial class Sample_ServiceFabricClusterResource { - // Get a cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACluster() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ClusterGetOperation_example.json @@ -47,9 +47,8 @@ public async Task Get_GetACluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch a cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchACluster() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ClusterPatchOperation_example.json @@ -109,9 +108,8 @@ public async Task Update_PatchACluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteACluster() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ClusterDeleteOperation_example.json @@ -133,12 +131,11 @@ public async Task Delete_DeleteACluster() // invoke the operation await serviceFabricCluster.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List clusters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetServiceFabricClusters_ListClusters() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ClusterListOperation_example.json @@ -165,12 +162,11 @@ public async Task GetServiceFabricClusters_ListClusters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get minimum and maximum code versions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUpgradableVersions_GetMinimumAndMaximumCodeVersions() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ListUpgradableVersionsMinMax_example.json @@ -195,9 +191,8 @@ public async Task GetUpgradableVersions_GetMinimumAndMaximumCodeVersions() Console.WriteLine($"Succeeded: {result}"); } - // Get upgrade path - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUpgradableVersions_GetUpgradePath() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ListUpgradableVersionsPath_example.json diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricServiceCollection.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricServiceCollection.cs index 6b5de9139c7d5..3b90b7746cc84 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricServiceCollection.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricServiceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceFabric.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabric.Samples { public partial class Sample_ServiceFabricServiceCollection { - // Get a service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAService() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ServiceGetOperation_example.json @@ -51,9 +51,8 @@ public async Task Get_GetAService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAService() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ServiceGetOperation_example.json @@ -83,9 +82,8 @@ public async Task Exists_GetAService() Console.WriteLine($"Succeeded: {result}"); } - // Get a service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAService() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ServiceGetOperation_example.json @@ -115,7 +113,7 @@ public async Task GetIfExists_GetAService() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_GetAService() } } - // Put a service with maximum parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutAServiceWithMaximumParameters() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ServicePutOperation_example_max.json @@ -190,9 +187,8 @@ public async Task CreateOrUpdate_PutAServiceWithMaximumParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put a service with minimum parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutAServiceWithMinimumParameters() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ServicePutOperation_example_min.json @@ -235,9 +231,8 @@ public async Task CreateOrUpdate_PutAServiceWithMinimumParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a list of service resources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAListOfServiceResources() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ServiceListOperation_example.json @@ -270,7 +265,7 @@ public async Task GetAll_GetAListOfServiceResources() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricServiceResource.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricServiceResource.cs index fcc037f59e639..1f0c931e581da 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricServiceResource.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricServiceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceFabric.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabric.Samples { public partial class Sample_ServiceFabricServiceResource { - // Get a service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAService() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ServiceGetOperation_example.json @@ -48,9 +48,8 @@ public async Task Get_GetAService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch a service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchAService() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ServicePatchOperation_example.json @@ -95,9 +94,8 @@ public async Task Update_PatchAService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAService() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ServiceDeleteOperation_example.json @@ -121,7 +119,7 @@ public async Task Delete_DeleteAService() // invoke the operation await serviceFabricService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricVmSizeResource.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricVmSizeResource.cs index 2640d61570b16..d3b38c57b6c9f 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricVmSizeResource.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricVmSizeResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabric.Samples { public partial class Sample_ServiceFabricVmSizeResource { - // Get unsupported vm sizes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetUnsupportedVmSizes() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/UnsupportedVMSizesGet_example.json diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricVmSizeResourceCollection.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricVmSizeResourceCollection.cs index bf99cf74cb8f1..cc1ad41dc6000 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricVmSizeResourceCollection.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_ServiceFabricVmSizeResourceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabric.Samples { public partial class Sample_ServiceFabricVmSizeResourceCollection { - // List unsupported vm sizes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListUnsupportedVmSizes() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/UnsupportedVMSizesList_example.json @@ -48,12 +48,11 @@ public async Task GetAll_ListUnsupportedVmSizes() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get unsupported vm sizes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetUnsupportedVmSizes() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/UnsupportedVMSizesGet_example.json @@ -85,9 +84,8 @@ public async Task Get_GetUnsupportedVmSizes() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get unsupported vm sizes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetUnsupportedVmSizes() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/UnsupportedVMSizesGet_example.json @@ -115,9 +113,8 @@ public async Task Exists_GetUnsupportedVmSizes() Console.WriteLine($"Succeeded: {result}"); } - // Get unsupported vm sizes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetUnsupportedVmSizes() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/UnsupportedVMSizesGet_example.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetUnsupportedVmSizes() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index eb678338d5e60..692a613312618 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.ServiceFabric.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabric.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Get cluster version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetClusterVersions_GetClusterVersion() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ClusterVersionsGet_example.json @@ -43,12 +43,11 @@ public async Task GetClusterVersions_GetClusterVersion() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get cluster version by environment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetClusterVersionsByEnvironment_GetClusterVersionByEnvironment() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ClusterVersionsGetByEnvironment_example.json @@ -74,12 +73,11 @@ public async Task GetClusterVersionsByEnvironment_GetClusterVersionByEnvironment Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List cluster versions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetClusterVersions_ListClusterVersions() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ClusterVersionsList_example.json @@ -103,12 +101,11 @@ public async Task GetClusterVersions_ListClusterVersions() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List cluster versions by environment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetClusterVersionsByEnvironment_ListClusterVersionsByEnvironment() { // Generated from example definition: specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2023-11-01-preview/examples/ClusterVersionsListByEnvironment.json @@ -133,7 +130,7 @@ public async Task GetClusterVersionsByEnvironment_ListClusterVersionsByEnvironme Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedApplicationCollection.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedApplicationCollection.cs index abbbfa1c6af75..a0048d1a5522d 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedApplicationCollection.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedApplicationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceFabricManagedClusters.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabricManagedClusters.Samples { public partial class Sample_ServiceFabricManagedApplicationCollection { - // Get an application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnApplication() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationGetOperation_example.json @@ -50,9 +50,8 @@ public async Task Get_GetAnApplication() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnApplication() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationGetOperation_example.json @@ -81,9 +80,8 @@ public async Task Exists_GetAnApplication() Console.WriteLine($"Succeeded: {result}"); } - // Get an application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnApplication() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationGetOperation_example.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetAnApplication() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetAnApplication() } } - // Put an application with maximum parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutAnApplicationWithMaximumParameters() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationPutOperation_example_max.json @@ -189,9 +186,8 @@ public async Task CreateOrUpdate_PutAnApplicationWithMaximumParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put an application with minimum parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutAnApplicationWithMinimumParameters() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationPutOperation_example_min.json @@ -229,9 +225,8 @@ public async Task CreateOrUpdate_PutAnApplicationWithMinimumParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a list of application resources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAListOfApplicationResources() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationListOperation_example.json @@ -263,7 +258,7 @@ public async Task GetAll_GetAListOfApplicationResources() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedApplicationResource.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedApplicationResource.cs index 1ed5ed543e80a..1c661cddb5d9e 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedApplicationResource.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedApplicationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceFabricManagedClusters.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabricManagedClusters.Samples { public partial class Sample_ServiceFabricManagedApplicationResource { - // Get an application upgrade - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ReadUpgrade_GetAnApplicationUpgrade() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationActionGetUpgrade_example.json @@ -40,12 +40,11 @@ public async Task ReadUpgrade_GetAnApplicationUpgrade() // invoke the operation await serviceFabricManagedApplication.ReadUpgradeAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Start an application upgrade rollback - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartRollback_StartAnApplicationUpgradeRollback() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationActionStartRollback_example.json @@ -68,12 +67,11 @@ public async Task StartRollback_StartAnApplicationUpgradeRollback() // invoke the operation await serviceFabricManagedApplication.StartRollbackAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Resume upgrade - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ResumeUpgrade_ResumeUpgrade() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationActionResumeUpgrade_example.json @@ -100,12 +98,11 @@ public async Task ResumeUpgrade_ResumeUpgrade() }; await serviceFabricManagedApplication.ResumeUpgradeAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnApplication() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationGetOperation_example.json @@ -135,9 +132,8 @@ public async Task Get_GetAnApplication() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch an application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchAnApplication() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationPatchOperation_example.json @@ -174,9 +170,8 @@ public async Task Update_PatchAnApplication() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an application - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnApplication() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationDeleteOperation_example.json @@ -199,7 +194,7 @@ public async Task Delete_DeleteAnApplication() // invoke the operation await serviceFabricManagedApplication.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedApplicationTypeCollection.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedApplicationTypeCollection.cs index 01c0172209ed5..1e55f6819b721 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedApplicationTypeCollection.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedApplicationTypeCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabricManagedClusters.Samples { public partial class Sample_ServiceFabricManagedApplicationTypeCollection { - // Get an application type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnApplicationType() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationTypeNameGetOperation_example.json @@ -49,9 +49,8 @@ public async Task Get_GetAnApplicationType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an application type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnApplicationType() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationTypeNameGetOperation_example.json @@ -80,9 +79,8 @@ public async Task Exists_GetAnApplicationType() Console.WriteLine($"Succeeded: {result}"); } - // Get an application type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnApplicationType() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationTypeNameGetOperation_example.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetAnApplicationType() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetAnApplicationType() } } - // Put an application type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutAnApplicationType() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationTypeNamePutOperation_example.json @@ -160,9 +157,8 @@ public async Task CreateOrUpdate_PutAnApplicationType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a list of application type name resources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAListOfApplicationTypeNameResources() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationTypeNameListOperation_example.json @@ -194,7 +190,7 @@ public async Task GetAll_GetAListOfApplicationTypeNameResources() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedApplicationTypeResource.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedApplicationTypeResource.cs index 669a7b944fbbf..930dfb18cd6d2 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedApplicationTypeResource.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedApplicationTypeResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceFabricManagedClusters.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabricManagedClusters.Samples { public partial class Sample_ServiceFabricManagedApplicationTypeResource { - // Get an application type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnApplicationType() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationTypeNameGetOperation_example.json @@ -47,9 +47,8 @@ public async Task Get_GetAnApplicationType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch an application type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchAnApplicationType() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationTypeNamePatchOperation_example.json @@ -86,9 +85,8 @@ public async Task Update_PatchAnApplicationType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an application type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnApplicationType() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationTypeNameDeleteOperation_example.json @@ -111,7 +109,7 @@ public async Task Delete_DeleteAnApplicationType() // invoke the operation await serviceFabricManagedApplicationType.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedApplicationTypeVersionCollection.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedApplicationTypeVersionCollection.cs index edf3e4d47de2b..90360d1cbee4b 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedApplicationTypeVersionCollection.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedApplicationTypeVersionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabricManagedClusters.Samples { public partial class Sample_ServiceFabricManagedApplicationTypeVersionCollection { - // Get an application type version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnApplicationTypeVersion() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationTypeVersionGetOperation_example.json @@ -50,9 +50,8 @@ public async Task Get_GetAnApplicationTypeVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an application type version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnApplicationTypeVersion() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationTypeVersionGetOperation_example.json @@ -82,9 +81,8 @@ public async Task Exists_GetAnApplicationTypeVersion() Console.WriteLine($"Succeeded: {result}"); } - // Get an application type version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnApplicationTypeVersion() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationTypeVersionGetOperation_example.json @@ -114,7 +112,7 @@ public async Task GetIfExists_GetAnApplicationTypeVersion() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -126,9 +124,8 @@ public async Task GetIfExists_GetAnApplicationTypeVersion() } } - // Put an application type version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutAnApplicationTypeVersion() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationTypeVersionPutOperation_example.json @@ -167,9 +164,8 @@ public async Task CreateOrUpdate_PutAnApplicationTypeVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a list of application type version resources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAListOfApplicationTypeVersionResources() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationTypeVersionListOperation_example.json @@ -202,7 +198,7 @@ public async Task GetAll_GetAListOfApplicationTypeVersionResources() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedApplicationTypeVersionResource.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedApplicationTypeVersionResource.cs index e52cc5db6757c..a1eb3f328f0f6 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedApplicationTypeVersionResource.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedApplicationTypeVersionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceFabricManagedClusters.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabricManagedClusters.Samples { public partial class Sample_ServiceFabricManagedApplicationTypeVersionResource { - // Get an application type version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnApplicationTypeVersion() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationTypeVersionGetOperation_example.json @@ -48,9 +48,8 @@ public async Task Get_GetAnApplicationTypeVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch an application type version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchAnApplicationTypeVersion() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationTypeVersionPatchOperation_example.json @@ -88,9 +87,8 @@ public async Task Update_PatchAnApplicationTypeVersion() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an application type version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnApplicationTypeVersion() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ApplicationTypeVersionDeleteOperation_example.json @@ -114,7 +112,7 @@ public async Task Delete_DeleteAnApplicationTypeVersion() // invoke the operation await serviceFabricManagedApplicationTypeVersion.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedClusterCollection.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedClusterCollection.cs index ed03ad5529aa0..84c2daec02c3e 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedClusterCollection.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedClusterCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.ServiceFabricManagedClusters.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabricManagedClusters.Samples { public partial class Sample_ServiceFabricManagedClusterCollection { - // List cluster by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListClusterByResourceGroup() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ManagedClusterListByResourceGroupOperation_example.json @@ -49,12 +49,11 @@ public async Task GetAll_ListClusterByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACluster() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ManagedClusterGetOperation_example.json @@ -86,9 +85,8 @@ public async Task Get_GetACluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetACluster() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ManagedClusterGetOperation_example.json @@ -116,9 +114,8 @@ public async Task Exists_GetACluster() Console.WriteLine($"Succeeded: {result}"); } - // Get a cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetACluster() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ManagedClusterGetOperation_example.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetACluster() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetACluster() } } - // Put a cluster with maximum parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutAClusterWithMaximumParameters() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ManagedClusterPutOperation_example_max.json @@ -307,9 +303,8 @@ public async Task CreateOrUpdate_PutAClusterWithMaximumParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put a cluster with minimum parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutAClusterWithMinimumParameters() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ManagedClusterPutOperation_example_min.json diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedClusterResource.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedClusterResource.cs index dda4a309976b5..cc79c46358d28 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedClusterResource.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedClusterResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.ServiceFabricManagedClusters.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabricManagedClusters.Samples { public partial class Sample_ServiceFabricManagedClusterResource { - // List managed clusters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetServiceFabricManagedClusters_ListManagedClusters() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ManagedClusterListBySubscriptionOperation_example.json @@ -45,12 +45,11 @@ public async Task GetServiceFabricManagedClusters_ListManagedClusters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACluster() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ManagedClusterGetOperation_example.json @@ -79,9 +78,8 @@ public async Task Get_GetACluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch a managed cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchAManagedCluster() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ManagedClusterPatchOperation_example.json @@ -117,9 +115,8 @@ public async Task Update_PatchAManagedCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteACluster() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ManagedClusterDeleteOperation_example.json @@ -141,12 +138,11 @@ public async Task Delete_DeleteACluster() // invoke the operation await serviceFabricManagedCluster.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Az Resiliency status of Base Resources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagedAzResiliencyStatus_AzResiliencyStatusOfBaseResources() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/managedAzResiliencyStatusGet_example.json @@ -171,9 +167,8 @@ public async Task GetManagedAzResiliencyStatus_AzResiliencyStatusOfBaseResources Console.WriteLine($"Succeeded: {result}"); } - // Maintenance Window Status - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagedMaintenanceWindowStatus_MaintenanceWindowStatus() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ManagedMaintenanceWindowStatusGet_example.json @@ -198,9 +193,8 @@ public async Task GetManagedMaintenanceWindowStatus_MaintenanceWindowStatus() Console.WriteLine($"Succeeded: {result}"); } - // Maintenance Window Status - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task PostManagedApplyMaintenanceWindow_MaintenanceWindowStatus() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ManagedApplyMaintenanceWindowPost_example.json @@ -222,7 +216,7 @@ public async Task PostManagedApplyMaintenanceWindow_MaintenanceWindowStatus() // invoke the operation await serviceFabricManagedCluster.PostManagedApplyMaintenanceWindowAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedNodeTypeCollection.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedNodeTypeCollection.cs index a7d04b860e519..81e75b8914391 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedNodeTypeCollection.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedNodeTypeCollection.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources.Models; using Azure.ResourceManager.ServiceFabricManagedClusters.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabricManagedClusters.Samples { public partial class Sample_ServiceFabricManagedNodeTypeCollection { - // List node type of the specified managed cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListNodeTypeOfTheSpecifiedManagedCluster() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/NodeTypeListOperation_example.json @@ -51,12 +51,11 @@ public async Task GetAll_ListNodeTypeOfTheSpecifiedManagedCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a node type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetANodeType() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/NodeTypeGetOperation_example.json @@ -89,9 +88,8 @@ public async Task Get_GetANodeType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a node type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetANodeType() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/NodeTypeGetOperation_example.json @@ -120,9 +118,8 @@ public async Task Exists_GetANodeType() Console.WriteLine($"Succeeded: {result}"); } - // Get a node type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetANodeType() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/NodeTypeGetOperation_example.json @@ -151,7 +148,7 @@ public async Task GetIfExists_GetANodeType() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -163,9 +160,8 @@ public async Task GetIfExists_GetANodeType() } } - // Put a node type with auto-scale parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutANodeTypeWithAutoScaleParameters() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/NodeTypePutOperationAutoScale_example.json @@ -247,9 +243,8 @@ public async Task CreateOrUpdate_PutANodeTypeWithAutoScaleParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put a node type with maximum parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutANodeTypeWithMaximumParameters() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/NodeTypePutOperation_example_max.json @@ -416,9 +411,8 @@ public async Task CreateOrUpdate_PutANodeTypeWithMaximumParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put a node type with minimum parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutANodeTypeWithMinimumParameters() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/NodeTypePutOperation_example_min.json @@ -463,9 +457,8 @@ public async Task CreateOrUpdate_PutANodeTypeWithMinimumParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put an stateless node type with temporary disk for service fabric - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutAnStatelessNodeTypeWithTemporaryDiskForServiceFabric() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/NodeTypePutOperationStateless_example.json @@ -523,9 +516,8 @@ public async Task CreateOrUpdate_PutAnStatelessNodeTypeWithTemporaryDiskForServi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put node type with custom vm image - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutNodeTypeWithCustomVmImage() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/NodeTypePutOperationCustomImage_example.json @@ -567,9 +559,8 @@ public async Task CreateOrUpdate_PutNodeTypeWithCustomVmImage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put node type with dedicated hosts - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutNodeTypeWithDedicatedHosts() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/NodeTypePutOperationDedicatedHost_example.json @@ -626,9 +617,8 @@ public async Task CreateOrUpdate_PutNodeTypeWithDedicatedHosts() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put node type with shared galleries custom vm image - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutNodeTypeWithSharedGalleriesCustomVmImage() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/NodeTypePutOperationCustomSharedGalleriesImage_example.json @@ -670,9 +660,8 @@ public async Task CreateOrUpdate_PutNodeTypeWithSharedGalleriesCustomVmImage() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put node type with vm image plan - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutNodeTypeWithVmImagePlan() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/NodeTypePutOperationVmImagePlan_example.json diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedNodeTypeResource.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedNodeTypeResource.cs index 482d84078aaab..7c3363f81e402 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedNodeTypeResource.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedNodeTypeResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceFabricManagedClusters.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabricManagedClusters.Samples { public partial class Sample_ServiceFabricManagedNodeTypeResource { - // Restart nodes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Restart_RestartNodes() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/RestartNodes_example.json @@ -47,12 +47,11 @@ public async Task Restart_RestartNodes() }; await serviceFabricManagedNodeType.RestartAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Reimage all nodes By upgrade domain - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reimage_ReimageAllNodesByUpgradeDomain() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ReimageNodes_UD_example.json @@ -79,12 +78,11 @@ public async Task Reimage_ReimageAllNodesByUpgradeDomain() }; await serviceFabricManagedNodeType.ReimageAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Reimage nodes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Reimage_ReimageNodes() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ReimageNodes_example.json @@ -114,12 +112,11 @@ public async Task Reimage_ReimageNodes() }; await serviceFabricManagedNodeType.ReimageAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Delete nodes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DeleteNode_DeleteNodes() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/DeleteNodes_example.json @@ -149,12 +146,11 @@ public async Task DeleteNode_DeleteNodes() }; await serviceFabricManagedNodeType.DeleteNodeAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a node type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetANodeType() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/NodeTypeGetOperation_example.json @@ -184,9 +180,8 @@ public async Task Get_GetANodeType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch a node type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchANodeType() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/NodeTypePatchOperation_example.json @@ -223,9 +218,8 @@ public async Task Update_PatchANodeType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch a node type while auto-scaling - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchANodeTypeWhileAutoScaling() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/NodeTypePatchOperationAutoScale_example.json @@ -267,9 +261,8 @@ public async Task Update_PatchANodeTypeWhileAutoScaling() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a node type - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteANodeType() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/NodeTypeDeleteOperation_example.json @@ -292,12 +285,11 @@ public async Task Delete_DeleteANodeType() // invoke the operation await serviceFabricManagedNodeType.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List a node type SKUs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAvailableSkus_ListANodeTypeSKUs() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/NodeTypeSkusListOperation_example.json @@ -323,7 +315,7 @@ public async Task GetAvailableSkus_ListANodeTypeSKUs() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedServiceCollection.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedServiceCollection.cs index e38a6c76db5c5..61de8be0a8c27 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedServiceCollection.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedServiceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceFabricManagedClusters.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabricManagedClusters.Samples { public partial class Sample_ServiceFabricManagedServiceCollection { - // Get a service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAService() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ServiceGetOperation_example.json @@ -51,9 +51,8 @@ public async Task Get_GetAService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAService() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ServiceGetOperation_example.json @@ -83,9 +82,8 @@ public async Task Exists_GetAService() Console.WriteLine($"Succeeded: {result}"); } - // Get a service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAService() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ServiceGetOperation_example.json @@ -115,7 +113,7 @@ public async Task GetIfExists_GetAService() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_GetAService() } } - // Put a service with maximum parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutAServiceWithMaximumParameters() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ServicePutOperation_example_max.json @@ -200,9 +197,8 @@ public async Task CreateOrUpdate_PutAServiceWithMaximumParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Put a service with minimum parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutAServiceWithMinimumParameters() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ServicePutOperation_example_min.json @@ -241,9 +237,8 @@ public async Task CreateOrUpdate_PutAServiceWithMinimumParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a list of service resources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAListOfServiceResources() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ServiceListOperation_example.json @@ -276,7 +271,7 @@ public async Task GetAll_GetAListOfServiceResources() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedServiceResource.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedServiceResource.cs index c34bec113fcf2..5024b3e0487bf 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedServiceResource.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_ServiceFabricManagedServiceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceFabricManagedClusters.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabricManagedClusters.Samples { public partial class Sample_ServiceFabricManagedServiceResource { - // Get a service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAService() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ServiceGetOperation_example.json @@ -48,9 +48,8 @@ public async Task Get_GetAService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch a service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchAService() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ServicePatchOperation_example.json @@ -88,9 +87,8 @@ public async Task Update_PatchAService() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a service - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAService() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ServiceDeleteOperation_example.json @@ -114,7 +112,7 @@ public async Task Delete_DeleteAService() // invoke the operation await serviceFabricManagedService.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 0e25320bb3122..ba013c866b238 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.ServiceFabricManagedClusters.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceFabricManagedClusters.Samples { public partial class Sample_SubscriptionResourceExtensions { - // Get cluster version - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagedClusterVersion_GetClusterVersion() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ManagedClusterVersionGet_example.json @@ -43,9 +43,8 @@ public async Task GetManagedClusterVersion_GetClusterVersion() Console.WriteLine($"Succeeded: {result}"); } - // Get cluster version by environment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagedClusterVersionByEnvironment_GetClusterVersionByEnvironment() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ManagedClusterVersionGetByEnvironment_example.json @@ -71,9 +70,8 @@ public async Task GetManagedClusterVersionByEnvironment_GetClusterVersionByEnvir Console.WriteLine($"Succeeded: {result}"); } - // List cluster versions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagedClusterVersions_ListClusterVersions() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ManagedClusterVersionList_example.json @@ -97,12 +95,11 @@ public async Task GetManagedClusterVersions_ListClusterVersions() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List cluster versions by environment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagedClusterVersionsByEnvironment_ListClusterVersionsByEnvironment() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/ManagedClusterVersionListByEnvironment.json @@ -127,12 +124,11 @@ public async Task GetManagedClusterVersionsByEnvironment_ListClusterVersionsByEn Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List unsupported vm sizes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagedUnsupportedVmSizes_ListUnsupportedVmSizes() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/managedUnsupportedVMSizesList_example.json @@ -156,12 +152,11 @@ public async Task GetManagedUnsupportedVmSizes_ListUnsupportedVmSizes() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get unsupported vm sizes - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagedUnsupportedVmSize_GetUnsupportedVmSizes() { // Generated from example definition: specification/servicefabricmanagedclusters/resource-manager/Microsoft.ServiceFabric/stable/2024-04-01/examples/managedUnsupportedVMSizesGet_example.json diff --git a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/samples/Generated/Samples/Sample_LinkerResource.cs b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/samples/Generated/Samples/Sample_LinkerResource.cs index 9b68c70adeb26..99ead6ab0b23a 100644 --- a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/samples/Generated/Samples/Sample_LinkerResource.cs +++ b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/samples/Generated/Samples/Sample_LinkerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceLinker.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceLinker.Samples { public partial class Sample_LinkerResource { - // Link - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_Link() { // Generated from example definition: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/Link.json @@ -45,9 +45,8 @@ public async Task Get_Link() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeleteLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteLink() { // Generated from example definition: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/DeleteLink.json @@ -68,12 +67,11 @@ public async Task Delete_DeleteLink() // invoke the operation await linkerResource.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // PatchLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchLink() { // Generated from example definition: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/PatchLink.json @@ -110,9 +108,8 @@ public async Task Update_PatchLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ValidateLinkSuccess - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Validate_ValidateLinkSuccess() { // Generated from example definition: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/ValidateLinkSuccess.json @@ -137,9 +134,8 @@ public async Task Validate_ValidateLinkSuccess() Console.WriteLine($"Succeeded: {result}"); } - // GetConfiguration - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetConfigurations_GetConfiguration() { // Generated from example definition: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/GetConfigurations.json diff --git a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/samples/Generated/Samples/Sample_LinkerResourceCollection.cs b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/samples/Generated/Samples/Sample_LinkerResourceCollection.cs index e6fc68244a463..e97a05b6f65d4 100644 --- a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/samples/Generated/Samples/Sample_LinkerResourceCollection.cs +++ b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/samples/Generated/Samples/Sample_LinkerResourceCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceLinker.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceLinker.Samples { public partial class Sample_LinkerResourceCollection { - // LinkList - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_LinkList() { // Generated from example definition: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/LinkList.json @@ -46,12 +46,11 @@ public async Task GetAll_LinkList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Link - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_Link() { // Generated from example definition: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/Link.json @@ -81,9 +80,8 @@ public async Task Get_Link() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Link - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_Link() { // Generated from example definition: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/Link.json @@ -109,9 +107,8 @@ public async Task Exists_Link() Console.WriteLine($"Succeeded: {result}"); } - // Link - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_Link() { // Generated from example definition: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/Link.json @@ -137,7 +134,7 @@ public async Task GetIfExists_Link() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -149,9 +146,8 @@ public async Task GetIfExists_Link() } } - // PutLink - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutLink() { // Generated from example definition: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/PutLink.json @@ -197,9 +193,8 @@ public async Task CreateOrUpdate_PutLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PutLinkWithSecretStore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutLinkWithSecretStore() { // Generated from example definition: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/PutLinkWithSecretStore.json @@ -239,9 +234,8 @@ public async Task CreateOrUpdate_PutLinkWithSecretStore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // PutLinkWithServiceEndpoint - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutLinkWithServiceEndpoint() { // Generated from example definition: specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/PutLinkWithServiceEndpoint.json diff --git a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/Generated/Samples/Sample_AssociationCollection.cs b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/Generated/Samples/Sample_AssociationCollection.cs index 01d0d0680569f..b9f5da80842ec 100644 --- a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/Generated/Samples/Sample_AssociationCollection.cs +++ b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/Generated/Samples/Sample_AssociationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceNetworking.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceNetworking.Samples { public partial class Sample_AssociationCollection { - // Get Associations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAssociations() { // Generated from example definition: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationsGet.json @@ -49,12 +49,11 @@ public async Task GetAll_GetAssociations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Association - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAssociation() { // Generated from example definition: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationGet.json @@ -87,9 +86,8 @@ public async Task Get_GetAssociation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Association - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAssociation() { // Generated from example definition: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetAssociation() Console.WriteLine($"Succeeded: {result}"); } - // Get Association - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAssociation() { // Generated from example definition: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetAssociation() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetAssociation() } } - // Put Association - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutAssociation() { // Generated from example definition: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationPut.json diff --git a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/Generated/Samples/Sample_AssociationResource.cs b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/Generated/Samples/Sample_AssociationResource.cs index 444eeb470348e..f508077a68ce9 100644 --- a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/Generated/Samples/Sample_AssociationResource.cs +++ b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/Generated/Samples/Sample_AssociationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceNetworking.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceNetworking.Samples { public partial class Sample_AssociationResource { - // Get Association - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAssociation() { // Generated from example definition: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationGet.json @@ -47,9 +47,8 @@ public async Task Get_GetAssociation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Association - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAssociation() { // Generated from example definition: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationPatch.json @@ -84,9 +83,8 @@ public async Task Update_UpdateAssociation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Association - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAssociation() { // Generated from example definition: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/AssociationDelete.json @@ -109,7 +107,7 @@ public async Task Delete_DeleteAssociation() // invoke the operation await association.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/Generated/Samples/Sample_FrontendCollection.cs b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/Generated/Samples/Sample_FrontendCollection.cs index e824683a6ca78..21b888379318f 100644 --- a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/Generated/Samples/Sample_FrontendCollection.cs +++ b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/Generated/Samples/Sample_FrontendCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceNetworking.Samples { public partial class Sample_FrontendCollection { - // Get Frontends - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetFrontends() { // Generated from example definition: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendsGet.json @@ -48,12 +48,11 @@ public async Task GetAll_GetFrontends() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Frontend - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFrontend() { // Generated from example definition: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendGet.json @@ -86,9 +85,8 @@ public async Task Get_GetFrontend() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Frontend - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetFrontend() { // Generated from example definition: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetFrontend() Console.WriteLine($"Succeeded: {result}"); } - // Get Frontend - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetFrontend() { // Generated from example definition: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetFrontend() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GetFrontend() } } - // Put Frontend - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutFrontend() { // Generated from example definition: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendPut.json diff --git a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/Generated/Samples/Sample_FrontendResource.cs b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/Generated/Samples/Sample_FrontendResource.cs index 465fac6334f7c..6e74e49fd06ca 100644 --- a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/Generated/Samples/Sample_FrontendResource.cs +++ b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/Generated/Samples/Sample_FrontendResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.ServiceNetworking.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceNetworking.Samples { public partial class Sample_FrontendResource { - // Get Frontend - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFrontend() { // Generated from example definition: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendGet.json @@ -47,9 +47,8 @@ public async Task Get_GetFrontend() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update Frontend - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateFrontend() { // Generated from example definition: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendPatch.json @@ -80,9 +79,8 @@ public async Task Update_UpdateFrontend() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Frontend - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteFrontend() { // Generated from example definition: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/FrontendDelete.json @@ -105,7 +103,7 @@ public async Task Delete_DeleteFrontend() // invoke the operation await frontend.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/Generated/Samples/Sample_TrafficControllerCollection.cs b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/Generated/Samples/Sample_TrafficControllerCollection.cs index d87ea7c26540e..2c7e3999fde7e 100644 --- a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/Generated/Samples/Sample_TrafficControllerCollection.cs +++ b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/Generated/Samples/Sample_TrafficControllerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceNetworking.Samples { public partial class Sample_TrafficControllerCollection { - // Get Traffic Controllers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetTrafficControllers() { // Generated from example definition: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllersGet.json @@ -48,12 +48,11 @@ public async Task GetAll_GetTrafficControllers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Traffic Controller - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTrafficController() { // Generated from example definition: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllerGet.json @@ -85,9 +84,8 @@ public async Task Get_GetTrafficController() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Traffic Controller - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTrafficController() { // Generated from example definition: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllerGet.json @@ -115,9 +113,8 @@ public async Task Exists_GetTrafficController() Console.WriteLine($"Succeeded: {result}"); } - // Get Traffic Controller - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTrafficController() { // Generated from example definition: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllerGet.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetTrafficController() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -157,9 +154,8 @@ public async Task GetIfExists_GetTrafficController() } } - // Put Traffic Controller - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutTrafficController() { // Generated from example definition: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllerPut.json diff --git a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/Generated/Samples/Sample_TrafficControllerResource.cs b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/Generated/Samples/Sample_TrafficControllerResource.cs index 73942fb30d738..b6e32dc76d200 100644 --- a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/Generated/Samples/Sample_TrafficControllerResource.cs +++ b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/samples/Generated/Samples/Sample_TrafficControllerResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.ServiceNetworking.Models; +using NUnit.Framework; namespace Azure.ResourceManager.ServiceNetworking.Samples { public partial class Sample_TrafficControllerResource { - // Get Traffic Controllers List - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTrafficControllers_GetTrafficControllersList() { // Generated from example definition: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllersGetList.json @@ -45,12 +45,11 @@ public async Task GetTrafficControllers_GetTrafficControllersList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get Traffic Controller - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTrafficController() { // Generated from example definition: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllerGet.json @@ -79,9 +78,8 @@ public async Task Get_GetTrafficController() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch Traffic Controller - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchTrafficController() { // Generated from example definition: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllerPatch.json @@ -117,9 +115,8 @@ public async Task Update_PatchTrafficController() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Traffic Controller - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteTrafficController() { // Generated from example definition: specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/stable/2023-11-01/examples/TrafficControllerDelete.json @@ -141,7 +138,7 @@ public async Task Delete_DeleteTrafficController() // invoke the operation await trafficController.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereCatalogCollection.cs b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereCatalogCollection.cs index abb562f1ec4a1..b946e97a0ab51 100644 --- a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereCatalogCollection.cs +++ b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereCatalogCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Sphere.Samples { public partial class Sample_SphereCatalogCollection { - // Catalogs_ListByResourceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CatalogsListByResourceGroup() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetCatalogsRG.json @@ -48,12 +48,11 @@ public async Task GetAll_CatalogsListByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Catalogs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CatalogsGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetCatalog.json @@ -85,9 +84,8 @@ public async Task Get_CatalogsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Catalogs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CatalogsGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetCatalog.json @@ -115,9 +113,8 @@ public async Task Exists_CatalogsGet() Console.WriteLine($"Succeeded: {result}"); } - // Catalogs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CatalogsGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetCatalog.json @@ -145,7 +142,7 @@ public async Task GetIfExists_CatalogsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -157,9 +154,8 @@ public async Task GetIfExists_CatalogsGet() } } - // Catalogs_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CatalogsCreateOrUpdate() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/PutCatalog.json diff --git a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereCatalogResource.cs b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereCatalogResource.cs index da32644fefdcb..46e9081fc3225 100644 --- a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereCatalogResource.cs +++ b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereCatalogResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Sphere.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sphere.Samples { public partial class Sample_SphereCatalogResource { - // Catalogs_ListBySubscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSphereCatalogs_CatalogsListBySubscription() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetCatalogsSub.json @@ -45,12 +45,11 @@ public async Task GetSphereCatalogs_CatalogsListBySubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Catalogs_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CatalogsGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetCatalog.json @@ -79,9 +78,8 @@ public async Task Get_CatalogsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Catalogs_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CatalogsUpdate() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/PatchCatalog.json @@ -111,9 +109,8 @@ public async Task Update_CatalogsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Catalogs_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_CatalogsDelete() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/DeleteCatalog.json @@ -135,12 +132,11 @@ public async Task Delete_CatalogsDelete() // invoke the operation await sphereCatalog.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Catalogs_CountDevices - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CountDevices_CatalogsCountDevices() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/PostCountDevicesCatalog.json @@ -165,9 +161,8 @@ public async Task CountDevices_CatalogsCountDevices() Console.WriteLine($"Succeeded: {result}"); } - // Catalogs_ListDeployments - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeployments_CatalogsListDeployments() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/PostListDeploymentsByCatalog.json @@ -196,12 +191,11 @@ public async Task GetDeployments_CatalogsListDeployments() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Catalogs_ListDeviceGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeviceGroups_CatalogsListDeviceGroups() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/PostListDeviceGroupsCatalog.json @@ -234,12 +228,11 @@ public async Task GetDeviceGroups_CatalogsListDeviceGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Catalogs_ListDeviceInsights - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeviceInsights_CatalogsListDeviceInsights() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/PostListDeviceInsightsCatalog.json @@ -265,12 +258,11 @@ public async Task GetDeviceInsights_CatalogsListDeviceInsights() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Catalogs_ListDevices - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDevices_CatalogsListDevices() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/PostListDevicesByCatalog.json @@ -299,12 +291,11 @@ public async Task GetDevices_CatalogsListDevices() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Catalogs_UploadImage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UploadImage_CatalogsUploadImage() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/PostUploadImageCatalog.json @@ -330,7 +321,7 @@ public async Task UploadImage_CatalogsUploadImage() }; await sphereCatalog.UploadImageAsync(WaitUntil.Completed, data); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereCertificateCollection.cs b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereCertificateCollection.cs index 1abfa9aa69c2f..b525d87ae1620 100644 --- a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereCertificateCollection.cs +++ b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereCertificateCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sphere.Samples { public partial class Sample_SphereCertificateCollection { - // Certificates_ListByCatalog - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_CertificatesListByCatalog() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetCertificates.json @@ -48,12 +48,11 @@ public async Task GetAll_CertificatesListByCatalog() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Certificates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CertificatesGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetCertificate.json @@ -86,9 +85,8 @@ public async Task Get_CertificatesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Certificates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_CertificatesGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetCertificate.json @@ -117,9 +115,8 @@ public async Task Exists_CertificatesGet() Console.WriteLine($"Succeeded: {result}"); } - // Certificates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CertificatesGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetCertificate.json @@ -148,7 +145,7 @@ public async Task GetIfExists_CertificatesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereCertificateResource.cs b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereCertificateResource.cs index 705bb700c325d..7ff177181d0ac 100644 --- a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereCertificateResource.cs +++ b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereCertificateResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sphere.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sphere.Samples { public partial class Sample_SphereCertificateResource { - // Certificates_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_CertificatesGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetCertificate.json @@ -47,9 +47,8 @@ public async Task Get_CertificatesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Certificates_RetrieveCertChain - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RetrieveCertChain_CertificatesRetrieveCertChain() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/PostRetrieveCatalogCertChain.json @@ -75,9 +74,8 @@ public async Task RetrieveCertChain_CertificatesRetrieveCertChain() Console.WriteLine($"Succeeded: {result}"); } - // Certificates_RetrieveProofOfPossessionNonce - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RetrieveProofOfPossessionNonce_CertificatesRetrieveProofOfPossessionNonce() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/PostRetrieveProofOfPossessionNonce.json diff --git a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereDeploymentCollection.cs b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereDeploymentCollection.cs index 907da30f3fbd6..5f1fb656d3a8a 100644 --- a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereDeploymentCollection.cs +++ b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereDeploymentCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sphere.Samples { public partial class Sample_SphereDeploymentCollection { - // Deployments_ListByDeviceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DeploymentsListByDeviceGroup() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetDeployments.json @@ -50,12 +50,11 @@ public async Task GetAll_DeploymentsListByDeviceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Deployments_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DeploymentsGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetDeployment.json @@ -90,9 +89,8 @@ public async Task Get_DeploymentsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deployments_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DeploymentsGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetDeployment.json @@ -123,9 +121,8 @@ public async Task Exists_DeploymentsGet() Console.WriteLine($"Succeeded: {result}"); } - // Deployments_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DeploymentsGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetDeployment.json @@ -156,7 +153,7 @@ public async Task GetIfExists_DeploymentsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_DeploymentsGet() } } - // Deployments_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DeploymentsCreateOrUpdate() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/PutDeployment.json diff --git a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereDeploymentResource.cs b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereDeploymentResource.cs index 31124667893d5..0ef70152df598 100644 --- a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereDeploymentResource.cs +++ b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereDeploymentResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sphere.Samples { public partial class Sample_SphereDeploymentResource { - // Deployments_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DeploymentsGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetDeployment.json @@ -48,9 +48,8 @@ public async Task Get_DeploymentsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deployments_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DeploymentsCreateOrUpdate() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/PutDeployment.json @@ -84,9 +83,8 @@ public async Task Update_DeploymentsCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deployments_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeploymentsDelete() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/DeleteDeployment.json @@ -111,7 +109,7 @@ public async Task Delete_DeploymentsDelete() // invoke the operation await sphereDeployment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereDeviceCollection.cs b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereDeviceCollection.cs index 12093a1bd9463..0f6b7e6ab649d 100644 --- a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereDeviceCollection.cs +++ b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereDeviceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sphere.Samples { public partial class Sample_SphereDeviceCollection { - // Devices_ListByDeviceGroup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DevicesListByDeviceGroup() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetDevices.json @@ -50,12 +50,11 @@ public async Task GetAll_DevicesListByDeviceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Devices_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DevicesGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetDevice.json @@ -90,9 +89,8 @@ public async Task Get_DevicesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Devices_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DevicesGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetDevice.json @@ -123,9 +121,8 @@ public async Task Exists_DevicesGet() Console.WriteLine($"Succeeded: {result}"); } - // Devices_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DevicesGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetDevice.json @@ -156,7 +153,7 @@ public async Task GetIfExists_DevicesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -168,9 +165,8 @@ public async Task GetIfExists_DevicesGet() } } - // Devices_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DevicesCreateOrUpdate() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/PutDevice.json diff --git a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereDeviceGroupCollection.cs b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereDeviceGroupCollection.cs index 2bdfe3204e72b..7a1d52d48fa1d 100644 --- a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereDeviceGroupCollection.cs +++ b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereDeviceGroupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sphere.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sphere.Samples { public partial class Sample_SphereDeviceGroupCollection { - // DeviceGroups_ListByProduct - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_DeviceGroupsListByProduct() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetDeviceGroups.json @@ -50,12 +50,11 @@ public async Task GetAll_DeviceGroupsListByProduct() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DeviceGroups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DeviceGroupsGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetDeviceGroup.json @@ -89,9 +88,8 @@ public async Task Get_DeviceGroupsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeviceGroups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_DeviceGroupsGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetDeviceGroup.json @@ -121,9 +119,8 @@ public async Task Exists_DeviceGroupsGet() Console.WriteLine($"Succeeded: {result}"); } - // DeviceGroups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DeviceGroupsGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetDeviceGroup.json @@ -153,7 +150,7 @@ public async Task GetIfExists_DeviceGroupsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_DeviceGroupsGet() } } - // DeviceGroups_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DeviceGroupsCreateOrUpdate() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/PutDeviceGroup.json diff --git a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereDeviceGroupResource.cs b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereDeviceGroupResource.cs index eab6f35b5361c..92971a1122dc0 100644 --- a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereDeviceGroupResource.cs +++ b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereDeviceGroupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sphere.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sphere.Samples { public partial class Sample_SphereDeviceGroupResource { - // DeviceGroups_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DeviceGroupsGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetDeviceGroup.json @@ -48,9 +48,8 @@ public async Task Get_DeviceGroupsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeviceGroups_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DeviceGroupsUpdate() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/PatchDeviceGroup.json @@ -83,9 +82,8 @@ public async Task Update_DeviceGroupsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // DeviceGroups_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeviceGroupsDelete() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/DeleteDeviceGroup.json @@ -109,12 +107,11 @@ public async Task Delete_DeviceGroupsDelete() // invoke the operation await sphereDeviceGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DeviceGroups_ClaimDevices - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ClaimDevices_DeviceGroupsClaimDevices() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/PostClaimDevices.json @@ -142,12 +139,11 @@ public async Task ClaimDevices_DeviceGroupsClaimDevices() }); await sphereDeviceGroup.ClaimDevicesAsync(WaitUntil.Completed, content); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // DeviceGroups_CountDevices - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CountDevices_DeviceGroupsCountDevices() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/PostCountDevicesDeviceGroup.json diff --git a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereDeviceResource.cs b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereDeviceResource.cs index a6056b1fda338..bb6c3a03ca0ac 100644 --- a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereDeviceResource.cs +++ b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereDeviceResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sphere.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sphere.Samples { public partial class Sample_SphereDeviceResource { - // Devices_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_DevicesGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetDevice.json @@ -49,9 +49,8 @@ public async Task Get_DevicesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Devices_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_DevicesUpdate() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/PatchDevice.json @@ -85,9 +84,8 @@ public async Task Update_DevicesUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Devices_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DevicesDelete() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/DeleteDevice.json @@ -112,12 +110,11 @@ public async Task Delete_DevicesDelete() // invoke the operation await sphereDevice.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Devices_GenerateCapabilityImage - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateCapabilityImage_DevicesGenerateCapabilityImage() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/PostGenerateDeviceCapabilityImage.json diff --git a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereImageCollection.cs b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereImageCollection.cs index 114393bfab89e..ef311fdba18ee 100644 --- a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereImageCollection.cs +++ b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereImageCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sphere.Samples { public partial class Sample_SphereImageCollection { - // Images_ListByCatalog - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ImagesListByCatalog() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetImages.json @@ -48,12 +48,11 @@ public async Task GetAll_ImagesListByCatalog() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Images_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ImagesGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetImage.json @@ -86,9 +85,8 @@ public async Task Get_ImagesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Images_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ImagesGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetImage.json @@ -117,9 +115,8 @@ public async Task Exists_ImagesGet() Console.WriteLine($"Succeeded: {result}"); } - // Images_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ImagesGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetImage.json @@ -148,7 +145,7 @@ public async Task GetIfExists_ImagesGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_ImagesGet() } } - // Image_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ImageCreateOrUpdate() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/PutImage.json diff --git a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereImageResource.cs b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereImageResource.cs index c03b081b266e8..1e70466c885a3 100644 --- a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereImageResource.cs +++ b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereImageResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sphere.Samples { public partial class Sample_SphereImageResource { - // Images_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ImagesGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetImage.json @@ -46,9 +46,8 @@ public async Task Get_ImagesGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Image_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ImageCreateOrUpdate() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/PutImage.json @@ -83,9 +82,8 @@ public async Task Update_ImageCreateOrUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Images_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ImagesDelete() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/DeleteImage.json @@ -108,7 +106,7 @@ public async Task Delete_ImagesDelete() // invoke the operation await sphereImage.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereProductCollection.cs b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereProductCollection.cs index 320dcca46921c..2fda017a31e6e 100644 --- a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereProductCollection.cs +++ b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereProductCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sphere.Samples { public partial class Sample_SphereProductCollection { - // Products_ListByCatalog - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ProductsListByCatalog() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetProducts.json @@ -48,12 +48,11 @@ public async Task GetAll_ProductsListByCatalog() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Products_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProductsGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetProduct.json @@ -86,9 +85,8 @@ public async Task Get_ProductsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Products_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ProductsGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetProduct.json @@ -117,9 +115,8 @@ public async Task Exists_ProductsGet() Console.WriteLine($"Succeeded: {result}"); } - // Products_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ProductsGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetProduct.json @@ -148,7 +145,7 @@ public async Task GetIfExists_ProductsGet() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_ProductsGet() } } - // Products_CreateOrUpdate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ProductsCreateOrUpdate() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/PutProduct.json diff --git a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereProductResource.cs b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereProductResource.cs index 9f54340e097a7..127d8353fc686 100644 --- a/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereProductResource.cs +++ b/sdk/sphere/Azure.ResourceManager.Sphere/samples/Generated/Samples/Sample_SphereProductResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sphere.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sphere.Samples { public partial class Sample_SphereProductResource { - // Products_Get - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ProductsGet() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/GetProduct.json @@ -47,9 +47,8 @@ public async Task Get_ProductsGet() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Products_Update - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ProductsUpdate() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/PatchProduct.json @@ -81,9 +80,8 @@ public async Task Update_ProductsUpdate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Products_Delete - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_ProductsDelete() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/DeleteProduct.json @@ -106,12 +104,11 @@ public async Task Delete_ProductsDelete() // invoke the operation await sphereProduct.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Products_CountDevices - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CountDevices_ProductsCountDevices() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/PostCountDevicesProduct.json @@ -137,9 +134,8 @@ public async Task CountDevices_ProductsCountDevices() Console.WriteLine($"Succeeded: {result}"); } - // Products_GenerateDefaultDeviceGroups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateDefaultDeviceGroups_ProductsGenerateDefaultDeviceGroups() { // Generated from example definition: specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/examples/PostGenerateDefaultDeviceGroups.json @@ -169,7 +165,7 @@ public async Task GenerateDefaultDeviceGroups_ProductsGenerateDefaultDeviceGroup Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootAppCollection.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootAppCollection.cs index 2245cb61e37d5..1df1e7908fcf1 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootAppCollection.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootAppCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SpringAppDiscovery.Samples { public partial class Sample_SpringBootAppCollection { - // springbootapps_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SpringbootappsGetMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootapps_Get_MaximumSet_Gen.json @@ -49,9 +49,8 @@ public async Task Get_SpringbootappsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // springbootapps_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SpringbootappsGetMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootapps_Get_MaximumSet_Gen.json @@ -80,9 +79,8 @@ public async Task Exists_SpringbootappsGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // springbootapps_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SpringbootappsGetMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootapps_Get_MaximumSet_Gen.json @@ -111,7 +109,7 @@ public async Task GetIfExists_SpringbootappsGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_SpringbootappsGetMaximumSetGen() } } - // springbootapps_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SpringbootappsGetMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootapps_Get_MinimumSet_Gen.json @@ -158,9 +155,8 @@ public async Task Get_SpringbootappsGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // springbootapps_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SpringbootappsGetMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootapps_Get_MinimumSet_Gen.json @@ -189,9 +185,8 @@ public async Task Exists_SpringbootappsGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // springbootapps_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SpringbootappsGetMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootapps_Get_MinimumSet_Gen.json @@ -220,7 +215,7 @@ public async Task GetIfExists_SpringbootappsGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -232,9 +227,8 @@ public async Task GetIfExists_SpringbootappsGetMinimumSetGen() } } - // springbootapps_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SpringbootappsListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootapps_ListByResourceGroup_MaximumSet_Gen.json @@ -266,12 +260,11 @@ public async Task GetAll_SpringbootappsListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // springbootapps_ListByResourceGroup_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SpringbootappsListByResourceGroupMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootapps_ListByResourceGroup_MinimumSet_Gen.json @@ -303,7 +296,7 @@ public async Task GetAll_SpringbootappsListByResourceGroupMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootAppResource.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootAppResource.cs index e163629c38979..09cdd20d7a860 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootAppResource.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootAppResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SpringAppDiscovery.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SpringAppDiscovery.Samples { public partial class Sample_SpringBootAppResource { - // springbootapps_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SpringbootappsGetMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootapps_Get_MaximumSet_Gen.json @@ -48,9 +48,8 @@ public async Task Get_SpringbootappsGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // springbootapps_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SpringbootappsGetMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootapps_Get_MinimumSet_Gen.json @@ -80,9 +79,8 @@ public async Task Get_SpringbootappsGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // springbootapps_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SpringbootappsUpdateMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootapps_Update_MaximumSet_Gen.json @@ -114,9 +112,8 @@ public async Task Update_SpringbootappsUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // springbootapps_Update_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SpringbootappsUpdateMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootapps_Update_MinimumSet_Gen.json @@ -148,9 +145,8 @@ public async Task Update_SpringbootappsUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // springbootapps_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSpringBootApps_SpringbootappsListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootapps_ListBySubscription_MaximumSet_Gen.json @@ -178,12 +174,11 @@ public async Task GetSpringBootApps_SpringbootappsListBySubscriptionMaximumSetGe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // springbootapps_ListBySubscription_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSpringBootApps_SpringbootappsListBySubscriptionMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootapps_ListBySubscription_MinimumSet_Gen.json @@ -211,7 +206,7 @@ public async Task GetSpringBootApps_SpringbootappsListBySubscriptionMinimumSetGe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootServerCollection.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootServerCollection.cs index b630936e9681c..fd0f3668b07cd 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootServerCollection.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootServerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.SpringAppDiscovery.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SpringAppDiscovery.Samples { public partial class Sample_SpringBootServerCollection { - // springbootservers_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SpringbootserversGetMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootservers_Get_MaximumSet_Gen.json @@ -50,9 +50,8 @@ public async Task Get_SpringbootserversGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // springbootservers_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SpringbootserversGetMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootservers_Get_MaximumSet_Gen.json @@ -81,9 +80,8 @@ public async Task Exists_SpringbootserversGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // springbootservers_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SpringbootserversGetMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootservers_Get_MaximumSet_Gen.json @@ -112,7 +110,7 @@ public async Task GetIfExists_SpringbootserversGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_SpringbootserversGetMaximumSetGen() } } - // springbootservers_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SpringbootserversGetMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootservers_Get_MinimumSet_Gen.json @@ -159,9 +156,8 @@ public async Task Get_SpringbootserversGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // springbootservers_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SpringbootserversGetMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootservers_Get_MinimumSet_Gen.json @@ -190,9 +186,8 @@ public async Task Exists_SpringbootserversGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // springbootservers_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SpringbootserversGetMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootservers_Get_MinimumSet_Gen.json @@ -221,7 +216,7 @@ public async Task GetIfExists_SpringbootserversGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -233,9 +228,8 @@ public async Task GetIfExists_SpringbootserversGetMinimumSetGen() } } - // springbootservers_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SpringbootserversCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootservers_CreateOrUpdate_MaximumSet_Gen.json @@ -285,9 +279,8 @@ public async Task CreateOrUpdate_SpringbootserversCreateOrUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // springbootservers_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SpringbootserversCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootservers_CreateOrUpdate_MinimumSet_Gen.json @@ -322,9 +315,8 @@ public async Task CreateOrUpdate_SpringbootserversCreateOrUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // springbootservers_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SpringbootserversListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootservers_ListByResourceGroup_MaximumSet_Gen.json @@ -356,12 +348,11 @@ public async Task GetAll_SpringbootserversListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // springbootservers_ListByResourceGroup_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SpringbootserversListByResourceGroupMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootservers_ListByResourceGroup_MinimumSet_Gen.json @@ -393,7 +384,7 @@ public async Task GetAll_SpringbootserversListByResourceGroupMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootServerResource.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootServerResource.cs index d034ed6753d2e..f035289f61a7a 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootServerResource.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootServerResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SpringAppDiscovery.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SpringAppDiscovery.Samples { public partial class Sample_SpringBootServerResource { - // springbootservers_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SpringbootserversGetMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootservers_Get_MaximumSet_Gen.json @@ -48,9 +48,8 @@ public async Task Get_SpringbootserversGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // springbootservers_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SpringbootserversGetMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootservers_Get_MinimumSet_Gen.json @@ -80,9 +79,8 @@ public async Task Get_SpringbootserversGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // springbootservers_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SpringbootserversDeleteMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootservers_Delete_MaximumSet_Gen.json @@ -105,12 +103,11 @@ public async Task Delete_SpringbootserversDeleteMaximumSetGen() // invoke the operation await springBootServer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // springbootservers_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SpringbootserversDeleteMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootservers_Delete_MinimumSet_Gen.json @@ -133,12 +130,11 @@ public async Task Delete_SpringbootserversDeleteMinimumSetGen() // invoke the operation await springBootServer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // springbootservers_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SpringbootserversUpdateMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootservers_Update_MaximumSet_Gen.json @@ -170,9 +166,8 @@ public async Task Update_SpringbootserversUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // springbootservers_Update_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SpringbootserversUpdateMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootservers_Update_MinimumSet_Gen.json @@ -204,9 +199,8 @@ public async Task Update_SpringbootserversUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // springbootservers_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSpringBootServers_SpringbootserversListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootservers_ListBySubscription_MaximumSet_Gen.json @@ -234,12 +228,11 @@ public async Task GetSpringBootServers_SpringbootserversListBySubscriptionMaximu Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // springbootservers_ListBySubscription_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSpringBootServers_SpringbootserversListBySubscriptionMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootservers_ListBySubscription_MinimumSet_Gen.json @@ -267,7 +260,7 @@ public async Task GetSpringBootServers_SpringbootserversListBySubscriptionMinimu Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootSiteCollection.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootSiteCollection.cs index a9be2b6897caf..d9f0a04a464bb 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootSiteCollection.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootSiteCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SpringAppDiscovery.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SpringAppDiscovery.Samples { public partial class Sample_SpringBootSiteCollection { - // springbootsites_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SpringbootsitesGetMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootsites_Get_MaximumSet_Gen.json @@ -50,9 +50,8 @@ public async Task Get_SpringbootsitesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // springbootsites_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SpringbootsitesGetMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootsites_Get_MaximumSet_Gen.json @@ -80,9 +79,8 @@ public async Task Exists_SpringbootsitesGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // springbootsites_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SpringbootsitesGetMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootsites_Get_MaximumSet_Gen.json @@ -110,7 +108,7 @@ public async Task GetIfExists_SpringbootsitesGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -122,9 +120,8 @@ public async Task GetIfExists_SpringbootsitesGetMaximumSetGen() } } - // springbootsites_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SpringbootsitesGetMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootsites_Get_MinimumSet_Gen.json @@ -156,9 +153,8 @@ public async Task Get_SpringbootsitesGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // springbootsites_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SpringbootsitesGetMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootsites_Get_MinimumSet_Gen.json @@ -186,9 +182,8 @@ public async Task Exists_SpringbootsitesGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // springbootsites_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SpringbootsitesGetMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootsites_Get_MinimumSet_Gen.json @@ -216,7 +211,7 @@ public async Task GetIfExists_SpringbootsitesGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -228,9 +223,8 @@ public async Task GetIfExists_SpringbootsitesGetMinimumSetGen() } } - // springbootsites_CreateOrUpdate_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SpringbootsitesCreateOrUpdateMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootsites_CreateOrUpdate_MaximumSet_Gen.json @@ -280,9 +274,8 @@ public async Task CreateOrUpdate_SpringbootsitesCreateOrUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // springbootsites_CreateOrUpdate_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SpringbootsitesCreateOrUpdateMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootsites_CreateOrUpdate_MinimumSet_Gen.json @@ -316,9 +309,8 @@ public async Task CreateOrUpdate_SpringbootsitesCreateOrUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // springbootsites_ListByResourceGroup_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SpringbootsitesListByResourceGroupMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootsites_ListByResourceGroup_MaximumSet_Gen.json @@ -349,12 +341,11 @@ public async Task GetAll_SpringbootsitesListByResourceGroupMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // springbootsites_ListByResourceGroup_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SpringbootsitesListByResourceGroupMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootsites_ListByResourceGroup_MinimumSet_Gen.json @@ -385,7 +376,7 @@ public async Task GetAll_SpringbootsitesListByResourceGroupMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootSiteErrorSummaryCollection.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootSiteErrorSummaryCollection.cs index b81f4882fcbfb..0aab1fd7aa904 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootSiteErrorSummaryCollection.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootSiteErrorSummaryCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SpringAppDiscovery.Samples { public partial class Sample_SpringBootSiteErrorSummaryCollection { - // ErrorSummaries_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ErrorSummariesGetMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/ErrorSummaries_Get_MaximumSet_Gen.json @@ -49,9 +49,8 @@ public async Task Get_ErrorSummariesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ErrorSummaries_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ErrorSummariesGetMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/ErrorSummaries_Get_MaximumSet_Gen.json @@ -80,9 +79,8 @@ public async Task Exists_ErrorSummariesGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // ErrorSummaries_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ErrorSummariesGetMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/ErrorSummaries_Get_MaximumSet_Gen.json @@ -111,7 +109,7 @@ public async Task GetIfExists_ErrorSummariesGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_ErrorSummariesGetMaximumSetGen() } } - // ErrorSummaries_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ErrorSummariesGetMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/ErrorSummaries_Get_MinimumSet_Gen.json @@ -158,9 +155,8 @@ public async Task Get_ErrorSummariesGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ErrorSummaries_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ErrorSummariesGetMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/ErrorSummaries_Get_MinimumSet_Gen.json @@ -189,9 +185,8 @@ public async Task Exists_ErrorSummariesGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // ErrorSummaries_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ErrorSummariesGetMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/ErrorSummaries_Get_MinimumSet_Gen.json @@ -220,7 +215,7 @@ public async Task GetIfExists_ErrorSummariesGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -232,9 +227,8 @@ public async Task GetIfExists_ErrorSummariesGetMinimumSetGen() } } - // ErrorSummaries_ListBySite_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ErrorSummariesListBySiteMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/ErrorSummaries_ListBySite_MaximumSet_Gen.json @@ -266,12 +260,11 @@ public async Task GetAll_ErrorSummariesListBySiteMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // ErrorSummaries_ListBySite_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ErrorSummariesListBySiteMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/ErrorSummaries_ListBySite_MinimumSet_Gen.json @@ -303,7 +296,7 @@ public async Task GetAll_ErrorSummariesListBySiteMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootSiteErrorSummaryResource.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootSiteErrorSummaryResource.cs index 2e285bca43475..42c01ba40bc12 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootSiteErrorSummaryResource.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootSiteErrorSummaryResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SpringAppDiscovery.Samples { public partial class Sample_SpringBootSiteErrorSummaryResource { - // ErrorSummaries_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ErrorSummariesGetMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/ErrorSummaries_Get_MaximumSet_Gen.json @@ -46,9 +46,8 @@ public async Task Get_ErrorSummariesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // ErrorSummaries_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ErrorSummariesGetMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/ErrorSummaries_Get_MinimumSet_Gen.json diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootSiteResource.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootSiteResource.cs index c34a959bebda5..bed983059c79c 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootSiteResource.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootSiteResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SpringAppDiscovery.Models; +using NUnit.Framework; namespace Azure.ResourceManager.SpringAppDiscovery.Samples { public partial class Sample_SpringBootSiteResource { - // springbootsites_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SpringbootsitesGetMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootsites_Get_MaximumSet_Gen.json @@ -47,9 +47,8 @@ public async Task Get_SpringbootsitesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // springbootsites_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SpringbootsitesGetMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootsites_Get_MinimumSet_Gen.json @@ -78,9 +77,8 @@ public async Task Get_SpringbootsitesGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // springbootsites_Delete_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SpringbootsitesDeleteMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootsites_Delete_MaximumSet_Gen.json @@ -102,12 +100,11 @@ public async Task Delete_SpringbootsitesDeleteMaximumSetGen() // invoke the operation await springBootSite.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // springbootsites_Delete_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_SpringbootsitesDeleteMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootsites_Delete_MinimumSet_Gen.json @@ -129,12 +126,11 @@ public async Task Delete_SpringbootsitesDeleteMinimumSetGen() // invoke the operation await springBootSite.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // springbootsites_Update_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SpringbootsitesUpdateMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootsites_Update_MaximumSet_Gen.json @@ -171,9 +167,8 @@ public async Task Update_SpringbootsitesUpdateMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // springbootsites_Update_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_SpringbootsitesUpdateMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootsites_Update_MinimumSet_Gen.json @@ -204,9 +199,8 @@ public async Task Update_SpringbootsitesUpdateMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // springbootsites_TriggerRefreshSite_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TriggerRefreshSite_SpringbootsitesTriggerRefreshSiteMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootsites_TriggerRefreshSite_MaximumSet_Gen.json @@ -228,12 +222,11 @@ public async Task TriggerRefreshSite_SpringbootsitesTriggerRefreshSiteMaximumSet // invoke the operation await springBootSite.TriggerRefreshSiteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // springbootsites_TriggerRefreshSite_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TriggerRefreshSite_SpringbootsitesTriggerRefreshSiteMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootsites_TriggerRefreshSite_MinimumSet_Gen.json @@ -255,12 +248,11 @@ public async Task TriggerRefreshSite_SpringbootsitesTriggerRefreshSiteMinimumSet // invoke the operation await springBootSite.TriggerRefreshSiteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // springbootsites_ListBySubscription_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSpringBootSites_SpringbootsitesListBySubscriptionMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootsites_ListBySubscription_MaximumSet_Gen.json @@ -287,12 +279,11 @@ public async Task GetSpringBootSites_SpringbootsitesListBySubscriptionMaximumSet Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // springbootsites_ListBySubscription_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSpringBootSites_SpringbootsitesListBySubscriptionMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/springbootsites_ListBySubscription_MinimumSet_Gen.json @@ -319,7 +310,7 @@ public async Task GetSpringBootSites_SpringbootsitesListBySubscriptionMinimumSet Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootSiteSummaryCollection.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootSiteSummaryCollection.cs index ade6bac7f5414..d5ed107d9a51a 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootSiteSummaryCollection.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootSiteSummaryCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SpringAppDiscovery.Samples { public partial class Sample_SpringBootSiteSummaryCollection { - // Summaries_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SummariesGetMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/Summaries_Get_MaximumSet_Gen.json @@ -49,9 +49,8 @@ public async Task Get_SummariesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Summaries_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SummariesGetMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/Summaries_Get_MaximumSet_Gen.json @@ -80,9 +79,8 @@ public async Task Exists_SummariesGetMaximumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Summaries_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SummariesGetMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/Summaries_Get_MaximumSet_Gen.json @@ -111,7 +109,7 @@ public async Task GetIfExists_SummariesGetMaximumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_SummariesGetMaximumSetGen() } } - // Summaries_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SummariesGetMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/Summaries_Get_MinimumSet_Gen.json @@ -158,9 +155,8 @@ public async Task Get_SummariesGetMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Summaries_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_SummariesGetMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/Summaries_Get_MinimumSet_Gen.json @@ -189,9 +185,8 @@ public async Task Exists_SummariesGetMinimumSetGen() Console.WriteLine($"Succeeded: {result}"); } - // Summaries_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SummariesGetMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/Summaries_Get_MinimumSet_Gen.json @@ -220,7 +215,7 @@ public async Task GetIfExists_SummariesGetMinimumSetGen() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -232,9 +227,8 @@ public async Task GetIfExists_SummariesGetMinimumSetGen() } } - // Summaries_ListBySite_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SummariesListBySiteMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/Summaries_ListBySite_MaximumSet_Gen.json @@ -266,12 +260,11 @@ public async Task GetAll_SummariesListBySiteMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Summaries_ListBySite_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_SummariesListBySiteMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/Summaries_ListBySite_MinimumSet_Gen.json @@ -303,7 +296,7 @@ public async Task GetAll_SummariesListBySiteMinimumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootSiteSummaryResource.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootSiteSummaryResource.cs index c4eb9009823d3..80c4ed6cc0c69 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootSiteSummaryResource.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/samples/Generated/Samples/Sample_SpringBootSiteSummaryResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.SpringAppDiscovery.Samples { public partial class Sample_SpringBootSiteSummaryResource { - // Summaries_Get_MaximumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SummariesGetMaximumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/Summaries_Get_MaximumSet_Gen.json @@ -46,9 +46,8 @@ public async Task Get_SummariesGetMaximumSetGen() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Summaries_Get_MinimumSet_Gen - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_SummariesGetMinimumSetGen() { // Generated from example definition: specification/offazurespringboot/resource-manager/Microsoft.OffAzureSpringBoot/preview/2023-01-01-preview/examples/Summaries_Get_MinimumSet_Gen.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_BackupShortTermRetentionPolicyCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_BackupShortTermRetentionPolicyCollection.cs index 7e7224b2ed680..abe5b6d40c9bb 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_BackupShortTermRetentionPolicyCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_BackupShortTermRetentionPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_BackupShortTermRetentionPolicyCollection { - // Get the short term retention policy for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheShortTermRetentionPolicyForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/GetShortTermRetentionPolicy.json @@ -51,9 +51,8 @@ public async Task Get_GetTheShortTermRetentionPolicyForTheDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the short term retention policy for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheShortTermRetentionPolicyForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/GetShortTermRetentionPolicy.json @@ -83,9 +82,8 @@ public async Task Exists_GetTheShortTermRetentionPolicyForTheDatabase() Console.WriteLine($"Succeeded: {result}"); } - // Get the short term retention policy for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheShortTermRetentionPolicyForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/GetShortTermRetentionPolicy.json @@ -115,7 +113,7 @@ public async Task GetIfExists_GetTheShortTermRetentionPolicyForTheDatabase() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_GetTheShortTermRetentionPolicyForTheDatabase() } } - // Update the short term retention policy for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateTheShortTermRetentionPolicyForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/UpdateShortTermRetentionPolicy.json @@ -169,9 +166,8 @@ public async Task CreateOrUpdate_UpdateTheShortTermRetentionPolicyForTheDatabase Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the short term retention policy for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetTheShortTermRetentionPolicyForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/ListShortTermRetentionPoliciesByDatabase.json @@ -204,7 +200,7 @@ public async Task GetAll_GetTheShortTermRetentionPolicyForTheDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_BackupShortTermRetentionPolicyResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_BackupShortTermRetentionPolicyResource.cs index f1dc29ea13981..c75bb44259e36 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_BackupShortTermRetentionPolicyResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_BackupShortTermRetentionPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_BackupShortTermRetentionPolicyResource { - // Get the short term retention policy for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheShortTermRetentionPolicyForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/GetShortTermRetentionPolicy.json @@ -48,9 +48,8 @@ public async Task Get_GetTheShortTermRetentionPolicyForTheDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update the short term retention policy for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateTheShortTermRetentionPolicyForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/UpdateShortTermRetentionPolicy.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DataMaskingPolicyResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DataMaskingPolicyResource.cs index d8dfd1cc6d300..16a8c0b7f1a08 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DataMaskingPolicyResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DataMaskingPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_DataMaskingPolicyResource { - // Create or update data masking policy max - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateDataMaskingPolicyMax() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingPolicyCreateOrUpdateMax.json @@ -53,9 +53,8 @@ public async Task CreateOrUpdate_CreateOrUpdateDataMaskingPolicyMax() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update data masking policy min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateDataMaskingPolicyMin() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingPolicyCreateOrUpdateMin.json @@ -90,9 +89,8 @@ public async Task CreateOrUpdate_CreateOrUpdateDataMaskingPolicyMin() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get data masking policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDataMaskingPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingPolicyGet.json @@ -122,9 +120,8 @@ public async Task Get_GetDataMaskingPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create/Update data masking rule for default max - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateDataMaskingRule_CreateUpdateDataMaskingRuleForDefaultMax() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingRuleCreateOrUpdateDefaultMax.json @@ -160,9 +157,8 @@ public async Task CreateOrUpdateDataMaskingRule_CreateUpdateDataMaskingRuleForDe Console.WriteLine($"Succeeded: {result}"); } - // Create/Update data masking rule for default min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateDataMaskingRule_CreateUpdateDataMaskingRuleForDefaultMin() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingRuleCreateOrUpdateDefaultMin.json @@ -196,9 +192,8 @@ public async Task CreateOrUpdateDataMaskingRule_CreateUpdateDataMaskingRuleForDe Console.WriteLine($"Succeeded: {result}"); } - // Create/Update data masking rule for numbers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateDataMaskingRule_CreateUpdateDataMaskingRuleForNumbers() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingRuleCreateOrUpdateNumber.json @@ -234,9 +229,8 @@ public async Task CreateOrUpdateDataMaskingRule_CreateUpdateDataMaskingRuleForNu Console.WriteLine($"Succeeded: {result}"); } - // Create/Update data masking rule for text - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateDataMaskingRule_CreateUpdateDataMaskingRuleForText() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingRuleCreateOrUpdateText.json @@ -273,9 +267,8 @@ public async Task CreateOrUpdateDataMaskingRule_CreateUpdateDataMaskingRuleForTe Console.WriteLine($"Succeeded: {result}"); } - // List data masking rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDataMaskingRules_ListDataMaskingRules() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DataMaskingRuleList.json @@ -301,7 +294,7 @@ public async Task GetDataMaskingRules_ListDataMaskingRules() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DataWarehouseUserActivityCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DataWarehouseUserActivityCollection.cs index ba762e4f5697d..9c9d4b5b71388 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DataWarehouseUserActivityCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DataWarehouseUserActivityCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_DataWarehouseUserActivityCollection { - // Get the list of the user activities of a data warehouse - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheListOfTheUserActivitiesOfADataWarehouse() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetDataWarehouseUserActivities.json @@ -51,9 +51,8 @@ public async Task Get_GetTheListOfTheUserActivitiesOfADataWarehouse() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the list of the user activities of a data warehouse - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheListOfTheUserActivitiesOfADataWarehouse() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetDataWarehouseUserActivities.json @@ -83,9 +82,8 @@ public async Task Exists_GetTheListOfTheUserActivitiesOfADataWarehouse() Console.WriteLine($"Succeeded: {result}"); } - // Get the list of the user activities of a data warehouse - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheListOfTheUserActivitiesOfADataWarehouse() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetDataWarehouseUserActivities.json @@ -115,7 +113,7 @@ public async Task GetIfExists_GetTheListOfTheUserActivitiesOfADataWarehouse() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_GetTheListOfTheUserActivitiesOfADataWarehouse() } } - // List of the user activities of a data warehouse - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListOfTheUserActivitiesOfADataWarehouse() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ListDataWarehouseUserActivities.json @@ -162,7 +159,7 @@ public async Task GetAll_ListOfTheUserActivitiesOfADataWarehouse() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DataWarehouseUserActivityResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DataWarehouseUserActivityResource.cs index db26417347248..1d10dd0479a90 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DataWarehouseUserActivityResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DataWarehouseUserActivityResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_DataWarehouseUserActivityResource { - // Get the list of the user activities of a data warehouse - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheListOfTheUserActivitiesOfADataWarehouse() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetDataWarehouseUserActivities.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DatabaseAdvancedThreatProtectionCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DatabaseAdvancedThreatProtectionCollection.cs index dc6d2b679bbd2..dc00de4a0b35d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DatabaseAdvancedThreatProtectionCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DatabaseAdvancedThreatProtectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_DatabaseAdvancedThreatProtectionCollection { - // Lists the database's Advanced Threat Protection settings. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsTheDatabaseSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DatabaseAdvancedThreatProtectionSettingsListByDatabase.json @@ -50,12 +50,11 @@ public async Task GetAll_ListsTheDatabaseSAdvancedThreatProtectionSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a database's Advanced Threat Protection settings. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADatabaseSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DatabaseAdvancedThreatProtectionSettingsGet.json @@ -89,9 +88,8 @@ public async Task Get_GetADatabaseSAdvancedThreatProtectionSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a database's Advanced Threat Protection settings. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADatabaseSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DatabaseAdvancedThreatProtectionSettingsGet.json @@ -121,9 +119,8 @@ public async Task Exists_GetADatabaseSAdvancedThreatProtectionSettings() Console.WriteLine($"Succeeded: {result}"); } - // Get a database's Advanced Threat Protection settings. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADatabaseSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DatabaseAdvancedThreatProtectionSettingsGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetADatabaseSAdvancedThreatProtectionSettings() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_GetADatabaseSAdvancedThreatProtectionSettings() } } - // Update a database's Advanced Threat Protection settings with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateADatabaseSAdvancedThreatProtectionSettingsWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DatabaseAdvancedThreatProtectionSettingsCreateMax.json @@ -206,9 +202,8 @@ public async Task CreateOrUpdate_UpdateADatabaseSAdvancedThreatProtectionSetting Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a database's Advanced Threat Protection settings with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateADatabaseSAdvancedThreatProtectionSettingsWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DatabaseAdvancedThreatProtectionSettingsCreateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DatabaseAdvancedThreatProtectionResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DatabaseAdvancedThreatProtectionResource.cs index 5bdedff1e7f6c..28a2245244056 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DatabaseAdvancedThreatProtectionResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DatabaseAdvancedThreatProtectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_DatabaseAdvancedThreatProtectionResource { - // Get a database's Advanced Threat Protection settings. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADatabaseSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DatabaseAdvancedThreatProtectionSettingsGet.json @@ -48,9 +48,8 @@ public async Task Get_GetADatabaseSAdvancedThreatProtectionSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a database's Advanced Threat Protection settings with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateADatabaseSAdvancedThreatProtectionSettingsWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DatabaseAdvancedThreatProtectionSettingsCreateMax.json @@ -86,9 +85,8 @@ public async Task Update_UpdateADatabaseSAdvancedThreatProtectionSettingsWithAll Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a database's Advanced Threat Protection settings with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateADatabaseSAdvancedThreatProtectionSettingsWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DatabaseAdvancedThreatProtectionSettingsCreateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DeletedServerCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DeletedServerCollection.cs index 3b84498463a50..32dde4fee851e 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DeletedServerCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DeletedServerCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_DeletedServerCollection { - // Get deleted server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDeletedServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DeletedServerGet.json @@ -49,9 +49,8 @@ public async Task Get_GetDeletedServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get deleted server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDeletedServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DeletedServerGet.json @@ -79,9 +78,8 @@ public async Task Exists_GetDeletedServer() Console.WriteLine($"Succeeded: {result}"); } - // Get deleted server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDeletedServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DeletedServerGet.json @@ -109,7 +107,7 @@ public async Task GetIfExists_GetDeletedServer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -121,9 +119,8 @@ public async Task GetIfExists_GetDeletedServer() } } - // List deleted servers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDeletedServers() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DeletedServerList.json @@ -154,7 +151,7 @@ public async Task GetAll_ListDeletedServers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DeletedServerResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DeletedServerResource.cs index b1e5533e1a71f..5b90089170db1 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DeletedServerResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DeletedServerResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_DeletedServerResource { - // List deleted servers in a subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDeletedServers_ListDeletedServersInASubscription() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DeletedServerListBySubscription.json @@ -44,12 +44,11 @@ public async Task GetDeletedServers_ListDeletedServersInASubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get deleted server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDeletedServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DeletedServerGet.json @@ -78,9 +77,8 @@ public async Task Get_GetDeletedServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Recover deleted server. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Recover_RecoverDeletedServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DeletedServerRecover.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DistributedAvailabilityGroupCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DistributedAvailabilityGroupCollection.cs index cbdff4b4a6cff..ed94ee63579a3 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DistributedAvailabilityGroupCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DistributedAvailabilityGroupCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_DistributedAvailabilityGroupCollection { - // Lists all distributed availability groups in instance. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsAllDistributedAvailabilityGroupsInInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DistributedAvailabilityGroupsListByInstance.json @@ -48,12 +48,11 @@ public async Task GetAll_ListsAllDistributedAvailabilityGroupsInInstance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the distributed availability group info. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDistributedAvailabilityGroupInfo() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DistributedAvailabilityGroupsGet.json @@ -86,9 +85,8 @@ public async Task Get_GetsTheDistributedAvailabilityGroupInfo() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the distributed availability group info. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheDistributedAvailabilityGroupInfo() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DistributedAvailabilityGroupsGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetsTheDistributedAvailabilityGroupInfo() Console.WriteLine($"Succeeded: {result}"); } - // Gets the distributed availability group info. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheDistributedAvailabilityGroupInfo() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DistributedAvailabilityGroupsGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetsTheDistributedAvailabilityGroupInfo() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GetsTheDistributedAvailabilityGroupInfo() } } - // Create a distributed availability group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADistributedAvailabilityGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DistributedAvailabilityGroupsCreate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DistributedAvailabilityGroupResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DistributedAvailabilityGroupResource.cs index 55bf8f6ee62db..383951cffdbbd 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DistributedAvailabilityGroupResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_DistributedAvailabilityGroupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_DistributedAvailabilityGroupResource { - // Gets the distributed availability group info. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheDistributedAvailabilityGroupInfo() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DistributedAvailabilityGroupsGet.json @@ -47,9 +47,8 @@ public async Task Get_GetsTheDistributedAvailabilityGroupInfo() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Initiate a distributed availability group drop. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_InitiateADistributedAvailabilityGroupDrop() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DistributedAvailabilityGroupsDelete.json @@ -72,12 +71,11 @@ public async Task Delete_InitiateADistributedAvailabilityGroupDrop() // invoke the operation await distributedAvailabilityGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update the distributed availability group replication mode before deleting it. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateTheDistributedAvailabilityGroupReplicationModeBeforeDeletingIt() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DistributedAvailabilityGroupsUpdate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ElasticPoolCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ElasticPoolCollection.cs index 5433b18469d24..7d8a7c7db5786 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ElasticPoolCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ElasticPoolCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ElasticPoolCollection { - // Get all elastic pools in a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllElasticPoolsInAServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ElasticPoolListByServer.json @@ -49,12 +49,11 @@ public async Task GetAll_GetAllElasticPoolsInAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a Hyperscale elastic pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAHyperscaleElasticPool() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/HyperscaleElasticPoolGet.json @@ -87,9 +86,8 @@ public async Task Get_GetAHyperscaleElasticPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a Hyperscale elastic pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAHyperscaleElasticPool() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/HyperscaleElasticPoolGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetAHyperscaleElasticPool() Console.WriteLine($"Succeeded: {result}"); } - // Get a Hyperscale elastic pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAHyperscaleElasticPool() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/HyperscaleElasticPoolGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetAHyperscaleElasticPool() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetAHyperscaleElasticPool() } } - // Get an elastic pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnElasticPool() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ElasticPoolGet.json @@ -196,9 +192,8 @@ public async Task Get_GetAnElasticPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an elastic pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnElasticPool() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ElasticPoolGet.json @@ -227,9 +222,8 @@ public async Task Exists_GetAnElasticPool() Console.WriteLine($"Succeeded: {result}"); } - // Get an elastic pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnElasticPool() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ElasticPoolGet.json @@ -258,7 +252,7 @@ public async Task GetIfExists_GetAnElasticPool() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -270,9 +264,8 @@ public async Task GetIfExists_GetAnElasticPool() } } - // Get an elastic pool with Availability Zone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnElasticPoolWithAvailabilityZone() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/GetElasticPoolWithAvailabilityZone.json @@ -305,9 +298,8 @@ public async Task Get_GetAnElasticPoolWithAvailabilityZone() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an elastic pool with Availability Zone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnElasticPoolWithAvailabilityZone() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/GetElasticPoolWithAvailabilityZone.json @@ -336,9 +328,8 @@ public async Task Exists_GetAnElasticPoolWithAvailabilityZone() Console.WriteLine($"Succeeded: {result}"); } - // Get an elastic pool with Availability Zone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnElasticPoolWithAvailabilityZone() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/GetElasticPoolWithAvailabilityZone.json @@ -367,7 +358,7 @@ public async Task GetIfExists_GetAnElasticPoolWithAvailabilityZone() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -379,9 +370,8 @@ public async Task GetIfExists_GetAnElasticPoolWithAvailabilityZone() } } - // Get an elastic pool with preferred enclave type parameter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnElasticPoolWithPreferredEnclaveTypeParameter() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ElasticPoolGetWithPreferredEnclaveType.json @@ -414,9 +404,8 @@ public async Task Get_GetAnElasticPoolWithPreferredEnclaveTypeParameter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an elastic pool with preferred enclave type parameter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnElasticPoolWithPreferredEnclaveTypeParameter() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ElasticPoolGetWithPreferredEnclaveType.json @@ -445,9 +434,8 @@ public async Task Exists_GetAnElasticPoolWithPreferredEnclaveTypeParameter() Console.WriteLine($"Succeeded: {result}"); } - // Get an elastic pool with preferred enclave type parameter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnElasticPoolWithPreferredEnclaveTypeParameter() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ElasticPoolGetWithPreferredEnclaveType.json @@ -476,7 +464,7 @@ public async Task GetIfExists_GetAnElasticPoolWithPreferredEnclaveTypeParameter( if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -488,9 +476,8 @@ public async Task GetIfExists_GetAnElasticPoolWithPreferredEnclaveTypeParameter( } } - // Create or Update an elastic pool with Availability Zone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnElasticPoolWithAvailabilityZone() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/CreateElasticPoolWithAvailabilityZone.json @@ -535,9 +522,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAnElasticPoolWithAvailabilityZone Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update Hyperscale elastic pool with high availability replica count parameter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateHyperscaleElasticPoolWithHighAvailabilityReplicaCountParameter() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/HyperscaleElasticPoolCreateOrUpdateSetHighAvailabilityReplicaCount.json @@ -576,9 +562,8 @@ public async Task CreateOrUpdate_CreateOrUpdateHyperscaleElasticPoolWithHighAvai Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update elastic pool with all parameter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateElasticPoolWithAllParameter() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ElasticPoolCreateOrUpdateMax.json @@ -625,9 +610,8 @@ public async Task CreateOrUpdate_CreateOrUpdateElasticPoolWithAllParameter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update elastic pool with maintenance configuration parameter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateElasticPoolWithMaintenanceConfigurationParameter() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ElasticPoolCreateOrUpdateSetMaintenanceConfiguration.json @@ -665,9 +649,8 @@ public async Task CreateOrUpdate_CreateOrUpdateElasticPoolWithMaintenanceConfigu Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update elastic pool with minimum parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateElasticPoolWithMinimumParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ElasticPoolCreateOrUpdateMin.json @@ -702,9 +685,8 @@ public async Task CreateOrUpdate_CreateOrUpdateElasticPoolWithMinimumParameters( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update elastic pool with preferred enclave type parameter as Default - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateElasticPoolWithPreferredEnclaveTypeParameterAsDefault() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ElasticPoolCreateWithDefaultPreferredEnclaveType.json @@ -743,9 +725,8 @@ public async Task CreateOrUpdate_CreateOrUpdateElasticPoolWithPreferredEnclaveTy Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update elastic pool with preferred enclave type parameter as VBS - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateElasticPoolWithPreferredEnclaveTypeParameterAsVBS() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ElasticPoolCreateWithVBSPreferredEnclaveType.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ElasticPoolResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ElasticPoolResource.cs index 2380e8397e104..75ba9765d165d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ElasticPoolResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ElasticPoolResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ElasticPoolResource { - // List database usage metrics - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMetrics_ListDatabaseUsageMetrics() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolMetricsListWithFilter.json @@ -44,12 +44,11 @@ public async Task GetMetrics_ListDatabaseUsageMetrics() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List database usage metrics - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMetricDefinitions_ListDatabaseUsageMetrics() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ElasticPoolMetricsDefinitionsList.json @@ -75,12 +74,11 @@ public async Task GetMetricDefinitions_ListDatabaseUsageMetrics() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List Elastic pool activity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetElasticPoolActivities_ListElasticPoolActivity() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01-legacy/examples/ElasticPoolActivityList.json @@ -106,12 +104,11 @@ public async Task GetElasticPoolActivities_ListElasticPoolActivity() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List elastic pool database activity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetElasticPoolDatabaseActivities_ListElasticPoolDatabaseActivity() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01-legacy/examples/ElasticPoolDatabaseActivityList.json @@ -137,12 +134,11 @@ public async Task GetElasticPoolDatabaseActivities_ListElasticPoolDatabaseActivi Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Cancel the elastic pool management operation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CancelElasticPoolOperation_CancelTheElasticPoolManagementOperation() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CancelElasticPoolOperation.json @@ -166,12 +162,11 @@ public async Task CancelElasticPoolOperation_CancelTheElasticPoolManagementOpera Guid operationId = Guid.Parse("f779414b-e748-4925-8cfe-c8598f7660ae"); await elasticPool.CancelElasticPoolOperationAsync(operationId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List the elastic pool management operations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetElasticPoolOperations_ListTheElasticPoolManagementOperations() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ListElasticPoolOperations.json @@ -197,12 +192,11 @@ public async Task GetElasticPoolOperations_ListTheElasticPoolManagementOperation Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a list of databases in an elastic pool. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDatabases_GetsAListOfDatabasesInAnElasticPool() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ListDatabasesByElasticPool.json @@ -232,12 +226,11 @@ public async Task GetDatabases_GetsAListOfDatabasesInAnElasticPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a Hyperscale elastic pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAHyperscaleElasticPool() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/HyperscaleElasticPoolGet.json @@ -267,9 +260,8 @@ public async Task Get_GetAHyperscaleElasticPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an elastic pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnElasticPool() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ElasticPoolGet.json @@ -299,9 +291,8 @@ public async Task Get_GetAnElasticPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an elastic pool with Availability Zone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnElasticPoolWithAvailabilityZone() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/GetElasticPoolWithAvailabilityZone.json @@ -331,9 +322,8 @@ public async Task Get_GetAnElasticPoolWithAvailabilityZone() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an elastic pool with preferred enclave type parameter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnElasticPoolWithPreferredEnclaveTypeParameter() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ElasticPoolGetWithPreferredEnclaveType.json @@ -363,9 +353,8 @@ public async Task Get_GetAnElasticPoolWithPreferredEnclaveTypeParameter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an elastic pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnElasticPool() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ElasticPoolDelete.json @@ -388,12 +377,11 @@ public async Task Delete_DeleteAnElasticPool() // invoke the operation await elasticPool.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Assigns maintenance configuration to an elastic pool. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AssignsMaintenanceConfigurationToAnElasticPool() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ElasticPoolUpdateAssignMaintenanceConfiguration.json @@ -428,9 +416,8 @@ public async Task Update_AssignsMaintenanceConfigurationToAnElasticPool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update elastic pool with preferred enclave type parameter as Default - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateElasticPoolWithPreferredEnclaveTypeParameterAsDefault() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ElasticPoolUpdateWithDefaultPreferredEnclaveType.json @@ -466,9 +453,8 @@ public async Task Update_CreateOrUpdateElasticPoolWithPreferredEnclaveTypeParame Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update elastic pool with preferred enclave type parameter as VBS - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateElasticPoolWithPreferredEnclaveTypeParameterAsVBS() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ElasticPoolUpdateWithVBSPreferredEnclaveType.json @@ -504,9 +490,8 @@ public async Task Update_CreateOrUpdateElasticPoolWithPreferredEnclaveTypeParame Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Resets maintenance configuration of an elastic pool to default. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ResetsMaintenanceConfigurationOfAnElasticPoolToDefault() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ElasticPoolUpdateResetMaintenanceConfiguration.json @@ -541,9 +526,8 @@ public async Task Update_ResetsMaintenanceConfigurationOfAnElasticPoolToDefault( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update an elastic pool with all parameter - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAnElasticPoolWithAllParameter() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ElasticPoolUpdateMax.json @@ -589,9 +573,8 @@ public async Task Update_UpdateAnElasticPoolWithAllParameter() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update an elastic pool with minimum parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAnElasticPoolWithMinimumParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ElasticPoolUpdateMin.json @@ -623,9 +606,8 @@ public async Task Update_UpdateAnElasticPoolWithMinimumParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update high availability replica count of a Hyperscale elastic pool. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateHighAvailabilityReplicaCountOfAHyperscaleElasticPool() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/HyperscaleElasticPoolUpdateSetHighAvailabilityReplicaCount.json @@ -660,9 +642,8 @@ public async Task Update_UpdateHighAvailabilityReplicaCountOfAHyperscaleElasticP Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Failover an elastic pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Failover_FailoverAnElasticPool() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/FailoverElasticPool.json @@ -685,7 +666,7 @@ public async Task Failover_FailoverAnElasticPool() // invoke the operation await elasticPool.FailoverAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_EncryptionProtectorCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_EncryptionProtectorCollection.cs index 8ee34339af39f..82550992ba625 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_EncryptionProtectorCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_EncryptionProtectorCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_EncryptionProtectorCollection { - // List encryption protectors by server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListEncryptionProtectorsByServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/EncryptionProtectorList.json @@ -49,12 +49,11 @@ public async Task GetAll_ListEncryptionProtectorsByServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the encryption protector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheEncryptionProtector() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/EncryptionProtectorGet.json @@ -87,9 +86,8 @@ public async Task Get_GetTheEncryptionProtector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the encryption protector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheEncryptionProtector() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/EncryptionProtectorGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetTheEncryptionProtector() Console.WriteLine($"Succeeded: {result}"); } - // Get the encryption protector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheEncryptionProtector() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/EncryptionProtectorGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetTheEncryptionProtector() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetTheEncryptionProtector() } } - // Update the encryption protector to key vault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateTheEncryptionProtectorToKeyVault() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/EncryptionProtectorCreateOrUpdateKeyVault.json @@ -203,9 +199,8 @@ public async Task CreateOrUpdate_UpdateTheEncryptionProtectorToKeyVault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update the encryption protector to service managed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateTheEncryptionProtectorToServiceManaged() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/EncryptionProtectorCreateOrUpdateServiceManaged.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_EncryptionProtectorResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_EncryptionProtectorResource.cs index 57ca712b81c31..bec68157f5080 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_EncryptionProtectorResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_EncryptionProtectorResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_EncryptionProtectorResource { - // Get the encryption protector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheEncryptionProtector() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/EncryptionProtectorGet.json @@ -47,9 +47,8 @@ public async Task Get_GetTheEncryptionProtector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update the encryption protector to key vault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateTheEncryptionProtectorToKeyVault() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/EncryptionProtectorCreateOrUpdateKeyVault.json @@ -86,9 +85,8 @@ public async Task Update_UpdateTheEncryptionProtectorToKeyVault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update the encryption protector to service managed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateTheEncryptionProtectorToServiceManaged() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/EncryptionProtectorCreateOrUpdateServiceManaged.json @@ -124,9 +122,8 @@ public async Task Update_UpdateTheEncryptionProtectorToServiceManaged() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Revalidates the encryption protector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Revalidate_RevalidatesTheEncryptionProtector() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/EncryptionProtectorRevalidate.json @@ -149,7 +146,7 @@ public async Task Revalidate_RevalidatesTheEncryptionProtector() // invoke the operation await encryptionProtector.RevalidateAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_EndpointCertificateCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_EndpointCertificateCollection.cs index 23698e4b6ad2a..f77ce7995bb7f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_EndpointCertificateCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_EndpointCertificateCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_EndpointCertificateCollection { - // Get a list of endpoint certificates. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAListOfEndpointCertificates() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/EndpointCertificatesListByInstance.json @@ -48,12 +48,11 @@ public async Task GetAll_GetAListOfEndpointCertificates() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets an endpoint certificate. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAnEndpointCertificate() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/EndpointCertificatesGet.json @@ -86,9 +85,8 @@ public async Task Get_GetsAnEndpointCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets an endpoint certificate. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAnEndpointCertificate() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/EndpointCertificatesGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetsAnEndpointCertificate() Console.WriteLine($"Succeeded: {result}"); } - // Gets an endpoint certificate. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAnEndpointCertificate() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/EndpointCertificatesGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetsAnEndpointCertificate() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_EndpointCertificateResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_EndpointCertificateResource.cs index 30a8bf64d5569..4545c27d4c4ad 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_EndpointCertificateResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_EndpointCertificateResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_EndpointCertificateResource { - // Gets an endpoint certificate. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAnEndpointCertificate() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/EndpointCertificatesGet.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ExtendedDatabaseBlobAuditingPolicyCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ExtendedDatabaseBlobAuditingPolicyCollection.cs index 57ebcbe73df38..5cc267538d405 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ExtendedDatabaseBlobAuditingPolicyCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ExtendedDatabaseBlobAuditingPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ExtendedDatabaseBlobAuditingPolicyCollection { - // List extended auditing settings of a database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListExtendedAuditingSettingsOfADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DatabaseExtendedAuditingSettingsList.json @@ -50,12 +50,11 @@ public async Task GetAll_ListExtendedAuditingSettingsOfADatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an extended database's blob auditing policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnExtendedDatabaseSBlobAuditingPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ExtendedDatabaseBlobAuditingGet.json @@ -89,9 +88,8 @@ public async Task Get_GetAnExtendedDatabaseSBlobAuditingPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an extended database's blob auditing policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnExtendedDatabaseSBlobAuditingPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ExtendedDatabaseBlobAuditingGet.json @@ -121,9 +119,8 @@ public async Task Exists_GetAnExtendedDatabaseSBlobAuditingPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Get an extended database's blob auditing policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnExtendedDatabaseSBlobAuditingPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ExtendedDatabaseBlobAuditingGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetAnExtendedDatabaseSBlobAuditingPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_GetAnExtendedDatabaseSBlobAuditingPolicy() } } - // Create or update an extended database's azure monitor auditing policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnExtendedDatabaseSAzureMonitorAuditingPolicyWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ExtendedDatabaseAzureMonitorAuditingCreateMin.json @@ -207,9 +203,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAnExtendedDatabaseSAzureMonitorAu Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update an extended database's blob auditing policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnExtendedDatabaseSBlobAuditingPolicyWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ExtendedDatabaseBlobAuditingCreateMax.json @@ -260,9 +255,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAnExtendedDatabaseSBlobAuditingPo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update an extended database's blob auditing policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAnExtendedDatabaseSBlobAuditingPolicyWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ExtendedDatabaseBlobAuditingCreateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ExtendedDatabaseBlobAuditingPolicyResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ExtendedDatabaseBlobAuditingPolicyResource.cs index 81632dec1540b..d7cd3fb0890ca 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ExtendedDatabaseBlobAuditingPolicyResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ExtendedDatabaseBlobAuditingPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ExtendedDatabaseBlobAuditingPolicyResource { - // Get an extended database's blob auditing policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnExtendedDatabaseSBlobAuditingPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ExtendedDatabaseBlobAuditingGet.json @@ -48,9 +48,8 @@ public async Task Get_GetAnExtendedDatabaseSBlobAuditingPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update an extended database's azure monitor auditing policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAnExtendedDatabaseSAzureMonitorAuditingPolicyWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ExtendedDatabaseAzureMonitorAuditingCreateMin.json @@ -87,9 +86,8 @@ public async Task Update_CreateOrUpdateAnExtendedDatabaseSAzureMonitorAuditingPo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update an extended database's blob auditing policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAnExtendedDatabaseSBlobAuditingPolicyWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ExtendedDatabaseBlobAuditingCreateMax.json @@ -137,9 +135,8 @@ public async Task Update_CreateOrUpdateAnExtendedDatabaseSBlobAuditingPolicyWith Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update an extended database's blob auditing policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAnExtendedDatabaseSBlobAuditingPolicyWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ExtendedDatabaseBlobAuditingCreateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ExtendedServerBlobAuditingPolicyCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ExtendedServerBlobAuditingPolicyCollection.cs index 9c292aaec3480..7b43cb2493f1e 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ExtendedServerBlobAuditingPolicyCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ExtendedServerBlobAuditingPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ExtendedServerBlobAuditingPolicyCollection { - // List extended auditing settings of a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListExtendedAuditingSettingsOfAServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerExtendedAuditingSettingsList.json @@ -49,12 +49,11 @@ public async Task GetAll_ListExtendedAuditingSettingsOfAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a server's blob extended auditing policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerSBlobExtendedAuditingPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ExtendedServerBlobAuditingGet.json @@ -87,9 +86,8 @@ public async Task Get_GetAServerSBlobExtendedAuditingPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a server's blob extended auditing policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAServerSBlobExtendedAuditingPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ExtendedServerBlobAuditingGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetAServerSBlobExtendedAuditingPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Get a server's blob extended auditing policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAServerSBlobExtendedAuditingPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ExtendedServerBlobAuditingGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetAServerSBlobExtendedAuditingPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetAServerSBlobExtendedAuditingPolicy() } } - // Update a server's extended blob auditing policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAServerSExtendedBlobAuditingPolicyWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ExtendedServerBlobAuditingCreateMax.json @@ -213,9 +209,8 @@ public async Task CreateOrUpdate_UpdateAServerSExtendedBlobAuditingPolicyWithAll Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a server's extended blob auditing policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAServerSExtendedBlobAuditingPolicyWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ExtendedServerBlobAuditingCreateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ExtendedServerBlobAuditingPolicyResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ExtendedServerBlobAuditingPolicyResource.cs index 02e603d247fc5..e037733083795 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ExtendedServerBlobAuditingPolicyResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ExtendedServerBlobAuditingPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ExtendedServerBlobAuditingPolicyResource { - // Get a server's blob extended auditing policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerSBlobExtendedAuditingPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ExtendedServerBlobAuditingGet.json @@ -47,9 +47,8 @@ public async Task Get_GetAServerSBlobExtendedAuditingPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a server's extended blob auditing policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAServerSExtendedBlobAuditingPolicyWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ExtendedServerBlobAuditingCreateMax.json @@ -96,9 +95,8 @@ public async Task Update_UpdateAServerSExtendedBlobAuditingPolicyWithAllParamete Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a server's extended blob auditing policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAServerSExtendedBlobAuditingPolicyWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ExtendedServerBlobAuditingCreateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_FailoverGroupCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_FailoverGroupCollection.cs index 8ef1b245ddce3..05b4de56bb38b 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_FailoverGroupCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_FailoverGroupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_FailoverGroupCollection { - // List failover group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListFailoverGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/FailoverGroupList.json @@ -49,12 +49,11 @@ public async Task GetAll_ListFailoverGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get failover group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFailoverGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/FailoverGroupGet.json @@ -87,9 +86,8 @@ public async Task Get_GetFailoverGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get failover group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetFailoverGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/FailoverGroupGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetFailoverGroup() Console.WriteLine($"Succeeded: {result}"); } - // Get failover group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetFailoverGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/FailoverGroupGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetFailoverGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetFailoverGroup() } } - // Create failover group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateFailoverGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/FailoverGroupCreateOrUpdate.json @@ -216,9 +212,8 @@ public async Task CreateOrUpdate_CreateFailoverGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create failover group with standby secondary database on partner server. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateFailoverGroupWithStandbySecondaryDatabaseOnPartnerServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/FailoverGroupCreateOrUpdateStandbySecondary.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_FailoverGroupResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_FailoverGroupResource.cs index 871e0e5e48d1f..e6744108a0c0d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_FailoverGroupResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_FailoverGroupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_FailoverGroupResource { - // Get failover group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFailoverGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/FailoverGroupGet.json @@ -47,9 +47,8 @@ public async Task Get_GetFailoverGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete failover group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteFailoverGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/FailoverGroupDelete.json @@ -72,12 +71,11 @@ public async Task Delete_DeleteFailoverGroup() // invoke the operation await failoverGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Add database to failover group with standby secondary on partner server. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AddDatabaseToFailoverGroupWithStandbySecondaryOnPartnerServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/FailoverGroupUpdateStandbySecondary.json @@ -120,9 +118,8 @@ public async Task Update_AddDatabaseToFailoverGroupWithStandbySecondaryOnPartner Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update failover group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateFailoverGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/FailoverGroupUpdate.json @@ -164,9 +161,8 @@ public async Task Update_UpdateFailoverGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Planned failover of a failover group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Failover_PlannedFailoverOfAFailoverGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/FailoverGroupFailover.json @@ -197,9 +193,8 @@ public async Task Failover_PlannedFailoverOfAFailoverGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Forced failover of a failover group allowing data loss - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ForceFailoverAllowDataLoss_ForcedFailoverOfAFailoverGroupAllowingDataLoss() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/FailoverGroupForceFailoverAllowDataLoss.json @@ -230,9 +225,8 @@ public async Task ForceFailoverAllowDataLoss_ForcedFailoverOfAFailoverGroupAllow Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Try planned before forced failover of a failover group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TryPlannedBeforeForcedFailover_TryPlannedBeforeForcedFailoverOfAFailoverGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/FailoverGroupTryPlannedBeforeForcedFailover.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_GeoBackupPolicyCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_GeoBackupPolicyCollection.cs index d16c7ec3a22da..c21312551f224 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_GeoBackupPolicyCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_GeoBackupPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_GeoBackupPolicyCollection { - // Update geo backup policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateGeoBackupPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/GeoBackupPoliciesCreateOrUpdate.json @@ -53,9 +53,8 @@ public async Task CreateOrUpdate_UpdateGeoBackupPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get geo backup policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetGeoBackupPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/GeoBackupPoliciesGet.json @@ -89,9 +88,8 @@ public async Task Get_GetGeoBackupPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get geo backup policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetGeoBackupPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/GeoBackupPoliciesGet.json @@ -121,9 +119,8 @@ public async Task Exists_GetGeoBackupPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Get geo backup policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetGeoBackupPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/GeoBackupPoliciesGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetGeoBackupPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_GetGeoBackupPolicy() } } - // List geo backup policies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListGeoBackupPolicies() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/GeoBackupPoliciesList.json @@ -200,7 +196,7 @@ public async Task GetAll_ListGeoBackupPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_GeoBackupPolicyResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_GeoBackupPolicyResource.cs index 0cb027f9eb482..db10142028114 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_GeoBackupPolicyResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_GeoBackupPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_GeoBackupPolicyResource { - // Update geo backup policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateGeoBackupPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/GeoBackupPoliciesCreateOrUpdate.json @@ -50,9 +50,8 @@ public async Task Update_UpdateGeoBackupPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get geo backup policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetGeoBackupPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/GeoBackupPoliciesGet.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_IPv6FirewallRuleCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_IPv6FirewallRuleCollection.cs index 110a5c97d739c..27e869421115a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_IPv6FirewallRuleCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_IPv6FirewallRuleCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_IPv6FirewallRuleCollection { - // List IPv6 Firewall Rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListIPv6FirewallRules() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/IPv6FirewallRuleList.json @@ -48,12 +48,11 @@ public async Task GetAll_ListIPv6FirewallRules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get IPv6 Firewall Rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetIPv6FirewallRule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/IPv6FirewallRuleGet.json @@ -86,9 +85,8 @@ public async Task Get_GetIPv6FirewallRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get IPv6 Firewall Rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetIPv6FirewallRule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/IPv6FirewallRuleGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetIPv6FirewallRule() Console.WriteLine($"Succeeded: {result}"); } - // Get IPv6 Firewall Rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetIPv6FirewallRule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/IPv6FirewallRuleGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetIPv6FirewallRule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GetIPv6FirewallRule() } } - // Create an IPv6 firewall rule max/min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnIPv6FirewallRuleMaxMin() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/IPv6FirewallRuleCreate.json @@ -201,9 +197,8 @@ public async Task CreateOrUpdate_CreateAnIPv6FirewallRuleMaxMin() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update an IPv6 firewall rule max/min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAnIPv6FirewallRuleMaxMin() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/IPv6FirewallRuleUpdate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_IPv6FirewallRuleResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_IPv6FirewallRuleResource.cs index 47c5caa5c268c..6c3b690aaebae 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_IPv6FirewallRuleResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_IPv6FirewallRuleResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_IPv6FirewallRuleResource { - // Get IPv6 Firewall Rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetIPv6FirewallRule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/IPv6FirewallRuleGet.json @@ -46,9 +46,8 @@ public async Task Get_GetIPv6FirewallRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an IPv6 firewall rule max/min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAnIPv6FirewallRuleMaxMin() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/IPv6FirewallRuleCreate.json @@ -84,9 +83,8 @@ public async Task Update_CreateAnIPv6FirewallRuleMaxMin() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update an IPv6 firewall rule max/min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAnIPv6FirewallRuleMaxMin() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/IPv6FirewallRuleUpdate.json @@ -122,9 +120,8 @@ public async Task Update_UpdateAnIPv6FirewallRuleMaxMin() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an IPv6 firewall rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnIPv6FirewallRule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/IPv6FirewallRuleDelete.json @@ -147,7 +144,7 @@ public async Task Delete_DeleteAnIPv6FirewallRule() // invoke the operation await iPv6FirewallRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_InstanceFailoverGroupCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_InstanceFailoverGroupCollection.cs index 4c1fc5001f9b7..097b6358b4224 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_InstanceFailoverGroupCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_InstanceFailoverGroupCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_InstanceFailoverGroupCollection { - // List failover group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListFailoverGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/InstanceFailoverGroupList.json @@ -50,12 +50,11 @@ public async Task GetAll_ListFailoverGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get failover group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFailoverGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/InstanceFailoverGroupGet.json @@ -88,9 +87,8 @@ public async Task Get_GetFailoverGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get failover group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetFailoverGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/InstanceFailoverGroupGet.json @@ -119,9 +117,8 @@ public async Task Exists_GetFailoverGroup() Console.WriteLine($"Succeeded: {result}"); } - // Get failover group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetFailoverGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/InstanceFailoverGroupGet.json @@ -150,7 +147,7 @@ public async Task GetIfExists_GetFailoverGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -162,9 +159,8 @@ public async Task GetIfExists_GetFailoverGroup() } } - // Create failover group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateFailoverGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/InstanceFailoverGroupCreateOrUpdate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_InstanceFailoverGroupResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_InstanceFailoverGroupResource.cs index 5aad5eee02f0d..5735ab671c19f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_InstanceFailoverGroupResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_InstanceFailoverGroupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_InstanceFailoverGroupResource { - // Get failover group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFailoverGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/InstanceFailoverGroupGet.json @@ -47,9 +47,8 @@ public async Task Get_GetFailoverGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create failover group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateFailoverGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/InstanceFailoverGroupCreateOrUpdate.json @@ -104,9 +103,8 @@ public async Task Update_CreateFailoverGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete failover group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteFailoverGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/InstanceFailoverGroupDelete.json @@ -129,12 +127,11 @@ public async Task Delete_DeleteFailoverGroup() // invoke the operation await instanceFailoverGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Planned failover of a failover group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Failover_PlannedFailoverOfAFailoverGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/InstanceFailoverGroupFailover.json @@ -165,9 +162,8 @@ public async Task Failover_PlannedFailoverOfAFailoverGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Forced failover of a failover group allowing data loss - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ForceFailoverAllowDataLoss_ForcedFailoverOfAFailoverGroupAllowingDataLoss() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/InstanceFailoverGroupForceFailoverAllowDataLoss.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_InstancePoolCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_InstancePoolCollection.cs index 6124598d4ce77..a17eee5cd8ca8 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_InstancePoolCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_InstancePoolCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_InstancePoolCollection { - // List instance pools by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListInstancePoolsByResourceGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ListInstancePoolsByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListInstancePoolsByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an instance pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnInstancePool() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/GetInstancePool.json @@ -86,9 +85,8 @@ public async Task Get_GetAnInstancePool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get an instance pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAnInstancePool() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/GetInstancePool.json @@ -116,9 +114,8 @@ public async Task Exists_GetAnInstancePool() Console.WriteLine($"Succeeded: {result}"); } - // Get an instance pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAnInstancePool() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/GetInstancePool.json @@ -146,7 +143,7 @@ public async Task GetIfExists_GetAnInstancePool() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -158,9 +155,8 @@ public async Task GetIfExists_GetAnInstancePool() } } - // Create an instance pool with all properties. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnInstancePoolWithAllProperties() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/CreateOrUpdateInstancePoolMax.json @@ -209,9 +205,8 @@ public async Task CreateOrUpdate_CreateAnInstancePoolWithAllProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create an instance pool with min properties. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAnInstancePoolWithMinProperties() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/CreateOrUpdateInstancePoolMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_InstancePoolResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_InstancePoolResource.cs index ecd2bcd24d296..1c8da03dc09e5 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_InstancePoolResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_InstancePoolResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_InstancePoolResource { - // List instance pool usages expanded with children. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsages_ListInstancePoolUsagesExpandedWithChildren() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/ListInstancePoolUsageExpanded.json @@ -44,12 +44,11 @@ public async Task GetUsages_ListInstancePoolUsagesExpandedWithChildren() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List instance pool usages. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetUsages_ListInstancePoolUsages() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/ListInstancePoolUsage.json @@ -74,12 +73,11 @@ public async Task GetUsages_ListInstancePoolUsages() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List managed instances by instance pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagedInstances_ListManagedInstancesByInstancePool() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedInstanceListByInstancePool.json @@ -108,12 +106,11 @@ public async Task GetManagedInstances_ListManagedInstancesByInstancePool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List managed instances by instance pool with $expand=administrators/activedirectory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagedInstances_ListManagedInstancesByInstancePoolWithExpandAdministratorsActivedirectory() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedInstanceListByInstancePoolWithExpandEqualsAdministrators.json @@ -142,12 +139,11 @@ public async Task GetManagedInstances_ListManagedInstancesByInstancePoolWithExpa Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List instance pools in the subscription - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetInstancePools_ListInstancePoolsInTheSubscription() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ListInstancePoolsBySubscriptionId.json @@ -174,12 +170,11 @@ public async Task GetInstancePools_ListInstancePoolsInTheSubscription() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get an instance pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAnInstancePool() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/GetInstancePool.json @@ -208,9 +203,8 @@ public async Task Get_GetAnInstancePool() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete an instance pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAnInstancePool() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/DeleteInstancePool.json @@ -232,12 +226,11 @@ public async Task Delete_DeleteAnInstancePool() // invoke the operation await instancePool.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Patch an instance pool - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchAnInstancePool() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/PatchInstancePool.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_LedgerDigestUploadCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_LedgerDigestUploadCollection.cs index 30efe9640100b..0146ae61e2d99 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_LedgerDigestUploadCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_LedgerDigestUploadCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_LedgerDigestUploadCollection { - // Gets the current ledger digest upload configuration for a database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheCurrentLedgerDigestUploadConfigurationForADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/LedgerDigestUploadsGet.json @@ -51,9 +51,8 @@ public async Task Get_GetsTheCurrentLedgerDigestUploadConfigurationForADatabase( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the current ledger digest upload configuration for a database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheCurrentLedgerDigestUploadConfigurationForADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/LedgerDigestUploadsGet.json @@ -83,9 +82,8 @@ public async Task Exists_GetsTheCurrentLedgerDigestUploadConfigurationForADataba Console.WriteLine($"Succeeded: {result}"); } - // Gets the current ledger digest upload configuration for a database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheCurrentLedgerDigestUploadConfigurationForADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/LedgerDigestUploadsGet.json @@ -115,7 +113,7 @@ public async Task GetIfExists_GetsTheCurrentLedgerDigestUploadConfigurationForAD if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_GetsTheCurrentLedgerDigestUploadConfigurationForAD } } - // Enables ledger digest upload configuration for a database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EnablesLedgerDigestUploadConfigurationForADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/LedgerDigestUploadsEnable.json @@ -168,9 +165,8 @@ public async Task CreateOrUpdate_EnablesLedgerDigestUploadConfigurationForADatab Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets list of ledger digest upload settings on a database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsListOfLedgerDigestUploadSettingsOnADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/LedgerDigestUploadsList.json @@ -203,7 +199,7 @@ public async Task GetAll_GetsListOfLedgerDigestUploadSettingsOnADatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_LedgerDigestUploadResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_LedgerDigestUploadResource.cs index c7f7e19303c3c..1dbc30f7deb79 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_LedgerDigestUploadResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_LedgerDigestUploadResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_LedgerDigestUploadResource { - // Gets the current ledger digest upload configuration for a database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheCurrentLedgerDigestUploadConfigurationForADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/LedgerDigestUploadsGet.json @@ -48,9 +48,8 @@ public async Task Get_GetsTheCurrentLedgerDigestUploadConfigurationForADatabase( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Enables ledger digest upload configuration for a database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_EnablesLedgerDigestUploadConfigurationForADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/LedgerDigestUploadsEnable.json @@ -86,9 +85,8 @@ public async Task Update_EnablesLedgerDigestUploadConfigurationForADatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Disables uploading ledger digests for a database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Disable_DisablesUploadingLedgerDigestsForADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/LedgerDigestUploadsDisable.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_LogicalDatabaseTransparentDataEncryptionCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_LogicalDatabaseTransparentDataEncryptionCollection.cs index 989bb67fb7528..177d0ebc0b63c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_LogicalDatabaseTransparentDataEncryptionCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_LogicalDatabaseTransparentDataEncryptionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_LogicalDatabaseTransparentDataEncryptionCollection { - // Get a list of the database's transparent data encryption - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAListOfTheDatabaseSTransparentDataEncryption() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/TransparentDataEncryptionList.json @@ -50,12 +50,11 @@ public async Task GetAll_GetAListOfTheDatabaseSTransparentDataEncryption() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a database's transparent data encryption - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADatabaseSTransparentDataEncryption() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/TransparentDataEncryptionGet.json @@ -89,9 +88,8 @@ public async Task Get_GetADatabaseSTransparentDataEncryption() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a database's transparent data encryption - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADatabaseSTransparentDataEncryption() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/TransparentDataEncryptionGet.json @@ -121,9 +119,8 @@ public async Task Exists_GetADatabaseSTransparentDataEncryption() Console.WriteLine($"Succeeded: {result}"); } - // Get a database's transparent data encryption - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADatabaseSTransparentDataEncryption() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/TransparentDataEncryptionGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetADatabaseSTransparentDataEncryption() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_GetADatabaseSTransparentDataEncryption() } } - // Update a database's Transparent Data Encryption state with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateADatabaseSTransparentDataEncryptionStateWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/TransparentDataEncryptionUpdate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_LogicalDatabaseTransparentDataEncryptionResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_LogicalDatabaseTransparentDataEncryptionResource.cs index 064a9586704ca..57b0e286f8f18 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_LogicalDatabaseTransparentDataEncryptionResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_LogicalDatabaseTransparentDataEncryptionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_LogicalDatabaseTransparentDataEncryptionResource { - // Get a database's transparent data encryption - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADatabaseSTransparentDataEncryption() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/TransparentDataEncryptionGet.json @@ -48,9 +48,8 @@ public async Task Get_GetADatabaseSTransparentDataEncryption() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a database's Transparent Data Encryption state with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateADatabaseSTransparentDataEncryptionStateWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/TransparentDataEncryptionUpdate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_LongTermRetentionPolicyCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_LongTermRetentionPolicyCollection.cs index 6efa9d0e9c249..19d5eaca5a17d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_LongTermRetentionPolicyCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_LongTermRetentionPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_LongTermRetentionPolicyCollection { - // Get the long term retention policy for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetTheLongTermRetentionPolicyForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/LongTermRetentionPolicyListByDatabase.json @@ -50,12 +50,11 @@ public async Task GetAll_GetTheLongTermRetentionPolicyForTheDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the long term retention policy for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheLongTermRetentionPolicyForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/LongTermRetentionPolicyGet.json @@ -89,9 +88,8 @@ public async Task Get_GetTheLongTermRetentionPolicyForTheDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the long term retention policy for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheLongTermRetentionPolicyForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/LongTermRetentionPolicyGet.json @@ -121,9 +119,8 @@ public async Task Exists_GetTheLongTermRetentionPolicyForTheDatabase() Console.WriteLine($"Succeeded: {result}"); } - // Get the long term retention policy for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheLongTermRetentionPolicyForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/LongTermRetentionPolicyGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetTheLongTermRetentionPolicyForTheDatabase() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_GetTheLongTermRetentionPolicyForTheDatabase() } } - // Create or update the long term retention policy for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateTheLongTermRetentionPolicyForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/LongTermRetentionPolicyCreateOrUpdate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_LongTermRetentionPolicyResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_LongTermRetentionPolicyResource.cs index 41883aca28c5a..cc004184e7cfc 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_LongTermRetentionPolicyResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_LongTermRetentionPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_LongTermRetentionPolicyResource { - // Get the long term retention policy for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheLongTermRetentionPolicyForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/LongTermRetentionPolicyGet.json @@ -48,9 +48,8 @@ public async Task Get_GetTheLongTermRetentionPolicyForTheDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update the long term retention policy for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateTheLongTermRetentionPolicyForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/LongTermRetentionPolicyCreateOrUpdate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_MaintenanceWindowOptionResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_MaintenanceWindowOptionResource.cs index 18f1bef45cb28..9d02026a2f473 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_MaintenanceWindowOptionResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_MaintenanceWindowOptionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_MaintenanceWindowOptionResource { - // Gets a list of available maintenance windows for a selected database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAListOfAvailableMaintenanceWindowsForASelectedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetMaintenanceWindowOptions.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_MaintenanceWindowsResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_MaintenanceWindowsResource.cs index a122e583d1ca5..218a552987939 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_MaintenanceWindowsResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_MaintenanceWindowsResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_MaintenanceWindowsResource { - // Gets maintenance window settings for a selected database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsMaintenanceWindowSettingsForASelectedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetMaintenanceWindows.json @@ -49,9 +49,8 @@ public async Task Get_GetsMaintenanceWindowSettingsForASelectedDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Sets maintenance window settings for a selected database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_SetsMaintenanceWindowSettingsForASelectedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateMaintenanceWindows.json @@ -87,7 +86,7 @@ public async Task CreateOrUpdate_SetsMaintenanceWindowSettingsForASelectedDataba }; await maintenanceWindows.CreateOrUpdateAsync(WaitUntil.Completed, maintenanceWindowName, data); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedBackupShortTermRetentionPolicyCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedBackupShortTermRetentionPolicyCollection.cs index 1a14cc926a422..7e7b6b4081e1a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedBackupShortTermRetentionPolicyCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedBackupShortTermRetentionPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedBackupShortTermRetentionPolicyCollection { - // Get the short term retention policy for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheShortTermRetentionPolicyForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetManagedShortTermRetentionPolicy.json @@ -51,9 +51,8 @@ public async Task Get_GetTheShortTermRetentionPolicyForTheDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the short term retention policy for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheShortTermRetentionPolicyForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetManagedShortTermRetentionPolicy.json @@ -83,9 +82,8 @@ public async Task Exists_GetTheShortTermRetentionPolicyForTheDatabase() Console.WriteLine($"Succeeded: {result}"); } - // Get the short term retention policy for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheShortTermRetentionPolicyForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetManagedShortTermRetentionPolicy.json @@ -115,7 +113,7 @@ public async Task GetIfExists_GetTheShortTermRetentionPolicyForTheDatabase() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_GetTheShortTermRetentionPolicyForTheDatabase() } } - // Update the short term retention policy for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateTheShortTermRetentionPolicyForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/UpdateManagedShortTermRetentionPolicy.json @@ -168,9 +165,8 @@ public async Task CreateOrUpdate_UpdateTheShortTermRetentionPolicyForTheDatabase Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the short term retention policy list for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetTheShortTermRetentionPolicyListForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetListManagedShortTermRetentionPolicy.json @@ -203,7 +199,7 @@ public async Task GetAll_GetTheShortTermRetentionPolicyListForTheDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedBackupShortTermRetentionPolicyResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedBackupShortTermRetentionPolicyResource.cs index 871f4f8803176..756deed0b16b1 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedBackupShortTermRetentionPolicyResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedBackupShortTermRetentionPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedBackupShortTermRetentionPolicyResource { - // Get the short term retention policy for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheShortTermRetentionPolicyForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetManagedShortTermRetentionPolicy.json @@ -48,9 +48,8 @@ public async Task Get_GetTheShortTermRetentionPolicyForTheDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update the short term retention policy for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateTheShortTermRetentionPolicyForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/UpdateManagedShortTermRetentionPolicy.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseAdvancedThreatProtectionCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseAdvancedThreatProtectionCollection.cs index 235395e7586eb..2666bd7f3ef1d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseAdvancedThreatProtectionCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseAdvancedThreatProtectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedDatabaseAdvancedThreatProtectionCollection { - // Get a list of the managed database's Advanced Threat Protection settings. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAListOfTheManagedDatabaseSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ManagedDatabaseAdvancedThreatProtectionSettingsListByDatabase.json @@ -50,12 +50,11 @@ public async Task GetAll_GetAListOfTheManagedDatabaseSAdvancedThreatProtectionSe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a managed database's Advanced Threat Protection settings. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAManagedDatabaseSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ManagedDatabaseAdvancedThreatProtectionSettingsGet.json @@ -89,9 +88,8 @@ public async Task Get_GetAManagedDatabaseSAdvancedThreatProtectionSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a managed database's Advanced Threat Protection settings. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAManagedDatabaseSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ManagedDatabaseAdvancedThreatProtectionSettingsGet.json @@ -121,9 +119,8 @@ public async Task Exists_GetAManagedDatabaseSAdvancedThreatProtectionSettings() Console.WriteLine($"Succeeded: {result}"); } - // Get a managed database's Advanced Threat Protection settings. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAManagedDatabaseSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ManagedDatabaseAdvancedThreatProtectionSettingsGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetAManagedDatabaseSAdvancedThreatProtectionSettin if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_GetAManagedDatabaseSAdvancedThreatProtectionSettin } } - // Update a managed database's Advanced Threat Protection settings with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAManagedDatabaseSAdvancedThreatProtectionSettingsWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ManagedDatabaseAdvancedThreatProtectionSettingsCreateMax.json @@ -206,9 +202,8 @@ public async Task CreateOrUpdate_UpdateAManagedDatabaseSAdvancedThreatProtection Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a managed database's Advanced Threat Protection settings with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAManagedDatabaseSAdvancedThreatProtectionSettingsWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ManagedDatabaseAdvancedThreatProtectionSettingsCreateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseAdvancedThreatProtectionResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseAdvancedThreatProtectionResource.cs index ea9399c03081b..5780d6ea0056f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseAdvancedThreatProtectionResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseAdvancedThreatProtectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedDatabaseAdvancedThreatProtectionResource { - // Get a managed database's Advanced Threat Protection settings. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAManagedDatabaseSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ManagedDatabaseAdvancedThreatProtectionSettingsGet.json @@ -48,9 +48,8 @@ public async Task Get_GetAManagedDatabaseSAdvancedThreatProtectionSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a managed database's Advanced Threat Protection settings with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAManagedDatabaseSAdvancedThreatProtectionSettingsWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ManagedDatabaseAdvancedThreatProtectionSettingsCreateMax.json @@ -86,9 +85,8 @@ public async Task Update_UpdateAManagedDatabaseSAdvancedThreatProtectionSettings Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a managed database's Advanced Threat Protection settings with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAManagedDatabaseSAdvancedThreatProtectionSettingsWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ManagedDatabaseAdvancedThreatProtectionSettingsCreateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseCollection.cs index f262f2a280d3b..3968f96d4a6a1 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedDatabaseCollection { - // List databases by managed instances - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDatabasesByManagedInstances() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedDatabaseListByManagedInstance.json @@ -49,12 +49,11 @@ public async Task GetAll_ListDatabasesByManagedInstances() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a managed database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedDatabaseGet.json @@ -87,9 +86,8 @@ public async Task Get_GetsAManagedDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a managed database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedDatabaseGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetsAManagedDatabase() Console.WriteLine($"Succeeded: {result}"); } - // Gets a managed database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedDatabaseGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetsAManagedDatabase() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetsAManagedDatabase() } } - // Creates a new managed database by restoring from an external backup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesANewManagedDatabaseByRestoringFromAnExternalBackup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedDatabaseCreateRestoreExternalBackup.json @@ -206,9 +202,8 @@ public async Task CreateOrUpdate_CreatesANewManagedDatabaseByRestoringFromAnExte Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a new managed database by restoring from an external backup using managed identity - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesANewManagedDatabaseByRestoringFromAnExternalBackupUsingManagedIdentity() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedDatabaseCreateRestoreExternalBackupManagedIdentity.json @@ -251,9 +246,8 @@ public async Task CreateOrUpdate_CreatesANewManagedDatabaseByRestoringFromAnExte Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a new managed database from restoring a geo-replicated backup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesANewManagedDatabaseFromRestoringAGeoReplicatedBackup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedDatabaseCreateRecovery.json @@ -292,9 +286,8 @@ public async Task CreateOrUpdate_CreatesANewManagedDatabaseFromRestoringAGeoRepl Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a new managed database from restoring a long term retention backup - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesANewManagedDatabaseFromRestoringALongTermRetentionBackup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedDatabaseCreateRestoreLtrBackup.json @@ -335,9 +328,8 @@ public async Task CreateOrUpdate_CreatesANewManagedDatabaseFromRestoringALongTer Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a new managed database using cross subscription point in time restore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesANewManagedDatabaseUsingCrossSubscriptionPointInTimeRestore() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedDatabaseCreateCrossSubscriptionPointInTimeRestore.json @@ -378,9 +370,8 @@ public async Task CreateOrUpdate_CreatesANewManagedDatabaseUsingCrossSubscriptio Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a new managed database using point in time restore - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesANewManagedDatabaseUsingPointInTimeRestore() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedDatabaseCreatePointInTimeRestore.json @@ -420,9 +411,8 @@ public async Task CreateOrUpdate_CreatesANewManagedDatabaseUsingPointInTimeResto Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a new managed database with ledger on. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesANewManagedDatabaseWithLedgerOn() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/CreateManagedDatabaseLedger.json @@ -460,9 +450,8 @@ public async Task CreateOrUpdate_CreatesANewManagedDatabaseWithLedgerOn() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a new managed database with maximal properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesANewManagedDatabaseWithMaximalProperties() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedDatabaseCreateMax.json @@ -503,9 +492,8 @@ public async Task CreateOrUpdate_CreatesANewManagedDatabaseWithMaximalProperties Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a new managed database with minimal properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesANewManagedDatabaseWithMinimalProperties() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedDatabaseCreateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseColumnCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseColumnCollection.cs index 4ba3f08796458..c9716d4f3376c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseColumnCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseColumnCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedDatabaseColumnCollection { - // List managed database columns - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListManagedDatabaseColumns() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseColumnListByTable.json @@ -51,12 +51,11 @@ public async Task GetAll_ListManagedDatabaseColumns() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get managed database column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagedDatabaseColumn() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseColumnGet.json @@ -92,9 +91,8 @@ public async Task Get_GetManagedDatabaseColumn() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get managed database column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetManagedDatabaseColumn() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseColumnGet.json @@ -126,9 +124,8 @@ public async Task Exists_GetManagedDatabaseColumn() Console.WriteLine($"Succeeded: {result}"); } - // Get managed database column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetManagedDatabaseColumn() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseColumnGet.json @@ -160,7 +157,7 @@ public async Task GetIfExists_GetManagedDatabaseColumn() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseColumnResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseColumnResource.cs index c4d8fbb661d2d..d79b1e9d72561 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseColumnResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseColumnResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedDatabaseColumnResource { - // Get managed database column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagedDatabaseColumn() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseColumnGet.json @@ -49,9 +49,8 @@ public async Task Get_GetManagedDatabaseColumn() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Disables the sensitivity recommendations on a given column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DisableRecommendationManagedDatabaseSensitivityLabel_DisablesTheSensitivityRecommendationsOnAGivenColumn() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelDisable.json @@ -77,12 +76,11 @@ public async Task DisableRecommendationManagedDatabaseSensitivityLabel_DisablesT // invoke the operation await managedDatabaseColumn.DisableRecommendationManagedDatabaseSensitivityLabelAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Enables the sensitivity recommendations on a given column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task EnableRecommendationManagedDatabaseSensitivityLabel_EnablesTheSensitivityRecommendationsOnAGivenColumn() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseRecommendedColumnSensitivityLabelEnable.json @@ -108,7 +106,7 @@ public async Task EnableRecommendationManagedDatabaseSensitivityLabel_EnablesThe // invoke the operation await managedDatabaseColumn.EnableRecommendationManagedDatabaseSensitivityLabelAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseResource.cs index b67c0eda7e08e..7ab6fed529ee3 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedDatabaseResource { - // Filter managed database columns - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagedDatabaseColumnsByDatabase_FilterManagedDatabaseColumns() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedColumnsListByDatabaseMax.json @@ -64,12 +64,11 @@ public async Task GetManagedDatabaseColumnsByDatabase_FilterManagedDatabaseColum Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List managed database columns - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagedDatabaseColumnsByDatabase_ListManagedDatabaseColumns() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedColumnsListByDatabaseMin.json @@ -99,12 +98,11 @@ public async Task GetManagedDatabaseColumnsByDatabase_ListManagedDatabaseColumns Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Obtain query properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagedDatabaseQuery_ObtainQueryProperties() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceQueryGet.json @@ -131,9 +129,8 @@ public async Task GetManagedDatabaseQuery_ObtainQueryProperties() Console.WriteLine($"Succeeded: {result}"); } - // Obtain query execution statistics - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetQueryStatistics_ObtainQueryExecutionStatistics() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceQueryStatisticsList.json @@ -160,12 +157,11 @@ public async Task GetQueryStatistics_ObtainQueryExecutionStatistics() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Obtain query execution statistics. Example with all request parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetQueryStatistics_ObtainQueryExecutionStatisticsExampleWithAllRequestParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceQueryStatisticsListMax.json @@ -195,12 +191,11 @@ public async Task GetQueryStatistics_ObtainQueryExecutionStatisticsExampleWithAl Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Obtain query execution statistics. Minimal example with only mandatory request parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetQueryStatistics_ObtainQueryExecutionStatisticsMinimalExampleWithOnlyMandatoryRequestParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceQueryStatisticsListMin.json @@ -228,12 +223,11 @@ public async Task GetQueryStatistics_ObtainQueryExecutionStatisticsMinimalExampl Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the managed database's security events with maximal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagedDatabaseSecurityEventsByDatabase_GetTheManagedDatabaseSSecurityEventsWithMaximalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseSecurityEventsGetMax.json @@ -263,12 +257,11 @@ public async Task GetManagedDatabaseSecurityEventsByDatabase_GetTheManagedDataba Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the managed database's security events with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagedDatabaseSecurityEventsByDatabase_GetTheManagedDatabaseSSecurityEventsWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseSecurityEventsGetMin.json @@ -294,12 +287,11 @@ public async Task GetManagedDatabaseSecurityEventsByDatabase_GetTheManagedDataba Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the current sensitivity labels of a given database in a managed database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCurrentManagedDatabaseSensitivityLabels_GetsTheCurrentSensitivityLabelsOfAGivenDatabaseInAManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseCurrent.json @@ -329,12 +321,11 @@ public async Task GetCurrentManagedDatabaseSensitivityLabels_GetsTheCurrentSensi Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update sensitivity labels of a given database using an operations batch. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateManagedDatabaseSensitivityLabel_UpdateSensitivityLabelsOfAGivenDatabaseUsingAnOperationsBatch() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseSensitivityLabelsCurrentUpdate.json @@ -396,12 +387,11 @@ public async Task UpdateManagedDatabaseSensitivityLabel_UpdateSensitivityLabelsO }; await managedDatabase.UpdateManagedDatabaseSensitivityLabelAsync(sensitivityLabelUpdateList); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the recommended sensitivity labels of a given database in a managed database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRecommendedManagedDatabaseSensitivityLabels_GetsTheRecommendedSensitivityLabelsOfAGivenDatabaseInAManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseSensitivityLabelsListByDatabaseRecommended.json @@ -431,12 +421,11 @@ public async Task GetRecommendedManagedDatabaseSensitivityLabels_GetsTheRecommen Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update recommended sensitivity labels of a given database using an operations batch. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateRecommendedManagedDatabaseSensitivityLabel_UpdateRecommendedSensitivityLabelsOfAGivenDatabaseUsingAnOperationsBatch() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseSensitivityLabelsRecommendedUpdate.json @@ -484,12 +473,11 @@ public async Task UpdateRecommendedManagedDatabaseSensitivityLabel_UpdateRecomme }; await managedDatabase.UpdateRecommendedManagedDatabaseSensitivityLabelAsync(recommendedSensitivityLabelUpdateList); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a managed database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedDatabaseGet.json @@ -519,9 +507,8 @@ public async Task Get_GetsAManagedDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete managed database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedDatabaseDelete.json @@ -544,12 +531,11 @@ public async Task Delete_DeleteManagedDatabase() // invoke the operation await managedDatabase.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Updates a managed database with maximal properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesAManagedDatabaseWithMaximalProperties() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedDatabaseUpdateMax.json @@ -587,9 +573,8 @@ public async Task Update_UpdatesAManagedDatabaseWithMaximalProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates a managed database with minimal properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesAManagedDatabaseWithMinimalProperties() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedDatabaseUpdateMin.json @@ -627,9 +612,8 @@ public async Task Update_UpdatesAManagedDatabaseWithMinimalProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Cancels a managed database move. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CancelMove_CancelsAManagedDatabaseMove() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedDatabaseCancelMove.json @@ -653,12 +637,11 @@ public async Task CancelMove_CancelsAManagedDatabaseMove() ManagedDatabaseMoveDefinition managedDatabaseMoveDefinition = new ManagedDatabaseMoveDefinition(new ResourceIdentifier("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/managedInstances/testInstanceTgt/databases/testDatabase")); await managedDatabase.CancelMoveAsync(WaitUntil.Completed, managedDatabaseMoveDefinition); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Completes a managed database move. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CompleteMove_CompletesAManagedDatabaseMove() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedDatabaseCompleteMove.json @@ -682,12 +665,11 @@ public async Task CompleteMove_CompletesAManagedDatabaseMove() ManagedDatabaseMoveDefinition managedDatabaseMoveDefinition = new ManagedDatabaseMoveDefinition(new ResourceIdentifier("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/managedInstances/testInstanceTgt/databases/testDatabase")); await managedDatabase.CompleteMoveAsync(WaitUntil.Completed, managedDatabaseMoveDefinition); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Completes a managed database external backup restore. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CompleteRestore_CompletesAManagedDatabaseExternalBackupRestore() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedDatabaseCompleteExternalRestore.json @@ -711,12 +693,11 @@ public async Task CompleteRestore_CompletesAManagedDatabaseExternalBackupRestore CompleteDatabaseRestoreDefinition completeDatabaseRestoreDefinition = new CompleteDatabaseRestoreDefinition("testdb1_log4"); await managedDatabase.CompleteRestoreAsync(WaitUntil.Completed, completeDatabaseRestoreDefinition); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Starts a managed database move with all optional parameters specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartMove_StartsAManagedDatabaseMoveWithAllOptionalParametersSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedDatabaseStartMoveMax.json @@ -743,12 +724,11 @@ public async Task StartMove_StartsAManagedDatabaseMoveWithAllOptionalParametersS }; await managedDatabase.StartMoveAsync(WaitUntil.Completed, managedDatabaseStartMoveDefinition); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Starts a managed database move with no optional parameters specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task StartMove_StartsAManagedDatabaseMoveWithNoOptionalParametersSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedDatabaseStartMoveMin.json @@ -772,7 +752,7 @@ public async Task StartMove_StartsAManagedDatabaseMoveWithNoOptionalParametersSp ManagedDatabaseStartMoveDefinition managedDatabaseStartMoveDefinition = new ManagedDatabaseStartMoveDefinition(new ResourceIdentifier("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/managedInstances/testInstanceTgt/databases/testDatabase")); await managedDatabase.StartMoveAsync(WaitUntil.Completed, managedDatabaseStartMoveDefinition); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseRestoreDetailCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseRestoreDetailCollection.cs index 844aecb55df43..bc9e36d4b12d0 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseRestoreDetailCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseRestoreDetailCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedDatabaseRestoreDetailCollection { - // Managed database restore details. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ManagedDatabaseRestoreDetails() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedDatabaseRestoreDetails.json @@ -51,9 +51,8 @@ public async Task Get_ManagedDatabaseRestoreDetails() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Managed database restore details. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_ManagedDatabaseRestoreDetails() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedDatabaseRestoreDetails.json @@ -83,9 +82,8 @@ public async Task Exists_ManagedDatabaseRestoreDetails() Console.WriteLine($"Succeeded: {result}"); } - // Managed database restore details. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ManagedDatabaseRestoreDetails() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedDatabaseRestoreDetails.json @@ -115,7 +113,7 @@ public async Task GetIfExists_ManagedDatabaseRestoreDetails() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseRestoreDetailResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseRestoreDetailResource.cs index a183839041e2e..ef031f2a9b44b 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseRestoreDetailResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseRestoreDetailResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedDatabaseRestoreDetailResource { - // Managed database restore details. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_ManagedDatabaseRestoreDetails() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedDatabaseRestoreDetails.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseSchemaCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseSchemaCollection.cs index 7f42b50e04984..b94ccbec29216 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseSchemaCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseSchemaCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedDatabaseSchemaCollection { - // List managed database schemas - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListManagedDatabaseSchemas() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseSchemaListByDatabase.json @@ -49,12 +49,11 @@ public async Task GetAll_ListManagedDatabaseSchemas() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get managed database schema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagedDatabaseSchema() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseSchemaGet.json @@ -88,9 +87,8 @@ public async Task Get_GetManagedDatabaseSchema() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get managed database schema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetManagedDatabaseSchema() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseSchemaGet.json @@ -120,9 +118,8 @@ public async Task Exists_GetManagedDatabaseSchema() Console.WriteLine($"Succeeded: {result}"); } - // Get managed database schema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetManagedDatabaseSchema() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseSchemaGet.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetManagedDatabaseSchema() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseSchemaResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseSchemaResource.cs index e093098c2afdb..35115609a708e 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseSchemaResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseSchemaResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedDatabaseSchemaResource { - // Get managed database schema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagedDatabaseSchema() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseSchemaGet.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseSecurityAlertPolicyCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseSecurityAlertPolicyCollection.cs index e5d11096d4c3f..c15c173667891 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseSecurityAlertPolicyCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseSecurityAlertPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedDatabaseSecurityAlertPolicyCollection { - // Get a database's threat detection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADatabaseSThreatDetectionPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseSecurityAlertGet.json @@ -51,9 +51,8 @@ public async Task Get_GetADatabaseSThreatDetectionPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a database's threat detection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADatabaseSThreatDetectionPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseSecurityAlertGet.json @@ -83,9 +82,8 @@ public async Task Exists_GetADatabaseSThreatDetectionPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Get a database's threat detection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADatabaseSThreatDetectionPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseSecurityAlertGet.json @@ -115,7 +113,7 @@ public async Task GetIfExists_GetADatabaseSThreatDetectionPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_GetADatabaseSThreatDetectionPolicy() } } - // Update a database's threat detection policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateADatabaseSThreatDetectionPolicyWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseSecurityAlertCreateMax.json @@ -180,9 +177,8 @@ public async Task CreateOrUpdate_UpdateADatabaseSThreatDetectionPolicyWithAllPar Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a database's threat detection policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateADatabaseSThreatDetectionPolicyWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseSecurityAlertCreateMin.json @@ -221,9 +217,8 @@ public async Task CreateOrUpdate_UpdateADatabaseSThreatDetectionPolicyWithMinima Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a list of the database's threat detection policies. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAListOfTheDatabaseSThreatDetectionPolicies() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseSecurityAlertListByDatabase.json @@ -256,7 +251,7 @@ public async Task GetAll_GetAListOfTheDatabaseSThreatDetectionPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseSecurityAlertPolicyResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseSecurityAlertPolicyResource.cs index 309155bea254e..1bd534f5724aa 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseSecurityAlertPolicyResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseSecurityAlertPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedDatabaseSecurityAlertPolicyResource { - // Get a database's threat detection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADatabaseSThreatDetectionPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseSecurityAlertGet.json @@ -48,9 +48,8 @@ public async Task Get_GetADatabaseSThreatDetectionPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a database's threat detection policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateADatabaseSThreatDetectionPolicyWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseSecurityAlertCreateMax.json @@ -98,9 +97,8 @@ public async Task Update_UpdateADatabaseSThreatDetectionPolicyWithAllParameters( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a database's threat detection policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateADatabaseSThreatDetectionPolicyWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseSecurityAlertCreateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseSensitivityLabelCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseSensitivityLabelCollection.cs index fa4e1bdf5b410..7720516a9c8a6 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseSensitivityLabelCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseSensitivityLabelCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedDatabaseSensitivityLabelCollection { - // Gets the sensitivity label of a given column in a managed database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheSensitivityLabelOfAGivenColumnInAManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseColumnSensitivityLabelGet.json @@ -54,9 +54,8 @@ public async Task Get_GetsTheSensitivityLabelOfAGivenColumnInAManagedDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the sensitivity label of a given column in a managed database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheSensitivityLabelOfAGivenColumnInAManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseColumnSensitivityLabelGet.json @@ -89,9 +88,8 @@ public async Task Exists_GetsTheSensitivityLabelOfAGivenColumnInAManagedDatabase Console.WriteLine($"Succeeded: {result}"); } - // Gets the sensitivity label of a given column in a managed database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheSensitivityLabelOfAGivenColumnInAManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseColumnSensitivityLabelGet.json @@ -124,7 +122,7 @@ public async Task GetIfExists_GetsTheSensitivityLabelOfAGivenColumnInAManagedDat if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseSensitivityLabelResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseSensitivityLabelResource.cs index f3427d0f9ab0e..4528066edd469 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseSensitivityLabelResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseSensitivityLabelResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedDatabaseSensitivityLabelResource { - // Gets the sensitivity label of a given column in a managed database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheSensitivityLabelOfAGivenColumnInAManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseColumnSensitivityLabelGet.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseTableCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseTableCollection.cs index 96aacb3d16145..7cc5aa57f9439 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseTableCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseTableCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedDatabaseTableCollection { - // List managed database tables - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListManagedDatabaseTables() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseTableListBySchema.json @@ -50,12 +50,11 @@ public async Task GetAll_ListManagedDatabaseTables() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get managed database table - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagedDatabaseTable() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseTableGet.json @@ -90,9 +89,8 @@ public async Task Get_GetManagedDatabaseTable() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get managed database table - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetManagedDatabaseTable() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseTableGet.json @@ -123,9 +121,8 @@ public async Task Exists_GetManagedDatabaseTable() Console.WriteLine($"Succeeded: {result}"); } - // Get managed database table - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetManagedDatabaseTable() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseTableGet.json @@ -156,7 +153,7 @@ public async Task GetIfExists_GetManagedDatabaseTable() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseTableResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseTableResource.cs index 9c0d595db2acf..d983fd5b5095d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseTableResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseTableResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedDatabaseTableResource { - // Get managed database table - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagedDatabaseTable() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseTableGet.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseVulnerabilityAssessmentCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseVulnerabilityAssessmentCollection.cs index 6cef10b152dee..55abe1ac8f539 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseVulnerabilityAssessmentCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseVulnerabilityAssessmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedDatabaseVulnerabilityAssessmentCollection { - // Get a database's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADatabaseSVulnerabilityAssessment() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentGet.json @@ -51,9 +51,8 @@ public async Task Get_GetADatabaseSVulnerabilityAssessment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a database's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADatabaseSVulnerabilityAssessment() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentGet.json @@ -83,9 +82,8 @@ public async Task Exists_GetADatabaseSVulnerabilityAssessment() Console.WriteLine($"Succeeded: {result}"); } - // Get a database's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADatabaseSVulnerabilityAssessment() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentGet.json @@ -115,7 +113,7 @@ public async Task GetIfExists_GetADatabaseSVulnerabilityAssessment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_GetADatabaseSVulnerabilityAssessment() } } - // Create a database's vulnerability assessment with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADatabaseSVulnerabilityAssessmentWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentCreateMax.json @@ -178,9 +175,8 @@ public async Task CreateOrUpdate_CreateADatabaseSVulnerabilityAssessmentWithAllP Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a database's vulnerability assessment with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADatabaseSVulnerabilityAssessmentWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentCreateMin.json @@ -220,9 +216,8 @@ public async Task CreateOrUpdate_CreateADatabaseSVulnerabilityAssessmentWithMini Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a database's vulnerability assessments list - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetADatabaseSVulnerabilityAssessmentsList() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentListByDatabase.json @@ -255,7 +250,7 @@ public async Task GetAll_GetADatabaseSVulnerabilityAssessmentsList() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseVulnerabilityAssessmentResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseVulnerabilityAssessmentResource.cs index ca93591801974..a3a674e5ca893 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseVulnerabilityAssessmentResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseVulnerabilityAssessmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedDatabaseVulnerabilityAssessmentResource { - // Get a database's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADatabaseSVulnerabilityAssessment() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentGet.json @@ -48,9 +48,8 @@ public async Task Get_GetADatabaseSVulnerabilityAssessment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a database's vulnerability assessment with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateADatabaseSVulnerabilityAssessmentWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentCreateMax.json @@ -96,9 +95,8 @@ public async Task Update_CreateADatabaseSVulnerabilityAssessmentWithAllParameter Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a database's vulnerability assessment with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateADatabaseSVulnerabilityAssessmentWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentCreateMin.json @@ -135,9 +133,8 @@ public async Task Update_CreateADatabaseSVulnerabilityAssessmentWithMinimalParam Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Remove a database's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RemoveADatabaseSVulnerabilityAssessment() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentDelete.json @@ -161,7 +158,7 @@ public async Task Delete_RemoveADatabaseSVulnerabilityAssessment() // invoke the operation await managedDatabaseVulnerabilityAssessment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseVulnerabilityAssessmentRuleBaselineCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseVulnerabilityAssessmentRuleBaselineCollection.cs index 6c84e877a513c..873108065f79f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseVulnerabilityAssessmentRuleBaselineCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseVulnerabilityAssessmentRuleBaselineCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedDatabaseVulnerabilityAssessmentRuleBaselineCollection { - // Gets a database's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatabaseSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentRuleBaselineGet.json @@ -53,9 +53,8 @@ public async Task Get_GetsADatabaseSVulnerabilityAssessmentRuleBaseline() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a database's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsADatabaseSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentRuleBaselineGet.json @@ -87,9 +86,8 @@ public async Task Exists_GetsADatabaseSVulnerabilityAssessmentRuleBaseline() Console.WriteLine($"Succeeded: {result}"); } - // Gets a database's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsADatabaseSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentRuleBaselineGet.json @@ -121,7 +119,7 @@ public async Task GetIfExists_GetsADatabaseSVulnerabilityAssessmentRuleBaseline( if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -133,9 +131,8 @@ public async Task GetIfExists_GetsADatabaseSVulnerabilityAssessmentRuleBaseline( } } - // Creates or updates a database's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesADatabaseSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentRuleBaselineCreate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseVulnerabilityAssessmentRuleBaselineResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseVulnerabilityAssessmentRuleBaselineResource.cs index df2bbd30f982a..03b6e777e2c79 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseVulnerabilityAssessmentRuleBaselineResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseVulnerabilityAssessmentRuleBaselineResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedDatabaseVulnerabilityAssessmentRuleBaselineResource { - // Gets a database's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatabaseSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentRuleBaselineGet.json @@ -50,9 +50,8 @@ public async Task Get_GetsADatabaseSVulnerabilityAssessmentRuleBaseline() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates a database's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesOrUpdatesADatabaseSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentRuleBaselineCreate.json @@ -102,9 +101,8 @@ public async Task Update_CreatesOrUpdatesADatabaseSVulnerabilityAssessmentRuleBa Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Removes a database's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RemovesADatabaseSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentRuleBaselineDelete.json @@ -130,7 +128,7 @@ public async Task Delete_RemovesADatabaseSVulnerabilityAssessmentRuleBaseline() // invoke the operation await managedDatabaseVulnerabilityAssessmentRuleBaseline.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseVulnerabilityAssessmentScanCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseVulnerabilityAssessmentScanCollection.cs index f3bf4b107ff65..f6c923e9ab388 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseVulnerabilityAssessmentScanCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseVulnerabilityAssessmentScanCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedDatabaseVulnerabilityAssessmentScanCollection { - // Gets the list of a database vulnerability assessment scan records - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfADatabaseVulnerabilityAssessmentScanRecords() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentScanRecordsListByDatabase.json @@ -51,12 +51,11 @@ public async Task GetAll_GetsTheListOfADatabaseVulnerabilityAssessmentScanRecord Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a database vulnerability assessment scan record by scan ID - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatabaseVulnerabilityAssessmentScanRecordByScanID() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentScanRecordsGet.json @@ -91,9 +90,8 @@ public async Task Get_GetsADatabaseVulnerabilityAssessmentScanRecordByScanID() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a database vulnerability assessment scan record by scan ID - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsADatabaseVulnerabilityAssessmentScanRecordByScanID() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentScanRecordsGet.json @@ -124,9 +122,8 @@ public async Task Exists_GetsADatabaseVulnerabilityAssessmentScanRecordByScanID( Console.WriteLine($"Succeeded: {result}"); } - // Gets a database vulnerability assessment scan record by scan ID - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsADatabaseVulnerabilityAssessmentScanRecordByScanID() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentScanRecordsGet.json @@ -157,7 +154,7 @@ public async Task GetIfExists_GetsADatabaseVulnerabilityAssessmentScanRecordBySc if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseVulnerabilityAssessmentScanResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseVulnerabilityAssessmentScanResource.cs index 0d58ddb43370e..527886ce0b7c7 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseVulnerabilityAssessmentScanResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedDatabaseVulnerabilityAssessmentScanResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedDatabaseVulnerabilityAssessmentScanResource { - // Executes a database's vulnerability assessment scan. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task InitiateScan_ExecutesADatabaseSVulnerabilityAssessmentScan() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentScansExecute.json @@ -42,12 +42,11 @@ public async Task InitiateScan_ExecutesADatabaseSVulnerabilityAssessmentScan() // invoke the operation await managedDatabaseVulnerabilityAssessmentScan.InitiateScanAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Export a database's vulnerability assessment scan results. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Export_ExportADatabaseSVulnerabilityAssessmentScanResults() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentScanExport.json @@ -75,9 +74,8 @@ public async Task Export_ExportADatabaseSVulnerabilityAssessmentScanResults() Console.WriteLine($"Succeeded: {result}"); } - // Gets a database vulnerability assessment scan record by scan ID - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatabaseVulnerabilityAssessmentScanRecordByScanID() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedDatabaseVulnerabilityAssessmentScanRecordsGet.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceAdministratorCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceAdministratorCollection.cs index cbb9e893ffac2..9feea28d1e1ea 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceAdministratorCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceAdministratorCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceAdministratorCollection { - // List administrators of managed instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAdministratorsOfManagedInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceAdministratorListByInstance.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAdministratorsOfManagedInstance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get administrator of managed instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAdministratorOfManagedInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceAdministratorGet.json @@ -87,9 +86,8 @@ public async Task Get_GetAdministratorOfManagedInstance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get administrator of managed instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAdministratorOfManagedInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceAdministratorGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetAdministratorOfManagedInstance() Console.WriteLine($"Succeeded: {result}"); } - // Get administrator of managed instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAdministratorOfManagedInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceAdministratorGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetAdministratorOfManagedInstance() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetAdministratorOfManagedInstance() } } - // Create administrator of managed instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAdministratorOfManagedInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceAdministratorCreate.json @@ -204,9 +200,8 @@ public async Task CreateOrUpdate_CreateAdministratorOfManagedInstance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update administrator of managed instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAdministratorOfManagedInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceAdministratorUpdate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceAdministratorResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceAdministratorResource.cs index 3cb57ef47bddf..76c16ea9f2c16 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceAdministratorResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceAdministratorResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceAdministratorResource { - // Get administrator of managed instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAdministratorOfManagedInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceAdministratorGet.json @@ -47,9 +47,8 @@ public async Task Get_GetAdministratorOfManagedInstance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create administrator of managed instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAdministratorOfManagedInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceAdministratorCreate.json @@ -87,9 +86,8 @@ public async Task Update_CreateAdministratorOfManagedInstance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update administrator of managed instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAdministratorOfManagedInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceAdministratorUpdate.json @@ -127,9 +125,8 @@ public async Task Update_UpdateAdministratorOfManagedInstance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete administrator of managed instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAdministratorOfManagedInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceAdministratorDelete.json @@ -152,7 +149,7 @@ public async Task Delete_DeleteAdministratorOfManagedInstance() // invoke the operation await managedInstanceAdministrator.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceAdvancedThreatProtectionCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceAdvancedThreatProtectionCollection.cs index 8ff51f2567ce9..96d038316c4d9 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceAdvancedThreatProtectionCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceAdvancedThreatProtectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceAdvancedThreatProtectionCollection { - // List the managed instance's Advanced Threat Protection settings. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTheManagedInstanceSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ManagedInstanceAdvancedThreatProtectionSettingsListByInstance.json @@ -49,12 +49,11 @@ public async Task GetAll_ListTheManagedInstanceSAdvancedThreatProtectionSettings Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a managed instance's Advanced Threat Protection settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAManagedInstanceSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ManagedInstanceAdvancedThreatProtectionSettingsGet.json @@ -87,9 +86,8 @@ public async Task Get_GetAManagedInstanceSAdvancedThreatProtectionSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a managed instance's Advanced Threat Protection settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAManagedInstanceSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ManagedInstanceAdvancedThreatProtectionSettingsGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetAManagedInstanceSAdvancedThreatProtectionSettings() Console.WriteLine($"Succeeded: {result}"); } - // Get a managed instance's Advanced Threat Protection settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAManagedInstanceSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ManagedInstanceAdvancedThreatProtectionSettingsGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetAManagedInstanceSAdvancedThreatProtectionSettin if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetAManagedInstanceSAdvancedThreatProtectionSettin } } - // Update a managed instance's Advanced Threat Protection settings with all parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAManagedInstanceSAdvancedThreatProtectionSettingsWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ManagedInstanceAdvancedThreatProtectionSettingsCreateMax.json @@ -201,9 +197,8 @@ public async Task CreateOrUpdate_UpdateAManagedInstanceSAdvancedThreatProtection Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a managed instance's Advanced Threat Protection settings with minimal parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAManagedInstanceSAdvancedThreatProtectionSettingsWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ManagedInstanceAdvancedThreatProtectionSettingsCreateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceAdvancedThreatProtectionResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceAdvancedThreatProtectionResource.cs index a5044a32d06fd..e81220c7b5841 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceAdvancedThreatProtectionResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceAdvancedThreatProtectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceAdvancedThreatProtectionResource { - // Get a managed instance's Advanced Threat Protection settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAManagedInstanceSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ManagedInstanceAdvancedThreatProtectionSettingsGet.json @@ -47,9 +47,8 @@ public async Task Get_GetAManagedInstanceSAdvancedThreatProtectionSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a managed instance's Advanced Threat Protection settings with all parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAManagedInstanceSAdvancedThreatProtectionSettingsWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ManagedInstanceAdvancedThreatProtectionSettingsCreateMax.json @@ -84,9 +83,8 @@ public async Task Update_UpdateAManagedInstanceSAdvancedThreatProtectionSettings Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a managed instance's Advanced Threat Protection settings with minimal parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAManagedInstanceSAdvancedThreatProtectionSettingsWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ManagedInstanceAdvancedThreatProtectionSettingsCreateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceAzureADOnlyAuthenticationCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceAzureADOnlyAuthenticationCollection.cs index 61e103c7025ab..d377673989787 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceAzureADOnlyAuthenticationCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceAzureADOnlyAuthenticationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceAzureADOnlyAuthenticationCollection { - // Gets a Azure Active Directory only authentication property. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAAzureActiveDirectoryOnlyAuthenticationProperty() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceAzureADOnlyAuthGet.json @@ -50,9 +50,8 @@ public async Task Get_GetsAAzureActiveDirectoryOnlyAuthenticationProperty() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a Azure Active Directory only authentication property. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAAzureActiveDirectoryOnlyAuthenticationProperty() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceAzureADOnlyAuthGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetsAAzureActiveDirectoryOnlyAuthenticationProperty() Console.WriteLine($"Succeeded: {result}"); } - // Gets a Azure Active Directory only authentication property. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAAzureActiveDirectoryOnlyAuthenticationProperty() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceAzureADOnlyAuthGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetsAAzureActiveDirectoryOnlyAuthenticationPropert if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetsAAzureActiveDirectoryOnlyAuthenticationPropert } } - // Creates or updates Azure Active Directory only authentication object. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesAzureActiveDirectoryOnlyAuthenticationObject() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceAzureADOnlyAuthCreateOrUpdate.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_CreatesOrUpdatesAzureActiveDirectoryOnlyAuthent Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a list of Azure Active Directory only authentication object. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsAListOfAzureActiveDirectoryOnlyAuthenticationObject() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceAzureADOnlyAuthListByInstance.json @@ -198,7 +194,7 @@ public async Task GetAll_GetsAListOfAzureActiveDirectoryOnlyAuthenticationObject Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceAzureADOnlyAuthenticationResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceAzureADOnlyAuthenticationResource.cs index 4629991d70e05..506637d06b055 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceAzureADOnlyAuthenticationResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceAzureADOnlyAuthenticationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceAzureADOnlyAuthenticationResource { - // Gets a Azure Active Directory only authentication property. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAAzureActiveDirectoryOnlyAuthenticationProperty() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceAzureADOnlyAuthGet.json @@ -47,9 +47,8 @@ public async Task Get_GetsAAzureActiveDirectoryOnlyAuthenticationProperty() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates Azure Active Directory only authentication object. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesOrUpdatesAzureActiveDirectoryOnlyAuthenticationObject() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceAzureADOnlyAuthCreateOrUpdate.json @@ -84,9 +83,8 @@ public async Task Update_CreatesOrUpdatesAzureActiveDirectoryOnlyAuthenticationO Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes Azure Active Directory only authentication object. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAzureActiveDirectoryOnlyAuthenticationObject() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceAzureADOnlyAuthDelete.json @@ -109,7 +107,7 @@ public async Task Delete_DeletesAzureActiveDirectoryOnlyAuthenticationObject() // invoke the operation await managedInstanceAzureADOnlyAuthentication.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceCollection.cs index bb914e2018615..a078ecc165687 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceCollection { - // List managed instances by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListManagedInstancesByResourceGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedInstanceListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListManagedInstancesByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List managed instances by resource group with $expand=administrators/activedirectory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListManagedInstancesByResourceGroupWithExpandAdministratorsActivedirectory() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedInstanceListByResourceGroupWithExpandEqualsAdministrators.json @@ -85,12 +84,11 @@ public async Task GetAll_ListManagedInstancesByResourceGroupWithExpandAdministra Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get managed instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagedInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedInstanceGet.json @@ -122,9 +120,8 @@ public async Task Get_GetManagedInstance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get managed instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetManagedInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedInstanceGet.json @@ -152,9 +149,8 @@ public async Task Exists_GetManagedInstance() Console.WriteLine($"Succeeded: {result}"); } - // Get managed instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetManagedInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedInstanceGet.json @@ -182,7 +178,7 @@ public async Task GetIfExists_GetManagedInstance() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -194,9 +190,8 @@ public async Task GetIfExists_GetManagedInstance() } } - // Get managed instance with $expand=administrators/activedirectory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagedInstanceWithExpandAdministratorsActivedirectory() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedInstanceGetWithExpandEqualsAdministrators.json @@ -228,9 +223,8 @@ public async Task Get_GetManagedInstanceWithExpandAdministratorsActivedirectory( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get managed instance with $expand=administrators/activedirectory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetManagedInstanceWithExpandAdministratorsActivedirectory() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedInstanceGetWithExpandEqualsAdministrators.json @@ -258,9 +252,8 @@ public async Task Exists_GetManagedInstanceWithExpandAdministratorsActivedirecto Console.WriteLine($"Succeeded: {result}"); } - // Get managed instance with $expand=administrators/activedirectory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetManagedInstanceWithExpandAdministratorsActivedirectory() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedInstanceGetWithExpandEqualsAdministrators.json @@ -288,7 +281,7 @@ public async Task GetIfExists_GetManagedInstanceWithExpandAdministratorsActivedi if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -300,9 +293,8 @@ public async Task GetIfExists_GetManagedInstanceWithExpandAdministratorsActivedi } } - // Create managed instance with all properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateManagedInstanceWithAllProperties() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedInstanceCreateMax.json @@ -373,9 +365,8 @@ public async Task CreateOrUpdate_CreateManagedInstanceWithAllProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create managed instance with minimal properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateManagedInstanceWithMinimalProperties() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedInstanceCreateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceDtcCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceDtcCollection.cs index 943d39f0ab02b..7cac386d1597c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceDtcCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceDtcCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceDtcCollection { - // Gets a list of managed instance DTC settings. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsAListOfManagedInstanceDTCSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedInstanceDtcList.json @@ -49,12 +49,11 @@ public async Task GetAll_GetsAListOfManagedInstanceDTCSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets managed instance DTC settings. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsManagedInstanceDTCSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedInstanceDtcGet.json @@ -87,9 +86,8 @@ public async Task Get_GetsManagedInstanceDTCSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets managed instance DTC settings. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsManagedInstanceDTCSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedInstanceDtcGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetsManagedInstanceDTCSettings() Console.WriteLine($"Succeeded: {result}"); } - // Gets managed instance DTC settings. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsManagedInstanceDTCSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedInstanceDtcGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetsManagedInstanceDTCSettings() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetsManagedInstanceDTCSettings() } } - // Updates managed instance DTC settings by enabling DTC. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdatesManagedInstanceDTCSettingsByEnablingDTC() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedInstanceDtcUpdateEnableDtc.json @@ -201,9 +197,8 @@ public async Task CreateOrUpdate_UpdatesManagedInstanceDTCSettingsByEnablingDTC( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates managed instance DTC settings with all optional parameters specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdatesManagedInstanceDTCSettingsWithAllOptionalParametersSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedInstanceDtcUpdateMax.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceDtcResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceDtcResource.cs index 2964358db0291..0ee85308f038a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceDtcResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceDtcResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceDtcResource { - // Gets managed instance DTC settings. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsManagedInstanceDTCSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedInstanceDtcGet.json @@ -47,9 +47,8 @@ public async Task Get_GetsManagedInstanceDTCSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates managed instance DTC settings by enabling DTC. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesManagedInstanceDTCSettingsByEnablingDTC() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedInstanceDtcUpdateEnableDtc.json @@ -84,9 +83,8 @@ public async Task Update_UpdatesManagedInstanceDTCSettingsByEnablingDTC() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates managed instance DTC settings with all optional parameters specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesManagedInstanceDTCSettingsWithAllOptionalParametersSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/ManagedInstanceDtcUpdateMax.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceEncryptionProtectorCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceEncryptionProtectorCollection.cs index 3046711c604d9..4aff7531e71ab 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceEncryptionProtectorCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceEncryptionProtectorCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceEncryptionProtectorCollection { - // List encryption protectors by managed instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListEncryptionProtectorsByManagedInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceEncryptionProtectorList.json @@ -49,12 +49,11 @@ public async Task GetAll_ListEncryptionProtectorsByManagedInstance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the encryption protector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheEncryptionProtector() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceEncryptionProtectorGet.json @@ -87,9 +86,8 @@ public async Task Get_GetTheEncryptionProtector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the encryption protector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheEncryptionProtector() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceEncryptionProtectorGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetTheEncryptionProtector() Console.WriteLine($"Succeeded: {result}"); } - // Get the encryption protector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheEncryptionProtector() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceEncryptionProtectorGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetTheEncryptionProtector() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetTheEncryptionProtector() } } - // Update the encryption protector to key vault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateTheEncryptionProtectorToKeyVault() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceEncryptionProtectorCreateOrUpdateKeyVault.json @@ -203,9 +199,8 @@ public async Task CreateOrUpdate_UpdateTheEncryptionProtectorToKeyVault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update the encryption protector to service managed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateTheEncryptionProtectorToServiceManaged() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceEncryptionProtectorCreateOrUpdateServiceManaged.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceEncryptionProtectorResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceEncryptionProtectorResource.cs index c23207b330ae3..0c799d259bf58 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceEncryptionProtectorResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceEncryptionProtectorResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceEncryptionProtectorResource { - // Revalidates the encryption protector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Revalidate_RevalidatesTheEncryptionProtector() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceEncryptionProtectorRevalidate.json @@ -40,12 +40,11 @@ public async Task Revalidate_RevalidatesTheEncryptionProtector() // invoke the operation await managedInstanceEncryptionProtector.RevalidateAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the encryption protector - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheEncryptionProtector() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceEncryptionProtectorGet.json @@ -75,9 +74,8 @@ public async Task Get_GetTheEncryptionProtector() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update the encryption protector to key vault - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateTheEncryptionProtectorToKeyVault() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceEncryptionProtectorCreateOrUpdateKeyVault.json @@ -114,9 +112,8 @@ public async Task Update_UpdateTheEncryptionProtectorToKeyVault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update the encryption protector to service managed - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateTheEncryptionProtectorToServiceManaged() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceEncryptionProtectorCreateOrUpdateServiceManaged.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceKeyCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceKeyCollection.cs index a71caf65e9423..c79f47160c3dc 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceKeyCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceKeyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceKeyCollection { - // List the keys for a managed instance. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTheKeysForAManagedInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceKeyList.json @@ -49,12 +49,11 @@ public async Task GetAll_ListTheKeysForAManagedInstance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the managed instance key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheManagedInstanceKey() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceKeyGet.json @@ -87,9 +86,8 @@ public async Task Get_GetTheManagedInstanceKey() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the managed instance key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheManagedInstanceKey() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceKeyGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetTheManagedInstanceKey() Console.WriteLine($"Succeeded: {result}"); } - // Get the managed instance key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheManagedInstanceKey() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceKeyGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetTheManagedInstanceKey() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetTheManagedInstanceKey() } } - // Creates or updates a managed instance key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesAManagedInstanceKey() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceKeyCreateOrUpdate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceKeyResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceKeyResource.cs index 0cffb9ea156ec..7b16cd26f2b38 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceKeyResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceKeyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceKeyResource { - // Get the managed instance key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheManagedInstanceKey() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceKeyGet.json @@ -47,9 +47,8 @@ public async Task Get_GetTheManagedInstanceKey() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates a managed instance key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesOrUpdatesAManagedInstanceKey() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceKeyCreateOrUpdate.json @@ -85,9 +84,8 @@ public async Task Update_CreatesOrUpdatesAManagedInstanceKey() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete the managed instance key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteTheManagedInstanceKey() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceKeyDelete.json @@ -110,7 +108,7 @@ public async Task Delete_DeleteTheManagedInstanceKey() // invoke the operation await managedInstanceKey.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceLongTermRetentionPolicyCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceLongTermRetentionPolicyCollection.cs index cf32f84a744b0..b8af790f37960 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceLongTermRetentionPolicyCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceLongTermRetentionPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceLongTermRetentionPolicyCollection { - // Get the long term retention policy for the managed database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheLongTermRetentionPolicyForTheManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceLongTermRetentionPolicyGet.json @@ -51,9 +51,8 @@ public async Task Get_GetTheLongTermRetentionPolicyForTheManagedDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the long term retention policy for the managed database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheLongTermRetentionPolicyForTheManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceLongTermRetentionPolicyGet.json @@ -83,9 +82,8 @@ public async Task Exists_GetTheLongTermRetentionPolicyForTheManagedDatabase() Console.WriteLine($"Succeeded: {result}"); } - // Get the long term retention policy for the managed database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheLongTermRetentionPolicyForTheManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceLongTermRetentionPolicyGet.json @@ -115,7 +113,7 @@ public async Task GetIfExists_GetTheLongTermRetentionPolicyForTheManagedDatabase if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_GetTheLongTermRetentionPolicyForTheManagedDatabase } } - // Create or update the LTR policy for the managed database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateTheLTRPolicyForTheManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceLongTermRetentionPolicyCreateOrUpdate.json @@ -171,9 +168,8 @@ public async Task CreateOrUpdate_CreateOrUpdateTheLTRPolicyForTheManagedDatabase Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the long term retention policies for the managed database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetTheLongTermRetentionPoliciesForTheManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceLongTermRetentionPolicyListByDatabase.json @@ -206,7 +202,7 @@ public async Task GetAll_GetTheLongTermRetentionPoliciesForTheManagedDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceLongTermRetentionPolicyResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceLongTermRetentionPolicyResource.cs index 9f71e3eda290c..22fc541ceb21b 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceLongTermRetentionPolicyResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceLongTermRetentionPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceLongTermRetentionPolicyResource { - // Get the long term retention policy for the managed database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheLongTermRetentionPolicyForTheManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceLongTermRetentionPolicyGet.json @@ -48,9 +48,8 @@ public async Task Get_GetTheLongTermRetentionPolicyForTheManagedDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update the LTR policy for the managed database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateTheLTRPolicyForTheManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceLongTermRetentionPolicyCreateOrUpdate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceOperationCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceOperationCollection.cs index 312b04e56e18a..4a83e29fa4658 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceOperationCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceOperationCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceOperationCollection { - // List the managed instance management operations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTheManagedInstanceManagementOperations() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ListManagedInstanceOperations.json @@ -48,12 +48,11 @@ public async Task GetAll_ListTheManagedInstanceManagementOperations() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the managed instance management operation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheManagedInstanceManagementOperation() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetManagedInstanceOperation.json @@ -86,9 +85,8 @@ public async Task Get_GetsTheManagedInstanceManagementOperation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the managed instance management operation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheManagedInstanceManagementOperation() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetManagedInstanceOperation.json @@ -117,9 +115,8 @@ public async Task Exists_GetsTheManagedInstanceManagementOperation() Console.WriteLine($"Succeeded: {result}"); } - // Gets the managed instance management operation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheManagedInstanceManagementOperation() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetManagedInstanceOperation.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetsTheManagedInstanceManagementOperation() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceOperationResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceOperationResource.cs index 9b1a8f7ca6c4a..8a6e21f1933d5 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceOperationResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceOperationResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceOperationResource { - // Gets the managed instance management operation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheManagedInstanceManagementOperation() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetManagedInstanceOperation.json @@ -46,9 +46,8 @@ public async Task Get_GetsTheManagedInstanceManagementOperation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Cancel the managed instance management operation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cancel_CancelTheManagedInstanceManagementOperation() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CancelManagedInstanceOperation.json @@ -71,7 +70,7 @@ public async Task Cancel_CancelTheManagedInstanceManagementOperation() // invoke the operation await managedInstanceOperation.CancelAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstancePrivateEndpointConnectionCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstancePrivateEndpointConnectionCollection.cs index ff98dbfa7cd91..88b5bb2ccc860 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstancePrivateEndpointConnectionCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstancePrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstancePrivateEndpointConnectionCollection { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstancePrivateEndpointConnectionGet.json @@ -50,9 +50,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstancePrivateEndpointConnectionGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstancePrivateEndpointConnectionGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() } } - // Approve or reject a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstancePrivateEndpointConnectionUpdate.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_ApproveOrRejectAPrivateEndpointConnectionWithAG Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets list of private endpoint connections on a server. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsListOfPrivateEndpointConnectionsOnAServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstancePrivateEndpointConnectionList.json @@ -198,7 +194,7 @@ public async Task GetAll_GetsListOfPrivateEndpointConnectionsOnAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstancePrivateEndpointConnectionResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstancePrivateEndpointConnectionResource.cs index 4eb95f9e7be22..df4215639f8c6 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstancePrivateEndpointConnectionResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstancePrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstancePrivateEndpointConnectionResource { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstancePrivateEndpointConnectionGet.json @@ -47,9 +47,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Approve or reject a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstancePrivateEndpointConnectionUpdate.json @@ -84,9 +83,8 @@ public async Task Update_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstancePrivateEndpointConnectionDelete.json @@ -109,7 +107,7 @@ public async Task Delete_DeletesAPrivateEndpointConnectionWithAGivenName() // invoke the operation await managedInstancePrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstancePrivateLinkCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstancePrivateLinkCollection.cs index 9c582a9a3b9e3..bf05ef05c997a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstancePrivateLinkCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstancePrivateLinkCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstancePrivateLinkCollection { - // Gets private link resources for SQL. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsPrivateLinkResourcesForSQL() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstancePrivateLinkResourcesList.json @@ -48,12 +48,11 @@ public async Task GetAll_GetsPrivateLinkResourcesForSQL() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a private link resource for SQL. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAPrivateLinkResourceForSQL() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstancePrivateLinkResourcesGet.json @@ -86,9 +85,8 @@ public async Task Get_GetsAPrivateLinkResourceForSQL() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a private link resource for SQL. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAPrivateLinkResourceForSQL() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstancePrivateLinkResourcesGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetsAPrivateLinkResourceForSQL() Console.WriteLine($"Succeeded: {result}"); } - // Gets a private link resource for SQL. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAPrivateLinkResourceForSQL() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstancePrivateLinkResourcesGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetsAPrivateLinkResourceForSQL() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstancePrivateLinkResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstancePrivateLinkResource.cs index c492ea4cd3f33..4cb5af007a7d9 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstancePrivateLinkResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstancePrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstancePrivateLinkResource { - // Gets a private link resource for SQL. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAPrivateLinkResourceForSQL() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstancePrivateLinkResourcesGet.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceResource.cs index 8c4bd55cdd16a..f5e9cc7b810f3 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceResource { - // Upload a TDE certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateManagedInstanceTdeCertificate_UploadATDECertificate() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceTdeCertificate.json @@ -44,12 +44,11 @@ public async Task CreateManagedInstanceTdeCertificate_UploadATDECertificate() }; await managedInstance.CreateManagedInstanceTdeCertificateAsync(WaitUntil.Completed, tdeCertificate); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List server trust groups by managed instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSqlServerTrustGroups_ListServerTrustGroupsByManagedInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerTrustGroupListByManagedInstance.json @@ -78,12 +77,11 @@ public async Task GetSqlServerTrustGroups_ListServerTrustGroupsByManagedInstance Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List inaccessible managed databases by managed instances - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetInaccessibleManagedDatabases_ListInaccessibleManagedDatabasesByManagedInstances() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/InaccessibleManagedDatabaseListByManagedInstance.json @@ -112,12 +110,11 @@ public async Task GetInaccessibleManagedDatabases_ListInaccessibleManagedDatabas Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List managed instances - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagedInstances_ListManagedInstances() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedInstanceList.json @@ -144,12 +141,11 @@ public async Task GetManagedInstances_ListManagedInstances() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List managed instances with $expand=administrators/activedirectory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetManagedInstances_ListManagedInstancesWithExpandAdministratorsActivedirectory() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedInstanceListWithExpandEqualsAdministrators.json @@ -176,12 +172,11 @@ public async Task GetManagedInstances_ListManagedInstancesWithExpandAdministrato Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get managed instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagedInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedInstanceGet.json @@ -210,9 +205,8 @@ public async Task Get_GetManagedInstance() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get managed instance with $expand=administrators/activedirectory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagedInstanceWithExpandAdministratorsActivedirectory() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedInstanceGetWithExpandEqualsAdministrators.json @@ -241,9 +235,8 @@ public async Task Get_GetManagedInstanceWithExpandAdministratorsActivedirectory( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete managed instance - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteManagedInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedInstanceDelete.json @@ -265,12 +258,11 @@ public async Task Delete_DeleteManagedInstance() // invoke the operation await managedInstance.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Remove maintenance policy from managed instance (select default maintenance policy) - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_RemoveMaintenancePolicyFromManagedInstanceSelectDefaultMaintenancePolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedInstanceRemoveMaintenanceConfiguration.json @@ -304,9 +296,8 @@ public async Task Update_RemoveMaintenancePolicyFromManagedInstanceSelectDefault Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update managed instance with all properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateManagedInstanceWithAllProperties() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedInstanceUpdateMax.json @@ -359,9 +350,8 @@ public async Task Update_UpdateManagedInstanceWithAllProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update managed instance with minimal properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateManagedInstanceWithMinimalProperties() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedInstanceUpdateMin.json @@ -398,9 +388,8 @@ public async Task Update_UpdateManagedInstanceWithMinimalProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Failover a managed instance. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Failover_FailoverAManagedInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/FailoverManagedInstance.json @@ -423,12 +412,11 @@ public async Task Failover_FailoverAManagedInstance() ReplicaType? replicaType = ReplicaType.Primary; await managedInstance.FailoverAsync(WaitUntil.Completed, replicaType: replicaType); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the collection of outbound network dependencies for the given managed instance. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetOutboundNetworkDependencies_GetsTheCollectionOfOutboundNetworkDependenciesForTheGivenManagedInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ListOutboundNetworkDependenciesByManagedInstance.json @@ -453,12 +441,11 @@ public async Task GetOutboundNetworkDependencies_GetsTheCollectionOfOutboundNetw Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Starts the managed instance. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Start_StartsTheManagedInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/StartManagedInstance.json @@ -480,12 +467,11 @@ public async Task Start_StartsTheManagedInstance() // invoke the operation await managedInstance.StartAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Stops the managed instance. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Stop_StopsTheManagedInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/StopManagedInstance.json @@ -507,12 +493,11 @@ public async Task Stop_StopsTheManagedInstance() // invoke the operation await managedInstance.StopAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Obtain list of instance's top resource consuming queries. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTopQueries_ObtainListOfInstanceSTopResourceConsumingQueries() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedInstanceTopQueriesList.json @@ -538,12 +523,11 @@ public async Task GetTopQueries_ObtainListOfInstanceSTopResourceConsumingQueries Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Obtain list of instance's top resource consuming queries. Full-blown request and response. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTopQueries_ObtainListOfInstanceSTopResourceConsumingQueriesFullBlownRequestAndResponse() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedInstanceTopQueriesListMax.json @@ -569,12 +553,11 @@ public async Task GetTopQueries_ObtainListOfInstanceSTopResourceConsumingQueries Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Obtain list of instance's top resource consuming queries. Minimal request and response. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetTopQueries_ObtainListOfInstanceSTopResourceConsumingQueriesMinimalRequestAndResponse() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedInstanceTopQueriesListMin.json @@ -600,7 +583,7 @@ public async Task GetTopQueries_ObtainListOfInstanceSTopResourceConsumingQueries Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceServerConfigurationOptionCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceServerConfigurationOptionCollection.cs index 8d090f896abab..db09b167dea37 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceServerConfigurationOptionCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceServerConfigurationOptionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceServerConfigurationOptionCollection { - // Gets a list of managed instance server configuration options. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsAListOfManagedInstanceServerConfigurationOptions() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ServerConfigurationOptionList.json @@ -49,12 +49,11 @@ public async Task GetAll_GetsAListOfManagedInstanceServerConfigurationOptions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets managed instance server configuration option. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsManagedInstanceServerConfigurationOption() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ServerConfigurationOptionGet.json @@ -87,9 +86,8 @@ public async Task Get_GetsManagedInstanceServerConfigurationOption() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets managed instance server configuration option. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsManagedInstanceServerConfigurationOption() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ServerConfigurationOptionGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetsManagedInstanceServerConfigurationOption() Console.WriteLine($"Succeeded: {result}"); } - // Gets managed instance server configuration option. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsManagedInstanceServerConfigurationOption() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ServerConfigurationOptionGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetsManagedInstanceServerConfigurationOption() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetsManagedInstanceServerConfigurationOption() } } - // Updates managed instance server configuration option. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdatesManagedInstanceServerConfigurationOption() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ServerConfigurationOptionUpdate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceServerConfigurationOptionResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceServerConfigurationOptionResource.cs index 243c1b9554cfa..8975a8f6fa7ec 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceServerConfigurationOptionResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceServerConfigurationOptionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceServerConfigurationOptionResource { - // Gets managed instance server configuration option. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsManagedInstanceServerConfigurationOption() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ServerConfigurationOptionGet.json @@ -47,9 +47,8 @@ public async Task Get_GetsManagedInstanceServerConfigurationOption() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates managed instance server configuration option. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesManagedInstanceServerConfigurationOption() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ServerConfigurationOptionUpdate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceServerTrustCertificateCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceServerTrustCertificateCollection.cs index a4e084bb1e781..2fb35a0873723 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceServerTrustCertificateCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceServerTrustCertificateCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceServerTrustCertificateCollection { - // Gets a list of server trust certificates on a given server. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsAListOfServerTrustCertificatesOnAGivenServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerTrustCertificatesListByInstance.json @@ -48,12 +48,11 @@ public async Task GetAll_GetsAListOfServerTrustCertificatesOnAGivenServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets server trust certificate. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsServerTrustCertificate() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerTrustCertificatesGet.json @@ -86,9 +85,8 @@ public async Task Get_GetsServerTrustCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets server trust certificate. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsServerTrustCertificate() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerTrustCertificatesGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetsServerTrustCertificate() Console.WriteLine($"Succeeded: {result}"); } - // Gets server trust certificate. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsServerTrustCertificate() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerTrustCertificatesGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetsServerTrustCertificate() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GetsServerTrustCertificate() } } - // Create server trust certificate. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateServerTrustCertificate() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerTrustCertificatesCreate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceServerTrustCertificateResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceServerTrustCertificateResource.cs index 359e58960f15e..8196ad66e3183 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceServerTrustCertificateResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceServerTrustCertificateResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceServerTrustCertificateResource { - // Gets server trust certificate. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsServerTrustCertificate() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerTrustCertificatesGet.json @@ -46,9 +46,8 @@ public async Task Get_GetsServerTrustCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create server trust certificate. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateServerTrustCertificate() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerTrustCertificatesCreate.json @@ -83,9 +82,8 @@ public async Task Update_CreateServerTrustCertificate() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete server trust certificate. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteServerTrustCertificate() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerTrustCertificatesDelete.json @@ -108,7 +106,7 @@ public async Task Delete_DeleteServerTrustCertificate() // invoke the operation await managedInstanceServerTrustCertificate.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceStartStopScheduleCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceStartStopScheduleCollection.cs index 19941d9066230..5658b4c6968d5 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceStartStopScheduleCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceStartStopScheduleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceStartStopScheduleCollection { - // Lists the managed instance's Start/Stop schedules. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsTheManagedInstanceSStartStopSchedules() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/StartStopManagedInstanceScheduleList.json @@ -49,12 +49,11 @@ public async Task GetAll_ListsTheManagedInstanceSStartStopSchedules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the managed instance's Start/Stop schedule. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheManagedInstanceSStartStopSchedule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/StartStopManagedInstanceScheduleGet.json @@ -87,9 +86,8 @@ public async Task Get_GetsTheManagedInstanceSStartStopSchedule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the managed instance's Start/Stop schedule. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheManagedInstanceSStartStopSchedule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/StartStopManagedInstanceScheduleGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetsTheManagedInstanceSStartStopSchedule() Console.WriteLine($"Succeeded: {result}"); } - // Gets the managed instance's Start/Stop schedule. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheManagedInstanceSStartStopSchedule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/StartStopManagedInstanceScheduleGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetsTheManagedInstanceSStartStopSchedule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetsTheManagedInstanceSStartStopSchedule() } } - // Creates or updates the managed instance's Start/Stop schedule with all optional parameters specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesTheManagedInstanceSStartStopScheduleWithAllOptionalParametersSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/StartStopManagedInstanceScheduleCreateOrUpdateMax.json @@ -206,9 +202,8 @@ public async Task CreateOrUpdate_CreatesOrUpdatesTheManagedInstanceSStartStopSch Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates the managed instance's Start/Stop schedule with no optional parameters specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesTheManagedInstanceSStartStopScheduleWithNoOptionalParametersSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/StartStopManagedInstanceScheduleCreateOrUpdateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceStartStopScheduleResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceStartStopScheduleResource.cs index 891535bb165d2..6f0673a1d9bac 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceStartStopScheduleResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceStartStopScheduleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceStartStopScheduleResource { - // Gets the managed instance's Start/Stop schedule. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheManagedInstanceSStartStopSchedule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/StartStopManagedInstanceScheduleGet.json @@ -47,9 +47,8 @@ public async Task Get_GetsTheManagedInstanceSStartStopSchedule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates the managed instance's Start/Stop schedule with all optional parameters specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesOrUpdatesTheManagedInstanceSStartStopScheduleWithAllOptionalParametersSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/StartStopManagedInstanceScheduleCreateOrUpdateMax.json @@ -89,9 +88,8 @@ public async Task Update_CreatesOrUpdatesTheManagedInstanceSStartStopScheduleWit Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates the managed instance's Start/Stop schedule with no optional parameters specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesOrUpdatesTheManagedInstanceSStartStopScheduleWithNoOptionalParametersSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/StartStopManagedInstanceScheduleCreateOrUpdateMin.json @@ -129,9 +127,8 @@ public async Task Update_CreatesOrUpdatesTheManagedInstanceSStartStopScheduleWit Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes the managed instance's Start/Stop schedule. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesTheManagedInstanceSStartStopSchedule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/StartStopManagedInstanceScheduleDelete.json @@ -154,7 +151,7 @@ public async Task Delete_DeletesTheManagedInstanceSStartStopSchedule() // invoke the operation await managedInstanceStartStopSchedule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceVulnerabilityAssessmentCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceVulnerabilityAssessmentCollection.cs index ce1dbbe8340a3..41fd93377a48d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceVulnerabilityAssessmentCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceVulnerabilityAssessmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceVulnerabilityAssessmentCollection { - // Get a managed instance's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAManagedInstanceSVulnerabilityAssessment() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceVulnerabilityAssessmentGet.json @@ -50,9 +50,8 @@ public async Task Get_GetAManagedInstanceSVulnerabilityAssessment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a managed instance's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAManagedInstanceSVulnerabilityAssessment() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceVulnerabilityAssessmentGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetAManagedInstanceSVulnerabilityAssessment() Console.WriteLine($"Succeeded: {result}"); } - // Get a managed instance's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAManagedInstanceSVulnerabilityAssessment() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceVulnerabilityAssessmentGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetAManagedInstanceSVulnerabilityAssessment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetAManagedInstanceSVulnerabilityAssessment() } } - // Create a managed instance's vulnerability assessment with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAManagedInstanceSVulnerabilityAssessmentWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceVulnerabilityAssessmentCreateMax.json @@ -175,9 +172,8 @@ public async Task CreateOrUpdate_CreateAManagedInstanceSVulnerabilityAssessmentW Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed instance's vulnerability assessment with minimal parameters, when storageAccountAccessKey is specified - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAManagedInstanceSVulnerabilityAssessmentWithMinimalParametersWhenStorageAccountAccessKeyIsSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceVulnerabilityAssessmentCreateStorageAccessKeyMin.json @@ -216,9 +212,8 @@ public async Task CreateOrUpdate_CreateAManagedInstanceSVulnerabilityAssessmentW Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed instance's vulnerability assessment with minimal parameters, when storageContainerSasKey is specified - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAManagedInstanceSVulnerabilityAssessmentWithMinimalParametersWhenStorageContainerSasKeyIsSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceVulnerabilityAssessmentCreateContainerSasKeyMin.json @@ -257,9 +252,8 @@ public async Task CreateOrUpdate_CreateAManagedInstanceSVulnerabilityAssessmentW Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a managed instance's vulnerability assessment policies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAManagedInstanceSVulnerabilityAssessmentPolicies() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceVulnerabilityAssessmentListByInstance.json @@ -291,7 +285,7 @@ public async Task GetAll_GetAManagedInstanceSVulnerabilityAssessmentPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceVulnerabilityAssessmentResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceVulnerabilityAssessmentResource.cs index 0d9a2888851cc..df25c2ce02300 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceVulnerabilityAssessmentResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedInstanceVulnerabilityAssessmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedInstanceVulnerabilityAssessmentResource { - // Get a managed instance's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAManagedInstanceSVulnerabilityAssessment() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceVulnerabilityAssessmentGet.json @@ -47,9 +47,8 @@ public async Task Get_GetAManagedInstanceSVulnerabilityAssessment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed instance's vulnerability assessment with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAManagedInstanceSVulnerabilityAssessmentWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceVulnerabilityAssessmentCreateMax.json @@ -95,9 +94,8 @@ public async Task Update_CreateAManagedInstanceSVulnerabilityAssessmentWithAllPa Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed instance's vulnerability assessment with minimal parameters, when storageAccountAccessKey is specified - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAManagedInstanceSVulnerabilityAssessmentWithMinimalParametersWhenStorageAccountAccessKeyIsSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceVulnerabilityAssessmentCreateStorageAccessKeyMin.json @@ -133,9 +131,8 @@ public async Task Update_CreateAManagedInstanceSVulnerabilityAssessmentWithMinim Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a managed instance's vulnerability assessment with minimal parameters, when storageContainerSasKey is specified - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAManagedInstanceSVulnerabilityAssessmentWithMinimalParametersWhenStorageContainerSasKeyIsSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceVulnerabilityAssessmentCreateContainerSasKeyMin.json @@ -171,9 +168,8 @@ public async Task Update_CreateAManagedInstanceSVulnerabilityAssessmentWithMinim Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Remove a managed instance's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RemoveAManagedInstanceSVulnerabilityAssessment() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceVulnerabilityAssessmentDelete.json @@ -196,7 +192,7 @@ public async Task Delete_RemoveAManagedInstanceSVulnerabilityAssessment() // invoke the operation await managedInstanceVulnerabilityAssessment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedLedgerDigestUploadCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedLedgerDigestUploadCollection.cs index 930345c53cee0..b2699b1d1c50b 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedLedgerDigestUploadCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedLedgerDigestUploadCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedLedgerDigestUploadCollection { - // Gets list of ledger digest upload settings on a database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsListOfLedgerDigestUploadSettingsOnADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedLedgerDigestUploadsList.json @@ -50,12 +50,11 @@ public async Task GetAll_GetsListOfLedgerDigestUploadSettingsOnADatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the current ledger digest upload configuration for a database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheCurrentLedgerDigestUploadConfigurationForADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedLedgerDigestUploadsGet.json @@ -89,9 +88,8 @@ public async Task Get_GetsTheCurrentLedgerDigestUploadConfigurationForADatabase( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the current ledger digest upload configuration for a database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheCurrentLedgerDigestUploadConfigurationForADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedLedgerDigestUploadsGet.json @@ -121,9 +119,8 @@ public async Task Exists_GetsTheCurrentLedgerDigestUploadConfigurationForADataba Console.WriteLine($"Succeeded: {result}"); } - // Gets the current ledger digest upload configuration for a database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheCurrentLedgerDigestUploadConfigurationForADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedLedgerDigestUploadsGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetsTheCurrentLedgerDigestUploadConfigurationForAD if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_GetsTheCurrentLedgerDigestUploadConfigurationForAD } } - // Enables managed ledger digest upload configuration for a database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_EnablesManagedLedgerDigestUploadConfigurationForADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedLedgerDigestUploadsEnable.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedLedgerDigestUploadResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedLedgerDigestUploadResource.cs index 1de3c045baea6..6598766419ea8 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedLedgerDigestUploadResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedLedgerDigestUploadResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedLedgerDigestUploadResource { - // Gets the current ledger digest upload configuration for a database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheCurrentLedgerDigestUploadConfigurationForADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedLedgerDigestUploadsGet.json @@ -48,9 +48,8 @@ public async Task Get_GetsTheCurrentLedgerDigestUploadConfigurationForADatabase( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Enables managed ledger digest upload configuration for a database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_EnablesManagedLedgerDigestUploadConfigurationForADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedLedgerDigestUploadsEnable.json @@ -86,9 +85,8 @@ public async Task Update_EnablesManagedLedgerDigestUploadConfigurationForADataba Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Disables uploading ledger digests for a database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Disable_DisablesUploadingLedgerDigestsForADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ManagedLedgerDigestUploadsDisable.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedRestorableDroppedDbBackupShortTermRetentionPolicyCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedRestorableDroppedDbBackupShortTermRetentionPolicyCollection.cs index 21c3df85432da..95db730de89de 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedRestorableDroppedDbBackupShortTermRetentionPolicyCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedRestorableDroppedDbBackupShortTermRetentionPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedRestorableDroppedDbBackupShortTermRetentionPolicyCollection { - // Get the short term retention policy for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheShortTermRetentionPolicyForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetManagedShortTermRetentionPolicyRestorableDropped.json @@ -51,9 +51,8 @@ public async Task Get_GetTheShortTermRetentionPolicyForTheDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the short term retention policy for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheShortTermRetentionPolicyForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetManagedShortTermRetentionPolicyRestorableDropped.json @@ -83,9 +82,8 @@ public async Task Exists_GetTheShortTermRetentionPolicyForTheDatabase() Console.WriteLine($"Succeeded: {result}"); } - // Get the short term retention policy for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheShortTermRetentionPolicyForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetManagedShortTermRetentionPolicyRestorableDropped.json @@ -115,7 +113,7 @@ public async Task GetIfExists_GetTheShortTermRetentionPolicyForTheDatabase() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_GetTheShortTermRetentionPolicyForTheDatabase() } } - // Update the short term retention policy for the restorable dropped database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateTheShortTermRetentionPolicyForTheRestorableDroppedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/UpdateManagedShortTermRetentionPolicyRestorableDropped.json @@ -168,9 +165,8 @@ public async Task CreateOrUpdate_UpdateTheShortTermRetentionPolicyForTheRestorab Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the short term retention policy list for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetTheShortTermRetentionPolicyListForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetListManagedShortTermRetentionPolicyRestorableDropped.json @@ -203,7 +199,7 @@ public async Task GetAll_GetTheShortTermRetentionPolicyListForTheDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedRestorableDroppedDbBackupShortTermRetentionPolicyResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedRestorableDroppedDbBackupShortTermRetentionPolicyResource.cs index 7ffd62edcc107..8150e68afed2f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedRestorableDroppedDbBackupShortTermRetentionPolicyResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedRestorableDroppedDbBackupShortTermRetentionPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedRestorableDroppedDbBackupShortTermRetentionPolicyResource { - // Get the short term retention policy for the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheShortTermRetentionPolicyForTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetManagedShortTermRetentionPolicyRestorableDropped.json @@ -48,9 +48,8 @@ public async Task Get_GetTheShortTermRetentionPolicyForTheDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update the short term retention policy for the restorable dropped database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateTheShortTermRetentionPolicyForTheRestorableDroppedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/UpdateManagedShortTermRetentionPolicyRestorableDropped.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedServerDnsAliasCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedServerDnsAliasCollection.cs index 7f88e4a174771..d681defa50cfc 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedServerDnsAliasCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedServerDnsAliasCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedServerDnsAliasCollection { - // List managed server DNS aliases - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListManagedServerDNSAliases() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ManagedServerDnsAliasList.json @@ -49,12 +49,11 @@ public async Task GetAll_ListManagedServerDNSAliases() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get managed server DNS alias - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagedServerDNSAlias() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ManagedServerDnsAliasGet.json @@ -87,9 +86,8 @@ public async Task Get_GetManagedServerDNSAlias() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get managed server DNS alias - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetManagedServerDNSAlias() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ManagedServerDnsAliasGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetManagedServerDNSAlias() Console.WriteLine($"Succeeded: {result}"); } - // Get managed server DNS alias - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetManagedServerDNSAlias() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ManagedServerDnsAliasGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetManagedServerDNSAlias() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetManagedServerDNSAlias() } } - // Create managed server DNS alias - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateManagedServerDNSAlias() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ManagedServerDnsAliasCreateOrUpdate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedServerDnsAliasResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedServerDnsAliasResource.cs index 30e4f1b2fc22b..59533e7368cef 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedServerDnsAliasResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedServerDnsAliasResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedServerDnsAliasResource { - // Get managed server DNS alias - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagedServerDNSAlias() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ManagedServerDnsAliasGet.json @@ -47,9 +47,8 @@ public async Task Get_GetManagedServerDNSAlias() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create managed server DNS alias - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateManagedServerDNSAlias() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ManagedServerDnsAliasCreateOrUpdate.json @@ -81,9 +80,8 @@ public async Task Update_CreateManagedServerDNSAlias() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete managed server DNS alias - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteManagedServerDNSAlias() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ManagedServerDnsAliasDelete.json @@ -106,12 +104,11 @@ public async Task Delete_DeleteManagedServerDNSAlias() // invoke the operation await managedServerDnsAlias.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Acquire managed server DNS alias. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Acquire_AcquireManagedServerDNSAlias() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ManagedServerDnsAliasAcquire.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedServerSecurityAlertPolicyCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedServerSecurityAlertPolicyCollection.cs index 08d079f2a4c2f..707e6186120eb 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedServerSecurityAlertPolicyCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedServerSecurityAlertPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedServerSecurityAlertPolicyCollection { - // Get a managed server's threat detection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAManagedServerSThreatDetectionPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedServerSecurityAlertGet.json @@ -50,9 +50,8 @@ public async Task Get_GetAManagedServerSThreatDetectionPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a managed server's threat detection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAManagedServerSThreatDetectionPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedServerSecurityAlertGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetAManagedServerSThreatDetectionPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Get a managed server's threat detection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAManagedServerSThreatDetectionPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedServerSecurityAlertGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetAManagedServerSThreatDetectionPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetAManagedServerSThreatDetectionPolicy() } } - // Update a managed server's threat detection policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAManagedServerSThreatDetectionPolicyWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedServerSecurityAlertCreateMax.json @@ -176,9 +173,8 @@ public async Task CreateOrUpdate_UpdateAManagedServerSThreatDetectionPolicyWithA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a managed server's threat detection policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAManagedServerSThreatDetectionPolicyWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedServerSecurityAlertCreateMin.json @@ -216,9 +212,8 @@ public async Task CreateOrUpdate_UpdateAManagedServerSThreatDetectionPolicyWithM Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the managed server's threat detection policies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetTheManagedServerSThreatDetectionPolicies() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedServerSecurityAlertListByInstance.json @@ -250,7 +245,7 @@ public async Task GetAll_GetTheManagedServerSThreatDetectionPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedServerSecurityAlertPolicyResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedServerSecurityAlertPolicyResource.cs index f9f58923a13d8..cc5e6c2718495 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedServerSecurityAlertPolicyResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedServerSecurityAlertPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedServerSecurityAlertPolicyResource { - // Get a managed server's threat detection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAManagedServerSThreatDetectionPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedServerSecurityAlertGet.json @@ -47,9 +47,8 @@ public async Task Get_GetAManagedServerSThreatDetectionPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a managed server's threat detection policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAManagedServerSThreatDetectionPolicyWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedServerSecurityAlertCreateMax.json @@ -96,9 +95,8 @@ public async Task Update_UpdateAManagedServerSThreatDetectionPolicyWithAllParame Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a managed server's threat detection policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAManagedServerSThreatDetectionPolicyWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedServerSecurityAlertCreateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedTransparentDataEncryptionCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedTransparentDataEncryptionCollection.cs index 18b9b13fbb188..3c8c22d45acdc 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedTransparentDataEncryptionCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedTransparentDataEncryptionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedTransparentDataEncryptionCollection { - // Get a database's transparent data encryption - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADatabaseSTransparentDataEncryption() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedTransparentDataEncryptionGet.json @@ -51,9 +51,8 @@ public async Task Get_GetADatabaseSTransparentDataEncryption() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a database's transparent data encryption - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADatabaseSTransparentDataEncryption() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedTransparentDataEncryptionGet.json @@ -83,9 +82,8 @@ public async Task Exists_GetADatabaseSTransparentDataEncryption() Console.WriteLine($"Succeeded: {result}"); } - // Get a database's transparent data encryption - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADatabaseSTransparentDataEncryption() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedTransparentDataEncryptionGet.json @@ -115,7 +113,7 @@ public async Task GetIfExists_GetADatabaseSTransparentDataEncryption() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_GetADatabaseSTransparentDataEncryption() } } - // Update a database's Transparent Data Encryption state with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateADatabaseSTransparentDataEncryptionStateWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedTransparentDataEncryptionUpdate.json @@ -168,9 +165,8 @@ public async Task CreateOrUpdate_UpdateADatabaseSTransparentDataEncryptionStateW Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a list of the database's transparent data encryptions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAListOfTheDatabaseSTransparentDataEncryptions() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedTransparentDataEncryptionList.json @@ -203,7 +199,7 @@ public async Task GetAll_GetAListOfTheDatabaseSTransparentDataEncryptions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedTransparentDataEncryptionResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedTransparentDataEncryptionResource.cs index 69c88ce11040d..0c720f9eafbd9 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedTransparentDataEncryptionResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ManagedTransparentDataEncryptionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ManagedTransparentDataEncryptionResource { - // Get a database's transparent data encryption - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADatabaseSTransparentDataEncryption() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedTransparentDataEncryptionGet.json @@ -48,9 +48,8 @@ public async Task Get_GetADatabaseSTransparentDataEncryption() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a database's Transparent Data Encryption state with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateADatabaseSTransparentDataEncryptionStateWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedTransparentDataEncryptionUpdate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_OutboundFirewallRuleCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_OutboundFirewallRuleCollection.cs index 86e44076128de..d03ac52527836 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_OutboundFirewallRuleCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_OutboundFirewallRuleCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_OutboundFirewallRuleCollection { - // Gets outbound firewall rule. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsOutboundFirewallRule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/OutboundFirewallRuleGet.json @@ -49,9 +49,8 @@ public async Task Get_GetsOutboundFirewallRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets outbound firewall rule. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsOutboundFirewallRule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/OutboundFirewallRuleGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetsOutboundFirewallRule() Console.WriteLine($"Succeeded: {result}"); } - // Gets outbound firewall rule. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsOutboundFirewallRule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/OutboundFirewallRuleGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetsOutboundFirewallRule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetsOutboundFirewallRule() } } - // Approve or reject a outbound firewall rule with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApproveOrRejectAOutboundFirewallRuleWithAGivenName() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/OutboundFirewallRuleCreate.json @@ -160,9 +157,8 @@ public async Task CreateOrUpdate_ApproveOrRejectAOutboundFirewallRuleWithAGivenN Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets list of outbound firewall rules on a server. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsListOfOutboundFirewallRulesOnAServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/OutboundFirewallRuleList.json @@ -194,7 +190,7 @@ public async Task GetAll_GetsListOfOutboundFirewallRulesOnAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_OutboundFirewallRuleResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_OutboundFirewallRuleResource.cs index 2302826454192..56bb00736c0fa 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_OutboundFirewallRuleResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_OutboundFirewallRuleResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_OutboundFirewallRuleResource { - // Gets outbound firewall rule. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsOutboundFirewallRule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/OutboundFirewallRuleGet.json @@ -46,9 +46,8 @@ public async Task Get_GetsOutboundFirewallRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Approve or reject a outbound firewall rule with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApproveOrRejectAOutboundFirewallRuleWithAGivenName() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/OutboundFirewallRuleCreate.json @@ -80,9 +79,8 @@ public async Task Update_ApproveOrRejectAOutboundFirewallRuleWithAGivenName() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a outbound firewall rule with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAOutboundFirewallRuleWithAGivenName() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/OutboundFirewallRuleDelete.json @@ -105,7 +103,7 @@ public async Task Delete_DeletesAOutboundFirewallRuleWithAGivenName() // invoke the operation await outboundFirewallRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RecommendedActionCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RecommendedActionCollection.cs index dd8df0915a28b..623ab20bafebb 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RecommendedActionCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RecommendedActionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_RecommendedActionCollection { - // List of database recommended actions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListOfDatabaseRecommendedActions() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseRecommendedActionList.json @@ -50,12 +50,11 @@ public async Task GetAll_ListOfDatabaseRecommendedActions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get database recommended action - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDatabaseRecommendedAction() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseRecommendedActionGet.json @@ -90,9 +89,8 @@ public async Task Get_GetDatabaseRecommendedAction() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get database recommended action - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDatabaseRecommendedAction() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseRecommendedActionGet.json @@ -123,9 +121,8 @@ public async Task Exists_GetDatabaseRecommendedAction() Console.WriteLine($"Succeeded: {result}"); } - // Get database recommended action - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDatabaseRecommendedAction() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseRecommendedActionGet.json @@ -156,7 +153,7 @@ public async Task GetIfExists_GetDatabaseRecommendedAction() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RecommendedActionResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RecommendedActionResource.cs index d17d595a19ce6..2d16086acd63e 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RecommendedActionResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RecommendedActionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_RecommendedActionResource { - // Get database recommended action - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDatabaseRecommendedAction() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseRecommendedActionGet.json @@ -49,9 +49,8 @@ public async Task Get_GetDatabaseRecommendedAction() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update database recommended action - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateDatabaseRecommendedAction() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseRecommendedActionUpdate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RecoverableDatabaseCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RecoverableDatabaseCollection.cs index 9691143b77c70..3d588186c2caf 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RecoverableDatabaseCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RecoverableDatabaseCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_RecoverableDatabaseCollection { - // Get list of recoverable databases. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetListOfRecoverableDatabases() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/RecoverableDatabaseList.json @@ -48,12 +48,11 @@ public async Task GetAll_GetListOfRecoverableDatabases() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a recoverable database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARecoverableDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/RecoverableDatabaseGet.json @@ -86,9 +85,8 @@ public async Task Get_GetARecoverableDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a recoverable database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetARecoverableDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/RecoverableDatabaseGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetARecoverableDatabase() Console.WriteLine($"Succeeded: {result}"); } - // Get a recoverable database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetARecoverableDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/RecoverableDatabaseGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetARecoverableDatabase() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GetARecoverableDatabase() } } - // Gets a recoverable database with expand equals keys. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsARecoverableDatabaseWithExpandEqualsKeys() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/RecoverableDatabaseGetWithExpandEqualsKeys.json @@ -196,9 +192,8 @@ public async Task Get_GetsARecoverableDatabaseWithExpandEqualsKeys() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a recoverable database with expand equals keys. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsARecoverableDatabaseWithExpandEqualsKeys() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/RecoverableDatabaseGetWithExpandEqualsKeys.json @@ -228,9 +223,8 @@ public async Task Exists_GetsARecoverableDatabaseWithExpandEqualsKeys() Console.WriteLine($"Succeeded: {result}"); } - // Gets a recoverable database with expand equals keys. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsARecoverableDatabaseWithExpandEqualsKeys() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/RecoverableDatabaseGetWithExpandEqualsKeys.json @@ -260,7 +254,7 @@ public async Task GetIfExists_GetsARecoverableDatabaseWithExpandEqualsKeys() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RecoverableDatabaseResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RecoverableDatabaseResource.cs index 69ec5bfac9041..57c0f2ef52f6c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RecoverableDatabaseResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RecoverableDatabaseResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_RecoverableDatabaseResource { - // Get a recoverable database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetARecoverableDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/RecoverableDatabaseGet.json @@ -46,9 +46,8 @@ public async Task Get_GetARecoverableDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a recoverable database with expand equals keys. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsARecoverableDatabaseWithExpandEqualsKeys() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/RecoverableDatabaseGetWithExpandEqualsKeys.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RecoverableManagedDatabaseCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RecoverableManagedDatabaseCollection.cs index e9b8c16331f36..9d4a297397c47 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RecoverableManagedDatabaseCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RecoverableManagedDatabaseCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_RecoverableManagedDatabaseCollection { - // List recoverable databases by managed instances - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRecoverableDatabasesByManagedInstances() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ListRecoverableManagedDatabasesByServer.json @@ -48,12 +48,11 @@ public async Task GetAll_ListRecoverableDatabasesByManagedInstances() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a recoverable databases by managed instances - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsARecoverableDatabasesByManagedInstances() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetRecoverableManagedDatabase.json @@ -86,9 +85,8 @@ public async Task Get_GetsARecoverableDatabasesByManagedInstances() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a recoverable databases by managed instances - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsARecoverableDatabasesByManagedInstances() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetRecoverableManagedDatabase.json @@ -117,9 +115,8 @@ public async Task Exists_GetsARecoverableDatabasesByManagedInstances() Console.WriteLine($"Succeeded: {result}"); } - // Gets a recoverable databases by managed instances - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsARecoverableDatabasesByManagedInstances() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetRecoverableManagedDatabase.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetsARecoverableDatabasesByManagedInstances() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RecoverableManagedDatabaseResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RecoverableManagedDatabaseResource.cs index 01908abdf5ff0..71f7c13c74f02 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RecoverableManagedDatabaseResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RecoverableManagedDatabaseResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_RecoverableManagedDatabaseResource { - // Gets a recoverable databases by managed instances - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsARecoverableDatabasesByManagedInstances() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetRecoverableManagedDatabase.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ResourceGroupLongTermRetentionBackupCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ResourceGroupLongTermRetentionBackupCollection.cs index f3328f223857f..984d4ffff97b0 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ResourceGroupLongTermRetentionBackupCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ResourceGroupLongTermRetentionBackupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ResourceGroupLongTermRetentionBackupCollection { - // Get all long term retention backups under the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllLongTermRetentionBackupsUnderTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByDatabase.json @@ -51,12 +51,11 @@ public async Task GetAll_GetAllLongTermRetentionBackupsUnderTheDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the long term retention backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheLongTermRetentionBackup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupGet.json @@ -91,9 +90,8 @@ public async Task Get_GetTheLongTermRetentionBackup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the long term retention backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheLongTermRetentionBackup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupGet.json @@ -124,9 +122,8 @@ public async Task Exists_GetTheLongTermRetentionBackup() Console.WriteLine($"Succeeded: {result}"); } - // Get the long term retention backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheLongTermRetentionBackup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupGet.json @@ -157,7 +154,7 @@ public async Task GetIfExists_GetTheLongTermRetentionBackup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ResourceGroupLongTermRetentionBackupResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ResourceGroupLongTermRetentionBackupResource.cs index 212a77c921483..492fe7eb6a892 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ResourceGroupLongTermRetentionBackupResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ResourceGroupLongTermRetentionBackupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ResourceGroupLongTermRetentionBackupResource { - // Get the long term retention backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheLongTermRetentionBackup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupGet.json @@ -49,9 +49,8 @@ public async Task Get_GetTheLongTermRetentionBackup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete the long term retention backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteTheLongTermRetentionBackup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupDelete.json @@ -76,12 +75,11 @@ public async Task Delete_DeleteTheLongTermRetentionBackup() // invoke the operation await resourceGroupLongTermRetentionBackup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Change the long term retention backup storage access tier for a resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ChangeAccessTierByResourceGroup_ChangeTheLongTermRetentionBackupStorageAccessTierForAResourceGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ResourceGroupBasedChangeLongTermRetentionBackupAccessTier.json @@ -115,9 +113,8 @@ public async Task ChangeAccessTierByResourceGroup_ChangeTheLongTermRetentionBack Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Copy the long term retention backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CopyByResourceGroup_CopyTheLongTermRetentionBackup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupCopy.json @@ -152,9 +149,8 @@ public async Task CopyByResourceGroup_CopyTheLongTermRetentionBackup() Console.WriteLine($"Succeeded: {result}"); } - // Update the long term retention backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateByResourceGroup_UpdateTheLongTermRetentionBackup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupUpdate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ResourceGroupLongTermRetentionManagedInstanceBackupCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ResourceGroupLongTermRetentionManagedInstanceBackupCollection.cs index a9d594c4cfff9..86f01bfd198cb 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ResourceGroupLongTermRetentionManagedInstanceBackupCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ResourceGroupLongTermRetentionManagedInstanceBackupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ResourceGroupLongTermRetentionManagedInstanceBackupCollection { - // Get the long term retention backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheLongTermRetentionBackup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/ResourceGroupBasedManagedInstanceLongTermRetentionBackupGet.json @@ -52,9 +52,8 @@ public async Task Get_GetTheLongTermRetentionBackup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the long term retention backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheLongTermRetentionBackup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/ResourceGroupBasedManagedInstanceLongTermRetentionBackupGet.json @@ -85,9 +84,8 @@ public async Task Exists_GetTheLongTermRetentionBackup() Console.WriteLine($"Succeeded: {result}"); } - // Get the long term retention backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheLongTermRetentionBackup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/ResourceGroupBasedManagedInstanceLongTermRetentionBackupGet.json @@ -118,7 +116,7 @@ public async Task GetIfExists_GetTheLongTermRetentionBackup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -130,9 +128,8 @@ public async Task GetIfExists_GetTheLongTermRetentionBackup() } } - // Get all long term retention backups under the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllLongTermRetentionBackupsUnderTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/ResourceGroupBasedManagedInstanceLongTermRetentionBackupListByDatabase.json @@ -166,7 +163,7 @@ public async Task GetAll_GetAllLongTermRetentionBackupsUnderTheDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ResourceGroupLongTermRetentionManagedInstanceBackupResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ResourceGroupLongTermRetentionManagedInstanceBackupResource.cs index 229a2876d3dbd..5abe165659873 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ResourceGroupLongTermRetentionManagedInstanceBackupResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ResourceGroupLongTermRetentionManagedInstanceBackupResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ResourceGroupLongTermRetentionManagedInstanceBackupResource { - // Get the long term retention backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheLongTermRetentionBackup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/ResourceGroupBasedManagedInstanceLongTermRetentionBackupGet.json @@ -48,9 +48,8 @@ public async Task Get_GetTheLongTermRetentionBackup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete the long term retention backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteTheLongTermRetentionBackup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/ResourceGroupBasedManagedInstanceLongTermRetentionBackupDelete.json @@ -75,7 +74,7 @@ public async Task Delete_DeleteTheLongTermRetentionBackup() // invoke the operation await resourceGroupLongTermRetentionManagedInstanceBackup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs index 0716c33eb8599..4b0c9611cad3b 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ResourceGroupResourceExtensions.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ResourceGroupResourceExtensions { - // Get all long term retention backups under the managed instance. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLongTermRetentionManagedInstanceBackupsWithInstance_GetAllLongTermRetentionBackupsUnderTheManagedInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/ResourceGroupBasedManagedInstanceLongTermRetentionBackupListByInstance.json @@ -44,12 +44,11 @@ public async Task GetLongTermRetentionManagedInstanceBackupsWithInstance_GetAllL Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get all long term retention backups under the location. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLongTermRetentionManagedInstanceBackupsWithLocation_GetAllLongTermRetentionBackupsUnderTheLocation() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/ResourceGroupBasedManagedInstanceLongTermRetentionBackupListByLocation.json @@ -75,12 +74,11 @@ public async Task GetLongTermRetentionManagedInstanceBackupsWithLocation_GetAllL Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get all long term retention backups under the location based on resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLongTermRetentionBackupsWithLocation_GetAllLongTermRetentionBackupsUnderTheLocationBasedOnResourceGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByLocation.json @@ -106,12 +104,11 @@ public async Task GetLongTermRetentionBackupsWithLocation_GetAllLongTermRetentio Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get all long term retention backups under the server based on resource group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLongTermRetentionBackupsWithServer_GetAllLongTermRetentionBackupsUnderTheServerBasedOnResourceGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ResourceGroupBasedLongTermRetentionBackupListByServer.json @@ -138,7 +135,7 @@ public async Task GetLongTermRetentionBackupsWithServer_GetAllLongTermRetentionB Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RestorableDroppedDatabaseCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RestorableDroppedDatabaseCollection.cs index 2aeee1d7b20f4..eba72b2694744 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RestorableDroppedDatabaseCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RestorableDroppedDatabaseCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_RestorableDroppedDatabaseCollection { - // Gets a list of restorable dropped databases. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsAListOfRestorableDroppedDatabases() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/ListRestorableDroppedDatabasesByServer.json @@ -48,12 +48,11 @@ public async Task GetAll_GetsAListOfRestorableDroppedDatabases() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a restorable dropped database with expand equals keys. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsARestorableDroppedDatabaseWithExpandEqualsKeys() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/GetRestorableDroppedDatabaseWithExpandEqualsKeys.json @@ -87,9 +86,8 @@ public async Task Get_GetsARestorableDroppedDatabaseWithExpandEqualsKeys() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a restorable dropped database with expand equals keys. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsARestorableDroppedDatabaseWithExpandEqualsKeys() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/GetRestorableDroppedDatabaseWithExpandEqualsKeys.json @@ -119,9 +117,8 @@ public async Task Exists_GetsARestorableDroppedDatabaseWithExpandEqualsKeys() Console.WriteLine($"Succeeded: {result}"); } - // Gets a restorable dropped database with expand equals keys. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsARestorableDroppedDatabaseWithExpandEqualsKeys() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/GetRestorableDroppedDatabaseWithExpandEqualsKeys.json @@ -151,7 +148,7 @@ public async Task GetIfExists_GetsARestorableDroppedDatabaseWithExpandEqualsKeys if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -163,9 +160,8 @@ public async Task GetIfExists_GetsARestorableDroppedDatabaseWithExpandEqualsKeys } } - // Gets a restorable dropped database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsARestorableDroppedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/GetRestorableDroppedDatabase.json @@ -198,9 +194,8 @@ public async Task Get_GetsARestorableDroppedDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a restorable dropped database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsARestorableDroppedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/GetRestorableDroppedDatabase.json @@ -229,9 +224,8 @@ public async Task Exists_GetsARestorableDroppedDatabase() Console.WriteLine($"Succeeded: {result}"); } - // Gets a restorable dropped database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsARestorableDroppedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/GetRestorableDroppedDatabase.json @@ -260,7 +254,7 @@ public async Task GetIfExists_GetsARestorableDroppedDatabase() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RestorableDroppedDatabaseResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RestorableDroppedDatabaseResource.cs index 971e4eacfb950..f9b65e1f03d1f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RestorableDroppedDatabaseResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RestorableDroppedDatabaseResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_RestorableDroppedDatabaseResource { - // Gets a restorable dropped database with expand equals keys. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsARestorableDroppedDatabaseWithExpandEqualsKeys() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/GetRestorableDroppedDatabaseWithExpandEqualsKeys.json @@ -47,9 +47,8 @@ public async Task Get_GetsARestorableDroppedDatabaseWithExpandEqualsKeys() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a restorable dropped database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsARestorableDroppedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/GetRestorableDroppedDatabase.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RestorableDroppedManagedDatabaseCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RestorableDroppedManagedDatabaseCollection.cs index 4df56d821b72e..8aa2d25b9826a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RestorableDroppedManagedDatabaseCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RestorableDroppedManagedDatabaseCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_RestorableDroppedManagedDatabaseCollection { - // List restorable dropped databases by managed instances - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListRestorableDroppedDatabasesByManagedInstances() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/RestorableDroppedManagedDatabaseListByManagedInstance.json @@ -48,12 +48,11 @@ public async Task GetAll_ListRestorableDroppedDatabasesByManagedInstances() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a restorable dropped managed database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsARestorableDroppedManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/GetRestorableDroppedManagedDatabase.json @@ -86,9 +85,8 @@ public async Task Get_GetsARestorableDroppedManagedDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a restorable dropped managed database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsARestorableDroppedManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/GetRestorableDroppedManagedDatabase.json @@ -117,9 +115,8 @@ public async Task Exists_GetsARestorableDroppedManagedDatabase() Console.WriteLine($"Succeeded: {result}"); } - // Gets a restorable dropped managed database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsARestorableDroppedManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/GetRestorableDroppedManagedDatabase.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetsARestorableDroppedManagedDatabase() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RestorableDroppedManagedDatabaseResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RestorableDroppedManagedDatabaseResource.cs index cd623a0e457ee..839993923d84a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RestorableDroppedManagedDatabaseResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_RestorableDroppedManagedDatabaseResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_RestorableDroppedManagedDatabaseResource { - // Gets a restorable dropped managed database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsARestorableDroppedManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/GetRestorableDroppedManagedDatabase.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ServerAdvancedThreatProtectionCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ServerAdvancedThreatProtectionCollection.cs index 3319d77ce48a1..66bb0a414fae4 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ServerAdvancedThreatProtectionCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ServerAdvancedThreatProtectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ServerAdvancedThreatProtectionCollection { - // List the server's Advanced Threat Protection settings. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTheServerSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerAdvancedThreatProtectionSettingsListByServer.json @@ -49,12 +49,11 @@ public async Task GetAll_ListTheServerSAdvancedThreatProtectionSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a server's Advanced Threat Protection settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerAdvancedThreatProtectionSettingsGet.json @@ -87,9 +86,8 @@ public async Task Get_GetAServerSAdvancedThreatProtectionSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a server's Advanced Threat Protection settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAServerSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerAdvancedThreatProtectionSettingsGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetAServerSAdvancedThreatProtectionSettings() Console.WriteLine($"Succeeded: {result}"); } - // Get a server's Advanced Threat Protection settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAServerSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerAdvancedThreatProtectionSettingsGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetAServerSAdvancedThreatProtectionSettings() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetAServerSAdvancedThreatProtectionSettings() } } - // Update a server's Advanced Threat Protection settings with all parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAServerSAdvancedThreatProtectionSettingsWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerAdvancedThreatProtectionSettingsCreateMax.json @@ -201,9 +197,8 @@ public async Task CreateOrUpdate_UpdateAServerSAdvancedThreatProtectionSettingsW Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a server's Advanced Threat Protection settings with minimal parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAServerSAdvancedThreatProtectionSettingsWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerAdvancedThreatProtectionSettingsCreateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ServerAdvancedThreatProtectionResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ServerAdvancedThreatProtectionResource.cs index fd7a1b5b33eda..0fe69d30bbea6 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ServerAdvancedThreatProtectionResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ServerAdvancedThreatProtectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ServerAdvancedThreatProtectionResource { - // Get a server's Advanced Threat Protection settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerSAdvancedThreatProtectionSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerAdvancedThreatProtectionSettingsGet.json @@ -47,9 +47,8 @@ public async Task Get_GetAServerSAdvancedThreatProtectionSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a server's Advanced Threat Protection settings with all parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAServerSAdvancedThreatProtectionSettingsWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerAdvancedThreatProtectionSettingsCreateMax.json @@ -84,9 +83,8 @@ public async Task Update_UpdateAServerSAdvancedThreatProtectionSettingsWithAllPa Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a server's Advanced Threat Protection settings with minimal parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAServerSAdvancedThreatProtectionSettingsWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerAdvancedThreatProtectionSettingsCreateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ServiceObjectiveCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ServiceObjectiveCollection.cs index 740d7dbf45fa9..6bf5b7fbc0bd8 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ServiceObjectiveCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ServiceObjectiveCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ServiceObjectiveCollection { - // Get a service objective - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServiceObjective() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveGet.json @@ -49,9 +49,8 @@ public async Task Get_GetAServiceObjective() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a service objective - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAServiceObjective() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetAServiceObjective() Console.WriteLine($"Succeeded: {result}"); } - // Get a service objective - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAServiceObjective() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetAServiceObjective() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetAServiceObjective() } } - // List service objectives - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListServiceObjectives() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveList.json @@ -157,7 +154,7 @@ public async Task GetAll_ListServiceObjectives() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ServiceObjectiveResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ServiceObjectiveResource.cs index b4c424a3cf08f..d44703c71729b 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ServiceObjectiveResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_ServiceObjectiveResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_ServiceObjectiveResource { - // Get a service objective - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServiceObjective() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServiceObjectiveGet.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlAgentConfigurationResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlAgentConfigurationResource.cs index 56bf6601efd4f..46704dfd74dcc 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlAgentConfigurationResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlAgentConfigurationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlAgentConfigurationResource { - // Gets current instance sql agent configuration. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsCurrentInstanceSqlAgentConfiguration() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SqlAgentConfigurationGet.json @@ -46,9 +46,8 @@ public async Task Get_GetsCurrentInstanceSqlAgentConfiguration() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Puts new sql agent configuration to instance. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PutsNewSqlAgentConfigurationToInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SqlAgentConfigurationPut.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseAdvisorCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseAdvisorCollection.cs index 2eb0b7d4b7717..b16a23187e2d5 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseAdvisorCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseAdvisorCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseAdvisorCollection { - // List of database advisors - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListOfDatabaseAdvisors() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseAdvisorList.json @@ -49,12 +49,11 @@ public async Task GetAll_ListOfDatabaseAdvisors() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List of database recommended actions for all advisors - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListOfDatabaseRecommendedActionsForAllAdvisors() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseRecommendedActionListExpand.json @@ -88,12 +87,11 @@ public async Task GetAll_ListOfDatabaseRecommendedActionsForAllAdvisors() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get database advisor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDatabaseAdvisor() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseAdvisorGet.json @@ -127,9 +125,8 @@ public async Task Get_GetDatabaseAdvisor() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get database advisor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDatabaseAdvisor() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseAdvisorGet.json @@ -159,9 +156,8 @@ public async Task Exists_GetDatabaseAdvisor() Console.WriteLine($"Succeeded: {result}"); } - // Get database advisor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDatabaseAdvisor() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseAdvisorGet.json @@ -191,7 +187,7 @@ public async Task GetIfExists_GetDatabaseAdvisor() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseAdvisorResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseAdvisorResource.cs index 4005e51f74b8a..ef4910dfef575 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseAdvisorResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseAdvisorResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseAdvisorResource { - // Get database advisor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDatabaseAdvisor() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseAdvisorGet.json @@ -48,9 +48,8 @@ public async Task Get_GetDatabaseAdvisor() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update database advisor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateDatabaseAdvisor() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseAdvisorUpdate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseAutomaticTuningResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseAutomaticTuningResource.cs index 029f905d8479c..2b17b08688cbb 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseAutomaticTuningResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseAutomaticTuningResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseAutomaticTuningResource { - // Get a database's automatic tuning settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADatabaseSAutomaticTuningSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseAutomaticTuningGet.json @@ -47,9 +47,8 @@ public async Task Get_GetADatabaseSAutomaticTuningSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates database automatic tuning settings with all properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesDatabaseAutomaticTuningSettingsWithAllProperties() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseAutomaticTuningUpdateMax.json @@ -98,9 +97,8 @@ public async Task Update_UpdatesDatabaseAutomaticTuningSettingsWithAllProperties Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates database automatic tuning settings with minimal properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesDatabaseAutomaticTuningSettingsWithMinimalProperties() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseAutomaticTuningUpdateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseBlobAuditingPolicyCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseBlobAuditingPolicyCollection.cs index c5845c34802cc..d910b4b23f528 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseBlobAuditingPolicyCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseBlobAuditingPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseBlobAuditingPolicyCollection { - // List audit settings of a database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAuditSettingsOfADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DatabaseAuditingSettingsList.json @@ -50,12 +50,11 @@ public async Task GetAll_ListAuditSettingsOfADatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a database's blob auditing policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADatabaseSBlobAuditingPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DatabaseBlobAuditingGet.json @@ -89,9 +88,8 @@ public async Task Get_GetADatabaseSBlobAuditingPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a database's blob auditing policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADatabaseSBlobAuditingPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DatabaseBlobAuditingGet.json @@ -121,9 +119,8 @@ public async Task Exists_GetADatabaseSBlobAuditingPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Get a database's blob auditing policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADatabaseSBlobAuditingPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DatabaseBlobAuditingGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetADatabaseSBlobAuditingPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_GetADatabaseSBlobAuditingPolicy() } } - // Create or update a database's azure monitor auditing policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateADatabaseSAzureMonitorAuditingPolicyWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json @@ -207,9 +203,8 @@ public async Task CreateOrUpdate_CreateOrUpdateADatabaseSAzureMonitorAuditingPol Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a database's blob auditing policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateADatabaseSBlobAuditingPolicyWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DatabaseBlobAuditingCreateMax.json @@ -259,9 +254,8 @@ public async Task CreateOrUpdate_CreateOrUpdateADatabaseSBlobAuditingPolicyWithA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a database's blob auditing policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateADatabaseSBlobAuditingPolicyWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DatabaseBlobAuditingCreateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseBlobAuditingPolicyResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseBlobAuditingPolicyResource.cs index abe853cd60eee..e02a13be35b3a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseBlobAuditingPolicyResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseBlobAuditingPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseBlobAuditingPolicyResource { - // Get a database's blob auditing policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADatabaseSBlobAuditingPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DatabaseBlobAuditingGet.json @@ -48,9 +48,8 @@ public async Task Get_GetADatabaseSBlobAuditingPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a database's azure monitor auditing policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateADatabaseSAzureMonitorAuditingPolicyWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DatabaseAzureMonitorAuditingCreateMin.json @@ -87,9 +86,8 @@ public async Task Update_CreateOrUpdateADatabaseSAzureMonitorAuditingPolicyWithM Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a database's blob auditing policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateADatabaseSBlobAuditingPolicyWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DatabaseBlobAuditingCreateMax.json @@ -136,9 +134,8 @@ public async Task Update_CreateOrUpdateADatabaseSBlobAuditingPolicyWithAllParame Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a database's blob auditing policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateADatabaseSBlobAuditingPolicyWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/DatabaseBlobAuditingCreateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseCollection.cs index 2d2166b6a7066..ea5d6a69d19e6 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Models; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseCollection { - // Gets a list of databases configured with enclave type. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsAListOfDatabasesConfiguredWithEnclaveType() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ListVCoreDatabasesEnclaveTypeByServer.json @@ -50,12 +50,11 @@ public async Task GetAll_GetsAListOfDatabasesConfiguredWithEnclaveType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a list of databases. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsAListOfDatabases() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ListVCoreDatabasesByServer.json @@ -87,12 +86,11 @@ public async Task GetAll_GetsAListOfDatabases() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a database configured with Default enclave type. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatabaseConfiguredWithDefaultEnclaveType() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/GetVCoreDatabaseDefaultEnclave.json @@ -125,9 +123,8 @@ public async Task Get_GetsADatabaseConfiguredWithDefaultEnclaveType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a database configured with Default enclave type. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsADatabaseConfiguredWithDefaultEnclaveType() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/GetVCoreDatabaseDefaultEnclave.json @@ -156,9 +153,8 @@ public async Task Exists_GetsADatabaseConfiguredWithDefaultEnclaveType() Console.WriteLine($"Succeeded: {result}"); } - // Gets a database configured with Default enclave type. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsADatabaseConfiguredWithDefaultEnclaveType() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/GetVCoreDatabaseDefaultEnclave.json @@ -187,7 +183,7 @@ public async Task GetIfExists_GetsADatabaseConfiguredWithDefaultEnclaveType() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -199,9 +195,8 @@ public async Task GetIfExists_GetsADatabaseConfiguredWithDefaultEnclaveType() } } - // Gets a database configured with VBS enclave type. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatabaseConfiguredWithVBSEnclaveType() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/GetVCoreDatabaseVBSEnclave.json @@ -234,9 +229,8 @@ public async Task Get_GetsADatabaseConfiguredWithVBSEnclaveType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a database configured with VBS enclave type. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsADatabaseConfiguredWithVBSEnclaveType() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/GetVCoreDatabaseVBSEnclave.json @@ -265,9 +259,8 @@ public async Task Exists_GetsADatabaseConfiguredWithVBSEnclaveType() Console.WriteLine($"Succeeded: {result}"); } - // Gets a database configured with VBS enclave type. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsADatabaseConfiguredWithVBSEnclaveType() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/GetVCoreDatabaseVBSEnclave.json @@ -296,7 +289,7 @@ public async Task GetIfExists_GetsADatabaseConfiguredWithVBSEnclaveType() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -308,9 +301,8 @@ public async Task GetIfExists_GetsADatabaseConfiguredWithVBSEnclaveType() } } - // Gets a database with Availability zone specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatabaseWithAvailabilityZoneSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/GetDatabaseWithAvailabilityZone.json @@ -343,9 +335,8 @@ public async Task Get_GetsADatabaseWithAvailabilityZoneSpecified() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a database with Availability zone specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsADatabaseWithAvailabilityZoneSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/GetDatabaseWithAvailabilityZone.json @@ -374,9 +365,8 @@ public async Task Exists_GetsADatabaseWithAvailabilityZoneSpecified() Console.WriteLine($"Succeeded: {result}"); } - // Gets a database with Availability zone specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsADatabaseWithAvailabilityZoneSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/GetDatabaseWithAvailabilityZone.json @@ -405,7 +395,7 @@ public async Task GetIfExists_GetsADatabaseWithAvailabilityZoneSpecified() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -417,9 +407,8 @@ public async Task GetIfExists_GetsADatabaseWithAvailabilityZoneSpecified() } } - // Gets a database with database level keys expanded. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatabaseWithDatabaseLevelKeysExpanded() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/GetVCoreDatabaseWithExpandEqualsKeys.json @@ -453,9 +442,8 @@ public async Task Get_GetsADatabaseWithDatabaseLevelKeysExpanded() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a database with database level keys expanded. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsADatabaseWithDatabaseLevelKeysExpanded() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/GetVCoreDatabaseWithExpandEqualsKeys.json @@ -485,9 +473,8 @@ public async Task Exists_GetsADatabaseWithDatabaseLevelKeysExpanded() Console.WriteLine($"Succeeded: {result}"); } - // Gets a database with database level keys expanded. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsADatabaseWithDatabaseLevelKeysExpanded() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/GetVCoreDatabaseWithExpandEqualsKeys.json @@ -517,7 +504,7 @@ public async Task GetIfExists_GetsADatabaseWithDatabaseLevelKeysExpanded() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -529,9 +516,8 @@ public async Task GetIfExists_GetsADatabaseWithDatabaseLevelKeysExpanded() } } - // Gets a database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/GetVCoreDatabase.json @@ -564,9 +550,8 @@ public async Task Get_GetsADatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/GetVCoreDatabase.json @@ -595,9 +580,8 @@ public async Task Exists_GetsADatabase() Console.WriteLine($"Succeeded: {result}"); } - // Gets a database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/GetVCoreDatabase.json @@ -626,7 +610,7 @@ public async Task GetIfExists_GetsADatabase() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -638,9 +622,8 @@ public async Task GetIfExists_GetsADatabase() } } - // Creates a VCore database by specifying service objective name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAVCoreDatabaseBySpecifyingServiceObjectiveName() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/CreateVCoreDatabaseByServiceObjective.json @@ -682,9 +665,8 @@ public async Task CreateOrUpdate_CreatesAVCoreDatabaseBySpecifyingServiceObjecti Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a VCore database by specifying sku name and capacity. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAVCoreDatabaseBySpecifyingSkuNameAndCapacity() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/CreateVCoreDatabaseBySkuNameCapacity.json @@ -725,9 +707,8 @@ public async Task CreateOrUpdate_CreatesAVCoreDatabaseBySpecifyingSkuNameAndCapa Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a data warehouse database as a cross-subscription restore from a backup of a dropped database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesADataWarehouseDatabaseAsACrossSubscriptionRestoreFromABackupOfADroppedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/CreateDwDatabaseCrossSubscriptionRestore.json @@ -766,9 +747,8 @@ public async Task CreateOrUpdate_CreatesADataWarehouseDatabaseAsACrossSubscripti Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a data warehouse database as a cross-subscription restore from a geo-backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesADataWarehouseDatabaseAsACrossSubscriptionRestoreFromAGeoBackup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/CreateDwDatabaseCrossSubscriptionRecovery.json @@ -807,9 +787,8 @@ public async Task CreateOrUpdate_CreatesADataWarehouseDatabaseAsACrossSubscripti Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a data warehouse database as a cross-subscription restore from a restore point of an existing database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesADataWarehouseDatabaseAsACrossSubscriptionRestoreFromARestorePointOfAnExistingDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/CreateDwDatabaseCrossSubscriptionPITR.json @@ -849,9 +828,8 @@ public async Task CreateOrUpdate_CreatesADataWarehouseDatabaseAsACrossSubscripti Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a database as a copy. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesADatabaseAsACopy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/CreateDatabaseCopyMode.json @@ -894,9 +872,8 @@ public async Task CreateOrUpdate_CreatesADatabaseAsACopy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a database as a standby secondary. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesADatabaseAsAStandbySecondary() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/CreateDatabaseStandbyMode.json @@ -940,9 +917,8 @@ public async Task CreateOrUpdate_CreatesADatabaseAsAStandbySecondary() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a database as an on-line secondary. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesADatabaseAsAnOnLineSecondary() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/CreateDatabaseSecondaryMode.json @@ -986,9 +962,8 @@ public async Task CreateOrUpdate_CreatesADatabaseAsAnOnLineSecondary() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a database as named replica secondary. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesADatabaseAsNamedReplicaSecondary() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/CreateDatabaseNamedReplica.json @@ -1033,9 +1008,8 @@ public async Task CreateOrUpdate_CreatesADatabaseAsNamedReplicaSecondary() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a database from PointInTimeRestore. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesADatabaseFromPointInTimeRestore() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/CreateDatabasePITRMode.json @@ -1075,9 +1049,8 @@ public async Task CreateOrUpdate_CreatesADatabaseFromPointInTimeRestore() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a database with Default enclave type. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesADatabaseWithDefaultEnclaveType() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/CreateDatabaseDefaultEnclave.json @@ -1115,9 +1088,8 @@ public async Task CreateOrUpdate_CreatesADatabaseWithDefaultEnclaveType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a database with VBS enclave type. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesADatabaseWithVBSEnclaveType() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/CreateDatabaseVBSEnclave.json @@ -1155,9 +1127,8 @@ public async Task CreateOrUpdate_CreatesADatabaseWithVBSEnclaveType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a database with availability zone specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesADatabaseWithAvailabilityZoneSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/CreateDatabaseWithAvailabilityZone.json @@ -1202,9 +1173,8 @@ public async Task CreateOrUpdate_CreatesADatabaseWithAvailabilityZoneSpecified() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a database with database-level customer managed keys. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesADatabaseWithDatabaseLevelCustomerManagedKeys() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/CreateDatabaseDefaultModeWithKeysAndEncryptionProtector.json @@ -1262,9 +1232,8 @@ public async Task CreateOrUpdate_CreatesADatabaseWithDatabaseLevelCustomerManage Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a database with default mode. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesADatabaseWithDefaultMode() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/CreateDatabaseDefaultMode.json @@ -1308,9 +1277,8 @@ public async Task CreateOrUpdate_CreatesADatabaseWithDefaultMode() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a database with ledger on. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesADatabaseWithLedgerOn() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/CreateDatabaseLedger.json @@ -1348,9 +1316,8 @@ public async Task CreateOrUpdate_CreatesADatabaseWithLedgerOn() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a database with minimum number of parameters. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesADatabaseWithMinimumNumberOfParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/CreateDatabaseMin.json @@ -1385,9 +1352,8 @@ public async Task CreateOrUpdate_CreatesADatabaseWithMinimumNumberOfParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a database with preferred maintenance window. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesADatabaseWithPreferredMaintenanceWindow() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/CreateDatabaseMaintenanceConfiguration.json @@ -1432,9 +1398,8 @@ public async Task CreateOrUpdate_CreatesADatabaseWithPreferredMaintenanceWindow( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a database with specified backup storage redundancy. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesADatabaseWithSpecifiedBackupStorageRedundancy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/CreateDatabaseConfiguredBackupStorageRedundancy.json @@ -1472,9 +1437,8 @@ public async Task CreateOrUpdate_CreatesADatabaseWithSpecifiedBackupStorageRedun Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates a database to Hyperscale SLO with manual cutover - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdatesADatabaseToHyperscaleSLOWithManualCutover() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/UpdateDatabaseHyperscaleMigrationWithManualCutover.json @@ -1525,9 +1489,8 @@ public async Task CreateOrUpdate_UpdatesADatabaseToHyperscaleSLOWithManualCutove Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates a database to Hyperscale tier by triggering manual cutover during Migration workflow - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdatesADatabaseToHyperscaleTierByTriggeringManualCutoverDuringMigrationWorkflow() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/UpdateDatabaseHyperscaleMigrationPerformCutover.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseColumnCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseColumnCollection.cs index 0adf37e2dc46d..205bb2e7039bb 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseColumnCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseColumnCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseColumnCollection { - // List database columns - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDatabaseColumns() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseColumnListByTable.json @@ -51,12 +51,11 @@ public async Task GetAll_ListDatabaseColumns() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get database column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDatabaseColumn() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseColumnGet.json @@ -92,9 +91,8 @@ public async Task Get_GetDatabaseColumn() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get database column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDatabaseColumn() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseColumnGet.json @@ -126,9 +124,8 @@ public async Task Exists_GetDatabaseColumn() Console.WriteLine($"Succeeded: {result}"); } - // Get database column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDatabaseColumn() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseColumnGet.json @@ -160,7 +157,7 @@ public async Task GetIfExists_GetDatabaseColumn() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseColumnResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseColumnResource.cs index 22daec65ed074..b6071dfd7390f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseColumnResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseColumnResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseColumnResource { - // Get database column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDatabaseColumn() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseColumnGet.json @@ -49,9 +49,8 @@ public async Task Get_GetDatabaseColumn() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Enables sensitivity recommendations on a given column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task EnableRecommendationSensitivityLabel_EnablesSensitivityRecommendationsOnAGivenColumn() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/RecommendedColumnSensitivityLabelEnable.json @@ -77,12 +76,11 @@ public async Task EnableRecommendationSensitivityLabel_EnablesSensitivityRecomme // invoke the operation await sqlDatabaseColumn.EnableRecommendationSensitivityLabelAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Disables sensitivity recommendations on a given column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task DisableRecommendationSensitivityLabel_DisablesSensitivityRecommendationsOnAGivenColumn() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/RecommendedColumnSensitivityLabelDisable.json @@ -108,7 +106,7 @@ public async Task DisableRecommendationSensitivityLabel_DisablesSensitivityRecom // invoke the operation await sqlDatabaseColumn.DisableRecommendationSensitivityLabelAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseResource.cs index 501bbaeeda627..5444d1cd7191f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseResource.cs @@ -12,14 +12,14 @@ using Azure.Identity; using Azure.ResourceManager.Models; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseResource { - // List database usage metrics - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMetrics_ListDatabaseUsageMetrics() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseMetricsListWithFilter.json @@ -46,12 +46,11 @@ public async Task GetMetrics_ListDatabaseUsageMetrics() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List database usage metrics - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMetricDefinitions_ListDatabaseUsageMetrics() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/DatabaseMetricsDefinitionsList.json @@ -77,12 +76,11 @@ public async Task GetMetricDefinitions_ListDatabaseUsageMetrics() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Filter database columns - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDatabaseColumns_FilterDatabaseColumns() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ColumnsListByDatabaseMax.json @@ -128,12 +126,11 @@ public async Task GetDatabaseColumns_FilterDatabaseColumns() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List database columns - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDatabaseColumns_ListDatabaseColumns() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ColumnsListByDatabaseMin.json @@ -163,12 +160,11 @@ public async Task GetDatabaseColumns_ListDatabaseColumns() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Creates datawarehouse database restore point. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateRestorePoint_CreatesDatawarehouseDatabaseRestorePoint() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseRestorePointsPost.json @@ -200,9 +196,8 @@ public async Task CreateRestorePoint_CreatesDatawarehouseDatabaseRestorePoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or Update database extensions. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdateDatabaseExtension_CreateOrUpdateDatabaseExtensions() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/CreateOrUpdateDatabaseExtensions.json @@ -237,9 +232,8 @@ public async Task CreateOrUpdateDatabaseExtension_CreateOrUpdateDatabaseExtensio Console.WriteLine($"Succeeded: {result}"); } - // List database extensions. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDatabaseExtensions_ListDatabaseExtensions() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/ListDatabaseExtensions.json @@ -265,12 +259,11 @@ public async Task GetDatabaseExtensions_ListDatabaseExtensions() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets database usages. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDatabaseUsages_GetsDatabaseUsages() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-02-01-preview/examples/GetDatabaseUsages.json @@ -296,12 +289,11 @@ public async Task GetDatabaseUsages_GetsDatabaseUsages() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the current sensitivity labels of a given database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCurrentSensitivityLabels_GetsTheCurrentSensitivityLabelsOfAGivenDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceCurrent.json @@ -331,12 +323,11 @@ public async Task GetCurrentSensitivityLabels_GetsTheCurrentSensitivityLabelsOfA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update sensitivity labels of a given database using an operations batch. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateSensitivityLabel_UpdateSensitivityLabelsOfAGivenDatabaseUsingAnOperationsBatch() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SensitivityLabelsCurrentUpdate.json @@ -400,12 +391,11 @@ public async Task UpdateSensitivityLabel_UpdateSensitivityLabelsOfAGivenDatabase }; await sqlDatabase.UpdateSensitivityLabelAsync(sensitivityLabelUpdateList); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the recommended sensitivity labels of a given database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetRecommendedSensitivityLabels_GetsTheRecommendedSensitivityLabelsOfAGivenDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SensitivityLabelsListByDatabaseWithSourceRecommended.json @@ -435,12 +425,11 @@ public async Task GetRecommendedSensitivityLabels_GetsTheRecommendedSensitivityL Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update recommended sensitivity labels of a given database using an operations batch. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateRecommendedSensitivityLabel_UpdateRecommendedSensitivityLabelsOfAGivenDatabaseUsingAnOperationsBatch() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SensitivityLabelsRecommendedUpdate.json @@ -488,12 +477,11 @@ public async Task UpdateRecommendedSensitivityLabel_UpdateRecommendedSensitivity }; await sqlDatabase.UpdateRecommendedSensitivityLabelAsync(recommendedSensitivityLabelUpdateList); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List all synapselink workspaces for the given database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSynapseLinkWorkspaces_ListAllSynapselinkWorkspacesForTheGivenDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/SynapseLinkWorkspaceListByDatabase.json @@ -519,12 +507,11 @@ public async Task GetSynapseLinkWorkspaces_ListAllSynapselinkWorkspacesForTheGiv Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Revalidates the encryption protector for a particular database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RevalidateDatabaseEncryptionProtector_RevalidatesTheEncryptionProtectorForAParticularDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/DatabaseEncryptionProtectorRevalidate.json @@ -548,12 +535,11 @@ public async Task RevalidateDatabaseEncryptionProtector_RevalidatesTheEncryption EncryptionProtectorName encryptionProtectorName = EncryptionProtectorName.Current; await sqlDatabase.RevalidateDatabaseEncryptionProtectorAsync(WaitUntil.Completed, encryptionProtectorName); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Reverts the encryption protector for a particular database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RevertDatabaseEncryptionProtector_RevertsTheEncryptionProtectorForAParticularDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/DatabaseEncryptionProtectorRevert.json @@ -577,12 +563,11 @@ public async Task RevertDatabaseEncryptionProtector_RevertsTheEncryptionProtecto EncryptionProtectorName encryptionProtectorName = EncryptionProtectorName.Current; await sqlDatabase.RevertDatabaseEncryptionProtectorAsync(WaitUntil.Completed, encryptionProtectorName); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a database configured with Default enclave type. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatabaseConfiguredWithDefaultEnclaveType() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/GetVCoreDatabaseDefaultEnclave.json @@ -612,9 +597,8 @@ public async Task Get_GetsADatabaseConfiguredWithDefaultEnclaveType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a database configured with VBS enclave type. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatabaseConfiguredWithVBSEnclaveType() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/GetVCoreDatabaseVBSEnclave.json @@ -644,9 +628,8 @@ public async Task Get_GetsADatabaseConfiguredWithVBSEnclaveType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a database with Availability zone specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatabaseWithAvailabilityZoneSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/GetDatabaseWithAvailabilityZone.json @@ -676,9 +659,8 @@ public async Task Get_GetsADatabaseWithAvailabilityZoneSpecified() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a database with database level keys expanded. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatabaseWithDatabaseLevelKeysExpanded() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/GetVCoreDatabaseWithExpandEqualsKeys.json @@ -709,9 +691,8 @@ public async Task Get_GetsADatabaseWithDatabaseLevelKeysExpanded() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/GetVCoreDatabase.json @@ -741,9 +722,8 @@ public async Task Get_GetsADatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/DeleteDatabase.json @@ -766,12 +746,11 @@ public async Task Delete_DeletesADatabase() // invoke the operation await sqlDatabase.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Assigns maintenance window to a database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AssignsMaintenanceWindowToADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/PatchVCoreDatabaseAssignMaintenanceConfiguration.json @@ -807,9 +786,8 @@ public async Task Update_AssignsMaintenanceWindowToADatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates a database with VBS enclave type. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesADatabaseWithVBSEnclaveType() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/PatchDatabaseVBSEnclave.json @@ -844,9 +822,8 @@ public async Task Update_CreatesADatabaseWithVBSEnclaveType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch a database with database-level customer managed keys. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_PatchADatabaseWithDatabaseLevelCustomerManagedKeys() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/PatchVCoreDatabaseWithKeysAndEncryptionProtector.json @@ -899,9 +876,8 @@ public async Task Update_PatchADatabaseWithDatabaseLevelCustomerManagedKeys() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Resets maintenance window of a database to default. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ResetsMaintenanceWindowOfADatabaseToDefault() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/PatchVCoreDatabaseResetMaintenanceConfiguration.json @@ -937,9 +913,8 @@ public async Task Update_ResetsMaintenanceWindowOfADatabaseToDefault() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates a database with Default enclave type. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesADatabaseWithDefaultEnclaveType() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/PatchDatabaseDefaultEnclave.json @@ -974,9 +949,8 @@ public async Task Update_UpdatesADatabaseWithDefaultEnclaveType() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates a database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/PatchVCoreDatabase.json @@ -1013,9 +987,8 @@ public async Task Update_UpdatesADatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Exports a database, using private link to communicate with SQL server and storage account. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Export_ExportsADatabaseUsingPrivateLinkToCommunicateWithSQLServerAndStorageAccount() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ExportDatabaseWithNetworkIsolation.json @@ -1051,9 +1024,8 @@ public async Task Export_ExportsADatabaseUsingPrivateLinkToCommunicateWithSQLSer Console.WriteLine($"Succeeded: {result}"); } - // Exports a database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Export_ExportsADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ExportDatabase.json @@ -1084,9 +1056,8 @@ public async Task Export_ExportsADatabase() Console.WriteLine($"Succeeded: {result}"); } - // Failover an database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Failover_FailoverAnDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/FailoverDatabase.json @@ -1110,12 +1081,11 @@ public async Task Failover_FailoverAnDatabase() ReplicaType? replicaType = ReplicaType.Primary; await sqlDatabase.FailoverAsync(WaitUntil.Completed, replicaType: replicaType); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Imports to an existing empty database, using private link to communicate with SQL server and storage account. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Import_ImportsToAnExistingEmptyDatabaseUsingPrivateLinkToCommunicateWithSQLServerAndStorageAccount() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ImportDatabaseWithNetworkIsolation.json @@ -1151,9 +1121,8 @@ public async Task Import_ImportsToAnExistingEmptyDatabaseUsingPrivateLinkToCommu Console.WriteLine($"Succeeded: {result}"); } - // Imports to an existing empty database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Import_ImportsToAnExistingEmptyDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ImportDatabase.json @@ -1184,9 +1153,8 @@ public async Task Import_ImportsToAnExistingEmptyDatabase() Console.WriteLine($"Succeeded: {result}"); } - // Renames a database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Rename_RenamesADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/RenameDatabase.json @@ -1210,12 +1178,11 @@ public async Task Rename_RenamesADatabase() SqlResourceMoveDefinition sqlResourceMoveDefinition = new SqlResourceMoveDefinition(new ResourceIdentifier("/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/servers/testsvr/databases/newtestdb")); await sqlDatabase.RenameAsync(sqlResourceMoveDefinition); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Pauses a database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Pause_PausesADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/PauseDatabase.json @@ -1246,9 +1213,8 @@ public async Task Pause_PausesADatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Resumes a database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Resume_ResumesADatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ResumeDatabase.json @@ -1279,9 +1245,8 @@ public async Task Resume_ResumesADatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Upgrades a data warehouse. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpgradeDataWarehouse_UpgradesADataWarehouse() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/UpgradeDataWarehouse.json @@ -1304,12 +1269,11 @@ public async Task UpgradeDataWarehouse_UpgradesADataWarehouse() // invoke the operation await sqlDatabase.UpgradeDataWarehouseAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List the database management operations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetDatabaseOperations_ListTheDatabaseManagementOperations() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/ListDatabaseOperations.json @@ -1335,12 +1299,11 @@ public async Task GetDatabaseOperations_ListTheDatabaseManagementOperations() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Cancel the database management operation - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CancelDatabaseOperation_CancelTheDatabaseManagementOperation() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/CancelDatabaseOperation.json @@ -1364,7 +1327,7 @@ public async Task CancelDatabaseOperation_CancelTheDatabaseManagementOperation() Guid operationId = Guid.Parse("f779414b-e748-4925-8cfe-c8598f7660ae"); await sqlDatabase.CancelDatabaseOperationAsync(operationId); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSchemaCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSchemaCollection.cs index 1ba00a85cfe12..85f789045dd36 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSchemaCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSchemaCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseSchemaCollection { - // List database schemas - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDatabaseSchemas() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseSchemaListByDatabase.json @@ -49,12 +49,11 @@ public async Task GetAll_ListDatabaseSchemas() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get database schema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDatabaseSchema() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseSchemaGet.json @@ -88,9 +87,8 @@ public async Task Get_GetDatabaseSchema() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get database schema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDatabaseSchema() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseSchemaGet.json @@ -120,9 +118,8 @@ public async Task Exists_GetDatabaseSchema() Console.WriteLine($"Succeeded: {result}"); } - // Get database schema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDatabaseSchema() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseSchemaGet.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetDatabaseSchema() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSchemaResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSchemaResource.cs index a2b55e3bedf76..62c1a684a64ae 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSchemaResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSchemaResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseSchemaResource { - // Get database schema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDatabaseSchema() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseSchemaGet.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSecurityAlertPolicyCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSecurityAlertPolicyCollection.cs index 2e683505e5804..d1ebd8cc09b86 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSecurityAlertPolicyCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSecurityAlertPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseSecurityAlertPolicyCollection { - // Get a database's threat detection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADatabaseSThreatDetectionPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseSecurityAlertGet.json @@ -51,9 +51,8 @@ public async Task Get_GetADatabaseSThreatDetectionPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a database's threat detection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADatabaseSThreatDetectionPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseSecurityAlertGet.json @@ -83,9 +82,8 @@ public async Task Exists_GetADatabaseSThreatDetectionPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Get a database's threat detection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADatabaseSThreatDetectionPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseSecurityAlertGet.json @@ -115,7 +113,7 @@ public async Task GetIfExists_GetADatabaseSThreatDetectionPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_GetADatabaseSThreatDetectionPolicy() } } - // Update a database's threat detection policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateADatabaseSThreatDetectionPolicyWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseSecurityAlertCreateMax.json @@ -180,9 +177,8 @@ public async Task CreateOrUpdate_UpdateADatabaseSThreatDetectionPolicyWithAllPar Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a database's threat detection policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateADatabaseSThreatDetectionPolicyWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseSecurityAlertCreateMin.json @@ -221,9 +217,8 @@ public async Task CreateOrUpdate_UpdateADatabaseSThreatDetectionPolicyWithMinima Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the database's threat detection policies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetTheDatabaseSThreatDetectionPolicies() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseSecurityAlertListByDatabase.json @@ -256,7 +251,7 @@ public async Task GetAll_GetTheDatabaseSThreatDetectionPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSecurityAlertPolicyResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSecurityAlertPolicyResource.cs index f72931c4af941..6cec4e9ef2860 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSecurityAlertPolicyResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSecurityAlertPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseSecurityAlertPolicyResource { - // Get a database's threat detection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADatabaseSThreatDetectionPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseSecurityAlertGet.json @@ -48,9 +48,8 @@ public async Task Get_GetADatabaseSThreatDetectionPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a database's threat detection policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateADatabaseSThreatDetectionPolicyWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseSecurityAlertCreateMax.json @@ -98,9 +97,8 @@ public async Task Update_UpdateADatabaseSThreatDetectionPolicyWithAllParameters( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a database's threat detection policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateADatabaseSThreatDetectionPolicyWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseSecurityAlertCreateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSensitivityLabelCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSensitivityLabelCollection.cs index f18517f792b77..51b5334455c61 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSensitivityLabelCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSensitivityLabelCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseSensitivityLabelCollection { - // Gets the sensitivity label of a given column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheSensitivityLabelOfAGivenColumn() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ColumnSensitivityLabelGet.json @@ -54,9 +54,8 @@ public async Task Get_GetsTheSensitivityLabelOfAGivenColumn() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the sensitivity label of a given column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheSensitivityLabelOfAGivenColumn() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ColumnSensitivityLabelGet.json @@ -89,9 +88,8 @@ public async Task Exists_GetsTheSensitivityLabelOfAGivenColumn() Console.WriteLine($"Succeeded: {result}"); } - // Gets the sensitivity label of a given column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheSensitivityLabelOfAGivenColumn() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ColumnSensitivityLabelGet.json @@ -124,7 +122,7 @@ public async Task GetIfExists_GetsTheSensitivityLabelOfAGivenColumn() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSensitivityLabelResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSensitivityLabelResource.cs index e7e357ec60bfc..53aabd47cf84f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSensitivityLabelResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSensitivityLabelResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseSensitivityLabelResource { - // Gets the sensitivity label of a given column - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheSensitivityLabelOfAGivenColumn() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ColumnSensitivityLabelGet.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentBaselineCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentBaselineCollection.cs index 15ca771c36c93..aa41ca77c2ce7 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentBaselineCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentBaselineCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseSqlVulnerabilityAssessmentBaselineCollection { - // Gets a list of database's sql vulnerability assessment rule baselines. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsAListOfDatabaseSSqlVulnerabilityAssessmentRuleBaselines() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentBaselineListBySqlVulnerabilityAssessment.json @@ -52,12 +52,11 @@ public async Task GetAll_GetsAListOfDatabaseSSqlVulnerabilityAssessmentRuleBasel Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a list of database's sql vulnerability assessment rule baselines. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAListOfDatabaseSSqlVulnerabilityAssessmentRuleBaselines() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentBaselineGet.json @@ -92,9 +91,8 @@ public async Task Get_GetsAListOfDatabaseSSqlVulnerabilityAssessmentRuleBaseline Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a list of database's sql vulnerability assessment rule baselines. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAListOfDatabaseSSqlVulnerabilityAssessmentRuleBaselines() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentBaselineGet.json @@ -125,9 +123,8 @@ public async Task Exists_GetsAListOfDatabaseSSqlVulnerabilityAssessmentRuleBasel Console.WriteLine($"Succeeded: {result}"); } - // Gets a list of database's sql vulnerability assessment rule baselines. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAListOfDatabaseSSqlVulnerabilityAssessmentRuleBaselines() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentBaselineGet.json @@ -158,7 +155,7 @@ public async Task GetIfExists_GetsAListOfDatabaseSSqlVulnerabilityAssessmentRule if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -170,9 +167,8 @@ public async Task GetIfExists_GetsAListOfDatabaseSSqlVulnerabilityAssessmentRule } } - // Add a database's vulnerability assessment rule baseline from the latest scan result. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AddADatabaseSVulnerabilityAssessmentRuleBaselineFromTheLatestScanResult() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentBaselineAddLatest.json @@ -215,9 +211,8 @@ public async Task CreateOrUpdate_AddADatabaseSVulnerabilityAssessmentRuleBaselin Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Add a database's vulnerability assessment rule baseline list. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AddADatabaseSVulnerabilityAssessmentRuleBaselineList() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentBaselineAdd.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentBaselineResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentBaselineResource.cs index 72729d680920d..2905286203dda 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentBaselineResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentBaselineResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseSqlVulnerabilityAssessmentBaselineResource { - // Gets a list of database's sql vulnerability assessment rule baselines. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAListOfDatabaseSSqlVulnerabilityAssessmentRuleBaselines() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentBaselineGet.json @@ -50,9 +50,8 @@ public async Task Get_GetsAListOfDatabaseSSqlVulnerabilityAssessmentRuleBaseline Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Add a database's vulnerability assessment rule baseline from the latest scan result. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AddADatabaseSVulnerabilityAssessmentRuleBaselineFromTheLatestScanResult() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentBaselineAddLatest.json @@ -92,9 +91,8 @@ public async Task Update_AddADatabaseSVulnerabilityAssessmentRuleBaselineFromThe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Add a database's vulnerability assessment rule baseline list. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AddADatabaseSVulnerabilityAssessmentRuleBaselineList() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentBaselineAdd.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentBaselineRuleCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentBaselineRuleCollection.cs index 06238b1aa7903..67c60ef610349 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentBaselineRuleCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentBaselineRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseSqlVulnerabilityAssessmentBaselineRuleCollection { - // Gets a list of database's sql vulnerability assessment rule baselines. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsAListOfDatabaseSSqlVulnerabilityAssessmentRuleBaselines() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentRuleBaselineListByBaseline.json @@ -52,12 +52,11 @@ public async Task GetAll_GetsAListOfDatabaseSSqlVulnerabilityAssessmentRuleBasel Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a database's sql vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatabaseSSqlVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentRuleBaselineGet.json @@ -93,9 +92,8 @@ public async Task Get_GetsADatabaseSSqlVulnerabilityAssessmentRuleBaseline() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a database's sql vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsADatabaseSSqlVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentRuleBaselineGet.json @@ -127,9 +125,8 @@ public async Task Exists_GetsADatabaseSSqlVulnerabilityAssessmentRuleBaseline() Console.WriteLine($"Succeeded: {result}"); } - // Gets a database's sql vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsADatabaseSSqlVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentRuleBaselineGet.json @@ -161,7 +158,7 @@ public async Task GetIfExists_GetsADatabaseSSqlVulnerabilityAssessmentRuleBaseli if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -173,9 +170,8 @@ public async Task GetIfExists_GetsADatabaseSSqlVulnerabilityAssessmentRuleBaseli } } - // Creates or updates a database's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesADatabaseSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentRuleBaselineCreate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentBaselineRuleResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentBaselineRuleResource.cs index b88616ac61663..98aaf93f1cec6 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentBaselineRuleResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentBaselineRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseSqlVulnerabilityAssessmentBaselineRuleResource { - // Gets a database's sql vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatabaseSSqlVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentRuleBaselineGet.json @@ -50,9 +50,8 @@ public async Task Get_GetsADatabaseSSqlVulnerabilityAssessmentRuleBaseline() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates a database's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesOrUpdatesADatabaseSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentRuleBaselineCreate.json @@ -103,9 +102,8 @@ public async Task Update_CreatesOrUpdatesADatabaseSVulnerabilityAssessmentRuleBa Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Removes a database's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RemovesADatabaseSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentRuleBaselineDelete.json @@ -131,7 +129,7 @@ public async Task Delete_RemovesADatabaseSVulnerabilityAssessmentRuleBaseline() // invoke the operation await sqlDatabaseSqlVulnerabilityAssessmentBaselineRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentCollection.cs index 15da4098f672b..0304eb6273d3a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseSqlVulnerabilityAssessmentCollection { - // Get SQL Vulnerability Assessment policies on a given database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetSQLVulnerabilityAssessmentPoliciesOnAGivenDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentListByDatabase.json @@ -50,12 +50,11 @@ public async Task GetAll_GetSQLVulnerabilityAssessmentPoliciesOnAGivenDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get SQL Vulnerability Assessment policy for database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSQLVulnerabilityAssessmentPolicyForDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentGet.json @@ -89,9 +88,8 @@ public async Task Get_GetSQLVulnerabilityAssessmentPolicyForDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get SQL Vulnerability Assessment policy for database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSQLVulnerabilityAssessmentPolicyForDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentGet.json @@ -121,9 +119,8 @@ public async Task Exists_GetSQLVulnerabilityAssessmentPolicyForDatabase() Console.WriteLine($"Succeeded: {result}"); } - // Get SQL Vulnerability Assessment policy for database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSQLVulnerabilityAssessmentPolicyForDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetSQLVulnerabilityAssessmentPolicyForDatabase() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentResource.cs index 6971eebc18f81..c95fa43cd339d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseSqlVulnerabilityAssessmentResource { - // Executes a database's vulnerability assessment scan. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExecuteScan_ExecutesADatabaseSVulnerabilityAssessmentScan() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentScansExecute.json @@ -41,12 +41,11 @@ public async Task ExecuteScan_ExecutesADatabaseSVulnerabilityAssessmentScan() // invoke the operation await sqlDatabaseSqlVulnerabilityAssessment.ExecuteScanAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get SQL Vulnerability Assessment policy for database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSQLVulnerabilityAssessmentPolicyForDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentGet.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentScanCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentScanCollection.cs index 42a16b9596adf..d73722527a4bb 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentScanCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentScanCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseSqlVulnerabilityAssessmentScanCollection { - // Gets the list of a database vulnerability assessment scan records - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfADatabaseVulnerabilityAssessmentScanRecords() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentScanRecordsListByDatabase.json @@ -51,12 +51,11 @@ public async Task GetAll_GetsTheListOfADatabaseVulnerabilityAssessmentScanRecord Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a database's vulnerability assessment scan. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADatabaseSVulnerabilityAssessmentScan() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentScan.json @@ -91,9 +90,8 @@ public async Task Get_GetADatabaseSVulnerabilityAssessmentScan() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a database's vulnerability assessment scan. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADatabaseSVulnerabilityAssessmentScan() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentScan.json @@ -124,9 +122,8 @@ public async Task Exists_GetADatabaseSVulnerabilityAssessmentScan() Console.WriteLine($"Succeeded: {result}"); } - // Get a database's vulnerability assessment scan. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADatabaseSVulnerabilityAssessmentScan() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentScan.json @@ -157,7 +154,7 @@ public async Task GetIfExists_GetADatabaseSVulnerabilityAssessmentScan() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentScanResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentScanResource.cs index df2cb58af85d2..36398dd7116e6 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentScanResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentScanResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseSqlVulnerabilityAssessmentScanResource { - // Get a database's vulnerability assessment scan. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADatabaseSVulnerabilityAssessmentScan() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentScan.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentScanResultCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentScanResultCollection.cs index 6a8f3c9bbe0b3..f10373198d6a5 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentScanResultCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentScanResultCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseSqlVulnerabilityAssessmentScanResultCollection { - // List database SQL Vulnerability Assessment scan results for scan id - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDatabaseSQLVulnerabilityAssessmentScanResultsForScanId() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentListScansResults.json @@ -52,12 +52,11 @@ public async Task GetAll_ListDatabaseSQLVulnerabilityAssessmentScanResultsForSca Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a database SQL Vulnerability Assessment scan result for scan id and scan result id - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADatabaseSQLVulnerabilityAssessmentScanResultForScanIdAndScanResultId() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentScansResults.json @@ -93,9 +92,8 @@ public async Task Get_GetADatabaseSQLVulnerabilityAssessmentScanResultForScanIdA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a database SQL Vulnerability Assessment scan result for scan id and scan result id - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADatabaseSQLVulnerabilityAssessmentScanResultForScanIdAndScanResultId() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentScansResults.json @@ -127,9 +125,8 @@ public async Task Exists_GetADatabaseSQLVulnerabilityAssessmentScanResultForScan Console.WriteLine($"Succeeded: {result}"); } - // Get a database SQL Vulnerability Assessment scan result for scan id and scan result id - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADatabaseSQLVulnerabilityAssessmentScanResultForScanIdAndScanResultId() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentScansResults.json @@ -161,7 +158,7 @@ public async Task GetIfExists_GetADatabaseSQLVulnerabilityAssessmentScanResultFo if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentScanResultResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentScanResultResource.cs index bbce2dd89ad6a..3e8d4ed83811d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentScanResultResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseSqlVulnerabilityAssessmentScanResultResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseSqlVulnerabilityAssessmentScanResultResource { - // Get a database SQL Vulnerability Assessment scan result for scan id and scan result id - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADatabaseSQLVulnerabilityAssessmentScanResultForScanIdAndScanResultId() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/DatabaseSqlVulnerabilityAssessmentScansResults.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseTableCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseTableCollection.cs index 530f2716e50fb..a355a567e5144 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseTableCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseTableCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseTableCollection { - // List database tables - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDatabaseTables() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseTableListBySchema.json @@ -50,12 +50,11 @@ public async Task GetAll_ListDatabaseTables() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get database table - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDatabaseTable() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseTableGet.json @@ -90,9 +89,8 @@ public async Task Get_GetDatabaseTable() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get database table - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetDatabaseTable() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseTableGet.json @@ -123,9 +121,8 @@ public async Task Exists_GetDatabaseTable() Console.WriteLine($"Succeeded: {result}"); } - // Get database table - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetDatabaseTable() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseTableGet.json @@ -156,7 +153,7 @@ public async Task GetIfExists_GetDatabaseTable() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseTableResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseTableResource.cs index 2a44700fe92a1..9bf26716745a0 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseTableResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseTableResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseTableResource { - // Get database table - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetDatabaseTable() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseTableGet.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseVulnerabilityAssessmentCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseVulnerabilityAssessmentCollection.cs index 99ae966f225ad..8d71191efe8f7 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseVulnerabilityAssessmentCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseVulnerabilityAssessmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseVulnerabilityAssessmentCollection { - // Get a database's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADatabaseSVulnerabilityAssessment() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentGet.json @@ -51,9 +51,8 @@ public async Task Get_GetADatabaseSVulnerabilityAssessment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a database's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetADatabaseSVulnerabilityAssessment() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentGet.json @@ -83,9 +82,8 @@ public async Task Exists_GetADatabaseSVulnerabilityAssessment() Console.WriteLine($"Succeeded: {result}"); } - // Get a database's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetADatabaseSVulnerabilityAssessment() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentGet.json @@ -115,7 +113,7 @@ public async Task GetIfExists_GetADatabaseSVulnerabilityAssessment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_GetADatabaseSVulnerabilityAssessment() } } - // Create a database's vulnerability assessment with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADatabaseSVulnerabilityAssessmentWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentCreateMax.json @@ -179,9 +176,8 @@ public async Task CreateOrUpdate_CreateADatabaseSVulnerabilityAssessmentWithAllP Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a database's vulnerability assessment with minimal parameters, when storageAccountAccessKey is specified - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADatabaseSVulnerabilityAssessmentWithMinimalParametersWhenStorageAccountAccessKeyIsSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentCreateStorageAccessKeyMin.json @@ -221,9 +217,8 @@ public async Task CreateOrUpdate_CreateADatabaseSVulnerabilityAssessmentWithMini Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a database's vulnerability assessment with minimal parameters, when storageContainerSasKey is specified - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateADatabaseSVulnerabilityAssessmentWithMinimalParametersWhenStorageContainerSasKeyIsSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentCreateContainerSasKeyMin.json @@ -263,9 +258,8 @@ public async Task CreateOrUpdate_CreateADatabaseSVulnerabilityAssessmentWithMini Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the database's vulnerability assessment policies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetTheDatabaseSVulnerabilityAssessmentPolicies() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentListByDatabase.json @@ -298,7 +292,7 @@ public async Task GetAll_GetTheDatabaseSVulnerabilityAssessmentPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseVulnerabilityAssessmentResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseVulnerabilityAssessmentResource.cs index d86ca6f6852ab..a7908b94b0c0b 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseVulnerabilityAssessmentResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseVulnerabilityAssessmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseVulnerabilityAssessmentResource { - // Get a database's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetADatabaseSVulnerabilityAssessment() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentGet.json @@ -48,9 +48,8 @@ public async Task Get_GetADatabaseSVulnerabilityAssessment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a database's vulnerability assessment with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateADatabaseSVulnerabilityAssessmentWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentCreateMax.json @@ -97,9 +96,8 @@ public async Task Update_CreateADatabaseSVulnerabilityAssessmentWithAllParameter Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a database's vulnerability assessment with minimal parameters, when storageAccountAccessKey is specified - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateADatabaseSVulnerabilityAssessmentWithMinimalParametersWhenStorageAccountAccessKeyIsSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentCreateStorageAccessKeyMin.json @@ -136,9 +134,8 @@ public async Task Update_CreateADatabaseSVulnerabilityAssessmentWithMinimalParam Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a database's vulnerability assessment with minimal parameters, when storageContainerSasKey is specified - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateADatabaseSVulnerabilityAssessmentWithMinimalParametersWhenStorageContainerSasKeyIsSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentCreateContainerSasKeyMin.json @@ -175,9 +172,8 @@ public async Task Update_CreateADatabaseSVulnerabilityAssessmentWithMinimalParam Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Remove a database's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RemoveADatabaseSVulnerabilityAssessment() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentDelete.json @@ -201,7 +197,7 @@ public async Task Delete_RemoveADatabaseSVulnerabilityAssessment() // invoke the operation await sqlDatabaseVulnerabilityAssessment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseVulnerabilityAssessmentRuleBaselineCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseVulnerabilityAssessmentRuleBaselineCollection.cs index bc4b452f3dddf..6a4a8fa73b26f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseVulnerabilityAssessmentRuleBaselineCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseVulnerabilityAssessmentRuleBaselineCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseVulnerabilityAssessmentRuleBaselineCollection { - // Gets a database's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatabaseSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentRuleBaselineGet.json @@ -53,9 +53,8 @@ public async Task Get_GetsADatabaseSVulnerabilityAssessmentRuleBaseline() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a database's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsADatabaseSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentRuleBaselineGet.json @@ -87,9 +86,8 @@ public async Task Exists_GetsADatabaseSVulnerabilityAssessmentRuleBaseline() Console.WriteLine($"Succeeded: {result}"); } - // Gets a database's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsADatabaseSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentRuleBaselineGet.json @@ -121,7 +119,7 @@ public async Task GetIfExists_GetsADatabaseSVulnerabilityAssessmentRuleBaseline( if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -133,9 +131,8 @@ public async Task GetIfExists_GetsADatabaseSVulnerabilityAssessmentRuleBaseline( } } - // Creates or updates a database's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesADatabaseSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentRuleBaselineCreate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseVulnerabilityAssessmentRuleBaselineResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseVulnerabilityAssessmentRuleBaselineResource.cs index 4ffe5769a5adf..b4079a60d5454 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseVulnerabilityAssessmentRuleBaselineResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseVulnerabilityAssessmentRuleBaselineResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseVulnerabilityAssessmentRuleBaselineResource { - // Gets a database's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatabaseSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentRuleBaselineGet.json @@ -50,9 +50,8 @@ public async Task Get_GetsADatabaseSVulnerabilityAssessmentRuleBaseline() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates a database's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesOrUpdatesADatabaseSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentRuleBaselineCreate.json @@ -102,9 +101,8 @@ public async Task Update_CreatesOrUpdatesADatabaseSVulnerabilityAssessmentRuleBa Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Removes a database's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RemovesADatabaseSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentRuleBaselineDelete.json @@ -130,7 +128,7 @@ public async Task Delete_RemovesADatabaseSVulnerabilityAssessmentRuleBaseline() // invoke the operation await sqlDatabaseVulnerabilityAssessmentRuleBaseline.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseVulnerabilityAssessmentScanCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseVulnerabilityAssessmentScanCollection.cs index d7b5726f749b4..63e41d7bef720 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseVulnerabilityAssessmentScanCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseVulnerabilityAssessmentScanCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseVulnerabilityAssessmentScanCollection { - // Gets the list of a database vulnerability assessment scan records - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfADatabaseVulnerabilityAssessmentScanRecords() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentScanRecordsListByDatabase.json @@ -51,12 +51,11 @@ public async Task GetAll_GetsTheListOfADatabaseVulnerabilityAssessmentScanRecord Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a database vulnerability assessment scan record by scan ID - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatabaseVulnerabilityAssessmentScanRecordByScanID() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentScanRecordsGet.json @@ -91,9 +90,8 @@ public async Task Get_GetsADatabaseVulnerabilityAssessmentScanRecordByScanID() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a database vulnerability assessment scan record by scan ID - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsADatabaseVulnerabilityAssessmentScanRecordByScanID() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentScanRecordsGet.json @@ -124,9 +122,8 @@ public async Task Exists_GetsADatabaseVulnerabilityAssessmentScanRecordByScanID( Console.WriteLine($"Succeeded: {result}"); } - // Gets a database vulnerability assessment scan record by scan ID - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsADatabaseVulnerabilityAssessmentScanRecordByScanID() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentScanRecordsGet.json @@ -157,7 +154,7 @@ public async Task GetIfExists_GetsADatabaseVulnerabilityAssessmentScanRecordBySc if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseVulnerabilityAssessmentScanResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseVulnerabilityAssessmentScanResource.cs index 9bec4ab68c649..626b675abb3a2 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseVulnerabilityAssessmentScanResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlDatabaseVulnerabilityAssessmentScanResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlDatabaseVulnerabilityAssessmentScanResource { - // Executes a database's vulnerability assessment scan. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task InitiateScan_ExecutesADatabaseSVulnerabilityAssessmentScan() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentScansExecute.json @@ -42,12 +42,11 @@ public async Task InitiateScan_ExecutesADatabaseSVulnerabilityAssessmentScan() // invoke the operation await sqlDatabaseVulnerabilityAssessmentScan.InitiateScanAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a database vulnerability assessment scan record by scan ID - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatabaseVulnerabilityAssessmentScanRecordByScanID() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentScanRecordsGet.json @@ -79,9 +78,8 @@ public async Task Get_GetsADatabaseVulnerabilityAssessmentScanRecordByScanID() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Export a database's vulnerability assessment scan results. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Export_ExportADatabaseSVulnerabilityAssessmentScanResults() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseVulnerabilityAssessmentScanExport.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlFirewallRuleCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlFirewallRuleCollection.cs index 6da3258b9fbfe..96df62ba3a01f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlFirewallRuleCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlFirewallRuleCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlFirewallRuleCollection { - // Get Firewall Rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFirewallRule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/FirewallRuleGet.json @@ -49,9 +49,8 @@ public async Task Get_GetFirewallRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get Firewall Rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetFirewallRule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/FirewallRuleGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetFirewallRule() Console.WriteLine($"Succeeded: {result}"); } - // Get Firewall Rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetFirewallRule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/FirewallRuleGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetFirewallRule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetFirewallRule() } } - // Create a firewall rule max/min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAFirewallRuleMaxMin() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/FirewallRuleCreate.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_CreateAFirewallRuleMaxMin() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a firewall rule max/min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAFirewallRuleMaxMin() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/FirewallRuleUpdate.json @@ -205,9 +201,8 @@ public async Task CreateOrUpdate_UpdateAFirewallRuleMaxMin() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List Firewall Rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListFirewallRules() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/FirewallRuleList.json @@ -239,7 +234,7 @@ public async Task GetAll_ListFirewallRules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlFirewallRuleResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlFirewallRuleResource.cs index d795f4357d735..4f7e3d14a119f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlFirewallRuleResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlFirewallRuleResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlFirewallRuleResource { - // Get Firewall Rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetFirewallRule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/FirewallRuleGet.json @@ -46,9 +46,8 @@ public async Task Get_GetFirewallRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a firewall rule max/min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAFirewallRuleMaxMin() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/FirewallRuleCreate.json @@ -84,9 +83,8 @@ public async Task Update_CreateAFirewallRuleMaxMin() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a firewall rule max/min - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAFirewallRuleMaxMin() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/FirewallRuleUpdate.json @@ -122,9 +120,8 @@ public async Task Update_UpdateAFirewallRuleMaxMin() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a firewall rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAFirewallRule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/FirewallRuleDelete.json @@ -147,7 +144,7 @@ public async Task Delete_DeleteAFirewallRule() // invoke the operation await sqlFirewallRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlPrivateEndpointConnectionCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlPrivateEndpointConnectionCollection.cs index d01841e82eba5..5f12f2281abe1 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlPrivateEndpointConnectionCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlPrivateEndpointConnectionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlPrivateEndpointConnectionCollection { - // Gets list of private endpoint connections on a server. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsListOfPrivateEndpointConnectionsOnAServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/PrivateEndpointConnectionList.json @@ -49,12 +49,11 @@ public async Task GetAll_GetsListOfPrivateEndpointConnectionsOnAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/PrivateEndpointConnectionGet.json @@ -87,9 +86,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/PrivateEndpointConnectionGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded: {result}"); } - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsPrivateEndpointConnection() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/PrivateEndpointConnectionGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetsPrivateEndpointConnection() } } - // Approve or reject a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/PrivateEndpointConnectionUpdate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlPrivateEndpointConnectionResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlPrivateEndpointConnectionResource.cs index 2e2f9f40c5bd2..8246323d7925a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlPrivateEndpointConnectionResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlPrivateEndpointConnectionResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlPrivateEndpointConnectionResource { - // Gets private endpoint connection. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsPrivateEndpointConnection() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/PrivateEndpointConnectionGet.json @@ -47,9 +47,8 @@ public async Task Get_GetsPrivateEndpointConnection() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Approve or reject a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/PrivateEndpointConnectionUpdate.json @@ -84,9 +83,8 @@ public async Task Update_ApproveOrRejectAPrivateEndpointConnectionWithAGivenName Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a private endpoint connection with a given name. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAPrivateEndpointConnectionWithAGivenName() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-01-preview/examples/PrivateEndpointConnectionDelete.json @@ -109,7 +107,7 @@ public async Task Delete_DeletesAPrivateEndpointConnectionWithAGivenName() // invoke the operation await sqlPrivateEndpointConnection.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlPrivateLinkResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlPrivateLinkResource.cs index fda3da429b221..e673076283a5e 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlPrivateLinkResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlPrivateLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlPrivateLinkResource { - // Gets a private link resource for SQL. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAPrivateLinkResourceForSQL() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/PrivateLinkResourcesGet.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlPrivateLinkResourceCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlPrivateLinkResourceCollection.cs index b0e1b1793ebce..71006dbceeadb 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlPrivateLinkResourceCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlPrivateLinkResourceCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlPrivateLinkResourceCollection { - // Gets private link resources for SQL. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsPrivateLinkResourcesForSQL() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/PrivateLinkResourcesList.json @@ -48,12 +48,11 @@ public async Task GetAll_GetsPrivateLinkResourcesForSQL() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a private link resource for SQL. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAPrivateLinkResourceForSQL() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/PrivateLinkResourcesGet.json @@ -86,9 +85,8 @@ public async Task Get_GetsAPrivateLinkResourceForSQL() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a private link resource for SQL. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAPrivateLinkResourceForSQL() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/PrivateLinkResourcesGet.json @@ -117,9 +115,8 @@ public async Task Exists_GetsAPrivateLinkResourceForSQL() Console.WriteLine($"Succeeded: {result}"); } - // Gets a private link resource for SQL. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAPrivateLinkResourceForSQL() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/PrivateLinkResourcesGet.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetsAPrivateLinkResourceForSQL() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAdvisorCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAdvisorCollection.cs index 31f2c3e98a75c..a2d6c9854a29a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAdvisorCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAdvisorCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerAdvisorCollection { - // List of server advisors - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListOfServerAdvisors() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerAdvisorList.json @@ -48,12 +48,11 @@ public async Task GetAll_ListOfServerAdvisors() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List of server recommended actions for all advisors - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListOfServerRecommendedActionsForAllAdvisors() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerRecommendedActionListExpand.json @@ -86,12 +85,11 @@ public async Task GetAll_ListOfServerRecommendedActionsForAllAdvisors() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get server advisor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetServerAdvisor() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerAdvisorGet.json @@ -124,9 +122,8 @@ public async Task Get_GetServerAdvisor() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get server advisor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetServerAdvisor() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerAdvisorGet.json @@ -155,9 +152,8 @@ public async Task Exists_GetServerAdvisor() Console.WriteLine($"Succeeded: {result}"); } - // Get server advisor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetServerAdvisor() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerAdvisorGet.json @@ -186,7 +182,7 @@ public async Task GetIfExists_GetServerAdvisor() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAdvisorResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAdvisorResource.cs index 75276bfb215e8..240511db8b42c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAdvisorResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAdvisorResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerAdvisorResource { - // Get server advisor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetServerAdvisor() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerAdvisorGet.json @@ -47,9 +47,8 @@ public async Task Get_GetServerAdvisor() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update server advisor - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateServerAdvisor() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerAdvisorUpdate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAutomaticTuningResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAutomaticTuningResource.cs index 25265d153ab69..54a0b3cf21e0c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAutomaticTuningResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAutomaticTuningResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerAutomaticTuningResource { - // Get a server's automatic tuning settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerSAutomaticTuningSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerAutomaticTuningGet.json @@ -46,9 +46,8 @@ public async Task Get_GetAServerSAutomaticTuningSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates server automatic tuning settings with all properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesServerAutomaticTuningSettingsWithAllProperties() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerAutomaticTuningUpdateMax.json @@ -96,9 +95,8 @@ public async Task Update_UpdatesServerAutomaticTuningSettingsWithAllProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates server automatic tuning settings with minimal properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesServerAutomaticTuningSettingsWithMinimalProperties() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerAutomaticTuningUpdateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAzureADAdministratorCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAzureADAdministratorCollection.cs index 30d9c0e1e002a..6ff142218ad7c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAzureADAdministratorCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAzureADAdministratorCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerAzureADAdministratorCollection { - // Gets a Azure Active Directory administrator. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAAzureActiveDirectoryAdministrator() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/AdministratorGet.json @@ -50,9 +50,8 @@ public async Task Get_GetsAAzureActiveDirectoryAdministrator() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a Azure Active Directory administrator. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAAzureActiveDirectoryAdministrator() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/AdministratorGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetsAAzureActiveDirectoryAdministrator() Console.WriteLine($"Succeeded: {result}"); } - // Gets a Azure Active Directory administrator. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAAzureActiveDirectoryAdministrator() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/AdministratorGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetsAAzureActiveDirectoryAdministrator() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetsAAzureActiveDirectoryAdministrator() } } - // Creates or updates an existing Azure Active Directory administrator. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesAnExistingAzureActiveDirectoryAdministrator() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/AdministratorCreateOrUpdate.json @@ -167,9 +164,8 @@ public async Task CreateOrUpdate_CreatesOrUpdatesAnExistingAzureActiveDirectoryA Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a list of Azure Active Directory administrator. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsAListOfAzureActiveDirectoryAdministrator() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/AdministratorList.json @@ -201,7 +197,7 @@ public async Task GetAll_GetsAListOfAzureActiveDirectoryAdministrator() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAzureADAdministratorResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAzureADAdministratorResource.cs index b88f3c9839223..b3c1ebac072f0 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAzureADAdministratorResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAzureADAdministratorResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerAzureADAdministratorResource { - // Gets a Azure Active Directory administrator. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAAzureActiveDirectoryAdministrator() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/AdministratorGet.json @@ -47,9 +47,8 @@ public async Task Get_GetsAAzureActiveDirectoryAdministrator() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates an existing Azure Active Directory administrator. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesOrUpdatesAnExistingAzureActiveDirectoryAdministrator() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/AdministratorCreateOrUpdate.json @@ -87,9 +86,8 @@ public async Task Update_CreatesOrUpdatesAnExistingAzureActiveDirectoryAdministr Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete Azure Active Directory administrator. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAzureActiveDirectoryAdministrator() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/AdministratorDelete.json @@ -112,7 +110,7 @@ public async Task Delete_DeleteAzureActiveDirectoryAdministrator() // invoke the operation await sqlServerAzureADAdministrator.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAzureADOnlyAuthenticationCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAzureADOnlyAuthenticationCollection.cs index 2b508f4ddade3..b49fa5072cd0f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAzureADOnlyAuthenticationCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAzureADOnlyAuthenticationCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerAzureADOnlyAuthenticationCollection { - // Gets a Azure Active Directory only authentication property. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAAzureActiveDirectoryOnlyAuthenticationProperty() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/AzureADOnlyAuthGet.json @@ -50,9 +50,8 @@ public async Task Get_GetsAAzureActiveDirectoryOnlyAuthenticationProperty() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a Azure Active Directory only authentication property. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAAzureActiveDirectoryOnlyAuthenticationProperty() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/AzureADOnlyAuthGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetsAAzureActiveDirectoryOnlyAuthenticationProperty() Console.WriteLine($"Succeeded: {result}"); } - // Gets a Azure Active Directory only authentication property. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAAzureActiveDirectoryOnlyAuthenticationProperty() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/AzureADOnlyAuthGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetsAAzureActiveDirectoryOnlyAuthenticationPropert if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetsAAzureActiveDirectoryOnlyAuthenticationPropert } } - // Creates or updates Azure Active Directory only authentication object. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesAzureActiveDirectoryOnlyAuthenticationObject() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/AzureADOnlyAuthCreateOrUpdate.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_CreatesOrUpdatesAzureActiveDirectoryOnlyAuthent Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a list of Azure Active Directory only authentication object. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsAListOfAzureActiveDirectoryOnlyAuthenticationObject() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/AzureADOnlyAuthList.json @@ -198,7 +194,7 @@ public async Task GetAll_GetsAListOfAzureActiveDirectoryOnlyAuthenticationObject Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAzureADOnlyAuthenticationResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAzureADOnlyAuthenticationResource.cs index 0bfdb8f44daa9..e8719d65e8ef5 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAzureADOnlyAuthenticationResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerAzureADOnlyAuthenticationResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerAzureADOnlyAuthenticationResource { - // Gets a Azure Active Directory only authentication property. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAAzureActiveDirectoryOnlyAuthenticationProperty() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/AzureADOnlyAuthGet.json @@ -47,9 +47,8 @@ public async Task Get_GetsAAzureActiveDirectoryOnlyAuthenticationProperty() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates Azure Active Directory only authentication object. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesOrUpdatesAzureActiveDirectoryOnlyAuthenticationObject() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/AzureADOnlyAuthCreateOrUpdate.json @@ -84,9 +83,8 @@ public async Task Update_CreatesOrUpdatesAzureActiveDirectoryOnlyAuthenticationO Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes Azure Active Directory only authentication object. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAzureActiveDirectoryOnlyAuthenticationObject() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/AzureADOnlyAuthDelete.json @@ -109,7 +107,7 @@ public async Task Delete_DeletesAzureActiveDirectoryOnlyAuthenticationObject() // invoke the operation await sqlServerAzureADOnlyAuthentication.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerBlobAuditingPolicyCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerBlobAuditingPolicyCollection.cs index 8c275137a8e96..38d5518bae45a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerBlobAuditingPolicyCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerBlobAuditingPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerBlobAuditingPolicyCollection { - // List auditing settings of a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAuditingSettingsOfAServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerAuditingSettingsList.json @@ -49,12 +49,11 @@ public async Task GetAll_ListAuditingSettingsOfAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a server's blob auditing policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerSBlobAuditingPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerBlobAuditingGet.json @@ -87,9 +86,8 @@ public async Task Get_GetAServerSBlobAuditingPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a server's blob auditing policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAServerSBlobAuditingPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerBlobAuditingGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetAServerSBlobAuditingPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Get a server's blob auditing policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAServerSBlobAuditingPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerBlobAuditingGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetAServerSBlobAuditingPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetAServerSBlobAuditingPolicy() } } - // Update a server's blob auditing policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAServerSBlobAuditingPolicyWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerBlobAuditingCreateMax.json @@ -212,9 +208,8 @@ public async Task CreateOrUpdate_UpdateAServerSBlobAuditingPolicyWithAllParamete Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a server's blob auditing policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAServerSBlobAuditingPolicyWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerBlobAuditingCreateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerBlobAuditingPolicyResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerBlobAuditingPolicyResource.cs index fb8e528a14cb9..844cc92368a4d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerBlobAuditingPolicyResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerBlobAuditingPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerBlobAuditingPolicyResource { - // Get a server's blob auditing policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerSBlobAuditingPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerBlobAuditingGet.json @@ -47,9 +47,8 @@ public async Task Get_GetAServerSBlobAuditingPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a server's blob auditing policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAServerSBlobAuditingPolicyWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerBlobAuditingCreateMax.json @@ -95,9 +94,8 @@ public async Task Update_UpdateAServerSBlobAuditingPolicyWithAllParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a server's blob auditing policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAServerSBlobAuditingPolicyWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-11-01-preview/examples/ServerBlobAuditingCreateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerCollection.cs index ebfdb8a2d7319..acffb8da6a183 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerCollection { - // List servers by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListServersByResourceGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ServerListByResourceGroup.json @@ -49,12 +49,11 @@ public async Task GetAll_ListServersByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List servers by resource group with $expand=administrators/activedirectory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListServersByResourceGroupWithExpandAdministratorsActivedirectory() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ServerListByResourceGroupWithExpandEqualsAdministrators.json @@ -85,12 +84,11 @@ public async Task GetAll_ListServersByResourceGroupWithExpandAdministratorsActiv Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ServerGet.json @@ -122,9 +120,8 @@ public async Task Get_GetServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ServerGet.json @@ -152,9 +149,8 @@ public async Task Exists_GetServer() Console.WriteLine($"Succeeded: {result}"); } - // Get server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ServerGet.json @@ -182,7 +178,7 @@ public async Task GetIfExists_GetServer() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -194,9 +190,8 @@ public async Task GetIfExists_GetServer() } } - // Get server with $expand=administrators/activedirectory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetServerWithExpandAdministratorsActivedirectory() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ServerGetWithExpandEqualsAdministrators.json @@ -228,9 +223,8 @@ public async Task Get_GetServerWithExpandAdministratorsActivedirectory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get server with $expand=administrators/activedirectory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetServerWithExpandAdministratorsActivedirectory() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ServerGetWithExpandEqualsAdministrators.json @@ -258,9 +252,8 @@ public async Task Exists_GetServerWithExpandAdministratorsActivedirectory() Console.WriteLine($"Succeeded: {result}"); } - // Get server with $expand=administrators/activedirectory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetServerWithExpandAdministratorsActivedirectory() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ServerGetWithExpandEqualsAdministrators.json @@ -288,7 +281,7 @@ public async Task GetIfExists_GetServerWithExpandAdministratorsActivedirectory() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -300,9 +293,8 @@ public async Task GetIfExists_GetServerWithExpandAdministratorsActivedirectory() } } - // Create server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ServerCreate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerCommunicationLinkCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerCommunicationLinkCollection.cs index 9781de787c9e9..abe7dbd4f7b27 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerCommunicationLinkCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerCommunicationLinkCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerCommunicationLinkCollection { - // Get a server communication link - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerCommunicationLink() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCommunicationLinkGet.json @@ -49,9 +49,8 @@ public async Task Get_GetAServerCommunicationLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a server communication link - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAServerCommunicationLink() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCommunicationLinkGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetAServerCommunicationLink() Console.WriteLine($"Succeeded: {result}"); } - // Get a server communication link - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAServerCommunicationLink() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCommunicationLinkGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetAServerCommunicationLink() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetAServerCommunicationLink() } } - // Create a server communication link - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAServerCommunicationLink() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCommunicationLinkCreateOrUpdate.json @@ -163,9 +160,8 @@ public async Task CreateOrUpdate_CreateAServerCommunicationLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List server communication links - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListServerCommunicationLinks() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCommunicationLinkList.json @@ -197,7 +193,7 @@ public async Task GetAll_ListServerCommunicationLinks() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerCommunicationLinkResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerCommunicationLinkResource.cs index 3ed09563ffda3..b963f65c6840c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerCommunicationLinkResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerCommunicationLinkResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerCommunicationLinkResource { - // Delete a server communication link - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAServerCommunicationLink() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCommunicationLinkDelete.json @@ -39,12 +39,11 @@ public async Task Delete_DeleteAServerCommunicationLink() // invoke the operation await sqlServerCommunicationLink.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a server communication link - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerCommunicationLink() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCommunicationLinkGet.json @@ -74,9 +73,8 @@ public async Task Get_GetAServerCommunicationLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a server communication link - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAServerCommunicationLink() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01/examples/ServerCommunicationLinkCreateOrUpdate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerConnectionPolicyCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerConnectionPolicyCollection.cs index e9de0862a9c9b..8841a4e35c8e7 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerConnectionPolicyCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerConnectionPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerConnectionPolicyCollection { - // Gets a server connection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAServerConnectionPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/ServerConnectionPoliciesGet.json @@ -50,9 +50,8 @@ public async Task Get_GetsAServerConnectionPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a server connection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAServerConnectionPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/ServerConnectionPoliciesGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetsAServerConnectionPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Gets a server connection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAServerConnectionPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/ServerConnectionPoliciesGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetsAServerConnectionPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetsAServerConnectionPolicy() } } - // Updates a server connection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdatesAServerConnectionPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/ServerConnectionPoliciesUpdate.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_UpdatesAServerConnectionPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Lists a servers connection policies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsAServersConnectionPolicies() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/ServerConnectionPoliciesList.json @@ -198,7 +194,7 @@ public async Task GetAll_ListsAServersConnectionPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerConnectionPolicyResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerConnectionPolicyResource.cs index 4d24232c11e33..d0ac6fcfd504c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerConnectionPolicyResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerConnectionPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerConnectionPolicyResource { - // Gets a server connection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAServerConnectionPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/ServerConnectionPoliciesGet.json @@ -47,9 +47,8 @@ public async Task Get_GetsAServerConnectionPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Updates a server connection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesAServerConnectionPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/ServerConnectionPoliciesUpdate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDatabaseReplicationLinkCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDatabaseReplicationLinkCollection.cs index fd83d4e4d8c54..026ba4e1ea6f6 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDatabaseReplicationLinkCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDatabaseReplicationLinkCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerDatabaseReplicationLinkCollection { - // List replication links on server on database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListReplicationLinksOnServerOnDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ReplicationLinkListByDatabase.json @@ -50,12 +50,11 @@ public async Task GetAll_ListReplicationLinksOnServerOnDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the replication link. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheReplicationLink() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ReplicationLinkGet.json @@ -89,9 +88,8 @@ public async Task Get_GetsTheReplicationLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the replication link. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheReplicationLink() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ReplicationLinkGet.json @@ -121,9 +119,8 @@ public async Task Exists_GetsTheReplicationLink() Console.WriteLine($"Succeeded: {result}"); } - // Gets the replication link. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheReplicationLink() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ReplicationLinkGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetsTheReplicationLink() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_GetsTheReplicationLink() } } - // Updates Replication Link - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdatesReplicationLink() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ReplicationLinkCreateOrUpdate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDatabaseReplicationLinkResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDatabaseReplicationLinkResource.cs index 2da4ae0d65d4e..704aed6f4cf28 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDatabaseReplicationLinkResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDatabaseReplicationLinkResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerDatabaseReplicationLinkResource { - // Gets the replication link. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheReplicationLink() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ReplicationLinkGet.json @@ -48,9 +48,8 @@ public async Task Get_GetsTheReplicationLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete replication link on server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteReplicationLinkOnServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ReplicationLinkDelete.json @@ -74,12 +73,11 @@ public async Task Delete_DeleteReplicationLinkOnServer() // invoke the operation await sqlServerDatabaseReplicationLink.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update Replication Link - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateReplicationLink() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ReplicationLinkUpdate.json @@ -115,9 +113,8 @@ public async Task Update_UpdateReplicationLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Planned failover of a replication link - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Failover_PlannedFailoverOfAReplicationLink() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ReplicationLinkFailover.json @@ -149,9 +146,8 @@ public async Task Failover_PlannedFailoverOfAReplicationLink() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Forced failover of a replication link - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task FailoverAllowDataLoss_ForcedFailoverOfAReplicationLink() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ReplicationLinkFailoverAllowDataLoss.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDatabaseRestorePointCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDatabaseRestorePointCollection.cs index d463591744d23..0a0ab10484072 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDatabaseRestorePointCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDatabaseRestorePointCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerDatabaseRestorePointCollection { - // List database restore points. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDatabaseRestorePoints() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseRestorePointsListByDatabase.json @@ -49,12 +49,11 @@ public async Task GetAll_ListDatabaseRestorePoints() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List datawarehouse database restore points. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDatawarehouseDatabaseRestorePoints() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DataWarehouseRestorePointsListByDatabase.json @@ -87,12 +86,11 @@ public async Task GetAll_ListDatawarehouseDatabaseRestorePoints() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a database restore point. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatabaseRestorePoint() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseRestorePointsGet.json @@ -126,9 +124,8 @@ public async Task Get_GetsADatabaseRestorePoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a database restore point. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsADatabaseRestorePoint() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseRestorePointsGet.json @@ -158,9 +155,8 @@ public async Task Exists_GetsADatabaseRestorePoint() Console.WriteLine($"Succeeded: {result}"); } - // Gets a database restore point. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsADatabaseRestorePoint() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseRestorePointsGet.json @@ -190,7 +186,7 @@ public async Task GetIfExists_GetsADatabaseRestorePoint() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -202,9 +198,8 @@ public async Task GetIfExists_GetsADatabaseRestorePoint() } } - // Gets a datawarehouse database restore point. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatawarehouseDatabaseRestorePoint() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DataWarehouseRestorePointsGet.json @@ -238,9 +233,8 @@ public async Task Get_GetsADatawarehouseDatabaseRestorePoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a datawarehouse database restore point. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsADatawarehouseDatabaseRestorePoint() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DataWarehouseRestorePointsGet.json @@ -270,9 +264,8 @@ public async Task Exists_GetsADatawarehouseDatabaseRestorePoint() Console.WriteLine($"Succeeded: {result}"); } - // Gets a datawarehouse database restore point. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsADatawarehouseDatabaseRestorePoint() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DataWarehouseRestorePointsGet.json @@ -302,7 +295,7 @@ public async Task GetIfExists_GetsADatawarehouseDatabaseRestorePoint() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDatabaseRestorePointResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDatabaseRestorePointResource.cs index d13148e6aabfb..d9dad20022a32 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDatabaseRestorePointResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDatabaseRestorePointResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerDatabaseRestorePointResource { - // Gets a database restore point. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatabaseRestorePoint() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseRestorePointsGet.json @@ -47,9 +47,8 @@ public async Task Get_GetsADatabaseRestorePoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a datawarehouse database restore point. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsADatawarehouseDatabaseRestorePoint() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DataWarehouseRestorePointsGet.json @@ -80,9 +79,8 @@ public async Task Get_GetsADatawarehouseDatabaseRestorePoint() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Deletes a restore point. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesARestorePoint() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DatabaseRestorePointsDelete.json @@ -106,7 +104,7 @@ public async Task Delete_DeletesARestorePoint() // invoke the operation await sqlServerDatabaseRestorePoint.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDevOpsAuditingSettingCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDevOpsAuditingSettingCollection.cs index cc58dc5c22b88..f9e8c91d4fea2 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDevOpsAuditingSettingCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDevOpsAuditingSettingCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerDevOpsAuditingSettingCollection { - // List DevOps audit settings of a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListDevOpsAuditSettingsOfAServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ServerDevOpsAuditList.json @@ -49,12 +49,11 @@ public async Task GetAll_ListDevOpsAuditSettingsOfAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a server's DevOps audit settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerSDevOpsAuditSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ServerDevOpsAuditGet.json @@ -87,9 +86,8 @@ public async Task Get_GetAServerSDevOpsAuditSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a server's DevOps audit settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAServerSDevOpsAuditSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ServerDevOpsAuditGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetAServerSDevOpsAuditSettings() Console.WriteLine($"Succeeded: {result}"); } - // Get a server's DevOps audit settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAServerSDevOpsAuditSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ServerDevOpsAuditGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetAServerSDevOpsAuditSettings() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetAServerSDevOpsAuditSettings() } } - // Update a server's DevOps audit settings with all params - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAServerSDevOpsAuditSettingsWithAllParams() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ServerDevOpsAuditCreateMax.json @@ -205,9 +201,8 @@ public async Task CreateOrUpdate_UpdateAServerSDevOpsAuditSettingsWithAllParams( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a server's DevOps audit settings with minimal input - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAServerSDevOpsAuditSettingsWithMinimalInput() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ServerDevOpsAuditCreateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDevOpsAuditingSettingResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDevOpsAuditingSettingResource.cs index 5a84cc28d94d4..0b555786e111c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDevOpsAuditingSettingResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDevOpsAuditingSettingResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerDevOpsAuditingSettingResource { - // Get a server's DevOps audit settings - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerSDevOpsAuditSettings() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ServerDevOpsAuditGet.json @@ -47,9 +47,8 @@ public async Task Get_GetAServerSDevOpsAuditSettings() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a server's DevOps audit settings with all params - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAServerSDevOpsAuditSettingsWithAllParams() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ServerDevOpsAuditCreateMax.json @@ -88,9 +87,8 @@ public async Task Update_UpdateAServerSDevOpsAuditSettingsWithAllParams() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a server's DevOps audit settings with minimal input - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAServerSDevOpsAuditSettingsWithMinimalInput() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-02-01-preview/examples/ServerDevOpsAuditCreateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDnsAliasCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDnsAliasCollection.cs index 73ccd23d3c010..a0e6980869a63 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDnsAliasCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDnsAliasCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerDnsAliasCollection { - // Get server DNS alias - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetServerDNSAlias() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerDnsAliasGet.json @@ -49,9 +49,8 @@ public async Task Get_GetServerDNSAlias() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get server DNS alias - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetServerDNSAlias() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerDnsAliasGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetServerDNSAlias() Console.WriteLine($"Succeeded: {result}"); } - // Get server DNS alias - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetServerDNSAlias() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerDnsAliasGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetServerDNSAlias() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetServerDNSAlias() } } - // Create server DNS alias - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateServerDNSAlias() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerDnsAliasCreateOrUpdate.json @@ -159,9 +156,8 @@ public async Task CreateOrUpdate_CreateServerDNSAlias() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List server DNS aliases - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListServerDNSAliases() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerDnsAliasList.json @@ -193,7 +189,7 @@ public async Task GetAll_ListServerDNSAliases() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDnsAliasResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDnsAliasResource.cs index db264a8f23a4e..64b3eabb79cf7 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDnsAliasResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerDnsAliasResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerDnsAliasResource { - // Get server DNS alias - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetServerDNSAlias() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerDnsAliasGet.json @@ -47,9 +47,8 @@ public async Task Get_GetServerDNSAlias() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create server DNS alias - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateServerDNSAlias() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerDnsAliasCreateOrUpdate.json @@ -80,9 +79,8 @@ public async Task Update_CreateServerDNSAlias() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete server DNS alias - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteServerDNSAlias() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerDnsAliasDelete.json @@ -105,12 +103,11 @@ public async Task Delete_DeleteServerDNSAlias() // invoke the operation await sqlServerDnsAlias.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Acquire server DNS alias - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Acquire_AcquireServerDNSAlias() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerDnsAliasAcquire.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobAgentCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobAgentCollection.cs index e5c694468a77d..0960f4c0eb653 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobAgentCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobAgentCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerJobAgentCollection { - // List job agents in a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListJobAgentsInAServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ListJobAgentsByServer.json @@ -48,12 +48,11 @@ public async Task GetAll_ListJobAgentsInAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a job agent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAJobAgent() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobAgent.json @@ -86,9 +85,8 @@ public async Task Get_GetAJobAgent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a job agent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAJobAgent() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobAgent.json @@ -117,9 +115,8 @@ public async Task Exists_GetAJobAgent() Console.WriteLine($"Succeeded: {result}"); } - // Get a job agent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAJobAgent() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobAgent.json @@ -148,7 +145,7 @@ public async Task GetIfExists_GetAJobAgent() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -160,9 +157,8 @@ public async Task GetIfExists_GetAJobAgent() } } - // Create or update a job agent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAJobAgent() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateJobAgent.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobAgentResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobAgentResource.cs index 1b455cc7f0e29..8feb9872600ab 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobAgentResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobAgentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerJobAgentResource { - // Get a job agent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAJobAgent() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobAgent.json @@ -47,9 +47,8 @@ public async Task Get_GetAJobAgent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a job agent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAJobAgent() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DeleteJobAgent.json @@ -72,12 +71,11 @@ public async Task Delete_DeleteAJobAgent() // invoke the operation await sqlServerJobAgent.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update a job agent's tags. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAJobAgentSTags() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/UpdateJobAgent.json @@ -115,9 +113,8 @@ public async Task Update_UpdateAJobAgentSTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List all job executions in a job agent with filtering. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetJobExecutionsByAgent_ListAllJobExecutionsInAJobAgentWithFiltering() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ListJobExecutionsByAgentWithFilter.json @@ -148,12 +145,11 @@ public async Task GetJobExecutionsByAgent_ListAllJobExecutionsInAJobAgentWithFil Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List all job executions in a job agent. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetJobExecutionsByAgent_ListAllJobExecutionsInAJobAgent() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ListJobExecutionsByAgent.json @@ -184,7 +180,7 @@ public async Task GetJobExecutionsByAgent_ListAllJobExecutionsInAJobAgent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobCollection.cs index 50afa2d01b009..967365ca9056e 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerJobCollection { - // List jobs in a job agent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListJobsInAJobAgent() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ListJobsByAgent.json @@ -51,12 +51,11 @@ public async Task GetAll_ListJobsInAJobAgent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAJob() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJob.json @@ -90,9 +89,8 @@ public async Task Get_GetAJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAJob() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJob.json @@ -122,9 +120,8 @@ public async Task Exists_GetAJob() Console.WriteLine($"Succeeded: {result}"); } - // Get a job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAJob() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJob.json @@ -154,7 +151,7 @@ public async Task GetIfExists_GetAJob() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -166,9 +163,8 @@ public async Task GetIfExists_GetAJob() } } - // Create a job with all properties specified - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAJobWithAllPropertiesSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateJobMax.json @@ -215,9 +211,8 @@ public async Task CreateOrUpdate_CreateAJobWithAllPropertiesSpecified() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a job with default properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAJobWithDefaultProperties() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateJobMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobCredentialCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobCredentialCollection.cs index e9a8343f8bab2..0ff9d4f1e5cb1 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobCredentialCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobCredentialCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerJobCredentialCollection { - // List credentials in a job agent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListCredentialsInAJobAgent() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ListJobCredentialsByAgent.json @@ -49,12 +49,11 @@ public async Task GetAll_ListCredentialsInAJobAgent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a credential - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACredential() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobCredential.json @@ -88,9 +87,8 @@ public async Task Get_GetACredential() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a credential - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetACredential() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobCredential.json @@ -120,9 +118,8 @@ public async Task Exists_GetACredential() Console.WriteLine($"Succeeded: {result}"); } - // Get a credential - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetACredential() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobCredential.json @@ -152,7 +149,7 @@ public async Task GetIfExists_GetACredential() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -164,9 +161,8 @@ public async Task GetIfExists_GetACredential() } } - // Create or update a credential - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateACredential() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateJobCredential.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobCredentialResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobCredentialResource.cs index 2a04f79321cfe..cbda0ea691070 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobCredentialResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobCredentialResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerJobCredentialResource { - // Get a credential - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetACredential() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobCredential.json @@ -47,9 +47,8 @@ public async Task Get_GetACredential() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a credential - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateACredential() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateJobCredential.json @@ -86,9 +85,8 @@ public async Task Update_CreateOrUpdateACredential() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a credential - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteACredential() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DeleteJobCredential.json @@ -112,7 +110,7 @@ public async Task Delete_DeleteACredential() // invoke the operation await sqlServerJobCredential.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobExecutionCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobExecutionCollection.cs index 967cd409c8a4c..c6bf51a016180 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobExecutionCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobExecutionCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerJobExecutionCollection { - // List a job's executions. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListAJobSExecutions() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ListJobExecutionsByJob.json @@ -52,12 +52,11 @@ public async Task GetAll_ListAJobSExecutions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a job execution. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAJobExecution() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobExecution.json @@ -92,9 +91,8 @@ public async Task Get_GetAJobExecution() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a job execution. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAJobExecution() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobExecution.json @@ -125,9 +123,8 @@ public async Task Exists_GetAJobExecution() Console.WriteLine($"Succeeded: {result}"); } - // Get a job execution. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAJobExecution() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobExecution.json @@ -158,7 +155,7 @@ public async Task GetIfExists_GetAJobExecution() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -170,9 +167,8 @@ public async Task GetIfExists_GetAJobExecution() } } - // Create job execution. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateJobExecution() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateJobExecution.json @@ -208,9 +204,8 @@ public async Task CreateOrUpdate_CreateJobExecution() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List job step target executions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetJobTargetExecutions_ListJobStepTargetExecutions() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ListJobExecutionTargetsByExecution.json @@ -245,7 +240,7 @@ public async Task GetJobTargetExecutions_ListJobStepTargetExecutions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobExecutionResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobExecutionResource.cs index a1fbe8c8fc69d..ff7f177f15e7e 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobExecutionResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobExecutionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerJobExecutionResource { - // Cancel a job execution. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Cancel_CancelAJobExecution() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CancelJobExecution.json @@ -41,12 +41,11 @@ public async Task Cancel_CancelAJobExecution() // invoke the operation await sqlServerJobExecution.CancelAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a job execution. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAJobExecution() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobExecution.json @@ -78,9 +77,8 @@ public async Task Get_GetAJobExecution() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create job execution. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateJobExecution() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateJobExecution.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobExecutionStepCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobExecutionStepCollection.cs index f18d3e0e939bf..1994f3c54c65e 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobExecutionStepCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobExecutionStepCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerJobExecutionStepCollection { - // List job step executions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListJobStepExecutions() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ListJobExecutionSteps.json @@ -53,12 +53,11 @@ public async Task GetAll_ListJobStepExecutions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a job step execution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAJobStepExecution() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobExecutionStep.json @@ -94,9 +93,8 @@ public async Task Get_GetAJobStepExecution() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a job step execution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAJobStepExecution() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobExecutionStep.json @@ -128,9 +126,8 @@ public async Task Exists_GetAJobStepExecution() Console.WriteLine($"Succeeded: {result}"); } - // Get a job step execution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAJobStepExecution() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobExecutionStep.json @@ -162,7 +159,7 @@ public async Task GetIfExists_GetAJobStepExecution() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobExecutionStepResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobExecutionStepResource.cs index 2609b54b1b2c8..5a9771309bc53 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobExecutionStepResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobExecutionStepResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerJobExecutionStepResource { - // Get a job step execution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAJobStepExecution() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobExecutionStep.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobExecutionStepTargetCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobExecutionStepTargetCollection.cs index 08e458c502765..3923aa8c93038 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobExecutionStepTargetCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobExecutionStepTargetCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerJobExecutionStepTargetCollection { - // List job step target executions - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListJobStepTargetExecutions() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ListJobExecutionTargetsByStep.json @@ -54,12 +54,11 @@ public async Task GetAll_ListJobStepTargetExecutions() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a job step target execution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAJobStepTargetExecution() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobExecutionTarget.json @@ -96,9 +95,8 @@ public async Task Get_GetAJobStepTargetExecution() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a job step target execution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAJobStepTargetExecution() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobExecutionTarget.json @@ -131,9 +129,8 @@ public async Task Exists_GetAJobStepTargetExecution() Console.WriteLine($"Succeeded: {result}"); } - // Get a job step target execution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAJobStepTargetExecution() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobExecutionTarget.json @@ -166,7 +163,7 @@ public async Task GetIfExists_GetAJobStepTargetExecution() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobExecutionStepTargetResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobExecutionStepTargetResource.cs index 4819ef94fa94a..7939e53bddb89 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobExecutionStepTargetResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobExecutionStepTargetResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerJobExecutionStepTargetResource { - // Get a job step target execution - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAJobStepTargetExecution() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobExecutionTarget.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobResource.cs index 32af46d001537..254662c028b5d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerJobResource { - // Start a job execution. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateJobExecution_StartAJobExecution() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateJobExecution.json @@ -50,9 +50,8 @@ public async Task CreateJobExecution_StartAJobExecution() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAJob() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJob.json @@ -83,9 +82,8 @@ public async Task Get_GetAJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a job with all properties specified - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAJobWithAllPropertiesSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateJobMax.json @@ -129,9 +127,8 @@ public async Task Update_CreateAJobWithAllPropertiesSpecified() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a job with default properties - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAJobWithDefaultProperties() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateJobMin.json @@ -164,9 +161,8 @@ public async Task Update_CreateAJobWithDefaultProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a job - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAJob() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DeleteJob.json @@ -190,7 +186,7 @@ public async Task Delete_DeleteAJob() // invoke the operation await sqlServerJob.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobStepCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobStepCollection.cs index 33d3d73d05185..1480aa3d2b742 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobStepCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobStepCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerJobStepCollection { - // List job steps for the latest version of a job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListJobStepsForTheLatestVersionOfAJob() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ListJobStepsByJob.json @@ -51,12 +51,11 @@ public async Task GetAll_ListJobStepsForTheLatestVersionOfAJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the latest version of a job step. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheLatestVersionOfAJobStep() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobStepByJob.json @@ -91,9 +90,8 @@ public async Task Get_GetTheLatestVersionOfAJobStep() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the latest version of a job step. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheLatestVersionOfAJobStep() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobStepByJob.json @@ -124,9 +122,8 @@ public async Task Exists_GetTheLatestVersionOfAJobStep() Console.WriteLine($"Succeeded: {result}"); } - // Get the latest version of a job step. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheLatestVersionOfAJobStep() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobStepByJob.json @@ -157,7 +154,7 @@ public async Task GetIfExists_GetTheLatestVersionOfAJobStep() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_GetTheLatestVersionOfAJobStep() } } - // Create or update a job step with all properties specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAJobStepWithAllPropertiesSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateJobStepMax.json @@ -233,9 +229,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAJobStepWithAllPropertiesSpecifie Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a job step with minimal properties specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAJobStepWithMinimalPropertiesSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateJobStepMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobStepResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobStepResource.cs index f5e7f2321858f..0838ec6a76e30 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobStepResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobStepResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerJobStepResource { - // Get the latest version of a job step. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheLatestVersionOfAJobStep() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobStepByJob.json @@ -49,9 +49,8 @@ public async Task Get_GetTheLatestVersionOfAJobStep() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a job step with all properties specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAJobStepWithAllPropertiesSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateJobStepMax.json @@ -110,9 +109,8 @@ public async Task Update_CreateOrUpdateAJobStepWithAllPropertiesSpecified() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a job step with minimal properties specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAJobStepWithMinimalPropertiesSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateJobStepMin.json @@ -151,9 +149,8 @@ public async Task Update_CreateOrUpdateAJobStepWithMinimalPropertiesSpecified() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a job step. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAJobStep() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DeleteJobStep.json @@ -178,7 +175,7 @@ public async Task Delete_DeleteAJobStep() // invoke the operation await sqlServerJobStep.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobTargetGroupCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobTargetGroupCollection.cs index 780f009e6a0cb..79480cf4b7b69 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobTargetGroupCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobTargetGroupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerJobTargetGroupCollection { - // Get all target groups in an agent. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllTargetGroupsInAnAgent() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ListJobTargetGroups.json @@ -50,12 +50,11 @@ public async Task GetAll_GetAllTargetGroupsInAnAgent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a target group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetATargetGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobTargetGroup.json @@ -89,9 +88,8 @@ public async Task Get_GetATargetGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a target group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetATargetGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobTargetGroup.json @@ -121,9 +119,8 @@ public async Task Exists_GetATargetGroup() Console.WriteLine($"Succeeded: {result}"); } - // Get a target group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetATargetGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobTargetGroup.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetATargetGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -165,9 +162,8 @@ public async Task GetIfExists_GetATargetGroup() } } - // Create or update a target group with all properties. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateATargetGroupWithAllProperties() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateJobTargetGroupMax.json @@ -231,9 +227,8 @@ public async Task CreateOrUpdate_CreateOrUpdateATargetGroupWithAllProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a target group with minimal properties. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateATargetGroupWithMinimalProperties() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateJobTargetGroupMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobTargetGroupResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobTargetGroupResource.cs index c86a699ca4301..ce4b594bdf41f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobTargetGroupResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobTargetGroupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerJobTargetGroupResource { - // Get a target group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetATargetGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobTargetGroup.json @@ -48,9 +48,8 @@ public async Task Get_GetATargetGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a target group with all properties. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateATargetGroupWithAllProperties() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateJobTargetGroupMax.json @@ -111,9 +110,8 @@ public async Task Update_CreateOrUpdateATargetGroupWithAllProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a target group with minimal properties. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateATargetGroupWithMinimalProperties() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateJobTargetGroupMin.json @@ -151,9 +149,8 @@ public async Task Update_CreateOrUpdateATargetGroupWithMinimalProperties() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a target group. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteATargetGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DeleteJobTargetGroup.json @@ -177,7 +174,7 @@ public async Task Delete_DeleteATargetGroup() // invoke the operation await sqlServerJobTargetGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobVersionCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobVersionCollection.cs index 99465ce31a952..9bcf25e6b485f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobVersionCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobVersionCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerJobVersionCollection { - // Get all versions of a job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllVersionsOfAJob() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ListJobVersions.json @@ -50,12 +50,11 @@ public async Task GetAll_GetAllVersionsOfAJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a version of a job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAVersionOfAJob() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobVersion.json @@ -90,9 +89,8 @@ public async Task Get_GetAVersionOfAJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a version of a job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAVersionOfAJob() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobVersion.json @@ -123,9 +121,8 @@ public async Task Exists_GetAVersionOfAJob() Console.WriteLine($"Succeeded: {result}"); } - // Get a version of a job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAVersionOfAJob() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobVersion.json @@ -156,7 +153,7 @@ public async Task GetIfExists_GetAVersionOfAJob() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobVersionResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobVersionResource.cs index 58599d4c6d6b8..ebcb9b5d1bfa8 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobVersionResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobVersionResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerJobVersionResource { - // Get a version of a job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAVersionOfAJob() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobVersion.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobVersionStepCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobVersionStepCollection.cs index 301269da13657..fb0979f8a35f9 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobVersionStepCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobVersionStepCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerJobVersionStepCollection { - // List job steps for the specified version of a job. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListJobStepsForTheSpecifiedVersionOfAJob() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ListJobStepsByVersion.json @@ -51,12 +51,11 @@ public async Task GetAll_ListJobStepsForTheSpecifiedVersionOfAJob() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the specified version of a job step. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheSpecifiedVersionOfAJobStep() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobStepByVersion.json @@ -92,9 +91,8 @@ public async Task Get_GetTheSpecifiedVersionOfAJobStep() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the specified version of a job step. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheSpecifiedVersionOfAJobStep() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobStepByVersion.json @@ -126,9 +124,8 @@ public async Task Exists_GetTheSpecifiedVersionOfAJobStep() Console.WriteLine($"Succeeded: {result}"); } - // Get the specified version of a job step. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheSpecifiedVersionOfAJobStep() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobStepByVersion.json @@ -160,7 +157,7 @@ public async Task GetIfExists_GetTheSpecifiedVersionOfAJobStep() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobVersionStepResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobVersionStepResource.cs index 314b424646b6d..c1747dc550723 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobVersionStepResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerJobVersionStepResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerJobVersionStepResource { - // Get the specified version of a job step. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheSpecifiedVersionOfAJobStep() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetJobStepByVersion.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerKeyCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerKeyCollection.cs index 1c74e92b1aa6f..cbdfd0e2051b8 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerKeyCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerKeyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerKeyCollection { - // List the server keys by server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTheServerKeysByServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerKeyList.json @@ -49,12 +49,11 @@ public async Task GetAll_ListTheServerKeysByServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the server key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheServerKey() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerKeyGet.json @@ -87,9 +86,8 @@ public async Task Get_GetTheServerKey() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the server key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheServerKey() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerKeyGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetTheServerKey() Console.WriteLine($"Succeeded: {result}"); } - // Get the server key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheServerKey() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerKeyGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetTheServerKey() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetTheServerKey() } } - // Creates or updates a server key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesAServerKey() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerKeyCreateOrUpdate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerKeyResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerKeyResource.cs index 1ca9c3347fbc7..5581a91104521 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerKeyResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerKeyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerKeyResource { - // Get the server key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheServerKey() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerKeyGet.json @@ -47,9 +47,8 @@ public async Task Get_GetTheServerKey() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates a server key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesOrUpdatesAServerKey() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerKeyCreateOrUpdate.json @@ -85,9 +84,8 @@ public async Task Update_CreatesOrUpdatesAServerKey() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete the server key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteTheServerKey() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerKeyDelete.json @@ -110,7 +108,7 @@ public async Task Delete_DeleteTheServerKey() // invoke the operation await sqlServerKey.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerResource.cs index c7408ec4a04ad..29a0477332efb 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerResource { - // List servers usages - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetServerUsages_ListServersUsages() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/stable/2014-04-01-legacy/examples/ServerUsageMetricsList.json @@ -43,12 +43,11 @@ public async Task GetServerUsages_ListServersUsages() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List the server management operations - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetServerOperations_ListTheServerManagementOperations() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ListServerOperations.json @@ -73,12 +72,11 @@ public async Task GetServerOperations_ListTheServerManagementOperations() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Upload a TDE certificate - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateTdeCertificate_UploadATDECertificate() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SqlTdeCertificateCreate.json @@ -104,12 +102,11 @@ public async Task CreateTdeCertificate_UploadATDECertificate() }; await sqlServer.CreateTdeCertificateAsync(WaitUntil.Completed, tdeCertificate); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a list of inaccessible databases in a logical server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetInaccessibleDatabases_GetsAListOfInaccessibleDatabasesInALogicalServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/examples/ListVCoreInaccessibleDatabasesByServer.json @@ -138,12 +135,11 @@ public async Task GetInaccessibleDatabases_GetsAListOfInaccessibleDatabasesInALo Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Check for a server name that already exists - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckSqlServerNameAvailability_CheckForAServerNameThatAlreadyExists() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/CheckNameAvailabilityServerAlreadyExists.json @@ -167,9 +163,8 @@ public async Task CheckSqlServerNameAvailability_CheckForAServerNameThatAlreadyE Console.WriteLine($"Succeeded: {result}"); } - // Check for a server name that is available - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckSqlServerNameAvailability_CheckForAServerNameThatIsAvailable() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/CheckNameAvailabilityServerAvailable.json @@ -193,9 +188,8 @@ public async Task CheckSqlServerNameAvailability_CheckForAServerNameThatIsAvaila Console.WriteLine($"Succeeded: {result}"); } - // Check for a server name that is invalid - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CheckSqlServerNameAvailability_CheckForAServerNameThatIsInvalid() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/CheckNameAvailabilityServerInvalid.json @@ -219,9 +213,8 @@ public async Task CheckSqlServerNameAvailability_CheckForAServerNameThatIsInvali Console.WriteLine($"Succeeded: {result}"); } - // List servers - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSqlServers_ListServers() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ServerList.json @@ -248,12 +241,11 @@ public async Task GetSqlServers_ListServers() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // List servers with $expand=administrators/activedirectory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSqlServers_ListServersWithExpandAdministratorsActivedirectory() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ServerListWithExpandEqualsAdministrators.json @@ -280,12 +272,11 @@ public async Task GetSqlServers_ListServersWithExpandAdministratorsActivedirecto Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ServerGet.json @@ -314,9 +305,8 @@ public async Task Get_GetServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get server with $expand=administrators/activedirectory - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetServerWithExpandAdministratorsActivedirectory() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ServerGetWithExpandEqualsAdministrators.json @@ -345,9 +335,8 @@ public async Task Get_GetServerWithExpandAdministratorsActivedirectory() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ServerDelete.json @@ -369,12 +358,11 @@ public async Task Delete_DeleteServer() // invoke the operation await sqlServer.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ServerUpdate.json @@ -412,9 +400,8 @@ public async Task Update_UpdateAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Imports to a new database, using private link for the SQL server and storage account. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ImportDatabase_ImportsToANewDatabaseUsingPrivateLinkForTheSQLServerAndStorageAccount() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ImportNewDatabaseWithNetworkIsolation.json @@ -450,9 +437,8 @@ public async Task ImportDatabase_ImportsToANewDatabaseUsingPrivateLinkForTheSQLS Console.WriteLine($"Succeeded: {result}"); } - // Imports to a new database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ImportDatabase_ImportsToANewDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ImportNewDatabase.json @@ -483,9 +469,8 @@ public async Task ImportDatabase_ImportsToANewDatabase() Console.WriteLine($"Succeeded: {result}"); } - // Refresh external governance enablement status. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RefreshStatus_RefreshExternalGovernanceEnablementStatus() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/RefreshExternalGovernanceStatus.json @@ -511,9 +496,8 @@ public async Task RefreshStatus_RefreshExternalGovernanceEnablementStatus() Console.WriteLine($"Succeeded: {result}"); } - // List replication links on server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetReplicationLinks_ListReplicationLinksOnServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ReplicationLinkListByServer.json @@ -542,7 +526,7 @@ public async Task GetReplicationLinks_ListReplicationLinksOnServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSecurityAlertPolicyCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSecurityAlertPolicyCollection.cs index 2b8963f951062..93135a7af053a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSecurityAlertPolicyCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSecurityAlertPolicyCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerSecurityAlertPolicyCollection { - // Get a server's threat detection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerSThreatDetectionPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerSecurityAlertsGet.json @@ -50,9 +50,8 @@ public async Task Get_GetAServerSThreatDetectionPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a server's threat detection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAServerSThreatDetectionPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerSecurityAlertsGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetAServerSThreatDetectionPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Get a server's threat detection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAServerSThreatDetectionPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerSecurityAlertsGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetAServerSThreatDetectionPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetAServerSThreatDetectionPolicy() } } - // Update a server's threat detection policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAServerSThreatDetectionPolicyWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerSecurityAlertsCreateMax.json @@ -176,9 +173,8 @@ public async Task CreateOrUpdate_UpdateAServerSThreatDetectionPolicyWithAllParam Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a server's threat detection policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateAServerSThreatDetectionPolicyWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerSecurityAlertsCreateMin.json @@ -216,9 +212,8 @@ public async Task CreateOrUpdate_UpdateAServerSThreatDetectionPolicyWithMinimalP Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List the server's threat detection policies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTheServerSThreatDetectionPolicies() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerSecurityAlertsListByServer.json @@ -250,7 +245,7 @@ public async Task GetAll_ListTheServerSThreatDetectionPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSecurityAlertPolicyResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSecurityAlertPolicyResource.cs index 73ac1cc33798f..af8f93b3e8a00 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSecurityAlertPolicyResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSecurityAlertPolicyResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerSecurityAlertPolicyResource { - // Get a server's threat detection policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerSThreatDetectionPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerSecurityAlertsGet.json @@ -47,9 +47,8 @@ public async Task Get_GetAServerSThreatDetectionPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a server's threat detection policy with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAServerSThreatDetectionPolicyWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerSecurityAlertsCreateMax.json @@ -96,9 +95,8 @@ public async Task Update_UpdateAServerSThreatDetectionPolicyWithAllParameters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a server's threat detection policy with minimal parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAServerSThreatDetectionPolicyWithMinimalParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerSecurityAlertsCreateMin.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentBaselineCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentBaselineCollection.cs index f0f9d9e70adaf..e3067d6378c36 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentBaselineCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentBaselineCollection.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerSqlVulnerabilityAssessmentBaselineCollection { - // Gets a list of database's sql vulnerability assessment rule baselines. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsAListOfDatabaseSSqlVulnerabilityAssessmentRuleBaselines() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentBaselineListBySqlVulnerabilityAssessment.json @@ -51,12 +51,11 @@ public async Task GetAll_GetsAListOfDatabaseSSqlVulnerabilityAssessmentRuleBasel Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a list of database's sql vulnerability assessment rule baselines. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAListOfDatabaseSSqlVulnerabilityAssessmentRuleBaselines() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentBaselineGet.json @@ -90,9 +89,8 @@ public async Task Get_GetsAListOfDatabaseSSqlVulnerabilityAssessmentRuleBaseline Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a list of database's sql vulnerability assessment rule baselines. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAListOfDatabaseSSqlVulnerabilityAssessmentRuleBaselines() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentBaselineGet.json @@ -122,9 +120,8 @@ public async Task Exists_GetsAListOfDatabaseSSqlVulnerabilityAssessmentRuleBasel Console.WriteLine($"Succeeded: {result}"); } - // Gets a list of database's sql vulnerability assessment rule baselines. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAListOfDatabaseSSqlVulnerabilityAssessmentRuleBaselines() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentBaselineGet.json @@ -154,7 +151,7 @@ public async Task GetIfExists_GetsAListOfDatabaseSSqlVulnerabilityAssessmentRule if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -166,9 +163,8 @@ public async Task GetIfExists_GetsAListOfDatabaseSSqlVulnerabilityAssessmentRule } } - // Add a database's vulnerability assessment rule baseline from the latest scan result. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AddADatabaseSVulnerabilityAssessmentRuleBaselineFromTheLatestScanResult() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentBaselineAddLatest.json @@ -210,9 +206,8 @@ public async Task CreateOrUpdate_AddADatabaseSVulnerabilityAssessmentRuleBaselin Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Add a database's vulnerability assessment rule baseline list. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_AddADatabaseSVulnerabilityAssessmentRuleBaselineList() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentBaselineAdd.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentBaselineResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentBaselineResource.cs index b9a1f0b3182b0..5a389e3173991 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentBaselineResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentBaselineResource.cs @@ -11,14 +11,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerSqlVulnerabilityAssessmentBaselineResource { - // Gets a list of database's sql vulnerability assessment rule baselines. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAListOfDatabaseSSqlVulnerabilityAssessmentRuleBaselines() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentBaselineGet.json @@ -49,9 +49,8 @@ public async Task Get_GetsAListOfDatabaseSSqlVulnerabilityAssessmentRuleBaseline Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Add a database's vulnerability assessment rule baseline from the latest scan result. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AddADatabaseSVulnerabilityAssessmentRuleBaselineFromTheLatestScanResult() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentBaselineAddLatest.json @@ -90,9 +89,8 @@ public async Task Update_AddADatabaseSVulnerabilityAssessmentRuleBaselineFromThe Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Add a database's vulnerability assessment rule baseline list. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_AddADatabaseSVulnerabilityAssessmentRuleBaselineList() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentBaselineAdd.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentBaselineRuleCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentBaselineRuleCollection.cs index 860285e665cd0..95eb72eb515c8 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentBaselineRuleCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentBaselineRuleCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerSqlVulnerabilityAssessmentBaselineRuleCollection { - // Gets a system database's sql vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsASystemDatabaseSSqlVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentRuleBaselineListByBaseline.json @@ -51,12 +51,11 @@ public async Task GetAll_GetsASystemDatabaseSSqlVulnerabilityAssessmentRuleBasel Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a system database's sql vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsASystemDatabaseSSqlVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentRuleBaselineGet.json @@ -91,9 +90,8 @@ public async Task Get_GetsASystemDatabaseSSqlVulnerabilityAssessmentRuleBaseline Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a system database's sql vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsASystemDatabaseSSqlVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentRuleBaselineGet.json @@ -124,9 +122,8 @@ public async Task Exists_GetsASystemDatabaseSSqlVulnerabilityAssessmentRuleBasel Console.WriteLine($"Succeeded: {result}"); } - // Gets a system database's sql vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsASystemDatabaseSSqlVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentRuleBaselineGet.json @@ -157,7 +154,7 @@ public async Task GetIfExists_GetsASystemDatabaseSSqlVulnerabilityAssessmentRule if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -169,9 +166,8 @@ public async Task GetIfExists_GetsASystemDatabaseSSqlVulnerabilityAssessmentRule } } - // Creates or updates a database's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesOrUpdatesADatabaseSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentRuleBaselineCreate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentBaselineRuleResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentBaselineRuleResource.cs index 512b6fe63d4d3..31802c6ea364c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentBaselineRuleResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentBaselineRuleResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerSqlVulnerabilityAssessmentBaselineRuleResource { - // Gets a system database's sql vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsASystemDatabaseSSqlVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentRuleBaselineGet.json @@ -49,9 +49,8 @@ public async Task Get_GetsASystemDatabaseSSqlVulnerabilityAssessmentRuleBaseline Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Creates or updates a database's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreatesOrUpdatesADatabaseSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentRuleBaselineCreate.json @@ -101,9 +100,8 @@ public async Task Update_CreatesOrUpdatesADatabaseSVulnerabilityAssessmentRuleBa Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Removes a database's vulnerability assessment rule baseline. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RemovesADatabaseSVulnerabilityAssessmentRuleBaseline() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentRuleBaselineDelete.json @@ -128,7 +126,7 @@ public async Task Delete_RemovesADatabaseSVulnerabilityAssessmentRuleBaseline() // invoke the operation await sqlServerSqlVulnerabilityAssessmentBaselineRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentCollection.cs index be857950b3d9f..8416e8628a6a8 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerSqlVulnerabilityAssessmentCollection { - // Get SQL Vulnerability Assessment policies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetSQLVulnerabilityAssessmentPolicies() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentListByServer.json @@ -49,12 +49,11 @@ public async Task GetAll_GetSQLVulnerabilityAssessmentPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get SQL Vulnerability Assessment policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSQLVulnerabilityAssessmentPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentGet.json @@ -87,9 +86,8 @@ public async Task Get_GetSQLVulnerabilityAssessmentPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get SQL Vulnerability Assessment policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSQLVulnerabilityAssessmentPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentGet.json @@ -118,9 +116,8 @@ public async Task Exists_GetSQLVulnerabilityAssessmentPolicy() Console.WriteLine($"Succeeded: {result}"); } - // Get SQL Vulnerability Assessment policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSQLVulnerabilityAssessmentPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentGet.json @@ -149,7 +146,7 @@ public async Task GetIfExists_GetSQLVulnerabilityAssessmentPolicy() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -161,9 +158,8 @@ public async Task GetIfExists_GetSQLVulnerabilityAssessmentPolicy() } } - // Create a SQL Vulnerability Assessment policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateASQLVulnerabilityAssessmentPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentCreate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentResource.cs index 6f26270bd07f8..9ccc80e1bdd2f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerSqlVulnerabilityAssessmentResource { - // Executes a database's vulnerability assessment scan. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ExecuteScan_ExecutesADatabaseSVulnerabilityAssessmentScan() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentScansExecute.json @@ -40,12 +40,11 @@ public async Task ExecuteScan_ExecutesADatabaseSVulnerabilityAssessmentScan() // invoke the operation await sqlServerSqlVulnerabilityAssessment.ExecuteScanAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get SQL Vulnerability Assessment policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSQLVulnerabilityAssessmentPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentGet.json @@ -75,9 +74,8 @@ public async Task Get_GetSQLVulnerabilityAssessmentPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a SQL Vulnerability Assessment policy - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateASQLVulnerabilityAssessmentPolicy() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentCreate.json @@ -112,9 +110,8 @@ public async Task Update_CreateASQLVulnerabilityAssessmentPolicy() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Remove SQL Vulnerability Assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RemoveSQLVulnerabilityAssessment() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentDelete.json @@ -137,7 +134,7 @@ public async Task Delete_RemoveSQLVulnerabilityAssessment() // invoke the operation await sqlServerSqlVulnerabilityAssessment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentScanCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentScanCollection.cs index 1b2a9ab99bfc4..2e34259f910c7 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentScanCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentScanCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerSqlVulnerabilityAssessmentScanCollection { - // Gets the list of a database vulnerability assessment scan records - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetsTheListOfADatabaseVulnerabilityAssessmentScanRecords() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentScanRecordsListByDatabase.json @@ -50,12 +50,11 @@ public async Task GetAll_GetsTheListOfADatabaseVulnerabilityAssessmentScanRecord Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets the a database vulnerability assessment scan records - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheADatabaseVulnerabilityAssessmentScanRecords() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentScan.json @@ -89,9 +88,8 @@ public async Task Get_GetsTheADatabaseVulnerabilityAssessmentScanRecords() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets the a database vulnerability assessment scan records - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsTheADatabaseVulnerabilityAssessmentScanRecords() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentScan.json @@ -121,9 +119,8 @@ public async Task Exists_GetsTheADatabaseVulnerabilityAssessmentScanRecords() Console.WriteLine($"Succeeded: {result}"); } - // Gets the a database vulnerability assessment scan records - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsTheADatabaseVulnerabilityAssessmentScanRecords() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentScan.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetsTheADatabaseVulnerabilityAssessmentScanRecords if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentScanResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentScanResource.cs index bf14e5fd8c806..4938032169109 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentScanResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentScanResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerSqlVulnerabilityAssessmentScanResource { - // Gets the a database vulnerability assessment scan records - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsTheADatabaseVulnerabilityAssessmentScanRecords() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentScan.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentScanResultCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentScanResultCollection.cs index 2054f9ba91668..df7dcde156875 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentScanResultCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentScanResultCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerSqlVulnerabilityAssessmentScanResultCollection { - // List system database SQL Vulnerability Assessment scan results for scan id - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSystemDatabaseSQLVulnerabilityAssessmentScanResultsForScanId() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentListScansResults.json @@ -51,12 +51,11 @@ public async Task GetAll_ListSystemDatabaseSQLVulnerabilityAssessmentScanResults Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a system database SQL Vulnerability Assessment scan result for scan id and scan result id - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASystemDatabaseSQLVulnerabilityAssessmentScanResultForScanIdAndScanResultId() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentScansResults.json @@ -91,9 +90,8 @@ public async Task Get_GetASystemDatabaseSQLVulnerabilityAssessmentScanResultForS Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a system database SQL Vulnerability Assessment scan result for scan id and scan result id - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetASystemDatabaseSQLVulnerabilityAssessmentScanResultForScanIdAndScanResultId() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentScansResults.json @@ -124,9 +122,8 @@ public async Task Exists_GetASystemDatabaseSQLVulnerabilityAssessmentScanResultF Console.WriteLine($"Succeeded: {result}"); } - // Get a system database SQL Vulnerability Assessment scan result for scan id and scan result id - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetASystemDatabaseSQLVulnerabilityAssessmentScanResultForScanIdAndScanResultId() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentScansResults.json @@ -157,7 +154,7 @@ public async Task GetIfExists_GetASystemDatabaseSQLVulnerabilityAssessmentScanRe if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentScanResultResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentScanResultResource.cs index 89c0bf74f8c55..6c3ee50478dd0 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentScanResultResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerSqlVulnerabilityAssessmentScanResultResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerSqlVulnerabilityAssessmentScanResultResource { - // Get a system database SQL Vulnerability Assessment scan result for scan id and scan result id - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASystemDatabaseSQLVulnerabilityAssessmentScanResultForScanIdAndScanResultId() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/examples/SqlVulnerabilityAssessmentScansResults.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerTrustGroupCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerTrustGroupCollection.cs index 7ec409afbe276..b74a235b5a1aa 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerTrustGroupCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerTrustGroupCollection.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerTrustGroupCollection { - // Get server trust group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetServerTrustGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerTrustGroupGet.json @@ -51,9 +51,8 @@ public async Task Get_GetServerTrustGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get server trust group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetServerTrustGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerTrustGroupGet.json @@ -82,9 +81,8 @@ public async Task Exists_GetServerTrustGroup() Console.WriteLine($"Succeeded: {result}"); } - // Get server trust group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetServerTrustGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerTrustGroupGet.json @@ -113,7 +111,7 @@ public async Task GetIfExists_GetServerTrustGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -125,9 +123,8 @@ public async Task GetIfExists_GetServerTrustGroup() } } - // Create server trust group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateServerTrustGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerTrustGroupCreate.json @@ -172,9 +169,8 @@ public async Task CreateOrUpdate_CreateServerTrustGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List server trust groups - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListServerTrustGroups() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerTrustGroupList.json @@ -206,7 +202,7 @@ public async Task GetAll_ListServerTrustGroups() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerTrustGroupResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerTrustGroupResource.cs index aa5fa745012cc..7019d9310b542 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerTrustGroupResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerTrustGroupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerTrustGroupResource { - // Get server trust group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetServerTrustGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerTrustGroupGet.json @@ -47,9 +47,8 @@ public async Task Get_GetServerTrustGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create server trust group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateServerTrustGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerTrustGroupCreate.json @@ -91,9 +90,8 @@ public async Task Update_CreateServerTrustGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Drop server trust group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DropServerTrustGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerTrustGroupDelete.json @@ -116,7 +114,7 @@ public async Task Delete_DropServerTrustGroup() // invoke the operation await sqlServerTrustGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerVirtualNetworkRuleCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerVirtualNetworkRuleCollection.cs index 8e1422962d631..4da12b47b7b94 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerVirtualNetworkRuleCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerVirtualNetworkRuleCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerVirtualNetworkRuleCollection { - // Gets a virtual network rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAVirtualNetworkRule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/VirtualNetworkRulesGet.json @@ -49,9 +49,8 @@ public async Task Get_GetsAVirtualNetworkRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a virtual network rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAVirtualNetworkRule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/VirtualNetworkRulesGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetsAVirtualNetworkRule() Console.WriteLine($"Succeeded: {result}"); } - // Gets a virtual network rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAVirtualNetworkRule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/VirtualNetworkRulesGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetsAVirtualNetworkRule() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetsAVirtualNetworkRule() } } - // Create or update a virtual network rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateOrUpdateAVirtualNetworkRule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json @@ -164,9 +161,8 @@ public async Task CreateOrUpdate_CreateOrUpdateAVirtualNetworkRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List virtual network rules - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListVirtualNetworkRules() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/VirtualNetworkRulesList.json @@ -198,7 +194,7 @@ public async Task GetAll_ListVirtualNetworkRules() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerVirtualNetworkRuleResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerVirtualNetworkRuleResource.cs index 154df820a6912..605f21232db11 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerVirtualNetworkRuleResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerVirtualNetworkRuleResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerVirtualNetworkRuleResource { - // Gets a virtual network rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAVirtualNetworkRule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/VirtualNetworkRulesGet.json @@ -46,9 +46,8 @@ public async Task Get_GetsAVirtualNetworkRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create or update a virtual network rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateOrUpdateAVirtualNetworkRule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json @@ -84,9 +83,8 @@ public async Task Update_CreateOrUpdateAVirtualNetworkRule() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a virtual network rule - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAVirtualNetworkRule() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/VirtualNetworkRulesDelete.json @@ -109,7 +107,7 @@ public async Task Delete_DeleteAVirtualNetworkRule() // invoke the operation await sqlServerVirtualNetworkRule.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerVulnerabilityAssessmentCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerVulnerabilityAssessmentCollection.cs index 40ab013cb70e9..de3323f72b528 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerVulnerabilityAssessmentCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerVulnerabilityAssessmentCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerVulnerabilityAssessmentCollection { - // Get a server's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerSVulnerabilityAssessment() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerVulnerabilityAssessmentGet.json @@ -50,9 +50,8 @@ public async Task Get_GetAServerSVulnerabilityAssessment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a server's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetAServerSVulnerabilityAssessment() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerVulnerabilityAssessmentGet.json @@ -81,9 +80,8 @@ public async Task Exists_GetAServerSVulnerabilityAssessment() Console.WriteLine($"Succeeded: {result}"); } - // Get a server's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAServerSVulnerabilityAssessment() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerVulnerabilityAssessmentGet.json @@ -112,7 +110,7 @@ public async Task GetIfExists_GetAServerSVulnerabilityAssessment() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -124,9 +122,8 @@ public async Task GetIfExists_GetAServerSVulnerabilityAssessment() } } - // Create a server's vulnerability assessment with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAServerSVulnerabilityAssessmentWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerVulnerabilityAssessmentCreateMax.json @@ -175,9 +172,8 @@ public async Task CreateOrUpdate_CreateAServerSVulnerabilityAssessmentWithAllPar Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a server's vulnerability assessment with minimal parameters, when storageAccountAccessKey is specified - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAServerSVulnerabilityAssessmentWithMinimalParametersWhenStorageAccountAccessKeyIsSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerVulnerabilityAssessmentCreateStorageAccessKeyMin.json @@ -216,9 +212,8 @@ public async Task CreateOrUpdate_CreateAServerSVulnerabilityAssessmentWithMinima Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a server's vulnerability assessment with minimal parameters, when storageContainerSasKey is specified - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAServerSVulnerabilityAssessmentWithMinimalParametersWhenStorageContainerSasKeyIsSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerVulnerabilityAssessmentCreateContainerSasKeyMin.json @@ -257,9 +252,8 @@ public async Task CreateOrUpdate_CreateAServerSVulnerabilityAssessmentWithMinima Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a server's vulnerability assessment policies - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAServerSVulnerabilityAssessmentPolicies() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerVulnerabilityAssessmentListByServer.json @@ -291,7 +285,7 @@ public async Task GetAll_GetAServerSVulnerabilityAssessmentPolicies() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerVulnerabilityAssessmentResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerVulnerabilityAssessmentResource.cs index f3f151c0c8137..871466ae75e8c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerVulnerabilityAssessmentResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlServerVulnerabilityAssessmentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlServerVulnerabilityAssessmentResource { - // Get a server's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetAServerSVulnerabilityAssessment() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerVulnerabilityAssessmentGet.json @@ -47,9 +47,8 @@ public async Task Get_GetAServerSVulnerabilityAssessment() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a server's vulnerability assessment with all parameters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAServerSVulnerabilityAssessmentWithAllParameters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerVulnerabilityAssessmentCreateMax.json @@ -95,9 +94,8 @@ public async Task Update_CreateAServerSVulnerabilityAssessmentWithAllParameters( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a server's vulnerability assessment with minimal parameters, when storageAccountAccessKey is specified - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAServerSVulnerabilityAssessmentWithMinimalParametersWhenStorageAccountAccessKeyIsSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerVulnerabilityAssessmentCreateStorageAccessKeyMin.json @@ -133,9 +131,8 @@ public async Task Update_CreateAServerSVulnerabilityAssessmentWithMinimalParamet Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a server's vulnerability assessment with minimal parameters, when storageContainerSasKey is specified - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAServerSVulnerabilityAssessmentWithMinimalParametersWhenStorageContainerSasKeyIsSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerVulnerabilityAssessmentCreateContainerSasKeyMin.json @@ -171,9 +168,8 @@ public async Task Update_CreateAServerSVulnerabilityAssessmentWithMinimalParamet Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Remove a server's vulnerability assessment - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_RemoveAServerSVulnerabilityAssessment() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ServerVulnerabilityAssessmentDelete.json @@ -196,7 +192,7 @@ public async Task Delete_RemoveAServerSVulnerabilityAssessment() // invoke the operation await sqlServerVulnerabilityAssessment.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlTimeZoneCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlTimeZoneCollection.cs index ee87f12906fde..4812ae12853ef 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlTimeZoneCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlTimeZoneCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlTimeZoneCollection { - // List managed instance time zones by location - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListManagedInstanceTimeZonesByLocation() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceTimeZoneListByLocation.json @@ -48,12 +48,11 @@ public async Task GetAll_ListManagedInstanceTimeZonesByLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get managed instance time zone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagedInstanceTimeZone() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceTimeZoneGet.json @@ -85,9 +84,8 @@ public async Task Get_GetManagedInstanceTimeZone() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get managed instance time zone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetManagedInstanceTimeZone() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceTimeZoneGet.json @@ -115,9 +113,8 @@ public async Task Exists_GetManagedInstanceTimeZone() Console.WriteLine($"Succeeded: {result}"); } - // Get managed instance time zone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetManagedInstanceTimeZone() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceTimeZoneGet.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetManagedInstanceTimeZone() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlTimeZoneResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlTimeZoneResource.cs index 50e60eb90178c..6ef976fc6f77c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlTimeZoneResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SqlTimeZoneResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SqlTimeZoneResource { - // Get managed instance time zone - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetManagedInstanceTimeZone() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/ManagedInstanceTimeZoneGet.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionLongTermRetentionBackupCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionLongTermRetentionBackupCollection.cs index 5d59df1f2c9ed..b094d6dca4254 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionLongTermRetentionBackupCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionLongTermRetentionBackupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SubscriptionLongTermRetentionBackupCollection { - // Get all long term retention backups under the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllLongTermRetentionBackupsUnderTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/LongTermRetentionBackupListByDatabase.json @@ -50,12 +50,11 @@ public async Task GetAll_GetAllLongTermRetentionBackupsUnderTheDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get the long term retention backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheLongTermRetentionBackup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/LongTermRetentionBackupGet.json @@ -89,9 +88,8 @@ public async Task Get_GetTheLongTermRetentionBackup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the long term retention backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheLongTermRetentionBackup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/LongTermRetentionBackupGet.json @@ -121,9 +119,8 @@ public async Task Exists_GetTheLongTermRetentionBackup() Console.WriteLine($"Succeeded: {result}"); } - // Get the long term retention backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheLongTermRetentionBackup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/LongTermRetentionBackupGet.json @@ -153,7 +150,7 @@ public async Task GetIfExists_GetTheLongTermRetentionBackup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionLongTermRetentionBackupResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionLongTermRetentionBackupResource.cs index 96d5c36fd2da0..64c29b64859b8 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionLongTermRetentionBackupResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionLongTermRetentionBackupResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SubscriptionLongTermRetentionBackupResource { - // Get the long term retention backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheLongTermRetentionBackup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/LongTermRetentionBackupGet.json @@ -48,9 +48,8 @@ public async Task Get_GetTheLongTermRetentionBackup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete the long term retention backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteTheLongTermRetentionBackup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/LongTermRetentionBackupDelete.json @@ -74,12 +73,11 @@ public async Task Delete_DeleteTheLongTermRetentionBackup() // invoke the operation await subscriptionLongTermRetentionBackup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Change the long term retention backup storage access tier. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task ChangeAccessTier_ChangeTheLongTermRetentionBackupStorageAccessTier() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/ChangeLongTermRetentionBackupAccessTier.json @@ -112,9 +110,8 @@ public async Task ChangeAccessTier_ChangeTheLongTermRetentionBackupStorageAccess Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Copy the long term retention backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Copy_CopyTheLongTermRetentionBackup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/LongTermRetentionBackupCopy.json @@ -148,9 +145,8 @@ public async Task Copy_CopyTheLongTermRetentionBackup() Console.WriteLine($"Succeeded: {result}"); } - // Update the long term retention backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateTheLongTermRetentionBackup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/LongTermRetentionBackupUpdate.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionLongTermRetentionManagedInstanceBackupCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionLongTermRetentionManagedInstanceBackupCollection.cs index 3454ecce0fcef..40e8f43d01636 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionLongTermRetentionManagedInstanceBackupCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionLongTermRetentionManagedInstanceBackupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SubscriptionLongTermRetentionManagedInstanceBackupCollection { - // Get the long term retention backup of a managed database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheLongTermRetentionBackupOfAManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/ManagedInstanceLongTermRetentionBackupGet.json @@ -51,9 +51,8 @@ public async Task Get_GetTheLongTermRetentionBackupOfAManagedDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the long term retention backup of a managed database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetTheLongTermRetentionBackupOfAManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/ManagedInstanceLongTermRetentionBackupGet.json @@ -83,9 +82,8 @@ public async Task Exists_GetTheLongTermRetentionBackupOfAManagedDatabase() Console.WriteLine($"Succeeded: {result}"); } - // Get the long term retention backup of a managed database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetTheLongTermRetentionBackupOfAManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/ManagedInstanceLongTermRetentionBackupGet.json @@ -115,7 +113,7 @@ public async Task GetIfExists_GetTheLongTermRetentionBackupOfAManagedDatabase() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_GetTheLongTermRetentionBackupOfAManagedDatabase() } } - // Get all long term retention backups under the database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetAllLongTermRetentionBackupsUnderTheDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/ManagedInstanceLongTermRetentionBackupListByDatabase.json @@ -162,7 +159,7 @@ public async Task GetAll_GetAllLongTermRetentionBackupsUnderTheDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionLongTermRetentionManagedInstanceBackupResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionLongTermRetentionManagedInstanceBackupResource.cs index 115e06e92c3ec..ba8b346096da0 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionLongTermRetentionManagedInstanceBackupResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionLongTermRetentionManagedInstanceBackupResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SubscriptionLongTermRetentionManagedInstanceBackupResource { - // Get the long term retention backup of a managed database. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetTheLongTermRetentionBackupOfAManagedDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/ManagedInstanceLongTermRetentionBackupGet.json @@ -47,9 +47,8 @@ public async Task Get_GetTheLongTermRetentionBackupOfAManagedDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete the long term retention backup. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteTheLongTermRetentionBackup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/ManagedInstanceLongTermRetentionBackupDelete.json @@ -73,7 +72,7 @@ public async Task Delete_DeleteTheLongTermRetentionBackup() // invoke the operation await subscriptionLongTermRetentionManagedInstanceBackup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index bf4a5ca011d6a..266379190f3eb 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SubscriptionResourceExtensions { - // List subscription capabilities in the given location. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetCapabilitiesByLocation_ListSubscriptionCapabilitiesInTheGivenLocation() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/LocationCapabilityListByLocation.json @@ -42,9 +42,8 @@ public async Task GetCapabilitiesByLocation_ListSubscriptionCapabilitiesInTheGiv Console.WriteLine($"Succeeded: {result}"); } - // Get all long term retention backups under the managed instance. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLongTermRetentionManagedInstanceBackupsWithInstance_GetAllLongTermRetentionBackupsUnderTheManagedInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/ManagedInstanceLongTermRetentionBackupListByInstance.json @@ -70,12 +69,11 @@ public async Task GetLongTermRetentionManagedInstanceBackupsWithInstance_GetAllL Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get all long term retention backups under the location. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLongTermRetentionManagedInstanceBackupsWithLocation_GetAllLongTermRetentionBackupsUnderTheLocation() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2021-05-01-preview/examples/ManagedInstanceLongTermRetentionBackupListByLocation.json @@ -100,12 +98,11 @@ public async Task GetLongTermRetentionManagedInstanceBackupsWithLocation_GetAllL Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get all long term retention backups under the location. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLongTermRetentionBackupsWithLocation_GetAllLongTermRetentionBackupsUnderTheLocation() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/LongTermRetentionBackupListByLocation.json @@ -130,12 +127,11 @@ public async Task GetLongTermRetentionBackupsWithLocation_GetAllLongTermRetentio Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get all long term retention backups under the server. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLongTermRetentionBackupsWithServer_GetAllLongTermRetentionBackupsUnderTheServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/LongTermRetentionBackupListByServer.json @@ -161,7 +157,7 @@ public async Task GetLongTermRetentionBackupsWithServer_GetAllLongTermRetentionB Console.WriteLine($"Succeeded on id: {item.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionUsageCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionUsageCollection.cs index 02069f80eccda..f0ab031cb9c30 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionUsageCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionUsageCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SubscriptionUsageCollection { - // List subscription usages in the given location. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSubscriptionUsagesInTheGivenLocation() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SubscriptionUsageListByLocation.json @@ -48,12 +48,11 @@ public async Task GetAll_ListSubscriptionUsagesInTheGivenLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get specific subscription usage in the given location. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSpecificSubscriptionUsageInTheGivenLocation() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SubscriptionUsageGet.json @@ -85,9 +84,8 @@ public async Task Get_GetSpecificSubscriptionUsageInTheGivenLocation() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get specific subscription usage in the given location. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetSpecificSubscriptionUsageInTheGivenLocation() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SubscriptionUsageGet.json @@ -115,9 +113,8 @@ public async Task Exists_GetSpecificSubscriptionUsageInTheGivenLocation() Console.WriteLine($"Succeeded: {result}"); } - // Get specific subscription usage in the given location. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetSpecificSubscriptionUsageInTheGivenLocation() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SubscriptionUsageGet.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetSpecificSubscriptionUsageInTheGivenLocation() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionUsageResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionUsageResource.cs index 4fc1b01f999c0..1fb34a21db11a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionUsageResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SubscriptionUsageResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SubscriptionUsageResource { - // Get specific subscription usage in the given location. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetSpecificSubscriptionUsageInTheGivenLocation() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SubscriptionUsageGet.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SyncAgentCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SyncAgentCollection.cs index 51784533d823f..a1e0a717e939c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SyncAgentCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SyncAgentCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SyncAgentCollection { - // Get a sync agent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASyncAgent() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncAgentGet.json @@ -49,9 +49,8 @@ public async Task Get_GetASyncAgent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a sync agent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetASyncAgent() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncAgentGet.json @@ -80,9 +79,8 @@ public async Task Exists_GetASyncAgent() Console.WriteLine($"Succeeded: {result}"); } - // Get a sync agent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetASyncAgent() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncAgentGet.json @@ -111,7 +109,7 @@ public async Task GetIfExists_GetASyncAgent() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -123,9 +121,8 @@ public async Task GetIfExists_GetASyncAgent() } } - // Create a new sync agent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateANewSyncAgent() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncAgentCreate.json @@ -163,9 +160,8 @@ public async Task CreateOrUpdate_CreateANewSyncAgent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a sync agent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateASyncAgent() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncAgentUpdate.json @@ -203,9 +199,8 @@ public async Task CreateOrUpdate_UpdateASyncAgent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get sync agents under a server - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetSyncAgentsUnderAServer() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncAgentListByServer.json @@ -237,7 +232,7 @@ public async Task GetAll_GetSyncAgentsUnderAServer() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SyncAgentResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SyncAgentResource.cs index c892404ceb033..8b179bca39e8f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SyncAgentResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SyncAgentResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SyncAgentResource { - // Get a sync agent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASyncAgent() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncAgentGet.json @@ -47,9 +47,8 @@ public async Task Get_GetASyncAgent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a new sync agent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateANewSyncAgent() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncAgentCreate.json @@ -84,9 +83,8 @@ public async Task Update_CreateANewSyncAgent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a sync agent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateASyncAgent() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncAgentUpdate.json @@ -121,9 +119,8 @@ public async Task Update_UpdateASyncAgent() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a sync agent - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteASyncAgent() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncAgentDelete.json @@ -146,12 +143,11 @@ public async Task Delete_DeleteASyncAgent() // invoke the operation await syncAgent.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Generate a sync agent key - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GenerateKey_GenerateASyncAgentKey() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncAgentGenerateKey.json @@ -177,9 +173,8 @@ public async Task GenerateKey_GenerateASyncAgentKey() Console.WriteLine($"Succeeded: {result}"); } - // Get sync agent linked databases - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLinkedDatabases_GetSyncAgentLinkedDatabases() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncAgentGetLinkedDatabases.json @@ -205,7 +200,7 @@ public async Task GetLinkedDatabases_GetSyncAgentLinkedDatabases() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SyncGroupCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SyncGroupCollection.cs index 1f379cc2bc798..0e2e6380103e6 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SyncGroupCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SyncGroupCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SyncGroupCollection { - // Get a sync group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASyncGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncGroupGet.json @@ -51,9 +51,8 @@ public async Task Get_GetASyncGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a sync group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetASyncGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncGroupGet.json @@ -83,9 +82,8 @@ public async Task Exists_GetASyncGroup() Console.WriteLine($"Succeeded: {result}"); } - // Get a sync group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetASyncGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncGroupGet.json @@ -115,7 +113,7 @@ public async Task GetIfExists_GetASyncGroup() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -127,9 +125,8 @@ public async Task GetIfExists_GetASyncGroup() } } - // Create a sync group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateASyncGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncGroupCreate.json @@ -172,9 +169,8 @@ public async Task CreateOrUpdate_CreateASyncGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a sync group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateASyncGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncGroupUpdate.json @@ -217,9 +213,8 @@ public async Task CreateOrUpdate_UpdateASyncGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List sync groups under a given database - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSyncGroupsUnderAGivenDatabase() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncGroupListByDatabase.json @@ -252,7 +247,7 @@ public async Task GetAll_ListSyncGroupsUnderAGivenDatabase() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SyncGroupResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SyncGroupResource.cs index c87007e82f584..0fcf8fdb3fff8 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SyncGroupResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SyncGroupResource.cs @@ -12,14 +12,14 @@ using Azure.ResourceManager.Resources; using Azure.ResourceManager.Resources.Models; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SyncGroupResource { - // Get a sync database ID - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetSyncDatabaseIdsSyncGroups_GetASyncDatabaseID() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncGroupGetSyncDatabaseId.json @@ -43,12 +43,11 @@ public async Task GetSyncDatabaseIdsSyncGroups_GetASyncDatabaseID() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Refresh a hub database schema. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RefreshHubSchema_RefreshAHubDatabaseSchema() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncGroupRefreshHubSchema.json @@ -72,12 +71,11 @@ public async Task RefreshHubSchema_RefreshAHubDatabaseSchema() // invoke the operation await syncGroup.RefreshHubSchemaAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a hub database schema. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetHubSchemas_GetAHubDatabaseSchema() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncGroupGetHubSchema.json @@ -104,12 +102,11 @@ public async Task GetHubSchemas_GetAHubDatabaseSchema() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get sync group logs - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetLogs_GetSyncGroupLogs() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncGroupGetLog.json @@ -139,12 +136,11 @@ public async Task GetLogs_GetSyncGroupLogs() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Cancel a sync group synchronization - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CancelSync_CancelASyncGroupSynchronization() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncGroupCancelSync.json @@ -168,12 +164,11 @@ public async Task CancelSync_CancelASyncGroupSynchronization() // invoke the operation await syncGroup.CancelSyncAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Trigger a sync group synchronization. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task TriggerSync_TriggerASyncGroupSynchronization() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncGroupTriggerSync.json @@ -197,12 +192,11 @@ public async Task TriggerSync_TriggerASyncGroupSynchronization() // invoke the operation await syncGroup.TriggerSyncAsync(); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Get a sync group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASyncGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncGroupGet.json @@ -233,9 +227,8 @@ public async Task Get_GetASyncGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a sync group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteASyncGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncGroupDelete.json @@ -259,12 +252,11 @@ public async Task Delete_DeleteASyncGroup() // invoke the operation await syncGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update a sync group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateASyncGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncGroupPatch.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SyncMemberCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SyncMemberCollection.cs index 555fd28b8b8da..32f9c18302e10 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SyncMemberCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SyncMemberCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SyncMemberCollection { - // Get a sync member - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASyncMember() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncMemberGet.json @@ -52,9 +52,8 @@ public async Task Get_GetASyncMember() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a sync member - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetASyncMember() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncMemberGet.json @@ -85,9 +84,8 @@ public async Task Exists_GetASyncMember() Console.WriteLine($"Succeeded: {result}"); } - // Get a sync member - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetASyncMember() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncMemberGet.json @@ -118,7 +116,7 @@ public async Task GetIfExists_GetASyncMember() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -130,9 +128,8 @@ public async Task GetIfExists_GetASyncMember() } } - // Create a new sync member - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateANewSyncMember() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncMemberCreate.json @@ -178,9 +175,8 @@ public async Task CreateOrUpdate_CreateANewSyncMember() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Update a sync member - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_UpdateASyncMember() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncMemberUpdate.json @@ -226,9 +222,8 @@ public async Task CreateOrUpdate_UpdateASyncMember() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // List sync members under a sync group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListSyncMembersUnderASyncGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncMemberListBySyncGroup.json @@ -262,7 +257,7 @@ public async Task GetAll_ListSyncMembersUnderASyncGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SyncMemberResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SyncMemberResource.cs index b4a74df278f07..03cb806606d74 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SyncMemberResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_SyncMemberResource.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_SyncMemberResource { - // Get a sync member - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetASyncMember() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncMemberGet.json @@ -49,9 +49,8 @@ public async Task Get_GetASyncMember() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a sync member - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteASyncMember() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncMemberDelete.json @@ -76,12 +75,11 @@ public async Task Delete_DeleteASyncMember() // invoke the operation await syncMember.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update an existing sync member - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateAnExistingSyncMember() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncMemberPatch.json @@ -124,9 +122,8 @@ public async Task Update_UpdateAnExistingSyncMember() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get a sync member schema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetMemberSchemas_GetASyncMemberSchema() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncMemberGetSchema.json @@ -154,12 +151,11 @@ public async Task GetMemberSchemas_GetASyncMemberSchema() Console.WriteLine($"Succeeded: {item}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Refresh a sync member database schema - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task RefreshMemberSchema_RefreshASyncMemberDatabaseSchema() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/SyncMemberRefreshSchema.json @@ -184,7 +180,7 @@ public async Task RefreshMemberSchema_RefreshASyncMemberDatabaseSchema() // invoke the operation await syncMember.RefreshMemberSchemaAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_VirtualClusterCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_VirtualClusterCollection.cs index 553f0c3042fb9..27b24f7a27731 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_VirtualClusterCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_VirtualClusterCollection.cs @@ -10,14 +10,14 @@ using Azure.Core; using Azure.Identity; using Azure.ResourceManager.Resources; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_VirtualClusterCollection { - // List virtual clusters by resource group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_ListVirtualClustersByResourceGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/VirtualClusterListByResourceGroup.json @@ -48,12 +48,11 @@ public async Task GetAll_ListVirtualClustersByResourceGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a virtual cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAVirtualCluster() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/VirtualClusterGet.json @@ -85,9 +84,8 @@ public async Task Get_GetsAVirtualCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a virtual cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAVirtualCluster() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/VirtualClusterGet.json @@ -115,9 +113,8 @@ public async Task Exists_GetsAVirtualCluster() Console.WriteLine($"Succeeded: {result}"); } - // Gets a virtual cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAVirtualCluster() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/VirtualClusterGet.json @@ -145,7 +142,7 @@ public async Task GetIfExists_GetsAVirtualCluster() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_VirtualClusterResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_VirtualClusterResource.cs index f0425ed373a73..f3799c7df9ccf 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_VirtualClusterResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_VirtualClusterResource.cs @@ -11,14 +11,14 @@ using Azure.Identity; using Azure.ResourceManager.Resources; using Azure.ResourceManager.Sql.Models; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_VirtualClusterResource { - // List virtualClusters - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetVirtualClusters_ListVirtualClusters() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/VirtualClusterList.json @@ -45,12 +45,11 @@ public async Task GetVirtualClusters_ListVirtualClusters() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Gets a virtual cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAVirtualCluster() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/VirtualClusterGet.json @@ -79,9 +78,8 @@ public async Task Get_GetsAVirtualCluster() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete virtual cluster - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteVirtualCluster() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/VirtualClusterDelete.json @@ -103,12 +101,11 @@ public async Task Delete_DeleteVirtualCluster() // invoke the operation await virtualCluster.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } - // Update virtual cluster with tags - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_UpdateVirtualClusterWithTags() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/VirtualClusterUpdate.json @@ -145,9 +142,8 @@ public async Task Update_UpdateVirtualClusterWithTags() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Performs update of dns servers on managed instance. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task UpdateDnsServers_PerformsUpdateOfDnsServersOnManagedInstance() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2022-05-01-preview/examples/UpdateVirtualClusterDnsServers.json diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_WorkloadClassifierCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_WorkloadClassifierCollection.cs index bd59fb4d398d3..80d5b19992fbb 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_WorkloadClassifierCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_WorkloadClassifierCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_WorkloadClassifierCollection { - // Gets a workload classifier for a data warehouse - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAWorkloadClassifierForADataWarehouse() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetWorkloadClassifier.json @@ -51,9 +51,8 @@ public async Task Get_GetsAWorkloadClassifierForADataWarehouse() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a workload classifier for a data warehouse - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAWorkloadClassifierForADataWarehouse() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetWorkloadClassifier.json @@ -84,9 +83,8 @@ public async Task Exists_GetsAWorkloadClassifierForADataWarehouse() Console.WriteLine($"Succeeded: {result}"); } - // Gets a workload classifier for a data warehouse - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAWorkloadClassifierForADataWarehouse() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetWorkloadClassifier.json @@ -117,7 +115,7 @@ public async Task GetIfExists_GetsAWorkloadClassifierForADataWarehouse() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -129,9 +127,8 @@ public async Task GetIfExists_GetsAWorkloadClassifierForADataWarehouse() } } - // Create a workload group with all properties specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAWorkloadGroupWithAllPropertiesSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateWorkloadClassifierMax.json @@ -176,9 +173,8 @@ public async Task CreateOrUpdate_CreateAWorkloadGroupWithAllPropertiesSpecified( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a workload group with the required properties specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAWorkloadGroupWithTheRequiredPropertiesSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateWorkloadClassifierMin.json @@ -218,9 +214,8 @@ public async Task CreateOrUpdate_CreateAWorkloadGroupWithTheRequiredPropertiesSp Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the list of workload classifiers for a workload group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetTheListOfWorkloadClassifiersForAWorkloadGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetWorkloadClassifierList.json @@ -254,7 +249,7 @@ public async Task GetAll_GetTheListOfWorkloadClassifiersForAWorkloadGroup() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_WorkloadClassifierResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_WorkloadClassifierResource.cs index e5d5367d4797b..3c20d850ff384 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_WorkloadClassifierResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_WorkloadClassifierResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_WorkloadClassifierResource { - // Gets a workload classifier for a data warehouse - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAWorkloadClassifierForADataWarehouse() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetWorkloadClassifier.json @@ -48,9 +48,8 @@ public async Task Get_GetsAWorkloadClassifierForADataWarehouse() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a workload group with all properties specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAWorkloadGroupWithAllPropertiesSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateWorkloadClassifierMax.json @@ -92,9 +91,8 @@ public async Task Update_CreateAWorkloadGroupWithAllPropertiesSpecified() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a workload group with the required properties specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAWorkloadGroupWithTheRequiredPropertiesSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateWorkloadClassifierMin.json @@ -131,9 +129,8 @@ public async Task Update_CreateAWorkloadGroupWithTheRequiredPropertiesSpecified( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a workload classifier - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAWorkloadClassifier() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DeleteWorkloadClassifier.json @@ -158,7 +155,7 @@ public async Task Delete_DeleteAWorkloadClassifier() // invoke the operation await workloadClassifier.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_WorkloadGroupCollection.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_WorkloadGroupCollection.cs index 6e49742e3a32f..51521b87b32cd 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_WorkloadGroupCollection.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_WorkloadGroupCollection.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_WorkloadGroupCollection { - // Gets a workload group for a data warehouse - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAWorkloadGroupForADataWarehouse() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetWorkloadGroup.json @@ -50,9 +50,8 @@ public async Task Get_GetsAWorkloadGroupForADataWarehouse() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Gets a workload group for a data warehouse - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAWorkloadGroupForADataWarehouse() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetWorkloadGroup.json @@ -82,9 +81,8 @@ public async Task Exists_GetsAWorkloadGroupForADataWarehouse() Console.WriteLine($"Succeeded: {result}"); } - // Gets a workload group for a data warehouse - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAWorkloadGroupForADataWarehouse() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetWorkloadGroup.json @@ -114,7 +112,7 @@ public async Task GetIfExists_GetsAWorkloadGroupForADataWarehouse() if (result == null) { - Console.WriteLine($"Succeeded with null as result"); + Console.WriteLine("Succeeded with null as result"); } else { @@ -126,9 +124,8 @@ public async Task GetIfExists_GetsAWorkloadGroupForADataWarehouse() } } - // Create a workload group with all properties specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAWorkloadGroupWithAllPropertiesSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateWorkloadGroupMax.json @@ -172,9 +169,8 @@ public async Task CreateOrUpdate_CreateAWorkloadGroupWithAllPropertiesSpecified( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a workload group with the required properties specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreateAWorkloadGroupWithTheRequiredPropertiesSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateWorkloadGroupMin.json @@ -215,9 +211,8 @@ public async Task CreateOrUpdate_CreateAWorkloadGroupWithTheRequiredPropertiesSp Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Get the list of workload groups for a data warehouse - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task GetAll_GetTheListOfWorkloadGroupsForADataWarehouse() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetWorkloadGroupList.json @@ -250,7 +245,7 @@ public async Task GetAll_GetTheListOfWorkloadGroupsForADataWarehouse() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_WorkloadGroupResource.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_WorkloadGroupResource.cs index 4b5d28ff230fb..483944ec5ea42 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_WorkloadGroupResource.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Generated/Samples/Sample_WorkloadGroupResource.cs @@ -9,14 +9,14 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Identity; +using NUnit.Framework; namespace Azure.ResourceManager.Sql.Samples { public partial class Sample_WorkloadGroupResource { - // Gets a workload group for a data warehouse - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Get_GetsAWorkloadGroupForADataWarehouse() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/GetWorkloadGroup.json @@ -47,9 +47,8 @@ public async Task Get_GetsAWorkloadGroupForADataWarehouse() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a workload group with all properties specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAWorkloadGroupWithAllPropertiesSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateWorkloadGroupMax.json @@ -90,9 +89,8 @@ public async Task Update_CreateAWorkloadGroupWithAllPropertiesSpecified() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Create a workload group with the required properties specified. - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Update_CreateAWorkloadGroupWithTheRequiredPropertiesSpecified() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/CreateOrUpdateWorkloadGroupMin.json @@ -130,9 +128,8 @@ public async Task Update_CreateAWorkloadGroupWithTheRequiredPropertiesSpecified( Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Delete a workload group - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] + [Test] + [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAWorkloadGroup() { // Generated from example definition: specification/sql/resource-manager/Microsoft.Sql/preview/2020-11-01-preview/examples/DeleteWorkloadGroup.json @@ -156,7 +153,7 @@ public async Task Delete_DeleteAWorkloadGroup() // invoke the operation await workloadGroup.DeleteAsync(WaitUntil.Completed); - Console.WriteLine($"Succeeded"); + Console.WriteLine("Succeeded"); } } }